============================================================ ====== Tracking Id: 3 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-02 10:06:09') AND us2_order_type_id = 3 ## Order found: 41 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 41 AND product_id = 143 ## Job Group Found: '88' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('88') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm041108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm041108001') AND customer_id = 3230 ## Mailing found: '10566' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 24590494, Consumer Id: 103301, Address Id: 48247 => Updated with Vin: 1FMDU34X8SUA12757 ## Mail History Id: 24590366, Consumer Id: 67645, Address Id: 53331 => Updated with Vin: 1G3NF12E42C317753 ## Mail History Id: 24590399, Consumer Id: 92900, Address Id: 51328 => Updated with Vin: 1FTPX14VX7FA47243 ## Mail History Id: 24590541, Consumer Id: 93488, Address Id: 51973 => Updated with Vin: 1ZVHT89S585153272 ## Mail History Id: 24590597, Consumer Id: 93459, Address Id: 51958 => Updated with Vin: 1FTWW31R18EC95325 ## Mail History Id: 24590422, Consumer Id: 93224, Address Id: 51727 => Updated with Vin: 1G1ZT62825F274138 ## Mail History Id: 24590418, Consumer Id: 66705, Address Id: 47266 => Updated with Vin: 1FMEU74EX6UA92191 ## Mail History Id: 24590398, Consumer Id: 93365, Address Id: 51846 => Updated with Vin: 1FMFK20527LA90056 ## Mail History Id: 24590414, Consumer Id: 64518, Address Id: 49249 => Updated with Vin: 1FTWX31515EC66574 ## Mail History Id: 24590560, Consumer Id: 64667, Address Id: 50030 => Updated with Vin: 1FMZK06195GA61083 ## Mail History Id: 24590397, Consumer Id: 64398, Address Id: 49733 => Updated with Vin: 1FTPW14575FB02439 ## Mail History Id: 24590375, Consumer Id: 93524, Address Id: 52025 => Updated with Vin: 1FTSW21P95EA12494 ## Mail History Id: 24590477, Consumer Id: 63164, Address Id: 48051 => Updated with Vin: 1FTSW31F9YED10934 ## Mail History Id: 24590539, Consumer Id: 66104, Address Id: 49718 => Updated with Vin: 1FTPX14515FB15295 ## Mail History Id: 24590391, Consumer Id: 103527, Address Id: 51524 => Updated with Vin: 1FMZU77EX3UB80344 ## Mail History Id: 24590507, Consumer Id: 67739, Address Id: 50691 => Updated with Vin: 1FTRX14WX6FA20477 ## Mail History Id: 24590353, Consumer Id: 92366, Address Id: 50488 => Updated with Vin: 1FMYU93186KD25097 ## Mail History Id: 24590551, Consumer Id: 63182, Address Id: 47237 => Updated with Vin: 1FAFP58S93A164103 ## Mail History Id: 24590459, Consumer Id: 66148, Address Id: 48947 => Updated with Vin: 1FMCU041X4KA23554 ## Mail History Id: 24590517, Consumer Id: 67324, Address Id: 47556 => Updated with Vin: 3FAFP31N85R107411 ## Mail History Id: 24590521, Consumer Id: 92605, Address Id: 51004 => Updated with Vin: 1FAHP36N87W178223 ## Mail History Id: 24590587, Consumer Id: 91993, Address Id: 49205 => Updated with Vin: 1FMPU16565LA38703 ## Mail History Id: 24590557, Consumer Id: 38436, Address Id: 49101 => Updated with Vin: 1FMYU94155KD67109 ## Mail History Id: 24590315, Consumer Id: 64410, Address Id: 47455 => Updated with Vin: 2FMZA57604BA55270 ## Mail History Id: 24590591, Consumer Id: 67571, Address Id: 50208 => Updated with Vin: 1FMZK06146GA32334 ## Mail History Id: 24590503, Consumer Id: 92634, Address Id: 49934 => Updated with Vin: 1FAHP28157G122951 ## Mail History Id: 24590457, Consumer Id: 102952, Address Id: 47632 => Updated with Vin: 2MRDA222X6BJ03259 ## Mail History Id: 24590478, Consumer Id: 63847, Address Id: 47815 => Updated with Vin: 2FMZA51442BB37779 ## Mail History Id: 24590435, Consumer Id: 103811, Address Id: 48210 => Updated with Vin: 1FTNX21P64ED68281 ## Mail History Id: 24590471, Consumer Id: 64464, Address Id: 49398 => Updated with Vin: 1FTPX12535FA95702 ## Mail History Id: 24590524, Consumer Id: 66172, Address Id: 49734 => Updated with Vin: 1FTPW14505FA77903 ## Mail History Id: 24590586, Consumer Id: 63958, Address Id: 48677 => Updated with Vin: 1FAFP56S2YG262333 ## Mail History Id: 24590537, Consumer Id: 93172, Address Id: 49735 => Updated with Vin: 1FTWX31R58EB63990 ## Mail History Id: 24590347, Consumer Id: 93421, Address Id: 50156 => Updated with Vin: 1FAHP35N58W117477 ## Mail History Id: 24590345, Consumer Id: 64136, Address Id: 47855 => Updated with Vin: 1FTZR45E34PB52148 ## Mail History Id: 24590286, Consumer Id: 103767, Address Id: 53831 => Updated with Vin: 1FMSU43F9YEA90389 ## Mail History Id: 24590606, Consumer Id: 67323, Address Id: 47967 => Updated with Vin: 1FTSX21P66EA39277 ## Mail History Id: 24590274, Consumer Id: 64831, Address Id: 47594 => Updated with Vin: 1FAFP53264A215386 ## Mail History Id: 24541675, Consumer Id: 67047, Address Id: 50150 => Updated with Vin: 1FTWW31P56ED55456 ## Mail History Id: 24590472, Consumer Id: 67502, Address Id: 47238 => Updated with Vin: 1MEHM431X6G604897 ## Mail History Id: 24590532, Consumer Id: 92394, Address Id: 50572 => Updated with Vin: 1FTPX14566FB28111 ## Mail History Id: 24590474, Consumer Id: 66877, Address Id: 52987 => Updated with Vin: 2FTZX17221CB03754 ## Mail History Id: 24590298, Consumer Id: 103765, Address Id: 53830 => Updated with Vin: 1FTPW14584KC21672 ## Mail History Id: 24590377, Consumer Id: 38399, Address Id: 49077 => Updated with Vin: 1FMYU93165KD28255 ## Mail History Id: 24590305, Consumer Id: 93484, Address Id: 51971 => Updated with Vin: 1FTRF14W48KC36709 ## Mail History Id: 24590419, Consumer Id: 103775, Address Id: 53837 => Updated with Vin: 1FTYR10D84PA52653 ## Mail History Id: 24590303, Consumer Id: 93516, Address Id: 52020 => Updated with Vin: 1FAHP35NX8W175679 ## Mail History Id: 24590523, Consumer Id: 93561, Address Id: 49506 => Updated with Vin: 1FMDK06186GA23162 ## Mail History Id: 24590603, Consumer Id: 92727, Address Id: 50949 => Updated with Vin: 2FMZA58244BA49709 ## Mail History Id: 24590479, Consumer Id: 63428, Address Id: 52252 => Updated with Vin: 1FTSW31P74ED91273 ## Mail History Id: 24590446, Consumer Id: 102962, Address Id: 53466 => Updated with Vin: 1FDRE14WXXHC18970 ## Mail History Id: 24590536, Consumer Id: 66696, Address Id: 49453 => Updated with Vin: 1FTPW14574KC37250 ## Mail History Id: 24590550, Consumer Id: 93201, Address Id: 47504 => Updated with Vin: 1FAFP5525YA222817 ## Mail History Id: 24590570, Consumer Id: 65586, Address Id: 47609 => Updated with Vin: 1FMZK03126GA00521 ## Mail History Id: 24590480, Consumer Id: 93130, Address Id: 51544 => Updated with Vin: 1FTYR44U07PA45082 ## Mail History Id: 24590564, Consumer Id: 103115, Address Id: 53546 => Updated with Vin: 4M2DU86K54ZJ00314 ## Mail History Id: 24590576, Consumer Id: 64429, Address Id: 47926 => Updated with Vin: 1FMCU94133KB87697 ## Mail History Id: 24590556, Consumer Id: 92909, Address Id: 47433 => Updated with Vin: 1FAHP24137G125627 ## Mail History Id: 24590554, Consumer Id: 65733, Address Id: 52892 => Updated with Vin: 1FMZU34E6WUA72708 ## Mail History Id: 24590558, Consumer Id: 63055, Address Id: 50083 => Updated with Vin: 1LNHM82W1YY765332 ## Mail History Id: 24590442, Consumer Id: 63424, Address Id: 47451 => Updated with Vin: 2FMDA584X2BB33817 ## Mail History Id: 24590492, Consumer Id: 103494, Address Id: 51222 => Updated with Vin: 2G2FS22K322140189 ## Mail History Id: 24590581, Consumer Id: 93554, Address Id: 52063 => Updated with Vin: 1C3EL46T73N594605 ## Mail History Id: 24590284, Consumer Id: 93509, Address Id: 52014 => Updated with Vin: 1FTPX14515NA01609 ## Mail History Id: 24590468, Consumer Id: 63341, Address Id: 47774 => Updated with Vin: 1FTZX17231NA03740 ## Mail History Id: 24590335, Consumer Id: 67716, Address Id: 50783 => Updated with Vin: 1FAFP28126G113307 ## Mail History Id: 24590600, Consumer Id: 103813, Address Id: 53858 => Updated with Vin: 1LNLM82W9SY712685 ## Mail History Id: 24590598, Consumer Id: 65682, Address Id: 49897 => Updated with Vin: 1FTSW21P36EA97785 ## Mail History Id: 24590391, Consumer Id: 38595, Address Id: 51524 => Updated with Vin: 3C4FY48B83T632011 ## Mail History Id: 24590513, Consumer Id: 63478, Address Id: 49306 => Updated with Vin: 1FMZU83K64ZB26173 ## Mail History Id: 24590525, Consumer Id: 103812, Address Id: 53857 => Updated with Vin: 1FMRU17W74LB05663 ## Mail History Id: 24590290, Consumer Id: 73751, Address Id: 52024 => Updated with Vin: 2FTRX18L52CA28590 ## Mail History Id: 24590483, Consumer Id: 67740, Address Id: 50782 => Updated with Vin: 1FTSX21P66EC87559 ## Mail History Id: 24590316, Consumer Id: 38336, Address Id: 48878 => Updated with Vin: 2FMZA53433BA14327 ## Mail History Id: 24590572, Consumer Id: 63294, Address Id: 47551 => Updated with Vin: 1FTDX0862VKB07472 ## Mail History Id: 24590302, Consumer Id: 63221, Address Id: 49834 => Updated with Vin: 1FMFU18L63LB41494 ## Mail History Id: 24590356, Consumer Id: 92523, Address Id: 50852 => Updated with Vin: 1FMEU53K87UA21925 ## Mail History Id: 24590278, Consumer Id: 93206, Address Id: 49892 => Updated with Vin: 1FTPX12VX7FA92718 ## Mail History Id: 24590348, Consumer Id: 67046, Address Id: 49763 => Updated with Vin: 1FTPX14555FB40443 ## Mail History Id: 24590470, Consumer Id: 93356, Address Id: 51199 => Updated with Vin: 1FTPX14V78FA29784 ## Mail History Id: 24590546, Consumer Id: 103752, Address Id: 47719 => Updated with Vin: 2FMZA57664BA81002 ## Total mail_history records updated with vin numbers: 81 out of 87 ============================================================ ====== Tracking Id: 4 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3455 AND DATE(cart_created_date) = DATE('2008-04-02 13:13:31') AND us2_order_type_id = 3 ## Order found: 42 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '10' AND store_id = 2 ## Product Id found: 60 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 42 AND product_id = 60 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 5 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-03 08:38:05') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 6 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-04 08:36:30') AND us2_order_type_id = 3 ## Order found: 43 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 43 AND product_id = 113 ## Job Group Found: '87' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('87') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm041108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm041108002') AND customer_id = 3230 ## Mailing found: '10567' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 24590644, Consumer Id: 62896, Address Id: 48512 => Updated with Vin: 1FAFP45X33F356128 ## Mail History Id: 24590646, Consumer Id: 63615, Address Id: 50402 => Updated with Vin: 1FTPX045X4KD80667 ## Mail History Id: 24590648, Consumer Id: 63830, Address Id: 49408 => Updated with Vin: 2FAFP74W74X145224 ## Mail History Id: 24590650, Consumer Id: 102870, Address Id: 53412 => Updated with Vin: 2FMZA52493BB05958 ## Mail History Id: 24590652, Consumer Id: 64941, Address Id: 52164 => Updated with Vin: 1FTPW14514KD15098 ## Mail History Id: 24590654, Consumer Id: 63300, Address Id: 48468 => Updated with Vin: 1FTYR14CXYPC07307 ## Mail History Id: 24590656, Consumer Id: 67611, Address Id: 53323 => Updated with Vin: 2MRDA22285BJ06448 ## Mail History Id: 24590658, Consumer Id: 2055933, Address Id: 53228 => Updated with Vin: 2FTRF17263CA62115 ## Mail History Id: 24590660, Consumer Id: 63865, Address Id: 51029 => Updated with Vin: 1FMPU16L91LB52655 ## Mail History Id: 24590619, Consumer Id: 92864, Address Id: 51281 => Updated with Vin: 1FMCU93197KB78574 ## Mail History Id: 24590621, Consumer Id: 66177, Address Id: 52369 => Updated with Vin: 1FMZU74W25ZA00583 ## Mail History Id: 24590623, Consumer Id: 93198, Address Id: 51612 => Updated with Vin: 1FTPX12V77KD43394 ## Total mail_history records updated with vin numbers: 12 out of 13 ============================================================ ====== Tracking Id: 7 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-04 08:36:45') AND us2_order_type_id = 3 ## Order found: 43 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 43 AND product_id = 143 ## Job Group Found: '88' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('88') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm041108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm041108001') AND customer_id = 3230 ## Mailing found: '10566' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 24590407, Consumer Id: 93461, Address Id: 51959 => Updated with Vin: 1FTRF12258KC20714 ## Mail History Id: 24590475, Consumer Id: 103805, Address Id: 53853 => Updated with Vin: 1C3EL56R02N338721 ## Mail History Id: 24590410, Consumer Id: 92940, Address Id: 51373 => Updated with Vin: 1FTWX31R18EA59948 ## Mail History Id: 24590602, Consumer Id: 64803, Address Id: 48798 => Updated with Vin: 1FTPX14565NB62103 ## Mail History Id: 24590518, Consumer Id: 67754, Address Id: 50929 => Updated with Vin: 1FAHP24167G123936 ## Mail History Id: 24590417, Consumer Id: 65299, Address Id: 47630 => Updated with Vin: 2FTRX18L13CA43220 ## Mail History Id: 24590428, Consumer Id: 63180, Address Id: 47651 => Updated with Vin: 1FTNW21F62EA23629 ## Mail History Id: 24590559, Consumer Id: 103807, Address Id: 47699 => Updated with Vin: 3FTNW21F0YMA58248 ## Mail History Id: 24590569, Consumer Id: 66485, Address Id: 51854 => Updated with Vin: 1FAFP55254G187462 ## Mail History Id: 24590416, Consumer Id: 38581, Address Id: 50505 => Updated with Vin: 1FAHP34N97W351346 ## Mail History Id: 24590371, Consumer Id: 63004, Address Id: 48394 => Updated with Vin: 1FMZU77E23UB07680 ## Mail History Id: 24590437, Consumer Id: 66613, Address Id: 50029 => Updated with Vin: 1FTPW145X5FB60898 ## Mail History Id: 24590447, Consumer Id: 66871, Address Id: 49245 => Updated with Vin: 2FMZA516X6BA51965 ## Mail History Id: 24590460, Consumer Id: 65544, Address Id: 48570 => Updated with Vin: 1FAFP53U4XA175668 ## Mail History Id: 24590312, Consumer Id: 103810, Address Id: 53856 => Updated with Vin: 1FTWW33F82EC41272 ## Mail History Id: 24590293, Consumer Id: 66260, Address Id: 47275 => Updated with Vin: 1LNLM81W2VY617973 ## Mail History Id: 24590289, Consumer Id: 92667, Address Id: 49154 => Updated with Vin: 1FAHP34N27W207234 ## Mail History Id: 24590430, Consumer Id: 103032, Address Id: 53504 => Updated with Vin: 1FALP13P0VW380359 ## Mail History Id: 24590318, Consumer Id: 38525, Address Id: 48663 => Updated with Vin: 2FDMK49C27BB43102 ## Mail History Id: 24590380, Consumer Id: 93507, Address Id: 50424 => Updated with Vin: 3FAHP07Z88R189954 ## Mail History Id: 24590415, Consumer Id: 92845, Address Id: 49103 => Updated with Vin: 1FTPW14V07FA21981 ## Mail History Id: 24590317, Consumer Id: 93364, Address Id: 51845 => Updated with Vin: 1FTRF12258KB37932 ## Mail History Id: 24590528, Consumer Id: 38582, Address Id: 48919 => Updated with Vin: 1FMDK03W88GA03593 ## Mail History Id: 24590540, Consumer Id: 92716, Address Id: 49063 => Updated with Vin: 1FMEU73847UA68398 ## Mail History Id: 24590502, Consumer Id: 63643, Address Id: 47426 => Updated with Vin: 1FMZU85P9YZB50319 ## Mail History Id: 24590462, Consumer Id: 64631, Address Id: 49397 => Updated with Vin: 1FAFP24155G174784 ## Mail History Id: 24590504, Consumer Id: 92393, Address Id: 50581 => Updated with Vin: 1FTSW21596EC79862 ## Mail History Id: 24590544, Consumer Id: 67114, Address Id: 51615 => Updated with Vin: 1FMDK041X5GA65964 ## Mail History Id: 24590590, Consumer Id: 93505, Address Id: 49441 => Updated with Vin: 1FTPW14V78FA42389 ## Mail History Id: 24590547, Consumer Id: 65549, Address Id: 52027 => Updated with Vin: 1FMZU73K14ZB44557 ## Mail History Id: 24590596, Consumer Id: 64918, Address Id: 48050 => Updated with Vin: 1FTNW21F22EA09002 ## Mail History Id: 24590423, Consumer Id: 67607, Address Id: 49157 => Updated with Vin: 1FTSW21P86EC89218 ## Mail History Id: 24590346, Consumer Id: 93245, Address Id: 51739 => Updated with Vin: 2FMDA51483BA48079 ## Mail History Id: 24590579, Consumer Id: 64701, Address Id: 50294 => Updated with Vin: 1FMZU73K64UA49523 ## Mail History Id: 24590330, Consumer Id: 92948, Address Id: 51377 => Updated with Vin: 1FMEU73E57UB18943 ## Mail History Id: 24590360, Consumer Id: 63017, Address Id: 47731 => Updated with Vin: 1FTNX20L91ED34510 ## Mail History Id: 24590545, Consumer Id: 66926, Address Id: 50242 => Updated with Vin: 1FTRX14W76NA17526 ## Total mail_history records updated with vin numbers: 37 out of 37 ============================================================ ====== Tracking Id: 8 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-04 08:36:57') AND us2_order_type_id = 3 ## Order found: 43 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '1' AND store_id = 2 ## Product Id Not Found...Exit. ============================================================ ====== Tracking Id: 9 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-05 08:36:29') AND us2_order_type_id = 3 ## Order found: 46 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 46 AND product_id = 113 ## Job Group Found: '87' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('87') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm041108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm041108002') AND customer_id = 3230 ## Mailing found: '10567' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 24590625, Consumer Id: 65942, Address Id: 49853 => Updated with Vin: 1FTZR45E05PA09918 ## Mail History Id: 24590627, Consumer Id: 65417, Address Id: 49354 => Updated with Vin: 1FAFP55U32A116990 ## Mail History Id: 24590629, Consumer Id: 103613, Address Id: 53752 => Updated with Vin: 1FAFP53U71G109314 ## Mail History Id: 24590633, Consumer Id: 65980, Address Id: 49928 => Updated with Vin: 2FTRX18W82CA17514 ## Mail History Id: 24590635, Consumer Id: 102354, Address Id: 52308 => Updated with Vin: 1FMZU67E02UC62303 ## Mail History Id: 24590637, Consumer Id: 103619, Address Id: 53758 => Updated with Vin: 1FMYU70E21UB84102 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 10 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-05 08:36:38') AND us2_order_type_id = 3 ## Order found: 46 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 46 AND product_id = 143 ## Job Group Found: '88' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('88') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm041108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm041108001') AND customer_id = 3230 ## Mailing found: '10566' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 24590569, Consumer Id: 66485, Address Id: 51854 => Updated with Vin: 1FAFP55254G187462 ## Mail History Id: 24590293, Consumer Id: 63684, Address Id: 47275 => Updated with Vin: 1FAFP55U43A265457 ## Mail History Id: 24590562, Consumer Id: 93573, Address Id: 49197 => Updated with Vin: 2FMZA522X4BA21874 ## Mail History Id: 24590342, Consumer Id: 93508, Address Id: 52013 => Updated with Vin: 2FMZA52234BA64100 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 11 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-05 08:36:54') AND us2_order_type_id = 3 ## Order found: 46 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '1' AND store_id = 2 ## Product Id Not Found...Exit. ============================================================ ====== Tracking Id: 12 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-06 08:36:34') AND us2_order_type_id = 3 ## Order found: 47 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 47 AND product_id = 113 ## Job Group Found: '87' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('87') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm041108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm041108002') AND customer_id = 3230 ## Mailing found: '10567' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 24590639, Consumer Id: 38404, Address Id: 49081 => Updated with Vin: 1FTSX21P95EC34062 ## Mail History Id: 24590641, Consumer Id: 67773, Address Id: 50947 => Updated with Vin: 1FTZR44U16PA03992 ## Mail History Id: 24590643, Consumer Id: 64939, Address Id: 48383 => Updated with Vin: 1FAFP34P7YW329419 ## Total mail_history records updated with vin numbers: 3 out of 5 ============================================================ ====== Tracking Id: 13 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-06 08:36:35') AND us2_order_type_id = 3 ## Order found: 47 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '1' AND store_id = 2 ## Product Id Not Found...Exit. ============================================================ ====== Tracking Id: 14 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-07 08:38:58') AND us2_order_type_id = 3 ## Order found: 48 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 48 AND product_id = 113 ## Job Group Found: '87' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('87') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm041108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm041108002') AND customer_id = 3230 ## Mailing found: '10567' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 24590645, Consumer Id: 92343, Address Id: 48035 => Updated with Vin: 1FTPW14536FA11511 ## Mail History Id: 24590647, Consumer Id: 103614, Address Id: 53753 => Updated with Vin: 1MEFM53U7YG628312 ## Mail History Id: 24590649, Consumer Id: 67665, Address Id: 53336 => Updated with Vin: 1MEHM55S72A626915 ## Mail History Id: 24590651, Consumer Id: 101904, Address Id: 51127 => Updated with Vin: 2FMZA51462BA65838 ## Mail History Id: 24590653, Consumer Id: 64436, Address Id: 48584 => Updated with Vin: 2FMZA50412BA28150 ## Mail History Id: 24590655, Consumer Id: 103608, Address Id: 48296 => Updated with Vin: 1J4FA49S4YP754860 ## Mail History Id: 24590657, Consumer Id: 103618, Address Id: 53757 => Updated with Vin: 1FAFP55U42A153143 ## Mail History Id: 24590659, Consumer Id: 66809, Address Id: 49887 => Updated with Vin: 1FMYU93134KB10157 ## Mail History Id: 24590661, Consumer Id: 93263, Address Id: 51756 => Updated with Vin: 2FMZA50684BA69265 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 15 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-07 08:39:04') AND us2_order_type_id = 3 ## Order found: 48 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 48 AND product_id = 143 ## Job Group Found: '88' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('88') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm041108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm041108001') AND customer_id = 3230 ## Mailing found: '10566' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 24590333, Consumer Id: 65568, Address Id: 49863 => Updated with Vin: 1FTWW31P16EA66557 ## Mail History Id: 24590589, Consumer Id: 92666, Address Id: 51077 => Updated with Vin: 1FTPW12V06FB32824 ## Mail History Id: 24590414, Consumer Id: 64518, Address Id: 49249 => Updated with Vin: 1FTWX31515EC66574 ## Mail History Id: 24590454, Consumer Id: 92776, Address Id: 47773 => Updated with Vin: 1FAHP37N87W172226 ## Mail History Id: 24590497, Consumer Id: 93153, Address Id: 51584 => Updated with Vin: 1FTPX14VX7FB40134 ## Mail History Id: 24590489, Consumer Id: 63725, Address Id: 52544 => Updated with Vin: 1FAFP4042YF177552 ## Mail History Id: 24590543, Consumer Id: 67359, Address Id: 50393 => Updated with Vin: 3FAFP07146R158232 ## Mail History Id: 24590447, Consumer Id: 67147, Address Id: 49245 => Updated with Vin: 1FTSX21P46EC12729 ## Mail History Id: 24590453, Consumer Id: 93510, Address Id: 52015 => Updated with Vin: 1FAHP35N88W122964 ## Mail History Id: 24590433, Consumer Id: 64569, Address Id: 48306 => Updated with Vin: 1FAFP13P0WW146494 ## Mail History Id: 24590321, Consumer Id: 67677, Address Id: 49636 => Updated with Vin: 3FAHP08137R116496 ## Mail History Id: 24590426, Consumer Id: 65426, Address Id: 52438 => Updated with Vin: 1FMCU04135KB36814 ## Mail History Id: 24590349, Consumer Id: 93076, Address Id: 51507 => Updated with Vin: 1FMEU74EX7UB57994 ## Mail History Id: 24590283, Consumer Id: 64189, Address Id: 47301 => Updated with Vin: 1FTSX31F92EC30635 ## Mail History Id: 24590271, Consumer Id: 64292, Address Id: 48443 => Updated with Vin: 1FMCU94185KB08298 ## Mail History Id: 24590452, Consumer Id: 93125, Address Id: 51539 => Updated with Vin: 1FAHP34N97W302874 ## Mail History Id: 24590320, Consumer Id: 64427, Address Id: 47214 => Updated with Vin: 1FMYU93143KA79595 ## Mail History Id: 24590270, Consumer Id: 64248, Address Id: 48571 => Updated with Vin: 1FTSW31P93ED57639 ## Mail History Id: 24590296, Consumer Id: 92562, Address Id: 50930 => Updated with Vin: 1FMEU73E56UA18033 ## Mail History Id: 24590324, Consumer Id: 93001, Address Id: 47497 => Updated with Vin: 1FMYU03187KA42714 ## Mail History Id: 24590372, Consumer Id: 102668, Address Id: 51881 => Updated with Vin: 1FTNX21L2YEE43237 ## Mail History Id: 24590608, Consumer Id: 65997, Address Id: 49616 => Updated with Vin: 1FAFP34N45W193485 ## Mail History Id: 24590382, Consumer Id: 67094, Address Id: 52709 => Updated with Vin: 1MEHM42166G609421 ## Mail History Id: 24590458, Consumer Id: 93330, Address Id: 48668 => Updated with Vin: 1FAHP35N48W117163 ## Mail History Id: 24590612, Consumer Id: 66401, Address Id: 53064 => Updated with Vin: 1FTRX17213NB89359 ## Mail History Id: 24590580, Consumer Id: 93361, Address Id: 51842 => Updated with Vin: 1FTPW14V28FA23524 ## Mail History Id: 24590498, Consumer Id: 93433, Address Id: 51912 => Updated with Vin: 1FMCU03Z38KC38996 ## Mail History Id: 24590486, Consumer Id: 62891, Address Id: 47697 => Updated with Vin: 1FAFP53S7XG291779 ## Mail History Id: 24590574, Consumer Id: 93383, Address Id: 48377 => Updated with Vin: 1FMEU74E68UA39099 ## Mail History Id: 24590284, Consumer Id: 93509, Address Id: 52014 => Updated with Vin: 1FTPX14515NA01609 ## Mail History Id: 24590520, Consumer Id: 92520, Address Id: 50849 => Updated with Vin: 1FAHP34N67W142565 ## Mail History Id: 24590544, Consumer Id: 93202, Address Id: 51615 => Updated with Vin: 1FTPX14V27FB72107 ## Mail History Id: 24590438, Consumer Id: 65895, Address Id: 49731 => Updated with Vin: 1FTPX14525FB12261 ## Mail History Id: 24590561, Consumer Id: 103800, Address Id: 53850 => Updated with Vin: 1G1ZT51896F186992 ## Mail History Id: 24590595, Consumer Id: 93511, Address Id: 52016 => Updated with Vin: 1FMEU73E98UA57954 ## Mail History Id: 24590369, Consumer Id: 66775, Address Id: 52017 => Updated with Vin: 1FTPW14516FA93190 ## Mail History Id: 24590359, Consumer Id: 103801, Address Id: 47941 => Updated with Vin: 2FMDA5148TBA88694 ## Mail History Id: 24590393, Consumer Id: 63481, Address Id: 48184 => Updated with Vin: 2FAFP74WX2X146087 ## Mail History Id: 24590365, Consumer Id: 63483, Address Id: 51240 => Updated with Vin: 1FAFP53224G148850 ## Mail History Id: 24590379, Consumer Id: 100391, Address Id: 47408 => Updated with Vin: 1FMZU77E13UA07912 ## Mail History Id: 24590385, Consumer Id: 66782, Address Id: 50311 => Updated with Vin: 1FTPX14565NA37196 ## Mail History Id: 24590405, Consumer Id: 93203, Address Id: 51616 => Updated with Vin: 1FTWW31R38EA93215 ## Mail History Id: 24590276, Consumer Id: 63532, Address Id: 47548 => Updated with Vin: 1G2NE52T0WM504498 ## Mail History Id: 24590341, Consumer Id: 93244, Address Id: 51322 => Updated with Vin: 1FTPX14V47FB00583 ## Mail History Id: 24590310, Consumer Id: 63050, Address Id: 48463 => Updated with Vin: 1FTSW31P33EC56323 ## Mail History Id: 24590358, Consumer Id: 92577, Address Id: 48981 => Updated with Vin: 3FAHP07ZX7R114333 ## Mail History Id: 24590288, Consumer Id: 93204, Address Id: 51617 => Updated with Vin: 1FTPX14V27FA06976 ## Mail History Id: 24590297, Consumer Id: 103806, Address Id: 53854 => Updated with Vin: 1FMRE11LX6DA40073 ## Total mail_history records updated with vin numbers: 48 out of 53 ============================================================ ====== Tracking Id: 16 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-07 08:39:32') AND us2_order_type_id = 3 ## Order found: 48 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '1' AND store_id = 2 ## Product Id Not Found...Exit. ============================================================ ====== Tracking Id: 17 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-08 08:39:16') AND us2_order_type_id = 3 ## Order found: 55 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 55 AND product_id = 143 ## Job Group Found: '88' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('88') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm041108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm041108001') AND customer_id = 3230 ## Mailing found: '10566' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 24590319, Consumer Id: 103802, Address Id: 53851 => Updated with Vin: 3FTSW31F81MA75801 ## Mail History Id: 24590427, Consumer Id: 103804, Address Id: 49258 => Updated with Vin: 1MEHM42117G610364 ## Mail History Id: 24590313, Consumer Id: 93243, Address Id: 51738 => Updated with Vin: 1FTPX14V57FB31437 ## Mail History Id: 24590409, Consumer Id: 64887, Address Id: 47210 => Updated with Vin: 1FTRX18LX3NA48829 ## Mail History Id: 24590327, Consumer Id: 67477, Address Id: 50760 => Updated with Vin: 1FTWW31P76ED36472 ## Mail History Id: 24590495, Consumer Id: 64323, Address Id: 48775 => Updated with Vin: 1FMFU18L14LB27827 ## Mail History Id: 24590569, Consumer Id: 66485, Address Id: 51854 => Updated with Vin: 1FAFP55254G187462 ## Mail History Id: 24590511, Consumer Id: 67657, Address Id: 51085 => Updated with Vin: 1FMDK02187GA13996 ## Mail History Id: 24590583, Consumer Id: 67277, Address Id: 50571 => Updated with Vin: 1FTWW31P06EC48847 ## Mail History Id: 24590587, Consumer Id: 91993, Address Id: 49205 => Updated with Vin: 1FMPU16565LA38703 ## Mail History Id: 24590573, Consumer Id: 62930, Address Id: 47877 => Updated with Vin: 2FMZA51442BB04815 ## Mail History Id: 24590408, Consumer Id: 64135, Address Id: 47964 => Updated with Vin: 1FTRX18W3XNB14363 ## Mail History Id: 24590512, Consumer Id: 64304, Address Id: 48241 => Updated with Vin: 1FTNW21F5XED66438 ## Mail History Id: 24590465, Consumer Id: 66757, Address Id: 47416 => Updated with Vin: 2FTRX17223CA96405 ## Mail History Id: 24590355, Consumer Id: 63599, Address Id: 48049 => Updated with Vin: 1FAFP34353W169093 ## Mail History Id: 24590331, Consumer Id: 64096, Address Id: 50275 => Updated with Vin: 2FMZA5143XBB88911 ## Mail History Id: 24590473, Consumer Id: 64860, Address Id: 50082 => Updated with Vin: 1FTPX14544NA36188 ## Mail History Id: 24590285, Consumer Id: 102950, Address Id: 48421 => Updated with Vin: 2C8GF68494R514253 ## Mail History Id: 24590372, Consumer Id: 93386, Address Id: 51881 => Updated with Vin: 2FMDK39C38BA18671 ## Mail History Id: 24590394, Consumer Id: 66156, Address Id: 47549 => Updated with Vin: 1G4HP52K9VH557326 ## Mail History Id: 24590374, Consumer Id: 64629, Address Id: 49567 => Updated with Vin: 1FAFP34P43W190357 ## Mail History Id: 24590336, Consumer Id: 64535, Address Id: 48776 => Updated with Vin: 1FTRX04WX5KB54728 ## Mail History Id: 24590482, Consumer Id: 103051, Address Id: 53516 => Updated with Vin: 1LNHM81W61Y712441 ## Mail History Id: 24590444, Consumer Id: 65475, Address Id: 48462 => Updated with Vin: 1MEFM50U61G638467 ## Mail History Id: 24590506, Consumer Id: 63764, Address Id: 47698 => Updated with Vin: 2FMDA58433BA53406 ## Mail History Id: 24590436, Consumer Id: 62863, Address Id: 48495 => Updated with Vin: 1FTCR14X7VPA18574 ## Mail History Id: 24590552, Consumer Id: 67269, Address Id: 48557 => Updated with Vin: 2FMDA58206BA03257 ## Mail History Id: 24590466, Consumer Id: 64517, Address Id: 47876 => Updated with Vin: 1FAFP53275A288526 ## Mail History Id: 24590359, Consumer Id: 67568, Address Id: 47941 => Updated with Vin: 1FTSS34F4YHB21761 ## Mail History Id: 24590604, Consumer Id: 63452, Address Id: 51924 => Updated with Vin: 2FMZA51684BA55588 ## Mail History Id: 24590381, Consumer Id: 63435, Address Id: 47530 => Updated with Vin: 1FMZU75W72ZC83847 ## Mail History Id: 24590387, Consumer Id: 93002, Address Id: 48464 => Updated with Vin: 1FMCU931X8KA56694 ## Mail History Id: 24590483, Consumer Id: 67740, Address Id: 50782 => Updated with Vin: 1FTSX21P66EC87559 ## Mail History Id: 24590599, Consumer Id: 66345, Address Id: 49856 => Updated with Vin: 1FTWW31P46EA57626 ## Mail History Id: 24590352, Consumer Id: 93019, Address Id: 51447 => Updated with Vin: 1FMCU03198KA44015 ## Mail History Id: 24590364, Consumer Id: 101861, Address Id: 50961 => Updated with Vin: 1FTYR10C3WUD08385 ## Mail History Id: 24590332, Consumer Id: 38334, Address Id: 48877 => Updated with Vin: 1FMZK04185GA13478 ## Mail History Id: 24590328, Consumer Id: 103318, Address Id: 53622 => Updated with Vin: 2FAFP74W7XX105973 ## Mail History Id: 24590338, Consumer Id: 93322, Address Id: 51816 => Updated with Vin: 2FTRX17294CA10976 ## Mail History Id: 24590515, Consumer Id: 93513, Address Id: 52018 => Updated with Vin: 1FMCU93Z98KC24394 ## Mail History Id: 24590499, Consumer Id: 103809, Address Id: 53855 => Updated with Vin: 1FTYR10CXYPA10644 ## Mail History Id: 24590593, Consumer Id: 103803, Address Id: 53852 => Updated with Vin: 1FAFP53204G176145 ## Total mail_history records updated with vin numbers: 42 out of 44 ============================================================ ====== Tracking Id: 18 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-08 08:39:36') AND us2_order_type_id = 3 ## Order found: 55 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '1' AND store_id = 2 ## Product Id Not Found...Exit. ============================================================ ====== Tracking Id: 19 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-09 08:35:55') AND us2_order_type_id = 3 ## Order found: 57 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 57 AND product_id = 143 ## Job Group Found: '88' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('88') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm041108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm041108001') AND customer_id = 3230 ## Mailing found: '10566' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 24590420, Consumer Id: 38526, Address Id: 51651 => Updated with Vin: 1FTWX31R48EA21730 ## Mail History Id: 24590403, Consumer Id: 93296, Address Id: 51803 => Updated with Vin: 1GTGC24U21Z196082 ## Mail History Id: 24590508, Consumer Id: 67148, Address Id: 53206 => Updated with Vin: 1FTRW08LX2KB71561 ## Mail History Id: 24590571, Consumer Id: 64390, Address Id: 48174 => Updated with Vin: 1FMSU41F52EB25066 ## Mail History Id: 24590505, Consumer Id: 66443, Address Id: 50028 => Updated with Vin: 1FTPX145X5NB57034 ## Mail History Id: 24590533, Consumer Id: 93476, Address Id: 51966 => Updated with Vin: 2FMDK38C77BB42037 ## Mail History Id: 24590569, Consumer Id: 66485, Address Id: 51854 => Updated with Vin: 1FAFP55254G187462 ## Mail History Id: 24590511, Consumer Id: 93087, Address Id: 51085 => Updated with Vin: 1FTSX21R48EA75683 ## Mail History Id: 24590325, Consumer Id: 93266, Address Id: 51758 => Updated with Vin: 3FTNX21F31MA02453 ## Mail History Id: 24590557, Consumer Id: 38434, Address Id: 49101 => Updated with Vin: 1FTWW31P35EA62542 ## Mail History Id: 24590309, Consumer Id: 63849, Address Id: 52401 => Updated with Vin: 1FTWW31P55EA31549 ## Mail History Id: 24590441, Consumer Id: 65765, Address Id: 49760 => Updated with Vin: 1FMFU20515LA90590 ## Mail History Id: 24590384, Consumer Id: 93514, Address Id: 50379 => Updated with Vin: 1FMCU93Z68KC69096 ## Mail History Id: 24590451, Consumer Id: 67199, Address Id: 49501 => Updated with Vin: 1FTRX18L6WNC22626 ## Mail History Id: 24590461, Consumer Id: 528035, Address Id: 48676 => Updated with Vin: 1FAHP53422G143882 ## Mail History Id: 24590469, Consumer Id: 38433, Address Id: 47631 => Updated with Vin: 1FMZK05175GA48009 ## Mail History Id: 24590351, Consumer Id: 65325, Address Id: 50216 => Updated with Vin: 1FTNX21P74EC16218 ## Mail History Id: 24590275, Consumer Id: 528037, Address Id: 9865089 => Updated with Vin: 1FMYU93136KD56743 ## Mail History Id: 24590295, Consumer Id: 67745, Address Id: 49148 => Updated with Vin: 1FTPW14V17FA12805 ## Mail History Id: 24590343, Consumer Id: 65207, Address Id: 50699 => Updated with Vin: 1FTPW14514KC58000 ## Mail History Id: 24590386, Consumer Id: 65906, Address Id: 49617 => Updated with Vin: 1FTSW21P35EA79821 ## Mail History Id: 24590388, Consumer Id: 66719, Address Id: 48270 => Updated with Vin: 1FAFP55UX4A160214 ## Mail History Id: 24590380, Consumer Id: 65905, Address Id: 50424 => Updated with Vin: 1FTSW21P56EA93544 ## Mail History Id: 24590373, Consumer Id: 63019, Address Id: 51560 => Updated with Vin: 1FMPU16L34LA22892 ## Mail History Id: 24590431, Consumer Id: 92959, Address Id: 51389 => Updated with Vin: 1FMCU93Z07KB80218 ## Mail History Id: 24590464, Consumer Id: 64568, Address Id: 47235 => Updated with Vin: 1FTRW08LX2KA71945 ## Mail History Id: 24590484, Consumer Id: 93485, Address Id: 51120 => Updated with Vin: 1FAHP25W78G127828 ## Mail History Id: 24590592, Consumer Id: 65567, Address Id: 49079 => Updated with Vin: 1FTRW08L53KD15051 ## Mail History Id: 24590566, Consumer Id: 93205, Address Id: 51618 => Updated with Vin: 2FMDK39C47BB35576 ## Mail History Id: 24590538, Consumer Id: 92440, Address Id: 50693 => Updated with Vin: 1FMEU53867UA03217 ## Mail History Id: 24590607, Consumer Id: 93515, Address Id: 52019 => Updated with Vin: 2CNDL23F156105760 ## Mail History Id: 24590369, Consumer Id: 66775, Address Id: 52017 => Updated with Vin: 1FTPW14516FA93190 ## Mail History Id: 24590395, Consumer Id: 67569, Address Id: 50669 => Updated with Vin: 1FTSX21516ED75935 ## Mail History Id: 24590385, Consumer Id: 102951, Address Id: 50311 => Updated with Vin: 1FMZU73K02UD49409 ## Mail History Id: 24590308, Consumer Id: 93562, Address Id: 52068 => Updated with Vin: 1B3EJ46X8WN336989 ## Mail History Id: 24590304, Consumer Id: 66868, Address Id: 50026 => Updated with Vin: 1FTRX12W55NA19440 ## Mail History Id: 24590364, Consumer Id: 101861, Address Id: 50961 => Updated with Vin: 1FTYR10C3WUD08385 ## Mail History Id: 24590404, Consumer Id: 67160, Address Id: 50604 => Updated with Vin: 1FAHP34N16W253605 ## Mail History Id: 24590510, Consumer Id: 66586, Address Id: 48336 => Updated with Vin: 1FMYU92Z16KA76214 ## Mail History Id: 24590280, Consumer Id: 93556, Address Id: 52037 => Updated with Vin: 1ZVFT84N765208486 ## Total mail_history records updated with vin numbers: 40 out of 45 ============================================================ ====== Tracking Id: 20 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-09 08:36:24') AND us2_order_type_id = 3 ## Order found: 57 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '1' AND store_id = 2 ## Product Id Not Found...Exit. ============================================================ ====== Tracking Id: 21 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-04-09 14:00:53') AND us2_order_type_id = 3 ## Order found: 58 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 58 AND product_id = 54 ## Job Group Found: '72' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('72') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ELE040108001A' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ELE040108001A') AND customer_id = 3357 ## Mailing found: '10251' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 22 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-10 08:35:45') AND us2_order_type_id = 3 ## Order found: 60 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 60 AND product_id = 113 ## Job Group Found: '87' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('87') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm041108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm041108002') AND customer_id = 3230 ## Mailing found: '10567' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 24589818, Consumer Id: 63673, Address Id: 51925 => Updated with Vin: 1FMZU73K14UB79371 ## Mail History Id: 24590618, Consumer Id: 101105, Address Id: 48562 => Updated with Vin: 3FAHP37513R168001 ## Mail History Id: 24590620, Consumer Id: 92607, Address Id: 51006 => Updated with Vin: 1FTRX12W06FA53555 ## Mail History Id: 24590622, Consumer Id: 103418, Address Id: 53664 => Updated with Vin: 1FTNX21L54ED01104 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 23 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-10 08:35:48') AND us2_order_type_id = 3 ## Order found: 60 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 60 AND product_id = 143 ## Job Group Found: '88' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('88') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm041108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm041108001') AND customer_id = 3230 ## Mailing found: '10566' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 24590578, Consumer Id: 103822, Address Id: 48057 => Updated with Vin: 1FTCR14U2SPA75153 ## Mail History Id: 24590277, Consumer Id: 63642, Address Id: 50893 => Updated with Vin: 1FMFU18L54LA50184 ## Mail History Id: 24590431, Consumer Id: 93387, Address Id: 51389 => Updated with Vin: 1FAHP35N48W137946 ## Mail History Id: 24590363, Consumer Id: 93094, Address Id: 51523 => Updated with Vin: 1FTXW43R68EB13450 ## Mail History Id: 24590529, Consumer Id: 92470, Address Id: 50761 => Updated with Vin: 3FAFP07136R226343 ## Mail History Id: 24590487, Consumer Id: 93440, Address Id: 51948 => Updated with Vin: 1FAHP33N88W137113 ## Mail History Id: 24590549, Consumer Id: 93265, Address Id: 51757 => Updated with Vin: 1FTRF12277NA82154 ## Mail History Id: 24590519, Consumer Id: 65907, Address Id: 48630 => Updated with Vin: 1FMDU34XXTUB59051 ## Mail History Id: 24590311, Consumer Id: 63577, Address Id: 48777 => Updated with Vin: 1FAHP28125G130616 ## Mail History Id: 24590531, Consumer Id: 92777, Address Id: 51198 => Updated with Vin: 1FAHP25197G122598 ## Mail History Id: 24590467, Consumer Id: 67288, Address Id: 50512 => Updated with Vin: 1FTRF122X6NB25531 ## Mail History Id: 24590456, Consumer Id: 103602, Address Id: 47236 => Updated with Vin: 3FAHP07177R168361 ## Mail History Id: 24590439, Consumer Id: 92631, Address Id: 51025 => Updated with Vin: 1FTWW31P27EA09611 ## Mail History Id: 24590339, Consumer Id: 63482, Address Id: 48887 => Updated with Vin: 1FTNW21P84EB62186 ## Mail History Id: 24590299, Consumer Id: 66205, Address Id: 53019 => Updated with Vin: 1FAFP55U0YG196089 ## Mail History Id: 24541676, Consumer Id: 66905, Address Id: 51145 => Updated with Vin: 1FMEU738X6UA05305 ## Mail History Id: 24590452, Consumer Id: 93125, Address Id: 51539 => Updated with Vin: 1FAHP34N97W302874 ## Mail History Id: 24590534, Consumer Id: 63154, Address Id: 48702 => Updated with Vin: 1FDSX35S8XED49402 ## Mail History Id: 24590425, Consumer Id: 66515, Address Id: 49326 => Updated with Vin: 2FMZA5146XBC08052 ## Mail History Id: 24590322, Consumer Id: 66655, Address Id: 50090 => Updated with Vin: 1FALP653XSK178722 ## Mail History Id: 24590300, Consumer Id: 103415, Address Id: 51388 => Updated with Vin: 1FMDU34X9TUB49806 ## Mail History Id: 24590411, Consumer Id: 65102, Address Id: 49247 => Updated with Vin: 1FAFP34N45W174483 ## Mail History Id: 24590303, Consumer Id: 93516, Address Id: 52020 => Updated with Vin: 1FAHP35NX8W175679 ## Mail History Id: 24590530, Consumer Id: 103823, Address Id: 53863 => Updated with Vin: 3MASM10J8SR657773 ## Mail History Id: 24590584, Consumer Id: 92962, Address Id: 51391 => Updated with Vin: 1FAFP31NX7W240574 ## Mail History Id: 24590516, Consumer Id: 102795, Address Id: 47652 => Updated with Vin: 2MEFM74W74X695377 ## Mail History Id: 24590526, Consumer Id: 67694, Address Id: 50848 => Updated with Vin: 1FAFP28176G141636 ## Mail History Id: 24590442, Consumer Id: 63424, Address Id: 47451 => Updated with Vin: 2FMDA584X2BB33817 ## Mail History Id: 24590610, Consumer Id: 103353, Address Id: 53641 => Updated with Vin: 1LNLM97VXTY733780 ## Mail History Id: 24590488, Consumer Id: 64358, Address Id: 48296 => Updated with Vin: 1FMYU93123KC74935 ## Mail History Id: 24590607, Consumer Id: 93515, Address Id: 52019 => Updated with Vin: 2CNDL23F156105760 ## Mail History Id: 24590463, Consumer Id: 93051, Address Id: 51468 => Updated with Vin: 2G2WP522941289038 ## Mail History Id: 24590421, Consumer Id: 66083, Address Id: 49933 => Updated with Vin: 1FAHP24195G142056 ## Mail History Id: 24590306, Consumer Id: 63216, Address Id: 48104 => Updated with Vin: 1FTPF18L7YNA09228 ## Mail History Id: 24590340, Consumer Id: 93506, Address Id: 52012 => Updated with Vin: 2G1WT55KX69383591 ## Mail History Id: 24590579, Consumer Id: 64701, Address Id: 50294 => Updated with Vin: 1FMZU73K64UA49523 ## Mail History Id: 24590344, Consumer Id: 65362, Address Id: 47383 => Updated with Vin: 1FTSW31F21EB80520 ## Mail History Id: 24590350, Consumer Id: 64325, Address Id: 47748 => Updated with Vin: 1FTNW21P23EB77961 ## Mail History Id: 24590368, Consumer Id: 93235, Address Id: 49097 => Updated with Vin: 1FTRW07692KB50339 ## Mail History Id: 24590424, Consumer Id: 92486, Address Id: 50493 => Updated with Vin: 1FAHP25126G166277 ## Mail History Id: 24590448, Consumer Id: 67632, Address Id: 50692 => Updated with Vin: 1FTPX14566FB23507 ## Total mail_history records updated with vin numbers: 41 out of 42 ============================================================ ====== Tracking Id: 24 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-10 08:36:13') AND us2_order_type_id = 3 ## Order found: 60 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '1' AND store_id = 2 ## Product Id Not Found...Exit. ============================================================ ====== Tracking Id: 25 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3535 AND DATE(cart_created_date) = DATE('2008-04-10 13:33:18') AND us2_order_type_id = 3 ## Order found: 63 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 63 AND product_id = 54 ## Job Group Found: '74' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('74') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ELE041008002A' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ELE041008002A') AND customer_id = 3535 ## Mailing found: '10475' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 26 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3535 AND DATE(cart_created_date) = DATE('2008-04-10 13:42:02') AND us2_order_type_id = 3 ## Order found: 63 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 63 AND product_id = 54 ## Job Group Found: '74' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('74') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ELE041008002A' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ELE041008002A') AND customer_id = 3535 ## Mailing found: '10475' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 27 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-04-10 13:44:47') AND us2_order_type_id = 3 ## Order found: 64 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 64 AND product_id = 54 ## Job Group Found: '75' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('75') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ELE031808004A' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ELE031808004A') AND customer_id = 3427 ## Mailing found: '10474' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 28 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-04-10 13:54:29') AND us2_order_type_id = 3 ## Order found: 65 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 65 AND product_id = 54 ## Job Group Found: '76' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('76') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ELE041008001A' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ELE041008001A') AND customer_id = 3486 ## Mailing found: '10478' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 29 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-04-10 14:24:39') AND us2_order_type_id = 3 ## Order found: 66 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 66 AND product_id = 54 ## Job Group Found: '77' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('77') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ELE041008003A' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ELE041008003A') AND customer_id = 3470 ## Mailing found: '10459' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 30 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-11 08:35:45') AND us2_order_type_id = 3 ## Order found: 69 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 69 AND product_id = 113 ## Job Group Found: '87' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('87') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm041108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm041108002') AND customer_id = 3230 ## Mailing found: '10567' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 24590624, Consumer Id: 66578, Address Id: 49568 => Updated with Vin: 1FTZR45E22PB40019 ## Mail History Id: 24590626, Consumer Id: 93251, Address Id: 51744 => Updated with Vin: 1FTZR15E98PA08897 ## Mail History Id: 24590628, Consumer Id: 103316, Address Id: 50102 => Updated with Vin: 2FMZA52276BA63275 ## Mail History Id: 24590630, Consumer Id: 103605, Address Id: 48985 => Updated with Vin: 1MEFM55S7YG626247 ## Mail History Id: 24590632, Consumer Id: 63030, Address Id: 48190 => Updated with Vin: 1FAFP56S8YG261252 ## Mail History Id: 24590634, Consumer Id: 64581, Address Id: 51743 => Updated with Vin: 1FMZU73E42ZA62569 ## Mail History Id: 24590636, Consumer Id: 103620, Address Id: 53759 => Updated with Vin: 1FTWW33P96EC71864 ## Mail History Id: 24590638, Consumer Id: 92938, Address Id: 51353 => Updated with Vin: 1FAHP34N67W133901 ## Mail History Id: 24590640, Consumer Id: 102912, Address Id: 50409 => Updated with Vin: 1FTRW08L81KC15734 ## Mail History Id: 24590642, Consumer Id: 38287, Address Id: 47660 => Updated with Vin: 1FAFP55U32G117909 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 31 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-11 08:35:51') AND us2_order_type_id = 3 ## Order found: 69 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 69 AND product_id = 143 ## Job Group Found: '88' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('88') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm041108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm041108001') AND customer_id = 3230 ## Mailing found: '10566' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 24590493, Consumer Id: 92561, Address Id: 50928 => Updated with Vin: 1FAHP36N47W153903 ## Mail History Id: 24590390, Consumer Id: 38577, Address Id: 51685 => Updated with Vin: WVWPD63B34P042193 ## Mail History Id: 24590501, Consumer Id: 67390, Address Id: 50485 => Updated with Vin: 1FAHP25176G180868 ## Mail History Id: 24590491, Consumer Id: 92602, Address Id: 51002 => Updated with Vin: 3FAHP07107R121964 ## Mail History Id: 24590400, Consumer Id: 38522, Address Id: 51649 => Updated with Vin: 1FMCU03158KA82762 ## Mail History Id: 24590478, Consumer Id: 63847, Address Id: 47815 => Updated with Vin: 2FMZA51442BB37779 ## Mail History Id: 24590443, Consumer Id: 92630, Address Id: 51024 => Updated with Vin: 1B3EL46R14N286851 ## Mail History Id: 24590455, Consumer Id: 63476, Address Id: 52047 => Updated with Vin: 1FTRX18L11NB19199 ## Mail History Id: 24590449, Consumer Id: 93152, Address Id: 47332 => Updated with Vin: 1FMEU75E17UB58031 ## Mail History Id: 24590535, Consumer Id: 64245, Address Id: 48461 => Updated with Vin: 1FTNW21P43EC04559 ## Mail History Id: 24590339, Consumer Id: 66548, Address Id: 48887 => Updated with Vin: 1FTPX14545FA91798 ## Mail History Id: 24590329, Consumer Id: 103081, Address Id: 53531 => Updated with Vin: 1FMPU16W13LB16505 ## Mail History Id: 24590323, Consumer Id: 93517, Address Id: 48015 => Updated with Vin: 1FMCU94188KC83638 ## Mail History Id: 24590281, Consumer Id: 38396, Address Id: 49075 => Updated with Vin: 1FTWW31P15EB77186 ## Mail History Id: 24590279, Consumer Id: 38580, Address Id: 47772 => Updated with Vin: 1FAHP24W38G110574 ## Mail History Id: 24590287, Consumer Id: 93234, Address Id: 51732 => Updated with Vin: 1FTPW14V17FB36623 ## Mail History Id: 24590273, Consumer Id: 63761, Address Id: 48675 => Updated with Vin: 1FMZU72K82ZC90937 ## Mail History Id: 24590272, Consumer Id: 63335, Address Id: 48445 => Updated with Vin: 1FTRW08L83KD42521 ## Mail History Id: 24590392, Consumer Id: 65297, Address Id: 50566 => Updated with Vin: 1FMDK06115GA03186 ## Mail History Id: 24590376, Consumer Id: 103571, Address Id: 48159 => Updated with Vin: 1FTNX21P74EA27522 ## Mail History Id: 24590568, Consumer Id: 63179, Address Id: 49574 => Updated with Vin: 1FAFP35Z54W118441 ## Mail History Id: 24590522, Consumer Id: 67714, Address Id: 50751 => Updated with Vin: 1FMYU02Z16KB34107 ## Mail History Id: 24590516, Consumer Id: 100538, Address Id: 47652 => Updated with Vin: 1FASP15J6SW387137 ## Mail History Id: 24590326, Consumer Id: 64070, Address Id: 47612 => Updated with Vin: 2FTRF17272CA59075 ## Mail History Id: 24590588, Consumer Id: 63332, Address Id: 51557 => Updated with Vin: 1FMZU73K73ZB33738 ## Mail History Id: 24590490, Consumer Id: 67680, Address Id: 52662 => Updated with Vin: 1MEFM41115G625789 ## Mail History Id: 24590582, Consumer Id: 92766, Address Id: 48086 => Updated with Vin: 1FMEU73E87UA61962 ## Mail History Id: 24590361, Consumer Id: 92629, Address Id: 51023 => Updated with Vin: 1G1AK55F767683333 ## Mail History Id: 24590316, Consumer Id: 65075, Address Id: 48878 => Updated with Vin: 1FTZX176XWNB51720 ## Mail History Id: 24590292, Consumer Id: 100338, Address Id: 47331 => Updated with Vin: 1FAFP53213G190683 ## Mail History Id: 24590579, Consumer Id: 64701, Address Id: 50294 => Updated with Vin: 1FMZU73K64UA49523 ## Mail History Id: 24590354, Consumer Id: 66711, Address Id: 50310 => Updated with Vin: 1FAFP37N16W176107 ## Mail History Id: 24590401, Consumer Id: 63719, Address Id: 48209 => Updated with Vin: KLATA52621B669294 ## Mail History Id: 24590334, Consumer Id: 65205, Address Id: 48918 => Updated with Vin: 3FAKP1134WR205645 ## Total mail_history records updated with vin numbers: 34 out of 38 ============================================================ ====== Tracking Id: 32 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-11 08:36:19') AND us2_order_type_id = 3 ## Order found: 69 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '1' AND store_id = 2 ## Product Id Not Found...Exit. ============================================================ ====== Tracking Id: 33 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3002 AND DATE(cart_created_date) = DATE('2008-04-11 15:43:29') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 34 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-12 08:38:29') AND us2_order_type_id = 3 ## Order found: 101 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 101 AND product_id = 113 ## Job Group Found: '99' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('99') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm041608002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm041608002') AND customer_id = 3230 ## Mailing found: '10586' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 24632855, Consumer Id: 103615, Address Id: 53754 => Updated with Vin: 1FAHP56S72A249645 ## Mail History Id: 24632859, Consumer Id: 65525, Address Id: 50221 => Updated with Vin: 1FTWW33P46EA50348 ## Mail History Id: 24632865, Consumer Id: 92272, Address Id: 47659 => Updated with Vin: 1FTYR44U05PA56192 ## Total mail_history records updated with vin numbers: 3 out of 7 ============================================================ ====== Tracking Id: 35 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-12 08:38:34') AND us2_order_type_id = 3 ## Order found: 101 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 101 AND product_id = 143 ## Job Group Found: '94' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('94') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm041608001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm041608001') AND customer_id = 3230 ## Mailing found: '10587' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 36 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-12 08:38:47') AND us2_order_type_id = 3 ## Order found: 101 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '1' AND store_id = 2 ## Product Id Not Found...Exit. ============================================================ ====== Tracking Id: 37 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-13 08:38:20') AND us2_order_type_id = 3 ## Order found: 102 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 102 AND product_id = 113 ## Job Group Found: '99' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('99') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm041608002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm041608002') AND customer_id = 3230 ## Mailing found: '10586' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 24632842, Consumer Id: 66949, Address Id: 47463 => Updated with Vin: 1FTZR45E72TA71755 ## Mail History Id: 24632844, Consumer Id: 66931, Address Id: 50180 => Updated with Vin: 1FMZU74K84UA44676 ## Mail History Id: 24632846, Consumer Id: 93254, Address Id: 51747 => Updated with Vin: 3GNDA13D26S664800 ## Mail History Id: 24632848, Consumer Id: 64521, Address Id: 50724 => Updated with Vin: 1FAFP55S54G135104 ## Mail History Id: 24632850, Consumer Id: 64872, Address Id: 52755 => Updated with Vin: 2MEFM74W54X684197 ## Mail History Id: 24632852, Consumer Id: 65332, Address Id: 52817 => Updated with Vin: 1FTRX18W1YNC09487 ## Mail History Id: 24632854, Consumer Id: 103622, Address Id: 51244 => Updated with Vin: 4M2ZU76E2YUJ21876 ## Mail History Id: 24632856, Consumer Id: 103079, Address Id: 52148 => Updated with Vin: 1FAFP34N06W111804 ## Mail History Id: 24632858, Consumer Id: 63864, Address Id: 48108 => Updated with Vin: 1FTNW21P03EC04557 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 38 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-13 08:38:23') AND us2_order_type_id = 3 ## Order found: 102 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '1' AND store_id = 2 ## Product Id Not Found...Exit. ============================================================ ====== Tracking Id: 39 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-14 08:38:26') AND us2_order_type_id = 3 ## Order found: 103 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 103 AND product_id = 113 ## Job Group Found: '99' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('99') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm041608002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm041608002') AND customer_id = 3230 ## Mailing found: '10586' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 24632860, Consumer Id: 92406, Address Id: 48986 => Updated with Vin: 1ZVHT80N565165362 ## Mail History Id: 24632862, Consumer Id: 63810, Address Id: 52408 => Updated with Vin: 1FMYU04145KB43065 ## Mail History Id: 24632864, Consumer Id: 103632, Address Id: 52592 => Updated with Vin: 1MEFM55S53A609040 ## Mail History Id: 24632866, Consumer Id: 67213, Address Id: 49656 => Updated with Vin: 1FTZR45E34PB53347 ## Mail History Id: 24632843, Consumer Id: 38596, Address Id: 51697 => Updated with Vin: 2FMDK49C27BB46002 ## Mail History Id: 24632845, Consumer Id: 66785, Address Id: 50407 => Updated with Vin: 1FTSX21576EC99248 ## Mail History Id: 24632849, Consumer Id: 103604, Address Id: 53748 => Updated with Vin: 1FMZU67E62UD73552 ## Mail History Id: 24632851, Consumer Id: 38340, Address Id: 48209 => Updated with Vin: 1FTNW21L44EB07988 ## Mail History Id: 24632853, Consumer Id: 103625, Address Id: 53762 => Updated with Vin: 2FTRF073X4CA57231 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 40 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-14 08:38:31') AND us2_order_type_id = 3 ## Order found: 103 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 103 AND product_id = 143 ## Job Group Found: '94' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('94') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm041608001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm041608001') AND customer_id = 3230 ## Mailing found: '10587' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 24632736, Consumer Id: 63718, Address Id: 48710 => Updated with Vin: 1FALP53U9SG116298 ## Mail History Id: 24632738, Consumer Id: 67769, Address Id: 50691 => Updated with Vin: 1FMEU73E46UA26964 ## Mail History Id: 24632740, Consumer Id: 92485, Address Id: 47523 => Updated with Vin: 1FMZK01166GA34383 ## Mail History Id: 24632742, Consumer Id: 93518, Address Id: 52021 => Updated with Vin: 2FMDK36C48BA41462 ## Mail History Id: 24632744, Consumer Id: 67545, Address Id: 50397 => Updated with Vin: 1FAFP34N26W175942 ## Mail History Id: 24632746, Consumer Id: 64826, Address Id: 47449 => Updated with Vin: 1FTNW21P44EB44610 ## Mail History Id: 24632748, Consumer Id: 93305, Address Id: 47264 => Updated with Vin: 2FTZF172XWCA62011 ## Mail History Id: 24632750, Consumer Id: 67043, Address Id: 53189 => Updated with Vin: 1FTSW31P24EC86589 ## Mail History Id: 24632752, Consumer Id: 63977, Address Id: 48103 => Updated with Vin: 2FTRX18L62CA19770 ## Mail History Id: 24632754, Consumer Id: 103815, Address Id: 53225 => Updated with Vin: 1FMYU93135KC45348 ## Mail History Id: 24632756, Consumer Id: 93420, Address Id: 51904 => Updated with Vin: 2FMZA57451BA96486 ## Mail History Id: 24632758, Consumer Id: 103145, Address Id: 48526 => Updated with Vin: 2FMDA5242XBB95292 ## Mail History Id: 24632760, Consumer Id: 93519, Address Id: 48124 => Updated with Vin: 1FAHP35N28W140988 ## Mail History Id: 24632762, Consumer Id: 64322, Address Id: 47330 => Updated with Vin: 1FAFP55U8YG111922 ## Mail History Id: 24632764, Consumer Id: 65472, Address Id: 49926 => Updated with Vin: 1FTZR15X9YPB55738 ## Mail History Id: 24632766, Consumer Id: 93304, Address Id: 51807 => Updated with Vin: 1FTSX215X7EB30939 ## Mail History Id: 24632768, Consumer Id: 67588, Address Id: 50602 => Updated with Vin: 1FMZK03176GA47673 ## Mail History Id: 24632770, Consumer Id: 65137, Address Id: 49759 => Updated with Vin: 1FTSW21P05EA18202 ## Mail History Id: 24632772, Consumer Id: 67025, Address Id: 50578 => Updated with Vin: 1FMYU93166KC03547 ## Mail History Id: 24632774, Consumer Id: 63449, Address Id: 52362 => Updated with Vin: 2MELM74W8SX613141 ## Mail History Id: 24632776, Consumer Id: 66781, Address Id: 50366 => Updated with Vin: 1FAFP55U51A220282 ## Mail History Id: 24632780, Consumer Id: 64859, Address Id: 47385 => Updated with Vin: 1FMZU34E9WUB15115 ## Mail History Id: 24632782, Consumer Id: 65963, Address Id: 49246 => Updated with Vin: 1FTSW21P15EA56196 ## Mail History Id: 24632784, Consumer Id: 67322, Address Id: 50487 => Updated with Vin: 1FTSW21P96ED04311 ## Mail History Id: 24632786, Consumer Id: 93520, Address Id: 52022 => Updated with Vin: 1FAFP34N66W236631 ## Mail History Id: 24632790, Consumer Id: 66992, Address Id: 50247 => Updated with Vin: 1FAFP56S65A179342 ## Mail History Id: 24632792, Consumer Id: 66642, Address Id: 50122 => Updated with Vin: 1FMYU94146KA76215 ## Mail History Id: 24632794, Consumer Id: 38578, Address Id: 51240 => Updated with Vin: 1FTPX14V07FB72106 ## Mail History Id: 24632796, Consumer Id: 93334, Address Id: 47515 => Updated with Vin: 2FMDK38C07BB52019 ## Mail History Id: 24632798, Consumer Id: 64458, Address Id: 48376 => Updated with Vin: 1FMYU02182KB76567 ## Mail History Id: 24632800, Consumer Id: 63213, Address Id: 47771 => Updated with Vin: 1FMYU01B81KB81681 ## Mail History Id: 24632802, Consumer Id: 103821, Address Id: 53862 => Updated with Vin: 3B7HF12Y7XG177953 ## Total mail_history records updated with vin numbers: 32 out of 42 ============================================================ ====== Tracking Id: 41 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-14 08:38:52') AND us2_order_type_id = 3 ## Order found: 103 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '1' AND store_id = 2 ## Product Id Not Found...Exit. ============================================================ ====== Tracking Id: 42 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-15 08:34:44') AND us2_order_type_id = 3 ## Order found: 110 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 110 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 43 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-15 08:34:51') AND us2_order_type_id = 3 ## Order found: 110 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 110 AND product_id = 143 ## Job Group Found: '132' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('132') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm042808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm042808001') AND customer_id = 3230 ## Mailing found: '10861' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25214632, Consumer Id: 103814, Address Id: 53859 => Updated with Vin: 1G2WJ12M8RF312062 ## Mail History Id: 25214540, Consumer Id: 103314, Address Id: 48205 => Updated with Vin: 1FTSW21P95EC38860 ## Mail History Id: 25214507, Consumer Id: 67437, Address Id: 53272 => Updated with Vin: 3FAFP08126R113790 ## Mail History Id: 25214692, Consumer Id: 93550, Address Id: 48035 => Updated with Vin: 1FTPW14VX8FB05985 ## Mail History Id: 25214704, Consumer Id: 64408, Address Id: 49335 => Updated with Vin: 1FTRX17W23NB84335 ## Mail History Id: 25214466, Consumer Id: 66850, Address Id: 48603 => Updated with Vin: 1FMZU73W52ZB52032 ## Mail History Id: 25214630, Consumer Id: 65890, Address Id: 50298 => Updated with Vin: 1FTSW21P86EA26338 ## Mail History Id: 25214620, Consumer Id: 63474, Address Id: 48047 => Updated with Vin: 1FAFP55SX3G109807 ## Mail History Id: 25214586, Consumer Id: 66904, Address Id: 48127 => Updated with Vin: 1FTZR45E72TA70153 ## Mail History Id: 25214573, Consumer Id: 100291, Address Id: 47234 => Updated with Vin: 1FTSX31F0XED21316 ## Mail History Id: 25214494, Consumer Id: 65730, Address Id: 52891 => Updated with Vin: 1FMDA11U7NZB76659 ## Mail History Id: 25214498, Consumer Id: 64021, Address Id: 48096 => Updated with Vin: 1FTNW21F81EA22755 ## Mail History Id: 25214421, Consumer Id: 64886, Address Id: 52508 => Updated with Vin: 1FTWW31PX5EA89687 ## Mail History Id: 25214442, Consumer Id: 66220, Address Id: 50245 => Updated with Vin: 1FTRX14W46KB68535 ## Mail History Id: 25214415, Consumer Id: 64092, Address Id: 49848 => Updated with Vin: 1FMYU93123KB64824 ## Mail History Id: 25214483, Consumer Id: 103816, Address Id: 53860 => Updated with Vin: 1FTSF31F6XEE70395 ## Mail History Id: 25214701, Consumer Id: 65651, Address Id: 47504 => Updated with Vin: 1FAFP56S6YG174112 ## Mail History Id: 25214595, Consumer Id: 102120, Address Id: 52056 => Updated with Vin: 1FMZU73W22ZB66759 ## Mail History Id: 25214635, Consumer Id: 67388, Address Id: 53263 => Updated with Vin: 1FAFP36P5YW192820 ## Mail History Id: 25214418, Consumer Id: 65567, Address Id: 49079 => Updated with Vin: 1FTRW08L53KD15051 ## Mail History Id: 25214677, Consumer Id: 66704, Address Id: 53119 => Updated with Vin: 1FAFP53S9XA330519 ## Mail History Id: 25214709, Consumer Id: 63892, Address Id: 47747 => Updated with Vin: 4M2ZU86WX4ZJ06537 ## Mail History Id: 25214577, Consumer Id: 65074, Address Id: 47746 => Updated with Vin: 1FAFP34391W181468 ## Mail History Id: 25214611, Consumer Id: 103518, Address Id: 53701 => Updated with Vin: 1FMZU73K52ZC63581 ## Mail History Id: 25214715, Consumer Id: 66740, Address Id: 51011 => Updated with Vin: 1FAFP53U6YG125532 ## Mail History Id: 25214581, Consumer Id: 93520, Address Id: 52022 => Updated with Vin: 1FAFP34N66W236631 ## Mail History Id: 25214426, Consumer Id: 63683, Address Id: 47873 => Updated with Vin: 1FTYR10U63PB72210 ## Mail History Id: 25214730, Consumer Id: 93010, Address Id: 51441 => Updated with Vin: 1FAFP56UX7A206983 ## Mail History Id: 25214465, Consumer Id: 92507, Address Id: 47666 => Updated with Vin: 1FTPW14586KD14520 ## Mail History Id: 25214537, Consumer Id: 67715, Address Id: 50758 => Updated with Vin: 1FAFP24186G187952 ## Mail History Id: 25214499, Consumer Id: 67751, Address Id: 50689 => Updated with Vin: 1FMYU93136KA77230 ## Mail History Id: 25214411, Consumer Id: 93579, Address Id: 66954 => Updated with Vin: 1FAFP28126G113033 ## Mail History Id: 25214497, Consumer Id: 93481, Address Id: 50283 => Updated with Vin: 1G2HX52K634189295 ## Total mail_history records updated with vin numbers: 33 out of 35 ============================================================ ====== Tracking Id: 44 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3523 AND DATE(cart_created_date) = DATE('2008-04-15 12:09:40') AND us2_order_type_id = 3 ## Order found: 111 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 111 AND product_id = 54 ## Job Group Found: '90' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('90') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ELE041108001A' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ELE041108001A') AND customer_id = 3523 ## Mailing found: '10563' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 45 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-16 08:37:06') AND us2_order_type_id = 3 ## Order found: 121 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 121 AND product_id = 113 ## Job Group Found: '148' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('148') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608003') AND customer_id = 3230 ## Mailing found: '11067' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 46 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-16 08:37:12') AND us2_order_type_id = 3 ## Order found: 121 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 121 AND product_id = 143 ## Job Group Found: '94' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('94') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm041608001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm041608001') AND customer_id = 3230 ## Mailing found: '10587' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 24632804, Consumer Id: 38579, Address Id: 51686 => Updated with Vin: 1FAFP53U65A163759 ## Mail History Id: 24632737, Consumer Id: 66944, Address Id: 50690 => Updated with Vin: 1FTWX31P36ED36899 ## Mail History Id: 24632739, Consumer Id: 92940, Address Id: 51373 => Updated with Vin: 1FTWX31R18EA59948 ## Mail History Id: 24632741, Consumer Id: 93434, Address Id: 51943 => Updated with Vin: 1FMFK20598LA28204 ## Mail History Id: 24632743, Consumer Id: 67350, Address Id: 47382 => Updated with Vin: 1FAHP37N27W124138 ## Mail History Id: 24632745, Consumer Id: 93443, Address Id: 51949 => Updated with Vin: 2FMZA50614BA58933 ## Mail History Id: 24632747, Consumer Id: 92843, Address Id: 48856 => Updated with Vin: 1FMEU73E37UB04149 ## Mail History Id: 24632749, Consumer Id: 66535, Address Id: 50246 => Updated with Vin: 1GNET16S126102538 ## Mail History Id: 24632751, Consumer Id: 92518, Address Id: 50846 => Updated with Vin: 3FAHP08116R241592 ## Mail History Id: 24632753, Consumer Id: 63337, Address Id: 47631 => Updated with Vin: 1FTPW14584KC37144 ## Mail History Id: 24632755, Consumer Id: 63820, Address Id: 50896 => Updated with Vin: 1FTNW21P33EC44986 ## Mail History Id: 24632757, Consumer Id: 65411, Address Id: 48332 => Updated with Vin: 1FAFP36342W293111 ## Mail History Id: 24632759, Consumer Id: 64976, Address Id: 49858 => Updated with Vin: 1FTWW33P16EA04945 ## Mail History Id: 24632761, Consumer Id: 67391, Address Id: 50511 => Updated with Vin: 1FAFP34N36W118679 ## Mail History Id: 24632765, Consumer Id: 65840, Address Id: 47628 => Updated with Vin: 1FTRW07353KC22757 ## Mail History Id: 24632767, Consumer Id: 38298, Address Id: 48850 => Updated with Vin: 1FTPX04545KB99355 ## Mail History Id: 24632769, Consumer Id: 65034, Address Id: 52192 => Updated with Vin: 1FTWW33P04ED78105 ## Mail History Id: 24632771, Consumer Id: 93522, Address Id: 52023 => Updated with Vin: 1FTPX14V68FB00814 ## Mail History Id: 24632773, Consumer Id: 65100, Address Id: 47528 => Updated with Vin: 1FTRW12W04KC38521 ## Mail History Id: 24632775, Consumer Id: 67319, Address Id: 47504 => Updated with Vin: 1FAFP55UXYG105037 ## Mail History Id: 24632777, Consumer Id: 64756, Address Id: 48942 => Updated with Vin: 2FMDA52492BA08333 ## Mail History Id: 24632779, Consumer Id: 63845, Address Id: 52629 => Updated with Vin: 1FTZR45EX4PB51952 ## Mail History Id: 24632781, Consumer Id: 92422, Address Id: 48269 => Updated with Vin: 1FMEU74816UB36556 ## Mail History Id: 24632783, Consumer Id: 103518, Address Id: 53701 => Updated with Vin: 1FMZU73K52ZC63581 ## Mail History Id: 24632786, Consumer Id: 93521, Address Id: 52022 => Updated with Vin: 1FAFP34N56W212725 ## Mail History Id: 24632787, Consumer Id: 38536, Address Id: 51657 => Updated with Vin: 1FTPW14556FA14510 ## Mail History Id: 24632789, Consumer Id: 103820, Address Id: 53052 => Updated with Vin: 4M2DU86K95UJ16773 ## Mail History Id: 24632791, Consumer Id: 66302, Address Id: 49578 => Updated with Vin: 1FTRX12W24NA22990 ## Mail History Id: 24632793, Consumer Id: 64459, Address Id: 48126 => Updated with Vin: 3FAFP31341R223374 ## Mail History Id: 24632795, Consumer Id: 103818, Address Id: 49937 => Updated with Vin: 2MEFM74W1YX686485 ## Mail History Id: 24632797, Consumer Id: 63212, Address Id: 47872 => Updated with Vin: 1FTNW21F02EA92493 ## Mail History Id: 24632799, Consumer Id: 92519, Address Id: 50847 => Updated with Vin: 1FAFP34N86W135509 ## Mail History Id: 24632801, Consumer Id: 103817, Address Id: 51898 => Updated with Vin: 1FAFP55S13G228166 ## Mail History Id: 24632803, Consumer Id: 103819, Address Id: 53861 => Updated with Vin: 1FTNX21F4YEC23057 ## Mail History Id: 24632805, Consumer Id: 65276, Address Id: 47629 => Updated with Vin: 1FAFP34362W176214 ## Total mail_history records updated with vin numbers: 35 out of 37 ============================================================ ====== Tracking Id: 47 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-16 14:12:07') AND us2_order_type_id = 3 ## Order found: 121 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 121 AND product_id = 113 ## Job Group Found: '148' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('148') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608003') AND customer_id = 3230 ## Mailing found: '11067' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 48 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-16 14:26:31') AND us2_order_type_id = 3 ## Order found: 121 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 121 AND product_id = 113 ## Job Group Found: '148' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('148') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608003') AND customer_id = 3230 ## Mailing found: '11067' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 49 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-17 08:36:59') AND us2_order_type_id = 3 ## Order found: 128 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 128 AND product_id = 113 ## Job Group Found: '134' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('134') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm042808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm042808002') AND customer_id = 3230 ## Mailing found: '10859' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25214795, Consumer Id: 93242, Address Id: 51737 => Updated with Vin: 1GCHK23192F181029 ## Mail History Id: 25214797, Consumer Id: 93258, Address Id: 49722 => Updated with Vin: 1FAHP37N67W331731 ## Mail History Id: 25214799, Consumer Id: 64434, Address Id: 50355 => Updated with Vin: 1FMZU77K74UA57057 ## Mail History Id: 25214801, Consumer Id: 67377, Address Id: 50790 => Updated with Vin: 1ZVHT85H465212786 ## Mail History Id: 25214803, Consumer Id: 100324, Address Id: 47303 => Updated with Vin: 1FAFP36371W158722 ## Mail History Id: 25214805, Consumer Id: 103627, Address Id: 53763 => Updated with Vin: 1FAFP56S9YG232536 ## Mail History Id: 25214807, Consumer Id: 63500, Address Id: 48722 => Updated with Vin: 1FTWW33P54EC03395 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 50 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-17 08:37:09') AND us2_order_type_id = 3 ## Order found: 128 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 128 AND product_id = 143 ## Job Group Found: '132' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('132') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm042808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm042808001') AND customer_id = 3230 ## Mailing found: '10861' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25214645, Consumer Id: 92842, Address Id: 51262 => Updated with Vin: 1FAHP241X7G124071 ## Mail History Id: 25214536, Consumer Id: 63157, Address Id: 51052 => Updated with Vin: 1FMYU02B11KB28478 ## Mail History Id: 25214576, Consumer Id: 93528, Address Id: 52028 => Updated with Vin: 1FMZU77K04UA38902 ## Mail History Id: 25214463, Consumer Id: 93502, Address Id: 52011 => Updated with Vin: 1FAHP34N77W350776 ## Mail History Id: 25214710, Consumer Id: 92904, Address Id: 51075 => Updated with Vin: 1FAFP25107G102599 ## Mail History Id: 25214572, Consumer Id: 64775, Address Id: 52748 => Updated with Vin: 1FTNF20L24ED88271 ## Mail History Id: 25214508, Consumer Id: 92724, Address Id: 51138 => Updated with Vin: 5N1ED28Y22C506393 ## Mail History Id: 25214460, Consumer Id: 64614, Address Id: 48046 => Updated with Vin: 1FTSF30S02EC48183 ## Mail History Id: 25214615, Consumer Id: 93453, Address Id: 51957 => Updated with Vin: 1FMEU74E47UB28412 ## Mail History Id: 25214670, Consumer Id: 528033, Address Id: 9864990 => Updated with Vin: 1FTYR14E31PB41061 ## Mail History Id: 25214616, Consumer Id: 92391, Address Id: 47931 => Updated with Vin: 3FAHP08Z66R204754 ## Mail History Id: 25214511, Consumer Id: 65514, Address Id: 52846 => Updated with Vin: 1FTNX21FXYEB56237 ## Mail History Id: 25214638, Consumer Id: 67753, Address Id: 47416 => Updated with Vin: 1FAFP23126G108082 ## Mail History Id: 25214708, Consumer Id: 93241, Address Id: 51736 => Updated with Vin: 1FAHP34N17W169754 ## Mail History Id: 25214680, Consumer Id: 38432, Address Id: 49100 => Updated with Vin: 1FTSX21P65EA03801 ## Mail History Id: 25214486, Consumer Id: 93421, Address Id: 50156 => Updated with Vin: 1FAHP35N58W117477 ## Mail History Id: 25214435, Consumer Id: 102862, Address Id: 48029 => Updated with Vin: 1FTWX33F4XEF04197 ## Mail History Id: 25214489, Consumer Id: 93169, Address Id: 47497 => Updated with Vin: 1FMEU73E97UB54327 ## Mail History Id: 25214563, Consumer Id: 64725, Address Id: 49566 => Updated with Vin: 1FMYU93133KD47889 ## Mail History Id: 25214561, Consumer Id: 66739, Address Id: 47372 => Updated with Vin: 1FAHP34NX6W184865 ## Mail History Id: 25214642, Consumer Id: 65513, Address Id: 50148 => Updated with Vin: 1FTSW21PX6EA50513 ## Mail History Id: 25214701, Consumer Id: 64240, Address Id: 47504 => Updated with Vin: 1MELM50U8TG602141 ## Mail History Id: 25214436, Consumer Id: 63598, Address Id: 48361 => Updated with Vin: 1FTRW08L03KD94466 ## Mail History Id: 25214703, Consumer Id: 103670, Address Id: 51689 => Updated with Vin: 1FAFP404X2F108115 ## Mail History Id: 25214587, Consumer Id: 64516, Address Id: 49573 => Updated with Vin: 1FTZX1760WNB79221 ## Mail History Id: 25214675, Consumer Id: 92773, Address Id: 51197 => Updated with Vin: 1FAFP31N57W211127 ## Mail History Id: 25214633, Consumer Id: 103200, Address Id: 52849 => Updated with Vin: 1FTRX14W76NA02623 ## Mail History Id: 25214723, Consumer Id: 64779, Address Id: 48565 => Updated with Vin: 1FAFP53295A207431 ## Mail History Id: 25214426, Consumer Id: 63336, Address Id: 47873 => Updated with Vin: 1FMZU72K72ZC71165 ## Mail History Id: 25214604, Consumer Id: 528034, Address Id: 53429 => Updated with Vin: 3FAHP07ZX8R129061 ## Mail History Id: 25214445, Consumer Id: 73751, Address Id: 52024 => Updated with Vin: 2FTRX18L52CA28590 ## Mail History Id: 25214479, Consumer Id: 63846, Address Id: 48255 => Updated with Vin: 1FMFU18L63LA98372 ## Mail History Id: 25214453, Consumer Id: 93491, Address Id: 51978 => Updated with Vin: 3FAHP07Z18R157279 ## Mail History Id: 25214517, Consumer Id: 93508, Address Id: 52013 => Updated with Vin: 2FMZA52234BA64100 ## Mail History Id: 25214628, Consumer Id: 93400, Address Id: 51891 => Updated with Vin: 3B7HF13ZXYG123958 ## Mail History Id: 25214725, Consumer Id: 528032, Address Id: 52949 => Updated with Vin: 1G6KD54Y22U225416 ## Total mail_history records updated with vin numbers: 36 out of 38 ============================================================ ====== Tracking Id: 51 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-04-17 13:55:02') AND us2_order_type_id = 3 ## Order found: 131 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 131 AND product_id = 54 ## Job Group Found: '100' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('100') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ELE031808001A' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ELE031808001A') AND customer_id = 3451 ## Mailing found: '10615' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 52 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-04-17 15:04:12') AND us2_order_type_id = 3 ## Order found: 131 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 131 AND product_id = 54 ## Job Group Found: '100' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('100') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ELE031808001A' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ELE031808001A') AND customer_id = 3451 ## Mailing found: '10615' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 53 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-18 08:36:30') AND us2_order_type_id = 3 ## Order found: 137 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 137 AND product_id = 113 ## Job Group Found: '134' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('134') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm042808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm042808002') AND customer_id = 3230 ## Mailing found: '10859' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25214819, Consumer Id: 67554, Address Id: 51751 => Updated with Vin: 1FTYR444X3PB82962 ## Mail History Id: 25214821, Consumer Id: 103623, Address Id: 53761 => Updated with Vin: 1FMZU74K05UA32880 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 54 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-18 08:36:38') AND us2_order_type_id = 3 ## Order found: 137 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 137 AND product_id = 143 ## Job Group Found: '132' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('132') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm042808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm042808001') AND customer_id = 3230 ## Mailing found: '10861' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25214515, Consumer Id: 103831, Address Id: 53867 => Updated with Vin: 1FMZU73K24ZA04467 ## Mail History Id: 25214712, Consumer Id: 63596, Address Id: 52605 => Updated with Vin: 1FMYU03155DA21367 ## Mail History Id: 25214536, Consumer Id: 63157, Address Id: 51052 => Updated with Vin: 1FMYU02B11KB28478 ## Mail History Id: 25214652, Consumer Id: 93081, Address Id: 51511 => Updated with Vin: 1FTPW14V67KC91854 ## Mail History Id: 25214658, Consumer Id: 101379, Address Id: 49168 => Updated with Vin: 1FTRX18W03NA86841 ## Mail History Id: 25214634, Consumer Id: 65298, Address Id: 48128 => Updated with Vin: 1FTWW33F31ED08410 ## Mail History Id: 25214636, Consumer Id: 66537, Address Id: 50054 => Updated with Vin: 1FMPU15555LA79177 ## Mail History Id: 25214596, Consumer Id: 63762, Address Id: 47613 => Updated with Vin: 1FMFU18L14LB59922 ## Mail History Id: 25214481, Consumer Id: 67145, Address Id: 49219 => Updated with Vin: 1FTWW31P16ED85439 ## Mail History Id: 25214455, Consumer Id: 100816, Address Id: 47636 => Updated with Vin: 1FALP52U8TG314244 ## Mail History Id: 25214430, Consumer Id: 92903, Address Id: 51330 => Updated with Vin: 1FTPX145X4NA14566 ## Mail History Id: 25214551, Consumer Id: 64629, Address Id: 49567 => Updated with Vin: 1FAFP34P43W190357 ## Mail History Id: 25214559, Consumer Id: 67140, Address Id: 48256 => Updated with Vin: 1FMZU72K72ZC83722 ## Mail History Id: 25214557, Consumer Id: 92805, Address Id: 47608 => Updated with Vin: 1FTRX18W23NA37818 ## Mail History Id: 25214544, Consumer Id: 101061, Address Id: 48444 => Updated with Vin: 1FAFP36392W359250 ## Mail History Id: 25214701, Consumer Id: 93523, Address Id: 47504 => Updated with Vin: 1FTSX31L0YED29486 ## Mail History Id: 25214717, Consumer Id: 66122, Address Id: 49730 => Updated with Vin: 1FMZK01105GA74683 ## Mail History Id: 25214619, Consumer Id: 64246, Address Id: 50075 => Updated with Vin: 1FMZU73K54ZA31677 ## Mail History Id: 25214598, Consumer Id: 92560, Address Id: 49090 => Updated with Vin: 1FMYU59H67KA69881 ## Mail History Id: 25214600, Consumer Id: 92673, Address Id: 51083 => Updated with Vin: 1FMYU03157KA85357 ## Mail History Id: 25214500, Consumer Id: 67568, Address Id: 47941 => Updated with Vin: 1FTSS34F4YHB21761 ## Mail History Id: 25214428, Consumer Id: 93168, Address Id: 48268 => Updated with Vin: 2FMDK36C17BB00417 ## Mail History Id: 25214646, Consumer Id: 101974, Address Id: 51424 => Updated with Vin: 1FAFP34P43W202586 ## Mail History Id: 25214664, Consumer Id: 63478, Address Id: 49306 => Updated with Vin: 1FMZU83K64ZB26173 ## Mail History Id: 25214469, Consumer Id: 92774, Address Id: 50335 => Updated with Vin: 2FMDK49C97BA26536 ## Mail History Id: 25214519, Consumer Id: 93170, Address Id: 51590 => Updated with Vin: 1ZVFT84N175241730 ## Mail History Id: 25214640, Consumer Id: 38299, Address Id: 48851 => Updated with Vin: 1FMZU73W65ZA11880 ## Mail History Id: 25214425, Consumer Id: 103830, Address Id: 53118 => Updated with Vin: 1HGEJ7129XL010807 ## Mail History Id: 25214535, Consumer Id: 96756, Address Id: 51547 => Updated with Vin: 1FMCU93138KC99425 ## Mail History Id: 25214562, Consumer Id: 63954, Address Id: 49860 => Updated with Vin: 1FMYU04165KD40075 ## Mail History Id: 25214517, Consumer Id: 93508, Address Id: 52013 => Updated with Vin: 2FMZA52234BA64100 ## Mail History Id: 25214551, Consumer Id: 67250, Address Id: 49567 => Updated with Vin: 1FAFP36N96W131465 ## Mail History Id: 25214627, Consumer Id: 67752, Address Id: 50927 => Updated with Vin: 1FMZK06186GA34152 ## Total mail_history records updated with vin numbers: 33 out of 38 ============================================================ ====== Tracking Id: 55 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3571 AND DATE(cart_created_date) = DATE('2008-04-18 13:43:22') AND us2_order_type_id = 3 ## Order found: 139 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '10' AND store_id = 2 ## Product Id found: 60 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 139 AND product_id = 60 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 56 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-19 08:36:35') AND us2_order_type_id = 3 ## Order found: 140 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 140 AND product_id = 113 ## Job Group Found: '134' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('134') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm042808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm042808002') AND customer_id = 3230 ## Mailing found: '10859' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25214839, Consumer Id: 67725, Address Id: 50752 => Updated with Vin: 1FTSW21P96EA34609 ## Mail History Id: 25214841, Consumer Id: 92661, Address Id: 51074 => Updated with Vin: 1FMDK02107GA18528 ## Mail History Id: 25214843, Consumer Id: 67533, Address Id: 53306 => Updated with Vin: 1LNHM82W63Y667566 ## Mail History Id: 25214845, Consumer Id: 102841, Address Id: 53394 => Updated with Vin: 2MEHM75VX6X637412 ## Mail History Id: 25214847, Consumer Id: 93260, Address Id: 51754 => Updated with Vin: 3FAHP07Z57R273020 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 57 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-19 08:36:40') AND us2_order_type_id = 3 ## Order found: 140 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 140 AND product_id = 143 ## Job Group Found: '132' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('132') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm042808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm042808001') AND customer_id = 3230 ## Mailing found: '10861' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25214518, Consumer Id: 93524, Address Id: 52025 => Updated with Vin: 1FTSW21P95EA12494 ## Mail History Id: 25214700, Consumer Id: 93525, Address Id: 50781 => Updated with Vin: 1FAHP35N48W110987 ## Mail History Id: 25214701, Consumer Id: 63944, Address Id: 47504 => Updated with Vin: 1MELM50U4TG632740 ## Mail History Id: 25214412, Consumer Id: 93526, Address Id: 52026 => Updated with Vin: 1GCCS148268258186 ## Mail History Id: 25214688, Consumer Id: 65549, Address Id: 52027 => Updated with Vin: 1FMZU73K14ZB44557 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 58 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-20 08:36:46') AND us2_order_type_id = 3 ## Order found: 141 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 141 AND product_id = 113 ## Job Group Found: '134' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('134') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm042808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm042808002') AND customer_id = 3230 ## Mailing found: '10859' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25214794, Consumer Id: 102625, Address Id: 48215 => Updated with Vin: 2FTRX17224CA66984 ## Mail History Id: 25214798, Consumer Id: 103447, Address Id: 53674 => Updated with Vin: 1FTPW14V97KA57093 ## Mail History Id: 25214802, Consumer Id: 65078, Address Id: 49852 => Updated with Vin: 1FTSW21P86EA21043 ## Mail History Id: 25214804, Consumer Id: 93262, Address Id: 51755 => Updated with Vin: 1ZVHT85H285134334 ## Mail History Id: 25214806, Consumer Id: 65868, Address Id: 50445 => Updated with Vin: 1FTSW31P53ED52907 ## Total mail_history records updated with vin numbers: 5 out of 8 ============================================================ ====== Tracking Id: 59 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-20 08:36:52') AND us2_order_type_id = 3 ## Order found: 141 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 141 AND product_id = 143 ## Job Group Found: '132' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('132') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm042808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm042808001') AND customer_id = 3230 ## Mailing found: '10861' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 60 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-21 08:36:26') AND us2_order_type_id = 3 ## Order found: 143 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 143 AND product_id = 113 ## Job Group Found: '134' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('134') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm042808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm042808002') AND customer_id = 3230 ## Mailing found: '10859' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25214810, Consumer Id: 64933, Address Id: 47891 => Updated with Vin: 1FTNX21P23EC64658 ## Mail History Id: 25214812, Consumer Id: 64210, Address Id: 47749 => Updated with Vin: 2FMZA5141YBC55538 ## Mail History Id: 25214814, Consumer Id: 92377, Address Id: 50521 => Updated with Vin: 1FTPW14506FA89521 ## Mail History Id: 25214816, Consumer Id: 65846, Address Id: 51531 => Updated with Vin: 1FMCU04182KD81149 ## Mail History Id: 25214818, Consumer Id: 62866, Address Id: 47387 => Updated with Vin: 1FMDU75W82ZB46278 ## Mail History Id: 25214820, Consumer Id: 93271, Address Id: 51760 => Updated with Vin: 1FMEU75807UB66146 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 61 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-21 08:36:34') AND us2_order_type_id = 3 ## Order found: 143 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 143 AND product_id = 143 ## Job Group Found: '132' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('132') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm042808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm042808001') AND customer_id = 3230 ## Mailing found: '10861' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25214503, Consumer Id: 103601, Address Id: 48419 => Updated with Vin: 1LNLM81W0VY627417 ## Mail History Id: 25214672, Consumer Id: 103829, Address Id: 53866 => Updated with Vin: 1FTZR15V2XPB86195 ## Mail History Id: 25214576, Consumer Id: 93528, Address Id: 52028 => Updated with Vin: 1FMZU77K04UA38902 ## Mail History Id: 25214674, Consumer Id: 65582, Address Id: 49646 => Updated with Vin: 1FTPX14585FA17879 ## Mail History Id: 25214464, Consumer Id: 93530, Address Id: 52030 => Updated with Vin: 1FAHP35N78W116833 ## Mail History Id: 25214571, Consumer Id: 66943, Address Id: 47860 => Updated with Vin: 1FTSW21P36EB48945 ## Mail History Id: 25214654, Consumer Id: 67275, Address Id: 50485 => Updated with Vin: 1FTWX31P16ED48291 ## Mail History Id: 25214700, Consumer Id: 92484, Address Id: 50781 => Updated with Vin: 3FAFP07ZX6R174537 ## Mail History Id: 25214690, Consumer Id: 92867, Address Id: 51286 => Updated with Vin: 1FMYU93127KB68409 ## Mail History Id: 25214696, Consumer Id: 64242, Address Id: 48125 => Updated with Vin: 2FMZA52224BA82829 ## Mail History Id: 25214458, Consumer Id: 64826, Address Id: 47449 => Updated with Vin: 1FTNW21P44EB44610 ## Mail History Id: 25214612, Consumer Id: 92300, Address Id: 50213 => Updated with Vin: 1FAHP34N56W174485 ## Mail History Id: 25214476, Consumer Id: 63151, Address Id: 47448 => Updated with Vin: 1FMYU92193KB86806 ## Mail History Id: 25214491, Consumer Id: 67209, Address Id: 47314 => Updated with Vin: 1B4GP44352B671397 ## Mail History Id: 25214480, Consumer Id: 63156, Address Id: 48331 => Updated with Vin: 1FTNW21P13EB45454 ## Mail History Id: 25214482, Consumer Id: 93388, Address Id: 51883 => Updated with Vin: 1FMEU73E78UA02452 ## Mail History Id: 25214440, Consumer Id: 92516, Address Id: 50844 => Updated with Vin: 1FTPW14516FB65859 ## Mail History Id: 25214667, Consumer Id: 92353, Address Id: 50274 => Updated with Vin: 3FAHP08116R142464 ## Mail History Id: 25214547, Consumer Id: 64917, Address Id: 47502 => Updated with Vin: 1FMFU16525LA29167 ## Mail History Id: 25214454, Consumer Id: 93516, Address Id: 52020 => Updated with Vin: 1FAHP35NX8W175679 ## Mail History Id: 25214540, Consumer Id: 65000, Address Id: 48205 => Updated with Vin: 1FAFP58U22G140948 ## Mail History Id: 25214701, Consumer Id: 64068, Address Id: 47504 => Updated with Vin: 1FAFP53S3XG169565 ## Mail History Id: 25214713, Consumer Id: 63890, Address Id: 52362 => Updated with Vin: 2FMZA516X4BB23079 ## Mail History Id: 25214655, Consumer Id: 66781, Address Id: 50366 => Updated with Vin: 1FAFP55U51A220282 ## Mail History Id: 25214601, Consumer Id: 65073, Address Id: 51304 => Updated with Vin: 1FTNW21P94EA84940 ## Mail History Id: 25214621, Consumer Id: 62870, Address Id: 47496 => Updated with Vin: 1FTSX31FX1EB64868 ## Mail History Id: 25214631, Consumer Id: 93563, Address Id: 49008 => Updated with Vin: 1FAHP33N98W147102 ## Mail History Id: 25214416, Consumer Id: 66150, Address Id: 49758 => Updated with Vin: 1FAFP34N75W301372 ## Mail History Id: 25214721, Consumer Id: 63758, Address Id: 48191 => Updated with Vin: 1FTYR14U44PA09261 ## Mail History Id: 25214609, Consumer Id: 64020, Address Id: 47650 => Updated with Vin: 3FAKP1138XR194876 ## Mail History Id: 25214602, Consumer Id: 93558, Address Id: 52065 => Updated with Vin: 1FAHP33N18W142699 ## Mail History Id: 25214522, Consumer Id: 93017, Address Id: 51446 => Updated with Vin: 3FAHP06Z27R211219 ## Mail History Id: 25214532, Consumer Id: 93264, Address Id: 50307 => Updated with Vin: 1FMCU03Z08KB25894 ## Mail History Id: 25214526, Consumer Id: 93477, Address Id: 47871 => Updated with Vin: 1FMDK06W38GA03366 ## Mail History Id: 25214422, Consumer Id: 64566, Address Id: 49333 => Updated with Vin: 1FMYU02184DA14526 ## Mail History Id: 25214732, Consumer Id: 67693, Address Id: 51001 => Updated with Vin: 1FMEU51K97UA38543 ## Mail History Id: 25214560, Consumer Id: 93527, Address Id: 49940 => Updated with Vin: 1FTSW21RX8ED00840 ## Mail History Id: 25214473, Consumer Id: 102658, Address Id: 47963 => Updated with Vin: 1FTCR14X5PPA57926 ## Mail History Id: 25214541, Consumer Id: 93000, Address Id: 51437 => Updated with Vin: 1FTPW14V47FA88244 ## Total mail_history records updated with vin numbers: 39 out of 44 ============================================================ ====== Tracking Id: 62 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-22 08:36:52') AND us2_order_type_id = 3 ## Order found: 158 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 158 AND product_id = 113 ## Job Group Found: '134' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('134') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm042808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm042808002') AND customer_id = 3230 ## Mailing found: '10859' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25214822, Consumer Id: 66238, Address Id: 50130 => Updated with Vin: 1FTPX14586NA57810 ## Mail History Id: 25214824, Consumer Id: 38599, Address Id: 48720 => Updated with Vin: 1FTPX14V97FB12275 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 63 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-22 08:37:01') AND us2_order_type_id = 3 ## Order found: 158 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 158 AND product_id = 143 ## Job Group Found: '132' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('132') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm042808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm042808001') AND customer_id = 3230 ## Mailing found: '10861' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25214639, Consumer Id: 92517, Address Id: 50845 => Updated with Vin: 1FAFP34N77W114619 ## Mail History Id: 25214643, Consumer Id: 92960, Address Id: 51390 => Updated with Vin: 1G1AL15FX77123300 ## Mail History Id: 25214543, Consumer Id: 64173, Address Id: 48028 => Updated with Vin: 2FMZA52443BA04052 ## Mail History Id: 25214464, Consumer Id: 93530, Address Id: 52030 => Updated with Vin: 1FAHP35N78W116833 ## Mail History Id: 25214707, Consumer Id: 93049, Address Id: 50824 => Updated with Vin: 1FMEU73847UB22220 ## Mail History Id: 25214694, Consumer Id: 93534, Address Id: 52033 => Updated with Vin: 2FMDK38CX8BA23612 ## Mail History Id: 25214622, Consumer Id: 66495, Address Id: 53079 => Updated with Vin: 1FTNX21P24ED62896 ## Mail History Id: 25214580, Consumer Id: 103687, Address Id: 52948 => Updated with Vin: 1FMZK02146GA30010 ## Mail History Id: 25214584, Consumer Id: 64170, Address Id: 50549 => Updated with Vin: 1FTZR45E24PA37170 ## Mail History Id: 25214651, Consumer Id: 64425, Address Id: 49243 => Updated with Vin: 1FTWW31P95EC02142 ## Mail History Id: 25214676, Consumer Id: 66609, Address Id: 50214 => Updated with Vin: 1FMYU93166KC13673 ## Mail History Id: 25214487, Consumer Id: 63427, Address Id: 48316 => Updated with Vin: 1FMSU45P73ED13477 ## Mail History Id: 25214667, Consumer Id: 63561, Address Id: 50274 => Updated with Vin: 1FAFP38313W210412 ## Mail History Id: 25214451, Consumer Id: 93389, Address Id: 50915 => Updated with Vin: 1FAHP33N18W114434 ## Mail History Id: 25214457, Consumer Id: 67602, Address Id: 47328 => Updated with Vin: 1FAHP36N47W124899 ## Mail History Id: 25214552, Consumer Id: 64051, Address Id: 47962 => Updated with Vin: 1FAFP34312W249621 ## Mail History Id: 25214701, Consumer Id: 93201, Address Id: 47504 => Updated with Vin: 1FAFP5525YA222817 ## Mail History Id: 25214579, Consumer Id: 64019, Address Id: 48976 => Updated with Vin: 1FTRW12WX5FA29555 ## Mail History Id: 25214679, Consumer Id: 64059, Address Id: 48418 => Updated with Vin: 1FAFP55U82G269992 ## Mail History Id: 25214410, Consumer Id: 64186, Address Id: 47263 => Updated with Vin: 1FTRX17W03NA13941 ## Mail History Id: 25214439, Consumer Id: 66299, Address Id: 49937 => Updated with Vin: 1FTSX30F8YEA83881 ## Mail History Id: 25214449, Consumer Id: 103827, Address Id: 53450 => Updated with Vin: 2FAFP74W74X185979 ## Mail History Id: 25214531, Consumer Id: 93533, Address Id: 52032 => Updated with Vin: 1FTRX12V77FA44862 ## Mail History Id: 25214473, Consumer Id: 64069, Address Id: 47963 => Updated with Vin: 1FTNX21P73EC04939 ## Mail History Id: 25214624, Consumer Id: 66608, Address Id: 50117 => Updated with Vin: 1FTNX21S5YEC07060 ## Mail History Id: 25214513, Consumer Id: 38657, Address Id: 53978 => Updated with Vin: 1FMYU03126KA25194 ## Total mail_history records updated with vin numbers: 26 out of 31 ============================================================ ====== Tracking Id: 64 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-23 09:08:37') AND us2_order_type_id = 3 ## Order found: 165 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 165 AND product_id = 143 ## Job Group Found: '132' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('132') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm042808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm042808001') AND customer_id = 3230 ## Mailing found: '10861' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25214718, Consumer Id: 103826, Address Id: 53865 => Updated with Vin: 5GTDN13EX78212098 ## Mail History Id: 25214470, Consumer Id: 92868, Address Id: 51287 => Updated with Vin: 1FTSW21557EA75030 ## Mail History Id: 25214474, Consumer Id: 93149, Address Id: 51581 => Updated with Vin: 1FAHP34N37W327687 ## Mail History Id: 25214686, Consumer Id: 93531, Address Id: 50003 => Updated with Vin: 1FAHP35N08W174928 ## Mail History Id: 25214626, Consumer Id: 65652, Address Id: 49896 => Updated with Vin: 1FTWW31P56EA26269 ## Mail History Id: 25214666, Consumer Id: 38431, Address Id: 49099 => Updated with Vin: 1FTWW31P85EC38971 ## Mail History Id: 25214512, Consumer Id: 101025, Address Id: 48393 => Updated with Vin: 1FMUU01B01KF10288 ## Mail History Id: 25214706, Consumer Id: 93016, Address Id: 51445 => Updated with Vin: 1FAFP34N37W179533 ## Mail History Id: 25214610, Consumer Id: 38502, Address Id: 49151 => Updated with Vin: 1FTSW21P15EC00085 ## Mail History Id: 25214569, Consumer Id: 63048, Address Id: 48045 => Updated with Vin: 2FMZA52422BB79124 ## Mail History Id: 25214649, Consumer Id: 67692, Address Id: 52986 => Updated with Vin: 1FTRW07L41KE62315 ## Mail History Id: 25214684, Consumer Id: 93536, Address Id: 52034 => Updated with Vin: 1FAHP35N78W158645 ## Mail History Id: 25214472, Consumer Id: 92892, Address Id: 51323 => Updated with Vin: 1FTSW21P97EB52080 ## Mail History Id: 25214438, Consumer Id: 63106, Address Id: 48016 => Updated with Vin: 1FMPU16LX2LA89339 ## Mail History Id: 25214444, Consumer Id: 93532, Address Id: 52031 => Updated with Vin: 1FAFP55U82A116564 ## Mail History Id: 25214659, Consumer Id: 66848, Address Id: 50243 => Updated with Vin: 1FMEU74E66UA57745 ## Mail History Id: 25214548, Consumer Id: 66903, Address Id: 50423 => Updated with Vin: 2FMZA50463BB78949 ## Mail History Id: 25214552, Consumer Id: 67004, Address Id: 47962 => Updated with Vin: 2FMZA51646BA11090 ## Mail History Id: 25214432, Consumer Id: 64426, Address Id: 47628 => Updated with Vin: 1ZVFT85H155180871 ## Mail History Id: 25214701, Consumer Id: 63640, Address Id: 47504 => Updated with Vin: 1FTNX21P14EA57468 ## Mail History Id: 25214605, Consumer Id: 92665, Address Id: 51076 => Updated with Vin: 1FTPX14586FB32015 ## Mail History Id: 25214671, Consumer Id: 92716, Address Id: 49063 => Updated with Vin: 1FMEU73847UA68398 ## Mail History Id: 25214501, Consumer Id: 38544, Address Id: 51662 => Updated with Vin: 1FAHP34N87W240013 ## Mail History Id: 25214425, Consumer Id: 103828, Address Id: 53118 => Updated with Vin: 1G2WP52KX1F151674 ## Mail History Id: 25214524, Consumer Id: 93238, Address Id: 51734 => Updated with Vin: 1GNDX03E73D323972 ## Mail History Id: 25214722, Consumer Id: 103825, Address Id: 53864 => Updated with Vin: 1FTPX12555FA91697 ## Total mail_history records updated with vin numbers: 26 out of 29 ============================================================ ====== Tracking Id: 65 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3426 AND DATE(cart_created_date) = DATE('2008-04-23 12:22:15') AND us2_order_type_id = 3 ## Order found: 167 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '10' AND store_id = 2 ## Product Id found: 60 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 167 AND product_id = 60 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 66 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3426 AND DATE(cart_created_date) = DATE('2008-04-23 12:25:22') AND us2_order_type_id = 3 ## Order found: 167 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '10' AND store_id = 2 ## Product Id found: 60 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 167 AND product_id = 60 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 67 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-24 08:35:21') AND us2_order_type_id = 3 ## Order found: 173 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 173 AND product_id = 113 ## Job Group Found: '134' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('134') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm042808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm042808002') AND customer_id = 3230 ## Mailing found: '10859' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25214826, Consumer Id: 63554, Address Id: 51750 => Updated with Vin: 1FMYU02ZX5KB42687 ## Mail History Id: 25214828, Consumer Id: 92584, Address Id: 50951 => Updated with Vin: 1FTRX12W56FA61103 ## Mail History Id: 25214830, Consumer Id: 66659, Address Id: 50394 => Updated with Vin: 1FTPX145X6FA80905 ## Mail History Id: 25214832, Consumer Id: 63440, Address Id: 48249 => Updated with Vin: 1FTNX21FX3EB20122 ## Mail History Id: 25214834, Consumer Id: 67098, Address Id: 53199 => Updated with Vin: 1LNHM87A91Y655034 ## Mail History Id: 25214836, Consumer Id: 93276, Address Id: 51762 => Updated with Vin: 1FTWW33P63EC76743 ## Mail History Id: 25214838, Consumer Id: 66426, Address Id: 50250 => Updated with Vin: 1FAFP38383W164528 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 68 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-24 08:35:29') AND us2_order_type_id = 3 ## Order found: 173 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 173 AND product_id = 143 ## Job Group Found: '132' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('132') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm042808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm042808001') AND customer_id = 3230 ## Mailing found: '10861' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25214433, Consumer Id: 93539, Address Id: 52037 => Updated with Vin: 1FTHX26M9NKA57197 ## Mail History Id: 25214567, Consumer Id: 93466, Address Id: 51962 => Updated with Vin: 2C4GP443X3R342460 ## Mail History Id: 25214726, Consumer Id: 93537, Address Id: 52035 => Updated with Vin: 1FAFP33P41W232072 ## Mail History Id: 25214650, Consumer Id: 93458, Address Id: 50675 => Updated with Vin: 1ZVHT82H575316077 ## Mail History Id: 25214484, Consumer Id: 66702, Address Id: 51387 => Updated with Vin: 1FAFP28115G120828 ## Mail History Id: 25214656, Consumer Id: 93590, Address Id: 67805 => Updated with Vin: 2FMDK36C18BA06345 ## Mail History Id: 25214506, Consumer Id: 93538, Address Id: 52036 => Updated with Vin: 1FMCU93128KC17314 ## Mail History Id: 25214516, Consumer Id: 63016, Address Id: 51559 => Updated with Vin: 1FMSU45P94EC56166 ## Mail History Id: 25214592, Consumer Id: 62923, Address Id: 48525 => Updated with Vin: 1FMDU75EXYZA76055 ## Mail History Id: 25214556, Consumer Id: 63976, Address Id: 48977 => Updated with Vin: 1FAFP56S54G148840 ## Mail History Id: 25214653, Consumer Id: 64868, Address Id: 48277 => Updated with Vin: 1FTRX18W2XNA38618 ## Mail History Id: 25214583, Consumer Id: 65544, Address Id: 48570 => Updated with Vin: 1FAFP53U4XA175668 ## Mail History Id: 25214618, Consumer Id: 65620, Address Id: 47300 => Updated with Vin: 1FAFP10P1XW208281 ## Mail History Id: 25214594, Consumer Id: 38376, Address Id: 49059 => Updated with Vin: 1FAFP56S2YG162393 ## Mail History Id: 25214478, Consumer Id: 63716, Address Id: 50282 => Updated with Vin: 1FTPW14594KB02674 ## Mail History Id: 25214450, Consumer Id: 38541, Address Id: 51660 => Updated with Vin: 1FMEU73E37UB37894 ## Mail History Id: 25214673, Consumer Id: 65383, Address Id: 49026 => Updated with Vin: 1FAFP53265A170449 ## Mail History Id: 25214663, Consumer Id: 63473, Address Id: 47814 => Updated with Vin: 2FTRX17L02CA55083 ## Mail History Id: 25214496, Consumer Id: 66441, Address Id: 49868 => Updated with Vin: 1FTSX21P26EA04946 ## Mail History Id: 25214514, Consumer Id: 92988, Address Id: 51410 => Updated with Vin: 2FMDK49C67BA60742 ## Mail History Id: 25214553, Consumer Id: 67372, Address Id: 50670 => Updated with Vin: 1FTWW31PX6EB53213 ## Mail History Id: 25214554, Consumer Id: 92941, Address Id: 49962 => Updated with Vin: 1FAHP24187G149938 ## Mail History Id: 25214701, Consumer Id: 93201, Address Id: 47504 => Updated with Vin: 1FAFP5525YA222817 ## Mail History Id: 25214647, Consumer Id: 103251, Address Id: 48983 => Updated with Vin: 1FTWW33P05EB27201 ## Mail History Id: 25214607, Consumer Id: 93485, Address Id: 51120 => Updated with Vin: 1FAHP25W78G127828 ## Mail History Id: 25214585, Consumer Id: 63047, Address Id: 51565 => Updated with Vin: 2FMZA52274BA38826 ## Mail History Id: 25214617, Consumer Id: 62869, Address Id: 47770 => Updated with Vin: 1FTJW36F3VEA39031 ## Mail History Id: 25214727, Consumer Id: 64708, Address Id: 48449 => Updated with Vin: 2FTRF18L41CA68144 ## Mail History Id: 25214637, Consumer Id: 38430, Address Id: 49098 => Updated with Vin: 1FTRF14W85NA14698 ## Mail History Id: 25214705, Consumer Id: 63385, Address Id: 52261 => Updated with Vin: 1FAFP53295A191165 ## Mail History Id: 25214591, Consumer Id: 66475, Address Id: 53075 => Updated with Vin: 4F2YZ94154KM32223 ## Mail History Id: 25214558, Consumer Id: 67005, Address Id: 50215 => Updated with Vin: 1FTWW31P36EB76669 ## Mail History Id: 25214467, Consumer Id: 93562, Address Id: 52068 => Updated with Vin: 1B3EJ46X8WN336989 ## Mail History Id: 25214603, Consumer Id: 38395, Address Id: 49050 => Updated with Vin: 1FTYR14U35PA22357 ## Mail History Id: 25214441, Consumer Id: 93303, Address Id: 51806 => Updated with Vin: 1FTSW21R68EB56722 ## Mail History Id: 25214529, Consumer Id: 64018, Address Id: 51884 => Updated with Vin: 1FMZU73K24ZB26181 ## Mail History Id: 25214477, Consumer Id: 63003, Address Id: 48420 => Updated with Vin: 1FMYU04182KA35091 ## Mail History Id: 25214493, Consumer Id: 92365, Address Id: 50486 => Updated with Vin: 1FTPX14526FB19261 ## Mail History Id: 25214409, Consumer Id: 93478, Address Id: 51967 => Updated with Vin: 1FMDK02W18GA23928 ## Mail History Id: 25214662, Consumer Id: 93540, Address Id: 52038 => Updated with Vin: 1FMEU74E88UA27214 ## Total mail_history records updated with vin numbers: 40 out of 42 ============================================================ ====== Tracking Id: 69 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-25 08:35:11') AND us2_order_type_id = 3 ## Order found: 176 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 176 AND product_id = 113 ## Job Group Found: '134' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('134') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm042808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm042808002') AND customer_id = 3230 ## Mailing found: '10859' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25214840, Consumer Id: 93278, Address Id: 51764 => Updated with Vin: 1G1ND52J516247549 ## Mail History Id: 25214842, Consumer Id: 103649, Address Id: 48854 => Updated with Vin: 2FTRX08L4YCA91764 ## Mail History Id: 25214844, Consumer Id: 63421, Address Id: 47754 => Updated with Vin: 1FTYR10C3YTB25044 ## Mail History Id: 25214846, Consumer Id: 66745, Address Id: 53112 => Updated with Vin: 1FAFP25155G146997 ## Total mail_history records updated with vin numbers: 4 out of 6 ============================================================ ====== Tracking Id: 70 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-25 08:35:27') AND us2_order_type_id = 3 ## Order found: 176 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 176 AND product_id = 143 ## Job Group Found: '132' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('132') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm042808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm042808001') AND customer_id = 3230 ## Mailing found: '10861' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25214504, Consumer Id: 103750, Address Id: 52698 => Updated with Vin: 1G2NE1432PM586838 ## Mail History Id: 25214527, Consumer Id: 93529, Address Id: 52029 => Updated with Vin: 1FAHP35N38W149196 ## Mail History Id: 25214431, Consumer Id: 93167, Address Id: 49892 => Updated with Vin: 1FTPX12V47KC69593 ## Mail History Id: 25214660, Consumer Id: 65555, Address Id: 49327 => Updated with Vin: 1FMZU67E81UB32011 ## Mail History Id: 25214702, Consumer Id: 65729, Address Id: 49615 => Updated with Vin: 1FTWW31P65EC75775 ## Mail History Id: 25214614, Consumer Id: 92468, Address Id: 50757 => Updated with Vin: 1FAFP55294G186945 ## Mail History Id: 25214520, Consumer Id: 67685, Address Id: 50756 => Updated with Vin: 1FMYU96HX6KA56447 ## Mail History Id: 25214510, Consumer Id: 65425, Address Id: 51247 => Updated with Vin: 1FMYU04112KC48335 ## Mail History Id: 25214625, Consumer Id: 528030, Address Id: 9864927 => Updated with Vin: 1LNLM81W8TY640235 ## Mail History Id: 25214588, Consumer Id: 93239, Address Id: 50177 => Updated with Vin: 1FTYR14U88PA05610 ## Mail History Id: 25214678, Consumer Id: 65033, Address Id: 50896 => Updated with Vin: 1FMZU73W93UC74570 ## Mail History Id: 25214413, Consumer Id: 38542, Address Id: 51661 => Updated with Vin: 1FAHP37N67W277735 ## Mail History Id: 25214417, Consumer Id: 64916, Address Id: 48206 => Updated with Vin: 1FAFP34363W178983 ## Mail History Id: 25214492, Consumer Id: 65841, Address Id: 52397 => Updated with Vin: 1FTRW07W91KE65835 ## Mail History Id: 25214461, Consumer Id: 92958, Address Id: 51388 => Updated with Vin: 1FTPX14V47FA25562 ## Mail History Id: 25214720, Consumer Id: 92601, Address Id: 51000 => Updated with Vin: 1FTYR10D46PA18132 ## Mail History Id: 25214546, Consumer Id: 92559, Address Id: 50926 => Updated with Vin: 1FMCU04197KA93437 ## Mail History Id: 25214528, Consumer Id: 66298, Address Id: 50053 => Updated with Vin: 3FAFP37N95R144121 ## Mail History Id: 25214578, Consumer Id: 92959, Address Id: 51389 => Updated with Vin: 1FMCU93Z07KB80218 ## Mail History Id: 25214669, Consumer Id: 66696, Address Id: 49453 => Updated with Vin: 1FTPW14574KC37250 ## Mail History Id: 25214701, Consumer Id: 64285, Address Id: 47504 => Updated with Vin: 1FAFP56SX2G271191 ## Mail History Id: 25214434, Consumer Id: 64356, Address Id: 52437 => Updated with Vin: 1FAFP38Z54W148230 ## Mail History Id: 25214731, Consumer Id: 63889, Address Id: 51370 => Updated with Vin: 1FMZU73K14ZA80133 ## Mail History Id: 25214613, Consumer Id: 93200, Address Id: 51614 => Updated with Vin: 1GNDT13S842200220 ## Mail History Id: 25214414, Consumer Id: 63332, Address Id: 51557 => Updated with Vin: 1FMZU73K73ZB33738 ## Mail History Id: 25214446, Consumer Id: 38394, Address Id: 49074 => Updated with Vin: 1FTPX14555NB16293 ## Mail History Id: 25214599, Consumer Id: 93439, Address Id: 51947 => Updated with Vin: 1FMZK02146GA22344 ## Mail History Id: 25214593, Consumer Id: 103570, Address Id: 47329 => Updated with Vin: 5Y2SL62883Z412463 ## Mail History Id: 25214530, Consumer Id: 91827, Address Id: 48620 => Updated with Vin: 1FMEU73837UA35490 ## Mail History Id: 25214509, Consumer Id: 93240, Address Id: 51735 => Updated with Vin: 1G1ZT51F76F293246 ## Mail History Id: 25214447, Consumer Id: 103035, Address Id: 53497 => Updated with Vin: 2MEFM75W21X695376 ## Mail History Id: 25214521, Consumer Id: 38576, Address Id: 51684 => Updated with Vin: 3FAFP11381R142317 ## Mail History Id: 25214644, Consumer Id: 528031, Address Id: 9864936 => Updated with Vin: 1FMCU96H15KB95567 ## Mail History Id: 25214505, Consumer Id: 66236, Address Id: 51778 => Updated with Vin: 1FTRX18L21NB85938 ## Mail History Id: 25214431, Consumer Id: 92895, Address Id: 49892 => Updated with Vin: 1FAFP24107G103978 ## Mail History Id: 25214523, Consumer Id: 92957, Address Id: 51386 => Updated with Vin: 1FTPX14V77FB18110 ## Mail History Id: 25214427, Consumer Id: 93541, Address Id: 52039 => Updated with Vin: 3D7KU28D73G767351 ## Total mail_history records updated with vin numbers: 37 out of 39 ============================================================ ====== Tracking Id: 71 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3527 AND DATE(cart_created_date) = DATE('2008-04-25 11:50:02') AND us2_order_type_id = 3 ## Order found: 177 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '10' AND store_id = 2 ## Product Id found: 60 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 177 AND product_id = 60 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 72 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-04-25 14:33:41') AND us2_order_type_id = 3 ## Order found: 178 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 178 AND product_id = 54 ## Job Group Found: '109' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('109') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele031808003a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele031808003a') AND customer_id = 3418 ## Mailing found: '10936' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 73 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-04-25 14:35:35') AND us2_order_type_id = 3 ## Order found: 179 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 179 AND product_id = 54 ## Job Group Found: '112' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('112') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele031808002a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele031808002a') AND customer_id = 3416 ## Mailing found: '10935' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 74 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-04-25 15:10:12') AND us2_order_type_id = 3 ## Order found: 179 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 179 AND product_id = 54 ## Job Group Found: '112' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('112') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele031808002a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele031808002a') AND customer_id = 3416 ## Mailing found: '10935' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 75 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-26 08:35:10') AND us2_order_type_id = 3 ## Order found: 182 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 182 AND product_id = 113 ## Job Group Found: '134' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('134') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm042808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm042808002') AND customer_id = 3230 ## Mailing found: '10859' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25214809, Consumer Id: 67620, Address Id: 48532 => Updated with Vin: 1FAFP53U5YG221832 ## Mail History Id: 25214811, Consumer Id: 64891, Address Id: 47659 => Updated with Vin: 1FTNX21P64EC46262 ## Mail History Id: 25214813, Consumer Id: 103640, Address Id: 53767 => Updated with Vin: 1FTYR10U22TA61501 ## Mail History Id: 25214815, Consumer Id: 92376, Address Id: 50520 => Updated with Vin: 3FAFP07186R165863 ## Mail History Id: 25214817, Consumer Id: 103637, Address Id: 51536 => Updated with Vin: 1FTRX12W44NB92400 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 76 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-26 08:35:23') AND us2_order_type_id = 3 ## Order found: 182 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 182 AND product_id = 143 ## Job Group Found: '132' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('132') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm042808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm042808001') AND customer_id = 3230 ## Mailing found: '10861' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25214504, Consumer Id: 103371, Address Id: 52698 => Updated with Vin: 3C3EL45H6XT562649 ## Mail History Id: 25214716, Consumer Id: 93549, Address Id: 50318 => Updated with Vin: 1FTPW14VX8FB15688 ## Mail History Id: 25214461, Consumer Id: 103426, Address Id: 51388 => Updated with Vin: 1FMPU18L81LB69069 ## Mail History Id: 25214728, Consumer Id: 93542, Address Id: 52040 => Updated with Vin: 2FMDK36CX8BA36816 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 77 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-27 08:35:04') AND us2_order_type_id = 3 ## Order found: 184 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 184 AND product_id = 113 ## Job Group Found: '134' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('134') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm042808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm042808002') AND customer_id = 3230 ## Mailing found: '10859' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25214823, Consumer Id: 103650, Address Id: 53772 => Updated with Vin: 1FBNE31S3YHA03288 ## Mail History Id: 25214825, Consumer Id: 93285, Address Id: 51768 => Updated with Vin: 1FTPX14VX7FB22247 ## Mail History Id: 25214829, Consumer Id: 65309, Address Id: 49914 => Updated with Vin: 2FTZX172X1CA51807 ## Mail History Id: 25214831, Consumer Id: 103528, Address Id: 53708 => Updated with Vin: 1FMEU74E36UA30924 ## Mail History Id: 25214833, Consumer Id: 63398, Address Id: 52493 => Updated with Vin: 1FTPW14594KA48552 ## Mail History Id: 25214835, Consumer Id: 103629, Address Id: 51172 => Updated with Vin: 1FMZK021X7GA12550 ## Mail History Id: 25214837, Consumer Id: 103652, Address Id: 52825 => Updated with Vin: 1FMZU72E32UC13948 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 78 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-28 08:35:04') AND us2_order_type_id = 3 ## Order found: 186 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 186 AND product_id = 113 ## Job Group Found: '148' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('148') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608003') AND customer_id = 3230 ## Mailing found: '11067' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25398615, Consumer Id: 64673, Address Id: 51309 => Updated with Vin: 2FMZA5244YBC83350 ## Mail History Id: 25398617, Consumer Id: 67187, Address Id: 50878 => Updated with Vin: 2FTRF172X2CA33828 ## Mail History Id: 25398619, Consumer Id: 92543, Address Id: 50879 => Updated with Vin: 1FMZK01186GA33736 ## Mail History Id: 25398621, Consumer Id: 66410, Address Id: 49774 => Updated with Vin: 1FMDK02105GA75762 ## Total mail_history records updated with vin numbers: 4 out of 7 ============================================================ ====== Tracking Id: 79 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-28 08:35:12') AND us2_order_type_id = 3 ## Order found: 186 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 186 AND product_id = 143 ## Job Group Found: '132' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('132') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm042808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm042808001') AND customer_id = 3230 ## Mailing found: '10861' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25214533, Consumer Id: 93547, Address Id: 52043 => Updated with Vin: 1FMCU93Z18KC31646 ## Mail History Id: 25214682, Consumer Id: 67118, Address Id: 50056 => Updated with Vin: 1FTPX14515FA97901 ## Mail History Id: 25214726, Consumer Id: 93537, Address Id: 52035 => Updated with Vin: 1FAFP33P41W232072 ## Mail History Id: 25214650, Consumer Id: 93458, Address Id: 50675 => Updated with Vin: 1ZVHT82H575316077 ## Mail History Id: 25214495, Consumer Id: 93353, Address Id: 51838 => Updated with Vin: 1B3EL46X65N624003 ## Mail History Id: 25214606, Consumer Id: 38571, Address Id: 51512 => Updated with Vin: 1FMCU02Z68KA47459 ## Mail History Id: 25214668, Consumer Id: 64362, Address Id: 47564 => Updated with Vin: 1FTNX21F21EA16138 ## Mail History Id: 25214458, Consumer Id: 65295, Address Id: 47449 => Updated with Vin: 1FMYU03125KC94147 ## Mail History Id: 25214623, Consumer Id: 93156, Address Id: 51585 => Updated with Vin: 2FMDK49C77BB26456 ## Mail History Id: 25214608, Consumer Id: 93544, Address Id: 52041 => Updated with Vin: 2FMDK38C08BA07483 ## Mail History Id: 25214641, Consumer Id: 63063, Address Id: 48134 => Updated with Vin: 1FAFP56S64A137512 ## Mail History Id: 25214590, Consumer Id: 93545, Address Id: 48629 => Updated with Vin: 1FAHP25W08G135267 ## Mail History Id: 25214716, Consumer Id: 93549, Address Id: 50318 => Updated with Vin: 1FTPW14VX8FB15688 ## Mail History Id: 25214452, Consumer Id: 64177, Address Id: 47339 => Updated with Vin: 1FAFP44462F144278 ## Mail History Id: 25214419, Consumer Id: 64248, Address Id: 48571 => Updated with Vin: 1FTSW31P93ED57639 ## Mail History Id: 25214663, Consumer Id: 93543, Address Id: 47814 => Updated with Vin: 1FTPW14V38FA60839 ## Mail History Id: 25214488, Consumer Id: 64879, Address Id: 52758 => Updated with Vin: 1FTNW21F7XED66859 ## Mail History Id: 25214485, Consumer Id: 63863, Address Id: 52086 => Updated with Vin: 1FMZU73K24ZA21964 ## Mail History Id: 25214492, Consumer Id: 65841, Address Id: 52397 => Updated with Vin: 1FTRW07W91KE65835 ## Mail History Id: 25214475, Consumer Id: 93552, Address Id: 52045 => Updated with Vin: 3FAHP07248R147880 ## Mail History Id: 25214701, Consumer Id: 63571, Address Id: 47504 => Updated with Vin: 1FAFP53U5XG153496 ## Mail History Id: 25214629, Consumer Id: 92755, Address Id: 48891 => Updated with Vin: 1FMYU931X7KB87984 ## Mail History Id: 25214729, Consumer Id: 103834, Address Id: 53869 => Updated with Vin: 2G1WL52M2V1186725 ## Mail History Id: 25214448, Consumer Id: 93355, Address Id: 51840 => Updated with Vin: 1FTRX12W77FB78358 ## Mail History Id: 25214719, Consumer Id: 93395, Address Id: 50709 => Updated with Vin: 1FMZK06126GA28668 ## Mail History Id: 25214564, Consumer Id: 93551, Address Id: 52044 => Updated with Vin: 1FTPX14VX7FB72453 ## Mail History Id: 25214443, Consumer Id: 93416, Address Id: 51902 => Updated with Vin: 1FAHP35N58W132013 ## Mail History Id: 25214437, Consumer Id: 64287, Address Id: 49218 => Updated with Vin: 1FAHP34PXYW195644 ## Mail History Id: 25214539, Consumer Id: 64705, Address Id: 50035 => Updated with Vin: 1FTPX14595FB11379 ## Mail History Id: 25214525, Consumer Id: 92418, Address Id: 50663 => Updated with Vin: 1FTWX31P26EC62231 ## Mail History Id: 25214542, Consumer Id: 93417, Address Id: 51903 => Updated with Vin: 1FMCU03Z28KC14771 ## Mail History Id: 25214468, Consumer Id: 103833, Address Id: 53868 => Updated with Vin: 1FMFU18L3VLA57359 ## Mail History Id: 25214565, Consumer Id: 93546, Address Id: 52042 => Updated with Vin: 3A4FY48B66T371413 ## Total mail_history records updated with vin numbers: 33 out of 38 ============================================================ ====== Tracking Id: 80 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3492 AND DATE(cart_created_date) = DATE('2008-04-28 12:20:09') AND us2_order_type_id = 3 ## Order found: 191 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 191 AND product_id = 54 ## Job Group Found: '117' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('117') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele041708001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele041708001a') AND customer_id = 3492 ## Mailing found: '10830' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 81 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3417 AND DATE(cart_created_date) = DATE('2008-04-28 12:21:43') AND us2_order_type_id = 3 ## Order found: 192 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 192 AND product_id = 54 ## Job Group Found: '122' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('122') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele031808005a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele031808005a') AND customer_id = 3417 ## Mailing found: '10827' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 82 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-04-28 12:22:27') AND us2_order_type_id = 3 ## Order found: 193 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 193 AND product_id = 54 ## Job Group Found: '124' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('124') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele042808002a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele042808002a') AND customer_id = 3525 ## Mailing found: '10867' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 83 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-29 08:35:09') AND us2_order_type_id = 3 ## Order found: 197 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 197 AND product_id = 113 ## Job Group Found: '148' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('148') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608003') AND customer_id = 3230 ## Mailing found: '11067' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 84 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-29 08:35:16') AND us2_order_type_id = 3 ## Order found: 197 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 197 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 85 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-04-29 09:46:50') AND us2_order_type_id = 3 ## Order found: 199 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 199 AND product_id = 54 ## Job Group Found: '139' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('139') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele042808001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele042808001a') AND customer_id = 3491 ## Mailing found: '10869' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 86 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-04-29 09:52:23') AND us2_order_type_id = 3 ## Order found: 200 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 200 AND product_id = 54 ## Job Group Found: '128' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('128') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele042808004a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele042808004a') AND customer_id = 3471 ## Mailing found: '10868' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 87 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-04-30 08:39:41') AND us2_order_type_id = 3 ## Order found: 203 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 203 AND product_id = 143 ## Job Group Found: '150' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('150') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608001') AND customer_id = 3230 ## Mailing found: '11066' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25398767, Consumer Id: 93483, Address Id: 51970 => Updated with Vin: 1FTYR10C9XPB55561 ## Mail History Id: 25398771, Consumer Id: 93484, Address Id: 51971 => Updated with Vin: 1FTRF14W48KC36709 ## Mail History Id: 25398773, Consumer Id: 93451, Address Id: 51955 => Updated with Vin: 1G2NW12E21M531475 ## Mail History Id: 25398775, Consumer Id: 93449, Address Id: 51954 => Updated with Vin: 1J4GL48K72W125283 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 88 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3526 AND DATE(cart_created_date) = DATE('2008-04-30 09:00:25') AND us2_order_type_id = 3 ## Order found: 204 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 204 AND product_id = 54 ## Job Group Found: '140' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('140') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele042808003a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele042808003a') AND customer_id = 3526 ## Mailing found: '10872' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 89 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-01 08:39:24') AND us2_order_type_id = 3 ## Order found: 206 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 206 AND product_id = 113 ## Job Group Found: '148' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('148') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608003') AND customer_id = 3230 ## Mailing found: '11067' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25398627, Consumer Id: 93057, Address Id: 49688 => Updated with Vin: 1FAFP34NX7W286000 ## Mail History Id: 25398629, Consumer Id: 66678, Address Id: 48483 => Updated with Vin: 1FTZR15E22PA74067 ## Mail History Id: 25398631, Consumer Id: 66784, Address Id: 48162 => Updated with Vin: 2FTRX18L32CA50233 ## Mail History Id: 25398633, Consumer Id: 103659, Address Id: 53776 => Updated with Vin: 2MEFM74W5YX641274 ## Mail History Id: 25398635, Consumer Id: 92649, Address Id: 51043 => Updated with Vin: 1FTSW31P04EC23295 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 90 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3475 AND DATE(cart_created_date) = DATE('2008-05-01 09:21:52') AND us2_order_type_id = 3 ## Order found: 207 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '10' AND store_id = 2 ## Product Id found: 60 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 207 AND product_id = 60 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 91 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-02 08:35:30') AND us2_order_type_id = 3 ## Order found: 209 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 209 AND product_id = 113 ## Job Group Found: '148' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('148') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608003') AND customer_id = 3230 ## Mailing found: '11067' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25398637, Consumer Id: 92886, Address Id: 51298 => Updated with Vin: 1FAHP34N97W191744 ## Mail History Id: 25398639, Consumer Id: 38584, Address Id: 51688 => Updated with Vin: 1GKEK13Z34J279299 ## Mail History Id: 25398641, Consumer Id: 64890, Address Id: 51542 => Updated with Vin: 1FTWW33P04EC83267 ## Mail History Id: 25398643, Consumer Id: 93295, Address Id: 47943 => Updated with Vin: 1FMEU75888UA28890 ## Mail History Id: 25398645, Consumer Id: 100943, Address Id: 48259 => Updated with Vin: 1FMZU72X2YZB79742 ## Mail History Id: 25398647, Consumer Id: 64223, Address Id: 49532 => Updated with Vin: 1FAFP45X04F101499 ## Mail History Id: 25398649, Consumer Id: 63947, Address Id: 48365 => Updated with Vin: 1FMYU03192KD83192 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 92 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-02 13:14:39') AND us2_order_type_id = 3 ## Order found: 210 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 210 AND product_id = 54 ## Job Group Found: '144' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('144') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele050208001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele050208001a') AND customer_id = 3486 ## Mailing found: '10981' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 93 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-03 08:35:20') AND us2_order_type_id = 3 ## Order found: 212 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 212 AND product_id = 113 ## Job Group Found: '148' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('148') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608003') AND customer_id = 3230 ## Mailing found: '11067' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25398614, Consumer Id: 66938, Address Id: 50406 => Updated with Vin: 1ZVHT82H465208287 ## Mail History Id: 25398616, Consumer Id: 67150, Address Id: 53207 => Updated with Vin: 1FTPX14544NA47384 ## Mail History Id: 25398618, Consumer Id: 93297, Address Id: 51804 => Updated with Vin: 3FAHP07Z47R247976 ## Mail History Id: 25398620, Consumer Id: 65849, Address Id: 52920 => Updated with Vin: 1FTRW08L81KA85647 ## Mail History Id: 25398622, Consumer Id: 64306, Address Id: 48734 => Updated with Vin: 1FTZR45EX4PA70238 ## Mail History Id: 25398624, Consumer Id: 102850, Address Id: 53398 => Updated with Vin: 1FAFP36N75W298762 ## Mail History Id: 25398626, Consumer Id: 103660, Address Id: 53777 => Updated with Vin: 1FTPX14554NA36703 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 94 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-04 08:35:17') AND us2_order_type_id = 3 ## Order found: 214 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 214 AND product_id = 113 ## Job Group Found: '148' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('148') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608003') AND customer_id = 3230 ## Mailing found: '11067' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25398628, Consumer Id: 63462, Address Id: 47636 => Updated with Vin: 1FAFP55S0YG262056 ## Mail History Id: 25398630, Consumer Id: 66550, Address Id: 48213 => Updated with Vin: 1FTNS24L16HB09562 ## Mail History Id: 25398632, Consumer Id: 65219, Address Id: 50813 => Updated with Vin: 2FMZA51453BA07222 ## Mail History Id: 25398634, Consumer Id: 103654, Address Id: 53774 => Updated with Vin: 1FMZU83PXYZC02561 ## Mail History Id: 25398636, Consumer Id: 66262, Address Id: 48436 => Updated with Vin: 1FAHP56S72G127333 ## Mail History Id: 25398638, Consumer Id: 103662, Address Id: 47974 => Updated with Vin: 2MEHM75W34X684321 ## Mail History Id: 25398640, Consumer Id: 67505, Address Id: 53300 => Updated with Vin: 3MEFM07Z76R633220 ## Mail History Id: 25398642, Consumer Id: 92583, Address Id: 50950 => Updated with Vin: 1FTPW14546KB96210 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 95 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-05 08:35:39') AND us2_order_type_id = 3 ## Order found: 216 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 216 AND product_id = 113 ## Job Group Found: '148' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('148') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608003') AND customer_id = 3230 ## Mailing found: '11067' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25398646, Consumer Id: 103664, Address Id: 53778 => Updated with Vin: 1FAHP56S93G268583 ## Mail History Id: 25398648, Consumer Id: 64604, Address Id: 49471 => Updated with Vin: 1FTPX14584NA58355 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 96 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-05-05 12:00:46') AND us2_order_type_id = 3 ## Order found: 217 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 217 AND product_id = 54 ## Job Group Found: '145' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('145') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele050508001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele050508001a') AND customer_id = 3357 ## Mailing found: '11025' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 97 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3523 AND DATE(cart_created_date) = DATE('2008-05-05 12:03:21') AND us2_order_type_id = 3 ## Order found: 218 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 218 AND product_id = 54 ## Job Group Found: '200' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('200') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 98 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-05-05 12:07:35') AND us2_order_type_id = 3 ## Order found: 219 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 219 AND product_id = 54 ## Job Group Found: '154' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('154') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele050508002a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele050508002a') AND customer_id = 3427 ## Mailing found: '11068' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 99 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-06 08:52:33') AND us2_order_type_id = 3 ## Order found: 221 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 221 AND product_id = 55 ## Job Group Found: '147' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('147') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608002') AND customer_id = 3230 ## Mailing found: '11065' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25398656, Consumer Id: 871875, Address Id: 11912183 => Updated with Vin: 3FAHP01108R220763 ## Mail History Id: 25398658, Consumer Id: 871872, Address Id: 11912181 => Updated with Vin: 2FMDK46C77BA56199 ## Mail History Id: 25398660, Consumer Id: 871876, Address Id: 11912184 => Updated with Vin: 3FAHP07Z78R209272 ## Mail History Id: 25398662, Consumer Id: 609246, Address Id: 53594 => Updated with Vin: 1FTRF14WX8KD45093 ## Mail History Id: 25398664, Consumer Id: 758566, Address Id: 11850456 => Updated with Vin: 1ZVHT82H285166155 ## Mail History Id: 25398666, Consumer Id: 727002, Address Id: 11830867 => Updated with Vin: 1FAHP35N28W144670 ## Mail History Id: 25398668, Consumer Id: 461722, Address Id: 9819546 => Updated with Vin: 3FAHP071X8R222432 ## Mail History Id: 25398670, Consumer Id: 609247, Address Id: 11754352 => Updated with Vin: 1FAHP35N38W236550 ## Mail History Id: 25398672, Consumer Id: 872716, Address Id: 50551 => Updated with Vin: 1FAHP32N78W175983 ## Mail History Id: 25398674, Consumer Id: 871121, Address Id: 51856 => Updated with Vin: 1FAHP35N18W242041 ## Mail History Id: 25398676, Consumer Id: 671360, Address Id: 11796310 => Updated with Vin: 1FAHP35NX8W220880 ## Mail History Id: 25398678, Consumer Id: 871120, Address Id: 11911655 => Updated with Vin: 1ZVHT85H085111473 ## Mail History Id: 25398680, Consumer Id: 609244, Address Id: 11754350 => Updated with Vin: 1ZVHT85H785185196 ## Mail History Id: 25398682, Consumer Id: 629882, Address Id: 50109 => Updated with Vin: 1FTRX14W68FB42563 ## Mail History Id: 25398684, Consumer Id: 662995, Address Id: 51676 => Updated with Vin: 1FAFP241X6G151440 ## Mail History Id: 25398686, Consumer Id: 461965, Address Id: 9819673 => Updated with Vin: 1FTPX14V38FA41947 ## Mail History Id: 25398688, Consumer Id: 461964, Address Id: 9819672 => Updated with Vin: 1FTPW14V48FB75627 ## Mail History Id: 25398690, Consumer Id: 461343, Address Id: 9819340 => Updated with Vin: 1FAFP34N97W287896 ## Mail History Id: 25398692, Consumer Id: 871874, Address Id: 11912182 => Updated with Vin: 1FAHP35N68W215904 ## Mail History Id: 25398694, Consumer Id: 461341, Address Id: 9819339 => Updated with Vin: 1FTYR44U58PA77298 ## Mail History Id: 25398696, Consumer Id: 609248, Address Id: 11754353 => Updated with Vin: 1FMEU74E86UA34080 ## Mail History Id: 25398698, Consumer Id: 609250, Address Id: 11754354 => Updated with Vin: 2FMDK39C98BA90037 ## Mail History Id: 25398700, Consumer Id: 727003, Address Id: 11830868 => Updated with Vin: 1FTRX14W58FB51366 ## Mail History Id: 25398702, Consumer Id: 630342, Address Id: 11770747 => Updated with Vin: 1FAHP27196G179024 ## Mail History Id: 25398704, Consumer Id: 461721, Address Id: 9819545 => Updated with Vin: 1FTPW12V38FB08505 ## Mail History Id: 25398706, Consumer Id: 871871, Address Id: 47486 => Updated with Vin: 1FTWW31R68ED31297 ## Mail History Id: 25398708, Consumer Id: 871870, Address Id: 11034682 => Updated with Vin: 1FTPX14V38FB65166 ## Total mail_history records updated with vin numbers: 27 out of 30 ============================================================ ====== Tracking Id: 100 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-06 09:15:29') AND us2_order_type_id = 3 ## Order found: 221 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 221 AND product_id = 55 ## Job Group Found: '147' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('147') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608002') AND customer_id = 3230 ## Mailing found: '11065' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25398710, Consumer Id: 628943, Address Id: 53496 => Updated with Vin: JS2RA41S535171514 ## Mail History Id: 25398712, Consumer Id: 628949, Address Id: 49113 => Updated with Vin: 2FMDK48C08BA01608 ## Mail History Id: 25398714, Consumer Id: 628946, Address Id: 48087 => Updated with Vin: 1FAHP35N88W213152 ## Mail History Id: 25398716, Consumer Id: 628948, Address Id: 51956 => Updated with Vin: 3FAHP07Z58R218181 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 101 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-06 09:15:42') AND us2_order_type_id = 3 ## Order found: 221 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 221 AND product_id = 55 ## Job Group Found: '147' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('147') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608002') AND customer_id = 3230 ## Mailing found: '11065' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25398718, Consumer Id: 628947, Address Id: 11766290 => Updated with Vin: 1ZVHT85H485144511 ## Mail History Id: 25398720, Consumer Id: 609574, Address Id: 52625 => Updated with Vin: 1FAHP35N98W200944 ## Mail History Id: 25398722, Consumer Id: 461344, Address Id: 9819341 => Updated with Vin: JM1BK12FX51321068 ## Mail History Id: 25398724, Consumer Id: 629413, Address Id: 103072 => Updated with Vin: 3FAHP02158R246581 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 102 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-06 09:15:55') AND us2_order_type_id = 3 ## Order found: 221 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 221 AND product_id = 55 ## Job Group Found: '147' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('147') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608002') AND customer_id = 3230 ## Mailing found: '11065' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25398726, Consumer Id: 628952, Address Id: 11766293 => Updated with Vin: 1FAHP35N08W153593 ## Mail History Id: 25398728, Consumer Id: 629412, Address Id: 11769802 => Updated with Vin: 1FMZU77K45UB69154 ## Mail History Id: 25398730, Consumer Id: 629883, Address Id: 49765 => Updated with Vin: 1FAHP35N18W171407 ## Mail History Id: 25398657, Consumer Id: 628950, Address Id: 11766291 => Updated with Vin: 1FMCU03Z78KC22736 ## Mail History Id: 25398659, Consumer Id: 628945, Address Id: 11766289 => Updated with Vin: KNDJA723825126842 ## Mail History Id: 25398661, Consumer Id: 415116, Address Id: 9799938 => Updated with Vin: 1FTPX14545FA91798 ## Mail History Id: 25398663, Consumer Id: 628944, Address Id: 11766288 => Updated with Vin: 1FTPX14516KC50995 ## Mail History Id: 25398665, Consumer Id: 628951, Address Id: 11766292 => Updated with Vin: 3A4FY58B77T541236 ## Mail History Id: 25398667, Consumer Id: 629411, Address Id: 11769801 => Updated with Vin: 1FAHP25W58G114933 ## Mail History Id: 25398669, Consumer Id: 629414, Address Id: 11769803 => Updated with Vin: 1FTPX14516FA98273 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 103 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-06 09:16:08') AND us2_order_type_id = 3 ## Order found: 221 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 221 AND product_id = 55 ## Job Group Found: '147' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('147') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608002') AND customer_id = 3230 ## Mailing found: '11065' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25398671, Consumer Id: 630340, Address Id: 47632 => Updated with Vin: 1FMDK03W78GA36729 ## Mail History Id: 25398673, Consumer Id: 630339, Address Id: 49529 => Updated with Vin: 1FTPW14V18FB81028 ## Mail History Id: 25398675, Consumer Id: 630341, Address Id: 51490 => Updated with Vin: 3FAHP07Z28R202438 ## Mail History Id: 25398677, Consumer Id: 92218, Address Id: 49862 => Updated with Vin: 1FTPX14585FB60038 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 104 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-06 09:16:24') AND us2_order_type_id = 3 ## Order found: 221 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 221 AND product_id = 55 ## Job Group Found: '147' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('147') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608002') AND customer_id = 3230 ## Mailing found: '11065' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 105 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-06 09:16:44') AND us2_order_type_id = 3 ## Order found: 221 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 221 AND product_id = 55 ## Job Group Found: '147' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('147') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608002') AND customer_id = 3230 ## Mailing found: '11065' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25398681, Consumer Id: 584038, Address Id: 50524 => Updated with Vin: 1FTPX14V98FB19017 ## Mail History Id: 25398683, Consumer Id: 671358, Address Id: 52221 => Updated with Vin: 1FAHP24W98G147936 ## Mail History Id: 25398685, Consumer Id: 671356, Address Id: 49424 => Updated with Vin: 2FMDK38C38BB06802 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 106 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-06 09:16:56') AND us2_order_type_id = 3 ## Order found: 221 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 221 AND product_id = 55 ## Job Group Found: '147' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('147') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608002') AND customer_id = 3230 ## Mailing found: '11065' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25398687, Consumer Id: 727000, Address Id: 51309 => Updated with Vin: 1FALP62W7VH125640 ## Mail History Id: 25398689, Consumer Id: 727006, Address Id: 51589 => Updated with Vin: 1FAHP35N58W234041 ## Mail History Id: 25398691, Consumer Id: 727007, Address Id: 49760 => Updated with Vin: 1FAHP35N18W231573 ## Mail History Id: 25398693, Consumer Id: 727005, Address Id: 51285 => Updated with Vin: 2FMDK39C48BA46723 ## Mail History Id: 25398695, Consumer Id: 727001, Address Id: 11830866 => Updated with Vin: 1FTYR14U48PA85665 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 107 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-06 09:17:08') AND us2_order_type_id = 3 ## Order found: 221 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 221 AND product_id = 55 ## Job Group Found: '147' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('147') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608002') AND customer_id = 3230 ## Mailing found: '11065' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 108 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-06 09:17:19') AND us2_order_type_id = 3 ## Order found: 221 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 221 AND product_id = 55 ## Job Group Found: '147' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('147') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608002') AND customer_id = 3230 ## Mailing found: '11065' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25398699, Consumer Id: 760596, Address Id: 48663 => Updated with Vin: 3FAHP07Z78R159392 ## Mail History Id: 25398701, Consumer Id: 760595, Address Id: 51806 => Updated with Vin: 1FTRX14W18FB88673 ## Mail History Id: 25398703, Consumer Id: 760597, Address Id: 49288 => Updated with Vin: 1FTPX14V98FB21091 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 109 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-06 09:17:31') AND us2_order_type_id = 3 ## Order found: 221 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 221 AND product_id = 55 ## Job Group Found: '147' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('147') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608002') AND customer_id = 3230 ## Mailing found: '11065' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 110 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-06 09:17:43') AND us2_order_type_id = 3 ## Order found: 221 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 221 AND product_id = 55 ## Job Group Found: '147' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('147') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608002') AND customer_id = 3230 ## Mailing found: '11065' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25398707, Consumer Id: 871117, Address Id: 49245 => Updated with Vin: 3FAHP07Z08R232957 ## Mail History Id: 25398709, Consumer Id: 871119, Address Id: 49658 => Updated with Vin: 2FMDK36C28BA69924 ## Mail History Id: 25398683, Consumer Id: 102681, Address Id: 52221 => Updated with Vin: 1FAFP53U14G141275 ## Mail History Id: 25398711, Consumer Id: 671359, Address Id: 11796309 => Updated with Vin: 1FAFP53U14G141275 ## Mail History Id: 25398713, Consumer Id: 671357, Address Id: 11796308 => Updated with Vin: 1FAHP35N18W237454 ## Mail History Id: 25398715, Consumer Id: 662993, Address Id: 11782676 => Updated with Vin: 1FAHP35N48W140717 ## Mail History Id: 25398717, Consumer Id: 871118, Address Id: 50669 => Updated with Vin: 1FTPX14V98FA89579 ## Mail History Id: 25398719, Consumer Id: 630867, Address Id: 11771064 => Updated with Vin: 1FTPX14V08FA33790 ## Mail History Id: 25398721, Consumer Id: 662994, Address Id: 11782677 => Updated with Vin: 1FTVF14558KD45492 ## Mail History Id: 25398723, Consumer Id: 727004, Address Id: 11830869 => Updated with Vin: 1FMCU03Z08KD50221 ## Mail History Id: 25398725, Consumer Id: 653232, Address Id: 11782356 => Updated with Vin: 3FAHP07Z48R192611 ## Total mail_history records updated with vin numbers: 11 out of 10 ============================================================ ====== Tracking Id: 111 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-06 09:17:59') AND us2_order_type_id = 3 ## Order found: 221 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 221 AND product_id = 55 ## Job Group Found: '147' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('147') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608002') AND customer_id = 3230 ## Mailing found: '11065' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 112 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-06 09:18:20') AND us2_order_type_id = 3 ## Order found: 221 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 221 AND product_id = 55 ## Job Group Found: '147' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('147') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608002') AND customer_id = 3230 ## Mailing found: '11065' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 113 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-06 09:18:33') AND us2_order_type_id = 3 ## Order found: 221 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 221 AND product_id = 55 ## Job Group Found: '147' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('147') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm050608002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm050608002') AND customer_id = 3230 ## Mailing found: '11065' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 114 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-07 08:06:04') AND us2_order_type_id = 3 ## Order found: 223 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 223 AND product_id = 55 ## Job Group Found: '165' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('165') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm051308002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm051308002') AND customer_id = 3230 ## Mailing found: '11076' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 115 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-07 16:39:02') AND us2_order_type_id = 3 ## Order found: 223 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 223 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 116 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-07 17:25:02') AND us2_order_type_id = 3 ## Order found: 223 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '10' AND store_id = 2 ## Product Id found: 60 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 223 AND product_id = 60 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 117 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-08 08:05:48') AND us2_order_type_id = 3 ## Order found: 228 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 228 AND product_id = 55 ## Job Group Found: '165' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('165') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm051308002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm051308002') AND customer_id = 3230 ## Mailing found: '11076' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25644132, Consumer Id: 872876, Address Id: 11912757 => Updated with Vin: 1ZVHT85H585189702 ## Mail History Id: 25644134, Consumer Id: 872879, Address Id: 11912758 => Updated with Vin: 1FTRX14W58FB81922 ## Mail History Id: 25644136, Consumer Id: 909656, Address Id: 11939978 => Updated with Vin: 2FMDK48C08BA71965 ## Mail History Id: 25644138, Consumer Id: 872878, Address Id: 50165 => Updated with Vin: 1FTPX14VX8FA59541 ## Mail History Id: 25644140, Consumer Id: 874263, Address Id: 11913588 => Updated with Vin: 1FMCU03ZX8KE21151 ## Mail History Id: 25644131, Consumer Id: 872880, Address Id: 11912759 => Updated with Vin: 1FMDK02175GA76486 ## Mail History Id: 25644133, Consumer Id: 909659, Address Id: 52994 => Updated with Vin: 1FMCU94128KD91074 ## Mail History Id: 25644135, Consumer Id: 909657, Address Id: 11911368 => Updated with Vin: 1FAHP35N38W143897 ## Mail History Id: 25644137, Consumer Id: 909658, Address Id: 11034319 => Updated with Vin: 2FMDK39C78BA31598 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 118 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-08 08:35:55') AND us2_order_type_id = 3 ## Order found: 228 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 228 AND product_id = 113 ## Job Group Found: '164' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('164') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm051308001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm051308001') AND customer_id = 3230 ## Mailing found: '11077' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25644095, Consumer Id: 64522, Address Id: 49405 => Updated with Vin: 1FMZU73K35ZA09534 ## Mail History Id: 25644097, Consumer Id: 101918, Address Id: 51175 => Updated with Vin: 1FMYU92154DA20689 ## Mail History Id: 25644099, Consumer Id: 66201, Address Id: 50128 => Updated with Vin: 1FMEU73896UA53474 ## Mail History Id: 25644101, Consumer Id: 63317, Address Id: 50084 => Updated with Vin: 1FMZU74W02ZC81827 ## Mail History Id: 25644103, Consumer Id: 63656, Address Id: 52245 => Updated with Vin: 1FDRE14292HB22768 ## Mail History Id: 25644105, Consumer Id: 101111, Address Id: 48575 => Updated with Vin: 2FMZA51442BA24205 ## Mail History Id: 25644107, Consumer Id: 103069, Address Id: 53524 => Updated with Vin: 1MEFM55S52G611365 ## Mail History Id: 25644109, Consumer Id: 66463, Address Id: 50313 => Updated with Vin: 1B3AS46C02D636972 ## Total mail_history records updated with vin numbers: 8 out of 9 ============================================================ ====== Tracking Id: 119 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-05-08 12:50:14') AND us2_order_type_id = 3 ## Order found: 233 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 233 AND product_id = 54 ## Job Group Found: '160' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('160') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele050808001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele050808001a') AND customer_id = 3491 ## Mailing found: '11073' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 120 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-09 08:05:54') AND us2_order_type_id = 3 ## Order found: 235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 235 AND product_id = 55 ## Job Group Found: '165' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('165') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm051308002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm051308002') AND customer_id = 3230 ## Mailing found: '11076' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25644139, Consumer Id: 915727, Address Id: 49728 => Updated with Vin: 3FAHP08158R237337 ## Mail History Id: 25644141, Consumer Id: 915728, Address Id: 7537452 => Updated with Vin: 1FAHP35N98W244989 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 121 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-09 08:36:03') AND us2_order_type_id = 3 ## Order found: 235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 235 AND product_id = 113 ## Job Group Found: '164' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('164') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm051308001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm051308001') AND customer_id = 3230 ## Mailing found: '11077' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25644111, Consumer Id: 93328, Address Id: 51822 => Updated with Vin: 1FMEU73E46UB10105 ## Mail History Id: 25644113, Consumer Id: 93324, Address Id: 51818 => Updated with Vin: 1FTPX14V78FA42051 ## Mail History Id: 25644115, Consumer Id: 93327, Address Id: 51821 => Updated with Vin: 1MEFM55S04A610145 ## Mail History Id: 25644117, Consumer Id: 103669, Address Id: 53782 => Updated with Vin: 1FTZR45E53PB57477 ## Mail History Id: 25644121, Consumer Id: 64871, Address Id: 48985 => Updated with Vin: 1FTWW30P45EC05001 ## Mail History Id: 25644123, Consumer Id: 93369, Address Id: 51849 => Updated with Vin: 3FAHP01147R274811 ## Mail History Id: 25644125, Consumer Id: 67348, Address Id: 47529 => Updated with Vin: 2FTRF18L31CA33949 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 122 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 1 AND DATE(cart_created_date) = DATE('2008-05-09 10:37:41') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 123 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 1 AND DATE(cart_created_date) = DATE('2008-05-09 10:37:57') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 124 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3523 AND DATE(cart_created_date) = DATE('2008-05-09 11:40:02') AND us2_order_type_id = 3 ## Order found: 238 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 238 AND product_id = 54 ## Job Group Found: '155' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('155') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele050208002a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele050208002a') AND customer_id = 3523 ## Mailing found: '11069' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 125 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3140 AND DATE(cart_created_date) = DATE('2008-05-09 17:47:21') AND us2_order_type_id = 3 ## Order found: 240 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 240 AND product_id = 54 ## Job Group Found: '200','158' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('200','158') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'dht050608001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('dht050608001a') AND customer_id = 3140 ## Mailing found: '11070' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 126 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3140 AND DATE(cart_created_date) = DATE('2008-05-09 17:49:12') AND us2_order_type_id = 3 ## Order found: 240 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 240 AND product_id = 54 ## Job Group Found: '200','158' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('200','158') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'dht050608001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('dht050608001a') AND customer_id = 3140 ## Mailing found: '11070' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 127 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3121 AND DATE(cart_created_date) = DATE('2008-05-09 17:50:09') AND us2_order_type_id = 3 ## Order found: 241 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 241 AND product_id = 54 ## Job Group Found: '159' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('159') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'dht050608004a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('dht050608004a') AND customer_id = 3121 ## Mailing found: '11071' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 128 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-10 08:36:01') AND us2_order_type_id = 3 ## Order found: 243 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 243 AND product_id = 113 ## Job Group Found: '164' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('164') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm051308001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm051308001') AND customer_id = 3230 ## Mailing found: '11077' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25644090, Consumer Id: 93370, Address Id: 49526 => Updated with Vin: 1FAHP34NX7W360461 ## Mail History Id: 25644092, Consumer Id: 65183, Address Id: 52330 => Updated with Vin: 1FTNW21P84EC44340 ## Mail History Id: 25644094, Consumer Id: 92736, Address Id: 51149 => Updated with Vin: 1FTPW14V77FA22268 ## Mail History Id: 25644098, Consumer Id: 92750, Address Id: 47907 => Updated with Vin: 1FTPW14V17FA32827 ## Mail History Id: 25644100, Consumer Id: 65365, Address Id: 49719 => Updated with Vin: 1ZVHT80N555234582 ## Mail History Id: 25644102, Consumer Id: 64809, Address Id: 49772 => Updated with Vin: 1FTPX14515FB18374 ## Mail History Id: 25644104, Consumer Id: 93351, Address Id: 51836 => Updated with Vin: 2G1WF52E739366913 ## Total mail_history records updated with vin numbers: 7 out of 9 ============================================================ ====== Tracking Id: 129 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-11 08:35:55') AND us2_order_type_id = 3 ## Order found: 245 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 245 AND product_id = 113 ## Job Group Found: '164' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('164') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm051308001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm051308001') AND customer_id = 3230 ## Mailing found: '11077' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25644108, Consumer Id: 93372, Address Id: 51851 => Updated with Vin: 1FTPX14VX7FB81959 ## Mail History Id: 25644110, Consumer Id: 66261, Address Id: 50251 => Updated with Vin: 1FAFP37N46W158913 ## Mail History Id: 25644112, Consumer Id: 67225, Address Id: 50519 => Updated with Vin: 2FMZA51686BA29009 ## Mail History Id: 25644114, Consumer Id: 66743, Address Id: 50754 => Updated with Vin: 1FTPX12566FA93279 ## Mail History Id: 25644116, Consumer Id: 103678, Address Id: 53785 => Updated with Vin: 2FMZA522X5BA00587 ## Mail History Id: 25644118, Consumer Id: 103070, Address Id: 53075 => Updated with Vin: 3FAFP07Z66R184305 ## Mail History Id: 25644120, Consumer Id: 93354, Address Id: 51839 => Updated with Vin: 1GKDT13S332104569 ## Mail History Id: 25644122, Consumer Id: 103677, Address Id: 47487 => Updated with Vin: 3FTSW31F7YMA47840 ## Mail History Id: 25644124, Consumer Id: 103668, Address Id: 53781 => Updated with Vin: 1FDRE14W61HA24413 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 130 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-12 08:35:57') AND us2_order_type_id = 3 ## Order found: 247 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 247 AND product_id = 113 ## Job Group Found: '164' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('164') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm051308001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm051308001') AND customer_id = 3230 ## Mailing found: '11077' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 25644089, Consumer Id: 66985, Address Id: 49773 => Updated with Vin: 1FTZR45E65PA59769 ## Mail History Id: 25644091, Consumer Id: 66676, Address Id: 53108 => Updated with Vin: 1FMYU70E81UC09584 ## Mail History Id: 25644093, Consumer Id: 38439, Address Id: 49104 => Updated with Vin: 1FTSX21P05EB00329 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 131 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3598 AND DATE(cart_created_date) = DATE('2008-05-13 10:51:44') AND us2_order_type_id = 3 ## Order found: 249 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 249 AND product_id = 54 ## Job Group Found: '200' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('200') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 132 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3598 AND DATE(cart_created_date) = DATE('2008-05-13 16:01:15') AND us2_order_type_id = 3 ## Order found: 249 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 249 AND product_id = 54 ## Job Group Found: '200' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('200') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 133 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-05-14 12:12:31') AND us2_order_type_id = 3 ## Order found: 254 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 254 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 134 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-05-14 14:50:03') AND us2_order_type_id = 3 ## Order found: 254 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '10' AND store_id = 2 ## Product Id found: 60 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 254 AND product_id = 60 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 135 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-15 08:06:42') AND us2_order_type_id = 3 ## Order found: 258 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 258 AND product_id = 55 ## Job Group Found: '298' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('298') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108002') AND customer_id = 3230 ## Mailing found: '12293' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676382, Consumer Id: 938075, Address Id: 7544680 => Updated with Vin: 1G2NW52EX3C279183 ## Mail History Id: 26676384, Consumer Id: 938078, Address Id: 11960360 => Updated with Vin: 1FAHP35N78W192181 ## Mail History Id: 26676386, Consumer Id: 915729, Address Id: 11947643 => Updated with Vin: 1FAHP34N78W212639 ## Mail History Id: 26676388, Consumer Id: 915732, Address Id: 11947646 => Updated with Vin: 1FAHP35N38W207176 ## Mail History Id: 26676390, Consumer Id: 938076, Address Id: 11960359 => Updated with Vin: 1FTRW14W48FA04944 ## Mail History Id: 26676392, Consumer Id: 915731, Address Id: 11947645 => Updated with Vin: 1FTRX14W28FB32760 ## Mail History Id: 26676369, Consumer Id: 921736, Address Id: 53505 => Updated with Vin: 3FAHP07Z68R250640 ## Mail History Id: 26676371, Consumer Id: 915730, Address Id: 11947644 => Updated with Vin: 1FAFP34N37W287893 ## Mail History Id: 26676373, Consumer Id: 921739, Address Id: 11960023 => Updated with Vin: 1FAHP35N98W224614 ## Mail History Id: 26676375, Consumer Id: 921738, Address Id: 11960022 => Updated with Vin: 1G3NL52F44C113708 ## Mail History Id: 26676377, Consumer Id: 921464, Address Id: 11959541 => Updated with Vin: 1FTRF12288KD52978 ## Mail History Id: 26676379, Consumer Id: 938077, Address Id: 11910639 => Updated with Vin: 1FAHP35NX8W253278 ## Total mail_history records updated with vin numbers: 12 out of 14 ============================================================ ====== Tracking Id: 136 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-15 08:36:40') AND us2_order_type_id = 3 ## Order found: 258 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 258 AND product_id = 113 ## Job Group Found: '299' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('299') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108004') AND customer_id = 3230 ## Mailing found: '12295' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676575, Consumer Id: 93363, Address Id: 48816 => Updated with Vin: 1FTSW21R98EB47299 ## Mail History Id: 26676577, Consumer Id: 67721, Address Id: 49865 => Updated with Vin: 1GTDT13W02K117096 ## Mail History Id: 26676579, Consumer Id: 63991, Address Id: 52135 => Updated with Vin: 1FMYU931X4KB23844 ## Total mail_history records updated with vin numbers: 3 out of 6 ============================================================ ====== Tracking Id: 137 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-16 08:06:46') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 138 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-16 08:36:58') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 139 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-16 10:10:11') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 140 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-16 11:09:56') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 141 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-16 11:11:04') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 142 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3121 AND DATE(cart_created_date) = DATE('2008-05-16 11:51:42') AND us2_order_type_id = 3 ## Order found: 274 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 274 AND product_id = 54 ## Job Group Found: '169' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('169') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'dht050608005a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('dht050608005a') AND customer_id = 3121 ## Mailing found: '11078' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 143 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3140 AND DATE(cart_created_date) = DATE('2008-05-16 11:52:24') AND us2_order_type_id = 3 ## Order found: 275 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 275 AND product_id = 54 ## Job Group Found: '170' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('170') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'dht050608002a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('dht050608002a') AND customer_id = 3140 ## Mailing found: '11079' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 144 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-17 08:40:25') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 145 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-17 10:12:09') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 146 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-17 11:09:49') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 147 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-17 11:10:55') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 148 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-17 11:12:02') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 149 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-18 08:09:56') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 150 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-18 08:39:46') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 151 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-18 10:11:32') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 152 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-18 11:09:45') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 153 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-18 11:10:52') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 154 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-19 08:39:53') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 155 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-19 10:12:24') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 156 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-19 11:10:06') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 157 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-19 11:11:14') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 158 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-19 11:12:21') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 159 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-20 08:10:05') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 160 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-20 10:13:08') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 161 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-20 11:09:56') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 162 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-20 11:11:03') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 163 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-21 08:10:13') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 164 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-21 10:12:52') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 165 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-21 11:09:57') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 166 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-21 11:11:03') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 168 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-22 08:39:33') AND us2_order_type_id = 3 ## Order found: 281 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 281 AND product_id = 55 ## Job Group Found: '298' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('298') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108002') AND customer_id = 3230 ## Mailing found: '12293' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 169 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3426 AND DATE(cart_created_date) = DATE('2008-05-22 13:16:07') AND us2_order_type_id = 3 ## Order found: 283 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '10' AND store_id = 2 ## Product Id found: 60 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 283 AND product_id = 60 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 170 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3617 AND DATE(cart_created_date) = DATE('2008-05-22 15:34:11') AND us2_order_type_id = 3 ## Order found: 284 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 284 AND product_id = 54 ## Job Group Found: '171' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('171') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele052208001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele052208001a') AND customer_id = 3617 ## Mailing found: '11467' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 171 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3617 AND DATE(cart_created_date) = DATE('2008-05-22 16:20:06') AND us2_order_type_id = 3 ## Order found: 284 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 284 AND product_id = 54 ## Job Group Found: '171' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('171') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele052208001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele052208001a') AND customer_id = 3617 ## Mailing found: '11467' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 172 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3121 AND DATE(cart_created_date) = DATE('2008-05-22 17:01:14') AND us2_order_type_id = 3 ## Order found: 286 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 286 AND product_id = 54 ## Job Group Found: '172' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('172') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'dht050608006a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('dht050608006a') AND customer_id = 3121 ## Mailing found: '11497' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 173 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3121 AND DATE(cart_created_date) = DATE('2008-05-22 17:30:04') AND us2_order_type_id = 3 ## Order found: 286 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 286 AND product_id = 54 ## Job Group Found: '172' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('172') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'dht050608006a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('dht050608006a') AND customer_id = 3121 ## Mailing found: '11497' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 174 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-05-22 17:30:37') AND us2_order_type_id = 3 ## Order found: 288 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 288 AND product_id = 54 ## Job Group Found: '174' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('174') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele052208002a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele052208002a') AND customer_id = 3416 ## Mailing found: '11498' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 175 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-05-23 12:31:37') AND us2_order_type_id = 3 ## Order found: 290 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 290 AND product_id = 54 ## Job Group Found: '200' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('200') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 176 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-05-27 18:23:57') AND us2_order_type_id = 3 ## Order found: 291 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 291 AND product_id = 54 ## Job Group Found: '199' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('199') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele052708001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele052708001a') AND customer_id = 3418 ## Mailing found: '11549' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 177 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-28 08:16:44') AND us2_order_type_id = 3 ## Order found: 292 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 292 AND product_id = 55 ## Job Group Found: '298' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('298') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108002') AND customer_id = 3230 ## Mailing found: '12293' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 178 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-28 10:15:25') AND us2_order_type_id = 3 ## Order found: 293 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 293 AND product_id = 143 ## Job Group Found: '222' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('222') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm060308001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm060308001') AND customer_id = 3486 ## Mailing found: '11646' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26660502, Consumer Id: 479671, Address Id: 1563947 => Updated with Vin: 1G1ND52J516222277 ## Mail History Id: 26660886, Consumer Id: 471029, Address Id: 1567947 => Updated with Vin: 1GNEC13Z04J302425 ## Mail History Id: 26660658, Consumer Id: 465218, Address Id: 9820799 => Updated with Vin: 1GCEC19X34Z295387 ## Mail History Id: 26660497, Consumer Id: 470651, Address Id: 815153 => Updated with Vin: 1GCGG25V671215266 ## Mail History Id: 26661365, Consumer Id: 478963, Address Id: 7540156 => Updated with Vin: 1G1AZ54F557613020 ## Mail History Id: 26661226, Consumer Id: 480008, Address Id: 9824523 => Updated with Vin: 2G1WF52E449168887 ## Mail History Id: 26660824, Consumer Id: 468706, Address Id: 2009020 => Updated with Vin: KL1TD66676B659746 ## Mail History Id: 26661259, Consumer Id: 481614, Address Id: 9824942 => Updated with Vin: 1GCDS196948103529 ## Mail History Id: 26661276, Consumer Id: 485087, Address Id: 9825347 => Updated with Vin: 1G1ZS52F25F320093 ## Mail History Id: 26660460, Consumer Id: 471046, Address Id: 1068442 => Updated with Vin: 1GCJK33618F112427 ## Mail History Id: 26660972, Consumer Id: 486667, Address Id: 9826057 => Updated with Vin: 1GNDT13S122368083 ## Mail History Id: 26660871, Consumer Id: 489570, Address Id: 9826174 => Updated with Vin: 1GCGG25V361136927 ## Mail History Id: 26661015, Consumer Id: 470663, Address Id: 7989828 => Updated with Vin: 2GCEC13J281169542 ## Mail History Id: 26660467, Consumer Id: 471068, Address Id: 2216104 => Updated with Vin: 1G1AL58F987186716 ## Mail History Id: 26661046, Consumer Id: 490420, Address Id: 9823518 => Updated with Vin: 1G1YY22P6R5113929 ## Total mail_history records updated with vin numbers: 15 out of 15 ============================================================ ====== Tracking Id: 179 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-28 11:12:51') AND us2_order_type_id = 3 ## Order found: 293 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 293 AND product_id = 112 ## Job Group Found: '223' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('223') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm060308002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm060308002') AND customer_id = 3486 ## Mailing found: '11631' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26644383, Consumer Id: 476694, Address Id: 1562943 => Updated with Vin: 3GNEC16T31G254424 ## Mail History Id: 26644385, Consumer Id: 464959, Address Id: 9820715 => Updated with Vin: 1GNEK13Z64J192399 ## Mail History Id: 26644387, Consumer Id: 490059, Address Id: 8115268 => Updated with Vin: 4A3AA46G61E091306 ## Mail History Id: 26644389, Consumer Id: 464653, Address Id: 4374218 => Updated with Vin: 2G1WF52E049276567 ## Mail History Id: 26644391, Consumer Id: 467498, Address Id: 9573644 => Updated with Vin: 2G1WU581369189985 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 180 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-28 11:13:03') AND us2_order_type_id = 3 ## Order found: 293 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 293 AND product_id = 114 ## Job Group Found: '225' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('225') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm060308004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm060308004') AND customer_id = 3486 ## Mailing found: '11633' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26644511, Consumer Id: 486512, Address Id: 1561725 => Updated with Vin: JTLKE50E481005148 ## Mail History Id: 26644513, Consumer Id: 467738, Address Id: 3285522 => Updated with Vin: 1GCGG25V341245479 ## Mail History Id: 26644515, Consumer Id: 486508, Address Id: 1565597 => Updated with Vin: 1GBHC24U73E261317 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 181 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-05-28 11:42:40') AND us2_order_type_id = 3 ## Order found: 294 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 294 AND product_id = 142 ## Job Group Found: '297' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('297') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108001') AND customer_id = 3357 ## Mailing found: '12291' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676288, Consumer Id: 188271, Address Id: 398636 => Updated with Vin: 1FTSW31P74EC58982 ## Mail History Id: 26676354, Consumer Id: 155721, Address Id: 397757 => Updated with Vin: 1ZVHT80N885147313 ## Mail History Id: 26676314, Consumer Id: 155926, Address Id: 397942 => Updated with Vin: 1ZVHT80N585171679 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 182 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-31 08:12:24') AND us2_order_type_id = 3 ## Order found: 295 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 295 AND product_id = 55 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 183 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-31 08:42:24') AND us2_order_type_id = 3 ## Order found: 295 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 295 AND product_id = 113 ## Job Group Found: '299' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('299') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108004') AND customer_id = 3230 ## Mailing found: '12295' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676503, Consumer Id: 65863, Address Id: 51797 => Updated with Vin: 1FMZK06175GA63155 ## Mail History Id: 26676505, Consumer Id: 93377, Address Id: 51873 => Updated with Vin: 1FMCU93164DA07460 ## Mail History Id: 26676507, Consumer Id: 64102, Address Id: 47562 => Updated with Vin: KLAVA692X1B292716 ## Mail History Id: 26676509, Consumer Id: 67229, Address Id: 51874 => Updated with Vin: 1FMYU93164KA81060 ## Mail History Id: 26676511, Consumer Id: 103714, Address Id: 48374 => Updated with Vin: 1MEFM53U11G648738 ## Mail History Id: 26676513, Consumer Id: 93385, Address Id: 51880 => Updated with Vin: 1FTSW21R48EA64945 ## Mail History Id: 26676515, Consumer Id: 93283, Address Id: 51767 => Updated with Vin: 2FTRX17242CA48726 ## Mail History Id: 26676517, Consumer Id: 92525, Address Id: 48791 => Updated with Vin: 1FAHP31N06W237853 ## Total mail_history records updated with vin numbers: 8 out of 9 ============================================================ ====== Tracking Id: 184 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-05-31 08:42:34') AND us2_order_type_id = 3 ## Order found: 295 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 295 AND product_id = 143 ## Job Group Found: '297' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('297') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108001') AND customer_id = 3230 ## Mailing found: '12290' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676267, Consumer Id: 64470, Address Id: 47915 => Updated with Vin: 1FTNX21S72EC73598 ## Mail History Id: 26676248, Consumer Id: 63494, Address Id: 47753 => Updated with Vin: 2FMZA51442BA20090 ## Mail History Id: 26676211, Consumer Id: 92730, Address Id: 51143 => Updated with Vin: 1FTWW33P57EB38309 ## Mail History Id: 26676191, Consumer Id: 103038, Address Id: 53505 => Updated with Vin: 1FMYU04142KA38215 ## Mail History Id: 26676197, Consumer Id: 63052, Address Id: 47452 => Updated with Vin: 1FTYR44E13PB64682 ## Mail History Id: 26676260, Consumer Id: 93555, Address Id: 49120 => Updated with Vin: 1FMDK06W08GA01526 ## Mail History Id: 26676167, Consumer Id: 103734, Address Id: 53815 => Updated with Vin: 1FAFP241X5G152389 ## Mail History Id: 26676307, Consumer Id: 93076, Address Id: 51507 => Updated with Vin: 1FMEU74EX7UB57994 ## Mail History Id: 26676275, Consumer Id: 66972, Address Id: 47967 => Updated with Vin: 1FAFP55S82G195004 ## Mail History Id: 26676093, Consumer Id: 103032, Address Id: 53504 => Updated with Vin: 1FALP13P0VW380359 ## Mail History Id: 26676117, Consumer Id: 63473, Address Id: 47814 => Updated with Vin: 2FTRX17L02CA55083 ## Mail History Id: 26676341, Consumer Id: 63469, Address Id: 52527 => Updated with Vin: 1FTNX21L8XEE10340 ## Mail History Id: 26676175, Consumer Id: 103838, Address Id: 53870 => Updated with Vin: 1FAFP56S64G188330 ## Mail History Id: 26676157, Consumer Id: 63194, Address Id: 47755 => Updated with Vin: 1FTNW21F01EC82535 ## Mail History Id: 26676111, Consumer Id: 65845, Address Id: 49714 => Updated with Vin: 1FMZK06135GA56249 ## Mail History Id: 26676153, Consumer Id: 92874, Address Id: 49063 => Updated with Vin: 1FTSW21P66ED54101 ## Mail History Id: 26676125, Consumer Id: 103111, Address Id: 52727 => Updated with Vin: 4M2ZU86E82ZJ24247 ## Mail History Id: 26676171, Consumer Id: 65614, Address Id: 47972 => Updated with Vin: 1FTYR10C9XUA04107 ## Mail History Id: 26676159, Consumer Id: 65222, Address Id: 50129 => Updated with Vin: 1FMYU94126KA28051 ## Mail History Id: 26676317, Consumer Id: 67568, Address Id: 47941 => Updated with Vin: 1FTSS34F4YHB21761 ## Mail History Id: 26676323, Consumer Id: 93222, Address Id: 47944 => Updated with Vin: 1FMYU93147KB37422 ## Mail History Id: 26676258, Consumer Id: 93227, Address Id: 50319 => Updated with Vin: 1FTSW21R08EB87660 ## Mail History Id: 26676057, Consumer Id: 66309, Address Id: 47704 => Updated with Vin: 1FTNX21F5XEE97933 ## Mail History Id: 26676053, Consumer Id: 92799, Address Id: 49796 => Updated with Vin: 1FTPW14V07FA55077 ## Mail History Id: 26676233, Consumer Id: 63938, Address Id: 48095 => Updated with Vin: 1FMYU02133KD43371 ## Mail History Id: 26676135, Consumer Id: 63989, Address Id: 51078 => Updated with Vin: 1FMYU93165KB30050 ## Mail History Id: 26676071, Consumer Id: 93556, Address Id: 52037 => Updated with Vin: 1ZVFT84N765208486 ## Total mail_history records updated with vin numbers: 27 out of 28 ============================================================ ====== Tracking Id: 185 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-05-31 11:12:31') AND us2_order_type_id = 3 ## Order found: 296 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 296 AND product_id = 112 ## Job Group Found: '223' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('223') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm060308002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm060308002') AND customer_id = 3486 ## Mailing found: '11631' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26644393, Consumer Id: 462365, Address Id: 1034997 => Updated with Vin: 1GNEK13Z53R259347 ## Mail History Id: 26644395, Consumer Id: 465554, Address Id: 1035380 => Updated with Vin: 1GNEC13Z44J273527 ## Mail History Id: 26644397, Consumer Id: 464960, Address Id: 8119410 => Updated with Vin: 1GNEC13Z04J278725 ## Mail History Id: 26644399, Consumer Id: 466451, Address Id: 4373132 => Updated with Vin: 1GCGG25U651222643 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 186 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-05-31 11:42:29') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 187 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-01 08:12:24') AND us2_order_type_id = 3 ## Order found: 297 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 297 AND product_id = 55 ## Job Group Found: '298' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('298') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108002') AND customer_id = 3230 ## Mailing found: '12293' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676370, Consumer Id: 980714, Address Id: 48316 => Updated with Vin: 1FMFU18548LA63824 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 188 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-01 08:42:26') AND us2_order_type_id = 3 ## Order found: 297 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 297 AND product_id = 113 ## Job Group Found: '299' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('299') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108004') AND customer_id = 3230 ## Mailing found: '12295' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676519, Consumer Id: 62865, Address Id: 48497 => Updated with Vin: 1FAFP53U32G160231 ## Mail History Id: 26676521, Consumer Id: 65520, Address Id: 47518 => Updated with Vin: 1FTRX18L42NA18496 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 189 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-01 08:42:35') AND us2_order_type_id = 3 ## Order found: 297 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 297 AND product_id = 143 ## Job Group Found: '297' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('297') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108001') AND customer_id = 3230 ## Mailing found: '12290' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676263, Consumer Id: 67050, Address Id: 50575 => Updated with Vin: 1FAHP34N66W243331 ## Mail History Id: 26676055, Consumer Id: 93468, Address Id: 51963 => Updated with Vin: 1FAHP35N58W112151 ## Mail History Id: 26676253, Consumer Id: 93333, Address Id: 51825 => Updated with Vin: 1FAHP34N27W356257 ## Mail History Id: 26676209, Consumer Id: 101319, Address Id: 48818 => Updated with Vin: 1FAFP34322W352806 ## Mail History Id: 26676205, Consumer Id: 93471, Address Id: 51964 => Updated with Vin: 1FAHP35N98W156072 ## Mail History Id: 26676089, Consumer Id: 38542, Address Id: 51661 => Updated with Vin: 1FAHP37N67W277735 ## Mail History Id: 26676119, Consumer Id: 66223, Address Id: 50114 => Updated with Vin: 1FMYU93146KB56695 ## Mail History Id: 26676249, Consumer Id: 63315, Address Id: 52454 => Updated with Vin: 1FTNW21P14ED77702 ## Mail History Id: 26676277, Consumer Id: 103839, Address Id: 53871 => Updated with Vin: 4M2ZV12T52DJ03491 ## Mail History Id: 26676241, Consumer Id: 65557, Address Id: 49871 => Updated with Vin: 1FMZK04176GA03199 ## Mail History Id: 26676169, Consumer Id: 93006, Address Id: 47633 => Updated with Vin: 1FMCU03198KA06154 ## Mail History Id: 26676165, Consumer Id: 66221, Address Id: 47774 => Updated with Vin: 1FTSW21P56EB79744 ## Mail History Id: 26676261, Consumer Id: 63487, Address Id: 52393 => Updated with Vin: 1FTSW21P45EA13472 ## Mail History Id: 26676344, Consumer Id: 93348, Address Id: 49262 => Updated with Vin: 1FMCU93198KB92377 ## Mail History Id: 26676342, Consumer Id: 66345, Address Id: 49856 => Updated with Vin: 1FTWW31P46EA57626 ## Mail History Id: 26676345, Consumer Id: 64641, Address Id: 49297 => Updated with Vin: 1FTWW31P65EC94035 ## Mail History Id: 26676217, Consumer Id: 66478, Address Id: 50203 => Updated with Vin: 1FTPX14565KC36251 ## Mail History Id: 26676085, Consumer Id: 64474, Address Id: 49215 => Updated with Vin: 1FTSX21P15EC44701 ## Mail History Id: 26676077, Consumer Id: 103285, Address Id: 53326 => Updated with Vin: 1FMZU72X2YZC10391 ## Total mail_history records updated with vin numbers: 19 out of 23 ============================================================ ====== Tracking Id: 190 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-01 10:14:18') AND us2_order_type_id = 3 ## Order found: 298 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 298 AND product_id = 143 ## Job Group Found: '222' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('222') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm060308001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm060308001') AND customer_id = 3486 ## Mailing found: '11646' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26661024, Consumer Id: 477265, Address Id: 2013225 => Updated with Vin: 1G1YY22G5W5127591 ## Mail History Id: 26661145, Consumer Id: 484401, Address Id: 677485 => Updated with Vin: 5GRGN23U06H101820 ## Mail History Id: 26660769, Consumer Id: 468938, Address Id: 1034584 => Updated with Vin: 1GCCS148X68238560 ## Mail History Id: 26661106, Consumer Id: 477326, Address Id: 9823949 => Updated with Vin: 2G1WF52E229116445 ## Mail History Id: 26661070, Consumer Id: 481405, Address Id: 1569424 => Updated with Vin: 1FTSW31F22EB93320 ## Mail History Id: 26660570, Consumer Id: 475854, Address Id: 1073991 => Updated with Vin: 1GCHC29U44E266593 ## Mail History Id: 26661125, Consumer Id: 481158, Address Id: 1035767 => Updated with Vin: 2G1WW12E619168782 ## Mail History Id: 26661159, Consumer Id: 475986, Address Id: 1035946 => Updated with Vin: 1GCEC19T64Z246195 ## Mail History Id: 26660937, Consumer Id: 462351, Address Id: 1560524 => Updated with Vin: 1GCEC19VX3Z219145 ## Mail History Id: 26661102, Consumer Id: 463894, Address Id: 8118706 => Updated with Vin: 1GNEC13Z74J222992 ## Mail History Id: 26660887, Consumer Id: 463895, Address Id: 1035135 => Updated with Vin: 1GNEC13Z24R199963 ## Mail History Id: 26660536, Consumer Id: 465533, Address Id: 5263462 => Updated with Vin: 1GCDS136658174147 ## Mail History Id: 26660461, Consumer Id: 485747, Address Id: 9825636 => Updated with Vin: 1GBEG25K0SF205152 ## Mail History Id: 26660980, Consumer Id: 476667, Address Id: 4377955 => Updated with Vin: 1GNEC16Z04J250242 ## Mail History Id: 26660750, Consumer Id: 479069, Address Id: 635066 => Updated with Vin: 2GCEK13T251158198 ## Mail History Id: 26660519, Consumer Id: 468264, Address Id: 9821962 => Updated with Vin: 3GNDA23PX6S590719 ## Mail History Id: 26661321, Consumer Id: 480908, Address Id: 1037046 => Updated with Vin: 1GNFK16367J172279 ## Mail History Id: 26661357, Consumer Id: 469178, Address Id: 7540122 => Updated with Vin: 1GNEK13Z54R125102 ## Mail History Id: 26660875, Consumer Id: 484333, Address Id: 9825116 => Updated with Vin: 1GNEK13T61J104751 ## Mail History Id: 26660830, Consumer Id: 469028, Address Id: 4376537 => Updated with Vin: 3GNDA23D07S535526 ## Mail History Id: 26660631, Consumer Id: 485354, Address Id: 627292 => Updated with Vin: 1GNFC13037R276947 ## Mail History Id: 26661081, Consumer Id: 469836, Address Id: 9822731 => Updated with Vin: 1GCFG15X871139573 ## Mail History Id: 26661304, Consumer Id: 470094, Address Id: 9822890 => Updated with Vin: 1GCHK23657F547491 ## Mail History Id: 26660790, Consumer Id: 471105, Address Id: 3288373 => Updated with Vin: 1GNES13H572218612 ## Mail History Id: 26661338, Consumer Id: 486607, Address Id: 9826028 => Updated with Vin: 1G2WP52K01F182285 ## Mail History Id: 26661372, Consumer Id: 486529, Address Id: 4135228 => Updated with Vin: 1G1AK55FX67882456 ## Mail History Id: 26661122, Consumer Id: 489509, Address Id: 9826146 => Updated with Vin: 1G1AL55F467797299 ## Mail History Id: 26660594, Consumer Id: 470648, Address Id: 9823207 => Updated with Vin: 3GNDA23P08S516826 ## Mail History Id: 26661251, Consumer Id: 470787, Address Id: 1213781 => Updated with Vin: 3GNDA53P68S583383 ## Mail History Id: 26661065, Consumer Id: 470898, Address Id: 934727 => Updated with Vin: 1GNES16S256120859 ## Mail History Id: 26661245, Consumer Id: 470899, Address Id: 9823346 => Updated with Vin: 1G1ZU64864F172981 ## Mail History Id: 26660895, Consumer Id: 490441, Address Id: 9826542 => Updated with Vin: 2G1WB58K979373330 ## Mail History Id: 26661014, Consumer Id: 470979, Address Id: 4378154 => Updated with Vin: 1GNFC13018J103878 ## Mail History Id: 26660678, Consumer Id: 486608, Address Id: 5284800 => Updated with Vin: 1GCHG39R411101359 ## Mail History Id: 26660832, Consumer Id: 470921, Address Id: 4376608 => Updated with Vin: 3GCEK13J38G238278 ## Total mail_history records updated with vin numbers: 35 out of 36 ============================================================ ====== Tracking Id: 191 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-01 11:12:26') AND us2_order_type_id = 3 ## Order found: 298 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 298 AND product_id = 114 ## Job Group Found: '225' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('225') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm060308004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm060308004') AND customer_id = 3486 ## Mailing found: '11633' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26644479, Consumer Id: 477762, Address Id: 8117162 => Updated with Vin: 1GCCS19W1Y8195009 ## Mail History Id: 26644481, Consumer Id: 485078, Address Id: 748103 => Updated with Vin: 3GNEC16TXYG133836 ## Mail History Id: 26644483, Consumer Id: 466853, Address Id: 5420521 => Updated with Vin: 1GCDM19X12B116763 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 192 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-01 11:42:18') AND us2_order_type_id = 3 ## Order found: 299 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 299 AND product_id = 142 ## Job Group Found: '297' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('297') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108001') AND customer_id = 3357 ## Mailing found: '12291' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676298, Consumer Id: 215851, Address Id: 425633 => Updated with Vin: 1FTZR15E21PA35087 ## Mail History Id: 26676264, Consumer Id: 188517, Address Id: 398676 => Updated with Vin: 1FMDU73W72ZC49260 ## Mail History Id: 26676296, Consumer Id: 152161, Address Id: 394513 => Updated with Vin: 1YVHP82D655M56957 ## Mail History Id: 26676350, Consumer Id: 152243, Address Id: 394585 => Updated with Vin: 1FMEU74856UA51008 ## Mail History Id: 26676262, Consumer Id: 188977, Address Id: 399307 => Updated with Vin: 1FTZX17W5WKB47110 ## Mail History Id: 26676312, Consumer Id: 190865, Address Id: 401344 => Updated with Vin: 1FMFU16L03LA91517 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 193 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-02 08:42:33') AND us2_order_type_id = 3 ## Order found: 300 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 300 AND product_id = 113 ## Job Group Found: '299' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('299') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108004') AND customer_id = 3230 ## Mailing found: '12295' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 5 ============================================================ ====== Tracking Id: 194 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-02 08:42:40') AND us2_order_type_id = 3 ## Order found: 300 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 300 AND product_id = 143 ## Job Group Found: '297' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('297') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108001') AND customer_id = 3230 ## Mailing found: '12290' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676193, Consumer Id: 93558, Address Id: 52065 => Updated with Vin: 1FAHP33N18W142699 ## Mail History Id: 26676229, Consumer Id: 93557, Address Id: 52032 => Updated with Vin: 1FMZU73K05UA92563 ## Mail History Id: 26676333, Consumer Id: 93560, Address Id: 52067 => Updated with Vin: 3FAHP02197R189199 ## Mail History Id: 26676311, Consumer Id: 64699, Address Id: 52064 => Updated with Vin: 1FAFP38Z45W271728 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 195 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-02 10:15:33') AND us2_order_type_id = 3 ## Order found: 301 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 301 AND product_id = 143 ## Job Group Found: '222' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('222') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm060308001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm060308001') AND customer_id = 3486 ## Mailing found: '11646' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26660769, Consumer Id: 470627, Address Id: 1034584 => Updated with Vin: 1GCHC23638F152370 ## Mail History Id: 26660495, Consumer Id: 479465, Address Id: 815084 => Updated with Vin: 1GCHK23133F208890 ## Mail History Id: 26660570, Consumer Id: 475854, Address Id: 1073991 => Updated with Vin: 1GCHC29U44E266593 ## Mail History Id: 26660999, Consumer Id: 480452, Address Id: 1035396 => Updated with Vin: JA4LS31H4YP053813 ## Mail History Id: 26661329, Consumer Id: 465904, Address Id: 1066434 => Updated with Vin: 1GCEK19T14E280832 ## Mail History Id: 26660655, Consumer Id: 462821, Address Id: 9819982 => Updated with Vin: 1GNEK13Z22R159012 ## Mail History Id: 26660813, Consumer Id: 480009, Address Id: 1559927 => Updated with Vin: 1GNDS13S132310284 ## Mail History Id: 26660550, Consumer Id: 463384, Address Id: 1037782 => Updated with Vin: 3GNEC16Z23G255331 ## Mail History Id: 26661220, Consumer Id: 463386, Address Id: 1571962 => Updated with Vin: 1GAHG39UX31187888 ## Mail History Id: 26661171, Consumer Id: 463897, Address Id: 5424206 => Updated with Vin: 1GCCS136X48116956 ## Mail History Id: 26660483, Consumer Id: 477206, Address Id: 1031874 => Updated with Vin: 3GNEC16Z03G311024 ## Mail History Id: 26661126, Consumer Id: 464364, Address Id: 8118954 => Updated with Vin: 1GBJC34U84E313367 ## Mail History Id: 26660800, Consumer Id: 464903, Address Id: 1039041 => Updated with Vin: 3GNEC12T24G180729 ## Mail History Id: 26661176, Consumer Id: 470587, Address Id: 9820797 => Updated with Vin: 3GNDA23D77S586750 ## Mail History Id: 26660666, Consumer Id: 466374, Address Id: 2006770 => Updated with Vin: 1G1JC52F457141820 ## Mail History Id: 26660563, Consumer Id: 469170, Address Id: 2002226 => Updated with Vin: 1G1ZS58F37F113853 ## Mail History Id: 26660489, Consumer Id: 466878, Address Id: 814890 => Updated with Vin: 2GCEC13T351369875 ## Mail History Id: 26661187, Consumer Id: 481244, Address Id: 1036225 => Updated with Vin: 1GNES16S236103427 ## Mail History Id: 26661088, Consumer Id: 469839, Address Id: 9822734 => Updated with Vin: 1GNDS13S662192544 ## Mail History Id: 26660460, Consumer Id: 471046, Address Id: 1068442 => Updated with Vin: 1GCJK33618F112427 ## Mail History Id: 26660586, Consumer Id: 486278, Address Id: 1077001 => Updated with Vin: 3GNEC16ZX2G238954 ## Mail History Id: 26660651, Consumer Id: 475987, Address Id: 627577 => Updated with Vin: 1GNEC16Z73J263570 ## Mail History Id: 26660573, Consumer Id: 470580, Address Id: 823107 => Updated with Vin: 1GNEC16Z73J263570 ## Mail History Id: 26660972, Consumer Id: 486667, Address Id: 9826057 => Updated with Vin: 1GNDT13S122368083 ## Mail History Id: 26660547, Consumer Id: 470808, Address Id: 1032234 => Updated with Vin: 1G1ZK57778F187188 ## Mail History Id: 26660472, Consumer Id: 471114, Address Id: 9823451 => Updated with Vin: 3GNEC12J78G190869 ## Mail History Id: 26661189, Consumer Id: 470905, Address Id: 7991225 => Updated with Vin: 1GNFC13C28J174811 ## Mail History Id: 26660454, Consumer Id: 471082, Address Id: 9823432 => Updated with Vin: 3GNEC12J88G136271 ## Mail History Id: 26660763, Consumer Id: 470913, Address Id: 3854728 => Updated with Vin: 1GNDS13S682182602 ## Mail History Id: 26661162, Consumer Id: 471107, Address Id: 9823448 => Updated with Vin: 3GNDA33P28S540888 ## Mail History Id: 26661317, Consumer Id: 471106, Address Id: 9823447 => Updated with Vin: 1GNDT13S962110643 ## Total mail_history records updated with vin numbers: 31 out of 35 ============================================================ ====== Tracking Id: 196 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-02 11:12:38') AND us2_order_type_id = 3 ## Order found: 301 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 301 AND product_id = 112 ## Job Group Found: '223' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('223') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm060308002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm060308002') AND customer_id = 3486 ## Mailing found: '11631' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26644386, Consumer Id: 490000, Address Id: 4378059 => Updated with Vin: 1GNEK13TX5R164359 ## Mail History Id: 26644388, Consumer Id: 464654, Address Id: 819780 => Updated with Vin: 1GNEK13Z44R240225 ## Mail History Id: 26644390, Consumer Id: 490062, Address Id: 9715365 => Updated with Vin: 2G1WD58C279224955 ## Mail History Id: 26644392, Consumer Id: 465883, Address Id: 9821010 => Updated with Vin: 1G1ZU64854F249596 ## Mail History Id: 26644394, Consumer Id: 484437, Address Id: 5620733 => Updated with Vin: KL1TG66656B534493 ## Total mail_history records updated with vin numbers: 5 out of 7 ============================================================ ====== Tracking Id: 197 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-02 11:13:39') AND us2_order_type_id = 3 ## Order found: 301 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 301 AND product_id = 114 ## Job Group Found: '225' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('225') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm060308004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm060308004') AND customer_id = 3486 ## Mailing found: '11633' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26644491, Consumer Id: 479006, Address Id: 9824329 => Updated with Vin: 1GCCS148148223491 ## Mail History Id: 26644493, Consumer Id: 479871, Address Id: 8118311 => Updated with Vin: 1D7HA18D43S304718 ## Mail History Id: 26644495, Consumer Id: 481315, Address Id: 9824844 => Updated with Vin: 1GCDM19X64B113067 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 198 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-02 11:42:31') AND us2_order_type_id = 3 ## Order found: 302 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 302 AND product_id = 142 ## Job Group Found: '297' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('297') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108001') AND customer_id = 3357 ## Mailing found: '12291' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 199 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-02 11:42:34') AND us2_order_type_id = 3 ## Order found: 302 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 302 AND product_id = 113 ## Job Group Found: '299' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('299') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108004') AND customer_id = 3357 ## Mailing found: '12296' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 200 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-03 08:12:34') AND us2_order_type_id = 3 ## Order found: 303 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 303 AND product_id = 55 ## Job Group Found: '298' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('298') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108002') AND customer_id = 3230 ## Mailing found: '12293' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 201 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-06-03 09:55:10') AND us2_order_type_id = 3 ## Order found: 304 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 304 AND product_id = 54 ## Job Group Found: '203' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('203') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele052908002a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele052908002a') AND customer_id = 3705 ## Mailing found: '11550' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 202 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-06-03 09:55:41') AND us2_order_type_id = 3 ## Order found: 304 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 304 AND product_id = 54 ## Job Group Found: '203' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('203') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele052908002a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele052908002a') AND customer_id = 3705 ## Mailing found: '11550' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 203 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-03 10:15:37') AND us2_order_type_id = 3 ## Order found: 306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 306 AND product_id = 143 ## Job Group Found: '222' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('222') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm060308001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm060308001') AND customer_id = 3486 ## Mailing found: '11646' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 204 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-03 11:12:39') AND us2_order_type_id = 3 ## Order found: 306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 306 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 205 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-03 11:12:56') AND us2_order_type_id = 3 ## Order found: 306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 306 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 206 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-03 11:42:39') AND us2_order_type_id = 3 ## Order found: 313 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 313 AND product_id = 112 ## Job Group Found: '299' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('299') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108004') AND customer_id = 3357 ## Mailing found: '12296' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 207 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-03 17:36:12') AND us2_order_type_id = 3 ## Order found: 306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 306 AND product_id = 143 ## Job Group Found: '222' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('222') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm060308001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm060308001') AND customer_id = 3486 ## Mailing found: '11646' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26660502, Consumer Id: 479671, Address Id: 1563947 => Updated with Vin: 1G1ND52J516222277 ## Mail History Id: 26660886, Consumer Id: 471029, Address Id: 1567947 => Updated with Vin: 1GNEC13Z04J302425 ## Mail History Id: 26660658, Consumer Id: 465218, Address Id: 9820799 => Updated with Vin: 1GCEC19X34Z295387 ## Mail History Id: 26660497, Consumer Id: 470651, Address Id: 815153 => Updated with Vin: 1GCGG25V671215266 ## Mail History Id: 26661365, Consumer Id: 478963, Address Id: 7540156 => Updated with Vin: 1G1AZ54F557613020 ## Mail History Id: 26661226, Consumer Id: 480008, Address Id: 9824523 => Updated with Vin: 2G1WF52E449168887 ## Mail History Id: 26660824, Consumer Id: 468706, Address Id: 2009020 => Updated with Vin: KL1TD66676B659746 ## Mail History Id: 26661259, Consumer Id: 481614, Address Id: 9824942 => Updated with Vin: 1GCDS196948103529 ## Mail History Id: 26661276, Consumer Id: 485087, Address Id: 9825347 => Updated with Vin: 1G1ZS52F25F320093 ## Mail History Id: 26660460, Consumer Id: 471046, Address Id: 1068442 => Updated with Vin: 1GCJK33618F112427 ## Mail History Id: 26660972, Consumer Id: 486667, Address Id: 9826057 => Updated with Vin: 1GNDT13S122368083 ## Mail History Id: 26660871, Consumer Id: 489570, Address Id: 9826174 => Updated with Vin: 1GCGG25V361136927 ## Mail History Id: 26661015, Consumer Id: 470663, Address Id: 7989828 => Updated with Vin: 2GCEC13J281169542 ## Mail History Id: 26660467, Consumer Id: 471068, Address Id: 2216104 => Updated with Vin: 1G1AL58F987186716 ## Mail History Id: 26661046, Consumer Id: 490420, Address Id: 9823518 => Updated with Vin: 1G1YY22P6R5113929 ## Total mail_history records updated with vin numbers: 15 out of 15 ============================================================ ====== Tracking Id: 208 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-03 17:38:11') AND us2_order_type_id = 3 ## Order found: 306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 306 AND product_id = 143 ## Job Group Found: '222' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('222') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm060308001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm060308001') AND customer_id = 3486 ## Mailing found: '11646' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26661024, Consumer Id: 477265, Address Id: 2013225 => Updated with Vin: 1G1YY22G5W5127591 ## Mail History Id: 26661145, Consumer Id: 484401, Address Id: 677485 => Updated with Vin: 5GRGN23U06H101820 ## Mail History Id: 26660769, Consumer Id: 468938, Address Id: 1034584 => Updated with Vin: 1GCCS148X68238560 ## Mail History Id: 26661106, Consumer Id: 477326, Address Id: 9823949 => Updated with Vin: 2G1WF52E229116445 ## Mail History Id: 26661070, Consumer Id: 481405, Address Id: 1569424 => Updated with Vin: 1FTSW31F22EB93320 ## Mail History Id: 26660570, Consumer Id: 475854, Address Id: 1073991 => Updated with Vin: 1GCHC29U44E266593 ## Mail History Id: 26661125, Consumer Id: 481158, Address Id: 1035767 => Updated with Vin: 2G1WW12E619168782 ## Mail History Id: 26661159, Consumer Id: 475986, Address Id: 1035946 => Updated with Vin: 1GCEC19T64Z246195 ## Mail History Id: 26660937, Consumer Id: 462351, Address Id: 1560524 => Updated with Vin: 1GCEC19VX3Z219145 ## Mail History Id: 26661102, Consumer Id: 463894, Address Id: 8118706 => Updated with Vin: 1GNEC13Z74J222992 ## Mail History Id: 26660887, Consumer Id: 463895, Address Id: 1035135 => Updated with Vin: 1GNEC13Z24R199963 ## Mail History Id: 26660536, Consumer Id: 465533, Address Id: 5263462 => Updated with Vin: 1GCDS136658174147 ## Mail History Id: 26660461, Consumer Id: 485747, Address Id: 9825636 => Updated with Vin: 1GBEG25K0SF205152 ## Mail History Id: 26660980, Consumer Id: 476667, Address Id: 4377955 => Updated with Vin: 1GNEC16Z04J250242 ## Mail History Id: 26660750, Consumer Id: 479069, Address Id: 635066 => Updated with Vin: 2GCEK13T251158198 ## Mail History Id: 26660519, Consumer Id: 468264, Address Id: 9821962 => Updated with Vin: 3GNDA23PX6S590719 ## Mail History Id: 26661321, Consumer Id: 480908, Address Id: 1037046 => Updated with Vin: 1GNFK16367J172279 ## Mail History Id: 26661357, Consumer Id: 469178, Address Id: 7540122 => Updated with Vin: 1GNEK13Z54R125102 ## Mail History Id: 26660875, Consumer Id: 484333, Address Id: 9825116 => Updated with Vin: 1GNEK13T61J104751 ## Mail History Id: 26660830, Consumer Id: 469028, Address Id: 4376537 => Updated with Vin: 3GNDA23D07S535526 ## Mail History Id: 26660631, Consumer Id: 485354, Address Id: 627292 => Updated with Vin: 1GNFC13037R276947 ## Mail History Id: 26661081, Consumer Id: 469836, Address Id: 9822731 => Updated with Vin: 1GCFG15X871139573 ## Mail History Id: 26661304, Consumer Id: 470094, Address Id: 9822890 => Updated with Vin: 1GCHK23657F547491 ## Mail History Id: 26660790, Consumer Id: 471105, Address Id: 3288373 => Updated with Vin: 1GNES13H572218612 ## Mail History Id: 26661338, Consumer Id: 486607, Address Id: 9826028 => Updated with Vin: 1G2WP52K01F182285 ## Mail History Id: 26661372, Consumer Id: 486529, Address Id: 4135228 => Updated with Vin: 1G1AK55FX67882456 ## Mail History Id: 26661122, Consumer Id: 489509, Address Id: 9826146 => Updated with Vin: 1G1AL55F467797299 ## Mail History Id: 26660594, Consumer Id: 470648, Address Id: 9823207 => Updated with Vin: 3GNDA23P08S516826 ## Mail History Id: 26661251, Consumer Id: 470787, Address Id: 1213781 => Updated with Vin: 3GNDA53P68S583383 ## Mail History Id: 26661065, Consumer Id: 470898, Address Id: 934727 => Updated with Vin: 1GNES16S256120859 ## Mail History Id: 26661245, Consumer Id: 470899, Address Id: 9823346 => Updated with Vin: 1G1ZU64864F172981 ## Mail History Id: 26660895, Consumer Id: 490441, Address Id: 9826542 => Updated with Vin: 2G1WB58K979373330 ## Mail History Id: 26661014, Consumer Id: 470979, Address Id: 4378154 => Updated with Vin: 1GNFC13018J103878 ## Mail History Id: 26660678, Consumer Id: 486608, Address Id: 5284800 => Updated with Vin: 1GCHG39R411101359 ## Mail History Id: 26660832, Consumer Id: 470921, Address Id: 4376608 => Updated with Vin: 3GCEK13J38G238278 ## Total mail_history records updated with vin numbers: 35 out of 36 ============================================================ ====== Tracking Id: 209 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-03 17:38:55') AND us2_order_type_id = 3 ## Order found: 306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 306 AND product_id = 143 ## Job Group Found: '222' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('222') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm060308001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm060308001') AND customer_id = 3486 ## Mailing found: '11646' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26660769, Consumer Id: 470627, Address Id: 1034584 => Updated with Vin: 1GCHC23638F152370 ## Mail History Id: 26660495, Consumer Id: 479465, Address Id: 815084 => Updated with Vin: 1GCHK23133F208890 ## Mail History Id: 26660570, Consumer Id: 475854, Address Id: 1073991 => Updated with Vin: 1GCHC29U44E266593 ## Mail History Id: 26660999, Consumer Id: 480452, Address Id: 1035396 => Updated with Vin: JA4LS31H4YP053813 ## Mail History Id: 26661329, Consumer Id: 465904, Address Id: 1066434 => Updated with Vin: 1GCEK19T14E280832 ## Mail History Id: 26660655, Consumer Id: 462821, Address Id: 9819982 => Updated with Vin: 1GNEK13Z22R159012 ## Mail History Id: 26660813, Consumer Id: 480009, Address Id: 1559927 => Updated with Vin: 1GNDS13S132310284 ## Mail History Id: 26660550, Consumer Id: 463384, Address Id: 1037782 => Updated with Vin: 3GNEC16Z23G255331 ## Mail History Id: 26661220, Consumer Id: 463386, Address Id: 1571962 => Updated with Vin: 1GAHG39UX31187888 ## Mail History Id: 26661171, Consumer Id: 463897, Address Id: 5424206 => Updated with Vin: 1GCCS136X48116956 ## Mail History Id: 26660483, Consumer Id: 477206, Address Id: 1031874 => Updated with Vin: 3GNEC16Z03G311024 ## Mail History Id: 26661126, Consumer Id: 464364, Address Id: 8118954 => Updated with Vin: 1GBJC34U84E313367 ## Mail History Id: 26660800, Consumer Id: 464903, Address Id: 1039041 => Updated with Vin: 3GNEC12T24G180729 ## Mail History Id: 26661176, Consumer Id: 470587, Address Id: 9820797 => Updated with Vin: 3GNDA23D77S586750 ## Mail History Id: 26660666, Consumer Id: 466374, Address Id: 2006770 => Updated with Vin: 1G1JC52F457141820 ## Mail History Id: 26660563, Consumer Id: 469170, Address Id: 2002226 => Updated with Vin: 1G1ZS58F37F113853 ## Mail History Id: 26660489, Consumer Id: 466878, Address Id: 814890 => Updated with Vin: 2GCEC13T351369875 ## Mail History Id: 26661187, Consumer Id: 481244, Address Id: 1036225 => Updated with Vin: 1GNES16S236103427 ## Mail History Id: 26661088, Consumer Id: 469839, Address Id: 9822734 => Updated with Vin: 1GNDS13S662192544 ## Mail History Id: 26660460, Consumer Id: 471046, Address Id: 1068442 => Updated with Vin: 1GCJK33618F112427 ## Mail History Id: 26660586, Consumer Id: 486278, Address Id: 1077001 => Updated with Vin: 3GNEC16ZX2G238954 ## Mail History Id: 26660651, Consumer Id: 475987, Address Id: 627577 => Updated with Vin: 1GNEC16Z73J263570 ## Mail History Id: 26660573, Consumer Id: 470580, Address Id: 823107 => Updated with Vin: 1GNEC16Z73J263570 ## Mail History Id: 26660972, Consumer Id: 486667, Address Id: 9826057 => Updated with Vin: 1GNDT13S122368083 ## Mail History Id: 26660547, Consumer Id: 470808, Address Id: 1032234 => Updated with Vin: 1G1ZK57778F187188 ## Mail History Id: 26660472, Consumer Id: 471114, Address Id: 9823451 => Updated with Vin: 3GNEC12J78G190869 ## Mail History Id: 26661189, Consumer Id: 470905, Address Id: 7991225 => Updated with Vin: 1GNFC13C28J174811 ## Mail History Id: 26660454, Consumer Id: 471082, Address Id: 9823432 => Updated with Vin: 3GNEC12J88G136271 ## Mail History Id: 26660763, Consumer Id: 470913, Address Id: 3854728 => Updated with Vin: 1GNDS13S682182602 ## Mail History Id: 26661162, Consumer Id: 471107, Address Id: 9823448 => Updated with Vin: 3GNDA33P28S540888 ## Mail History Id: 26661317, Consumer Id: 471106, Address Id: 9823447 => Updated with Vin: 1GNDT13S962110643 ## Total mail_history records updated with vin numbers: 31 out of 35 ============================================================ ====== Tracking Id: 210 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-03 17:39:25') AND us2_order_type_id = 3 ## Order found: 306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 306 AND product_id = 143 ## Job Group Found: '222' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('222') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm060308001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm060308001') AND customer_id = 3486 ## Mailing found: '11646' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 211 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-03 17:40:31') AND us2_order_type_id = 3 ## Order found: 306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 306 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 212 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-03 17:42:39') AND us2_order_type_id = 3 ## Order found: 306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 306 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 213 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-03 17:43:22') AND us2_order_type_id = 3 ## Order found: 306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 306 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 214 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-03 17:43:50') AND us2_order_type_id = 3 ## Order found: 306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 306 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 215 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-03 17:44:20') AND us2_order_type_id = 3 ## Order found: 306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 306 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 216 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-03 18:18:09') AND us2_order_type_id = 3 ## Order found: 306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 306 AND product_id = 143 ## Job Group Found: '222' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('222') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm060308001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm060308001') AND customer_id = 3486 ## Mailing found: '11646' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26660502, Consumer Id: 479671, Address Id: 1563947 => Updated with Vin: 1G1ND52J516222277 ## Mail History Id: 26660886, Consumer Id: 471029, Address Id: 1567947 => Updated with Vin: 1GNEC13Z04J302425 ## Mail History Id: 26660658, Consumer Id: 465218, Address Id: 9820799 => Updated with Vin: 1GCEC19X34Z295387 ## Mail History Id: 26660497, Consumer Id: 470651, Address Id: 815153 => Updated with Vin: 1GCGG25V671215266 ## Mail History Id: 26661365, Consumer Id: 478963, Address Id: 7540156 => Updated with Vin: 1G1AZ54F557613020 ## Mail History Id: 26661226, Consumer Id: 480008, Address Id: 9824523 => Updated with Vin: 2G1WF52E449168887 ## Mail History Id: 26660824, Consumer Id: 468706, Address Id: 2009020 => Updated with Vin: KL1TD66676B659746 ## Mail History Id: 26661259, Consumer Id: 481614, Address Id: 9824942 => Updated with Vin: 1GCDS196948103529 ## Mail History Id: 26661276, Consumer Id: 485087, Address Id: 9825347 => Updated with Vin: 1G1ZS52F25F320093 ## Mail History Id: 26660460, Consumer Id: 471046, Address Id: 1068442 => Updated with Vin: 1GCJK33618F112427 ## Mail History Id: 26660972, Consumer Id: 486667, Address Id: 9826057 => Updated with Vin: 1GNDT13S122368083 ## Mail History Id: 26660871, Consumer Id: 489570, Address Id: 9826174 => Updated with Vin: 1GCGG25V361136927 ## Mail History Id: 26661015, Consumer Id: 470663, Address Id: 7989828 => Updated with Vin: 2GCEC13J281169542 ## Mail History Id: 26660467, Consumer Id: 471068, Address Id: 2216104 => Updated with Vin: 1G1AL58F987186716 ## Mail History Id: 26661046, Consumer Id: 490420, Address Id: 9823518 => Updated with Vin: 1G1YY22P6R5113929 ## Total mail_history records updated with vin numbers: 15 out of 15 ============================================================ ====== Tracking Id: 217 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-03 18:18:41') AND us2_order_type_id = 3 ## Order found: 306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 306 AND product_id = 143 ## Job Group Found: '222' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('222') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm060308001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm060308001') AND customer_id = 3486 ## Mailing found: '11646' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26660769, Consumer Id: 470627, Address Id: 1034584 => Updated with Vin: 1GCHC23638F152370 ## Mail History Id: 26660495, Consumer Id: 479465, Address Id: 815084 => Updated with Vin: 1GCHK23133F208890 ## Mail History Id: 26660570, Consumer Id: 475854, Address Id: 1073991 => Updated with Vin: 1GCHC29U44E266593 ## Mail History Id: 26660999, Consumer Id: 480452, Address Id: 1035396 => Updated with Vin: JA4LS31H4YP053813 ## Mail History Id: 26661329, Consumer Id: 465904, Address Id: 1066434 => Updated with Vin: 1GCEK19T14E280832 ## Mail History Id: 26660655, Consumer Id: 462821, Address Id: 9819982 => Updated with Vin: 1GNEK13Z22R159012 ## Mail History Id: 26660813, Consumer Id: 480009, Address Id: 1559927 => Updated with Vin: 1GNDS13S132310284 ## Mail History Id: 26660550, Consumer Id: 463384, Address Id: 1037782 => Updated with Vin: 3GNEC16Z23G255331 ## Mail History Id: 26661220, Consumer Id: 463386, Address Id: 1571962 => Updated with Vin: 1GAHG39UX31187888 ## Mail History Id: 26661171, Consumer Id: 463897, Address Id: 5424206 => Updated with Vin: 1GCCS136X48116956 ## Mail History Id: 26660483, Consumer Id: 477206, Address Id: 1031874 => Updated with Vin: 3GNEC16Z03G311024 ## Mail History Id: 26661126, Consumer Id: 464364, Address Id: 8118954 => Updated with Vin: 1GBJC34U84E313367 ## Mail History Id: 26660800, Consumer Id: 464903, Address Id: 1039041 => Updated with Vin: 3GNEC12T24G180729 ## Mail History Id: 26661176, Consumer Id: 470587, Address Id: 9820797 => Updated with Vin: 3GNDA23D77S586750 ## Mail History Id: 26660666, Consumer Id: 466374, Address Id: 2006770 => Updated with Vin: 1G1JC52F457141820 ## Mail History Id: 26660563, Consumer Id: 469170, Address Id: 2002226 => Updated with Vin: 1G1ZS58F37F113853 ## Mail History Id: 26660489, Consumer Id: 466878, Address Id: 814890 => Updated with Vin: 2GCEC13T351369875 ## Mail History Id: 26661187, Consumer Id: 481244, Address Id: 1036225 => Updated with Vin: 1GNES16S236103427 ## Mail History Id: 26661088, Consumer Id: 469839, Address Id: 9822734 => Updated with Vin: 1GNDS13S662192544 ## Mail History Id: 26660460, Consumer Id: 471046, Address Id: 1068442 => Updated with Vin: 1GCJK33618F112427 ## Mail History Id: 26660586, Consumer Id: 486278, Address Id: 1077001 => Updated with Vin: 3GNEC16ZX2G238954 ## Mail History Id: 26660651, Consumer Id: 475987, Address Id: 627577 => Updated with Vin: 1GNEC16Z73J263570 ## Mail History Id: 26660573, Consumer Id: 470580, Address Id: 823107 => Updated with Vin: 1GNEC16Z73J263570 ## Mail History Id: 26660972, Consumer Id: 486667, Address Id: 9826057 => Updated with Vin: 1GNDT13S122368083 ## Mail History Id: 26660547, Consumer Id: 470808, Address Id: 1032234 => Updated with Vin: 1G1ZK57778F187188 ## Mail History Id: 26660472, Consumer Id: 471114, Address Id: 9823451 => Updated with Vin: 3GNEC12J78G190869 ## Mail History Id: 26661189, Consumer Id: 470905, Address Id: 7991225 => Updated with Vin: 1GNFC13C28J174811 ## Mail History Id: 26660454, Consumer Id: 471082, Address Id: 9823432 => Updated with Vin: 3GNEC12J88G136271 ## Mail History Id: 26660763, Consumer Id: 470913, Address Id: 3854728 => Updated with Vin: 1GNDS13S682182602 ## Mail History Id: 26661162, Consumer Id: 471107, Address Id: 9823448 => Updated with Vin: 3GNDA33P28S540888 ## Mail History Id: 26661317, Consumer Id: 471106, Address Id: 9823447 => Updated with Vin: 1GNDT13S962110643 ## Total mail_history records updated with vin numbers: 31 out of 35 ============================================================ ====== Tracking Id: 218 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-03 18:19:00') AND us2_order_type_id = 3 ## Order found: 306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 306 AND product_id = 143 ## Job Group Found: '222' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('222') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm060308001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm060308001') AND customer_id = 3486 ## Mailing found: '11646' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 219 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-03 18:19:18') AND us2_order_type_id = 3 ## Order found: 306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 306 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 220 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-03 18:19:38') AND us2_order_type_id = 3 ## Order found: 306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 306 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 221 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-03 18:20:12') AND us2_order_type_id = 3 ## Order found: 306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 306 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 222 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-03 18:20:28') AND us2_order_type_id = 3 ## Order found: 306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 306 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 223 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-03 18:20:45') AND us2_order_type_id = 3 ## Order found: 306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 306 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 224 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-03 18:23:00') AND us2_order_type_id = 3 ## Order found: 306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 306 AND product_id = 143 ## Job Group Found: '222' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('222') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm060308001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm060308001') AND customer_id = 3486 ## Mailing found: '11646' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26661024, Consumer Id: 477265, Address Id: 2013225 => Updated with Vin: 1G1YY22G5W5127591 ## Mail History Id: 26661145, Consumer Id: 484401, Address Id: 677485 => Updated with Vin: 5GRGN23U06H101820 ## Mail History Id: 26660769, Consumer Id: 468938, Address Id: 1034584 => Updated with Vin: 1GCCS148X68238560 ## Mail History Id: 26661106, Consumer Id: 477326, Address Id: 9823949 => Updated with Vin: 2G1WF52E229116445 ## Mail History Id: 26661070, Consumer Id: 481405, Address Id: 1569424 => Updated with Vin: 1FTSW31F22EB93320 ## Mail History Id: 26660570, Consumer Id: 475854, Address Id: 1073991 => Updated with Vin: 1GCHC29U44E266593 ## Mail History Id: 26661125, Consumer Id: 481158, Address Id: 1035767 => Updated with Vin: 2G1WW12E619168782 ## Mail History Id: 26661159, Consumer Id: 475986, Address Id: 1035946 => Updated with Vin: 1GCEC19T64Z246195 ## Mail History Id: 26660937, Consumer Id: 462351, Address Id: 1560524 => Updated with Vin: 1GCEC19VX3Z219145 ## Mail History Id: 26661102, Consumer Id: 463894, Address Id: 8118706 => Updated with Vin: 1GNEC13Z74J222992 ## Mail History Id: 26660887, Consumer Id: 463895, Address Id: 1035135 => Updated with Vin: 1GNEC13Z24R199963 ## Mail History Id: 26660536, Consumer Id: 465533, Address Id: 5263462 => Updated with Vin: 1GCDS136658174147 ## Mail History Id: 26660461, Consumer Id: 485747, Address Id: 9825636 => Updated with Vin: 1GBEG25K0SF205152 ## Mail History Id: 26660980, Consumer Id: 476667, Address Id: 4377955 => Updated with Vin: 1GNEC16Z04J250242 ## Mail History Id: 26660750, Consumer Id: 479069, Address Id: 635066 => Updated with Vin: 2GCEK13T251158198 ## Mail History Id: 26660519, Consumer Id: 468264, Address Id: 9821962 => Updated with Vin: 3GNDA23PX6S590719 ## Mail History Id: 26661321, Consumer Id: 480908, Address Id: 1037046 => Updated with Vin: 1GNFK16367J172279 ## Mail History Id: 26661357, Consumer Id: 469178, Address Id: 7540122 => Updated with Vin: 1GNEK13Z54R125102 ## Mail History Id: 26660875, Consumer Id: 484333, Address Id: 9825116 => Updated with Vin: 1GNEK13T61J104751 ## Mail History Id: 26660830, Consumer Id: 469028, Address Id: 4376537 => Updated with Vin: 3GNDA23D07S535526 ## Mail History Id: 26660631, Consumer Id: 485354, Address Id: 627292 => Updated with Vin: 1GNFC13037R276947 ## Mail History Id: 26661081, Consumer Id: 469836, Address Id: 9822731 => Updated with Vin: 1GCFG15X871139573 ## Mail History Id: 26661304, Consumer Id: 470094, Address Id: 9822890 => Updated with Vin: 1GCHK23657F547491 ## Mail History Id: 26660790, Consumer Id: 471105, Address Id: 3288373 => Updated with Vin: 1GNES13H572218612 ## Mail History Id: 26661338, Consumer Id: 486607, Address Id: 9826028 => Updated with Vin: 1G2WP52K01F182285 ## Mail History Id: 26661372, Consumer Id: 486529, Address Id: 4135228 => Updated with Vin: 1G1AK55FX67882456 ## Mail History Id: 26661122, Consumer Id: 489509, Address Id: 9826146 => Updated with Vin: 1G1AL55F467797299 ## Mail History Id: 26660594, Consumer Id: 470648, Address Id: 9823207 => Updated with Vin: 3GNDA23P08S516826 ## Mail History Id: 26661251, Consumer Id: 470787, Address Id: 1213781 => Updated with Vin: 3GNDA53P68S583383 ## Mail History Id: 26661065, Consumer Id: 470898, Address Id: 934727 => Updated with Vin: 1GNES16S256120859 ## Mail History Id: 26661245, Consumer Id: 470899, Address Id: 9823346 => Updated with Vin: 1G1ZU64864F172981 ## Mail History Id: 26660895, Consumer Id: 490441, Address Id: 9826542 => Updated with Vin: 2G1WB58K979373330 ## Mail History Id: 26661014, Consumer Id: 470979, Address Id: 4378154 => Updated with Vin: 1GNFC13018J103878 ## Mail History Id: 26660678, Consumer Id: 486608, Address Id: 5284800 => Updated with Vin: 1GCHG39R411101359 ## Mail History Id: 26660832, Consumer Id: 470921, Address Id: 4376608 => Updated with Vin: 3GCEK13J38G238278 ## Total mail_history records updated with vin numbers: 35 out of 36 ============================================================ ====== Tracking Id: 225 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-03 18:23:44') AND us2_order_type_id = 3 ## Order found: 306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 306 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 226 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-12 14:12:52') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 227 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-04 08:12:25') AND us2_order_type_id = 3 ## Order found: 324 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 324 AND product_id = 55 ## Job Group Found: '298' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('298') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108002') AND customer_id = 3230 ## Mailing found: '12293' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 228 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-04 08:42:47') AND us2_order_type_id = 3 ## Order found: 324 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 324 AND product_id = 143 ## Job Group Found: '297' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('297') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108001') AND customer_id = 3230 ## Mailing found: '12290' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676225, Consumer Id: 65042, Address Id: 52774 => Updated with Vin: 2FMZA5142XBC46474 ## Mail History Id: 26676319, Consumer Id: 93094, Address Id: 51523 => Updated with Vin: 1FTXW43R68EB13450 ## Mail History Id: 26676316, Consumer Id: 93216, Address Id: 51627 => Updated with Vin: 1FAHP37N37W290460 ## Mail History Id: 26676250, Consumer Id: 41921, Address Id: 67776 => Updated with Vin: 2FMZA51636BA04888 ## Mail History Id: 26676252, Consumer Id: 93422, Address Id: 50051 => Updated with Vin: 1FAHP24W98G134202 ## Mail History Id: 26676303, Consumer Id: 38377, Address Id: 49060 => Updated with Vin: 1FAFP28165G142453 ## Mail History Id: 26676337, Consumer Id: 92896, Address Id: 50892 => Updated with Vin: 1FTRW14507FA87228 ## Mail History Id: 26676207, Consumer Id: 67183, Address Id: 52850 => Updated with Vin: 1FDRE1424XHB36553 ## Mail History Id: 26676305, Consumer Id: 38572, Address Id: 51682 => Updated with Vin: 1FMCU93Z88KA95760 ## Mail History Id: 26676325, Consumer Id: 63907, Address Id: 52156 => Updated with Vin: 1FMZU72K74UC07370 ## Mail History Id: 26676127, Consumer Id: 65695, Address Id: 47216 => Updated with Vin: 1FMYU93125KD87223 ## Mail History Id: 26676075, Consumer Id: 93008, Address Id: 51439 => Updated with Vin: 1FTSW21RX8EA78901 ## Mail History Id: 26676065, Consumer Id: 65560, Address Id: 51935 => Updated with Vin: 4B3AG52H81E117815 ## Mail History Id: 26676069, Consumer Id: 102892, Address Id: 53426 => Updated with Vin: 1FTEF14Y9SLA15155 ## Mail History Id: 26676251, Consumer Id: 93507, Address Id: 50424 => Updated with Vin: 3FAHP07Z88R189954 ## Mail History Id: 26676361, Consumer Id: 93311, Address Id: 50058 => Updated with Vin: 1FAFP34N15W110241 ## Mail History Id: 26676335, Consumer Id: 65000, Address Id: 48205 => Updated with Vin: 1FAFP58U22G140948 ## Mail History Id: 26676064, Consumer Id: 65450, Address Id: 49506 => Updated with Vin: 1FTWW31P75ED00084 ## Mail History Id: 26676143, Consumer Id: 63950, Address Id: 48563 => Updated with Vin: 2FMZA57625BA20098 ## Mail History Id: 26676161, Consumer Id: 92538, Address Id: 48052 => Updated with Vin: 1FMZK06126GA26810 ## Mail History Id: 26676103, Consumer Id: 63498, Address Id: 48922 => Updated with Vin: 1FMCU04102KC92854 ## Mail History Id: 26676113, Consumer Id: 67311, Address Id: 48564 => Updated with Vin: 2MEFM74W01X614618 ## Mail History Id: 26676246, Consumer Id: 38504, Address Id: 49153 => Updated with Vin: 1FTSW21P55EA62454 ## Mail History Id: 26676151, Consumer Id: 64895, Address Id: 47465 => Updated with Vin: 1FMYU01181KC39358 ## Mail History Id: 26676165, Consumer Id: 93272, Address Id: 47774 => Updated with Vin: 1FAHP34N07W339148 ## Mail History Id: 26676281, Consumer Id: 38587, Address Id: 51690 => Updated with Vin: 2FMDK49CX7BB52825 ## Mail History Id: 26676240, Consumer Id: 102894, Address Id: 53428 => Updated with Vin: 1FMSU43F12EB78845 ## Mail History Id: 26676081, Consumer Id: 93562, Address Id: 52068 => Updated with Vin: 1B3EJ46X8WN336989 ## Mail History Id: 26676237, Consumer Id: 92866, Address Id: 51285 => Updated with Vin: 3FAHP08127R150638 ## Mail History Id: 26676221, Consumer Id: 62942, Address Id: 48533 => Updated with Vin: 1FTYR14V62TA72083 ## Mail History Id: 26676054, Consumer Id: 93371, Address Id: 51850 => Updated with Vin: 3FAHP01187R168426 ## Mail History Id: 26676215, Consumer Id: 102893, Address Id: 53427 => Updated with Vin: 4B3AU52N9VE023348 ## Mail History Id: 26676255, Consumer Id: 93559, Address Id: 52066 => Updated with Vin: 3C4FY48B64T357000 ## Mail History Id: 26676293, Consumer Id: 102890, Address Id: 53424 => Updated with Vin: 1FMCU93178KA56135 ## Total mail_history records updated with vin numbers: 34 out of 37 ============================================================ ====== Tracking Id: 229 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-04 10:15:31') AND us2_order_type_id = 3 ## Order found: 325 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 325 AND product_id = 143 ## Job Group Found: '297' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('297') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108001') AND customer_id = 3486 ## Mailing found: '12292' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676080, Consumer Id: 477428, Address Id: 1035477 => Updated with Vin: 1GNEC16T41J241065 ## Mail History Id: 26676096, Consumer Id: 490349, Address Id: 1072221 => Updated with Vin: 1GCGG25C481104604 ## Mail History Id: 26676122, Consumer Id: 486528, Address Id: 1033587 => Updated with Vin: 2G1WB58K579300052 ## Mail History Id: 26676068, Consumer Id: 468259, Address Id: 1035273 => Updated with Vin: 1GNFC13067J159085 ## Mail History Id: 26676188, Consumer Id: 478404, Address Id: 4374784 => Updated with Vin: 1GCEG15X831238464 ## Mail History Id: 26676148, Consumer Id: 475856, Address Id: 1034770 => Updated with Vin: 1GNDX13E01D263052 ## Mail History Id: 26676212, Consumer Id: 476846, Address Id: 9823838 => Updated with Vin: 1GNEC13Z12J183457 ## Mail History Id: 26676192, Consumer Id: 464374, Address Id: 9820532 => Updated with Vin: 1GCGG29U141207928 ## Mail History Id: 26676232, Consumer Id: 467841, Address Id: 9820898 => Updated with Vin: 1G1YY36U265106722 ## Mail History Id: 26676108, Consumer Id: 476460, Address Id: 4376608 => Updated with Vin: 1FBSS31S9XHB42223 ## Mail History Id: 26676326, Consumer Id: 466928, Address Id: 9821352 => Updated with Vin: 1G1ZT52825F333067 ## Mail History Id: 26676138, Consumer Id: 467337, Address Id: 5419991 => Updated with Vin: 1GBJG31U231236557 ## Mail History Id: 26676070, Consumer Id: 479070, Address Id: 4372954 => Updated with Vin: 2GCEC13T251293145 ## Mail History Id: 26676140, Consumer Id: 467777, Address Id: 9821725 => Updated with Vin: 3GNEC12Z46G140644 ## Mail History Id: 26676214, Consumer Id: 481018, Address Id: 3050451 => Updated with Vin: 1GNES16S146236049 ## Mail History Id: 26676166, Consumer Id: 481635, Address Id: 1036905 => Updated with Vin: 1GDJG31R7X1056645 ## Mail History Id: 26676220, Consumer Id: 481684, Address Id: 9824962 => Updated with Vin: 1GNCS13W5T2305622 ## Mail History Id: 26676130, Consumer Id: 469842, Address Id: 3274428 => Updated with Vin: 1GNFC13017J333063 ## Mail History Id: 26676206, Consumer Id: 485359, Address Id: 8236169 => Updated with Vin: 2G1WB58K379103168 ## Mail History Id: 26676202, Consumer Id: 489604, Address Id: 9822874 => Updated with Vin: 2GCEC13ZX71155408 ## Mail History Id: 26676114, Consumer Id: 470241, Address Id: 1536332 => Updated with Vin: 1GCDS199178220729 ## Mail History Id: 26676100, Consumer Id: 486253, Address Id: 3288373 => Updated with Vin: 1GNDS13S922261754 ## Mail History Id: 26676318, Consumer Id: 470242, Address Id: 9822967 => Updated with Vin: 1GNES13H772153441 ## Mail History Id: 26676190, Consumer Id: 486477, Address Id: 9825427 => Updated with Vin: 1GNEC13T95R173518 ## Mail History Id: 26676092, Consumer Id: 486667, Address Id: 9826057 => Updated with Vin: 1GNDT13S122368083 ## Mail History Id: 26676332, Consumer Id: 470884, Address Id: 9823338 => Updated with Vin: 1GNEK13T95R161145 ## Mail History Id: 26676142, Consumer Id: 470913, Address Id: 3854728 => Updated with Vin: 1GNDS13S682182602 ## Mail History Id: 26676108, Consumer Id: 470921, Address Id: 4376608 => Updated with Vin: 3GCEK13J38G238278 ## Total mail_history records updated with vin numbers: 28 out of 32 ============================================================ ====== Tracking Id: 230 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-06-04 10:50:24') AND us2_order_type_id = 3 ## Order found: 326 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 326 AND product_id = 54 ## Job Group Found: '216' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('216') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele060408001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele060408001a') AND customer_id = 3525 ## Mailing found: '11615' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 231 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-04 10:51:44') AND us2_order_type_id = 3 ## Order found: 325 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 325 AND product_id = 54 ## Job Group Found: '215' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('215') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele060408002a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele060408002a') AND customer_id = 3486 ## Mailing found: '11616' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 232 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-04 11:12:34') AND us2_order_type_id = 3 ## Order found: 325 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 325 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 233 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-04 11:42:42') AND us2_order_type_id = 3 ## Order found: 328 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 328 AND product_id = 142 ## Job Group Found: '297' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('297') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108001') AND customer_id = 3357 ## Mailing found: '12291' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676274, Consumer Id: 151588, Address Id: 393979 => Updated with Vin: 2FAFP73WX5X114522 ## Mail History Id: 26676294, Consumer Id: 155393, Address Id: 397448 => Updated with Vin: 3LNHM28T48R608564 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 234 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-04 11:42:44') AND us2_order_type_id = 3 ## Order found: 328 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 328 AND product_id = 112 ## Job Group Found: '299' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('299') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108004') AND customer_id = 3357 ## Mailing found: '12296' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 235 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-06-04 18:48:54') AND us2_order_type_id = 3 ## Order found: 329 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '10' AND store_id = 2 ## Product Id found: 60 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 329 AND product_id = 60 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 236 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-05 08:08:54') AND us2_order_type_id = 3 ## Order found: 331 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 331 AND product_id = 55 ## Job Group Found: '298' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('298') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108002') AND customer_id = 3230 ## Mailing found: '12293' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676374, Consumer Id: 1622262, Address Id: 50949 => Updated with Vin: 1FTRW14W48FA12347 ## Mail History Id: 26676376, Consumer Id: 1026162, Address Id: 48110 => Updated with Vin: 1FTZR45EX8PA84078 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 237 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-05 08:39:17') AND us2_order_type_id = 3 ## Order found: 331 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 331 AND product_id = 113 ## Job Group Found: '299' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('299') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108004') AND customer_id = 3230 ## Mailing found: '12295' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676535, Consumer Id: 103718, Address Id: 53806 => Updated with Vin: 2G1WF52E649174710 ## Mail History Id: 26676537, Consumer Id: 103715, Address Id: 48759 => Updated with Vin: 1FMEU73E07UB35231 ## Mail History Id: 26676539, Consumer Id: 65741, Address Id: 49991 => Updated with Vin: 1FAFP53U63G128598 ## Mail History Id: 26676541, Consumer Id: 103713, Address Id: 52372 => Updated with Vin: 1FAFP33P82W181631 ## Mail History Id: 26676543, Consumer Id: 66910, Address Id: 49724 => Updated with Vin: 1FTWW31P15ED36997 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 238 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-05 08:39:32') AND us2_order_type_id = 3 ## Order found: 331 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 331 AND product_id = 143 ## Job Group Found: '297' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('297') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108001') AND customer_id = 3230 ## Mailing found: '12290' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676115, Consumer Id: 67761, Address Id: 47429 => Updated with Vin: 1FAFP53U92G117464 ## Mail History Id: 26676346, Consumer Id: 67230, Address Id: 50489 => Updated with Vin: 1FTSW21P76EA88409 ## Mail History Id: 26676265, Consumer Id: 64518, Address Id: 49249 => Updated with Vin: 1FTWX31515EC66574 ## Mail History Id: 26676213, Consumer Id: 93564, Address Id: 52069 => Updated with Vin: 1FMCU93Z48KC69064 ## Mail History Id: 26676321, Consumer Id: 92998, Address Id: 51419 => Updated with Vin: 1FAHP37N87W282337 ## Mail History Id: 26676269, Consumer Id: 102865, Address Id: 53410 => Updated with Vin: 3FAHP07167R130250 ## Mail History Id: 26676244, Consumer Id: 93587, Address Id: 47699 => Updated with Vin: 1FMZK02105GA58630 ## Mail History Id: 26676256, Consumer Id: 92388, Address Id: 50568 => Updated with Vin: 1FAFP281X6G140903 ## Mail History Id: 26676259, Consumer Id: 528042, Address Id: 49108 => Updated with Vin: 1FMZK02165GA31450 ## Mail History Id: 26676060, Consumer Id: 93580, Address Id: 66955 => Updated with Vin: 2FMDK38C38BA59951 ## Mail History Id: 26676299, Consumer Id: 63617, Address Id: 52606 => Updated with Vin: 1FMZU73K44UA93746 ## Mail History Id: 26676195, Consumer Id: 66529, Address Id: 48032 => Updated with Vin: 1FMYU93166KB66452 ## Mail History Id: 26676201, Consumer Id: 64979, Address Id: 48144 => Updated with Vin: 1FTNW21L42ED04592 ## Mail History Id: 26676203, Consumer Id: 63034, Address Id: 47708 => Updated with Vin: 1FAHP36301W259500 ## Mail History Id: 26676315, Consumer Id: 63151, Address Id: 47448 => Updated with Vin: 1FMYU92193KB86806 ## Mail History Id: 26676357, Consumer Id: 93292, Address Id: 51800 => Updated with Vin: 1FTPW14V87FB21990 ## Mail History Id: 26676069, Consumer Id: 102892, Address Id: 53426 => Updated with Vin: 1FTEF14Y9SLA15155 ## Mail History Id: 26676339, Consumer Id: 64534, Address Id: 50602 => Updated with Vin: 1FTNX21F9YEA18916 ## Mail History Id: 26676361, Consumer Id: 93312, Address Id: 50058 => Updated with Vin: 1G2WK52JX2F290713 ## Mail History Id: 26676239, Consumer Id: 92782, Address Id: 51203 => Updated with Vin: 3FAHP07177R170529 ## Mail History Id: 26676064, Consumer Id: 93561, Address Id: 49506 => Updated with Vin: 1FMDK06186GA23162 ## Mail History Id: 26676181, Consumer Id: 63944, Address Id: 47504 => Updated with Vin: 1MELM50U4TG632740 ## Mail History Id: 26676058, Consumer Id: 65344, Address Id: 48634 => Updated with Vin: 2FTRX18W81CA39527 ## Mail History Id: 26676131, Consumer Id: 93563, Address Id: 49008 => Updated with Vin: 1FAHP33N98W147102 ## Mail History Id: 26676297, Consumer Id: 66763, Address Id: 53126 => Updated with Vin: 1FMRU1868XLB19591 ## Mail History Id: 26676185, Consumer Id: 63774, Address Id: 50179 => Updated with Vin: 1FMYU04172KB53293 ## Mail History Id: 26676133, Consumer Id: 63605, Address Id: 48786 => Updated with Vin: 1FAFP55S44G124434 ## Mail History Id: 26676287, Consumer Id: 63651, Address Id: 50165 => Updated with Vin: 1FTRX18L83NA71767 ## Mail History Id: 26676329, Consumer Id: 93095, Address Id: 51524 => Updated with Vin: 1FAFP241X7G120836 ## Mail History Id: 26676242, Consumer Id: 102885, Address Id: 52034 => Updated with Vin: 1FMSU43P95ED44591 ## Mail History Id: 26676079, Consumer Id: 102891, Address Id: 53425 => Updated with Vin: 1FTRF12W95NA93110 ## Mail History Id: 26676327, Consumer Id: 102888, Address Id: 53423 => Updated with Vin: 1GTEK19V5YE141746 ## Mail History Id: 26676073, Consumer Id: 67089, Address Id: 48020 => Updated with Vin: 2MEFM74W95X619905 ## Mail History Id: 26676343, Consumer Id: 102886, Address Id: 53422 => Updated with Vin: 1FMYU93123KD76655 ## Mail History Id: 26676199, Consumer Id: 93247, Address Id: 47300 => Updated with Vin: 1FTRF12217NA79055 ## Mail History Id: 26676227, Consumer Id: 93583, Address Id: 67443 => Updated with Vin: 3FAHP07Z78R194823 ## Total mail_history records updated with vin numbers: 36 out of 40 ============================================================ ====== Tracking Id: 239 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-05 10:13:18') AND us2_order_type_id = 3 ## Order found: 332 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 332 AND product_id = 143 ## Job Group Found: '297' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('297') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108001') AND customer_id = 3486 ## Mailing found: '12292' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676170, Consumer Id: 464856, Address Id: 9820685 => Updated with Vin: 2CNDL13F056032620 ## Mail History Id: 26676086, Consumer Id: 478170, Address Id: 1035472 => Updated with Vin: 1GNDX03EXWD227337 ## Mail History Id: 26676154, Consumer Id: 476091, Address Id: 1561572 => Updated with Vin: 2G1WF55E1Y9128705 ## Mail History Id: 26676180, Consumer Id: 468269, Address Id: 2520906 => Updated with Vin: 1GCGG25V561153759 ## Mail History Id: 26676236, Consumer Id: 469150, Address Id: 9820527 => Updated with Vin: 3GNFK12327G221162 ## Mail History Id: 26676226, Consumer Id: 469499, Address Id: 9820258 => Updated with Vin: 3GCEC14X87G249033 ## Mail History Id: 26676232, Consumer Id: 467841, Address Id: 9820898 => Updated with Vin: 1G1YY36U265106722 ## Mail History Id: 26676184, Consumer Id: 469181, Address Id: 8116087 => Updated with Vin: 1GCEC19037Z503968 ## Mail History Id: 26676150, Consumer Id: 465383, Address Id: 1559558 => Updated with Vin: 2GCEC19T141350361 ## Mail History Id: 26676084, Consumer Id: 475672, Address Id: 1548686 => Updated with Vin: 2G1FP22S0S2126689 ## Mail History Id: 26676120, Consumer Id: 465983, Address Id: 1033159 => Updated with Vin: 3GNEC12T94G303152 ## Mail History Id: 26676066, Consumer Id: 477057, Address Id: 2518805 => Updated with Vin: 1GCCS136758204302 ## Mail History Id: 26676082, Consumer Id: 469096, Address Id: 1035146 => Updated with Vin: 3GNDA23P76S643389 ## Mail History Id: 26676224, Consumer Id: 479791, Address Id: 8119703 => Updated with Vin: 1GCHC29D76E190709 ## Mail History Id: 26676102, Consumer Id: 468236, Address Id: 9821951 => Updated with Vin: 1GNDV23L76D228543 ## Mail History Id: 26676126, Consumer Id: 468695, Address Id: 675807 => Updated with Vin: 1GCHC23UX6F258973 ## Mail History Id: 26676234, Consumer Id: 485269, Address Id: 9825425 => Updated with Vin: 1G1YY24U355114503 ## Mail History Id: 26676110, Consumer Id: 469843, Address Id: 9822736 => Updated with Vin: 2GCEC19TX51226896 ## Mail History Id: 26676206, Consumer Id: 485359, Address Id: 8236169 => Updated with Vin: 2G1WB58K379103168 ## Mail History Id: 26676202, Consumer Id: 489604, Address Id: 9822874 => Updated with Vin: 2GCEC13ZX71155408 ## Mail History Id: 26676100, Consumer Id: 471105, Address Id: 3288373 => Updated with Vin: 1GNES13H572218612 ## Mail History Id: 26676156, Consumer Id: 470978, Address Id: 9823380 => Updated with Vin: 2GCEC19V451107226 ## Mail History Id: 26676322, Consumer Id: 470930, Address Id: 9823359 => Updated with Vin: 1GKEC16Z52J203315 ## Total mail_history records updated with vin numbers: 23 out of 24 ============================================================ ====== Tracking Id: 240 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-05 11:09:23') AND us2_order_type_id = 3 ## Order found: 332 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 332 AND product_id = 113 ## Job Group Found: '299' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('299') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108004') AND customer_id = 3486 ## Mailing found: '12297' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676518, Consumer Id: 462377, Address Id: 9819831 => Updated with Vin: 1GCCS19X938257550 ## Mail History Id: 26676520, Consumer Id: 476563, Address Id: 9823795 => Updated with Vin: 1GCCS19X538211438 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 241 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-05 11:10:55') AND us2_order_type_id = 3 ## Order found: 332 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 332 AND product_id = 112 ## Job Group Found: '299' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('299') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108004') AND customer_id = 3486 ## Mailing found: '12297' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676574, Consumer Id: 466007, Address Id: 1035853 => Updated with Vin: 2GCEK13T551281431 ## Mail History Id: 26676576, Consumer Id: 477144, Address Id: 1343668 => Updated with Vin: 1GNDS13S122356888 ## Mail History Id: 26676578, Consumer Id: 477922, Address Id: 2211724 => Updated with Vin: 1GCEK19R5WR150763 ## Mail History Id: 26676580, Consumer Id: 464651, Address Id: 4372424 => Updated with Vin: 1GCCS136548207777 ## Mail History Id: 26676582, Consumer Id: 466957, Address Id: 1216371 => Updated with Vin: 1GNES16S056177156 ## Mail History Id: 26676584, Consumer Id: 478788, Address Id: 7539996 => Updated with Vin: 2G4WS52JXY1238201 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 242 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-05 11:11:07') AND us2_order_type_id = 3 ## Order found: 332 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 332 AND product_id = 114 ## Job Group Found: '299' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('299') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108004') AND customer_id = 3486 ## Mailing found: '12297' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676586, Consumer Id: 463424, Address Id: 1566287 => Updated with Vin: 2G1WF52E629223949 ## Mail History Id: 26676588, Consumer Id: 480982, Address Id: 9824754 => Updated with Vin: 2G1WF52E359130665 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 243 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-05 11:39:03') AND us2_order_type_id = 3 ## Order found: 333 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 333 AND product_id = 142 ## Job Group Found: '297' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('297') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108001') AND customer_id = 3357 ## Mailing found: '12291' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676352, Consumer Id: 189024, Address Id: 399315 => Updated with Vin: 1FMDU73E74ZB16539 ## Mail History Id: 26676290, Consumer Id: 225061, Address Id: 434498 => Updated with Vin: 1FTPW14525KD44529 ## Mail History Id: 26676300, Consumer Id: 152381, Address Id: 394713 => Updated with Vin: 3FAHP08116R135076 ## Mail History Id: 26676266, Consumer Id: 154311, Address Id: 396480 => Updated with Vin: 1ZVHT88S775295719 ## Mail History Id: 26676306, Consumer Id: 225060, Address Id: 434497 => Updated with Vin: 1FDEE14N8RHB40200 ## Mail History Id: 26676292, Consumer Id: 224966, Address Id: 434408 => Updated with Vin: 1LNFM92V2WY719879 ## Mail History Id: 26676282, Consumer Id: 224963, Address Id: 434405 => Updated with Vin: 1FTNX21F1YEA07537 ## Total mail_history records updated with vin numbers: 7 out of 9 ============================================================ ====== Tracking Id: 244 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3402 AND DATE(cart_created_date) = DATE('2008-06-05 17:41:05') AND us2_order_type_id = 3 ## Order found: 334 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '10' AND store_id = 2 ## Product Id found: 60 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 334 AND product_id = 60 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 245 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-06 08:08:48') AND us2_order_type_id = 3 ## Order found: 336 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 336 AND product_id = 55 ## Job Group Found: '298' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('298') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108002') AND customer_id = 3230 ## Mailing found: '12293' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 246 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-06 08:39:06') AND us2_order_type_id = 3 ## Order found: 336 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 336 AND product_id = 113 ## Job Group Found: '299' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('299') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108004') AND customer_id = 3230 ## Mailing found: '12295' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676545, Consumer Id: 1291644, Address Id: 14991498 => Updated with Vin: 1FTPX14536NA09194 ## Mail History Id: 26676549, Consumer Id: 103496, Address Id: 53695 => Updated with Vin: 1FAFP25136G138687 ## Mail History Id: 26676551, Consumer Id: 1175116, Address Id: 51121 => Updated with Vin: 1FTYR44U02PA56611 ## Mail History Id: 26676555, Consumer Id: 65938, Address Id: 51704 => Updated with Vin: 1FAFP5528YG218371 ## Mail History Id: 26676557, Consumer Id: 38567, Address Id: 51679 => Updated with Vin: 1C3EL46X66N130678 ## Total mail_history records updated with vin numbers: 5 out of 8 ============================================================ ====== Tracking Id: 247 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-06 08:39:16') AND us2_order_type_id = 3 ## Order found: 336 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 336 AND product_id = 143 ## Job Group Found: '297' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('297') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108001') AND customer_id = 3230 ## Mailing found: '12290' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676225, Consumer Id: 65042, Address Id: 52774 => Updated with Vin: 2FMZA5142XBC46474 ## Mail History Id: 26676149, Consumer Id: 102903, Address Id: 47796 => Updated with Vin: 1FARP11JXRW229348 ## Mail History Id: 26676219, Consumer Id: 63718, Address Id: 48710 => Updated with Vin: 1FALP53U9SG116298 ## Mail History Id: 26676353, Consumer Id: 93528, Address Id: 52028 => Updated with Vin: 1FMZU77K04UA38902 ## Mail History Id: 26676351, Consumer Id: 102900, Address Id: 53432 => Updated with Vin: 1FMZU77E51UB01126 ## Mail History Id: 26676313, Consumer Id: 65657, Address Id: 48188 => Updated with Vin: 1FTRX14W25FA86133 ## Mail History Id: 26676309, Consumer Id: 67573, Address Id: 50664 => Updated with Vin: 1FAFP24166G155811 ## Mail History Id: 26676289, Consumer Id: 63541, Address Id: 48135 => Updated with Vin: 1MEFM50U42A647091 ## Mail History Id: 26676273, Consumer Id: 67080, Address Id: 50522 => Updated with Vin: 1FAFP33P6YW352000 ## Mail History Id: 26676087, Consumer Id: 93567, Address Id: 52070 => Updated with Vin: 1ZVHT82H385157433 ## Mail History Id: 26676123, Consumer Id: 66696, Address Id: 49453 => Updated with Vin: 1FTPW14574KC37250 ## Mail History Id: 26676181, Consumer Id: 64285, Address Id: 47504 => Updated with Vin: 1FAFP56SX2G271191 ## Mail History Id: 26676147, Consumer Id: 64090, Address Id: 51120 => Updated with Vin: 1FTZR15E91TA51777 ## Mail History Id: 26676109, Consumer Id: 102899, Address Id: 53431 => Updated with Vin: 1FMDU35PXXZB84779 ## Mail History Id: 26676141, Consumer Id: 63866, Address Id: 52630 => Updated with Vin: 2FTRX18L21CA75879 ## Mail History Id: 26676137, Consumer Id: 64631, Address Id: 49397 => Updated with Vin: 1FAFP24155G174784 ## Mail History Id: 26676285, Consumer Id: 102897, Address Id: 52847 => Updated with Vin: 2FTDX18W8VCA80563 ## Mail History Id: 26676279, Consumer Id: 93411, Address Id: 48798 => Updated with Vin: 1FAHP24W78G129774 ## Mail History Id: 26676301, Consumer Id: 102898, Address Id: 53430 => Updated with Vin: 1FMPU16LX3LB78054 ## Mail History Id: 26676063, Consumer Id: 93571, Address Id: 48423 => Updated with Vin: 3FAHP02138R199955 ## Mail History Id: 26676355, Consumer Id: 93569, Address Id: 52072 => Updated with Vin: 1FTSW21R98ED25440 ## Total mail_history records updated with vin numbers: 21 out of 25 ============================================================ ====== Tracking Id: 248 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-06 10:12:47') AND us2_order_type_id = 3 ## Order found: 337 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 337 AND product_id = 143 ## Job Group Found: '297' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('297') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108001') AND customer_id = 3486 ## Mailing found: '12292' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676168, Consumer Id: 490431, Address Id: 1562982 => Updated with Vin: 3GNFK12327G288182 ## Mail History Id: 26676112, Consumer Id: 470656, Address Id: 1557656 => Updated with Vin: 1GCCS13EX88133687 ## Mail History Id: 26676104, Consumer Id: 480187, Address Id: 1038928 => Updated with Vin: 2GCEC19T9Y1105989 ## Mail History Id: 26676330, Consumer Id: 463892, Address Id: 639017 => Updated with Vin: 1GNDS13S542243254 ## Mail History Id: 26676136, Consumer Id: 479459, Address Id: 1035119 => Updated with Vin: 1G1YY22G025130182 ## Mail History Id: 26676146, Consumer Id: 463662, Address Id: 1034901 => Updated with Vin: 3GNEC12T24G172162 ## Mail History Id: 26676134, Consumer Id: 476278, Address Id: 932666 => Updated with Vin: 1GNDS13S822481189 ## Mail History Id: 26676184, Consumer Id: 469181, Address Id: 8116087 => Updated with Vin: 1GCEC19037Z503968 ## Mail History Id: 26676162, Consumer Id: 468270, Address Id: 1036616 => Updated with Vin: 2GCEK13TX61103242 ## Mail History Id: 26676158, Consumer Id: 490418, Address Id: 1035810 => Updated with Vin: 1G1BL52P8TR107796 ## Mail History Id: 26676186, Consumer Id: 470244, Address Id: 9821039 => Updated with Vin: 2CNDL63F276238022 ## Mail History Id: 26676120, Consumer Id: 465983, Address Id: 1033159 => Updated with Vin: 3GNEC12T94G303152 ## Mail History Id: 26676144, Consumer Id: 471091, Address Id: 5419906 => Updated with Vin: 5S3ET13S462804356 ## Mail History Id: 26676078, Consumer Id: 484484, Address Id: 9825156 => Updated with Vin: 1GKDS13S762274201 ## Mail History Id: 26676324, Consumer Id: 484843, Address Id: 9825276 => Updated with Vin: 3GNEK12Z95G184656 ## Mail History Id: 26676072, Consumer Id: 485320, Address Id: 9825448 => Updated with Vin: 1GCEC19T97Z160013 ## Mail History Id: 26676202, Consumer Id: 470073, Address Id: 9822874 => Updated with Vin: 1GNFC16J87R406452 ## Mail History Id: 26676348, Consumer Id: 470914, Address Id: 4135228 => Updated with Vin: 2G1WB58K369177429 ## Mail History Id: 26676090, Consumer Id: 470977, Address Id: 3288295 => Updated with Vin: 4NUDS13SX82700353 ## Mail History Id: 26676334, Consumer Id: 471107, Address Id: 9823448 => Updated with Vin: 3GNDA33P28S540888 ## Mail History Id: 26676218, Consumer Id: 470923, Address Id: 9823355 => Updated with Vin: 2GCEK13C981125123 ## Mail History Id: 26676174, Consumer Id: 471104, Address Id: 9823446 => Updated with Vin: 2G1WC581169357531 ## Total mail_history records updated with vin numbers: 22 out of 22 ============================================================ ====== Tracking Id: 249 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-06 11:09:05') AND us2_order_type_id = 3 ## Order found: 337 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 337 AND product_id = 113 ## Job Group Found: '299' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('299') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108004') AND customer_id = 3486 ## Mailing found: '12297' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676522, Consumer Id: 477570, Address Id: 1034291 => Updated with Vin: 1GNEC13R1XJ570792 ## Mail History Id: 26676524, Consumer Id: 467517, Address Id: 9819798 => Updated with Vin: 3GNEC16Z75G108537 ## Mail History Id: 26676526, Consumer Id: 476552, Address Id: 4378323 => Updated with Vin: 1GCCS14W928156134 ## Mail History Id: 26676528, Consumer Id: 470288, Address Id: 4373066 => Updated with Vin: 1GNES16S666144311 ## Mail History Id: 26676530, Consumer Id: 466462, Address Id: 627835 => Updated with Vin: 1FMYU60EX1UA07629 ## Mail History Id: 26676532, Consumer Id: 466800, Address Id: 1198735 => Updated with Vin: 3GNEC16Z75G270796 ## Mail History Id: 26676534, Consumer Id: 477211, Address Id: 934072 => Updated with Vin: 2G1WF52EX49369127 ## Mail History Id: 26676536, Consumer Id: 478688, Address Id: 9824122 => Updated with Vin: 1GKCS13W5V2541025 ## Mail History Id: 26676538, Consumer Id: 486484, Address Id: 1561844 => Updated with Vin: 2GCEK13M671580387 ## Mail History Id: 26676540, Consumer Id: 467351, Address Id: 1039183 => Updated with Vin: 1GNEC13Z95J265862 ## Mail History Id: 26676542, Consumer Id: 478818, Address Id: 8119636 => Updated with Vin: 1GCEC19T05E171700 ## Mail History Id: 26676544, Consumer Id: 467514, Address Id: 9821600 => Updated with Vin: 2G1WU581569216619 ## Mail History Id: 26676546, Consumer Id: 480950, Address Id: 1562460 => Updated with Vin: 2G1WH52K549179736 ## Mail History Id: 26676548, Consumer Id: 468315, Address Id: 9821981 => Updated with Vin: 1G1AK15F467724087 ## Mail History Id: 26676550, Consumer Id: 480677, Address Id: 4374658 => Updated with Vin: 1GNDT13S152105287 ## Mail History Id: 26676552, Consumer Id: 469158, Address Id: 635503 => Updated with Vin: 1GNDS13S452169651 ## Total mail_history records updated with vin numbers: 16 out of 17 ============================================================ ====== Tracking Id: 250 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-06 11:10:10') AND us2_order_type_id = 3 ## Order found: 337 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 337 AND product_id = 112 ## Job Group Found: '299' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('299') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108004') AND customer_id = 3486 ## Mailing found: '12297' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676560, Consumer Id: 468158, Address Id: 1036439 => Updated with Vin: 1GNEK13Z04R103668 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 251 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-06 11:10:41') AND us2_order_type_id = 3 ## Order found: 337 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 337 AND product_id = 114 ## Job Group Found: '299' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('299') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108004') AND customer_id = 3486 ## Mailing found: '12297' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676596, Consumer Id: 478652, Address Id: 4373305 => Updated with Vin: 2GCEC19T141344608 ## Mail History Id: 26676598, Consumer Id: 476604, Address Id: 4377972 => Updated with Vin: 1GNDV23L95D171826 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 252 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-06 11:38:54') AND us2_order_type_id = 3 ## Order found: 338 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 338 AND product_id = 142 ## Job Group Found: '297' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('297') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108001') AND customer_id = 3357 ## Mailing found: '12291' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676310, Consumer Id: 225119, Address Id: 434563 => Updated with Vin: 2FTPX18L93CA63769 ## Mail History Id: 26676278, Consumer Id: 196253, Address Id: 405124 => Updated with Vin: 1YVHP84C555M36297 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 253 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-06 11:38:58') AND us2_order_type_id = 3 ## Order found: 338 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 338 AND product_id = 114 ## Job Group Found: '299' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('299') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108004') AND customer_id = 3357 ## Mailing found: '12296' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 254 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-07 08:38:50') AND us2_order_type_id = 3 ## Order found: 340 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 340 AND product_id = 113 ## Job Group Found: '299' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('299') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108004') AND customer_id = 3230 ## Mailing found: '12295' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676559, Consumer Id: 92600, Address Id: 50997 => Updated with Vin: 1FAFP55S42A191762 ## Mail History Id: 26676563, Consumer Id: 93403, Address Id: 47874 => Updated with Vin: 1FTRX08L83KC57255 ## Mail History Id: 26676565, Consumer Id: 63699, Address Id: 47655 => Updated with Vin: 1FAFP3435YW381743 ## Mail History Id: 26676567, Consumer Id: 92368, Address Id: 50491 => Updated with Vin: 2FMZA514X3BA67433 ## Mail History Id: 26676569, Consumer Id: 93401, Address Id: 51892 => Updated with Vin: 3GNGK26G54G188323 ## Mail History Id: 26676571, Consumer Id: 92884, Address Id: 48057 => Updated with Vin: 1FTZR45EX3PB10185 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 255 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-07 08:39:06') AND us2_order_type_id = 3 ## Order found: 340 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 340 AND product_id = 143 ## Job Group Found: '297' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('297') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108001') AND customer_id = 3230 ## Mailing found: '12290' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676257, Consumer Id: 93281, Address Id: 50495 => Updated with Vin: 1FTPX14V07FA93731 ## Mail History Id: 26676340, Consumer Id: 93537, Address Id: 52035 => Updated with Vin: 1FAFP33P41W232072 ## Mail History Id: 26676056, Consumer Id: 64323, Address Id: 48775 => Updated with Vin: 1FMFU18L14LB27827 ## Mail History Id: 26676129, Consumer Id: 102907, Address Id: 53433 => Updated with Vin: 1FMDU34X7RUA74807 ## Mail History Id: 26676245, Consumer Id: 93514, Address Id: 50379 => Updated with Vin: 1FMCU93Z68KC69096 ## Mail History Id: 26676273, Consumer Id: 93566, Address Id: 50522 => Updated with Vin: 1FAHP35NX8W140334 ## Mail History Id: 26676291, Consumer Id: 38541, Address Id: 51660 => Updated with Vin: 1FMEU73E37UB37894 ## Mail History Id: 26676121, Consumer Id: 64057, Address Id: 47662 => Updated with Vin: 1FTZR15E71PA82468 ## Mail History Id: 26676247, Consumer Id: 93570, Address Id: 52073 => Updated with Vin: 1FMCU94118KB99645 ## Mail History Id: 26676181, Consumer Id: 167601, Address Id: 47504 => Updated with Vin: 1MEFM50U52A651232 ## Mail History Id: 26676107, Consumer Id: 102904, Address Id: 47897 => Updated with Vin: JM1BJ2234Y0271597 ## Mail History Id: 26676183, Consumer Id: 92312, Address Id: 47624 => Updated with Vin: 1FTPW14576KA66583 ## Mail History Id: 26676105, Consumer Id: 93573, Address Id: 49197 => Updated with Vin: 2FMZA522X4BA21874 ## Mail History Id: 26676139, Consumer Id: 101517, Address Id: 49702 => Updated with Vin: 1FMYU92143KA32228 ## Mail History Id: 26676347, Consumer Id: 64762, Address Id: 47459 => Updated with Vin: 1FMDU72E52ZB58318 ## Mail History Id: 26676155, Consumer Id: 64400, Address Id: 51126 => Updated with Vin: 1FTNW21FXXEF07519 ## Mail History Id: 26676189, Consumer Id: 38568, Address Id: 48749 => Updated with Vin: 1FMZU72E91ZA63930 ## Mail History Id: 26676283, Consumer Id: 65209, Address Id: 49618 => Updated with Vin: 1FAFP28125G197451 ## Mail History Id: 26676235, Consumer Id: 38403, Address Id: 49080 => Updated with Vin: 1FTPX14515NA24551 ## Mail History Id: 26676083, Consumer Id: 64472, Address Id: 51248 => Updated with Vin: 1FTPW14544KB78478 ## Mail History Id: 26676063, Consumer Id: 93571, Address Id: 48423 => Updated with Vin: 3FAHP02138R199955 ## Mail History Id: 26676231, Consumer Id: 93435, Address Id: 51944 => Updated with Vin: 3GNDA23DX7S560577 ## Mail History Id: 26676059, Consumer Id: 173969, Address Id: 50529 => Updated with Vin: 1FMCU03118KD14421 ## Mail History Id: 26676333, Consumer Id: 93560, Address Id: 52067 => Updated with Vin: 3FAHP02197R189199 ## Mail History Id: 26676173, Consumer Id: 93572, Address Id: 48269 => Updated with Vin: 1FTSX21R28EA20178 ## Mail History Id: 26676243, Consumer Id: 67250, Address Id: 49567 => Updated with Vin: 1FAFP36N96W131465 ## Total mail_history records updated with vin numbers: 26 out of 27 ============================================================ ====== Tracking Id: 256 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-07 10:11:39') AND us2_order_type_id = 3 ## Order found: 341 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 341 AND product_id = 143 ## Job Group Found: '297' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('297') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108001') AND customer_id = 3486 ## Mailing found: '12292' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676096, Consumer Id: 490347, Address Id: 1072221 => Updated with Vin: 1GNDV23W48D106591 ## Mail History Id: 26676328, Consumer Id: 467749, Address Id: 9821713 => Updated with Vin: 1G1AK52F257580730 ## Mail History Id: 26676196, Consumer Id: 476461, Address Id: 1566068 => Updated with Vin: 2G1WH55K729281676 ## Mail History Id: 26676164, Consumer Id: 481611, Address Id: 9824941 => Updated with Vin: 1G1YY36U765110345 ## Mail History Id: 26676128, Consumer Id: 468623, Address Id: 9820165 => Updated with Vin: 3GNEC12J37G119697 ## Mail History Id: 26676178, Consumer Id: 470927, Address Id: 9821961 => Updated with Vin: 2GCEC19J581239879 ## Mail History Id: 26676208, Consumer Id: 476587, Address Id: 4378050 => Updated with Vin: 1GNDX03E53D202924 ## Mail History Id: 26676116, Consumer Id: 465984, Address Id: 1032195 => Updated with Vin: 3GNEC16Z55G197833 ## Mail History Id: 26676210, Consumer Id: 466327, Address Id: 4378126 => Updated with Vin: 1G1YY24U755121485 ## Mail History Id: 26676228, Consumer Id: 490433, Address Id: 1572052 => Updated with Vin: 1G1YY26E375136896 ## Mail History Id: 26676152, Consumer Id: 490049, Address Id: 1036534 => Updated with Vin: 2G1WT58K789175134 ## Mail History Id: 26676238, Consumer Id: 490399, Address Id: 9826494 => Updated with Vin: 2G2FV22P7R2240454 ## Mail History Id: 26676076, Consumer Id: 489553, Address Id: 9826167 => Updated with Vin: 2CNDL63FX66009859 ## Mail History Id: 26676124, Consumer Id: 470759, Address Id: 929289 => Updated with Vin: 2G1WU583089243876 ## Mail History Id: 26676216, Consumer Id: 490420, Address Id: 9823518 => Updated with Vin: 1G1YY22P6R5113929 ## Mail History Id: 26676174, Consumer Id: 471104, Address Id: 9823446 => Updated with Vin: 2G1WC581169357531 ## Mail History Id: 26676074, Consumer Id: 490467, Address Id: 9823548 => Updated with Vin: 1G1JH12F227400049 ## Mail History Id: 26676194, Consumer Id: 490263, Address Id: 1038615 => Updated with Vin: 3GNDA13D77S534027 ## Mail History Id: 26676160, Consumer Id: 470935, Address Id: 2461453 => Updated with Vin: 2G2WS542341301258 ## Mail History Id: 26676088, Consumer Id: 477331, Address Id: 1560951 => Updated with Vin: 1GNDS13S852137110 ## Total mail_history records updated with vin numbers: 20 out of 23 ============================================================ ====== Tracking Id: 257 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-07 11:08:50') AND us2_order_type_id = 3 ## Order found: 341 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 341 AND product_id = 113 ## Job Group Found: '299' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('299') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108004') AND customer_id = 3486 ## Mailing found: '12297' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676556, Consumer Id: 476023, Address Id: 1064327 => Updated with Vin: 1GBE4E1103F513902 ## Mail History Id: 26676558, Consumer Id: 489827, Address Id: 2896639 => Updated with Vin: 1GCFG25M7Y1148729 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 258 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-07 11:38:50') AND us2_order_type_id = 3 ## Order found: 342 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 342 AND product_id = 142 ## Job Group Found: '297' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('297') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061108001') AND customer_id = 3357 ## Mailing found: '12291' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26676276, Consumer Id: 225494, Address Id: 400646 => Updated with Vin: 4F2CZ94165KM33389 ## Mail History Id: 26676270, Consumer Id: 225508, Address Id: 434940 => Updated with Vin: 1FTRE14L73HA27754 ## Mail History Id: 26676302, Consumer Id: 197304, Address Id: 406598 => Updated with Vin: 1YVHP84D355M09530 ## Mail History Id: 26676358, Consumer Id: 225493, Address Id: 434926 => Updated with Vin: 1ZVLT22B4V5138940 ## Mail History Id: 26676304, Consumer Id: 225507, Address Id: 434939 => Updated with Vin: 1FTWW33F8XEE48803 ## Mail History Id: 26676282, Consumer Id: 224963, Address Id: 434405 => Updated with Vin: 1FTNX21F1YEA07537 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 259 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-08 08:38:24') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 260 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-08 08:38:33') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 261 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-08 10:09:55') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 262 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-08 11:08:02') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 263 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-08 11:08:06') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 264 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-08 11:37:53') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 265 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-08 11:37:57') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 266 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-09 08:37:56') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 267 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-09 08:38:03') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 268 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-09 10:09:43') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 269 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-09 11:07:57') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 270 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-09 11:08:00') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 271 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-06-09 15:04:14') AND us2_order_type_id = 3 ## Order found: 344 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 344 AND product_id = 54 ## Job Group Found: '256' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('256') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele060908001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele060908001a') AND customer_id = 3427 ## Mailing found: '11678' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 272 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-10 08:37:59') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 273 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-10 11:07:57') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 274 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-10 11:08:01') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 275 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-10 11:08:04') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 276 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-10 11:37:50') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 277 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-10 11:37:53') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 278 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-11 08:08:01') AND us2_order_type_id = 3 ## Order found: 362 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 362 AND product_id = 55 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 279 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-11 08:38:11') AND us2_order_type_id = 3 ## Order found: 362 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 362 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 280 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-11 08:38:22') AND us2_order_type_id = 3 ## Order found: 362 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 362 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 281 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-11 10:09:41') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 282 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-06-11 10:54:13') AND us2_order_type_id = 3 ## Order found: 359 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 359 AND product_id = 54 ## Job Group Found: '257' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('257') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele061008001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele061008001a') AND customer_id = 3721 ## Mailing found: '11708' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 283 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-11 11:08:15') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 284 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-11 11:08:19') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 285 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-11 11:08:22') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 286 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-11 11:37:53') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 287 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-11 11:37:55') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 307 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-11 17:39:46') AND us2_order_type_id = 3 ## Order found: 362 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '10' AND store_id = 2 ## Product Id found: 60 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 362 AND product_id = 60 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 310 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-11 19:07:49') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 311 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-12 08:07:58') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 312 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-12 08:38:01') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 313 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-12 08:38:11') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 317 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-12 10:09:43') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 320 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-12 11:08:10') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 321 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-12 11:08:13') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 322 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-06-12 12:48:57') AND us2_order_type_id = 3 ## Order found: 364 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 364 AND product_id = 54 ## Job Group Found: '301' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('301') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele061208002a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele061208002a') AND customer_id = 3697 ## Mailing found: '11756' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 323 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-06-12 13:16:11') AND us2_order_type_id = 3 ## Order found: 365 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 365 AND product_id = 54 ## Job Group Found: '300' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('300') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele061208001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele061208001a') AND customer_id = 3768 ## Mailing found: '11758' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 324 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-06-12 16:09:55') AND us2_order_type_id = 3 ## Order found: 366 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 366 AND product_id = 54 ## Job Group Found: '303' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('303') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele061208005a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele061208005a') AND customer_id = 3795 ## Mailing found: '11759' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 325 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3635 AND DATE(cart_created_date) = DATE('2008-06-12 16:29:05') AND us2_order_type_id = 3 ## Order found: 367 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '3' AND store_id = 2 ## Product Id found: 53 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 367 AND product_id = 53 ## Job Group Found: '302' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('302') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele061208003a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele061208003a') AND customer_id = 3635 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 326 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-13 08:08:00') AND us2_order_type_id = 3 ## Order found: 370 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 370 AND product_id = 55 ## Job Group Found: '320' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('320') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508002') AND customer_id = 3230 ## Mailing found: '11966' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27608094, Consumer Id: 1157598, Address Id: 50114 => Updated with Vin: 1FMCU93168KE76565 ## Mail History Id: 27608088, Consumer Id: 67632, Address Id: 50692 => Updated with Vin: 1FTPX14566FB23507 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 327 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-13 08:38:04') AND us2_order_type_id = 3 ## Order found: 370 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 370 AND product_id = 113 ## Job Group Found: '325','371' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325','371') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3230 ## Mailing found: '12324' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27608061, Consumer Id: 103731, Address Id: 53813 => Updated with Vin: 1FMFU16555LA16249 ## Mail History Id: 27608059, Consumer Id: 66026, Address Id: 48721 => Updated with Vin: 2MEFM75W3YX602326 ## Mail History Id: 27608045, Consumer Id: 103206, Address Id: 52425 => Updated with Vin: 1FMZU73K95UB53490 ## Mail History Id: 27608031, Consumer Id: 103728, Address Id: 49472 => Updated with Vin: 2MEFM75W73X685655 ## Mail History Id: 27607979, Consumer Id: 67590, Address Id: 50608 => Updated with Vin: 1GCCS1441Y8171279 ## Mail History Id: 27608053, Consumer Id: 38529, Address Id: 47555 => Updated with Vin: 1FAHP24W98G119893 ## Mail History Id: 27608021, Consumer Id: 38402, Address Id: 48132 => Updated with Vin: 1FTPX045X5KB47891 ## Mail History Id: 27607991, Consumer Id: 102132, Address Id: 52083 => Updated with Vin: 1FMYU04142KB45264 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 328 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-13 08:38:14') AND us2_order_type_id = 3 ## Order found: 370 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 370 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3230 ## Mailing found: '12319' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607379, Consumer Id: 103842, Address Id: 48057 => Updated with Vin: 1GKEK13R5VJ745865 ## Mail History Id: 27607447, Consumer Id: 93577, Address Id: 66926 => Updated with Vin: 3FAHP07Z58R164848 ## Mail History Id: 27607211, Consumer Id: 92879, Address Id: 48166 => Updated with Vin: 1FTPX14V67NA12723 ## Mail History Id: 27607513, Consumer Id: 93528, Address Id: 52028 => Updated with Vin: 1FMZU77K04UA38902 ## Mail History Id: 27607515, Consumer Id: 63906, Address Id: 50645 => Updated with Vin: 1FAFP38Z04W129679 ## Mail History Id: 27607340, Consumer Id: 93504, Address Id: 49259 => Updated with Vin: 2FMDK39C48BA06478 ## Mail History Id: 27607205, Consumer Id: 528042, Address Id: 49108 => Updated with Vin: 1FMZK02165GA31450 ## Mail History Id: 27607535, Consumer Id: 66207, Address Id: 47732 => Updated with Vin: 1FTNX21F3YEA04431 ## Mail History Id: 27607521, Consumer Id: 63339, Address Id: 47835 => Updated with Vin: 1FTSX21P55EA90297 ## Mail History Id: 27607499, Consumer Id: 64250, Address Id: 52296 => Updated with Vin: 2FMZA58284BB18143 ## Mail History Id: 27607315, Consumer Id: 64892, Address Id: 49159 => Updated with Vin: 1FMZU72K73UA74964 ## Mail History Id: 27607356, Consumer Id: 93549, Address Id: 50318 => Updated with Vin: 1FTPW14VX8FB15688 ## Mail History Id: 27607421, Consumer Id: 103843, Address Id: 53244 => Updated with Vin: 1FMPU16536LA67190 ## Mail History Id: 27607423, Consumer Id: 38658, Address Id: 49038 => Updated with Vin: 1FAHP28WX8G143582 ## Mail History Id: 27607257, Consumer Id: 92939, Address Id: 47838 => Updated with Vin: 1FAHP25117G136673 ## Mail History Id: 27607195, Consumer Id: 93507, Address Id: 50424 => Updated with Vin: 3FAHP07Z88R189954 ## Mail History Id: 27607307, Consumer Id: 93291, Address Id: 51799 => Updated with Vin: 1FTSW21R88EB11619 ## Mail History Id: 27607419, Consumer Id: 63211, Address Id: 47528 => Updated with Vin: 1FMZU74K93UB24891 ## Mail History Id: 27607373, Consumer Id: 63179, Address Id: 49574 => Updated with Vin: 1FAFP35Z54W118441 ## Mail History Id: 27607415, Consumer Id: 103688, Address Id: 53790 => Updated with Vin: 5GADV33L66D154404 ## Mail History Id: 27607331, Consumer Id: 93501, Address Id: 49412 => Updated with Vin: 1FTYR44U67PA21370 ## Mail History Id: 27607281, Consumer Id: 103846, Address Id: 53980 => Updated with Vin: 1GCEC14V2YE181089 ## Mail History Id: 27607143, Consumer Id: 93576, Address Id: 53421 => Updated with Vin: 1FAFP53255A166389 ## Mail History Id: 27607474, Consumer Id: 63167, Address Id: 47559 => Updated with Vin: 1FMSU43P73EB67939 ## Mail History Id: 27607161, Consumer Id: 63769, Address Id: 47837 => Updated with Vin: 2FMZA52402BB76206 ## Mail History Id: 27607191, Consumer Id: 102902, Address Id: 47288 => Updated with Vin: 1FTCR14T1LPA93409 ## Mail History Id: 27607327, Consumer Id: 103844, Address Id: 53979 => Updated with Vin: 1FMYU70E01UA35333 ## Mail History Id: 27607181, Consumer Id: 93455, Address Id: 51763 => Updated with Vin: 1FTPX14V18FA59119 ## Mail History Id: 27607073, Consumer Id: 93556, Address Id: 52037 => Updated with Vin: 1ZVFT84N765208486 ## Mail History Id: 27607299, Consumer Id: 103845, Address Id: 53646 => Updated with Vin: 1FTRX18W32NA90221 ## Mail History Id: 27607187, Consumer Id: 66532, Address Id: 51139 => Updated with Vin: 1FAFP34N75W251508 ## Total mail_history records updated with vin numbers: 31 out of 33 ============================================================ ====== Tracking Id: 329 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-13 10:09:48') AND us2_order_type_id = 3 ## Order found: 371 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 371 AND product_id = 143 ## Job Group Found: '312' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('312') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061708001') AND customer_id = 3486 ## Mailing found: '12300' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26691819, Consumer Id: 479071, Address Id: 1035668 => Updated with Vin: 1GNEC13Z93J152054 ## Mail History Id: 26692043, Consumer Id: 469169, Address Id: 9821035 => Updated with Vin: 2CNDL63F676046098 ## Mail History Id: 26691853, Consumer Id: 476091, Address Id: 1561572 => Updated with Vin: 2G1WF55E1Y9128705 ## Mail History Id: 26691815, Consumer Id: 484809, Address Id: 3040954 => Updated with Vin: 3GNDA23P86S661156 ## Mail History Id: 26692011, Consumer Id: 476090, Address Id: 4377087 => Updated with Vin: 3GNEC13T52G256522 ## Mail History Id: 26691881, Consumer Id: 464311, Address Id: 1562629 => Updated with Vin: 1GCHK23234F209287 ## Mail History Id: 26691919, Consumer Id: 490345, Address Id: 1563891 => Updated with Vin: 1GBEC19R3XR136766 ## Mail History Id: 26691795, Consumer Id: 471170, Address Id: 1560756 => Updated with Vin: 5GRGN23U84H113162 ## Mail History Id: 26691955, Consumer Id: 464896, Address Id: 4375467 => Updated with Vin: 1GCHC23U64F241892 ## Mail History Id: 26691789, Consumer Id: 477048, Address Id: 4373402 => Updated with Vin: 1GCEC14V21Z112627 ## Mail History Id: 26691761, Consumer Id: 465534, Address Id: 1034933 => Updated with Vin: 2GCEK13T751113421 ## Mail History Id: 26691767, Consumer Id: 465944, Address Id: 1035077 => Updated with Vin: 3GNEC16Z25G171660 ## Mail History Id: 26692041, Consumer Id: 476067, Address Id: 9823682 => Updated with Vin: 3GNFK16Z25G105343 ## Mail History Id: 26692058, Consumer Id: 475949, Address Id: 9823656 => Updated with Vin: 1GCHK23U34F194100 ## Mail History Id: 26692072, Consumer Id: 467453, Address Id: 9821577 => Updated with Vin: 1GNEC13T95J134345 ## Mail History Id: 26692027, Consumer Id: 468256, Address Id: 4378059 => Updated with Vin: 2CNDL13F466121236 ## Mail History Id: 26691901, Consumer Id: 468258, Address Id: 9821961 => Updated with Vin: 1G1NE52J816265718 ## Mail History Id: 26691779, Consumer Id: 484260, Address Id: 2518736 => Updated with Vin: 2GCEC13V971118024 ## Mail History Id: 26691957, Consumer Id: 486493, Address Id: 9825974 => Updated with Vin: 3GNDA13D46S667701 ## Mail History Id: 26692096, Consumer Id: 470805, Address Id: 9823287 => Updated with Vin: 1GKDS13S042349656 ## Mail History Id: 26691813, Consumer Id: 470999, Address Id: 9823391 => Updated with Vin: 3GNDA13D78S592477 ## Mail History Id: 26691823, Consumer Id: 471168, Address Id: 2520210 => Updated with Vin: 5N3AA08AX5N808934 ## Mail History Id: 26691979, Consumer Id: 470977, Address Id: 3288295 => Updated with Vin: 4NUDS13SX82700353 ## Total mail_history records updated with vin numbers: 23 out of 24 ============================================================ ====== Tracking Id: 330 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-06-13 10:25:59') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 331 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-13 11:08:08') AND us2_order_type_id = 3 ## Order found: 371 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 371 AND product_id = 114 ## Job Group Found: '313' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('313') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061708003') AND customer_id = 3486 ## Mailing found: '12302' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26686139, Consumer Id: 476109, Address Id: 1343809 => Updated with Vin: 3GNEK13T13G101230 ## Mail History Id: 26686141, Consumer Id: 463422, Address Id: 1564878 => Updated with Vin: 1GNDM19X62B137289 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 332 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-13 11:08:12') AND us2_order_type_id = 3 ## Order found: 371 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 371 AND product_id = 112 ## Job Group Found: '313' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('313') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061708003') AND customer_id = 3486 ## Mailing found: '12302' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 2 ============================================================ ====== Tracking Id: 333 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-13 11:08:15') AND us2_order_type_id = 3 ## Order found: 371 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 371 AND product_id = 113 ## Job Group Found: '313' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('313') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061708003') AND customer_id = 3486 ## Mailing found: '12302' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 334 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3121 AND DATE(cart_created_date) = DATE('2008-06-13 19:40:09') AND us2_order_type_id = 3 ## Order found: 391 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 391 AND product_id = 54 ## Job Group Found: '305' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('305') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'dht061208001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('dht061208001a') AND customer_id = 3121 ## Mailing found: '11754' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 335 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3140 AND DATE(cart_created_date) = DATE('2008-06-13 19:40:34') AND us2_order_type_id = 3 ## Order found: 392 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 392 AND product_id = 54 ## Job Group Found: '304' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('304') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'dht061208002a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('dht061208002a') AND customer_id = 3140 ## Mailing found: '11755' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 336 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-14 08:08:01') AND us2_order_type_id = 3 ## Order found: 395 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 395 AND product_id = 55 ## Job Group Found: '320' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('320') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508002') AND customer_id = 3230 ## Mailing found: '11966' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 337 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-14 08:38:11') AND us2_order_type_id = 3 ## Order found: 395 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 395 AND product_id = 113 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3230 ## Mailing found: '12324' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27608009, Consumer Id: 103017, Address Id: 52800 => Updated with Vin: 2FAFP74W62X152159 ## Mail History Id: 27607981, Consumer Id: 63190, Address Id: 51116 => Updated with Vin: 1FMFU18L41LA18578 ## Total mail_history records updated with vin numbers: 2 out of 5 ============================================================ ====== Tracking Id: 338 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-14 08:38:20') AND us2_order_type_id = 3 ## Order found: 395 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 395 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3230 ## Mailing found: '12319' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607379, Consumer Id: 103871, Address Id: 48057 => Updated with Vin: 1FMYU92Z25KD98844 ## Mail History Id: 27607575, Consumer Id: 93325, Address Id: 51819 => Updated with Vin: KM8SC83D31U122385 ## Mail History Id: 27607342, Consumer Id: 65111, Address Id: 48035 => Updated with Vin: 1FTSW21P55EA95793 ## Mail History Id: 27607348, Consumer Id: 92771, Address Id: 49021 => Updated with Vin: 1FTWW31P57EA21669 ## Mail History Id: 27607587, Consumer Id: 93580, Address Id: 66955 => Updated with Vin: 2FMDK38C38BA59951 ## Mail History Id: 27607293, Consumer Id: 92702, Address Id: 51106 => Updated with Vin: 1FTPW14V07FA17980 ## Mail History Id: 27607321, Consumer Id: 92990, Address Id: 51412 => Updated with Vin: 1FTWX31R38EA61622 ## Mail History Id: 27607259, Consumer Id: 103873, Address Id: 54085 => Updated with Vin: 1FTRX18W8XNA29471 ## Mail History Id: 27607455, Consumer Id: 64927, Address Id: 48133 => Updated with Vin: 1FAFP34P0YW343162 ## Mail History Id: 27607453, Consumer Id: 63189, Address Id: 47779 => Updated with Vin: 1FTNX21F93EA26331 ## Mail History Id: 27607425, Consumer Id: 63166, Address Id: 47654 => Updated with Vin: 1FTNX21FXXED72250 ## Mail History Id: 27607435, Consumer Id: 65171, Address Id: 52680 => Updated with Vin: 1FMZU73E51ZA25836 ## Mail History Id: 27607235, Consumer Id: 93125, Address Id: 51539 => Updated with Vin: 1FAHP34N97W302874 ## Mail History Id: 27607467, Consumer Id: 101569, Address Id: 49906 => Updated with Vin: 1FTNX20F6XEA55325 ## Mail History Id: 27607343, Consumer Id: 66530, Address Id: 50401 => Updated with Vin: 1FMZU73K82UD49240 ## Mail History Id: 27607365, Consumer Id: 92788, Address Id: 51208 => Updated with Vin: 1FMYU93167KB60085 ## Mail History Id: 27607275, Consumer Id: 103872, Address Id: 54084 => Updated with Vin: 2FTZF1723YCA42394 ## Mail History Id: 27607411, Consumer Id: 65497, Address Id: 49256 => Updated with Vin: 1FTWW30P85EB64811 ## Mail History Id: 27607229, Consumer Id: 102905, Address Id: 53010 => Updated with Vin: 1FTRW08LX2KE19498 ## Mail History Id: 27607263, Consumer Id: 64601, Address Id: 47815 => Updated with Vin: 1FAFP38Z74W137391 ## Mail History Id: 27607341, Consumer Id: 91837, Address Id: 52856 => Updated with Vin: 1FMZU63K15ZA18579 ## Mail History Id: 27607381, Consumer Id: 38397, Address Id: 48086 => Updated with Vin: 1FAFP53205A153498 ## Mail History Id: 27607483, Consumer Id: 92564, Address Id: 47424 => Updated with Vin: 1FMZK06126GA25477 ## Mail History Id: 27607479, Consumer Id: 92989, Address Id: 51411 => Updated with Vin: 1FAHP24187G141998 ## Mail History Id: 27607103, Consumer Id: 92774, Address Id: 50335 => Updated with Vin: 2FMDK49C97BA26536 ## Mail History Id: 27607652, Consumer Id: 93282, Address Id: 51766 => Updated with Vin: 1FTWX31R88EB40705 ## Mail History Id: 27607485, Consumer Id: 93578, Address Id: 52067 => Updated with Vin: 1FTSW21R68EB88134 ## Mail History Id: 27607501, Consumer Id: 93223, Address Id: 51726 => Updated with Vin: 1FMCU03Z18KB34555 ## Mail History Id: 27607147, Consumer Id: 93314, Address Id: 51813 => Updated with Vin: 1FAHP35N18W114804 ## Total mail_history records updated with vin numbers: 29 out of 32 ============================================================ ====== Tracking Id: 339 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-14 10:09:57') AND us2_order_type_id = 3 ## Order found: 396 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 396 AND product_id = 143 ## Job Group Found: '312' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('312') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061708001') AND customer_id = 3486 ## Mailing found: '12300' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26691953, Consumer Id: 477984, Address Id: 1566367 => Updated with Vin: 2G1WL52J0Y1125500 ## Mail History Id: 26692062, Consumer Id: 462594, Address Id: 1570118 => Updated with Vin: 2GCEC19T331373316 ## Mail History Id: 26691901, Consumer Id: 470927, Address Id: 9821961 => Updated with Vin: 2GCEC19J581239879 ## Mail History Id: 26691737, Consumer Id: 476278, Address Id: 932666 => Updated with Vin: 1GNDS13S822481189 ## Mail History Id: 26691789, Consumer Id: 477048, Address Id: 4373402 => Updated with Vin: 1GCEC14V21Z112627 ## Mail History Id: 26692035, Consumer Id: 475845, Address Id: 1344567 => Updated with Vin: 3GNGK26G94G283936 ## Mail History Id: 26692013, Consumer Id: 465928, Address Id: 4377572 => Updated with Vin: 1GCGG25V551118640 ## Mail History Id: 26691769, Consumer Id: 481110, Address Id: 4372896 => Updated with Vin: 1G3NL52T4YC396526 ## Mail History Id: 26691917, Consumer Id: 476057, Address Id: 9823681 => Updated with Vin: 2GCEC19TX11235608 ## Mail History Id: 26691863, Consumer Id: 466413, Address Id: 1036534 => Updated with Vin: 3GNEC16T31G236442 ## Mail History Id: 26691877, Consumer Id: 466694, Address Id: 1036873 => Updated with Vin: 1GNEC16Z75J258663 ## Mail History Id: 26692072, Consumer Id: 467453, Address Id: 9821577 => Updated with Vin: 1GNEC13T95J134345 ## Mail History Id: 26691995, Consumer Id: 479327, Address Id: 1039270 => Updated with Vin: 3GNEC12T14G118884 ## Mail History Id: 26691715, Consumer Id: 481723, Address Id: 4372465 => Updated with Vin: 2G1WF52E159199726 ## Mail History Id: 26691945, Consumer Id: 469092, Address Id: 1565877 => Updated with Vin: 1GKDS13S262126294 ## Mail History Id: 26692086, Consumer Id: 470231, Address Id: 8119657 => Updated with Vin: 1G1YY25WX85102272 ## Mail History Id: 26691891, Consumer Id: 470643, Address Id: 9823175 => Updated with Vin: 2G1WB58K479347220 ## Mail History Id: 26691803, Consumer Id: 471177, Address Id: 9823487 => Updated with Vin: 1G1YY26U375134427 ## Mail History Id: 26691711, Consumer Id: 476143, Address Id: 5417666 => Updated with Vin: 1GCCS136348142430 ## Total mail_history records updated with vin numbers: 19 out of 22 ============================================================ ====== Tracking Id: 340 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-06-14 10:10:30') AND us2_order_type_id = 3 ## Order found: 397 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 397 AND product_id = 143 ## Job Group Found: '312' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('312') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061708001') AND customer_id = 3416 ## Mailing found: '12299' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26691728, Consumer Id: 625165, Address Id: 11765839 => Updated with Vin: 1G6KD54Y05U168427 ## Mail History Id: 26691730, Consumer Id: 625156, Address Id: 3760646 => Updated with Vin: 1G6KF57994U164406 ## Mail History Id: 26691726, Consumer Id: 630280, Address Id: 3760531 => Updated with Vin: 1G6DP577070139460 ## Mail History Id: 26692124, Consumer Id: 625502, Address Id: 3775260 => Updated with Vin: 5GTDN13E378201153 ## Mail History Id: 26692024, Consumer Id: 625582, Address Id: 1970106 => Updated with Vin: 1G6KD57Y57U204904 ## Mail History Id: 26691710, Consumer Id: 625569, Address Id: 3758472 => Updated with Vin: 1G6DW677250174894 ## Mail History Id: 26692117, Consumer Id: 682107, Address Id: 11794983 => Updated with Vin: 1G6KD57Y82U286779 ## Mail History Id: 26692141, Consumer Id: 625587, Address Id: 10933473 => Updated with Vin: 1G6KD54Y81U258998 ## Mail History Id: 26692175, Consumer Id: 692834, Address Id: 11798540 => Updated with Vin: 1G6DC67A050228925 ## Mail History Id: 26691994, Consumer Id: 625531, Address Id: 6895144 => Updated with Vin: 1G6KF57935U142810 ## Mail History Id: 26691830, Consumer Id: 625617, Address Id: 1968348 => Updated with Vin: 1G6KD54Y65U163717 ## Mail History Id: 26692049, Consumer Id: 692994, Address Id: 11798623 => Updated with Vin: 1G6KD57Y26U143476 ## Mail History Id: 26691888, Consumer Id: 625772, Address Id: 11766125 => Updated with Vin: 1G6DW677460115797 ## Mail History Id: 26691732, Consumer Id: 625809, Address Id: 3760690 => Updated with Vin: 5GTEN13E788160080 ## Mail History Id: 26691770, Consumer Id: 625803, Address Id: 11766138 => Updated with Vin: 1GYEK63N65R120568 ## Mail History Id: 26691696, Consumer Id: 625728, Address Id: 11766104 => Updated with Vin: 1G6DW677570196178 ## Mail History Id: 26691812, Consumer Id: 693032, Address Id: 11798646 => Updated with Vin: 1G6DT57V380139626 ## Mail History Id: 26691906, Consumer Id: 625820, Address Id: 1968976 => Updated with Vin: 1G6KD54Y54U100901 ## Mail History Id: 26692183, Consumer Id: 625846, Address Id: 11766157 => Updated with Vin: 1G6DW677460158455 ## Mail History Id: 26691926, Consumer Id: 625913, Address Id: 11766188 => Updated with Vin: 1G6KD57Y27U138506 ## Mail History Id: 26691988, Consumer Id: 693101, Address Id: 6894660 => Updated with Vin: 5GTDN13E478150570 ## Mail History Id: 26692052, Consumer Id: 625864, Address Id: 49681 => Updated with Vin: 1GYEE437880154873 ## Mail History Id: 26691808, Consumer Id: 625880, Address Id: 1968155 => Updated with Vin: 1G6KD54Y25U159826 ## Mail History Id: 26692173, Consumer Id: 685633, Address Id: 11796014 => Updated with Vin: 1GYDE637X40124257 ## Mail History Id: 26691798, Consumer Id: 693185, Address Id: 11798714 => Updated with Vin: 5GTEN13E688165402 ## Mail History Id: 26691860, Consumer Id: 625992, Address Id: 11766225 => Updated with Vin: 1GYEE637860142408 ## Mail History Id: 26692055, Consumer Id: 625990, Address Id: 4778061 => Updated with Vin: 1G6DS57V380175934 ## Mail History Id: 26691946, Consumer Id: 625955, Address Id: 3765926 => Updated with Vin: 1G6KD57Y46U109264 ## Mail History Id: 26692120, Consumer Id: 625981, Address Id: 11764734 => Updated with Vin: 1G6KD54Y35U144977 ## Mail History Id: 26692141, Consumer Id: 625952, Address Id: 10933473 => Updated with Vin: 1GYDE63A640127815 ## Mail History Id: 26692044, Consumer Id: 625940, Address Id: 11766202 => Updated with Vin: 1GYEE637750145816 ## Mail History Id: 26691850, Consumer Id: 625918, Address Id: 11766190 => Updated with Vin: 1G6KD57Y18U160319 ## Mail History Id: 26692006, Consumer Id: 625938, Address Id: 4801239 => Updated with Vin: 2CNDL63F676111130 ## Mail History Id: 26691712, Consumer Id: 625935, Address Id: 3758554 => Updated with Vin: 5GTEN13L388159913 ## Mail History Id: 26691924, Consumer Id: 626009, Address Id: 11766236 => Updated with Vin: 5GTEN63L488182971 ## Mail History Id: 26691800, Consumer Id: 626013, Address Id: 1967832 => Updated with Vin: 1GYEK63N45R151981 ## Mail History Id: 26691842, Consumer Id: 626014, Address Id: 11764696 => Updated with Vin: 5GTEN13EX88199844 ## Mail History Id: 26691786, Consumer Id: 626029, Address Id: 11766243 => Updated with Vin: 1G6KD54Y6XU789691 ## Mail History Id: 26692149, Consumer Id: 623667, Address Id: 11764680 => Updated with Vin: 1G6KD54Y05U189195 ## Mail History Id: 26692101, Consumer Id: 630061, Address Id: 11770706 => Updated with Vin: 1G6KD54Y93U190360 ## Mail History Id: 26691760, Consumer Id: 627159, Address Id: 1964470 => Updated with Vin: 1G6KD54Y13U137023 ## Mail History Id: 26692091, Consumer Id: 685308, Address Id: 1959138 => Updated with Vin: 1G6KD54Y33U241643 ## Mail History Id: 26691910, Consumer Id: 690268, Address Id: 1969001 => Updated with Vin: 1G6KD57Y16U137894 ## Mail History Id: 26691992, Consumer Id: 691883, Address Id: 1969738 => Updated with Vin: 1G6KD57926U199202 ## Mail History Id: 26692132, Consumer Id: 690370, Address Id: 11764685 => Updated with Vin: 1G6DC67A760139743 ## Mail History Id: 26692138, Consumer Id: 625927, Address Id: 11766196 => Updated with Vin: 1G6KE57Y14U218436 ## Mail History Id: 26692079, Consumer Id: 627081, Address Id: 11764697 => Updated with Vin: 1G6KD57YX6U117515 ## Mail History Id: 26692004, Consumer Id: 629302, Address Id: 1969897 => Updated with Vin: 1G6DM57N230114514 ## Mail History Id: 26691836, Consumer Id: 625959, Address Id: 1968378 => Updated with Vin: 1G6DW67VX80119807 ## Mail History Id: 26692063, Consumer Id: 630811, Address Id: 11771028 => Updated with Vin: 1G6KD57Y66U134733 ## Mail History Id: 26692165, Consumer Id: 687660, Address Id: 1961318 => Updated with Vin: 1G3NF52E540242475 ## Mail History Id: 26692061, Consumer Id: 685632, Address Id: 1966572 => Updated with Vin: 1G6KD54Y23U279722 ## Mail History Id: 26691936, Consumer Id: 625958, Address Id: 1969233 => Updated with Vin: 5GTEN13E288199966 ## Mail History Id: 26691874, Consumer Id: 625995, Address Id: 11766227 => Updated with Vin: 5GTEN43E788184641 ## Mail History Id: 26692056, Consumer Id: 626000, Address Id: 11765953 => Updated with Vin: 5GTEN43E388182921 ## Mail History Id: 26691896, Consumer Id: 690159, Address Id: 11795484 => Updated with Vin: 1G6CD5339L4352823 ## Mail History Id: 26691950, Consumer Id: 625296, Address Id: 1969339 => Updated with Vin: 1GYEE637440158375 ## Mail History Id: 26692000, Consumer Id: 691596, Address Id: 1969878 => Updated with Vin: 1G6DW677160191784 ## Mail History Id: 26691940, Consumer Id: 684300, Address Id: 11795620 => Updated with Vin: 1G6KE57YX3U259811 ## Mail History Id: 26691976, Consumer Id: 629311, Address Id: 11769739 => Updated with Vin: 1G6KS5154KU809042 ## Mail History Id: 26692133, Consumer Id: 690809, Address Id: 1960416 => Updated with Vin: 1GYEE637060199217 ## Mail History Id: 26691754, Consumer Id: 681551, Address Id: 1964393 => Updated with Vin: 1G6KE54Y4XU751034 ## Mail History Id: 26691966, Consumer Id: 691146, Address Id: 1969429 => Updated with Vin: 1G6KD54Y74U129039 ## Mail History Id: 26691758, Consumer Id: 629827, Address Id: 11770036 => Updated with Vin: 1G6KD579X6U151656 ## Mail History Id: 26692143, Consumer Id: 628707, Address Id: 4761268 => Updated with Vin: 1GYEK63N54R172594 ## Mail History Id: 26691958, Consumer Id: 681920, Address Id: 1969355 => Updated with Vin: 1GYEK13R9XR418671 ## Mail History Id: 26692109, Consumer Id: 627205, Address Id: 1959774 => Updated with Vin: 1G6KY54903U274757 ## Mail History Id: 26691720, Consumer Id: 628667, Address Id: 1963044 => Updated with Vin: 1G6KY54922U195184 ## Mail History Id: 26692187, Consumer Id: 626033, Address Id: 1961956 => Updated with Vin: 1G6KD57Y27U211633 ## Mail History Id: 26692010, Consumer Id: 688464, Address Id: 1969976 => Updated with Vin: 1G6DP567150109771 ## Mail History Id: 26691972, Consumer Id: 627101, Address Id: 1969505 => Updated with Vin: 1G6KS54Y44U113435 ## Mail History Id: 26692163, Consumer Id: 663354, Address Id: 1961193 => Updated with Vin: W06VR52R3WR240153 ## Mail History Id: 26692083, Consumer Id: 627211, Address Id: 11764762 => Updated with Vin: 1G6KF52Y2RU278348 ## Mail History Id: 26691914, Consumer Id: 682102, Address Id: 1969061 => Updated with Vin: 1G6EL12Y72B100404 ## Mail History Id: 26691792, Consumer Id: 625489, Address Id: 1966056 => Updated with Vin: 1G6KD57Y87U209255 ## Mail History Id: 26691706, Consumer Id: 689029, Address Id: 11795008 => Updated with Vin: 1G6KS54Y82U254134 ## Mail History Id: 26692048, Consumer Id: 689734, Address Id: 11795214 => Updated with Vin: 1G6DW677X60110474 ## Mail History Id: 26692130, Consumer Id: 684350, Address Id: 11795631 => Updated with Vin: 1G6KE54Y43U171535 ## Mail History Id: 26692197, Consumer Id: 691393, Address Id: 1962149 => Updated with Vin: 1GYFK638X7R214440 ## Mail History Id: 26691962, Consumer Id: 683820, Address Id: 1969410 => Updated with Vin: 1GYEK13R5YR108485 ## Mail History Id: 26691742, Consumer Id: 683642, Address Id: 1963491 => Updated with Vin: 1G6KF5792YU331419 ## Mail History Id: 26691996, Consumer Id: 627074, Address Id: 11764694 => Updated with Vin: 1G6KD57Y06U171020 ## Mail History Id: 26692071, Consumer Id: 629315, Address Id: 1966883 => Updated with Vin: 1G6KD54Y03U175715 ## Mail History Id: 26691902, Consumer Id: 683489, Address Id: 1968969 => Updated with Vin: 1G6KF57981U155191 ## Mail History Id: 26692047, Consumer Id: 689929, Address Id: 1966193 => Updated with Vin: 1G6DP577960114720 ## Mail History Id: 26691822, Consumer Id: 688009, Address Id: 1968326 => Updated with Vin: 1G6DN56S350133189 ## Mail History Id: 26692002, Consumer Id: 627146, Address Id: 1969885 => Updated with Vin: 1G6DM57N530109453 ## Mail History Id: 26691852, Consumer Id: 627191, Address Id: 1968547 => Updated with Vin: 1G6KF5494WU777377 ## Mail History Id: 26691932, Consumer Id: 629826, Address Id: 3764379 => Updated with Vin: 1G6DP577070140429 ## Mail History Id: 26692135, Consumer Id: 682750, Address Id: 1960465 => Updated with Vin: W06VR54R5YR010307 ## Mail History Id: 26691892, Consumer Id: 627110, Address Id: 1968880 => Updated with Vin: 1G6KE54Y55U121987 ## Mail History Id: 26691718, Consumer Id: 689844, Address Id: 1963030 => Updated with Vin: 1G6KD57Y16U105270 ## Mail History Id: 26692131, Consumer Id: 684431, Address Id: 1960382 => Updated with Vin: 1G6KS54Y11U148770 ## Mail History Id: 26692153, Consumer Id: 684176, Address Id: 1960980 => Updated with Vin: 1G6KD54Y81U235236 ## Mail History Id: 26692032, Consumer Id: 627163, Address Id: 1970177 => Updated with Vin: 1G6DW677X60174403 ## Mail History Id: 26692014, Consumer Id: 689450, Address Id: 1970044 => Updated with Vin: 1GYEK63N45R252678 ## Mail History Id: 26692077, Consumer Id: 627128, Address Id: 11764724 => Updated with Vin: 1G6DC67A460143846 ## Mail History Id: 26691738, Consumer Id: 627066, Address Id: 1963372 => Updated with Vin: 1GYEE637250205128 ## Mail History Id: 26692195, Consumer Id: 627100, Address Id: 1962152 => Updated with Vin: 1GYFK63837R203733 ## Mail History Id: 26692022, Consumer Id: 628694, Address Id: 11766264 => Updated with Vin: 1G6KE54Y83U109605 ## Mail History Id: 26691748, Consumer Id: 690666, Address Id: 11797691 => Updated with Vin: 1G6KD54Y75U245956 ## Mail History Id: 26691744, Consumer Id: 690808, Address Id: 1963510 => Updated with Vin: 1G6DW677860197808 ## Mail History Id: 26692193, Consumer Id: 625932, Address Id: 10933668 => Updated with Vin: 1GYFK66838R227754 ## Mail History Id: 26691882, Consumer Id: 681691, Address Id: 1968829 => Updated with Vin: 1G2HX52K9W4227011 ## Mail History Id: 26692169, Consumer Id: 681735, Address Id: 1961495 => Updated with Vin: 1G6KD54Y32U137992 ## Mail History Id: 26691740, Consumer Id: 689008, Address Id: 1963445 => Updated with Vin: 1G6KF57932U140826 ## Mail History Id: 26691934, Consumer Id: 684260, Address Id: 1969183 => Updated with Vin: 1G3GR62C4X4112706 ## Mail History Id: 26691736, Consumer Id: 625553, Address Id: 1963334 => Updated with Vin: 1G6KF579X5U244413 ## Mail History Id: 26692177, Consumer Id: 692318, Address Id: 1961721 => Updated with Vin: 1GYEK63N85R197216 ## Mail History Id: 26691866, Consumer Id: 689181, Address Id: 11795212 => Updated with Vin: 1GCHK23205F884127 ## Mail History Id: 26692119, Consumer Id: 627065, Address Id: 1959995 => Updated with Vin: 1G6DW677360184447 ## Mail History Id: 26692012, Consumer Id: 629301, Address Id: 1969984 => Updated with Vin: 1G6DP577360176601 ## Mail History Id: 26691948, Consumer Id: 627107, Address Id: 3765942 => Updated with Vin: 1G6DM57N630126584 ## Mail History Id: 26691928, Consumer Id: 684713, Address Id: 1969129 => Updated with Vin: 1G6KE54Y82U213364 ## Mail History Id: 26692069, Consumer Id: 691226, Address Id: 1966677 => Updated with Vin: 1G6KD57YX6U224824 ## Mail History Id: 26692126, Consumer Id: 689746, Address Id: 11795174 => Updated with Vin: 3GYEK62N95G144199 ## Mail History Id: 26691824, Consumer Id: 691653, Address Id: 1968340 => Updated with Vin: 1G6DP577970122382 ## Mail History Id: 26692161, Consumer Id: 687757, Address Id: 4761410 => Updated with Vin: 1GYEK63N93R227661 ## Mail History Id: 26691784, Consumer Id: 690412, Address Id: 11797608 => Updated with Vin: 1G6KD54Y23U134602 ## Mail History Id: 26691886, Consumer Id: 640973, Address Id: 11765841 => Updated with Vin: 1G6DM577240180810 ## Mail History Id: 26691908, Consumer Id: 627234, Address Id: 1968985 => Updated with Vin: 1G6KF57961U206882 ## Mail History Id: 26691930, Consumer Id: 692037, Address Id: 4791178 => Updated with Vin: 1G6DP577670119682 ## Mail History Id: 26692129, Consumer Id: 690266, Address Id: 1960314 => Updated with Vin: 1G6DM57T260156345 ## Mail History Id: 26691854, Consumer Id: 686113, Address Id: 1968579 => Updated with Vin: 1G6KY54933U149543 ## Mail History Id: 26692028, Consumer Id: 627088, Address Id: 1970131 => Updated with Vin: 1GYFK66827R226688 ## Mail History Id: 26691724, Consumer Id: 629823, Address Id: 3760410 => Updated with Vin: 1GYEE637460176880 ## Mail History Id: 26691960, Consumer Id: 690513, Address Id: 1969377 => Updated with Vin: 1G6DP577X60172559 ## Mail History Id: 26692103, Consumer Id: 627177, Address Id: 1959710 => Updated with Vin: 1G6KD54Y93U101242 ## Mail History Id: 26691990, Consumer Id: 627176, Address Id: 1969735 => Updated with Vin: 1G6KD57Y16U106774 ## Mail History Id: 26692030, Consumer Id: 691923, Address Id: 11795433 => Updated with Vin: 1GYEE637660167405 ## Mail History Id: 26692171, Consumer Id: 627071, Address Id: 1961522 => Updated with Vin: W06VR54R6XR131393 ## Mail History Id: 26692026, Consumer Id: 630279, Address Id: 1970127 => Updated with Vin: 1G6KE57Y33U156116 ## Mail History Id: 26692085, Consumer Id: 683878, Address Id: 1959067 => Updated with Vin: 1G6KF57963U277888 ## Mail History Id: 26691952, Consumer Id: 685461, Address Id: 1969348 => Updated with Vin: 1G6DM577640109691 ## Mail History Id: 26692123, Consumer Id: 690669, Address Id: 1960295 => Updated with Vin: 1G6DW677660186113 ## Mail History Id: 26692179, Consumer Id: 691563, Address Id: 1961751 => Updated with Vin: 1G6DW677570121318 ## Mail History Id: 26691704, Consumer Id: 685812, Address Id: 1962323 => Updated with Vin: 5GRGN23U34H109486 ## Mail History Id: 26692122, Consumer Id: 685478, Address Id: 1970254 => Updated with Vin: 5GRGN23U94H107046 ## Mail History Id: 26692045, Consumer Id: 686918, Address Id: 1966187 => Updated with Vin: 1G6DM577540168344 ## Mail History Id: 26691970, Consumer Id: 625412, Address Id: 1969496 => Updated with Vin: 1GYFK63867R209624 ## Mail History Id: 26691998, Consumer Id: 691010, Address Id: 11791213 => Updated with Vin: 5GTDN136168278529 ## Mail History Id: 26691796, Consumer Id: 687843, Address Id: 1967464 => Updated with Vin: 1G6DM577340110507 ## Mail History Id: 26691746, Consumer Id: 688185, Address Id: 1963615 => Updated with Vin: 1G6KS54Y22U241153 ## Mail History Id: 26692018, Consumer Id: 692120, Address Id: 11796402 => Updated with Vin: 1G6DP577370102659 ## Mail History Id: 26692155, Consumer Id: 691342, Address Id: 11796989 => Updated with Vin: 1G6KD54Y55U262478 ## Mail History Id: 26692073, Consumer Id: 625825, Address Id: 11764708 => Updated with Vin: 1G6KD57Y78U161510 ## Mail History Id: 26691750, Consumer Id: 683699, Address Id: 1963734 => Updated with Vin: 1G6DM57N930133707 ## Mail History Id: 26692036, Consumer Id: 625252, Address Id: 1970530 => Updated with Vin: 1G6KS54Y23U239193 ## Mail History Id: 26691900, Consumer Id: 689308, Address Id: 11797189 => Updated with Vin: 1G1ZT548X4F150186 ## Mail History Id: 26691968, Consumer Id: 625218, Address Id: 11765860 => Updated with Vin: 1GYEE637970177380 ## Mail History Id: 26692181, Consumer Id: 689272, Address Id: 11797172 => Updated with Vin: 1G6DP567150227674 ## Mail History Id: 26691810, Consumer Id: 691951, Address Id: 11765902 => Updated with Vin: 1GYFK66857R291650 ## Mail History Id: 26691776, Consumer Id: 626044, Address Id: 11764690 => Updated with Vin: 1GYEK63N14R191675 ## Mail History Id: 26692008, Consumer Id: 627136, Address Id: 8335989 => Updated with Vin: 1G6DP577160113612 ## Mail History Id: 26692081, Consumer Id: 625636, Address Id: 3748517 => Updated with Vin: 1G6KD57Y07U231573 ## Mail History Id: 26691862, Consumer Id: 689888, Address Id: 11797431 => Updated with Vin: 1G6DW677160116812 ## Mail History Id: 26691766, Consumer Id: 625176, Address Id: 11765844 => Updated with Vin: 1G6KD54Y54U190051 ## Mail History Id: 26691708, Consumer Id: 627189, Address Id: 11764751 => Updated with Vin: 1G6KD54YX5U116710 ## Mail History Id: 26692095, Consumer Id: 625559, Address Id: 3754891 => Updated with Vin: 5GTDN13EX78196386 ## Mail History Id: 26692020, Consumer Id: 689753, Address Id: 1970077 => Updated with Vin: 1G6KY54963U159113 ## Mail History Id: 26692151, Consumer Id: 625528, Address Id: 11766005 => Updated with Vin: 1GYFK63837R390908 ## Mail History Id: 26692128, Consumer Id: 690585, Address Id: 11797660 => Updated with Vin: 1GYEK63N96R109923 ## Mail History Id: 26691880, Consumer Id: 690115, Address Id: 11797516 => Updated with Vin: 1G6KD54Y45U209674 ## Mail History Id: 26692121, Consumer Id: 627152, Address Id: 11764736 => Updated with Vin: 5GTDN136468220110 ## Mail History Id: 26691790, Consumer Id: 690454, Address Id: 11797623 => Updated with Vin: 1G6DM57T960160036 ## Mail History Id: 26691782, Consumer Id: 625822, Address Id: 11766145 => Updated with Vin: 5GTEN13EX88174149 ## Mail History Id: 26691702, Consumer Id: 690524, Address Id: 10933689 => Updated with Vin: 5GTDN136X68223075 ## Mail History Id: 26692127, Consumer Id: 662415, Address Id: 10933450 => Updated with Vin: 5GTEN13E888186333 ## Mail History Id: 26691794, Consumer Id: 690824, Address Id: 6878932 => Updated with Vin: 5GTDN136068203966 ## Mail History Id: 26691844, Consumer Id: 663357, Address Id: 11782882 => Updated with Vin: 1G6DW677760171068 ## Mail History Id: 26691768, Consumer Id: 691164, Address Id: 4772809 => Updated with Vin: 1GYEK63N16R161966 ## Mail History Id: 26691716, Consumer Id: 627089, Address Id: 11577389 => Updated with Vin: 1G6DW677760200696 ## Mail History Id: 26692113, Consumer Id: 627148, Address Id: 11764732 => Updated with Vin: 3GYFK66N06G120034 ## Mail History Id: 26692075, Consumer Id: 691288, Address Id: 11797900 => Updated with Vin: 1G6DP577460203806 ## Mail History Id: 26692034, Consumer Id: 627124, Address Id: 11764723 => Updated with Vin: 1G6KE54Y92U272424 ## Mail History Id: 26692199, Consumer Id: 691651, Address Id: 11798050 => Updated with Vin: 3GYFK62807G157702 ## Mail History Id: 26691714, Consumer Id: 691348, Address Id: 3759427 => Updated with Vin: 1G6DP577X60165031 ## Mail History Id: 26691818, Consumer Id: 625941, Address Id: 11766203 => Updated with Vin: 5GTEN13E588161275 ## Mail History Id: 26691894, Consumer Id: 691088, Address Id: 11795306 => Updated with Vin: 5GTDN136168303591 ## Mail History Id: 26692050, Consumer Id: 625721, Address Id: 11764692 => Updated with Vin: 5GTEN13E788135230 ## Mail History Id: 26691986, Consumer Id: 691481, Address Id: 4797975 => Updated with Vin: 5GTDN136268322652 ## Mail History Id: 26692038, Consumer Id: 691485, Address Id: 11797975 => Updated with Vin: 1G6DP577960207639 ## Mail History Id: 26691762, Consumer Id: 627153, Address Id: 1964503 => Updated with Vin: 1GYEK63N16R104778 ## Mail History Id: 26691780, Consumer Id: 627076, Address Id: 11764695 => Updated with Vin: 1G6DP577X60162307 ## Mail History Id: 26692107, Consumer Id: 691597, Address Id: 11765982 => Updated with Vin: 1G6KD57Y36U236619 ## Mail History Id: 26691752, Consumer Id: 627183, Address Id: 4767716 => Updated with Vin: 1G6DM57T970121559 ## Mail History Id: 26692099, Consumer Id: 627184, Address Id: 4757930 => Updated with Vin: 1G6DP577260173253 ## Mail History Id: 26691828, Consumer Id: 627072, Address Id: 6882147 => Updated with Vin: 5GTDN13E578165160 ## Mail History Id: 26691966, Consumer Id: 692109, Address Id: 1969429 => Updated with Vin: 1GYEE637760174153 ## Mail History Id: 26691980, Consumer Id: 692254, Address Id: 11798275 => Updated with Vin: 1G6KD57Y87U102075 ## Mail History Id: 26692157, Consumer Id: 691648, Address Id: 1961063 => Updated with Vin: 1G6DM57T270122083 ## Mail History Id: 26691918, Consumer Id: 690698, Address Id: 11796481 => Updated with Vin: 1G6DW677560184532 ## Mail History Id: 26691912, Consumer Id: 681403, Address Id: 11769737 => Updated with Vin: 1G6KS52Y5VU810522 ## Mail History Id: 26691806, Consumer Id: 688008, Address Id: 11796728 => Updated with Vin: 1G6KD54Y34U107460 ## Mail History Id: 26691956, Consumer Id: 625331, Address Id: 1969351 => Updated with Vin: 1G6DW677150170383 ## Total mail_history records updated with vin numbers: 195 out of 207 ============================================================ ====== Tracking Id: 341 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-14 11:08:00') AND us2_order_type_id = 3 ## Order found: 396 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 396 AND product_id = 113 ## Job Group Found: '313' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('313') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061708003') AND customer_id = 3486 ## Mailing found: '12302' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26686130, Consumer Id: 475678, Address Id: 5369736 => Updated with Vin: 1GCEC19M9TE134991 ## Mail History Id: 26686132, Consumer Id: 477869, Address Id: 3288099 => Updated with Vin: 1GCCS195818181153 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 342 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-14 11:08:12') AND us2_order_type_id = 3 ## Order found: 396 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 396 AND product_id = 112 ## Job Group Found: '313' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('313') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061708003') AND customer_id = 3486 ## Mailing found: '12302' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 343 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-15 08:38:05') AND us2_order_type_id = 3 ## Order found: 401 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 401 AND product_id = 113 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3230 ## Mailing found: '12324' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607963, Consumer Id: 66002, Address Id: 52155 => Updated with Vin: 1FTNW21P44EB55347 ## Mail History Id: 27608055, Consumer Id: 459686, Address Id: 53820 => Updated with Vin: 2FTRX18L4YCB19469 ## Mail History Id: 27608005, Consumer Id: 65069, Address Id: 52257 => Updated with Vin: 2FMDA58463BB07863 ## Mail History Id: 27607987, Consumer Id: 66644, Address Id: 51716 => Updated with Vin: 1FMYU03184KA56415 ## Mail History Id: 27607985, Consumer Id: 66272, Address Id: 50630 => Updated with Vin: 1FMZU73K34ZA56061 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 344 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-15 08:38:16') AND us2_order_type_id = 3 ## Order found: 401 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 401 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3230 ## Mailing found: '12319' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607339, Consumer Id: 101026, Address Id: 48396 => Updated with Vin: 1FTNX21F11ED26250 ## Mail History Id: 27607203, Consumer Id: 64220, Address Id: 47217 => Updated with Vin: 2FTRX17W82CA32208 ## Mail History Id: 27607457, Consumer Id: 66060, Address Id: 48379 => Updated with Vin: 1GCCS1943X8179083 ## Mail History Id: 27607333, Consumer Id: 65628, Address Id: 48113 => Updated with Vin: 2FTRX17242CA76705 ## Mail History Id: 27607237, Consumer Id: 92462, Address Id: 50217 => Updated with Vin: 3FAFP07156R180546 ## Mail History Id: 27607239, Consumer Id: 65471, Address Id: 49053 => Updated with Vin: 4M2ZV12T02DJ11661 ## Mail History Id: 27607427, Consumer Id: 67647, Address Id: 48963 => Updated with Vin: 1FAHP25187G118672 ## Mail History Id: 27607085, Consumer Id: 109185, Address Id: 52752 => Updated with Vin: 2FMZA51674BA55582 ## Mail History Id: 27607089, Consumer Id: 64332, Address Id: 49149 => Updated with Vin: 1FMZU73K02ZC84547 ## Mail History Id: 27607401, Consumer Id: 92903, Address Id: 51330 => Updated with Vin: 1FTPX145X4NA14566 ## Mail History Id: 27607399, Consumer Id: 64787, Address Id: 47857 => Updated with Vin: 1FTNX21F32EA17980 ## Mail History Id: 27607311, Consumer Id: 93099, Address Id: 49524 => Updated with Vin: 1FTPX14VX7FA88309 ## Mail History Id: 27607413, Consumer Id: 109186, Address Id: 66927 => Updated with Vin: 1J4GL48K47W697337 ## Mail History Id: 27607319, Consumer Id: 65036, Address Id: 49716 => Updated with Vin: 1FMZU73K05UB79895 ## Mail History Id: 27607385, Consumer Id: 67311, Address Id: 48564 => Updated with Vin: 2MEFM74W01X614618 ## Mail History Id: 27607301, Consumer Id: 63351, Address Id: 48034 => Updated with Vin: 1FAFP55U9YG262753 ## Mail History Id: 27607297, Consumer Id: 93581, Address Id: 66956 => Updated with Vin: 1FTYR14U28PA66130 ## Mail History Id: 27607109, Consumer Id: 93592, Address Id: 67807 => Updated with Vin: 1FAHP35N28W126833 ## Mail History Id: 27607393, Consumer Id: 64572, Address Id: 48299 => Updated with Vin: 1FMCU04151KA69157 ## Mail History Id: 27607111, Consumer Id: 93445, Address Id: 51889 => Updated with Vin: 1FAHP33N98W105643 ## Mail History Id: 27607131, Consumer Id: 63227, Address Id: 47406 => Updated with Vin: 1FAFP363X1W221389 ## Mail History Id: 27607081, Consumer Id: 41919, Address Id: 67774 => Updated with Vin: 4M2DU86W55ZJ23340 ## Mail History Id: 27607153, Consumer Id: 93409, Address Id: 51897 => Updated with Vin: 3FAFP07126R204785 ## Mail History Id: 27607423, Consumer Id: 92362, Address Id: 49038 => Updated with Vin: 1FAFP28126G113033 ## Mail History Id: 27607059, Consumer Id: 93579, Address Id: 66954 => Updated with Vin: 1FAFP28126G113033 ## Mail History Id: 27607097, Consumer Id: 93432, Address Id: 51911 => Updated with Vin: 1FTPW145X4KC30504 ## Mail History Id: 27607157, Consumer Id: 38656, Address Id: 53977 => Updated with Vin: 1GNEK13R6XJ449159 ## Mail History Id: 27607077, Consumer Id: 62944, Address Id: 48535 => Updated with Vin: 1FTNX21F0YEB93507 ## Mail History Id: 27607075, Consumer Id: 92590, Address Id: 50244 => Updated with Vin: 1FTSW21P96EA95491 ## Mail History Id: 27607179, Consumer Id: 66533, Address Id: 50015 => Updated with Vin: 1B4HS48N52F199449 ## Total mail_history records updated with vin numbers: 30 out of 36 ============================================================ ====== Tracking Id: 345 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-15 10:09:36') AND us2_order_type_id = 3 ## Order found: 402 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 402 AND product_id = 143 ## Job Group Found: '312' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('312') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061708001') AND customer_id = 3486 ## Mailing found: '12300' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26691911, Consumer Id: 469477, Address Id: 1563324 => Updated with Vin: 2CNDL63F966007052 ## Mail History Id: 26692003, Consumer Id: 490262, Address Id: 1072221 => Updated with Vin: 1G1AL58F287246643 ## Mail History Id: 26691783, Consumer Id: 467461, Address Id: 1035273 => Updated with Vin: 1GNEC13Z86J102489 ## Mail History Id: 26691809, Consumer Id: 465976, Address Id: 5381555 => Updated with Vin: 1GNEC13V35J180920 ## Mail History Id: 26691743, Consumer Id: 462794, Address Id: 1559525 => Updated with Vin: 1G1NE52J53M658316 ## Mail History Id: 26691925, Consumer Id: 477051, Address Id: 9823897 => Updated with Vin: 1GNCS18W42K206412 ## Mail History Id: 26692066, Consumer Id: 463892, Address Id: 639017 => Updated with Vin: 1GNDS13S542243254 ## Mail History Id: 26691949, Consumer Id: 464376, Address Id: 2006986 => Updated with Vin: 2GCEK19T531216079 ## Mail History Id: 26691983, Consumer Id: 464903, Address Id: 1039041 => Updated with Vin: 3GNEC12T24G180729 ## Mail History Id: 26691731, Consumer Id: 475623, Address Id: 1034239 => Updated with Vin: 1GNEC13Z54J257854 ## Mail History Id: 26691923, Consumer Id: 465533, Address Id: 5263462 => Updated with Vin: 1GCDS136658174147 ## Mail History Id: 26691725, Consumer Id: 478331, Address Id: 9824163 => Updated with Vin: 1GNDT13S022421615 ## Mail History Id: 26691993, Consumer Id: 476189, Address Id: 4376608 => Updated with Vin: 1GCHG39R6Y1128332 ## Mail History Id: 26691799, Consumer Id: 476692, Address Id: 4373646 => Updated with Vin: 2G1WW12E949178727 ## Mail History Id: 26691907, Consumer Id: 466422, Address Id: 9821178 => Updated with Vin: 1GCDS136158184567 ## Mail History Id: 26691913, Consumer Id: 481255, Address Id: 7540191 => Updated with Vin: 2C8GP44351R422325 ## Mail History Id: 26691771, Consumer Id: 466423, Address Id: 4372972 => Updated with Vin: 1GCHK29U45E223957 ## Mail History Id: 26691849, Consumer Id: 471075, Address Id: 5424077 => Updated with Vin: 1GKFK16Z85J216085 ## Mail History Id: 26691703, Consumer Id: 478439, Address Id: 5417129 => Updated with Vin: 2CNBE18U7R6941615 ## Mail History Id: 26691759, Consumer Id: 478033, Address Id: 5420555 => Updated with Vin: 2G1WX15KX29343633 ## Mail History Id: 26691909, Consumer Id: 478963, Address Id: 7540156 => Updated with Vin: 1G1AZ54F557613020 ## Mail History Id: 26691933, Consumer Id: 479338, Address Id: 8115887 => Updated with Vin: 2G1WF52E039157352 ## Mail History Id: 26691851, Consumer Id: 471181, Address Id: 9821958 => Updated with Vin: 1G1JF52F247171209 ## Mail History Id: 26691833, Consumer Id: 468260, Address Id: 747023 => Updated with Vin: 1GNFC13027J147712 ## Mail History Id: 26691701, Consumer Id: 490357, Address Id: 816682 => Updated with Vin: 1GHDT13W9T2703775 ## Mail History Id: 26691841, Consumer Id: 481389, Address Id: 1035817 => Updated with Vin: 2G1WZ151549341017 ## Mail History Id: 26692029, Consumer Id: 484222, Address Id: 9825082 => Updated with Vin: 1GNFC13J57R118425 ## Mail History Id: 26692106, Consumer Id: 485857, Address Id: 9825144 => Updated with Vin: 1GTGC13U35F824749 ## Mail History Id: 26691941, Consumer Id: 469397, Address Id: 1038190 => Updated with Vin: 1G1YY26U175107694 ## Mail History Id: 26692039, Consumer Id: 469829, Address Id: 9822727 => Updated with Vin: 1GNFC13J07J376656 ## Mail History Id: 26692110, Consumer Id: 486606, Address Id: 9826027 => Updated with Vin: 3GNEC16Z93G258307 ## Mail History Id: 26692104, Consumer Id: 470894, Address Id: 9823344 => Updated with Vin: 2CNDL23F586061704 ## Mail History Id: 26691961, Consumer Id: 490263, Address Id: 1038615 => Updated with Vin: 3GNDA13D77S534027 ## Mail History Id: 26691935, Consumer Id: 490364, Address Id: 5366933 => Updated with Vin: 3GNEC12Z96G106876 ## Mail History Id: 26691893, Consumer Id: 471173, Address Id: 6439756 => Updated with Vin: 1G1AK18F287159319 ## Mail History Id: 26691711, Consumer Id: 476144, Address Id: 5417666 => Updated with Vin: 1GNDX03E4YD174153 ## Total mail_history records updated with vin numbers: 36 out of 38 ============================================================ ====== Tracking Id: 346 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-06-15 10:10:02') AND us2_order_type_id = 3 ## Order found: 403 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 403 AND product_id = 143 ## Job Group Found: '312' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('312') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061708001') AND customer_id = 3416 ## Mailing found: '12299' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26692115, Consumer Id: 625540, Address Id: 1959877 => Updated with Vin: 1G6KD57Y17U235812 ## Mail History Id: 26691906, Consumer Id: 625820, Address Id: 1968976 => Updated with Vin: 1G6KD54Y54U100901 ## Mail History Id: 26691860, Consumer Id: 625992, Address Id: 11766225 => Updated with Vin: 1GYEE637860142408 ## Mail History Id: 26692055, Consumer Id: 625990, Address Id: 4778061 => Updated with Vin: 1G6DS57V380175934 ## Mail History Id: 26691946, Consumer Id: 625955, Address Id: 3765926 => Updated with Vin: 1G6KD57Y46U109264 ## Mail History Id: 26692120, Consumer Id: 625981, Address Id: 11764734 => Updated with Vin: 1G6KD54Y35U144977 ## Mail History Id: 26692141, Consumer Id: 625952, Address Id: 10933473 => Updated with Vin: 1GYDE63A640127815 ## Mail History Id: 26692044, Consumer Id: 625940, Address Id: 11766202 => Updated with Vin: 1GYEE637750145816 ## Mail History Id: 26691850, Consumer Id: 625918, Address Id: 11766190 => Updated with Vin: 1G6KD57Y18U160319 ## Mail History Id: 26691924, Consumer Id: 626009, Address Id: 11766236 => Updated with Vin: 5GTEN63L488182971 ## Mail History Id: 26691842, Consumer Id: 626014, Address Id: 11764696 => Updated with Vin: 5GTEN13EX88199844 ## Mail History Id: 26692149, Consumer Id: 623667, Address Id: 11764680 => Updated with Vin: 1G6KD54Y05U189195 ## Mail History Id: 26692091, Consumer Id: 685308, Address Id: 1959138 => Updated with Vin: 1G6KD54Y33U241643 ## Mail History Id: 26692138, Consumer Id: 625927, Address Id: 11766196 => Updated with Vin: 1G6KE57Y14U218436 ## Mail History Id: 26691836, Consumer Id: 625959, Address Id: 1968378 => Updated with Vin: 1G6DW67VX80119807 ## Mail History Id: 26691874, Consumer Id: 690872, Address Id: 11766227 => Updated with Vin: 5GTDN136468245718 ## Mail History Id: 26692056, Consumer Id: 626000, Address Id: 11765953 => Updated with Vin: 5GTEN43E388182921 ## Mail History Id: 26691940, Consumer Id: 684300, Address Id: 11795620 => Updated with Vin: 1G6KE57YX3U259811 ## Mail History Id: 26691976, Consumer Id: 629311, Address Id: 11769739 => Updated with Vin: 1G6KS5154KU809042 ## Mail History Id: 26691898, Consumer Id: 682105, Address Id: 11794982 => Updated with Vin: 1G6EL12Y4RU624883 ## Mail History Id: 26691758, Consumer Id: 629827, Address Id: 11770036 => Updated with Vin: 1G6KD579X6U151656 ## Mail History Id: 26692187, Consumer Id: 626033, Address Id: 1961956 => Updated with Vin: 1G6KD57Y27U211633 ## Mail History Id: 26692048, Consumer Id: 689734, Address Id: 11795214 => Updated with Vin: 1G6DW677X60110474 ## Mail History Id: 26691822, Consumer Id: 682909, Address Id: 1968326 => Updated with Vin: 1G6KD54Y91U297969 ## Mail History Id: 26691892, Consumer Id: 627110, Address Id: 1968880 => Updated with Vin: 1G6KE54Y55U121987 ## Mail History Id: 26691978, Consumer Id: 627117, Address Id: 1969530 => Updated with Vin: 1G6KF5492XU733573 ## Mail History Id: 26692193, Consumer Id: 625932, Address Id: 10933668 => Updated with Vin: 1GYFK66838R227754 ## Mail History Id: 26691736, Consumer Id: 625553, Address Id: 1963334 => Updated with Vin: 1G6KF579X5U244413 ## Mail History Id: 26691866, Consumer Id: 689181, Address Id: 11795212 => Updated with Vin: 1GCHK23205F884127 ## Mail History Id: 26692097, Consumer Id: 688439, Address Id: 1967320 => Updated with Vin: 1N4BA41E14C914176 ## Mail History Id: 26692069, Consumer Id: 691226, Address Id: 1966677 => Updated with Vin: 1G6KD57YX6U224824 ## Mail History Id: 26692161, Consumer Id: 687757, Address Id: 4761410 => Updated with Vin: 1GYEK63N93R227661 ## Mail History Id: 26691886, Consumer Id: 640973, Address Id: 11765841 => Updated with Vin: 1G6DM577240180810 ## Mail History Id: 26691724, Consumer Id: 629823, Address Id: 3760410 => Updated with Vin: 1GYEE637460176880 ## Mail History Id: 26692018, Consumer Id: 692120, Address Id: 11796402 => Updated with Vin: 1G6DP577370102659 ## Mail History Id: 26691868, Consumer Id: 625139, Address Id: 4783807 => Updated with Vin: 1GYEE637570156865 ## Mail History Id: 26692167, Consumer Id: 689341, Address Id: 11797202 => Updated with Vin: 1G6DP567850218518 ## Mail History Id: 26691776, Consumer Id: 626044, Address Id: 11764690 => Updated with Vin: 1GYEK63N14R191675 ## Mail History Id: 26691766, Consumer Id: 625176, Address Id: 11765844 => Updated with Vin: 1G6KD54Y54U190051 ## Mail History Id: 26692095, Consumer Id: 625559, Address Id: 3754891 => Updated with Vin: 5GTDN13EX78196386 ## Mail History Id: 26691880, Consumer Id: 690115, Address Id: 11797516 => Updated with Vin: 1G6KD54Y45U209674 ## Mail History Id: 26691790, Consumer Id: 690454, Address Id: 11797623 => Updated with Vin: 1G6DM57T960160036 ## Mail History Id: 26691702, Consumer Id: 625956, Address Id: 10933689 => Updated with Vin: 5GTEN13E988180704 ## Mail History Id: 26692127, Consumer Id: 662415, Address Id: 10933450 => Updated with Vin: 5GTEN13E888186333 ## Mail History Id: 26692113, Consumer Id: 627148, Address Id: 11764732 => Updated with Vin: 3GYFK66N06G120034 ## Mail History Id: 26691818, Consumer Id: 625941, Address Id: 11766203 => Updated with Vin: 5GTEN13E588161275 ## Mail History Id: 26691986, Consumer Id: 625993, Address Id: 4797975 => Updated with Vin: 5GTEN13E088183748 ## Mail History Id: 26691780, Consumer Id: 627076, Address Id: 11764695 => Updated with Vin: 1G6DP577X60162307 ## Mail History Id: 26692107, Consumer Id: 691597, Address Id: 11765982 => Updated with Vin: 1G6KD57Y36U236619 ## Mail History Id: 26691828, Consumer Id: 627072, Address Id: 6882147 => Updated with Vin: 5GTDN13E578165160 ## Mail History Id: 26691918, Consumer Id: 690698, Address Id: 11796481 => Updated with Vin: 1G6DW677560184532 ## Mail History Id: 26691806, Consumer Id: 688008, Address Id: 11796728 => Updated with Vin: 1G6KD54Y34U107460 ## Mail History Id: 26691956, Consumer Id: 625331, Address Id: 1969351 => Updated with Vin: 1G6DW677150170383 ## Total mail_history records updated with vin numbers: 53 out of 58 ============================================================ ====== Tracking Id: 347 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-15 11:08:02') AND us2_order_type_id = 3 ## Order found: 402 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 402 AND product_id = 113 ## Job Group Found: '313' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('313') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061708003') AND customer_id = 3486 ## Mailing found: '12302' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26686144, Consumer Id: 466708, Address Id: 4373102 => Updated with Vin: 1GNDS13SX52277417 ## Mail History Id: 26686146, Consumer Id: 479541, Address Id: 3856589 => Updated with Vin: 1GNEK13Z03R199865 ## Mail History Id: 26686148, Consumer Id: 480940, Address Id: 4374276 => Updated with Vin: 1G1NE52J8Y6114842 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 348 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-15 11:08:14') AND us2_order_type_id = 3 ## Order found: 402 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 402 AND product_id = 114 ## Job Group Found: '313' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('313') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061708003') AND customer_id = 3486 ## Mailing found: '12302' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26686103, Consumer Id: 478461, Address Id: 1036939 => Updated with Vin: 1GNDX03E2XD254081 ## Mail History Id: 26686105, Consumer Id: 464716, Address Id: 1561997 => Updated with Vin: 2GCEK13T141405659 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 349 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-15 11:08:27') AND us2_order_type_id = 3 ## Order found: 402 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 402 AND product_id = 112 ## Job Group Found: '313' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('313') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061708003') AND customer_id = 3486 ## Mailing found: '12302' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 350 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-16 08:38:07') AND us2_order_type_id = 3 ## Order found: 407 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 407 AND product_id = 113 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3230 ## Mailing found: '12324' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27608057, Consumer Id: 63187, Address Id: 47970 => Updated with Vin: 1FTYR44E12PB34046 ## Mail History Id: 27608033, Consumer Id: 66251, Address Id: 49507 => Updated with Vin: 1FTSW21P55EC81494 ## Mail History Id: 27608047, Consumer Id: 93427, Address Id: 51907 => Updated with Vin: 1FMEU75808UA53279 ## Mail History Id: 27607995, Consumer Id: 63026, Address Id: 47777 => Updated with Vin: 1FAFP33P2YW116315 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 351 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-16 08:38:15') AND us2_order_type_id = 3 ## Order found: 407 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 407 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3230 ## Mailing found: '12319' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607089, Consumer Id: 101750, Address Id: 49149 => Updated with Vin: 1FAFP38Z94W121600 ## Mail History Id: 27607577, Consumer Id: 66274, Address Id: 47738 => Updated with Vin: 1FTWX32F9XEC09842 ## Mail History Id: 27607539, Consumer Id: 38571, Address Id: 51512 => Updated with Vin: 1FMCU02Z68KA47459 ## Mail History Id: 27607551, Consumer Id: 64397, Address Id: 48947 => Updated with Vin: 1FMZK05155GA49711 ## Mail History Id: 27607543, Consumer Id: 109216, Address Id: 66958 => Updated with Vin: 1MELM50U5TA615898 ## Mail History Id: 27607519, Consumer Id: 109219, Address Id: 66961 => Updated with Vin: 2FTEF14N1PCA45967 ## Mail History Id: 27607459, Consumer Id: 93274, Address Id: 51761 => Updated with Vin: 1G1ZT51F36F115463 ## Mail History Id: 27607559, Consumer Id: 38506, Address Id: 49155 => Updated with Vin: 1FTPW14545KD23097 ## Mail History Id: 27607433, Consumer Id: 63859, Address Id: 47781 => Updated with Vin: 1FAFP34303W173665 ## Mail History Id: 27607125, Consumer Id: 38652, Address Id: 53974 => Updated with Vin: 1FAFP34N57W183292 ## Mail History Id: 27607133, Consumer Id: 65559, Address Id: 50745 => Updated with Vin: 1FAFP28156G103435 ## Mail History Id: 27607201, Consumer Id: 102642, Address Id: 52454 => Updated with Vin: 3GNEK13T53G144663 ## Mail History Id: 27607495, Consumer Id: 93431, Address Id: 50396 => Updated with Vin: 1FMCU03178KC09821 ## Mail History Id: 27607261, Consumer Id: 63710, Address Id: 52616 => Updated with Vin: 3FAFP11383R116030 ## Mail History Id: 27607359, Consumer Id: 63572, Address Id: 47504 => Updated with Vin: 1FMEU15N9JLA50895 ## Mail History Id: 27607369, Consumer Id: 93573, Address Id: 49197 => Updated with Vin: 2FMZA522X4BA21874 ## Mail History Id: 27607387, Consumer Id: 66332, Address Id: 48087 => Updated with Vin: 1FMYU93146KB78471 ## Mail History Id: 27607275, Consumer Id: 103872, Address Id: 54084 => Updated with Vin: 2FTZF1723YCA42394 ## Mail History Id: 27607305, Consumer Id: 66109, Address Id: 48756 => Updated with Vin: 2FMZA52462BA01703 ## Mail History Id: 27607383, Consumer Id: 66003, Address Id: 52591 => Updated with Vin: 1FMZU34E8WUC63403 ## Mail History Id: 27607285, Consumer Id: 65769, Address Id: 47597 => Updated with Vin: 1FTWW33F61ED71212 ## Mail History Id: 27607303, Consumer Id: 93315, Address Id: 51814 => Updated with Vin: 2FMDK38C67BB63381 ## Mail History Id: 27607397, Consumer Id: 103511, Address Id: 52847 => Updated with Vin: 3FAHP081X7R152959 ## Mail History Id: 27607475, Consumer Id: 63435, Address Id: 47530 => Updated with Vin: 1FMZU75W72ZC83847 ## Mail History Id: 27607127, Consumer Id: 103513, Address Id: 51905 => Updated with Vin: 1FAFP38393W129884 ## Mail History Id: 27607177, Consumer Id: 93557, Address Id: 52032 => Updated with Vin: 1FMZU73K05UA92563 ## Mail History Id: 27607081, Consumer Id: 41919, Address Id: 67774 => Updated with Vin: 4M2DU86W55ZJ23340 ## Mail History Id: 27607173, Consumer Id: 109217, Address Id: 66959 => Updated with Vin: 1LNHM87A55Y607567 ## Mail History Id: 27607099, Consumer Id: 109218, Address Id: 66960 => Updated with Vin: 1LNLM81W4SY683680 ## Mail History Id: 27607403, Consumer Id: 109215, Address Id: 66957 => Updated with Vin: 1FMZU34E6WUB08672 ## Mail History Id: 27607149, Consumer Id: 93583, Address Id: 67443 => Updated with Vin: 3FAHP07Z78R194823 ## Mail History Id: 27607067, Consumer Id: 92472, Address Id: 50763 => Updated with Vin: 1FTRX14W76NB24995 ## Total mail_history records updated with vin numbers: 32 out of 35 ============================================================ ====== Tracking Id: 352 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-16 10:09:56') AND us2_order_type_id = 3 ## Order found: 408 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 408 AND product_id = 143 ## Job Group Found: '312' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('312') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061708001') AND customer_id = 3486 ## Mailing found: '12300' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26692023, Consumer Id: 470946, Address Id: 1568444 => Updated with Vin: 2G1WT58K689179529 ## Mail History Id: 26691985, Consumer Id: 475770, Address Id: 1039121 => Updated with Vin: 2GCEK19TXY1213721 ## Mail History Id: 26691869, Consumer Id: 477697, Address Id: 1036753 => Updated with Vin: 3GNEK13T22G235937 ## Mail History Id: 26691875, Consumer Id: 476279, Address Id: 1036844 => Updated with Vin: 1GNEC13R6XJ501628 ## Mail History Id: 26691729, Consumer Id: 464264, Address Id: 5418792 => Updated with Vin: 3GNEC12T94G253028 ## Mail History Id: 26692033, Consumer Id: 476145, Address Id: 2013225 => Updated with Vin: 1G1JC12FX57123752 ## Mail History Id: 26692068, Consumer Id: 466409, Address Id: 8118954 => Updated with Vin: 1GBJC39U55E119003 ## Mail History Id: 26691745, Consumer Id: 465532, Address Id: 1034589 => Updated with Vin: 1GNEC13V74J330557 ## Mail History Id: 26692140, Consumer Id: 481185, Address Id: 9823688 => Updated with Vin: 1GYEC63TX2R105255 ## Mail History Id: 26691993, Consumer Id: 484884, Address Id: 4376608 => Updated with Vin: 1GBJG31U231207995 ## Mail History Id: 26691751, Consumer Id: 480188, Address Id: 2002916 => Updated with Vin: KL1TD66626B522116 ## Mail History Id: 26691987, Consumer Id: 476783, Address Id: 1039154 => Updated with Vin: 2GCEC19V531233835 ## Mail History Id: 26692078, Consumer Id: 465945, Address Id: 1361859 => Updated with Vin: 1GCGG25V351135565 ## Mail History Id: 26691797, Consumer Id: 476042, Address Id: 2519167 => Updated with Vin: 2G1WF52E949373881 ## Mail History Id: 26691907, Consumer Id: 466422, Address Id: 9821178 => Updated with Vin: 1GCDS136158184567 ## Mail History Id: 26691757, Consumer Id: 477550, Address Id: 1034838 => Updated with Vin: 1GNEC13ZX4J298593 ## Mail History Id: 26692037, Consumer Id: 466838, Address Id: 4378412 => Updated with Vin: 3GNEC16Z15G273838 ## Mail History Id: 26692015, Consumer Id: 467421, Address Id: 2526220 => Updated with Vin: 1GBJG31U051236267 ## Mail History Id: 26691781, Consumer Id: 467840, Address Id: 2518884 => Updated with Vin: 2G1WH55K739245374 ## Mail History Id: 26691931, Consumer Id: 468653, Address Id: 9822163 => Updated with Vin: 3GNEC12Z66G116698 ## Mail History Id: 26691723, Consumer Id: 468940, Address Id: 9822291 => Updated with Vin: 2GCEK13TX51382738 ## Mail History Id: 26691937, Consumer Id: 481902, Address Id: 9825039 => Updated with Vin: 1GNDM19X83B100858 ## Mail History Id: 26691965, Consumer Id: 484374, Address Id: 4375936 => Updated with Vin: 1GNDT13W1W2167731 ## Mail History Id: 26691941, Consumer Id: 471176, Address Id: 1038190 => Updated with Vin: 1G1YY36W985122310 ## Mail History Id: 26691739, Consumer Id: 484701, Address Id: 5419454 => Updated with Vin: 1D7HE42N95S149321 ## Mail History Id: 26691929, Consumer Id: 489752, Address Id: 1074024 => Updated with Vin: 1GNFC13C17R421770 ## Mail History Id: 26691963, Consumer Id: 490232, Address Id: 3286561 => Updated with Vin: 1GCGG25V771112227 ## Mail History Id: 26691823, Consumer Id: 471168, Address Id: 2520210 => Updated with Vin: 5N3AA08AX5N808934 ## Mail History Id: 26692088, Consumer Id: 490342, Address Id: 641687 => Updated with Vin: 1HGEJ1124RL019723 ## Mail History Id: 26691803, Consumer Id: 471177, Address Id: 9823487 => Updated with Vin: 1G1YY26U375134427 ## Mail History Id: 26691865, Consumer Id: 471188, Address Id: 4135671 => Updated with Vin: KL1TD526X5B409867 ## Total mail_history records updated with vin numbers: 31 out of 35 ============================================================ ====== Tracking Id: 353 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-06-16 10:10:21') AND us2_order_type_id = 3 ## Order found: 409 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 409 AND product_id = 143 ## Job Group Found: '312' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('312') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061708001') AND customer_id = 3416 ## Mailing found: '12299' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26691860, Consumer Id: 625992, Address Id: 11766225 => Updated with Vin: 1GYEE637860142408 ## Mail History Id: 26692055, Consumer Id: 625990, Address Id: 4778061 => Updated with Vin: 1G6DS57V380175934 ## Mail History Id: 26691946, Consumer Id: 625955, Address Id: 3765926 => Updated with Vin: 1G6KD57Y46U109264 ## Mail History Id: 26692120, Consumer Id: 625981, Address Id: 11764734 => Updated with Vin: 1G6KD54Y35U144977 ## Mail History Id: 26692044, Consumer Id: 625940, Address Id: 11766202 => Updated with Vin: 1GYEE637750145816 ## Mail History Id: 26691850, Consumer Id: 625918, Address Id: 11766190 => Updated with Vin: 1G6KD57Y18U160319 ## Mail History Id: 26691924, Consumer Id: 626009, Address Id: 11766236 => Updated with Vin: 5GTEN63L488182971 ## Mail History Id: 26691842, Consumer Id: 626014, Address Id: 11764696 => Updated with Vin: 5GTEN13EX88199844 ## Mail History Id: 26692149, Consumer Id: 623667, Address Id: 11764680 => Updated with Vin: 1G6KD54Y05U189195 ## Mail History Id: 26692091, Consumer Id: 685308, Address Id: 1959138 => Updated with Vin: 1G6KD54Y33U241643 ## Mail History Id: 26692138, Consumer Id: 625927, Address Id: 11766196 => Updated with Vin: 1G6KE57Y14U218436 ## Mail History Id: 26691836, Consumer Id: 689264, Address Id: 1968378 => Updated with Vin: 1G6DW677750227217 ## Mail History Id: 26691874, Consumer Id: 625995, Address Id: 11766227 => Updated with Vin: 5GTEN43E788184641 ## Mail History Id: 26692069, Consumer Id: 627109, Address Id: 1966677 => Updated with Vin: 1GYFK66857R258387 ## Mail History Id: 26691776, Consumer Id: 626044, Address Id: 11764690 => Updated with Vin: 1GYEK63N14R191675 ## Mail History Id: 26691880, Consumer Id: 690115, Address Id: 11797516 => Updated with Vin: 1G6KD54Y45U209674 ## Mail History Id: 26691702, Consumer Id: 625956, Address Id: 10933689 => Updated with Vin: 5GTEN13E988180704 ## Mail History Id: 26691818, Consumer Id: 625941, Address Id: 11766203 => Updated with Vin: 5GTEN13E588161275 ## Mail History Id: 26691986, Consumer Id: 625993, Address Id: 4797975 => Updated with Vin: 5GTEN13E088183748 ## Mail History Id: 26691806, Consumer Id: 688008, Address Id: 11796728 => Updated with Vin: 1G6KD54Y34U107460 ## Total mail_history records updated with vin numbers: 20 out of 23 ============================================================ ====== Tracking Id: 354 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-16 11:08:05') AND us2_order_type_id = 3 ## Order found: 408 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 408 AND product_id = 114 ## Job Group Found: '313' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('313') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061708003') AND customer_id = 3486 ## Mailing found: '12302' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26686129, Consumer Id: 486725, Address Id: 9823595 => Updated with Vin: 1G1ZS58F07F296385 ## Mail History Id: 26686131, Consumer Id: 486731, Address Id: 1566247 => Updated with Vin: 2GCEC13V661315554 ## Mail History Id: 26686133, Consumer Id: 477068, Address Id: 9823902 => Updated with Vin: 1G1NE52J23M526260 ## Mail History Id: 26686135, Consumer Id: 467865, Address Id: 9819827 => Updated with Vin: 1GCGG29V661190765 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 355 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-16 11:08:17') AND us2_order_type_id = 3 ## Order found: 408 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 408 AND product_id = 112 ## Job Group Found: '313' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('313') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061708003') AND customer_id = 3486 ## Mailing found: '12302' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 26686143, Consumer Id: 464875, Address Id: 1559049 => Updated with Vin: 2CNDL63F156043669 ## Mail History Id: 26686145, Consumer Id: 468734, Address Id: 1205560 => Updated with Vin: KL1TD56616B641933 ## Mail History Id: 26686147, Consumer Id: 489935, Address Id: 9826330 => Updated with Vin: 2G1WB58K269417523 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 356 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-16 11:38:02') AND us2_order_type_id = 3 ## Order found: 410 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 410 AND product_id = 114 ## Job Group Found: '313' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('313') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm061708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm061708003') AND customer_id = 3357 ## Mailing found: '12301' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 357 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-16 16:11:54') AND us2_order_type_id = 3 ## Order found: 407 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 407 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 358 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-16 16:13:34') AND us2_order_type_id = 3 ## Order found: 407 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 407 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 359 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-17 08:13:21') AND us2_order_type_id = 3 ## Order found: 419 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 419 AND product_id = 55 ## Job Group Found: '320' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('320') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508002') AND customer_id = 3230 ## Mailing found: '11966' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27608092, Consumer Id: 92520, Address Id: 50849 => Updated with Vin: 1FAHP34N67W142565 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 360 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-17 09:01:23') AND us2_order_type_id = 3 ## Order found: 419 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 419 AND product_id = 113 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3230 ## Mailing found: '12324' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 361 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-17 09:01:35') AND us2_order_type_id = 3 ## Order found: 419 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 419 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3230 ## Mailing found: '12319' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607369, Consumer Id: 92060, Address Id: 49197 => Updated with Vin: 1FAFP38353W218416 ## Mail History Id: 27607275, Consumer Id: 103872, Address Id: 54084 => Updated with Vin: 2FTZF1723YCA42394 ## Mail History Id: 27607285, Consumer Id: 103143, Address Id: 47597 => Updated with Vin: 1FAPP14J2NW196357 ## Mail History Id: 27607177, Consumer Id: 93557, Address Id: 52032 => Updated with Vin: 1FMZU73K05UA92563 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 362 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-17 10:13:33') AND us2_order_type_id = 3 ## Order found: 420 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 420 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3486 ## Mailing found: '12322' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607000, Consumer Id: 489750, Address Id: 816430 => Updated with Vin: 1GNFK13087R303157 ## Mail History Id: 27607006, Consumer Id: 489753, Address Id: 2526220 => Updated with Vin: 2FMZA52483BB47098 ## Mail History Id: 27607010, Consumer Id: 480550, Address Id: 9824639 => Updated with Vin: 1G1JH12F947207061 ## Mail History Id: 27607004, Consumer Id: 486297, Address Id: 3291404 => Updated with Vin: 1GNEC13R0XJ353802 ## Mail History Id: 27607008, Consumer Id: 486007, Address Id: 9823523 => Updated with Vin: 1G1YY26U275129638 ## Mail History Id: 27607002, Consumer Id: 471191, Address Id: 9823496 => Updated with Vin: 1GNFC13078J216976 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 363 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-06-17 10:14:09') AND us2_order_type_id = 3 ## Order found: 421 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 421 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3416 ## Mailing found: '12321' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607460, Consumer Id: 625208, Address Id: 4769731 => Updated with Vin: 1G6DP577570166251 ## Mail History Id: 27607491, Consumer Id: 625588, Address Id: 11766028 => Updated with Vin: 5GTDN13E778247830 ## Mail History Id: 27607482, Consumer Id: 625891, Address Id: 11766177 => Updated with Vin: 1G6DG577680155826 ## Mail History Id: 27607518, Consumer Id: 625992, Address Id: 11766225 => Updated with Vin: 1GYEE637860142408 ## Mail History Id: 27607360, Consumer Id: 625990, Address Id: 4778061 => Updated with Vin: 1G6DS57V380175934 ## Mail History Id: 27607588, Consumer Id: 625955, Address Id: 3765926 => Updated with Vin: 1G6KD57Y46U109264 ## Mail History Id: 27607334, Consumer Id: 625981, Address Id: 11764734 => Updated with Vin: 1G6KD54Y35U144977 ## Mail History Id: 27607169, Consumer Id: 625940, Address Id: 11766202 => Updated with Vin: 1GYEE637750145816 ## Mail History Id: 27607406, Consumer Id: 623667, Address Id: 11764680 => Updated with Vin: 1G6KD54Y05U189195 ## Mail History Id: 27607666, Consumer Id: 625927, Address Id: 11766196 => Updated with Vin: 1G6KE57Y14U218436 ## Mail History Id: 27607508, Consumer Id: 689264, Address Id: 1968378 => Updated with Vin: 1G6DW677750227217 ## Mail History Id: 27607620, Consumer Id: 691081, Address Id: 1969918 => Updated with Vin: 1G6DC67A760196380 ## Mail History Id: 27607505, Consumer Id: 690130, Address Id: 11795660 => Updated with Vin: 1G6KD54Y35U116046 ## Mail History Id: 27607566, Consumer Id: 625867, Address Id: 1968973 => Updated with Vin: 1G6KY5493YU312733 ## Mail History Id: 27607364, Consumer Id: 687763, Address Id: 1967145 => Updated with Vin: 1G6KE57Y64U199348 ## Mail History Id: 27607376, Consumer Id: 682104, Address Id: 1959271 => Updated with Vin: 1G6KD54YXWU753405 ## Mail History Id: 27607526, Consumer Id: 687810, Address Id: 1968690 => Updated with Vin: 1GYEK63N63R121099 ## Mail History Id: 27607578, Consumer Id: 688441, Address Id: 1969213 => Updated with Vin: 3GYFK66N55G141881 ## Mail History Id: 27607438, Consumer Id: 625890, Address Id: 1962401 => Updated with Vin: 1G6DG577880134170 ## Mail History Id: 27607598, Consumer Id: 682820, Address Id: 1969398 => Updated with Vin: 1G6KY54993U112674 ## Mail History Id: 27607570, Consumer Id: 689591, Address Id: 8335100 => Updated with Vin: 5GTDN136768108353 ## Mail History Id: 27607434, Consumer Id: 625956, Address Id: 10933689 => Updated with Vin: 5GTEN13E988180704 ## Mail History Id: 27607490, Consumer Id: 626007, Address Id: 11765894 => Updated with Vin: 1G6DH577880182068 ## Mail History Id: 27607368, Consumer Id: 691171, Address Id: 8329386 => Updated with Vin: 5GTDN136368289175 ## Mail History Id: 27607444, Consumer Id: 629834, Address Id: 1963156 => Updated with Vin: 1G6DW677060171140 ## Total mail_history records updated with vin numbers: 25 out of 29 ============================================================ ====== Tracking Id: 364 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-17 11:06:44') AND us2_order_type_id = 3 ## Order found: 420 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 420 AND product_id = 112 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3486 ## Mailing found: '12327' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27608034, Consumer Id: 480760, Address Id: 5417389 => Updated with Vin: 1GKET16M956182030 ## Mail History Id: 27608064, Consumer Id: 468642, Address Id: 4377982 => Updated with Vin: 1GCDS136958280737 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 365 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-17 11:36:29') AND us2_order_type_id = 3 ## Order found: 422 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 422 AND product_id = 114 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3357 ## Mailing found: '12325' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 366 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-17 11:36:41') AND us2_order_type_id = 3 ## Order found: 422 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 422 AND product_id = 112 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3357 ## Mailing found: '12325' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 367 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-18 08:13:57') AND us2_order_type_id = 3 ## Order found: 442 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 442 AND product_id = 55 ## Job Group Found: '320' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('320') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508002') AND customer_id = 3230 ## Mailing found: '11966' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27608093, Consumer Id: 1026161, Address Id: 14938913 => Updated with Vin: 1FMCU03198KE50831 ## Mail History Id: 27608086, Consumer Id: 980713, Address Id: 14919404 => Updated with Vin: 1G2NW12E03C197228 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 368 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-18 08:44:07') AND us2_order_type_id = 3 ## Order found: 442 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 442 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3230 ## Mailing found: '12319' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607291, Consumer Id: 93393, Address Id: 48724 => Updated with Vin: 1FTSX21RX8EB32713 ## Mail History Id: 27607325, Consumer Id: 93305, Address Id: 47264 => Updated with Vin: 2FTZF172XWCA62011 ## Mail History Id: 27607497, Consumer Id: 93584, Address Id: 67643 => Updated with Vin: 1FAHP34N07W137846 ## Mail History Id: 27607323, Consumer Id: 64765, Address Id: 52324 => Updated with Vin: 1FMYU93105KB11686 ## Mail History Id: 27607330, Consumer Id: 96804, Address Id: 102944 => Updated with Vin: 1FMZU77E01UB78602 ## Mail History Id: 27607083, Consumer Id: 63267, Address Id: 51646 => Updated with Vin: 1FTSW31P84EB75447 ## Mail History Id: 27607429, Consumer Id: 63808, Address Id: 48175 => Updated with Vin: 1FTNF21F1YED10675 ## Mail History Id: 27607473, Consumer Id: 102848, Address Id: 47634 => Updated with Vin: 2G1WW12M1W9254712 ## Mail History Id: 27607407, Consumer Id: 65997, Address Id: 49616 => Updated with Vin: 1FAFP34N45W193485 ## Mail History Id: 27607359, Consumer Id: 64068, Address Id: 47504 => Updated with Vin: 1FAFP53S3XG169565 ## Mail History Id: 27607347, Consumer Id: 102035, Address Id: 51774 => Updated with Vin: 1LNLM82W7NY729814 ## Mail History Id: 27607329, Consumer Id: 66781, Address Id: 50366 => Updated with Vin: 1FAFP55U51A220282 ## Mail History Id: 27607375, Consumer Id: 63567, Address Id: 47574 => Updated with Vin: 4M2ZU86E92UJ28580 ## Mail History Id: 27607591, Consumer Id: 62895, Address Id: 48511 => Updated with Vin: 1FMDU72K02ZC83846 ## Mail History Id: 27607113, Consumer Id: 93586, Address Id: 67797 => Updated with Vin: 1J4GL58K22W304062 ## Mail History Id: 27607107, Consumer Id: 73748, Address Id: 67442 => Updated with Vin: 1FAFP53U47A166162 ## Total mail_history records updated with vin numbers: 16 out of 17 ============================================================ ====== Tracking Id: 369 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-06-18 10:16:38') AND us2_order_type_id = 3 ## Order found: 443 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 443 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3416 ## Mailing found: '12321' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607460, Consumer Id: 625208, Address Id: 4769731 => Updated with Vin: 1G6DP577570166251 ## Mail History Id: 27607442, Consumer Id: 625569, Address Id: 3758472 => Updated with Vin: 1G6DW677250174894 ## Mail History Id: 27607416, Consumer Id: 625846, Address Id: 11766157 => Updated with Vin: 1G6DW677460158455 ## Mail History Id: 27607380, Consumer Id: 690255, Address Id: 11797561 => Updated with Vin: 1G6KD57996U125808 ## Mail History Id: 27607588, Consumer Id: 625955, Address Id: 3765926 => Updated with Vin: 1G6KD57Y46U109264 ## Mail History Id: 27607334, Consumer Id: 625981, Address Id: 11764734 => Updated with Vin: 1G6KD54Y35U144977 ## Mail History Id: 27607169, Consumer Id: 625940, Address Id: 11766202 => Updated with Vin: 1GYEE637750145816 ## Mail History Id: 27607406, Consumer Id: 623667, Address Id: 11764680 => Updated with Vin: 1G6KD54Y05U189195 ## Mail History Id: 27607510, Consumer Id: 629324, Address Id: 1968400 => Updated with Vin: 1G6KD54Y8YU337176 ## Mail History Id: 27607544, Consumer Id: 692577, Address Id: 11795281 => Updated with Vin: 1G6DP577270165865 ## Mail History Id: 27607666, Consumer Id: 625927, Address Id: 11766196 => Updated with Vin: 1G6KE57Y14U218436 ## Mail History Id: 27607508, Consumer Id: 625959, Address Id: 1968378 => Updated with Vin: 1G6DW67VX80119807 ## Mail History Id: 27607400, Consumer Id: 691734, Address Id: 6870261 => Updated with Vin: 5GTDN13E078127058 ## Mail History Id: 27607606, Consumer Id: 662938, Address Id: 1969630 => Updated with Vin: 1G6KD57Y46U115145 ## Mail History Id: 27607376, Consumer Id: 682104, Address Id: 1959271 => Updated with Vin: 1G6KD54YXWU753405 ## Mail History Id: 27607610, Consumer Id: 682101, Address Id: 4798425 => Updated with Vin: 1G6KF57902U262690 ## Mail History Id: 27607646, Consumer Id: 692371, Address Id: 1970123 => Updated with Vin: 1G6KD57Y36U108087 ## Mail History Id: 27607632, Consumer Id: 689755, Address Id: 1970016 => Updated with Vin: 1G6DC67A950182138 ## Mail History Id: 27607624, Consumer Id: 688641, Address Id: 1969944 => Updated with Vin: 1G6KD54Y72U233317 ## Mail History Id: 27607526, Consumer Id: 687810, Address Id: 1968690 => Updated with Vin: 1GYEK63N63R121099 ## Mail History Id: 27607584, Consumer Id: 690282, Address Id: 1969271 => Updated with Vin: 1G6KD54Y1YU310255 ## Mail History Id: 27607614, Consumer Id: 627176, Address Id: 1969735 => Updated with Vin: 1G6KD57Y16U106774 ## Mail History Id: 27607572, Consumer Id: 689434, Address Id: 1969048 => Updated with Vin: 1GYEK63N33R296555 ## Mail History Id: 27607434, Consumer Id: 625956, Address Id: 10933689 => Updated with Vin: 5GTEN13E988180704 ## Mail History Id: 27607568, Consumer Id: 627141, Address Id: 11764728 => Updated with Vin: 5GTDN136268179606 ## Mail History Id: 27607604, Consumer Id: 692254, Address Id: 11798275 => Updated with Vin: 1G6KD57Y87U102075 ## Total mail_history records updated with vin numbers: 26 out of 28 ============================================================ ====== Tracking Id: 370 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-18 11:13:57') AND us2_order_type_id = 3 ## Order found: 444 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 444 AND product_id = 112 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3486 ## Mailing found: '12327' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27608028, Consumer Id: 478469, Address Id: 5416752 => Updated with Vin: 2GCEC19V931297666 ## Mail History Id: 27608036, Consumer Id: 463440, Address Id: 930964 => Updated with Vin: 1GNEC13Z23J262959 ## Mail History Id: 27608042, Consumer Id: 467489, Address Id: 1211693 => Updated with Vin: 2CNDL63F066025262 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 371 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-18 11:43:53') AND us2_order_type_id = 3 ## Order found: 445 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 445 AND product_id = 142 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3357 ## Mailing found: '12320' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27606946, Consumer Id: 187301, Address Id: 398084 => Updated with Vin: 1FMEU17L71LB50506 ## Mail History Id: 27606798, Consumer Id: 193288, Address Id: 403082 => Updated with Vin: 1YVFP80C835M27720 ## Mail History Id: 27606886, Consumer Id: 435548, Address Id: 9800086 => Updated with Vin: 1NXBR32E43Z164305 ## Mail History Id: 27606830, Consumer Id: 190375, Address Id: 399532 => Updated with Vin: JM1FE17NX40137553 ## Mail History Id: 27607633, Consumer Id: 195911, Address Id: 405474 => Updated with Vin: 1YVFP80C745N96922 ## Mail History Id: 27606756, Consumer Id: 435602, Address Id: 9800118 => Updated with Vin: 4T1BE32K24U281755 ## Mail History Id: 27606992, Consumer Id: 435517, Address Id: 9800067 => Updated with Vin: 4T1BE32K74U379129 ## Mail History Id: 27607623, Consumer Id: 188133, Address Id: 398647 => Updated with Vin: JM1FE17NX50143158 ## Mail History Id: 27607749, Consumer Id: 194274, Address Id: 403423 => Updated with Vin: 1ZVFT80N655176425 ## Mail History Id: 27607787, Consumer Id: 196253, Address Id: 405124 => Updated with Vin: 1YVHP84C555M36297 ## Mail History Id: 27607609, Consumer Id: 435600, Address Id: 406332 => Updated with Vin: JHMES16575S001410 ## Mail History Id: 27607682, Consumer Id: 152380, Address Id: 394712 => Updated with Vin: JM1BK324161456077 ## Mail History Id: 27606996, Consumer Id: 196006, Address Id: 405675 => Updated with Vin: 1YVHP80D865M27545 ## Mail History Id: 27607701, Consumer Id: 198126, Address Id: 407510 => Updated with Vin: 5FNRL38656B118189 ## Mail History Id: 27606780, Consumer Id: 153438, Address Id: 395686 => Updated with Vin: JM3ER29L770109738 ## Mail History Id: 27606782, Consumer Id: 155881, Address Id: 397137 => Updated with Vin: JM3TB38V580141769 ## Mail History Id: 27607690, Consumer Id: 155338, Address Id: 397399 => Updated with Vin: JM1BK34M571770197 ## Mail History Id: 27607736, Consumer Id: 154876, Address Id: 396990 => Updated with Vin: 1YVHP80C175M24804 ## Mail History Id: 27607728, Consumer Id: 435601, Address Id: 397872 => Updated with Vin: JNKCV54E03M223748 ## Mail History Id: 27607756, Consumer Id: 155631, Address Id: 397672 => Updated with Vin: JM1BK32G281825686 ## Mail History Id: 27607724, Consumer Id: 155690, Address Id: 397727 => Updated with Vin: JM1BK344081827634 ## Mail History Id: 27606840, Consumer Id: 155820, Address Id: 397853 => Updated with Vin: JM1BK344X81839838 ## Mail History Id: 27607710, Consumer Id: 155642, Address Id: 397682 => Updated with Vin: JM1BK324681842092 ## Mail History Id: 27606932, Consumer Id: 155852, Address Id: 397884 => Updated with Vin: JM1BK34MX81845087 ## Mail History Id: 27607692, Consumer Id: 155750, Address Id: 397785 => Updated with Vin: JM1BK32G181850725 ## Mail History Id: 27606822, Consumer Id: 196780, Address Id: 401457 => Updated with Vin: 1FMYU60E91UA63433 ## Mail History Id: 27606714, Consumer Id: 191731, Address Id: 402092 => Updated with Vin: 1FTNW21F73EA76521 ## Mail History Id: 27607726, Consumer Id: 435529, Address Id: 6904244 => Updated with Vin: 1ZVHT80N685173750 ## Mail History Id: 27606672, Consumer Id: 155693, Address Id: 397730 => Updated with Vin: 4F2CZ49H88KM17062 ## Mail History Id: 27606944, Consumer Id: 435531, Address Id: 9800076 => Updated with Vin: 1LNLM92V4VY667897 ## Mail History Id: 27607755, Consumer Id: 194229, Address Id: 398317 => Updated with Vin: 2FMDA5142WBA89506 ## Mail History Id: 27606694, Consumer Id: 435543, Address Id: 875207 => Updated with Vin: 3FAKP1139XR161790 ## Total mail_history records updated with vin numbers: 32 out of 33 ============================================================ ====== Tracking Id: 372 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 1 AND DATE(cart_created_date) = DATE('2008-06-18 12:39:58') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 373 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-19 08:44:04') AND us2_order_type_id = 3 ## Order found: 453 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 453 AND product_id = 113 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3230 ## Mailing found: '12324' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607957, Consumer Id: 67455, Address Id: 53275 => Updated with Vin: 1FTSW31P94EB05987 ## Mail History Id: 27608019, Consumer Id: 93430, Address Id: 51910 => Updated with Vin: 2FMZA51685BA05341 ## Mail History Id: 27608015, Consumer Id: 67529, Address Id: 53301 => Updated with Vin: 1MEFM401X5G609737 ## Mail History Id: 27608025, Consumer Id: 64252, Address Id: 48017 => Updated with Vin: 2MEFM75W21X629412 ## Mail History Id: 27608011, Consumer Id: 103510, Address Id: 53700 => Updated with Vin: 1FAHP56S31G274456 ## Mail History Id: 27607969, Consumer Id: 459683, Address Id: 53818 => Updated with Vin: 1FTPW14555FB60758 ## Mail History Id: 27607989, Consumer Id: 64537, Address Id: 49358 => Updated with Vin: 1FTPX14585FB04438 ## Mail History Id: 27607997, Consumer Id: 103097, Address Id: 53537 => Updated with Vin: 1FMZU73K83ZB32663 ## Mail History Id: 27608039, Consumer Id: 65168, Address Id: 48956 => Updated with Vin: 1FMZK01165GA22152 ## Mail History Id: 27608017, Consumer Id: 93273, Address Id: 48305 => Updated with Vin: 3FAHP07Z38R127474 ## Mail History Id: 27608029, Consumer Id: 93252, Address Id: 50603 => Updated with Vin: 1ZVFT82H575246040 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 374 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-19 08:44:15') AND us2_order_type_id = 3 ## Order found: 453 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 453 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3230 ## Mailing found: '12319' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607339, Consumer Id: 102863, Address Id: 48396 => Updated with Vin: 3FAHP07186R232647 ## Mail History Id: 27607557, Consumer Id: 103805, Address Id: 53853 => Updated with Vin: 1C3EL56R02N338721 ## Mail History Id: 27607363, Consumer Id: 93049, Address Id: 50824 => Updated with Vin: 1FMEU73847UB22220 ## Mail History Id: 27607291, Consumer Id: 92435, Address Id: 48724 => Updated with Vin: 1FTPW14516KD31644 ## Mail History Id: 27607335, Consumer Id: 66543, Address Id: 52346 => Updated with Vin: 1FAFP383X3W155636 ## Mail History Id: 27607579, Consumer Id: 93293, Address Id: 51801 => Updated with Vin: 1FTZR15E68PA17797 ## Mail History Id: 27607571, Consumer Id: 66856, Address Id: 50473 => Updated with Vin: 1FTPF12596NB21911 ## Mail History Id: 27607581, Consumer Id: 66208, Address Id: 53020 => Updated with Vin: 1FTNW21F1YEB94247 ## Mail History Id: 27607593, Consumer Id: 67290, Address Id: 49877 => Updated with Vin: 3FAFP08146R153224 ## Mail History Id: 27607587, Consumer Id: 93580, Address Id: 66955 => Updated with Vin: 2FMDK38C38BA59951 ## Mail History Id: 27607541, Consumer Id: 66984, Address Id: 50518 => Updated with Vin: 1FAFP34N46W237549 ## Mail History Id: 27607437, Consumer Id: 67608, Address Id: 47531 => Updated with Vin: 2FMZA51452BB74291 ## Mail History Id: 27607065, Consumer Id: 67702, Address Id: 50587 => Updated with Vin: 1FMZK02116GA35990 ## Mail History Id: 27607095, Consumer Id: 62994, Address Id: 47636 => Updated with Vin: 1FMYU93174KB51939 ## Mail History Id: 27607465, Consumer Id: 66445, Address Id: 49374 => Updated with Vin: 1FTWW31P95ED03052 ## Mail History Id: 27607359, Consumer Id: 65251, Address Id: 47504 => Updated with Vin: 1FBSS31L71HB64883 ## Mail History Id: 27607231, Consumer Id: 67034, Address Id: 52904 => Updated with Vin: 1FMZU73K44ZA89456 ## Mail History Id: 27607311, Consumer Id: 92603, Address Id: 49524 => Updated with Vin: 1FAFP34N87W183609 ## Mail History Id: 27607255, Consumer Id: 64780, Address Id: 48337 => Updated with Vin: 1FMYU70E51UC63263 ## Mail History Id: 27607409, Consumer Id: 109707, Address Id: 67444 => Updated with Vin: 1LNHM81WX2Y618645 ## Mail History Id: 27607253, Consumer Id: 67345, Address Id: 47563 => Updated with Vin: 3FAFP37ZX4R121979 ## Mail History Id: 27607251, Consumer Id: 109706, Address Id: 53470 => Updated with Vin: 3G2JB12F55S101769 ## Mail History Id: 27607269, Consumer Id: 63946, Address Id: 48056 => Updated with Vin: 3FAFP37323R152461 ## Mail History Id: 27607477, Consumer Id: 66202, Address Id: 50582 => Updated with Vin: 1FAFP28156G138394 ## Mail History Id: 27607481, Consumer Id: 66642, Address Id: 50122 => Updated with Vin: 1FMYU94146KA76215 ## Mail History Id: 27607061, Consumer Id: 93340, Address Id: 51828 => Updated with Vin: 1FMCU94198KB77277 ## Mail History Id: 27607656, Consumer Id: 93585, Address Id: 67644 => Updated with Vin: 1FTPX14V88FB27268 ## Mail History Id: 27607107, Consumer Id: 73748, Address Id: 67442 => Updated with Vin: 1FAFP53U47A166162 ## Mail History Id: 27607137, Consumer Id: 66478, Address Id: 50203 => Updated with Vin: 1FTPX14565KC36251 ## Mail History Id: 27607183, Consumer Id: 93235, Address Id: 49097 => Updated with Vin: 1FTRW07692KB50339 ## Mail History Id: 27607503, Consumer Id: 63954, Address Id: 49860 => Updated with Vin: 1FMYU04165KD40075 ## Total mail_history records updated with vin numbers: 31 out of 32 ============================================================ ====== Tracking Id: 375 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-06-19 10:16:22') AND us2_order_type_id = 3 ## Order found: 454 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 454 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3416 ## Mailing found: '12321' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607460, Consumer Id: 625208, Address Id: 4769731 => Updated with Vin: 1G6DP577570166251 ## Mail History Id: 27607502, Consumer Id: 625377, Address Id: 11764740 => Updated with Vin: 1G6KD52Y1TU306590 ## Mail History Id: 27607491, Consumer Id: 625588, Address Id: 11766028 => Updated with Vin: 5GTDN13E778247830 ## Mail History Id: 27607642, Consumer Id: 625834, Address Id: 11766149 => Updated with Vin: 1G6DW677X70194510 ## Mail History Id: 27607169, Consumer Id: 625940, Address Id: 11766202 => Updated with Vin: 1GYEE637750145816 ## Mail History Id: 27607398, Consumer Id: 625915, Address Id: 3756023 => Updated with Vin: 5GTEN43E988202816 ## Mail History Id: 27607666, Consumer Id: 625927, Address Id: 11766196 => Updated with Vin: 1G6KE57Y14U218436 ## Mail History Id: 27607508, Consumer Id: 625959, Address Id: 1968378 => Updated with Vin: 1G6DW67VX80119807 ## Mail History Id: 27607600, Consumer Id: 691146, Address Id: 1969429 => Updated with Vin: 1G6KD54Y74U129039 ## Mail History Id: 27607608, Consumer Id: 627121, Address Id: 1969644 => Updated with Vin: 1G6KS54Y73U151367 ## Mail History Id: 27607630, Consumer Id: 688464, Address Id: 1969976 => Updated with Vin: 1G6DP567150109771 ## Mail History Id: 27607408, Consumer Id: 691732, Address Id: 10933566 => Updated with Vin: 1GYEE637540179204 ## Mail History Id: 27607540, Consumer Id: 625322, Address Id: 10934665 => Updated with Vin: 1G6KD54Y25U202352 ## Mail History Id: 27607378, Consumer Id: 1174736, Address Id: 1959349 => Updated with Vin: 1GYEE637X70177517 ## Mail History Id: 27607564, Consumer Id: 625937, Address Id: 1968969 => Updated with Vin: 1G6KD57Y98U161699 ## Mail History Id: 27607534, Consumer Id: 626025, Address Id: 1968701 => Updated with Vin: 1G6DC67A660111657 ## Mail History Id: 27607362, Consumer Id: 627128, Address Id: 11764724 => Updated with Vin: 1G6DC67A460143846 ## Mail History Id: 27607450, Consumer Id: 627066, Address Id: 1963372 => Updated with Vin: 1GYEE637250205128 ## Mail History Id: 27607478, Consumer Id: 686091, Address Id: 1965792 => Updated with Vin: 1G6KE57Y62U147571 ## Mail History Id: 27607428, Consumer Id: 625932, Address Id: 10933668 => Updated with Vin: 1GYFK66838R227754 ## Mail History Id: 27607526, Consumer Id: 687810, Address Id: 1968690 => Updated with Vin: 1GYEK63N63R121099 ## Mail History Id: 27607414, Consumer Id: 691563, Address Id: 1961751 => Updated with Vin: 1G6DW677570121318 ## Mail History Id: 27607452, Consumer Id: 692144, Address Id: 11766092 => Updated with Vin: 5GTDN13E978116690 ## Mail History Id: 27607554, Consumer Id: 688589, Address Id: 11796912 => Updated with Vin: 3GYFK66N84G201053 ## Mail History Id: 27607636, Consumer Id: 662934, Address Id: 1970019 => Updated with Vin: 1G6KD54Y92U274239 ## Mail History Id: 27607468, Consumer Id: 626044, Address Id: 11764690 => Updated with Vin: 1GYEK63N14R191675 ## Mail History Id: 27607434, Consumer Id: 625956, Address Id: 10933689 => Updated with Vin: 5GTEN13E988180704 ## Mail History Id: 27607386, Consumer Id: 627148, Address Id: 11764732 => Updated with Vin: 3GYFK66N06G120034 ## Mail History Id: 27607496, Consumer Id: 690946, Address Id: 11766203 => Updated with Vin: 5GTDN136168287540 ## Total mail_history records updated with vin numbers: 29 out of 31 ============================================================ ====== Tracking Id: 376 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-19 11:14:03') AND us2_order_type_id = 3 ## Order found: 455 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 455 AND product_id = 112 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3486 ## Mailing found: '12327' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27608032, Consumer Id: 479367, Address Id: 820194 => Updated with Vin: 1G1ZS548X5F268548 ## Mail History Id: 27608062, Consumer Id: 467490, Address Id: 2010994 => Updated with Vin: 1GNEC13V95R268825 ## Mail History Id: 27608038, Consumer Id: 479517, Address Id: 1560719 => Updated with Vin: 2G1WW12E629305320 ## Mail History Id: 27608050, Consumer Id: 484702, Address Id: 9824938 => Updated with Vin: 1GNEC13Z23J278093 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 377 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-06-19 11:14:59') AND us2_order_type_id = 3 ## Order found: 456 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 456 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3525 ## Mailing found: '12323' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607042, Consumer Id: 520078, Address Id: 9849380 => Updated with Vin: KMHCG45C62U333006 ## Mail History Id: 27606933, Consumer Id: 520221, Address Id: 9849486 => Updated with Vin: KMHFU45E42A176889 ## Mail History Id: 27606815, Consumer Id: 520590, Address Id: 9849758 => Updated with Vin: KMHFU45E74A271577 ## Mail History Id: 27606783, Consumer Id: 520910, Address Id: 9850029 => Updated with Vin: KMHFU45E23A241417 ## Mail History Id: 27607264, Consumer Id: 520478, Address Id: 9849666 => Updated with Vin: KMHWF35H13A908654 ## Mail History Id: 27607134, Consumer Id: 521948, Address Id: 9849671 => Updated with Vin: KMHDN46D54U707982 ## Mail History Id: 27606803, Consumer Id: 522314, Address Id: 9853190 => Updated with Vin: KMHWF25S54A913654 ## Mail History Id: 27606891, Consumer Id: 521089, Address Id: 2423000 => Updated with Vin: KMHFU45EX4A315488 ## Mail History Id: 27607035, Consumer Id: 520711, Address Id: 9849864 => Updated with Vin: KMHDN45D33U645367 ## Mail History Id: 27607290, Consumer Id: 522828, Address Id: 9853631 => Updated with Vin: KM8SB12B44U836346 ## Mail History Id: 27606807, Consumer Id: 521015, Address Id: 2421302 => Updated with Vin: KMHDN46DX4U726351 ## Mail History Id: 27606759, Consumer Id: 520158, Address Id: 9849449 => Updated with Vin: KMHWF35H02A731111 ## Mail History Id: 27606937, Consumer Id: 524613, Address Id: 9855032 => Updated with Vin: KM8SC13D85U880431 ## Mail History Id: 27606791, Consumer Id: 524611, Address Id: 9855030 => Updated with Vin: KM8SC13D05U855491 ## Mail History Id: 27606941, Consumer Id: 525026, Address Id: 9855328 => Updated with Vin: KMHWF35H95A206150 ## Mail History Id: 27606795, Consumer Id: 487031, Address Id: 9850700 => Updated with Vin: 5NPEU46F36H021840 ## Mail History Id: 27606685, Consumer Id: 520298, Address Id: 9682717 => Updated with Vin: KMHWF25S23A737791 ## Mail History Id: 27606723, Consumer Id: 520521, Address Id: 9849703 => Updated with Vin: KMHWF25H53A774323 ## Mail History Id: 27607028, Consumer Id: 520300, Address Id: 9849550 => Updated with Vin: KMHWF35HX3A821920 ## Mail History Id: 27607076, Consumer Id: 520077, Address Id: 9849379 => Updated with Vin: KMHWF35H53A836115 ## Mail History Id: 27606865, Consumer Id: 520386, Address Id: 9849616 => Updated with Vin: KMHWF25H63A871224 ## Mail History Id: 27607023, Consumer Id: 520913, Address Id: 9850032 => Updated with Vin: KMHWF35H54A933204 ## Mail History Id: 27606719, Consumer Id: 521616, Address Id: 9850966 => Updated with Vin: KMHWF35H24A013210 ## Mail History Id: 27607248, Consumer Id: 521613, Address Id: 9850963 => Updated with Vin: KMHWF35H34A972244 ## Mail History Id: 27606917, Consumer Id: 521829, Address Id: 9851652 => Updated with Vin: KMHWF25HX4A027639 ## Mail History Id: 27606741, Consumer Id: 521901, Address Id: 9851973 => Updated with Vin: KMHWF35H34A067633 ## Mail History Id: 27606911, Consumer Id: 522364, Address Id: 9853229 => Updated with Vin: KMHWF25HX5A121294 ## Mail History Id: 27606675, Consumer Id: 523179, Address Id: 9853404 => Updated with Vin: KMHWF25H25A197138 ## Mail History Id: 27607150, Consumer Id: 522708, Address Id: 9853545 => Updated with Vin: KMHWF25H95A161026 ## Mail History Id: 27607120, Consumer Id: 522705, Address Id: 9853542 => Updated with Vin: KMHWF25S85A161756 ## Mail History Id: 27607310, Consumer Id: 523599, Address Id: 9854220 => Updated with Vin: KMHET46C96A087899 ## Mail History Id: 27607100, Consumer Id: 523747, Address Id: 9854335 => Updated with Vin: 5NPEU46F86H003012 ## Mail History Id: 27607222, Consumer Id: 523750, Address Id: 9854338 => Updated with Vin: KMHEU46C36A105956 ## Mail History Id: 27606839, Consumer Id: 524125, Address Id: 9854644 => Updated with Vin: 5NPEU46FX6H018532 ## Mail History Id: 27606763, Consumer Id: 523999, Address Id: 9854544 => Updated with Vin: 5NPEU46F26H023532 ## Mail History Id: 27607300, Consumer Id: 524751, Address Id: 9855130 => Updated with Vin: 5NPET46C16H073704 ## Mail History Id: 27607078, Consumer Id: 524778, Address Id: 9855148 => Updated with Vin: 5NPET46C76H067227 ## Mail History Id: 27607316, Consumer Id: 525140, Address Id: 9850383 => Updated with Vin: 5NPEU46F56H109479 ## Mail History Id: 27607204, Consumer Id: 525180, Address Id: 9855439 => Updated with Vin: 5NPEU46C96H120085 ## Mail History Id: 27607230, Consumer Id: 525384, Address Id: 9851366 => Updated with Vin: 5NPET46C66H125859 ## Mail History Id: 27607206, Consumer Id: 525321, Address Id: 9855545 => Updated with Vin: 5NPEU46F56H126444 ## Mail History Id: 27607320, Consumer Id: 525277, Address Id: 9855510 => Updated with Vin: 5NPEU46F16H123105 ## Mail History Id: 27607214, Consumer Id: 525252, Address Id: 9855494 => Updated with Vin: 5NPEU46F46H125916 ## Mail History Id: 27606709, Consumer Id: 525645, Address Id: 2420849 => Updated with Vin: 5NPEU46F76H123464 ## Mail History Id: 27606659, Consumer Id: 526003, Address Id: 9856040 => Updated with Vin: 5NPEU46F86H054154 ## Mail History Id: 27606769, Consumer Id: 525533, Address Id: 2421201 => Updated with Vin: 5NPEU46F66H148243 ## Mail History Id: 27607242, Consumer Id: 487023, Address Id: 9850692 => Updated with Vin: 5NPEU46C36H171470 ## Mail History Id: 27607156, Consumer Id: 486905, Address Id: 9850597 => Updated with Vin: 5NPEU46F57H184863 ## Mail History Id: 27606683, Consumer Id: 488251, Address Id: 9852099 => Updated with Vin: 5NPEU46F87H171492 ## Mail History Id: 27606807, Consumer Id: 487014, Address Id: 2421302 => Updated with Vin: 5NPEU46F07H186200 ## Mail History Id: 27607308, Consumer Id: 487412, Address Id: 9851126 => Updated with Vin: 5NPEU46F07H199223 ## Mail History Id: 27607130, Consumer Id: 487604, Address Id: 9680013 => Updated with Vin: 5NPEU46F47H207856 ## Mail History Id: 27606825, Consumer Id: 487406, Address Id: 9851121 => Updated with Vin: 5NPEU46F77H208774 ## Mail History Id: 27606867, Consumer Id: 487366, Address Id: 9851090 => Updated with Vin: 5NPET46C27H223627 ## Mail History Id: 27606743, Consumer Id: 520642, Address Id: 9849805 => Updated with Vin: KMHWF25S71A403639 ## Mail History Id: 27606697, Consumer Id: 520249, Address Id: 9849508 => Updated with Vin: KM8SC83D71U084899 ## Mail History Id: 27606985, Consumer Id: 520937, Address Id: 9850054 => Updated with Vin: KMHJG25FX1U244737 ## Mail History Id: 27606753, Consumer Id: 525628, Address Id: 9855830 => Updated with Vin: KMHHN65F16U207403 ## Mail History Id: 27607244, Consumer Id: 520136, Address Id: 2702524 => Updated with Vin: KMHCG45C73U472157 ## Mail History Id: 27607250, Consumer Id: 520772, Address Id: 9849915 => Updated with Vin: KMHCG45C53U497560 ## Mail History Id: 27607154, Consumer Id: 487000, Address Id: 9850675 => Updated with Vin: KMHCM36C17U014380 ## Mail History Id: 27607126, Consumer Id: 520572, Address Id: 9849354 => Updated with Vin: KMHCG45C12U365443 ## Mail History Id: 27606725, Consumer Id: 488959, Address Id: 9849355 => Updated with Vin: KMHWF25S92A676485 ## Mail History Id: 27606923, Consumer Id: 525738, Address Id: 9855768 => Updated with Vin: KMHWF35H22A699083 ## Mail History Id: 27607054, Consumer Id: 520256, Address Id: 9849514 => Updated with Vin: KMHCF35G72U198764 ## Mail History Id: 27607288, Consumer Id: 527876, Address Id: 9857261 => Updated with Vin: KM8SC13D72U208372 ## Mail History Id: 27606981, Consumer Id: 522361, Address Id: 9853227 => Updated with Vin: KMHHM65D63U018310 ## Mail History Id: 27606885, Consumer Id: 488848, Address Id: 2422581 => Updated with Vin: KM8SC13D83U458298 ## Mail History Id: 27606671, Consumer Id: 523306, Address Id: 9854011 => Updated with Vin: KMHDN45D13U497865 ## Mail History Id: 27607286, Consumer Id: 526042, Address Id: 9852060 => Updated with Vin: KMHFC46F06A117743 ## Mail History Id: 27606977, Consumer Id: 522228, Address Id: 9852912 => Updated with Vin: KMHFU45EX4A371981 ## Mail History Id: 27607284, Consumer Id: 520696, Address Id: 2420496 => Updated with Vin: KM8SC13D82U243356 ## Mail History Id: 27606871, Consumer Id: 520335, Address Id: 9849579 => Updated with Vin: KM8SC13D42U266942 ## Mail History Id: 27607298, Consumer Id: 520199, Address Id: 9849473 => Updated with Vin: KM8SC13D93U350725 ## Mail History Id: 27607046, Consumer Id: 520469, Address Id: 9849658 => Updated with Vin: KM8SC13DX3U425836 ## Mail History Id: 27607032, Consumer Id: 520562, Address Id: 9849624 => Updated with Vin: KM8SC13D63U452662 ## Mail History Id: 27606813, Consumer Id: 521034, Address Id: 2421377 => Updated with Vin: KM8SB12BX3U443773 ## Mail History Id: 27607184, Consumer Id: 520470, Address Id: 9849660 => Updated with Vin: KM8SC13D43U461439 ## Mail History Id: 27607160, Consumer Id: 520938, Address Id: 9850055 => Updated with Vin: KM8SB12B33U468935 ## Mail History Id: 27607037, Consumer Id: 520295, Address Id: 9849547 => Updated with Vin: KM8SC13E63U463010 ## Mail History Id: 27607088, Consumer Id: 520537, Address Id: 9849716 => Updated with Vin: KM8SB12B73U544771 ## Mail History Id: 27606851, Consumer Id: 520625, Address Id: 9849788 => Updated with Vin: KM8SB12B13U566149 ## Mail History Id: 27606771, Consumer Id: 520773, Address Id: 2421228 => Updated with Vin: KM8SC13E54U575637 ## Mail History Id: 27607278, Consumer Id: 520945, Address Id: 9850063 => Updated with Vin: KM8SC13E74U579320 ## Mail History Id: 27606651, Consumer Id: 520912, Address Id: 9850031 => Updated with Vin: KM8SB12B74U587640 ## Mail History Id: 27606841, Consumer Id: 520911, Address Id: 9850030 => Updated with Vin: KM8SC13EX4U584981 ## Mail History Id: 27606847, Consumer Id: 520873, Address Id: 9849994 => Updated with Vin: KM8SC13E54U590767 ## Mail History Id: 27606973, Consumer Id: 520992, Address Id: 9690574 => Updated with Vin: KM8SC13D64U603890 ## Mail History Id: 27607228, Consumer Id: 521095, Address Id: 9850184 => Updated with Vin: KM8SC13E44U590727 ## Mail History Id: 27607220, Consumer Id: 522051, Address Id: 9852566 => Updated with Vin: KM8SB12B24U813194 ## Mail History Id: 27607176, Consumer Id: 522179, Address Id: 9852875 => Updated with Vin: KM8SB12B54U832029 ## Mail History Id: 27607043, Consumer Id: 522413, Address Id: 9853314 => Updated with Vin: KM8SC13D94U845069 ## Mail History Id: 27606921, Consumer Id: 521014, Address Id: 2423581 => Updated with Vin: KMHFU45EX2A197570 ## Mail History Id: 27607090, Consumer Id: 523366, Address Id: 9854058 => Updated with Vin: KM8SC13E35U966366 ## Mail History Id: 27607138, Consumer Id: 524896, Address Id: 9855233 => Updated with Vin: KM8SC13E86U099404 ## Mail History Id: 27607041, Consumer Id: 487035, Address Id: 9850704 => Updated with Vin: 5NMSH13E17H008729 ## Mail History Id: 27607044, Consumer Id: 487003, Address Id: 9850677 => Updated with Vin: 5NMSH13E67H003719 ## Mail History Id: 27606705, Consumer Id: 487387, Address Id: 9851107 => Updated with Vin: 5NMSG13D07H013611 ## Mail History Id: 27607058, Consumer Id: 487037, Address Id: 9850706 => Updated with Vin: 5NMSH13E47H020955 ## Mail History Id: 27606775, Consumer Id: 487393, Address Id: 9851110 => Updated with Vin: KM8SG13D97U097996 ## Mail History Id: 27606695, Consumer Id: 487674, Address Id: 9851448 => Updated with Vin: 5NMSH13E07H022671 ## Mail History Id: 27606829, Consumer Id: 525568, Address Id: 9855734 => Updated with Vin: KMHWF35H25A108318 ## Mail History Id: 27607034, Consumer Id: 527908, Address Id: 9857277 => Updated with Vin: 1N6BA06A65N560912 ## Mail History Id: 27606965, Consumer Id: 526493, Address Id: 9856336 => Updated with Vin: KM8JM12BX5U125015 ## Mail History Id: 27607013, Consumer Id: 523450, Address Id: 9854115 => Updated with Vin: KM8JN12D25U165510 ## Mail History Id: 27607033, Consumer Id: 525630, Address Id: 9855831 => Updated with Vin: KM8SC13E25U946545 ## Mail History Id: 27606749, Consumer Id: 520205, Address Id: 6315632 => Updated with Vin: KMHDN45D51U049948 ## Mail History Id: 27607050, Consumer Id: 520297, Address Id: 9849549 => Updated with Vin: KMHDN45D03U630602 ## Mail History Id: 27606889, Consumer Id: 527375, Address Id: 9856952 => Updated with Vin: KMHDN45D63U684616 ## Mail History Id: 27606863, Consumer Id: 520672, Address Id: 9849832 => Updated with Vin: KMHDN45D53U628487 ## Mail History Id: 27606881, Consumer Id: 521094, Address Id: 9850183 => Updated with Vin: KMHDN46D04U779687 ## Mail History Id: 27606837, Consumer Id: 521702, Address Id: 9688069 => Updated with Vin: KMHDN46D54U800341 ## Mail History Id: 27607144, Consumer Id: 521701, Address Id: 9851302 => Updated with Vin: KMHDN46D74U852280 ## Mail History Id: 27607039, Consumer Id: 522406, Address Id: 9853263 => Updated with Vin: KMHDN46D85U949604 ## Mail History Id: 27606951, Consumer Id: 523493, Address Id: 9854146 => Updated with Vin: KMHDN46D85U133587 ## Mail History Id: 27607132, Consumer Id: 524612, Address Id: 9855031 => Updated with Vin: KMHDN46D26U208642 ## Mail History Id: 27607258, Consumer Id: 525047, Address Id: 9855343 => Updated with Vin: KMHDN46D66U265264 ## Mail History Id: 27607252, Consumer Id: 526261, Address Id: 9856227 => Updated with Vin: KMHEU46C76A083069 ## Mail History Id: 27607027, Consumer Id: 527772, Address Id: 9856345 => Updated with Vin: KMHFC46F86A087875 ## Mail History Id: 27606747, Consumer Id: 525700, Address Id: 9685065 => Updated with Vin: KMHFC46F36A105814 ## Mail History Id: 27606857, Consumer Id: 525931, Address Id: 9855993 => Updated with Vin: 5NPEU46F96H017260 ## Mail History Id: 27606827, Consumer Id: 527539, Address Id: 9857086 => Updated with Vin: 5NPEU46F76H017581 ## Mail History Id: 27607062, Consumer Id: 523748, Address Id: 9854336 => Updated with Vin: 5NPEU46F56H018065 ## Mail History Id: 27606821, Consumer Id: 527637, Address Id: 9857083 => Updated with Vin: 5NPEU46F76H044747 ## Mail History Id: 27607005, Consumer Id: 527906, Address Id: 9857275 => Updated with Vin: 5NPEU46F36H053896 ## Mail History Id: 27607182, Consumer Id: 527465, Address Id: 9857006 => Updated with Vin: 5NPEU46F46H123566 ## Mail History Id: 27606797, Consumer Id: 526989, Address Id: 9856695 => Updated with Vin: 5NPEU46F86H133324 ## Mail History Id: 27607082, Consumer Id: 525930, Address Id: 9855992 => Updated with Vin: 5NPEU46F76H145514 ## Mail History Id: 27606715, Consumer Id: 487724, Address Id: 9851490 => Updated with Vin: 5NPET46C16H171325 ## Mail History Id: 27607166, Consumer Id: 520257, Address Id: 9849515 => Updated with Vin: KMHFU45E12A233243 ## Mail History Id: 27607045, Consumer Id: 520483, Address Id: 9849670 => Updated with Vin: KMHFU45E54A275563 ## Mail History Id: 27607192, Consumer Id: 520833, Address Id: 9849964 => Updated with Vin: KMHFU45E44A293116 ## Mail History Id: 27606983, Consumer Id: 520796, Address Id: 9849936 => Updated with Vin: KMHFU45E54A294226 ## Mail History Id: 27606897, Consumer Id: 520985, Address Id: 2423015 => Updated with Vin: KMHFU45E24A309944 ## Mail History Id: 27607074, Consumer Id: 521232, Address Id: 9850305 => Updated with Vin: KMHFU45E54A324390 ## Mail History Id: 27606789, Consumer Id: 521193, Address Id: 9850269 => Updated with Vin: KMHFU45E64A317576 ## Mail History Id: 27606819, Consumer Id: 521932, Address Id: 2421433 => Updated with Vin: KMHFU45E74A352725 ## Mail History Id: 27606793, Consumer Id: 520831, Address Id: 2421273 => Updated with Vin: KM8SB12B92U215844 ## Mail History Id: 27606953, Consumer Id: 521933, Address Id: 9852002 => Updated with Vin: KMHFU45E54A364100 ## Mail History Id: 27607174, Consumer Id: 522340, Address Id: 2419683 => Updated with Vin: KMHFU45E04A355109 ## Mail History Id: 27606745, Consumer Id: 522504, Address Id: 9853384 => Updated with Vin: KMHFU45E34A367691 ## Mail History Id: 27606737, Consumer Id: 522642, Address Id: 9853486 => Updated with Vin: KMHFU45EX5A379869 ## Mail History Id: 27606915, Consumer Id: 523147, Address Id: 2423197 => Updated with Vin: KMHFU45E55A381643 ## Mail History Id: 27606761, Consumer Id: 525448, Address Id: 9855645 => Updated with Vin: KMHFC46F77A148375 ## Mail History Id: 27607312, Consumer Id: 488079, Address Id: 9851843 => Updated with Vin: KMHFC46F27A174477 ## Mail History Id: 27607226, Consumer Id: 489261, Address Id: 9853102 => Updated with Vin: KMHFC46D27A212062 ## Mail History Id: 27607282, Consumer Id: 488942, Address Id: 9852774 => Updated with Vin: KMHFC46F67A230517 ## Mail History Id: 27607017, Consumer Id: 488048, Address Id: 9691378 => Updated with Vin: 5NMSH13E67H011304 ## Mail History Id: 27607029, Consumer Id: 487675, Address Id: 9851449 => Updated with Vin: 5NMSH13E27H022011 ## Mail History Id: 27606883, Consumer Id: 487725, Address Id: 9851491 => Updated with Vin: 5NMSH13E67H042469 ## Mail History Id: 27606907, Consumer Id: 489258, Address Id: 9853100 => Updated with Vin: 5NMSG13DX7H061262 ## Mail History Id: 27606707, Consumer Id: 488661, Address Id: 9852437 => Updated with Vin: 5NMSH13E67H071650 ## Mail History Id: 27607072, Consumer Id: 487720, Address Id: 9851486 => Updated with Vin: 5NMSH13E37H073548 ## Mail History Id: 27607186, Consumer Id: 487975, Address Id: 9850823 => Updated with Vin: 5NMSH13E87H084609 ## Mail History Id: 27606997, Consumer Id: 488057, Address Id: 9851823 => Updated with Vin: 5NMSG13D67H105788 ## Mail History Id: 27607240, Consumer Id: 488822, Address Id: 9852209 => Updated with Vin: 5NMSG13D87H116534 ## Mail History Id: 27607152, Consumer Id: 525983, Address Id: 9856029 => Updated with Vin: 5NPEU46F47H196373 ## Mail History Id: 27607080, Consumer Id: 527172, Address Id: 9856822 => Updated with Vin: 5NPEU46F87H205852 ## Mail History Id: 27607212, Consumer Id: 487326, Address Id: 9851056 => Updated with Vin: 5NPEU46F67H220415 ## Mail History Id: 27606727, Consumer Id: 525417, Address Id: 9855621 => Updated with Vin: 5NPEU46F27H230651 ## Mail History Id: 27606989, Consumer Id: 487729, Address Id: 9851494 => Updated with Vin: 5NPET46C47H241661 ## Mail History Id: 27606801, Consumer Id: 487636, Address Id: 9851417 => Updated with Vin: 5NPEU46FX7H243146 ## Mail History Id: 27607270, Consumer Id: 488064, Address Id: 9851830 => Updated with Vin: 5NPET46C67H247154 ## Mail History Id: 27606701, Consumer Id: 487971, Address Id: 9850994 => Updated with Vin: 5NPET46CX7H264734 ## Mail History Id: 27607146, Consumer Id: 488066, Address Id: 9851832 => Updated with Vin: 5NPEU46F77H284253 ## Mail History Id: 27607038, Consumer Id: 488049, Address Id: 9851817 => Updated with Vin: 5NPET46C67H296211 ## Mail History Id: 27607170, Consumer Id: 527768, Address Id: 9857196 => Updated with Vin: 1J4GA39127L159078 ## Mail History Id: 27607011, Consumer Id: 488387, Address Id: 9852214 => Updated with Vin: KM8NU13C37U024233 ## Mail History Id: 27607051, Consumer Id: 488660, Address Id: 9852436 => Updated with Vin: KM8NU13CX7U026769 ## Mail History Id: 27607194, Consumer Id: 489243, Address Id: 9853087 => Updated with Vin: KNDMC233976028526 ## Mail History Id: 27607056, Consumer Id: 526993, Address Id: 9856696 => Updated with Vin: KMHDU46D07U082270 ## Mail History Id: 27607124, Consumer Id: 488060, Address Id: 9851826 => Updated with Vin: KMHDU46DX7U092997 ## Mail History Id: 27606927, Consumer Id: 488058, Address Id: 9851824 => Updated with Vin: KMHHN66F87U237840 ## Mail History Id: 27607060, Consumer Id: 520204, Address Id: 9849474 => Updated with Vin: KMHHM65D63U063215 ## Mail History Id: 27607254, Consumer Id: 526235, Address Id: 9852212 => Updated with Vin: 5NMSH13E47H002519 ## Mail History Id: 27607136, Consumer Id: 521087, Address Id: 9850178 => Updated with Vin: KMHDN46D64U779936 ## Mail History Id: 27607092, Consumer Id: 523170, Address Id: 9853908 => Updated with Vin: KMHHN65F25U173874 ## Mail History Id: 27607026, Consumer Id: 489346, Address Id: 9853161 => Updated with Vin: 5NMSH13E68H130343 ## Mail History Id: 27607326, Consumer Id: 489316, Address Id: 9853141 => Updated with Vin: 5NMSH13E58H139390 ## Mail History Id: 27606781, Consumer Id: 489320, Address Id: 9686048 => Updated with Vin: 5NMSH13E38H144197 ## Mail History Id: 27607198, Consumer Id: 489201, Address Id: 9853059 => Updated with Vin: 5NMSH13E38H145589 ## Mail History Id: 27607302, Consumer Id: 489117, Address Id: 9852998 => Updated with Vin: 5NMSH13E58H148476 ## Mail History Id: 27607066, Consumer Id: 488961, Address Id: 9852786 => Updated with Vin: 5NMSH73E88H154548 ## Mail History Id: 27607086, Consumer Id: 489248, Address Id: 9853091 => Updated with Vin: 5NMSH13E58H159204 ## Mail History Id: 27607256, Consumer Id: 489237, Address Id: 9853081 => Updated with Vin: 5NMSH13E48H178455 ## Mail History Id: 27606665, Consumer Id: 489311, Address Id: 9853136 => Updated with Vin: 5NMSG13D38H181521 ## Mail History Id: 27607234, Consumer Id: 489226, Address Id: 9853074 => Updated with Vin: 5NMSH13EX8H183319 ## Mail History Id: 27606913, Consumer Id: 488950, Address Id: 9851259 => Updated with Vin: 5NPET46C28H343011 ## Mail History Id: 27606919, Consumer Id: 488868, Address Id: 9852712 => Updated with Vin: 5NPET46F48H344753 ## Mail History Id: 27607266, Consumer Id: 489255, Address Id: 9853097 => Updated with Vin: 5NPEU46C58H356736 ## Mail History Id: 27607068, Consumer Id: 489363, Address Id: 9853178 => Updated with Vin: 5NPET46C08H365394 ## Mail History Id: 27606809, Consumer Id: 489285, Address Id: 9686379 => Updated with Vin: 5NPET46C18H367591 ## Mail History Id: 27606961, Consumer Id: 488922, Address Id: 9852756 => Updated with Vin: KMHCM36C68U055881 ## Mail History Id: 27606873, Consumer Id: 489230, Address Id: 9689327 => Updated with Vin: KMHDU46D78U275193 ## Mail History Id: 27607294, Consumer Id: 486895, Address Id: 9850589 => Updated with Vin: KMHCM36C77U004629 ## Mail History Id: 27607180, Consumer Id: 489426, Address Id: 9680910 => Updated with Vin: KM8JN12D48U852198 ## Mail History Id: 27606831, Consumer Id: 520048, Address Id: 2421621 => Updated with Vin: KMHWF35V91A380932 ## Mail History Id: 27607322, Consumer Id: 520160, Address Id: 9849450 => Updated with Vin: KMHDN45D61U073563 ## Mail History Id: 27606699, Consumer Id: 525213, Address Id: 9683366 => Updated with Vin: KMHFC46F26A058503 ## Mail History Id: 27607016, Consumer Id: 487399, Address Id: 9851115 => Updated with Vin: KMHFC46F76A058805 ## Mail History Id: 27606845, Consumer Id: 525777, Address Id: 9855782 => Updated with Vin: KMHFC46F96A083754 ## Mail History Id: 27606717, Consumer Id: 486903, Address Id: 9849999 => Updated with Vin: KMHWF25SX4A935911 ## Mail History Id: 27607003, Consumer Id: 486995, Address Id: 6316134 => Updated with Vin: 5NPEU46F96H019574 ## Mail History Id: 27606999, Consumer Id: 487009, Address Id: 9850683 => Updated with Vin: KMHFU45E54A363321 ## Mail History Id: 27607218, Consumer Id: 486990, Address Id: 9849524 => Updated with Vin: KMHWF35H73A835791 ## Mail History Id: 27606765, Consumer Id: 488062, Address Id: 9851828 => Updated with Vin: KNDMC233676022084 ## Mail History Id: 27606661, Consumer Id: 487940, Address Id: 9682429 => Updated with Vin: 5NPEU46F26H084475 ## Mail History Id: 27607064, Consumer Id: 487731, Address Id: 9851496 => Updated with Vin: 5NPEU46F16H056439 ## Mail History Id: 27607236, Consumer Id: 488074, Address Id: 9851839 => Updated with Vin: 5NPEU46F36H073341 ## Mail History Id: 27606817, Consumer Id: 489015, Address Id: 9852821 => Updated with Vin: KMHHN65F16U220846 ## Mail History Id: 27607208, Consumer Id: 488007, Address Id: 9851786 => Updated with Vin: KM8JN12D86U376681 ## Mail History Id: 27607098, Consumer Id: 489138, Address Id: 9853013 => Updated with Vin: KM8JM12B46U470221 ## Mail History Id: 27607190, Consumer Id: 489427, Address Id: 9853311 => Updated with Vin: 1FAFP53U97A131892 ## Mail History Id: 27606849, Consumer Id: 488656, Address Id: 9689109 => Updated with Vin: 5NMSG13D17H015951 ## Mail History Id: 27607276, Consumer Id: 489268, Address Id: 9853105 => Updated with Vin: 5NMSG13D07H050626 ## Mail History Id: 27607030, Consumer Id: 488388, Address Id: 9852215 => Updated with Vin: 5NMSG13D47H069177 ## Mail History Id: 27606943, Consumer Id: 488362, Address Id: 9851049 => Updated with Vin: 5NMSH13E67H069820 ## Mail History Id: 27607118, Consumer Id: 489264, Address Id: 9853103 => Updated with Vin: 5NPET46C87H211272 ## Mail History Id: 27606691, Consumer Id: 488302, Address Id: 9682782 => Updated with Vin: 5NPET46CX7H278889 ## Mail History Id: 27607025, Consumer Id: 488653, Address Id: 9852431 => Updated with Vin: 5NPEU46F87H280129 ## Mail History Id: 27607240, Consumer Id: 488382, Address Id: 9852209 => Updated with Vin: 5NPEU46F07H280142 ## Mail History Id: 27607014, Consumer Id: 488846, Address Id: 9852696 => Updated with Vin: 5NPET46C67H280543 ## Mail History Id: 27606657, Consumer Id: 489383, Address Id: 9853275 => Updated with Vin: KMHCN46C37U132983 ## Mail History Id: 27606955, Consumer Id: 489343, Address Id: 9853158 => Updated with Vin: KMHDU46D87U135197 ## Mail History Id: 27607112, Consumer Id: 489298, Address Id: 9853110 => Updated with Vin: 1GNEK13Z73R277008 ## Mail History Id: 27606859, Consumer Id: 525319, Address Id: 2422019 => Updated with Vin: 5NPEU46F06H124441 ## Mail History Id: 27606991, Consumer Id: 522895, Address Id: 9853725 => Updated with Vin: KM8JM12BX5U105377 ## Mail History Id: 27606993, Consumer Id: 523998, Address Id: 9854543 => Updated with Vin: KM8JN12D75U218783 ## Mail History Id: 27607272, Consumer Id: 489272, Address Id: 9849680 => Updated with Vin: KM8SC13DX3U374953 ## Mail History Id: 27606673, Consumer Id: 488886, Address Id: 9850916 => Updated with Vin: KMHWF35H24A026975 ## Mail History Id: 27607116, Consumer Id: 488954, Address Id: 9852659 => Updated with Vin: KM8SC13E34U786531 ## Mail History Id: 27606959, Consumer Id: 489232, Address Id: 9853077 => Updated with Vin: 1GNDV33L95D184114 ## Mail History Id: 27606729, Consumer Id: 489281, Address Id: 9853112 => Updated with Vin: KM8JM12B35U069645 ## Mail History Id: 27607031, Consumer Id: 488390, Address Id: 9852217 => Updated with Vin: KM8JN12D05U118444 ## Mail History Id: 27607328, Consumer Id: 489391, Address Id: 9853283 => Updated with Vin: KMHCG45C25U651483 ## Mail History Id: 27606877, Consumer Id: 488666, Address Id: 9850902 => Updated with Vin: KM8SC13DX5U891088 ## Mail History Id: 27607158, Consumer Id: 489193, Address Id: 9853052 => Updated with Vin: KM8SC73D65U963357 ## Mail History Id: 27607314, Consumer Id: 524558, Address Id: 9854988 => Updated with Vin: KM8JN12D96U270630 ## Mail History Id: 27606925, Consumer Id: 524752, Address Id: 2423703 => Updated with Vin: KM8JN12D76U315323 ## Mail History Id: 27606681, Consumer Id: 523074, Address Id: 9853832 => Updated with Vin: KMHWF25S55A182984 ## Mail History Id: 27606667, Consumer Id: 487416, Address Id: 9851130 => Updated with Vin: KM8JN12D46U410714 ## Mail History Id: 27606949, Consumer Id: 524823, Address Id: 9690224 => Updated with Vin: KMHFC46F46A039791 ## Mail History Id: 27607096, Consumer Id: 489307, Address Id: 9853132 => Updated with Vin: KMHET46C46A110618 ## Mail History Id: 27606787, Consumer Id: 489418, Address Id: 9853305 => Updated with Vin: 5NPEU46FX6H117013 ## Mail History Id: 27607128, Consumer Id: 489408, Address Id: 9853297 => Updated with Vin: KMHDN46D76U229020 ## Mail History Id: 27607112, Consumer Id: 489278, Address Id: 9853110 => Updated with Vin: KM8SG13D97U097951 ## Mail History Id: 27607020, Consumer Id: 489238, Address Id: 9853082 => Updated with Vin: KM8SB12B53U426797 ## Mail History Id: 27606757, Consumer Id: 527890, Address Id: 6315660 => Updated with Vin: 4T1BE32KX4U884923 ## Mail History Id: 27606679, Consumer Id: 520697, Address Id: 9849852 => Updated with Vin: KMHJF24M2WU734325 ## Mail History Id: 27607055, Consumer Id: 520255, Address Id: 9849513 => Updated with Vin: 6MMAP57P2YT004809 ## Mail History Id: 27607200, Consumer Id: 520604, Address Id: 9849770 => Updated with Vin: KMHJF35F3YU046570 ## Total mail_history records updated with vin numbers: 251 out of 267 ============================================================ ====== Tracking Id: 378 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-06-19 11:15:06') AND us2_order_type_id = 3 ## Order found: 456 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 456 AND product_id = 112 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3525 ## Mailing found: '12328' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 379 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3778 AND DATE(cart_created_date) = DATE('2008-06-19 11:23:39') AND us2_order_type_id = 3 ## Order found: 457 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 457 AND product_id = 54 ## Job Group Found: '314' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('314') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele061208004a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele061208004a') AND customer_id = 3778 ## Mailing found: '11859' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 380 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-19 11:43:55') AND us2_order_type_id = 3 ## Order found: 458 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 458 AND product_id = 142 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3357 ## Mailing found: '12320' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607721, Consumer Id: 198265, Address Id: 405664 => Updated with Vin: 1LNHM86S34Y630290 ## Mail History Id: 27606768, Consumer Id: 190307, Address Id: 399522 => Updated with Vin: 1FMDU75W55UA27301 ## Mail History Id: 27607729, Consumer Id: 190210, Address Id: 398984 => Updated with Vin: 1FTSW31F31EB13845 ## Mail History Id: 27606950, Consumer Id: 189019, Address Id: 398761 => Updated with Vin: 1FMDU74W32UB28723 ## Mail History Id: 27607687, Consumer Id: 187790, Address Id: 399036 => Updated with Vin: 1FTPX12544NC09467 ## Mail History Id: 27607688, Consumer Id: 189024, Address Id: 399315 => Updated with Vin: 1FMDU73E74ZB16539 ## Mail History Id: 27606876, Consumer Id: 191612, Address Id: 402406 => Updated with Vin: 1FTSW31P94EE08509 ## Mail History Id: 27606982, Consumer Id: 187556, Address Id: 398410 => Updated with Vin: 1FMCU03105KC22552 ## Mail History Id: 27606818, Consumer Id: 188469, Address Id: 397140 => Updated with Vin: JM1BK323851258599 ## Mail History Id: 27606918, Consumer Id: 191412, Address Id: 402074 => Updated with Vin: 1FMFU17L63LB35776 ## Mail History Id: 27607755, Consumer Id: 187344, Address Id: 398317 => Updated with Vin: 1FTPW125X4KC10014 ## Mail History Id: 27606992, Consumer Id: 435517, Address Id: 9800067 => Updated with Vin: 4T1BE32K74U379129 ## Mail History Id: 27606772, Consumer Id: 435519, Address Id: 9800069 => Updated with Vin: JM1BK34M271657937 ## Mail History Id: 27607696, Consumer Id: 194563, Address Id: 403665 => Updated with Vin: 1FMYU02Z95KB29512 ## Mail History Id: 27607739, Consumer Id: 197601, Address Id: 403322 => Updated with Vin: 1FMYU93165KE00636 ## Mail History Id: 27606652, Consumer Id: 151588, Address Id: 393979 => Updated with Vin: 2FAFP73WX5X114522 ## Mail History Id: 27607683, Consumer Id: 194539, Address Id: 404800 => Updated with Vin: 2MHFM75W85X667705 ## Mail History Id: 27606730, Consumer Id: 151581, Address Id: 393972 => Updated with Vin: 1FTWW31P46EA28725 ## Mail History Id: 27606762, Consumer Id: 435541, Address Id: 9800083 => Updated with Vin: 5LMFU28546LJ15758 ## Mail History Id: 27606790, Consumer Id: 153650, Address Id: 395880 => Updated with Vin: 3FAHP06Z26R210635 ## Mail History Id: 27606726, Consumer Id: 435588, Address Id: 9800113 => Updated with Vin: JA4LZ31F36U048255 ## Mail History Id: 27606920, Consumer Id: 152803, Address Id: 395106 => Updated with Vin: 1FAFP34N06W204600 ## Mail History Id: 27607637, Consumer Id: 435522, Address Id: 6405582 => Updated with Vin: 1LNHM82V06Y627866 ## Mail History Id: 27607661, Consumer Id: 154822, Address Id: 396943 => Updated with Vin: JM1BK144171728209 ## Mail History Id: 27607718, Consumer Id: 420543, Address Id: 9800024 => Updated with Vin: 1ZVHT82H475337440 ## Mail History Id: 27607771, Consumer Id: 154667, Address Id: 396805 => Updated with Vin: 1FMFU16557LA01608 ## Mail History Id: 27607679, Consumer Id: 155812, Address Id: 397845 => Updated with Vin: JM1FE173680214567 ## Mail History Id: 27607705, Consumer Id: 190675, Address Id: 400929 => Updated with Vin: 1FMPU18L8WLB64137 ## Mail History Id: 27607732, Consumer Id: 155867, Address Id: 397896 => Updated with Vin: JM1BK34M481859602 ## Mail History Id: 27606702, Consumer Id: 190019, Address Id: 400400 => Updated with Vin: 1FTRWO7WO1KA55117 ## Mail History Id: 27606864, Consumer Id: 195876, Address Id: 405003 => Updated with Vin: 1FTZF172XXKB37013 ## Mail History Id: 27607700, Consumer Id: 165934, Address Id: 425620 => Updated with Vin: 1FTYR10D08PA22200 ## Mail History Id: 27607767, Consumer Id: 151585, Address Id: 393976 => Updated with Vin: 1FMFU15545LA07625 ## Mail History Id: 27606770, Consumer Id: 194216, Address Id: 403647 => Updated with Vin: 1FACP44M6NF121865 ## Mail History Id: 27607674, Consumer Id: 435592, Address Id: 406339 => Updated with Vin: 1MELM5047PG659372 ## Mail History Id: 27606740, Consumer Id: 435545, Address Id: 9800085 => Updated with Vin: 1LNLM82W7TY655176 ## Mail History Id: 27606812, Consumer Id: 435580, Address Id: 9800106 => Updated with Vin: 1LNLM83W5VY693734 ## Mail History Id: 27607673, Consumer Id: 199545, Address Id: 407792 => Updated with Vin: JA4MT31P1WP018975 ## Mail History Id: 27606694, Consumer Id: 435543, Address Id: 875207 => Updated with Vin: 3FAKP1139XR161790 ## Total mail_history records updated with vin numbers: 39 out of 41 ============================================================ ====== Tracking Id: 381 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-19 11:43:57') AND us2_order_type_id = 3 ## Order found: 458 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 458 AND product_id = 114 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3357 ## Mailing found: '12325' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 382 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-19 11:44:11') AND us2_order_type_id = 3 ## Order found: 458 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 458 AND product_id = 113 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3357 ## Mailing found: '12325' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 383 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3579 AND DATE(cart_created_date) = DATE('2008-06-19 12:00:14') AND us2_order_type_id = 3 ## Order found: 459 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 459 AND product_id = 54 ## Job Group Found: '315' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('315') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele061908001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele061908001a') AND customer_id = 3579 ## Mailing found: '11854' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 384 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-20 08:14:18') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 385 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-20 08:44:05') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 386 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-20 08:44:18') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 387 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-06-20 10:16:43') AND us2_order_type_id = 3 ## Order found: 470 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 470 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3416 ## Mailing found: '12321' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607638, Consumer Id: 625658, Address Id: 11766067 => Updated with Vin: 5GTEN13E288141338 ## Mail History Id: 27607370, Consumer Id: 625723, Address Id: 1959030 => Updated with Vin: 1G6DW67V580107824 ## Mail History Id: 27607518, Consumer Id: 625992, Address Id: 11766225 => Updated with Vin: 1GYEE637860142408 ## Mail History Id: 27607169, Consumer Id: 625940, Address Id: 11766202 => Updated with Vin: 1GYEE637750145816 ## Mail History Id: 27607514, Consumer Id: 625918, Address Id: 11766190 => Updated with Vin: 1G6KD57Y18U160319 ## Mail History Id: 27607398, Consumer Id: 625915, Address Id: 3756023 => Updated with Vin: 5GTEN43E988202816 ## Mail History Id: 27607462, Consumer Id: 625353, Address Id: 1964335 => Updated with Vin: 1G6DP577070152998 ## Mail History Id: 27607666, Consumer Id: 625927, Address Id: 11766196 => Updated with Vin: 1G6KE57Y14U218436 ## Mail History Id: 27607366, Consumer Id: 627081, Address Id: 11764697 => Updated with Vin: 1G6KD57YX6U117515 ## Mail History Id: 27607618, Consumer Id: 629302, Address Id: 1969897 => Updated with Vin: 1G6DM57N230114514 ## Mail History Id: 27607466, Consumer Id: 682945, Address Id: 1964724 => Updated with Vin: 1G6KE57Y7YU247297 ## Mail History Id: 27607418, Consumer Id: 626033, Address Id: 1961956 => Updated with Vin: 1G6KD57Y27U211633 ## Mail History Id: 27607540, Consumer Id: 625322, Address Id: 10934665 => Updated with Vin: 1G6KD54Y25U202352 ## Mail History Id: 27607558, Consumer Id: 625180, Address Id: 11764769 => Updated with Vin: 1G6KD57Y07U156485 ## Mail History Id: 27607622, Consumer Id: 691391, Address Id: 1969925 => Updated with Vin: 1GYFK63887R168719 ## Mail History Id: 27607534, Consumer Id: 626025, Address Id: 1968701 => Updated with Vin: 1G6DC67A660111657 ## Mail History Id: 27607428, Consumer Id: 625932, Address Id: 10933668 => Updated with Vin: 1GYFK66838R227754 ## Mail History Id: 27607472, Consumer Id: 690412, Address Id: 11797608 => Updated with Vin: 1G6KD54Y23U134602 ## Mail History Id: 27607548, Consumer Id: 640973, Address Id: 11765841 => Updated with Vin: 1G6DM577240180810 ## Mail History Id: 27607414, Consumer Id: 691563, Address Id: 1961751 => Updated with Vin: 1G6DW677570121318 ## Mail History Id: 27607554, Consumer Id: 688589, Address Id: 11796912 => Updated with Vin: 3GYFK66N84G201053 ## Mail History Id: 27607636, Consumer Id: 662934, Address Id: 1970019 => Updated with Vin: 1G6KD54Y92U274239 ## Mail History Id: 27607382, Consumer Id: 692229, Address Id: 1959513 => Updated with Vin: 1G6DW677450235193 ## Mail History Id: 27607476, Consumer Id: 690454, Address Id: 11797623 => Updated with Vin: 1G6DM57T960160036 ## Mail History Id: 27607490, Consumer Id: 626007, Address Id: 11765894 => Updated with Vin: 1G6DH577880182068 ## Mail History Id: 27607496, Consumer Id: 625941, Address Id: 11766203 => Updated with Vin: 5GTEN13E588161275 ## Total mail_history records updated with vin numbers: 26 out of 28 ============================================================ ====== Tracking Id: 388 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-20 11:14:00') AND us2_order_type_id = 3 ## Order found: 472 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 472 AND product_id = 112 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3486 ## Mailing found: '12327' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 389 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-06-20 11:14:53') AND us2_order_type_id = 3 ## Order found: 473 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 473 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3525 ## Mailing found: '12323' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607042, Consumer Id: 520078, Address Id: 9849380 => Updated with Vin: KMHCG45C62U333006 ## Mail History Id: 27607264, Consumer Id: 520478, Address Id: 9849666 => Updated with Vin: KMHWF35H13A908654 ## Mail History Id: 27606941, Consumer Id: 525026, Address Id: 9855328 => Updated with Vin: KMHWF35H95A206150 ## Mail History Id: 27606723, Consumer Id: 520521, Address Id: 9849703 => Updated with Vin: KMHWF25H53A774323 ## Mail History Id: 27606911, Consumer Id: 522364, Address Id: 9853229 => Updated with Vin: KMHWF25HX5A121294 ## Mail History Id: 27606647, Consumer Id: 522531, Address Id: 9853405 => Updated with Vin: KMHWF25SX5A153562 ## Mail History Id: 27607308, Consumer Id: 487412, Address Id: 9851126 => Updated with Vin: 5NPEU46F07H199223 ## Mail History Id: 27606871, Consumer Id: 520335, Address Id: 9849579 => Updated with Vin: KM8SC13D42U266942 ## Mail History Id: 27607298, Consumer Id: 486896, Address Id: 9849473 => Updated with Vin: KMHDN46D26U259624 ## Mail History Id: 27606973, Consumer Id: 520992, Address Id: 9690574 => Updated with Vin: KM8SC13D64U603890 ## Mail History Id: 27607140, Consumer Id: 522771, Address Id: 9853591 => Updated with Vin: KM8SC13DX5U872198 ## Mail History Id: 27606775, Consumer Id: 487393, Address Id: 9851110 => Updated with Vin: KM8SG13D97U097996 ## Mail History Id: 27606695, Consumer Id: 487674, Address Id: 9851448 => Updated with Vin: 5NMSH13E07H022671 ## Mail History Id: 27606965, Consumer Id: 526493, Address Id: 9856336 => Updated with Vin: KM8JM12BX5U125015 ## Mail History Id: 27607050, Consumer Id: 520297, Address Id: 9849549 => Updated with Vin: KMHDN45D03U630602 ## Mail History Id: 27606987, Consumer Id: 526985, Address Id: 9856692 => Updated with Vin: KMHFC46F46A048605 ## Mail History Id: 27606715, Consumer Id: 487724, Address Id: 9851490 => Updated with Vin: 5NPET46C16H171325 ## Mail History Id: 27607166, Consumer Id: 520257, Address Id: 9849515 => Updated with Vin: KMHFU45E12A233243 ## Mail History Id: 27606897, Consumer Id: 520985, Address Id: 2423015 => Updated with Vin: KMHFU45E24A309944 ## Mail History Id: 27606737, Consumer Id: 522642, Address Id: 9853486 => Updated with Vin: KMHFU45EX5A379869 ## Mail History Id: 27607053, Consumer Id: 523211, Address Id: 9853940 => Updated with Vin: KMHFU45E55A380167 ## Mail History Id: 27607226, Consumer Id: 489261, Address Id: 9853102 => Updated with Vin: KMHFC46D27A212062 ## Mail History Id: 27607017, Consumer Id: 488048, Address Id: 9691378 => Updated with Vin: 5NMSH13E67H011304 ## Mail History Id: 27606907, Consumer Id: 489258, Address Id: 9853100 => Updated with Vin: 5NMSG13DX7H061262 ## Mail History Id: 27607212, Consumer Id: 487326, Address Id: 9851056 => Updated with Vin: 5NPEU46F67H220415 ## Mail History Id: 27606801, Consumer Id: 487636, Address Id: 9851417 => Updated with Vin: 5NPEU46FX7H243146 ## Mail History Id: 27607051, Consumer Id: 488660, Address Id: 9852436 => Updated with Vin: KM8NU13CX7U026769 ## Mail History Id: 27607124, Consumer Id: 488060, Address Id: 9851826 => Updated with Vin: KMHDU46DX7U092997 ## Mail History Id: 27607324, Consumer Id: 523997, Address Id: 6316291 => Updated with Vin: KMHHN65F15U174644 ## Mail History Id: 27607026, Consumer Id: 489346, Address Id: 9853161 => Updated with Vin: 5NMSH13E68H130343 ## Mail History Id: 27606781, Consumer Id: 489320, Address Id: 9686048 => Updated with Vin: 5NMSH13E38H144197 ## Mail History Id: 27607086, Consumer Id: 489248, Address Id: 9853091 => Updated with Vin: 5NMSH13E58H159204 ## Mail History Id: 27606665, Consumer Id: 489311, Address Id: 9853136 => Updated with Vin: 5NMSG13D38H181521 ## Mail History Id: 27607294, Consumer Id: 488946, Address Id: 9850589 => Updated with Vin: KMHDU46D08U296256 ## Mail History Id: 27606843, Consumer Id: 525142, Address Id: 9855409 => Updated with Vin: KMHFC46F36A048854 ## Mail History Id: 27607003, Consumer Id: 486995, Address Id: 6316134 => Updated with Vin: 5NPEU46F96H019574 ## Mail History Id: 27607276, Consumer Id: 489268, Address Id: 9853105 => Updated with Vin: 5NMSG13D07H050626 ## Mail History Id: 27607116, Consumer Id: 488954, Address Id: 9852659 => Updated with Vin: KM8SC13E34U786531 ## Mail History Id: 27606959, Consumer Id: 489232, Address Id: 9853077 => Updated with Vin: 1GNDV33L95D184114 ## Mail History Id: 27606787, Consumer Id: 489418, Address Id: 9853305 => Updated with Vin: 5NPEU46FX6H117013 ## Mail History Id: 27607112, Consumer Id: 489278, Address Id: 9853110 => Updated with Vin: KM8SG13D97U097951 ## Mail History Id: 27607020, Consumer Id: 489238, Address Id: 9853082 => Updated with Vin: KM8SB12B53U426797 ## Mail History Id: 27606679, Consumer Id: 520697, Address Id: 9849852 => Updated with Vin: KMHJF24M2WU734325 ## Total mail_history records updated with vin numbers: 43 out of 44 ============================================================ ====== Tracking Id: 390 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-20 11:43:56') AND us2_order_type_id = 3 ## Order found: 475 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 475 AND product_id = 142 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3357 ## Mailing found: '12320' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27606956, Consumer Id: 196904, Address Id: 405186 => Updated with Vin: 1FAFP42XX1F196301 ## Mail History Id: 27606980, Consumer Id: 192966, Address Id: 402654 => Updated with Vin: 1FTRW07W31KE69024 ## Mail History Id: 27607699, Consumer Id: 190430, Address Id: 399543 => Updated with Vin: 1FMFU16L61LB29569 ## Mail History Id: 27607676, Consumer Id: 198595, Address Id: 407384 => Updated with Vin: 1FMYU60E41UA39928 ## Mail History Id: 27607697, Consumer Id: 197322, Address Id: 407175 => Updated with Vin: JM3LW28A720328711 ## Mail History Id: 27607764, Consumer Id: 190314, Address Id: 400426 => Updated with Vin: 1FMDU85W34ZB11317 ## Mail History Id: 27607751, Consumer Id: 191738, Address Id: 402094 => Updated with Vin: 1FTPW14564KD50705 ## Mail History Id: 27606752, Consumer Id: 187392, Address Id: 398340 => Updated with Vin: 1FMDU74W35ZA29262 ## Mail History Id: 27606908, Consumer Id: 420547, Address Id: 9607293 => Updated with Vin: WBABJ7328WEA16177 ## Mail History Id: 27607722, Consumer Id: 435559, Address Id: 399863 => Updated with Vin: 1FMCU49H28KB43190 ## Mail History Id: 27606886, Consumer Id: 435548, Address Id: 9800086 => Updated with Vin: 1NXBR32E43Z164305 ## Mail History Id: 27606978, Consumer Id: 188027, Address Id: 398564 => Updated with Vin: JM3LW28G9Y0147171 ## Mail History Id: 27606700, Consumer Id: 189657, Address Id: 401952 => Updated with Vin: 1FTSW31P04EC23720 ## Mail History Id: 27606862, Consumer Id: 435556, Address Id: 6902297 => Updated with Vin: 1FAFP406X4F167542 ## Mail History Id: 27607745, Consumer Id: 195747, Address Id: 404954 => Updated with Vin: 1ZVFT80N175214887 ## Mail History Id: 27607740, Consumer Id: 190920, Address Id: 402018 => Updated with Vin: 2FDHP74W85X101942 ## Mail History Id: 27606666, Consumer Id: 152878, Address Id: 395176 => Updated with Vin: JM1GG12L561105160 ## Mail History Id: 27607763, Consumer Id: 197425, Address Id: 406774 => Updated with Vin: 1FAFP53U96A105713 ## Mail History Id: 27606902, Consumer Id: 154126, Address Id: 396312 => Updated with Vin: 1FMFU18546LA92074 ## Mail History Id: 27607777, Consumer Id: 198111, Address Id: 406591 => Updated with Vin: 5TDZA22C56S491307 ## Mail History Id: 27607613, Consumer Id: 154535, Address Id: 396690 => Updated with Vin: JM1NC25F470126832 ## Mail History Id: 27607719, Consumer Id: 153820, Address Id: 396035 => Updated with Vin: JM1CR29L670139460 ## Mail History Id: 27606758, Consumer Id: 155584, Address Id: 397628 => Updated with Vin: 3MEHM08197R658686 ## Mail History Id: 27607599, Consumer Id: 190399, Address Id: 401611 => Updated with Vin: 1FMEE11L0VHB73835 ## Mail History Id: 27606926, Consumer Id: 190865, Address Id: 401344 => Updated with Vin: 1FMFU16L03LA91517 ## Mail History Id: 27606690, Consumer Id: 188623, Address Id: 399809 => Updated with Vin: 2MEFM75W41X630691 ## Mail History Id: 27607713, Consumer Id: 188672, Address Id: 400737 => Updated with Vin: 1FTYR14X3XPA26129 ## Mail History Id: 27606684, Consumer Id: 196798, Address Id: 405175 => Updated with Vin: 3FAFP13P61R137570 ## Mail History Id: 27607757, Consumer Id: 196037, Address Id: 405096 => Updated with Vin: 1FALP52U0VG174841 ## Mail History Id: 27607776, Consumer Id: 155538, Address Id: 397584 => Updated with Vin: 1ZVHT82H485147090 ## Mail History Id: 27606704, Consumer Id: 155047, Address Id: 397136 => Updated with Vin: 1FMCU59H98KA96942 ## Mail History Id: 27607595, Consumer Id: 155432, Address Id: 397484 => Updated with Vin: 1FMFU16548LA30373 ## Mail History Id: 27606856, Consumer Id: 435564, Address Id: 880938 => Updated with Vin: 1FMZU73K53ZA66704 ## Mail History Id: 27606826, Consumer Id: 435532, Address Id: 9800077 => Updated with Vin: 1LNLM81W7PY639700 ## Mail History Id: 27606766, Consumer Id: 197924, Address Id: 406824 => Updated with Vin: 1LNLM81W1TY697960 ## Total mail_history records updated with vin numbers: 35 out of 38 ============================================================ ====== Tracking Id: 391 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-06-20 12:16:48') AND us2_order_type_id = 3 ## Order found: 476 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 476 AND product_id = 112 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3427 ## Mailing found: '12326' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27608065, Consumer Id: 516042, Address Id: 9846950 => Updated with Vin: 5FNYF18756B012311 ## Mail History Id: 27607936, Consumer Id: 508513, Address Id: 9840284 => Updated with Vin: 2HKRL18032H520448 ## Mail History Id: 27607898, Consumer Id: 509085, Address Id: 326962 => Updated with Vin: 2HGES26825H515725 ## Mail History Id: 27607950, Consumer Id: 510202, Address Id: 9832230 => Updated with Vin: JHLRD18761S028901 ## Mail History Id: 27607834, Consumer Id: 494349, Address Id: 9829449 => Updated with Vin: 1HGES16551L054419 ## Mail History Id: 27607996, Consumer Id: 491006, Address Id: 9826959 => Updated with Vin: 1HGCG56621A015033 ## Mail History Id: 27607806, Consumer Id: 498171, Address Id: 9832238 => Updated with Vin: JHMES95683S029920 ## Mail History Id: 27608024, Consumer Id: 512969, Address Id: 9845153 => Updated with Vin: SHSRD78865U314347 ## Mail History Id: 27607802, Consumer Id: 490934, Address Id: 9826900 => Updated with Vin: 2HKRL18672H002508 ## Mail History Id: 27607860, Consumer Id: 494663, Address Id: 9829687 => Updated with Vin: 1HGCG1652XA004784 ## Mail History Id: 27607918, Consumer Id: 501316, Address Id: 329499 => Updated with Vin: 5FNRL18914B114149 ## Mail History Id: 27607830, Consumer Id: 499521, Address Id: 9833507 => Updated with Vin: 1HGES16571L032325 ## Mail History Id: 27607916, Consumer Id: 492683, Address Id: 9828236 => Updated with Vin: 1HGEM1156XL098956 ## Mail History Id: 27607994, Consumer Id: 490754, Address Id: 9826768 => Updated with Vin: JHMES96623S014067 ## Mail History Id: 27607890, Consumer Id: 497337, Address Id: 9831634 => Updated with Vin: 5J6YH28563L044167 ## Mail History Id: 27607820, Consumer Id: 497406, Address Id: 9831679 => Updated with Vin: 1HGCG1651XA014514 ## Mail History Id: 27607816, Consumer Id: 501532, Address Id: 9836594 => Updated with Vin: 1HGCG1654XA056644 ## Mail History Id: 27607964, Consumer Id: 502564, Address Id: 9826614 => Updated with Vin: 1HGCG16572A074676 ## Mail History Id: 27607808, Consumer Id: 499972, Address Id: 9834229 => Updated with Vin: 5FNRL18073B057262 ## Mail History Id: 27607872, Consumer Id: 492244, Address Id: 9827908 => Updated with Vin: JHLRD78882C073653 ## Mail History Id: 27607874, Consumer Id: 499403, Address Id: 8539683 => Updated with Vin: 1HGCM56374A067597 ## Mail History Id: 27607838, Consumer Id: 499058, Address Id: 9832871 => Updated with Vin: 1HGEM220X4L027926 ## Mail History Id: 27607940, Consumer Id: 495658, Address Id: 9830439 => Updated with Vin: JHMES96643S030352 ## Mail History Id: 27607870, Consumer Id: 514029, Address Id: 325086 => Updated with Vin: 5FNRL38895B051032 ## Total mail_history records updated with vin numbers: 24 out of 26 ============================================================ ====== Tracking Id: 392 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-06-20 12:17:00') AND us2_order_type_id = 3 ## Order found: 476 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 476 AND product_id = 114 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3427 ## Mailing found: '12326' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607822, Consumer Id: 499911, Address Id: 9834184 => Updated with Vin: 5FNRL18674B071846 ## Mail History Id: 27608020, Consumer Id: 508647, Address Id: 9842467 => Updated with Vin: 1HGES25785L004919 ## Mail History Id: 27608000, Consumer Id: 510405, Address Id: 9843595 => Updated with Vin: 5FNRL38406B402375 ## Mail History Id: 27607868, Consumer Id: 498000, Address Id: 324672 => Updated with Vin: 1HGCM56393A067910 ## Mail History Id: 27607974, Consumer Id: 511431, Address Id: 9844233 => Updated with Vin: 5FNRL18083B013321 ## Mail History Id: 27608004, Consumer Id: 499794, Address Id: 9834102 => Updated with Vin: 2HKYF18684H560437 ## Mail History Id: 27607912, Consumer Id: 492873, Address Id: 328245 => Updated with Vin: JHLRD77532C011651 ## Mail History Id: 27607910, Consumer Id: 501286, Address Id: 328020 => Updated with Vin: 1HGCM66594A083548 ## Mail History Id: 27607982, Consumer Id: 511526, Address Id: 9844288 => Updated with Vin: 1HGCM56386A013583 ## Mail History Id: 27607878, Consumer Id: 516853, Address Id: 325407 => Updated with Vin: 2HKRL18612H547409 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 393 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-21 08:14:21') AND us2_order_type_id = 3 ## Order found: 485 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 485 AND product_id = 55 ## Job Group Found: '320' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('320') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508002') AND customer_id = 3230 ## Mailing found: '11966' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27608089, Consumer Id: 1174187, Address Id: 49969 => Updated with Vin: 3FAHP07Z78R151521 ## Mail History Id: 27608087, Consumer Id: 1175076, Address Id: 11830971 => Updated with Vin: 1FTRF12W08KD26233 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 394 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-21 08:44:06') AND us2_order_type_id = 3 ## Order found: 485 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 485 AND product_id = 113 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3230 ## Mailing found: '12324' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27608051, Consumer Id: 92849, Address Id: 51267 => Updated with Vin: 1FAHP34N87W180069 ## Mail History Id: 27608049, Consumer Id: 65215, Address Id: 51550 => Updated with Vin: 1FMZU75W73ZA70558 ## Mail History Id: 27608001, Consumer Id: 64214, Address Id: 47427 => Updated with Vin: 2FTRX18L8YCA36997 ## Mail History Id: 27608003, Consumer Id: 459684, Address Id: 53819 => Updated with Vin: 1FTZR15U01TA41663 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 395 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-21 08:44:15') AND us2_order_type_id = 3 ## Order found: 485 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 485 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3230 ## Mailing found: '12319' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607389, Consumer Id: 67761, Address Id: 47429 => Updated with Vin: 1FAFP53U92G117464 ## Mail History Id: 27607345, Consumer Id: 109872, Address Id: 67645 => Updated with Vin: 2FMZA52421BA16696 ## Mail History Id: 27607583, Consumer Id: 92693, Address Id: 50409 => Updated with Vin: 1FTWW31P07EB15233 ## Mail History Id: 27607217, Consumer Id: 67221, Address Id: 48754 => Updated with Vin: 1FTRW08L61KE10439 ## Mail History Id: 27607352, Consumer Id: 41922, Address Id: 52605 => Updated with Vin: 2FMDK39C98BA47219 ## Mail History Id: 27607469, Consumer Id: 64257, Address Id: 48137 => Updated with Vin: 1G1NE52J53M699447 ## Mail History Id: 27607555, Consumer Id: 66829, Address Id: 49398 => Updated with Vin: 1FMYU92Z65KE49035 ## Mail History Id: 27607344, Consumer Id: 41921, Address Id: 67776 => Updated with Vin: 2FMZA51636BA04888 ## Mail History Id: 27607346, Consumer Id: 93587, Address Id: 47699 => Updated with Vin: 1FMZK02105GA58630 ## Mail History Id: 27607213, Consumer Id: 38581, Address Id: 50505 => Updated with Vin: 1FAHP34N97W351346 ## Mail History Id: 27607589, Consumer Id: 92360, Address Id: 47464 => Updated with Vin: 1FTSX21P16EC99442 ## Mail History Id: 27607439, Consumer Id: 38556, Address Id: 51671 => Updated with Vin: 1FTSW21R78EA71808 ## Mail History Id: 27607443, Consumer Id: 92639, Address Id: 51035 => Updated with Vin: 1FMZU82K73ZB09608 ## Mail History Id: 27607549, Consumer Id: 63476, Address Id: 52047 => Updated with Vin: 1FTRX18L11NB19199 ## Mail History Id: 27607215, Consumer Id: 66927, Address Id: 50478 => Updated with Vin: 2C4GJ45G7YR840531 ## Mail History Id: 27607317, Consumer Id: 65711, Address Id: 52741 => Updated with Vin: 1FMCU94134KA54553 ## Mail History Id: 27607547, Consumer Id: 93510, Address Id: 52015 => Updated with Vin: 1FAHP35N88W122964 ## Mail History Id: 27607121, Consumer Id: 64427, Address Id: 47214 => Updated with Vin: 1FMYU93143KA79595 ## Mail History Id: 27607493, Consumer Id: 64921, Address Id: 49251 => Updated with Vin: 1FTPW14595FA74997 ## Mail History Id: 27607287, Consumer Id: 67016, Address Id: 48092 => Updated with Vin: 1FAHP34N26W190563 ## Mail History Id: 27607359, Consumer Id: 65251, Address Id: 47504 => Updated with Vin: 1FBSS31L71HB64883 ## Mail History Id: 27607361, Consumer Id: 66937, Address Id: 47460 => Updated with Vin: 1FMYU93156KA49140 ## Mail History Id: 27607277, Consumer Id: 63215, Address Id: 47697 => Updated with Vin: 1FAFP34342W110342 ## Mail History Id: 27607525, Consumer Id: 92560, Address Id: 49090 => Updated with Vin: 1FMYU59H67KA69881 ## Mail History Id: 27607395, Consumer Id: 92964, Address Id: 49897 => Updated with Vin: 1FAHP28197G128770 ## Mail History Id: 27607454, Consumer Id: 41923, Address Id: 67777 => Updated with Vin: 3FAHP08188R212383 ## Mail History Id: 27607336, Consumer Id: 67527, Address Id: 50874 => Updated with Vin: 1FTWW31PX7EA27547 ## Mail History Id: 27607139, Consumer Id: 66549, Address Id: 49873 => Updated with Vin: 1FAFP34P43W307547 ## Mail History Id: 27607423, Consumer Id: 92362, Address Id: 49038 => Updated with Vin: 1FAFP28126G113033 ## Mail History Id: 27607059, Consumer Id: 93579, Address Id: 66954 => Updated with Vin: 1FAFP28126G113033 ## Mail History Id: 27607354, Consumer Id: 67220, Address Id: 47417 => Updated with Vin: 1FTWW31P26ED16226 ## Mail History Id: 27607567, Consumer Id: 41920, Address Id: 67775 => Updated with Vin: 1FTWW31R48ED31301 ## Mail History Id: 27607225, Consumer Id: 109718, Address Id: 67487 => Updated with Vin: 1FALP52U8VA203554 ## Total mail_history records updated with vin numbers: 33 out of 34 ============================================================ ====== Tracking Id: 396 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-06-21 10:16:29') AND us2_order_type_id = 3 ## Order found: 486 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 486 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3416 ## Mailing found: '12321' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607514, Consumer Id: 625918, Address Id: 11766190 => Updated with Vin: 1G6KD57Y18U160319 ## Mail History Id: 27607398, Consumer Id: 625915, Address Id: 3756023 => Updated with Vin: 5GTEN43E988202816 ## Mail History Id: 27607582, Consumer Id: 625958, Address Id: 1969233 => Updated with Vin: 5GTEN13E288199966 ## Mail History Id: 27607590, Consumer Id: 691120, Address Id: 1969339 => Updated with Vin: 1G6DW677X60163062 ## Mail History Id: 27607540, Consumer Id: 625322, Address Id: 10934665 => Updated with Vin: 1G6KD54Y25U202352 ## Mail History Id: 27607564, Consumer Id: 625937, Address Id: 1968969 => Updated with Vin: 1G6KD57Y98U161699 ## Mail History Id: 27607534, Consumer Id: 626025, Address Id: 1968701 => Updated with Vin: 1G6DC67A660111657 ## Mail History Id: 27607428, Consumer Id: 625932, Address Id: 10933668 => Updated with Vin: 1GYFK66838R227754 ## Mail History Id: 27607594, Consumer Id: 690548, Address Id: 6891953 => Updated with Vin: 1G6DC67A760170510 ## Mail History Id: 27607556, Consumer Id: 689308, Address Id: 11797189 => Updated with Vin: 1G1ZT548X4F150186 ## Mail History Id: 27607612, Consumer Id: 690290, Address Id: 1969728 => Updated with Vin: 5GRGN23U33H127839 ## Mail History Id: 27607490, Consumer Id: 626007, Address Id: 11765894 => Updated with Vin: 1G6DH577880182068 ## Mail History Id: 27607496, Consumer Id: 625941, Address Id: 11766203 => Updated with Vin: 5GTEN13E588161275 ## Total mail_history records updated with vin numbers: 13 out of 14 ============================================================ ====== Tracking Id: 397 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-06-21 11:14:55') AND us2_order_type_id = 3 ## Order found: 487 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 487 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3525 ## Mailing found: '12323' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27606875, Consumer Id: 520076, Address Id: 9849378 => Updated with Vin: KMHWF35H02A724966 ## Mail History Id: 27607142, Consumer Id: 486998, Address Id: 9850673 => Updated with Vin: 5NPEU46F07H200421 ## Mail History Id: 27606671, Consumer Id: 523306, Address Id: 9854011 => Updated with Vin: KMHDN45D13U497865 ## Mail History Id: 27606687, Consumer Id: 488936, Address Id: 9682734 => Updated with Vin: KMHDN45D63U704377 ## Mail History Id: 27607070, Consumer Id: 520872, Address Id: 9849993 => Updated with Vin: KMHHN65FX4U108950 ## Mail History Id: 27606973, Consumer Id: 520992, Address Id: 9690574 => Updated with Vin: KM8SC13D64U603890 ## Mail History Id: 27607260, Consumer Id: 525776, Address Id: 9855781 => Updated with Vin: 5NPEU46F46H104600 ## Mail History Id: 27606751, Consumer Id: 520187, Address Id: 9849468 => Updated with Vin: KMHFU45D61A080378 ## Mail History Id: 27607166, Consumer Id: 520257, Address Id: 9849515 => Updated with Vin: KMHFU45E12A233243 ## Mail History Id: 27606737, Consumer Id: 522642, Address Id: 9853486 => Updated with Vin: KMHFU45EX5A379869 ## Mail History Id: 27607318, Consumer Id: 488047, Address Id: 9851816 => Updated with Vin: 5NPET46C47H241675 ## Mail History Id: 27606887, Consumer Id: 527337, Address Id: 2422819 => Updated with Vin: KMHDU46D17U256153 ## Mail History Id: 27607026, Consumer Id: 489346, Address Id: 9853161 => Updated with Vin: 5NMSH13E68H130343 ## Mail History Id: 27606931, Consumer Id: 489371, Address Id: 9853265 => Updated with Vin: 5NMSG13DX8H182858 ## Mail History Id: 27606979, Consumer Id: 524887, Address Id: 9855226 => Updated with Vin: KMHFC46F86A049319 ## Mail History Id: 27607009, Consumer Id: 525141, Address Id: 9691286 => Updated with Vin: KMHFC46FX6A047992 ## Mail History Id: 27607268, Consumer Id: 487261, Address Id: 9851004 => Updated with Vin: KNDMC233776015886 ## Mail History Id: 27606755, Consumer Id: 487608, Address Id: 9851394 => Updated with Vin: KM8SC13DX6U099797 ## Mail History Id: 27607112, Consumer Id: 489278, Address Id: 9853110 => Updated with Vin: KM8SG13D97U097951 ## Total mail_history records updated with vin numbers: 19 out of 19 ============================================================ ====== Tracking Id: 398 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-21 11:44:02') AND us2_order_type_id = 3 ## Order found: 488 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 488 AND product_id = 142 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3357 ## Mailing found: '12320' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27606750, Consumer Id: 191593, Address Id: 401726 => Updated with Vin: 1FDEE14H5RHB54369 ## Mail History Id: 27607729, Consumer Id: 190210, Address Id: 398984 => Updated with Vin: 1FTSW31F31EB13845 ## Mail History Id: 27607747, Consumer Id: 192020, Address Id: 402436 => Updated with Vin: 1FMYU04161KC19329 ## Mail History Id: 27607774, Consumer Id: 192744, Address Id: 402906 => Updated with Vin: 1FTRW08L21KC50284 ## Mail History Id: 27606868, Consumer Id: 151976, Address Id: 394340 => Updated with Vin: 1FTRF02515KB66196 ## Mail History Id: 27606988, Consumer Id: 435589, Address Id: 402256 => Updated with Vin: JTHBN30F820056608 ## Mail History Id: 27606656, Consumer Id: 189636, Address Id: 399389 => Updated with Vin: 4F2YU09192KM58243 ## Mail History Id: 27606850, Consumer Id: 188892, Address Id: 398731 => Updated with Vin: 1FTSW31F03EA05136 ## Mail History Id: 27607689, Consumer Id: 192369, Address Id: 402496 => Updated with Vin: 1FMZU67E03UA10133 ## Mail History Id: 27606938, Consumer Id: 189731, Address Id: 400837 => Updated with Vin: JM3LW28A630375827 ## Mail History Id: 27606970, Consumer Id: 189402, Address Id: 401211 => Updated with Vin: JM1FE173840134049 ## Mail History Id: 27606648, Consumer Id: 188236, Address Id: 399721 => Updated with Vin: 4F2CZ04165KM30682 ## Mail History Id: 27606786, Consumer Id: 320388, Address Id: 9607297 => Updated with Vin: 1FAHP60A92Y123378 ## Mail History Id: 27606794, Consumer Id: 320131, Address Id: 877106 => Updated with Vin: 1FAFP48YX3F402400 ## Mail History Id: 27607711, Consumer Id: 194884, Address Id: 404831 => Updated with Vin: 2MEFM75W63X600823 ## Mail History Id: 27606886, Consumer Id: 435548, Address Id: 9800086 => Updated with Vin: 1NXBR32E43Z164305 ## Mail History Id: 27607717, Consumer Id: 197840, Address Id: 402677 => Updated with Vin: 5LMFU27R74LJ15710 ## Mail History Id: 27607677, Consumer Id: 420553, Address Id: 9800033 => Updated with Vin: 1ZVFT82H955242456 ## Mail History Id: 27606904, Consumer Id: 191752, Address Id: 401747 => Updated with Vin: 2FMDA52245BA04564 ## Mail History Id: 27606846, Consumer Id: 435554, Address Id: 880695 => Updated with Vin: 2FMZA52215BA52268 ## Mail History Id: 27606892, Consumer Id: 194375, Address Id: 404133 => Updated with Vin: 1FTWX31P65EC95778 ## Mail History Id: 27607730, Consumer Id: 193125, Address Id: 402692 => Updated with Vin: 1FAFP24105G169105 ## Mail History Id: 27606842, Consumer Id: 198304, Address Id: 404724 => Updated with Vin: 1FMYU03125KA40017 ## Mail History Id: 27606834, Consumer Id: 151683, Address Id: 394068 => Updated with Vin: 1FMCU93105KC23155 ## Mail History Id: 27607768, Consumer Id: 153294, Address Id: 395549 => Updated with Vin: JM3LW28A160566818 ## Mail History Id: 27607603, Consumer Id: 435587, Address Id: 9800112 => Updated with Vin: 1FTWW31P76EB37650 ## Mail History Id: 27606820, Consumer Id: 195465, Address Id: 404699 => Updated with Vin: 1FTPX12596KB73716 ## Mail History Id: 27606660, Consumer Id: 195087, Address Id: 403959 => Updated with Vin: 1FTPW12576KC53860 ## Mail History Id: 27606762, Consumer Id: 435541, Address Id: 9800083 => Updated with Vin: 5LMFU28546LJ15758 ## Mail History Id: 27606708, Consumer Id: 435515, Address Id: 9800065 => Updated with Vin: 5TDZA23CX6S572379 ## Mail History Id: 27607678, Consumer Id: 152243, Address Id: 394585 => Updated with Vin: 1FMEU74856UA51008 ## Mail History Id: 27607773, Consumer Id: 153677, Address Id: 395900 => Updated with Vin: 1FMEU63EX6UA94101 ## Mail History Id: 27606860, Consumer Id: 197118, Address Id: 406746 => Updated with Vin: 1LNHM82W76Y636735 ## Mail History Id: 27607746, Consumer Id: 154583, Address Id: 395696 => Updated with Vin: JM1NC25F270124528 ## Mail History Id: 27607735, Consumer Id: 155215, Address Id: 397291 => Updated with Vin: 1ZVFT80N075324426 ## Mail History Id: 27607761, Consumer Id: 154852, Address Id: 396968 => Updated with Vin: 1FTRF12257NA46219 ## Mail History Id: 27607681, Consumer Id: 188977, Address Id: 399307 => Updated with Vin: 1FTZX17W5WKB47110 ## Mail History Id: 27606714, Consumer Id: 191731, Address Id: 402092 => Updated with Vin: 1FTNW21F73EA76521 ## Mail History Id: 27607752, Consumer Id: 155404, Address Id: 397459 => Updated with Vin: 1ZVHT82H085116497 ## Mail History Id: 27606734, Consumer Id: 155530, Address Id: 397576 => Updated with Vin: 1FTYR10DX8PA45967 ## Mail History Id: 27607760, Consumer Id: 193991, Address Id: 404094 => Updated with Vin: 1FTCR1440TPA13512 ## Mail History Id: 27606766, Consumer Id: 198761, Address Id: 406824 => Updated with Vin: 2MELM75W8VX662648 ## Mail History Id: 27606944, Consumer Id: 435531, Address Id: 9800076 => Updated with Vin: 1LNLM92V4VY667897 ## Mail History Id: 27607715, Consumer Id: 188993, Address Id: 399309 => Updated with Vin: 2FMDA5149YBA70566 ## Mail History Id: 27606894, Consumer Id: 191321, Address Id: 400103 => Updated with Vin: 3FAFP13P9YR182092 ## Total mail_history records updated with vin numbers: 45 out of 48 ============================================================ ====== Tracking Id: 399 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-21 11:44:05') AND us2_order_type_id = 3 ## Order found: 488 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 488 AND product_id = 112 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3357 ## Mailing found: '12325' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27608067, Consumer Id: 197933, Address Id: 407496 => Updated with Vin: 1FAFP55SX3A171128 ## Mail History Id: 27608081, Consumer Id: 196730, Address Id: 406444 => Updated with Vin: 4M2DU86P0YUJ10215 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 400 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-06-21 12:16:48') AND us2_order_type_id = 3 ## Order found: 489 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 489 AND product_id = 112 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3427 ## Mailing found: '12326' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607884, Consumer Id: 497848, Address Id: 325705 => Updated with Vin: 5FNRL18673B109218 ## Mail History Id: 27607946, Consumer Id: 492128, Address Id: 9827823 => Updated with Vin: 2HGEJ2246PH509046 ## Mail History Id: 27607812, Consumer Id: 492246, Address Id: 9827910 => Updated with Vin: JHMES96633S010366 ## Mail History Id: 27607980, Consumer Id: 490971, Address Id: 9826930 => Updated with Vin: JHMES96673S021046 ## Mail History Id: 27607932, Consumer Id: 497751, Address Id: 9831933 => Updated with Vin: 1HGEM22931L026790 ## Mail History Id: 27608014, Consumer Id: 495885, Address Id: 9830597 => Updated with Vin: SHSRD77863U153058 ## Mail History Id: 27607930, Consumer Id: 493587, Address Id: 9828889 => Updated with Vin: 1HGCG1652XA048218 ## Mail History Id: 27607800, Consumer Id: 490746, Address Id: 9826764 => Updated with Vin: 1HGCD565XRA016247 ## Mail History Id: 27607810, Consumer Id: 512460, Address Id: 9844855 => Updated with Vin: 5FNRL38866B049496 ## Mail History Id: 27608008, Consumer Id: 504940, Address Id: 9839905 => Updated with Vin: 1HGCM56613A086090 ## Mail History Id: 27607886, Consumer Id: 497336, Address Id: 325811 => Updated with Vin: 1HGCD555XRA162505 ## Mail History Id: 27607828, Consumer Id: 500327, Address Id: 9831948 => Updated with Vin: 2HGEJ6617YH544753 ## Mail History Id: 27608016, Consumer Id: 514695, Address Id: 9846151 => Updated with Vin: JH4DC54823C008186 ## Mail History Id: 27607942, Consumer Id: 472071, Address Id: 7554193 => Updated with Vin: SHSRD788X6U424271 ## Mail History Id: 27608006, Consumer Id: 472891, Address Id: 4646317 => Updated with Vin: 1HGCM56726A079890 ## Mail History Id: 27607968, Consumer Id: 473209, Address Id: 7555560 => Updated with Vin: 5FNYF18676B013743 ## Mail History Id: 27607892, Consumer Id: 473960, Address Id: 8195132 => Updated with Vin: JHLRE48347C031410 ## Mail History Id: 27607962, Consumer Id: 483374, Address Id: 8540146 => Updated with Vin: 1HGFA16508L041336 ## Total mail_history records updated with vin numbers: 18 out of 22 ============================================================ ====== Tracking Id: 401 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-06-21 12:17:00') AND us2_order_type_id = 3 ## Order found: 489 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 489 AND product_id = 114 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3427 ## Mailing found: '12326' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607988, Consumer Id: 503302, Address Id: 9828819 => Updated with Vin: 1HGCM56334A020048 ## Mail History Id: 27607904, Consumer Id: 490919, Address Id: 327311 => Updated with Vin: 1HGCG56742A091024 ## Mail History Id: 27607972, Consumer Id: 501663, Address Id: 9836645 => Updated with Vin: JHMES95654S016589 ## Mail History Id: 27607914, Consumer Id: 507208, Address Id: 328275 => Updated with Vin: 1HGCM66505A002809 ## Mail History Id: 27608018, Consumer Id: 511416, Address Id: 9844224 => Updated with Vin: 5FNYF18685B010039 ## Mail History Id: 27607944, Consumer Id: 511514, Address Id: 7554419 => Updated with Vin: SHSRD78835U341604 ## Mail History Id: 27608026, Consumer Id: 495665, Address Id: 9830444 => Updated with Vin: 1HGCM82673A035166 ## Mail History Id: 27607824, Consumer Id: 482526, Address Id: 9837169 => Updated with Vin: 5FNRL38787B445728 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 402 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-22 08:14:25') AND us2_order_type_id = 3 ## Order found: 496 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 496 AND product_id = 55 ## Job Group Found: '374' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('374') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408002') AND customer_id = 3230 ## Mailing found: '12350' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 403 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-22 08:44:17') AND us2_order_type_id = 3 ## Order found: 496 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 496 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3230 ## Mailing found: '12378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785509, Consumer Id: 96706, Address Id: 102764 => Updated with Vin: 3FAHP07Z68R211868 ## Mail History Id: 28785407, Consumer Id: 73745, Address Id: 53807 => Updated with Vin: 1FTPX14515NB36864 ## Mail History Id: 28785408, Consumer Id: 66995, Address Id: 49384 => Updated with Vin: 1FTRX14W06NB28807 ## Mail History Id: 28785409, Consumer Id: 64583, Address Id: 48137 => Updated with Vin: 1FTRX18L6YNA53825 ## Mail History Id: 28785410, Consumer Id: 63164, Address Id: 48051 => Updated with Vin: 1FTSW31F9YED10934 ## Mail History Id: 28785411, Consumer Id: 65864, Address Id: 51622 => Updated with Vin: 1FTSW21P36EA04943 ## Mail History Id: 28785413, Consumer Id: 63342, Address Id: 51859 => Updated with Vin: 1FTRW08631KC10161 ## Mail History Id: 28785703, Consumer Id: 65825, Address Id: 49949 => Updated with Vin: 1FAFP34N66W124752 ## Mail History Id: 28785415, Consumer Id: 93590, Address Id: 67805 => Updated with Vin: 2FMDK36C18BA06345 ## Mail History Id: 28785706, Consumer Id: 64618, Address Id: 50892 => Updated with Vin: 1FAFP55S43G173213 ## Mail History Id: 28785417, Consumer Id: 73755, Address Id: 48966 => Updated with Vin: 1FTHF36H4VED02403 ## Mail History Id: 28785710, Consumer Id: 528043, Address Id: 51489 => Updated with Vin: 1FMZU73W14UB68289 ## Mail History Id: 28785420, Consumer Id: 73750, Address Id: 67780 => Updated with Vin: 1FMZU77E91UB76914 ## Mail History Id: 28785422, Consumer Id: 66730, Address Id: 47594 => Updated with Vin: JT3HN86R6X0238846 ## Mail History Id: 28785422, Consumer Id: 65482, Address Id: 47594 => Updated with Vin: 1FTPW12524KD43608 ## Mail History Id: 28785423, Consumer Id: 64428, Address Id: 47214 => Updated with Vin: 1FTCR10A2VTA39521 ## Mail History Id: 28785424, Consumer Id: 66649, Address Id: 49257 => Updated with Vin: 1FMZU73K45ZA57625 ## Mail History Id: 28785425, Consumer Id: 65589, Address Id: 51444 => Updated with Vin: 1FMZU73K34ZA03926 ## Mail History Id: 28785426, Consumer Id: 66399, Address Id: 48206 => Updated with Vin: 1FTSW21P96EC12504 ## Mail History Id: 28785427, Consumer Id: 73754, Address Id: 52275 => Updated with Vin: 2FALP74W2RX110567 ## Mail History Id: 28786092, Consumer Id: 528029, Address Id: 47504 => Updated with Vin: 1FTSW21P85EA23826 ## Mail History Id: 28785429, Consumer Id: 93588, Address Id: 67798 => Updated with Vin: 2G1WF52E849233174 ## Mail History Id: 28785430, Consumer Id: 73747, Address Id: 67778 => Updated with Vin: 1FTRF12226NB73119 ## Mail History Id: 28785431, Consumer Id: 63269, Address Id: 47286 => Updated with Vin: 1FMZU72KX2ZC57955 ## Mail History Id: 28785770, Consumer Id: 62891, Address Id: 47697 => Updated with Vin: 1FAFP53S7XG291779 ## Mail History Id: 28785433, Consumer Id: 65842, Address Id: 50487 => Updated with Vin: 1FALP53S4VG125395 ## Mail History Id: 28786010, Consumer Id: 66403, Address Id: 49737 => Updated with Vin: 1FMYU92Z45KD13423 ## Mail History Id: 28785435, Consumer Id: 63452, Address Id: 51924 => Updated with Vin: 2FMZA51684BA55588 ## Mail History Id: 28785436, Consumer Id: 73746, Address Id: 51097 => Updated with Vin: 1ZVHT80N875246003 ## Mail History Id: 28785437, Consumer Id: 73749, Address Id: 67779 => Updated with Vin: 1FAFP55S74G179301 ## Mail History Id: 28785438, Consumer Id: 73751, Address Id: 52024 => Updated with Vin: 2FTRX18L52CA28590 ## Mail History Id: 28785439, Consumer Id: 73743, Address Id: 51001 => Updated with Vin: 1FTWF31P06EB01881 ## Mail History Id: 28785733, Consumer Id: 73748, Address Id: 67442 => Updated with Vin: 1FAFP53U47A166162 ## Mail History Id: 28785441, Consumer Id: 65912, Address Id: 49654 => Updated with Vin: 1FAFP53U35A102675 ## Mail History Id: 28785735, Consumer Id: 38602, Address Id: 51437 => Updated with Vin: 3FAHP08177R148349 ## Mail History Id: 28785443, Consumer Id: 63282, Address Id: 49218 => Updated with Vin: 1FMNE31P84HA94474 ## Mail History Id: 28785546, Consumer Id: 93589, Address Id: 67804 => Updated with Vin: 1FTSW20518ED50251 ## Mail History Id: 28785445, Consumer Id: 38656, Address Id: 53977 => Updated with Vin: 1GNEK13R6XJ449159 ## Mail History Id: 28785446, Consumer Id: 65524, Address Id: 49741 => Updated with Vin: 1FTPX145X5FA99503 ## Mail History Id: 28785447, Consumer Id: 73752, Address Id: 51749 => Updated with Vin: 1FTXW43R78EC37761 ## Mail History Id: 28785448, Consumer Id: 73753, Address Id: 51543 => Updated with Vin: 3FAHP07177R254091 ## Mail History Id: 28785449, Consumer Id: 65530, Address Id: 47663 => Updated with Vin: 1FMZU73K73UA27545 ## Mail History Id: 28785450, Consumer Id: 67626, Address Id: 53326 => Updated with Vin: 1G2HZ52K0XH218332 ## Total mail_history records updated with vin numbers: 43 out of 50 ============================================================ ====== Tracking Id: 404 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-06-22 10:16:18') AND us2_order_type_id = 3 ## Order found: 497 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 497 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3416 ## Mailing found: '12321' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607446, Consumer Id: 625165, Address Id: 11765839 => Updated with Vin: 1G6KD54Y05U168427 ## Mail History Id: 27607358, Consumer Id: 625508, Address Id: 7431045 => Updated with Vin: 1G6KE54Y92U129571 ## Mail History Id: 27607398, Consumer Id: 625915, Address Id: 3756023 => Updated with Vin: 5GTEN43E988202816 ## Mail History Id: 27607564, Consumer Id: 625937, Address Id: 1968969 => Updated with Vin: 1G6KD57Y98U161699 ## Mail History Id: 27607628, Consumer Id: 689183, Address Id: 1969960 => Updated with Vin: 1G6KD54Y33U141588 ## Mail History Id: 27607534, Consumer Id: 626025, Address Id: 1968701 => Updated with Vin: 1G6DC67A660111657 ## Mail History Id: 27607542, Consumer Id: 629824, Address Id: 1968793 => Updated with Vin: 1G6ET1294WU614889 ## Mail History Id: 27607428, Consumer Id: 625932, Address Id: 10933668 => Updated with Vin: 1GYFK66838R227754 ## Mail History Id: 27607550, Consumer Id: 627162, Address Id: 1968890 => Updated with Vin: 1G6DP567150197897 ## Mail History Id: 27607448, Consumer Id: 629606, Address Id: 1963237 => Updated with Vin: 1G6KD57Y38U152402 ## Mail History Id: 27607594, Consumer Id: 690548, Address Id: 6891953 => Updated with Vin: 1G6DC67A760170510 ## Mail History Id: 27607464, Consumer Id: 625176, Address Id: 11765844 => Updated with Vin: 1G6KD54Y54U190051 ## Mail History Id: 27607498, Consumer Id: 690969, Address Id: 11797789 => Updated with Vin: 5GTDN136968281887 ## Mail History Id: 27607384, Consumer Id: 625471, Address Id: 11765982 => Updated with Vin: 1G6KD54Y24U252392 ## Total mail_history records updated with vin numbers: 14 out of 15 ============================================================ ====== Tracking Id: 405 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-22 11:14:03') AND us2_order_type_id = 3 ## Order found: 498 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 498 AND product_id = 112 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3486 ## Mailing found: '12327' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27608030, Consumer Id: 469198, Address Id: 5417011 => Updated with Vin: 2G1WL15C779197185 ## Mail History Id: 27608068, Consumer Id: 477077, Address Id: 1571043 => Updated with Vin: 1GNEK13Z92R316129 ## Mail History Id: 27608044, Consumer Id: 464954, Address Id: 1079553 => Updated with Vin: KL1TJ52604B202881 ## Mail History Id: 27608054, Consumer Id: 478702, Address Id: 4375731 => Updated with Vin: 1GNDT13S532122137 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 406 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-06-22 11:14:51') AND us2_order_type_id = 3 ## Order found: 499 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 499 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3525 ## Mailing found: '12323' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27606899, Consumer Id: 520710, Address Id: 9849863 => Updated with Vin: KMHHM65D03U034518 ## Mail History Id: 27606855, Consumer Id: 526622, Address Id: 9853963 => Updated with Vin: KMHFC46F06A094965 ## Mail History Id: 27606689, Consumer Id: 522958, Address Id: 9853755 => Updated with Vin: KMHWF35H65A145260 ## Mail History Id: 27606769, Consumer Id: 525533, Address Id: 2421201 => Updated with Vin: 5NPEU46F66H148243 ## Mail History Id: 27606739, Consumer Id: 487595, Address Id: 9851386 => Updated with Vin: 5NPEU46F47H178018 ## Mail History Id: 27606903, Consumer Id: 520573, Address Id: 9849744 => Updated with Vin: KM8SC13D83U486571 ## Mail History Id: 27607094, Consumer Id: 525549, Address Id: 9855799 => Updated with Vin: KM8SC13DX3U538671 ## Mail History Id: 27606649, Consumer Id: 520334, Address Id: 9849578 => Updated with Vin: KM8SC13E43U529909 ## Mail History Id: 27606973, Consumer Id: 520992, Address Id: 9690574 => Updated with Vin: KM8SC13D64U603890 ## Mail History Id: 27606833, Consumer Id: 520832, Address Id: 9849963 => Updated with Vin: KMHDN45D13U664497 ## Mail History Id: 27607021, Consumer Id: 522302, Address Id: 2424367 => Updated with Vin: KM8SB12B04U815056 ## Mail History Id: 27607246, Consumer Id: 521306, Address Id: 9850371 => Updated with Vin: KMHDN46D14U789533 ## Mail History Id: 27606835, Consumer Id: 488378, Address Id: 9851467 => Updated with Vin: 5NMSH13EX7H088757 ## Mail History Id: 27607188, Consumer Id: 526965, Address Id: 9856677 => Updated with Vin: 5NPET46C47H201712 ## Mail History Id: 27607038, Consumer Id: 488049, Address Id: 9851817 => Updated with Vin: 5NPET46C67H296211 ## Mail History Id: 27606947, Consumer Id: 489381, Address Id: 9853273 => Updated with Vin: KMHHN66F47U243537 ## Mail History Id: 27606995, Consumer Id: 526482, Address Id: 9853361 => Updated with Vin: 5NMSH13E37H038279 ## Mail History Id: 27607168, Consumer Id: 489349, Address Id: 9853164 => Updated with Vin: 5NMSH13E38H145348 ## Mail History Id: 27606935, Consumer Id: 489380, Address Id: 9853272 => Updated with Vin: 5NMSG13D48H167188 ## Mail History Id: 27607234, Consumer Id: 489226, Address Id: 9853074 => Updated with Vin: 5NMSH13EX8H183319 ## Mail History Id: 27607218, Consumer Id: 486990, Address Id: 9849524 => Updated with Vin: KMHWF35H73A835791 ## Mail History Id: 27606657, Consumer Id: 489383, Address Id: 9853275 => Updated with Vin: KMHCN46C37U132983 ## Mail History Id: 27607112, Consumer Id: 489278, Address Id: 9853110 => Updated with Vin: KM8SG13D97U097951 ## Total mail_history records updated with vin numbers: 23 out of 25 ============================================================ ====== Tracking Id: 407 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-06-22 11:14:52') AND us2_order_type_id = 3 ## Order found: 499 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 499 AND product_id = 112 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3525 ## Mailing found: '12328' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607817, Consumer Id: 523954, Address Id: 9854334 => Updated with Vin: KMHCG45C25U658157 ## Mail History Id: 27607795, Consumer Id: 521436, Address Id: 9850484 => Updated with Vin: KM8SB12B64U674378 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 408 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-22 11:43:59') AND us2_order_type_id = 3 ## Order found: 500 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 500 AND product_id = 142 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3357 ## Mailing found: '12320' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607742, Consumer Id: 188963, Address Id: 399304 => Updated with Vin: 4F2YZ06185KM59801 ## Mail History Id: 27607754, Consumer Id: 435562, Address Id: 9800092 => Updated with Vin: 1FTYR14E11PA38415 ## Mail History Id: 27606988, Consumer Id: 435589, Address Id: 402256 => Updated with Vin: JTHBN30F820056608 ## Mail History Id: 27606874, Consumer Id: 193477, Address Id: 403537 => Updated with Vin: 2FTZF07372CA74467 ## Mail History Id: 27606816, Consumer Id: 199276, Address Id: 407591 => Updated with Vin: 1FTSX20538EC02423 ## Mail History Id: 27607775, Consumer Id: 197154, Address Id: 405574 => Updated with Vin: 1FTYR10DX3PA95549 ## Mail History Id: 27606940, Consumer Id: 193644, Address Id: 403190 => Updated with Vin: 1FMZU63K83ZA11299 ## Mail History Id: 27606922, Consumer Id: 199551, Address Id: 406937 => Updated with Vin: JM3LW28A940501194 ## Mail History Id: 27607659, Consumer Id: 188794, Address Id: 401162 => Updated with Vin: 1FAHP38Z84W200345 ## Mail History Id: 27606898, Consumer Id: 195798, Address Id: 405046 => Updated with Vin: JM1BK12F541184135 ## Mail History Id: 27607631, Consumer Id: 193647, Address Id: 403806 => Updated with Vin: 1YVHP80C055M67740 ## Mail History Id: 27607668, Consumer Id: 200421, Address Id: 407659 => Updated with Vin: 5TBET34195S470462 ## Mail History Id: 27606746, Consumer Id: 435568, Address Id: 9800097 => Updated with Vin: JTEDP21A960125051 ## Mail History Id: 27606902, Consumer Id: 154126, Address Id: 396312 => Updated with Vin: 1FMFU18546LA92074 ## Mail History Id: 27607653, Consumer Id: 435533, Address Id: 9800078 => Updated with Vin: 3MEHM08156R640457 ## Mail History Id: 27607647, Consumer Id: 196680, Address Id: 406222 => Updated with Vin: 3LNHM26146R658377 ## Mail History Id: 27606726, Consumer Id: 435588, Address Id: 9800113 => Updated with Vin: JA4LZ31F36U048255 ## Mail History Id: 27606718, Consumer Id: 154972, Address Id: 397067 => Updated with Vin: JM3ER29L870106928 ## Mail History Id: 27606916, Consumer Id: 153816, Address Id: 396031 => Updated with Vin: JM1CR29LX70139381 ## Mail History Id: 27607686, Consumer Id: 154959, Address Id: 397057 => Updated with Vin: 1YVHP80C475M16776 ## Mail History Id: 27607655, Consumer Id: 188659, Address Id: 399814 => Updated with Vin: 1FTYR10C31PA33690 ## Mail History Id: 27607723, Consumer Id: 194578, Address Id: 403475 => Updated with Vin: 1FAFP45X7YF263815 ## Mail History Id: 27607671, Consumer Id: 174153, Address Id: 446137 => Updated with Vin: 1FMEU64E88UA88461 ## Mail History Id: 27606952, Consumer Id: 187531, Address Id: 398208 => Updated with Vin: 1FDEE14N1MHB38832 ## Mail History Id: 27606774, Consumer Id: 195442, Address Id: 404695 => Updated with Vin: 1FACP41E5MF102770 ## Mail History Id: 27607621, Consumer Id: 435581, Address Id: 9800107 => Updated with Vin: 1LNLM83WXSY645660 ## Mail History Id: 27606890, Consumer Id: 194292, Address Id: 400109 => Updated with Vin: 2FALP74W2VX232615 ## Total mail_history records updated with vin numbers: 27 out of 28 ============================================================ ====== Tracking Id: 409 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-06-22 12:16:37') AND us2_order_type_id = 3 ## Order found: 501 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 501 AND product_id = 114 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3427 ## Mailing found: '12326' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607902, Consumer Id: 507796, Address Id: 327236 => Updated with Vin: 5FNRL38715B091371 ## Mail History Id: 27608002, Consumer Id: 508652, Address Id: 9842471 => Updated with Vin: SHSRD78585U334007 ## Mail History Id: 27607842, Consumer Id: 493257, Address Id: 9828660 => Updated with Vin: 2HKRL18622H546124 ## Mail History Id: 27607953, Consumer Id: 510467, Address Id: 9839825 => Updated with Vin: 1HGCD5650SA058156 ## Mail History Id: 27607876, Consumer Id: 490789, Address Id: 9826795 => Updated with Vin: 1HGCE1890VA001787 ## Mail History Id: 27607832, Consumer Id: 518140, Address Id: 9828770 => Updated with Vin: 1HGCM563X7A177810 ## Mail History Id: 27607956, Consumer Id: 490682, Address Id: 9826709 => Updated with Vin: JHMCM567X3C074711 ## Mail History Id: 27607924, Consumer Id: 514899, Address Id: 329870 => Updated with Vin: 1HGCM72603A007834 ## Total mail_history records updated with vin numbers: 8 out of 9 ============================================================ ====== Tracking Id: 410 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-06-22 12:16:50') AND us2_order_type_id = 3 ## Order found: 501 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 501 AND product_id = 112 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3427 ## Mailing found: '12326' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607856, Consumer Id: 502349, Address Id: 9837876 => Updated with Vin: 5FNRL18994B008791 ## Mail History Id: 27607826, Consumer Id: 496259, Address Id: 9830858 => Updated with Vin: SHSRD78843U159214 ## Mail History Id: 27607928, Consumer Id: 513276, Address Id: 9832838 => Updated with Vin: 2HKYF181X5H567993 ## Mail History Id: 27607798, Consumer Id: 495621, Address Id: 9830410 => Updated with Vin: 2HKYF18593H003543 ## Mail History Id: 27607882, Consumer Id: 511962, Address Id: 9844561 => Updated with Vin: 1HGFA15866L023173 ## Mail History Id: 27607880, Consumer Id: 497753, Address Id: 325432 => Updated with Vin: 5FNRL186X2B052818 ## Mail History Id: 27607888, Consumer Id: 494229, Address Id: 325836 => Updated with Vin: 1HGCG56451A016952 ## Mail History Id: 27607990, Consumer Id: 493501, Address Id: 9828832 => Updated with Vin: 5FNRL18073B064339 ## Mail History Id: 27607926, Consumer Id: 471493, Address Id: 329924 => Updated with Vin: JHMFA36296S008885 ## Mail History Id: 27607908, Consumer Id: 513159, Address Id: 327857 => Updated with Vin: 2HKRL186XXH540207 ## Mail History Id: 27607804, Consumer Id: 514106, Address Id: 9845799 => Updated with Vin: 5FNRL38766B419868 ## Mail History Id: 27608010, Consumer Id: 515185, Address Id: 9846447 => Updated with Vin: 5FNRL38496B062384 ## Mail History Id: 27607840, Consumer Id: 472358, Address Id: 9833838 => Updated with Vin: 5FNYF18726B027106 ## Mail History Id: 27607848, Consumer Id: 473211, Address Id: 9832506 => Updated with Vin: 5FNRL38677B002087 ## Total mail_history records updated with vin numbers: 14 out of 15 ============================================================ ====== Tracking Id: 411 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-23 08:44:07') AND us2_order_type_id = 3 ## Order found: 503 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 503 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3230 ## Mailing found: '12344' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337457, Consumer Id: 65713, Address Id: 48451 => Updated with Vin: 1FMDU73E82ZB50244 ## Mail History Id: 28337437, Consumer Id: 103747, Address Id: 51734 => Updated with Vin: 2B4GP44331R252447 ## Mail History Id: 28337419, Consumer Id: 64399, Address Id: 47336 => Updated with Vin: 1FTYR14U11PA95186 ## Mail History Id: 28337351, Consumer Id: 66001, Address Id: 52926 => Updated with Vin: 2FMZA53433BB57729 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 412 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-23 08:44:15') AND us2_order_type_id = 3 ## Order found: 503 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 503 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3230 ## Mailing found: '12378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785509, Consumer Id: 96706, Address Id: 102764 => Updated with Vin: 3FAHP07Z68R211868 ## Mail History Id: 28785510, Consumer Id: 93591, Address Id: 67806 => Updated with Vin: 1FMCU03128KC01660 ## Mail History Id: 28785511, Consumer Id: 93098, Address Id: 47273 => Updated with Vin: 1FTPW14V47FB51083 ## Mail History Id: 28785512, Consumer Id: 65936, Address Id: 49449 => Updated with Vin: 1FAFP55UX4G117523 ## Mail History Id: 28785513, Consumer Id: 63338, Address Id: 51844 => Updated with Vin: 1FTNX21F72EA49248 ## Mail History Id: 28785514, Consumer Id: 102967, Address Id: 47857 => Updated with Vin: 1FTNX21F8XEA03953 ## Mail History Id: 28785515, Consumer Id: 93346, Address Id: 51832 => Updated with Vin: 3FAHP07Z08R141428 ## Mail History Id: 28785516, Consumer Id: 93382, Address Id: 47762 => Updated with Vin: 1FTWW31RX8EA99724 ## Mail History Id: 28785517, Consumer Id: 93211, Address Id: 51623 => Updated with Vin: 1FAHP25W38G109570 ## Mail History Id: 28785518, Consumer Id: 93087, Address Id: 51085 => Updated with Vin: 1FTSX21R48EA75683 ## Mail History Id: 28785519, Consumer Id: 93367, Address Id: 51847 => Updated with Vin: 2FMDK39C17BB43635 ## Mail History Id: 28785520, Consumer Id: 63028, Address Id: 47732 => Updated with Vin: 1ZVLT20AXR5115212 ## Mail History Id: 28785707, Consumer Id: 93584, Address Id: 67643 => Updated with Vin: 1FAHP34N07W137846 ## Mail History Id: 28785522, Consumer Id: 96705, Address Id: 102763 => Updated with Vin: 1FTPX14V48FB05669 ## Mail History Id: 28785523, Consumer Id: 67574, Address Id: 50586 => Updated with Vin: 1FAHP27166G125891 ## Mail History Id: 28785524, Consumer Id: 67145, Address Id: 49219 => Updated with Vin: 1FTWW31P16ED85439 ## Mail History Id: 28785525, Consumer Id: 92514, Address Id: 48016 => Updated with Vin: 1FAHP281X6G181282 ## Mail History Id: 28785526, Consumer Id: 109914, Address Id: 67800 => Updated with Vin: 2FACP74W6PX203170 ## Mail History Id: 28785527, Consumer Id: 109915, Address Id: 67801 => Updated with Vin: 1FAHP24197G133215 ## Mail History Id: 28786137, Consumer Id: 91861, Address Id: 51296 => Updated with Vin: 1FAHP24157G124592 ## Mail History Id: 28785529, Consumer Id: 93484, Address Id: 51971 => Updated with Vin: 1FTRF14W48KC36709 ## Mail History Id: 28785531, Consumer Id: 109913, Address Id: 67799 => Updated with Vin: 1FMPU16545LA35802 ## Mail History Id: 28785532, Consumer Id: 63387, Address Id: 48361 => Updated with Vin: 1FAFP55S52G226032 ## Mail History Id: 28785533, Consumer Id: 103597, Address Id: 53744 => Updated with Vin: 1FTDF15N9PLA51080 ## Mail History Id: 28785534, Consumer Id: 67407, Address Id: 53054 => Updated with Vin: 1FAFP53275A142823 ## Mail History Id: 28785535, Consumer Id: 64631, Address Id: 49397 => Updated with Vin: 1FAFP24155G174784 ## Mail History Id: 28785537, Consumer Id: 93592, Address Id: 67807 => Updated with Vin: 1FAHP35N28W126833 ## Mail History Id: 28785538, Consumer Id: 109916, Address Id: 67802 => Updated with Vin: 2MEFM74W52X646210 ## Mail History Id: 28785539, Consumer Id: 64811, Address Id: 48214 => Updated with Vin: 1FMZU73K92UD32348 ## Mail History Id: 28785540, Consumer Id: 92925, Address Id: 51343 => Updated with Vin: 2FMDA53452BB13854 ## Mail History Id: 28785541, Consumer Id: 38400, Address Id: 49078 => Updated with Vin: 1FMZU73W05UA90993 ## Mail History Id: 28785542, Consumer Id: 66224, Address Id: 49622 => Updated with Vin: 1FTPW14535FA74395 ## Mail History Id: 28785543, Consumer Id: 93345, Address Id: 51831 => Updated with Vin: 1FAHP34NX7W346947 ## Mail History Id: 28785544, Consumer Id: 63800, Address Id: 48851 => Updated with Vin: 1FTEF14N2TLA17885 ## Mail History Id: 28785545, Consumer Id: 92731, Address Id: 51145 => Updated with Vin: 1FTZR45E65PA32944 ## Mail History Id: 28785546, Consumer Id: 93589, Address Id: 67804 => Updated with Vin: 1FTSW20518ED50251 ## Total mail_history records updated with vin numbers: 36 out of 42 ============================================================ ====== Tracking Id: 413 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-06-23 10:17:02') AND us2_order_type_id = 3 ## Order found: 504 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 504 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3416 ## Mailing found: '12321' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607398, Consumer Id: 625915, Address Id: 3756023 => Updated with Vin: 5GTEN43E988202816 ## Mail History Id: 27607628, Consumer Id: 629829, Address Id: 1969960 => Updated with Vin: 1G6KS54Y92U263070 ## Mail History Id: 27607428, Consumer Id: 625932, Address Id: 10933668 => Updated with Vin: 1GYFK66838R227754 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 414 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-23 11:14:06') AND us2_order_type_id = 3 ## Order found: 505 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 505 AND product_id = 112 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3486 ## Mailing found: '12327' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27608056, Consumer Id: 466001, Address Id: 1038795 => Updated with Vin: 1GNEK13Z04R300730 ## Mail History Id: 27608058, Consumer Id: 479143, Address Id: 2524813 => Updated with Vin: 2GCEC19V721151488 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 415 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-06-23 11:15:00') AND us2_order_type_id = 3 ## Order found: 506 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 506 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3525 ## Mailing found: '12323' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27606855, Consumer Id: 526622, Address Id: 9853963 => Updated with Vin: KMHFC46F06A094965 ## Mail History Id: 27607670, Consumer Id: 526532, Address Id: 9856422 => Updated with Vin: KMHWF35H45A165703 ## Mail History Id: 27606825, Consumer Id: 487406, Address Id: 9851121 => Updated with Vin: 5NPEU46F77H208774 ## Mail History Id: 27606879, Consumer Id: 520760, Address Id: 9849907 => Updated with Vin: KMHCG45C83U498332 ## Mail History Id: 27607196, Consumer Id: 520477, Address Id: 9849665 => Updated with Vin: KM8SC13E53U549585 ## Mail History Id: 27606975, Consumer Id: 520944, Address Id: 9850062 => Updated with Vin: KM8SB12B54U578340 ## Mail History Id: 27607178, Consumer Id: 487643, Address Id: 9851424 => Updated with Vin: 5NMSH13E37H036855 ## Mail History Id: 27607202, Consumer Id: 487609, Address Id: 9851395 => Updated with Vin: KM8SG13D97U114957 ## Mail History Id: 27606897, Consumer Id: 520985, Address Id: 2423015 => Updated with Vin: KMHFU45E24A309944 ## Mail History Id: 27607007, Consumer Id: 488943, Address Id: 9691258 => Updated with Vin: 5NMSH13E17H128529 ## Mail History Id: 27606777, Consumer Id: 488855, Address Id: 9852701 => Updated with Vin: KMHDU46D47U218156 ## Total mail_history records updated with vin numbers: 11 out of 11 ============================================================ ====== Tracking Id: 416 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-06-23 11:15:07') AND us2_order_type_id = 3 ## Order found: 506 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 506 AND product_id = 114 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3525 ## Mailing found: '12328' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607925, Consumer Id: 520694, Address Id: 9849850 => Updated with Vin: KM8SC83D71U111969 ## Mail History Id: 27607827, Consumer Id: 520576, Address Id: 9849747 => Updated with Vin: KM8SC13E83U459833 ## Mail History Id: 27607825, Consumer Id: 520993, Address Id: 9850102 => Updated with Vin: KM8SC13DX4U569436 ## Mail History Id: 27607947, Consumer Id: 520378, Address Id: 9849614 => Updated with Vin: KMHWF35H22A514451 ## Mail History Id: 27607821, Consumer Id: 521852, Address Id: 9851423 => Updated with Vin: KMHWF25S64A056857 ## Mail History Id: 27607859, Consumer Id: 487223, Address Id: 9850859 => Updated with Vin: 5NPEU46C56H119824 ## Mail History Id: 27607865, Consumer Id: 520916, Address Id: 9850036 => Updated with Vin: KMHWF35V6YA293886 ## Mail History Id: 27607937, Consumer Id: 522400, Address Id: 9853260 => Updated with Vin: KMHCG45C32U311884 ## Mail History Id: 27607841, Consumer Id: 520291, Address Id: 9849543 => Updated with Vin: KMHFU45E92A175186 ## Mail History Id: 27607823, Consumer Id: 520208, Address Id: 9849476 => Updated with Vin: KM8SC13D13U350718 ## Mail History Id: 27607905, Consumer Id: 520379, Address Id: 2421895 => Updated with Vin: KM8SC13E73U524042 ## Mail History Id: 27607853, Consumer Id: 520653, Address Id: 9849815 => Updated with Vin: KM8SC13EX3U546178 ## Mail History Id: 27607911, Consumer Id: 521446, Address Id: 2422671 => Updated with Vin: KM8SB12B54U684416 ## Mail History Id: 27607909, Consumer Id: 520068, Address Id: 9849372 => Updated with Vin: KMHWF35H43A742257 ## Mail History Id: 27607875, Consumer Id: 521024, Address Id: 9850128 => Updated with Vin: KMHDN45D52U286277 ## Mail History Id: 27607851, Consumer Id: 521023, Address Id: 9850127 => Updated with Vin: KMHDN46D24U725033 ## Mail History Id: 27607917, Consumer Id: 521100, Address Id: 9850189 => Updated with Vin: KMHDN46D44U764836 ## Mail History Id: 27607839, Consumer Id: 522155, Address Id: 9852651 => Updated with Vin: KMHDN46D84U900661 ## Mail History Id: 27607807, Consumer Id: 524203, Address Id: 9854717 => Updated with Vin: 5NPEU46F46H001614 ## Mail History Id: 27607877, Consumer Id: 520700, Address Id: 2420986 => Updated with Vin: KMHFU45D81A098798 ## Mail History Id: 27607887, Consumer Id: 520755, Address Id: 9849902 => Updated with Vin: KMHFU45E33A263250 ## Mail History Id: 27607919, Consumer Id: 525999, Address Id: 9856037 => Updated with Vin: KNDMC233276021899 ## Mail History Id: 27607871, Consumer Id: 520825, Address Id: 9683409 => Updated with Vin: KMHWF35V0XA118998 ## Mail History Id: 27607801, Consumer Id: 525205, Address Id: 9855459 => Updated with Vin: KMHFC46F86A058828 ## Mail History Id: 27607929, Consumer Id: 521483, Address Id: 9850891 => Updated with Vin: KMHWF35H44A970647 ## Mail History Id: 27607815, Consumer Id: 521179, Address Id: 9850257 => Updated with Vin: KMHWF35H23A831700 ## Mail History Id: 27607903, Consumer Id: 526086, Address Id: 9689101 => Updated with Vin: 1C3AL56401N656131 ## Mail History Id: 27607797, Consumer Id: 488801, Address Id: 9852558 => Updated with Vin: KM8SC13D36U037142 ## Mail History Id: 27607907, Consumer Id: 488171, Address Id: 9851914 => Updated with Vin: KM8SC13D46U102080 ## Mail History Id: 27607881, Consumer Id: 487491, Address Id: 9849429 => Updated with Vin: KMHWF35H23A783857 ## Mail History Id: 27607805, Consumer Id: 520151, Address Id: 9849443 => Updated with Vin: KMHVD34N9WU345302 ## Mail History Id: 27607855, Consumer Id: 520446, Address Id: 9849650 => Updated with Vin: KMHJF35F8YU000491 ## Total mail_history records updated with vin numbers: 32 out of 33 ============================================================ ====== Tracking Id: 417 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-06-23 11:15:19') AND us2_order_type_id = 3 ## Order found: 506 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 506 AND product_id = 113 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3525 ## Mailing found: '12328' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607915, Consumer Id: 520165, Address Id: 9849454 => Updated with Vin: KMHFU45E92A168562 ## Mail History Id: 27608074, Consumer Id: 520522, Address Id: 9849704 => Updated with Vin: KMHFU45E62A197923 ## Mail History Id: 27607869, Consumer Id: 520634, Address Id: 9849797 => Updated with Vin: KMHWF35H12A703706 ## Mail History Id: 27607901, Consumer Id: 520049, Address Id: 9849357 => Updated with Vin: KMHFU45E53A251634 ## Mail History Id: 27607939, Consumer Id: 520541, Address Id: 9849720 => Updated with Vin: KMHWF35H53A887467 ## Mail History Id: 27607867, Consumer Id: 520485, Address Id: 9849672 => Updated with Vin: KM8SC13E33U550119 ## Mail History Id: 27607861, Consumer Id: 520643, Address Id: 9849806 => Updated with Vin: KM8SC13E93U554739 ## Mail History Id: 27607809, Consumer Id: 521806, Address Id: 9680073 => Updated with Vin: KMHFU45E74A276875 ## Mail History Id: 27607873, Consumer Id: 520496, Address Id: 9849683 => Updated with Vin: KMHWF25H13A907529 ## Mail History Id: 27607843, Consumer Id: 520098, Address Id: 9849400 => Updated with Vin: KMHWF25S42A663062 ## Mail History Id: 27607819, Consumer Id: 520059, Address Id: 9849364 => Updated with Vin: KMHWF35H83A852793 ## Mail History Id: 27607813, Consumer Id: 521311, Address Id: 9850375 => Updated with Vin: KMHWF35H44A001074 ## Mail History Id: 27607921, Consumer Id: 521517, Address Id: 9850917 => Updated with Vin: KMHWF35H34A000949 ## Mail History Id: 27607863, Consumer Id: 525190, Address Id: 9855445 => Updated with Vin: KMHFC46F76A079279 ## Mail History Id: 27607803, Consumer Id: 524052, Address Id: 9854585 => Updated with Vin: 5NPEU46F06H019608 ## Mail History Id: 27607935, Consumer Id: 521957, Address Id: 9852016 => Updated with Vin: KMHCG35C24U315891 ## Mail History Id: 27607897, Consumer Id: 520803, Address Id: 9849943 => Updated with Vin: KMHWF25HX4A913170 ## Mail History Id: 27607833, Consumer Id: 520914, Address Id: 9850033 => Updated with Vin: KMHWF35H54A941156 ## Mail History Id: 27607951, Consumer Id: 520317, Address Id: 9849562 => Updated with Vin: KM8SC83D61U121828 ## Mail History Id: 27607949, Consumer Id: 521131, Address Id: 9850216 => Updated with Vin: KM8SC13D22U275381 ## Mail History Id: 27607891, Consumer Id: 520450, Address Id: 2421397 => Updated with Vin: KM8SB12B83U401263 ## Mail History Id: 27607835, Consumer Id: 520305, Address Id: 9849555 => Updated with Vin: KM8SC13D33U439500 ## Mail History Id: 27607829, Consumer Id: 520391, Address Id: 9849619 => Updated with Vin: KM8SC13E53U520765 ## Mail History Id: 27607857, Consumer Id: 520568, Address Id: 9849741 => Updated with Vin: KMHJF35F6YU998317 ## Mail History Id: 27607831, Consumer Id: 520804, Address Id: 9849944 => Updated with Vin: KM8SC13E14U573500 ## Mail History Id: 27607893, Consumer Id: 520879, Address Id: 9850000 => Updated with Vin: KM8SC13D54U594132 ## Mail History Id: 27607889, Consumer Id: 520310, Address Id: 9849559 => Updated with Vin: KM8SB12B63U363533 ## Mail History Id: 27607799, Consumer Id: 522184, Address Id: 9852879 => Updated with Vin: KM8SB12B74U833201 ## Mail History Id: 27607811, Consumer Id: 525993, Address Id: 9680144 => Updated with Vin: KMHFU45E65A403908 ## Mail History Id: 27607899, Consumer Id: 520978, Address Id: 9850091 => Updated with Vin: KMHFU45E54A312997 ## Mail History Id: 27607933, Consumer Id: 520246, Address Id: 9849506 => Updated with Vin: KMHDN45D21U195028 ## Mail History Id: 27608080, Consumer Id: 522185, Address Id: 9852880 => Updated with Vin: KMHFU45E94A356940 ## Mail History Id: 27607845, Consumer Id: 523301, Address Id: 9854006 => Updated with Vin: KMHHM65DX5U173672 ## Mail History Id: 27607883, Consumer Id: 520561, Address Id: 6315737 => Updated with Vin: KMHWF25V6YA208281 ## Mail History Id: 27607943, Consumer Id: 520038, Address Id: 9849349 => Updated with Vin: KMHCG45C33U425949 ## Mail History Id: 27608076, Consumer Id: 525207, Address Id: 9855460 => Updated with Vin: KMHFC46F96A048356 ## Mail History Id: 27607847, Consumer Id: 522026, Address Id: 9852071 => Updated with Vin: KMHDN46D74U819344 ## Mail History Id: 27607885, Consumer Id: 489070, Address Id: 9850007 => Updated with Vin: KM8SC73E24U584699 ## Mail History Id: 27608078, Consumer Id: 520253, Address Id: 9849512 => Updated with Vin: KMHJF25F2XU872495 ## Mail History Id: 27607931, Consumer Id: 520828, Address Id: 9849961 => Updated with Vin: KMHJF35F6YU044540 ## Mail History Id: 27607945, Consumer Id: 520091, Address Id: 9849392 => Updated with Vin: KMHCG45GXYU107160 ## Total mail_history records updated with vin numbers: 41 out of 42 ============================================================ ====== Tracking Id: 418 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-06-23 11:15:35') AND us2_order_type_id = 3 ## Order found: 506 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 506 AND product_id = 112 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3525 ## Mailing found: '12328' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 419 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-23 11:44:04') AND us2_order_type_id = 3 ## Order found: 507 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 507 AND product_id = 142 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3357 ## Mailing found: '12320' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27606778, Consumer Id: 194272, Address Id: 404318 => Updated with Vin: 1FMZU77E71UC38374 ## Mail History Id: 27607627, Consumer Id: 197052, Address Id: 396247 => Updated with Vin: 1FMDU63E02UC53844 ## Mail History Id: 27606674, Consumer Id: 198423, Address Id: 398212 => Updated with Vin: 1FMYU03102KC73115 ## Mail History Id: 27606974, Consumer Id: 199069, Address Id: 407479 => Updated with Vin: 1FMZU73E92ZA60722 ## Mail History Id: 27607693, Consumer Id: 189001, Address Id: 399312 => Updated with Vin: JM3LW28A030343441 ## Mail History Id: 27607675, Consumer Id: 197672, Address Id: 407007 => Updated with Vin: 4M2DU86W33ZJ03262 ## Mail History Id: 27606928, Consumer Id: 187297, Address Id: 396289 => Updated with Vin: 1FMFU18LX4LB16079 ## Mail History Id: 27607758, Consumer Id: 152981, Address Id: 395269 => Updated with Vin: JM1NB354550412984 ## Mail History Id: 27606872, Consumer Id: 193109, Address Id: 400117 => Updated with Vin: 1FTWW31P85EC38999 ## Mail History Id: 27607737, Consumer Id: 193775, Address Id: 403198 => Updated with Vin: 1FTRX12W95NA25421 ## Mail History Id: 27606746, Consumer Id: 435568, Address Id: 9800097 => Updated with Vin: JTEDP21A960125051 ## Mail History Id: 27607733, Consumer Id: 153040, Address Id: 395321 => Updated with Vin: 1FTRE14W26DA29174 ## Mail History Id: 27606808, Consumer Id: 155169, Address Id: 397247 => Updated with Vin: 1ZVFT80N675367698 ## Mail History Id: 27606934, Consumer Id: 155682, Address Id: 397719 => Updated with Vin: 1FTPW12577FB50996 ## Mail History Id: 27607641, Consumer Id: 154120, Address Id: 396306 => Updated with Vin: 1FTPW12537KC31906 ## Mail History Id: 27607625, Consumer Id: 189101, Address Id: 400296 => Updated with Vin: 1FMZU34E8XZB37983 ## Mail History Id: 27606682, Consumer Id: 155678, Address Id: 397715 => Updated with Vin: 3FAHP07108R174097 ## Mail History Id: 27606870, Consumer Id: 189240, Address Id: 400093 => Updated with Vin: 1FTRX17L6YKA48546 ## Total mail_history records updated with vin numbers: 18 out of 21 ============================================================ ====== Tracking Id: 420 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-23 11:44:06') AND us2_order_type_id = 3 ## Order found: 507 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 507 AND product_id = 112 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3357 ## Mailing found: '12325' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 421 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-23 11:44:20') AND us2_order_type_id = 3 ## Order found: 507 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 507 AND product_id = 113 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3357 ## Mailing found: '12325' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 422 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-06-23 12:16:55') AND us2_order_type_id = 3 ## Order found: 508 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 508 AND product_id = 114 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3427 ## Mailing found: '12326' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607814, Consumer Id: 510268, Address Id: 9843510 => Updated with Vin: 5FNRL386X6B007721 ## Mail History Id: 27607934, Consumer Id: 510710, Address Id: 9843255 => Updated with Vin: 1HGCM56316A017216 ## Mail History Id: 27607846, Consumer Id: 499020, Address Id: 9832845 => Updated with Vin: 2HGES16504H535857 ## Mail History Id: 27607986, Consumer Id: 493097, Address Id: 9828539 => Updated with Vin: 1HGCG224XYA016122 ## Mail History Id: 27607900, Consumer Id: 502707, Address Id: 327089 => Updated with Vin: 2HKYF18774H621964 ## Mail History Id: 27607976, Consumer Id: 506005, Address Id: 9840778 => Updated with Vin: 1HGEM22505L031741 ## Mail History Id: 27607836, Consumer Id: 511883, Address Id: 3380953 => Updated with Vin: 1HGCM56764A018538 ## Mail History Id: 27607906, Consumer Id: 500331, Address Id: 7091449 => Updated with Vin: 1N4AL11D04C119423 ## Mail History Id: 27607894, Consumer Id: 473427, Address Id: 326245 => Updated with Vin: 2HJYK16526H532369 ## Mail History Id: 27608012, Consumer Id: 473380, Address Id: 8195858 => Updated with Vin: 5FNRL38737B000460 ## Total mail_history records updated with vin numbers: 10 out of 12 ============================================================ ====== Tracking Id: 423 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3792 AND DATE(cart_created_date) = DATE('2008-06-23 15:13:11') AND us2_order_type_id = 3 ## Order found: 510 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 510 AND product_id = 54 ## Job Group Found: '317' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('317') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda061608001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda061608001a') AND customer_id = 3792 ## Mailing found: '11920' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 424 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-24 08:14:23') AND us2_order_type_id = 3 ## Order found: 511 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 511 AND product_id = 55 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 425 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-24 08:44:10') AND us2_order_type_id = 3 ## Order found: 511 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 511 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3230 ## Mailing found: '12344' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 426 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-06-24 10:16:54') AND us2_order_type_id = 3 ## Order found: 512 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 512 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3416 ## Mailing found: '12321' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 427 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-24 11:14:08') AND us2_order_type_id = 3 ## Order found: 513 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 513 AND product_id = 112 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3486 ## Mailing found: '12327' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27608048, Consumer Id: 463103, Address Id: 1037487 => Updated with Vin: 3GNEK13T03G306814 ## Mail History Id: 27608052, Consumer Id: 484939, Address Id: 2523314 => Updated with Vin: 1GCHC29U96E146145 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 428 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-06-24 11:15:02') AND us2_order_type_id = 3 ## Order found: 514 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 514 AND product_id = 112 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3525 ## Mailing found: '12328' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607879, Consumer Id: 520089, Address Id: 9849390 => Updated with Vin: KMHCG45C82U315476 ## Mail History Id: 27607837, Consumer Id: 523993, Address Id: 9854539 => Updated with Vin: KM8SC13D05U008969 ## Mail History Id: 27607927, Consumer Id: 521073, Address Id: 9850168 => Updated with Vin: KMHDN46D64U763896 ## Mail History Id: 27607941, Consumer Id: 525255, Address Id: 9852178 => Updated with Vin: KM8JM12B06U380760 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 429 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-06-24 12:16:44') AND us2_order_type_id = 3 ## Order found: 515 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 515 AND product_id = 114 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3427 ## Mailing found: '12326' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607948, Consumer Id: 490636, Address Id: 9826671 => Updated with Vin: SHSRD78852U011216 ## Mail History Id: 27607854, Consumer Id: 494501, Address Id: 9829565 => Updated with Vin: 5FNRL18663B047228 ## Mail History Id: 27607866, Consumer Id: 510828, Address Id: 9843856 => Updated with Vin: 1HGCM56876A010007 ## Mail History Id: 27607922, Consumer Id: 512902, Address Id: 329605 => Updated with Vin: JHMBB6245YC004012 ## Mail History Id: 27607966, Consumer Id: 492834, Address Id: 9828347 => Updated with Vin: 1HGCG56471A040086 ## Mail History Id: 27607954, Consumer Id: 509566, Address Id: 9843053 => Updated with Vin: 5FNRL38835B125044 ## Mail History Id: 27607952, Consumer Id: 494211, Address Id: 9829351 => Updated with Vin: JHMES96613S006865 ## Mail History Id: 27607970, Consumer Id: 509128, Address Id: 9842782 => Updated with Vin: JHMCN36405C013376 ## Mail History Id: 27607958, Consumer Id: 518137, Address Id: 9848181 => Updated with Vin: 1HGCM66374A049848 ## Mail History Id: 27607852, Consumer Id: 482323, Address Id: 9837068 => Updated with Vin: JHMFA36237S017616 ## Mail History Id: 27607818, Consumer Id: 482533, Address Id: 9837176 => Updated with Vin: 2HKYF18504H620640 ## Total mail_history records updated with vin numbers: 11 out of 14 ============================================================ ====== Tracking Id: 430 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-06-24 12:16:59') AND us2_order_type_id = 3 ## Order found: 515 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 515 AND product_id = 112 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3427 ## Mailing found: '12326' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607858, Consumer Id: 503438, Address Id: 9839007 => Updated with Vin: JHMES96685S002640 ## Mail History Id: 27607862, Consumer Id: 500307, Address Id: 9827761 => Updated with Vin: 2HKRL18621H581518 ## Mail History Id: 27607992, Consumer Id: 497201, Address Id: 9831541 => Updated with Vin: 1HGCG165X2A001771 ## Mail History Id: 27607864, Consumer Id: 500398, Address Id: 9834980 => Updated with Vin: 1HGCM66514A059101 ## Mail History Id: 27608022, Consumer Id: 505133, Address Id: 9839966 => Updated with Vin: SHSRD78844U251490 ## Mail History Id: 27607920, Consumer Id: 512558, Address Id: 329501 => Updated with Vin: 1HGCM56826A051046 ## Mail History Id: 27607850, Consumer Id: 497187, Address Id: 9831530 => Updated with Vin: 1HGEM22953L021027 ## Mail History Id: 27607938, Consumer Id: 491350, Address Id: 9827220 => Updated with Vin: 5FNRL18763B026128 ## Mail History Id: 27607984, Consumer Id: 496623, Address Id: 9831125 => Updated with Vin: SHSRD78823U153217 ## Mail History Id: 27607960, Consumer Id: 504380, Address Id: 9840143 => Updated with Vin: 2HGES26825H548403 ## Mail History Id: 27607844, Consumer Id: 515869, Address Id: 9846854 => Updated with Vin: 2HKYF18633H537100 ## Mail History Id: 27607998, Consumer Id: 515573, Address Id: 9846663 => Updated with Vin: 5FNRL38806B091310 ## Total mail_history records updated with vin numbers: 12 out of 13 ============================================================ ====== Tracking Id: 431 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-25 08:44:38') AND us2_order_type_id = 3 ## Order found: 534 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 534 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3230 ## Mailing found: '12378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785600, Consumer Id: 461154, Address Id: 9819142 => Updated with Vin: 3C4FY48B64T357000 ## Mail History Id: 28785601, Consumer Id: 96804, Address Id: 102944 => Updated with Vin: 1FMZU77E01UB78602 ## Mail History Id: 28785602, Consumer Id: 93586, Address Id: 67797 => Updated with Vin: 1J4GL58K22W304062 ## Mail History Id: 28785603, Consumer Id: 41919, Address Id: 67774 => Updated with Vin: 4M2DU86W55ZJ23340 ## Mail History Id: 28785604, Consumer Id: 96756, Address Id: 51547 => Updated with Vin: 1FMCU93138KC99425 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 432 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-06-25 10:17:01') AND us2_order_type_id = 3 ## Order found: 535 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 535 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3416 ## Mailing found: '12321' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607402, Consumer Id: 627237, Address Id: 3757206 => Updated with Vin: 1G6DM577940150008 ## Mail History Id: 27607502, Consumer Id: 625377, Address Id: 11764740 => Updated with Vin: 1G6KD52Y1TU306590 ## Mail History Id: 27607388, Consumer Id: 693128, Address Id: 11798693 => Updated with Vin: 1G6DW677260131965 ## Mail History Id: 27607546, Consumer Id: 627199, Address Id: 11764756 => Updated with Vin: 1GYEE637750161868 ## Mail History Id: 27607574, Consumer Id: 626009, Address Id: 11766236 => Updated with Vin: 5GTEN63L488182971 ## Mail History Id: 27607520, Consumer Id: 623663, Address Id: 11764678 => Updated with Vin: 1GYFK63858R234368 ## Mail History Id: 27607580, Consumer Id: 625792, Address Id: 11766133 => Updated with Vin: 1G6KD54Y83U258938 ## Mail History Id: 27607372, Consumer Id: 687208, Address Id: 1959195 => Updated with Vin: 1GYEK63N44R114492 ## Mail History Id: 27607644, Consumer Id: 628694, Address Id: 11766264 => Updated with Vin: 1G6KE54Y83U109605 ## Mail History Id: 27607576, Consumer Id: 628652, Address Id: 1969119 => Updated with Vin: 1G6DC67A850179313 ## Mail History Id: 27607616, Consumer Id: 685613, Address Id: 1969795 => Updated with Vin: 1G6KS54Y12U305019 ## Mail History Id: 27607480, Consumer Id: 627150, Address Id: 11764733 => Updated with Vin: 1G6KD54Y1WU743541 ## Mail History Id: 27607438, Consumer Id: 625890, Address Id: 1962401 => Updated with Vin: 1G6DG577880134170 ## Mail History Id: 27607648, Consumer Id: 627088, Address Id: 1970131 => Updated with Vin: 1GYFK66827R226688 ## Mail History Id: 27607602, Consumer Id: 691568, Address Id: 1969525 => Updated with Vin: 1G6KD57Y77U125105 ## Mail History Id: 27607440, Consumer Id: 627189, Address Id: 11764751 => Updated with Vin: 1G6KD54YX5U116710 ## Mail History Id: 27607640, Consumer Id: 689753, Address Id: 1970077 => Updated with Vin: 1G6KY54963U159113 ## Mail History Id: 27607069, Consumer Id: 626010, Address Id: 11764710 => Updated with Vin: 5GTEN13E788183424 ## Mail History Id: 27607470, Consumer Id: 627076, Address Id: 11764695 => Updated with Vin: 1G6DP577X60162307 ## Mail History Id: 27607410, Consumer Id: 691606, Address Id: 11798031 => Updated with Vin: 1G6DP577470122869 ## Mail History Id: 27607596, Consumer Id: 625331, Address Id: 1969351 => Updated with Vin: 1G6DW677150170383 ## Total mail_history records updated with vin numbers: 21 out of 21 ============================================================ ====== Tracking Id: 433 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-25 11:14:16') AND us2_order_type_id = 3 ## Order found: 536 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 536 AND product_id = 112 ## Job Group Found: '325' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('325') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508003') AND customer_id = 3486 ## Mailing found: '12327' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27608040, Consumer Id: 489898, Address Id: 1560842 => Updated with Vin: 1GCCS19W2Y8308613 ## Mail History Id: 27608046, Consumer Id: 481062, Address Id: 1037409 => Updated with Vin: 1GCDT14W4Y8208666 ## Mail History Id: 27608066, Consumer Id: 467864, Address Id: 9821763 => Updated with Vin: 1GNDS13S462208594 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 434 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-06-25 11:15:11') AND us2_order_type_id = 3 ## Order found: 537 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 537 AND product_id = 143 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3525 ## Mailing found: '12323' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27606711, Consumer Id: 520493, Address Id: 9683922 => Updated with Vin: KMHWF25S42A694022 ## Mail History Id: 27606901, Consumer Id: 486984, Address Id: 9689796 => Updated with Vin: KMHDN56D65U174550 ## Mail History Id: 27607280, Consumer Id: 487280, Address Id: 9851020 => Updated with Vin: 5NPEU46F97H162705 ## Mail History Id: 27606653, Consumer Id: 524068, Address Id: 9682275 => Updated with Vin: 3GYEK63N82G219484 ## Mail History Id: 27607172, Consumer Id: 520565, Address Id: 9849738 => Updated with Vin: KM8SC73D52U282683 ## Mail History Id: 27607019, Consumer Id: 527933, Address Id: 9857297 => Updated with Vin: KMHDN45D92U390710 ## Mail History Id: 27606811, Consumer Id: 521569, Address Id: 9849975 => Updated with Vin: KMHWF25S84A963822 ## Mail History Id: 27606863, Consumer Id: 520672, Address Id: 9849832 => Updated with Vin: KMHDN45D53U628487 ## Mail History Id: 27606947, Consumer Id: 489381, Address Id: 9853273 => Updated with Vin: KMHHN66F47U243537 ## Mail History Id: 27606731, Consumer Id: 487709, Address Id: 9851475 => Updated with Vin: KM8JN12D17U475781 ## Mail History Id: 27606931, Consumer Id: 489371, Address Id: 9853265 => Updated with Vin: 5NMSG13DX8H182858 ## Mail History Id: 27607112, Consumer Id: 489278, Address Id: 9853110 => Updated with Vin: KM8SG13D97U097951 ## Total mail_history records updated with vin numbers: 12 out of 12 ============================================================ ====== Tracking Id: 435 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-25 11:44:09') AND us2_order_type_id = 3 ## Order found: 538 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 538 AND product_id = 142 ## Job Group Found: '323' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('323') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm062508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm062508001') AND customer_id = 3357 ## Mailing found: '12320' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27607667, Consumer Id: 199870, Address Id: 396523 => Updated with Vin: 2MRZA20274BJ07484 ## Mail History Id: 27607611, Consumer Id: 187382, Address Id: 398336 => Updated with Vin: 1FTPX14505FA63027 ## Mail History Id: 27606866, Consumer Id: 187449, Address Id: 398364 => Updated with Vin: 1FAFP25105G154859 ## Mail History Id: 27606858, Consumer Id: 190666, Address Id: 399588 => Updated with Vin: 1FMZU73K84ZA65855 ## Mail History Id: 27607651, Consumer Id: 190582, Address Id: 399989 => Updated with Vin: JM1BK143741142584 ## Mail History Id: 27606800, Consumer Id: 188102, Address Id: 399684 => Updated with Vin: 1FMDU35P1TUC58873 ## Mail History Id: 27606654, Consumer Id: 435502, Address Id: 9800057 => Updated with Vin: JM1BK32G271696928 ## Mail History Id: 27606838, Consumer Id: 320391, Address Id: 9607299 => Updated with Vin: 1FMCU03112KC16044 ## Mail History Id: 27607738, Consumer Id: 435938, Address Id: 404514 => Updated with Vin: 1FTYR14E46PA36472 ## Mail History Id: 27606750, Consumer Id: 191593, Address Id: 401726 => Updated with Vin: 1FDEE14H5RHB54369 ## Mail History Id: 27607714, Consumer Id: 320392, Address Id: 9607300 => Updated with Vin: 1FTNW21F21ED69367 ## Mail History Id: 27607716, Consumer Id: 320387, Address Id: 9607296 => Updated with Vin: 1FAPP6241NH161940 ## Mail History Id: 27606966, Consumer Id: 435939, Address Id: 886235 => Updated with Vin: 1FMZU77E51UC22531 ## Mail History Id: 27607685, Consumer Id: 193143, Address Id: 402697 => Updated with Vin: JM1BJ245721621739 ## Mail History Id: 27607720, Consumer Id: 191932, Address Id: 401105 => Updated with Vin: 1FAFP40413F355833 ## Mail History Id: 27607770, Consumer Id: 188610, Address Id: 394640 => Updated with Vin: 1FTWW33P93ED66288 ## Mail History Id: 27607789, Consumer Id: 189329, Address Id: 400311 => Updated with Vin: 1FMDU73W13ZB37376 ## Mail History Id: 27606798, Consumer Id: 193288, Address Id: 403082 => Updated with Vin: 1YVFP80C835M27720 ## Mail History Id: 27607743, Consumer Id: 187537, Address Id: 398401 => Updated with Vin: 1FTWW33P54EB10280 ## Mail History Id: 27606852, Consumer Id: 188758, Address Id: 398709 => Updated with Vin: JM1FE17N440129187 ## Mail History Id: 27606970, Consumer Id: 189402, Address Id: 401211 => Updated with Vin: JM1FE173840134049 ## Mail History Id: 27606836, Consumer Id: 190369, Address Id: 397859 => Updated with Vin: 1FMCU03135KC44934 ## Mail History Id: 27607695, Consumer Id: 188920, Address Id: 399297 => Updated with Vin: 1FMZU62E25ZA41817 ## Mail History Id: 27606776, Consumer Id: 189948, Address Id: 399942 => Updated with Vin: 3FAFP31N45R129163 ## Mail History Id: 27607772, Consumer Id: 188244, Address Id: 399159 => Updated with Vin: JM1BK343451257415 ## Mail History Id: 27606954, Consumer Id: 187547, Address Id: 398406 => Updated with Vin: 1YVGF22C1Y5112444 ## Mail History Id: 27606908, Consumer Id: 320385, Address Id: 9607293 => Updated with Vin: 1ZVHT82H375360191 ## Mail History Id: 27606936, Consumer Id: 192694, Address Id: 402874 => Updated with Vin: 1FTSW31F72EA05620 ## Mail History Id: 27607703, Consumer Id: 320393, Address Id: 879409 => Updated with Vin: 1FTNW21F92EC91249 ## Mail History Id: 27606670, Consumer Id: 435935, Address Id: 9800270 => Updated with Vin: 1FAFP44412F179505 ## Mail History Id: 27606664, Consumer Id: 152956, Address Id: 395247 => Updated with Vin: 1FMPU16506LA21106 ## Mail History Id: 27606810, Consumer Id: 320386, Address Id: 9607294 => Updated with Vin: 1LNLM83W2PY635468 ## Mail History Id: 27606678, Consumer Id: 435932, Address Id: 9800269 => Updated with Vin: 1FMZU63K12UD49672 ## Mail History Id: 27607725, Consumer Id: 435925, Address Id: 9800264 => Updated with Vin: 2MEFM75W62X643752 ## Mail History Id: 27606786, Consumer Id: 320388, Address Id: 9607297 => Updated with Vin: 1FAHP60A92Y123378 ## Mail History Id: 27606910, Consumer Id: 435924, Address Id: 9800263 => Updated with Vin: 1LNHM87A12Y624572 ## Mail History Id: 27607759, Consumer Id: 155832, Address Id: 397864 => Updated with Vin: WAULC68E33A246141 ## Mail History Id: 27606794, Consumer Id: 320131, Address Id: 877106 => Updated with Vin: 1FAFP48YX3F402400 ## Mail History Id: 27606802, Consumer Id: 320389, Address Id: 9607298 => Updated with Vin: 1FMEU17L93LA03901 ## Mail History Id: 27607782, Consumer Id: 195405, Address Id: 404036 => Updated with Vin: 1FAHP60A33Y109722 ## Mail History Id: 27606830, Consumer Id: 190375, Address Id: 399532 => Updated with Vin: JM1FE17NX40137553 ## Mail History Id: 27606896, Consumer Id: 192372, Address Id: 401848 => Updated with Vin: JM1BK323741181142 ## Mail History Id: 27606700, Consumer Id: 189657, Address Id: 401952 => Updated with Vin: 1FTSW31P04EC23720 ## Mail History Id: 27606832, Consumer Id: 192421, Address Id: 401859 => Updated with Vin: 1FMDU74WX4UB01554 ## Mail History Id: 27607659, Consumer Id: 188794, Address Id: 401162 => Updated with Vin: 1FAHP38Z84W200345 ## Mail History Id: 27606720, Consumer Id: 193279, Address Id: 402807 => Updated with Vin: JM1FE17NX50142396 ## Mail History Id: 27607645, Consumer Id: 152121, Address Id: 394476 => Updated with Vin: JM3LW28J450538817 ## Mail History Id: 27607635, Consumer Id: 320394, Address Id: 9607301 => Updated with Vin: 1ZVFT80NX55140382 ## Mail History Id: 27607684, Consumer Id: 197061, Address Id: 405570 => Updated with Vin: 1ZVFT82H455222969 ## Mail History Id: 27607741, Consumer Id: 152468, Address Id: 394795 => Updated with Vin: 1FAFP31N46W168141 ## Mail History Id: 27607750, Consumer Id: 151661, Address Id: 394047 => Updated with Vin: 1ZVHT84N855248826 ## Mail History Id: 27607709, Consumer Id: 152161, Address Id: 394513 => Updated with Vin: 1YVHP82D655M56957 ## Mail History Id: 27606686, Consumer Id: 153298, Address Id: 395553 => Updated with Vin: 1FTPW12585FA23896 ## Mail History Id: 27606728, Consumer Id: 195811, Address Id: 405051 => Updated with Vin: 1FAFP251X5G174925 ## Mail History Id: 27606984, Consumer Id: 320383, Address Id: 9607292 => Updated with Vin: 1FAFP23195G192982 ## Mail History Id: 27606658, Consumer Id: 188283, Address Id: 398693 => Updated with Vin: 1ZVFT80N355149487 ## Mail History Id: 27606738, Consumer Id: 435949, Address Id: 9800280 => Updated with Vin: 2HNYD188X5H528083 ## Mail History Id: 27607786, Consumer Id: 435503, Address Id: 9800058 => Updated with Vin: 1FMYU93145KA71063 ## Mail History Id: 27606976, Consumer Id: 188246, Address Id: 399274 => Updated with Vin: 1FMCU94115KC45065 ## Mail History Id: 27606696, Consumer Id: 435930, Address Id: 9800267 => Updated with Vin: 1FAFP34N15W182850 ## Mail History Id: 27607629, Consumer Id: 152373, Address Id: 394705 => Updated with Vin: 1FAFP34N65W298173 ## Mail History Id: 27606964, Consumer Id: 152602, Address Id: 394922 => Updated with Vin: JM1CR29L460109517 ## Mail History Id: 27607702, Consumer Id: 154515, Address Id: 396670 => Updated with Vin: JM1FE173760203686 ## Mail History Id: 27607768, Consumer Id: 153294, Address Id: 395549 => Updated with Vin: JM3LW28A160566818 ## Mail History Id: 27607680, Consumer Id: 197992, Address Id: 407067 => Updated with Vin: JM1BK324761413413 ## Mail History Id: 27606972, Consumer Id: 152342, Address Id: 394678 => Updated with Vin: JM1BK12G561448045 ## Mail History Id: 27607691, Consumer Id: 195805, Address Id: 394956 => Updated with Vin: JM1BK324561537700 ## Mail History Id: 27606814, Consumer Id: 152601, Address Id: 394921 => Updated with Vin: 1ZVHT85H565194718 ## Mail History Id: 27606676, Consumer Id: 435934, Address Id: 402861 => Updated with Vin: 1ZVHT82H165241215 ## Mail History Id: 27606788, Consumer Id: 200227, Address Id: 407651 => Updated with Vin: 1ZVFT80N365241216 ## Mail History Id: 27607669, Consumer Id: 189092, Address Id: 401522 => Updated with Vin: 1YVFP80C265M04860 ## Mail History Id: 27607706, Consumer Id: 154046, Address Id: 396236 => Updated with Vin: 1FAHP24126G141347 ## Mail History Id: 27607733, Consumer Id: 153040, Address Id: 395321 => Updated with Vin: 1FTRE14W26DA29174 ## Mail History Id: 27607780, Consumer Id: 152880, Address Id: 395178 => Updated with Vin: 1FTPX12566FA37861 ## Mail History Id: 27606880, Consumer Id: 152110, Address Id: 394466 => Updated with Vin: 1FTNS24LX6HA71121 ## Mail History Id: 27606662, Consumer Id: 152588, Address Id: 394909 => Updated with Vin: 4F2YZ02Z76KM08867 ## Mail History Id: 27607778, Consumer Id: 153434, Address Id: 395683 => Updated with Vin: 3FAHP07156R107511 ## Mail History Id: 27606960, Consumer Id: 198202, Address Id: 407675 => Updated with Vin: 3LNHM26126R609405 ## Mail History Id: 27607663, Consumer Id: 198569, Address Id: 406138 => Updated with Vin: 3LNHM261X6R663986 ## Mail History Id: 27606708, Consumer Id: 435515, Address Id: 9800065 => Updated with Vin: 5TDZA23CX6S572379 ## Mail History Id: 27606716, Consumer Id: 152809, Address Id: 395110 => Updated with Vin: 1FAHP36N96W214712 ## Mail History Id: 27606804, Consumer Id: 154016, Address Id: 396206 => Updated with Vin: 1FAFP34N56W248382 ## Mail History Id: 27607607, Consumer Id: 435941, Address Id: 9800273 => Updated with Vin: 1FAFP34N16W248413 ## Mail History Id: 27607746, Consumer Id: 154583, Address Id: 395696 => Updated with Vin: JM1NC25F270124528 ## Mail History Id: 27606924, Consumer Id: 154009, Address Id: 396199 => Updated with Vin: JM3ER29L270135597 ## Mail History Id: 27607708, Consumer Id: 155156, Address Id: 397235 => Updated with Vin: JM1BK144X71726796 ## Mail History Id: 27607698, Consumer Id: 154683, Address Id: 396821 => Updated with Vin: JM1BK144171735323 ## Mail History Id: 27607597, Consumer Id: 155559, Address Id: 397603 => Updated with Vin: 1ZVFT84N375252146 ## Mail History Id: 27607667, Consumer Id: 154355, Address Id: 396523 => Updated with Vin: 1ZVFT80N375314876 ## Mail History Id: 27606680, Consumer Id: 154861, Address Id: 396975 => Updated with Vin: 1ZVFT80N675350786 ## Mail History Id: 27606808, Consumer Id: 155169, Address Id: 397247 => Updated with Vin: 1ZVFT80N675367698 ## Mail History Id: 27607707, Consumer Id: 155170, Address Id: 397248 => Updated with Vin: 2FMDK49C27BB28910 ## Mail History Id: 27606962, Consumer Id: 155410, Address Id: 397464 => Updated with Vin: 2LMDU88C37BJ35906 ## Mail History Id: 27606710, Consumer Id: 194319, Address Id: 404461 => Updated with Vin: 1FTSE34L17DA05176 ## Mail History Id: 27607649, Consumer Id: 153168, Address Id: 394594 => Updated with Vin: 1FMCU93177KA07791 ## Mail History Id: 27607641, Consumer Id: 154120, Address Id: 396306 => Updated with Vin: 1FTPW12537KC31906 ## Mail History Id: 27606912, Consumer Id: 155258, Address Id: 397329 => Updated with Vin: 3FAHP06Z67R185482 ## Mail History Id: 27607748, Consumer Id: 155677, Address Id: 397714 => Updated with Vin: 4M2EU47E67UJ09434 ## Mail History Id: 27607779, Consumer Id: 155354, Address Id: 397414 => Updated with Vin: 1FAHP34N47W342943 ## Mail History Id: 27607712, Consumer Id: 155687, Address Id: 397724 => Updated with Vin: JM3TB38V780135858 ## Mail History Id: 27607617, Consumer Id: 155533, Address Id: 397579 => Updated with Vin: JM3ER29L980188735 ## Mail History Id: 27607765, Consumer Id: 155450, Address Id: 397501 => Updated with Vin: JM1BK344581817570 ## Mail History Id: 27606844, Consumer Id: 187456, Address Id: 398366 => Updated with Vin: 1FDSS34S91HB73286 ## Mail History Id: 27607785, Consumer Id: 195402, Address Id: 398102 => Updated with Vin: 1FMFU16L21LA21028 ## Mail History Id: 27606914, Consumer Id: 194542, Address Id: 403470 => Updated with Vin: JM1FE17N940128925 ## Mail History Id: 27607694, Consumer Id: 155721, Address Id: 397757 => Updated with Vin: 1ZVHT80N885147313 ## Mail History Id: 27606732, Consumer Id: 435948, Address Id: 9800279 => Updated with Vin: 1FTWW31R58EC13094 ## Mail History Id: 27607769, Consumer Id: 154612, Address Id: 396754 => Updated with Vin: 1FMCU49H78KA43277 ## Mail History Id: 27607734, Consumer Id: 435931, Address Id: 9800268 => Updated with Vin: 1FMCU03Z68KC38507 ## Mail History Id: 27606994, Consumer Id: 155749, Address Id: 397784 => Updated with Vin: 4F2CZ59H68KM18877 ## Mail History Id: 27606650, Consumer Id: 198033, Address Id: 407037 => Updated with Vin: 3MEFM07Z56R616268 ## Mail History Id: 27606826, Consumer Id: 435532, Address Id: 9800077 => Updated with Vin: 1LNLM81W7PY639700 ## Mail History Id: 27606958, Consumer Id: 194186, Address Id: 404303 => Updated with Vin: 1FBJS31G1RHA66491 ## Mail History Id: 27606742, Consumer Id: 320382, Address Id: 9607291 => Updated with Vin: 2FALP74WXRX162142 ## Mail History Id: 27607621, Consumer Id: 435581, Address Id: 9800107 => Updated with Vin: 1LNLM83WXSY645660 ## Mail History Id: 27606688, Consumer Id: 197873, Address Id: 407015 => Updated with Vin: 1LNLM82W4SY650385 ## Mail History Id: 27606890, Consumer Id: 194292, Address Id: 400109 => Updated with Vin: 2FALP74W2VX232615 ## Mail History Id: 27607615, Consumer Id: 198960, Address Id: 406636 => Updated with Vin: 1FDXE40S8WHC00414 ## Mail History Id: 27607762, Consumer Id: 194669, Address Id: 403677 => Updated with Vin: 1FTYR14V0XPA90210 ## Mail History Id: 27607643, Consumer Id: 435507, Address Id: 9800060 => Updated with Vin: 1G8ZR1276XZ234382 ## Mail History Id: 27606668, Consumer Id: 435933, Address Id: 2358853 => Updated with Vin: 1LNLM91V8TY701578 ## Mail History Id: 27606736, Consumer Id: 194749, Address Id: 403695 => Updated with Vin: 1FTNX21L1YEA09178 ## Mail History Id: 27606854, Consumer Id: 194951, Address Id: 404668 => Updated with Vin: 1FMNU40SXYEC61083 ## Mail History Id: 27606948, Consumer Id: 435936, Address Id: 9800271 => Updated with Vin: 1FMSU43F4YEE36011 ## Mail History Id: 27606848, Consumer Id: 435940, Address Id: 9800272 => Updated with Vin: 1FAFP42X1YF151094 ## Mail History Id: 27606930, Consumer Id: 435501, Address Id: 9800056 => Updated with Vin: 1LNHM87AXYY775287 ## Total mail_history records updated with vin numbers: 126 out of 141 ============================================================ ====== Tracking Id: 436 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-26 08:18:57') AND us2_order_type_id = 3 ## Order found: 586 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 586 AND product_id = 55 ## Job Group Found: '374' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('374') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408002') AND customer_id = 3230 ## Mailing found: '12350' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 437 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-26 08:38:44') AND us2_order_type_id = 3 ## Order found: 586 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 586 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3230 ## Mailing found: '12344' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337411, Consumer Id: 93394, Address Id: 51886 => Updated with Vin: 3FAHP07Z38R165979 ## Mail History Id: 28337341, Consumer Id: 66346, Address Id: 51789 => Updated with Vin: 1FTNW21P94EA44843 ## Mail History Id: 28337453, Consumer Id: 63675, Address Id: 49699 => Updated with Vin: 1FAFP53UX2G150585 ## Mail History Id: 28337441, Consumer Id: 92810, Address Id: 50328 => Updated with Vin: 1FMYU02Z67KA93135 ## Mail History Id: 28337405, Consumer Id: 103065, Address Id: 48767 => Updated with Vin: JM3LW28A760566726 ## Mail History Id: 28337353, Consumer Id: 67163, Address Id: 50607 => Updated with Vin: 1LNHM81W85Y649137 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 438 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-26 08:38:57') AND us2_order_type_id = 3 ## Order found: 586 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 586 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3230 ## Mailing found: '12378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28786058, Consumer Id: 93575, Address Id: 50675 => Updated with Vin: 1FTPX14VX8FA20285 ## Mail History Id: 28785985, Consumer Id: 38443, Address Id: 47266 => Updated with Vin: 1FTSW31F92EC23140 ## Mail History Id: 28785699, Consumer Id: 96840, Address Id: 103070 => Updated with Vin: 2FMDK36C48BA09868 ## Mail History Id: 28785700, Consumer Id: 174130, Address Id: 49327 => Updated with Vin: 1FMYU93185KD12929 ## Mail History Id: 28785702, Consumer Id: 63674, Address Id: 52544 => Updated with Vin: 1FTPX14504NB18922 ## Mail History Id: 28785703, Consumer Id: 66170, Address Id: 49949 => Updated with Vin: 1LNHM81W6XY680342 ## Mail History Id: 28785704, Consumer Id: 92772, Address Id: 51196 => Updated with Vin: 1FTWW31P27EB36858 ## Mail History Id: 28785705, Consumer Id: 64714, Address Id: 51412 => Updated with Vin: 1FMZU73W93ZA58317 ## Mail History Id: 28785706, Consumer Id: 92896, Address Id: 50892 => Updated with Vin: 1FTRW14507FA87228 ## Mail History Id: 28785707, Consumer Id: 93584, Address Id: 67643 => Updated with Vin: 1FAHP34N07W137846 ## Mail History Id: 28785708, Consumer Id: 93267, Address Id: 50151 => Updated with Vin: 1FAHP24W78G117799 ## Mail History Id: 28785709, Consumer Id: 103116, Address Id: 48049 => Updated with Vin: 1FAFP55UX4G136055 ## Mail History Id: 28785710, Consumer Id: 528043, Address Id: 51489 => Updated with Vin: 1FMZU73W14UB68289 ## Mail History Id: 28785711, Consumer Id: 67391, Address Id: 50511 => Updated with Vin: 1FAFP34N36W118679 ## Mail History Id: 28785712, Consumer Id: 63422, Address Id: 52104 => Updated with Vin: 1FTYR10C8WTA36454 ## Mail History Id: 28785713, Consumer Id: 65913, Address Id: 49740 => Updated with Vin: 1FTWW31P05EA47822 ## Mail History Id: 28785841, Consumer Id: 65350, Address Id: 49567 => Updated with Vin: 1FTRX18L83NB84294 ## Mail History Id: 28785715, Consumer Id: 93516, Address Id: 52020 => Updated with Vin: 1FAHP35NX8W175679 ## Mail History Id: 28785716, Consumer Id: 65000, Address Id: 48205 => Updated with Vin: 1FAFP58U22G140948 ## Mail History Id: 28785718, Consumer Id: 63959, Address Id: 52084 => Updated with Vin: 1FTRW14W94KC92560 ## Mail History Id: 28785719, Consumer Id: 63731, Address Id: 47883 => Updated with Vin: 1FAFP53U22G188425 ## Mail History Id: 28785720, Consumer Id: 92466, Address Id: 50755 => Updated with Vin: 1FAFP24166G144890 ## Mail History Id: 28786092, Consumer Id: 528029, Address Id: 47504 => Updated with Vin: 1FTSW21P85EA23826 ## Mail History Id: 28785722, Consumer Id: 63904, Address Id: 47889 => Updated with Vin: 2FAFP74W7YX211048 ## Mail History Id: 28785723, Consumer Id: 92871, Address Id: 47633 => Updated with Vin: 1FAHP34N97W207831 ## Mail History Id: 28785724, Consumer Id: 63424, Address Id: 47451 => Updated with Vin: 2FMDA584X2BB33817 ## Mail History Id: 28785725, Consumer Id: 135708, Address Id: 47858 => Updated with Vin: 1GNEK13T75J186866 ## Mail History Id: 28785726, Consumer Id: 64899, Address Id: 47221 => Updated with Vin: 1FTYR10C1XPB40178 ## Mail History Id: 28785930, Consumer Id: 135707, Address Id: 53103 => Updated with Vin: 1MEFM50S4WG630566 ## Mail History Id: 28785728, Consumer Id: 100609, Address Id: 47787 => Updated with Vin: 1FMZU35P7WZC26166 ## Mail History Id: 28785729, Consumer Id: 92415, Address Id: 50658 => Updated with Vin: 1FMEU74E76ZA23252 ## Mail History Id: 28786082, Consumer Id: 96838, Address Id: 103068 => Updated with Vin: 1FTPW14V68FA35496 ## Mail History Id: 28785731, Consumer Id: 65075, Address Id: 48878 => Updated with Vin: 1FTZX176XWNB51720 ## Mail History Id: 28785732, Consumer Id: 64893, Address Id: 48576 => Updated with Vin: 1FTNW20F02EB15949 ## Mail History Id: 28785733, Consumer Id: 73748, Address Id: 67442 => Updated with Vin: 1FAFP53U47A166162 ## Mail History Id: 28785734, Consumer Id: 63903, Address Id: 48679 => Updated with Vin: 1FTWW33F5YED49499 ## Mail History Id: 28785735, Consumer Id: 93000, Address Id: 51437 => Updated with Vin: 1FTPW14V47FA88244 ## Mail History Id: 28785736, Consumer Id: 66387, Address Id: 50126 => Updated with Vin: 1FMYU92163KC96826 ## Mail History Id: 28785737, Consumer Id: 96839, Address Id: 103069 => Updated with Vin: 3FAHP07Z58R176837 ## Total mail_history records updated with vin numbers: 39 out of 45 ============================================================ ====== Tracking Id: 439 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-06-26 10:11:45') AND us2_order_type_id = 3 ## Order found: 587 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 587 AND product_id = 143 ## Job Group Found: '334' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('334') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008001') AND customer_id = 3416 ## Mailing found: '12334' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27698341, Consumer Id: 630274, Address Id: 9033804 => Updated with Vin: 1GYEE637740190897 ## Mail History Id: 27698365, Consumer Id: 626013, Address Id: 1967832 => Updated with Vin: 1GYEK63N45R151981 ## Mail History Id: 27698377, Consumer Id: 626014, Address Id: 11764696 => Updated with Vin: 5GTEN13EX88199844 ## Mail History Id: 27698355, Consumer Id: 623654, Address Id: 2757626 => Updated with Vin: 1G6KD54Y75U225187 ## Mail History Id: 27698271, Consumer Id: 623655, Address Id: 2756395 => Updated with Vin: 1G6KD54Y35U160256 ## Mail History Id: 27698381, Consumer Id: 623663, Address Id: 11764678 => Updated with Vin: 1GYFK63858R234368 ## Mail History Id: 27698401, Consumer Id: 690268, Address Id: 1969001 => Updated with Vin: 1G6KD57Y16U137894 ## Mail History Id: 27698425, Consumer Id: 685917, Address Id: 1969505 => Updated with Vin: 1G6KS54Y84U151797 ## Mail History Id: 27698397, Consumer Id: 625937, Address Id: 1968969 => Updated with Vin: 1G6KD57Y98U161699 ## Mail History Id: 27698383, Consumer Id: 626025, Address Id: 1968701 => Updated with Vin: 1G6DC67A660111657 ## Mail History Id: 27698329, Consumer Id: 692821, Address Id: 1963218 => Updated with Vin: 1G6DM57N730116436 ## Mail History Id: 27698455, Consumer Id: 689753, Address Id: 1970077 => Updated with Vin: 1G6KY54963U159113 ## Total mail_history records updated with vin numbers: 12 out of 14 ============================================================ ====== Tracking Id: 440 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-26 11:08:59') AND us2_order_type_id = 3 ## Order found: 588 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 588 AND product_id = 112 ## Job Group Found: '333' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('333') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008003') AND customer_id = 3486 ## Mailing found: '12332' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27698963, Consumer Id: 476195, Address Id: 9823707 => Updated with Vin: 1GCHK23112F159509 ## Mail History Id: 27698961, Consumer Id: 477061, Address Id: 4376420 => Updated with Vin: 2GTEK19T311305811 ## Mail History Id: 27698957, Consumer Id: 477313, Address Id: 1038184 => Updated with Vin: 1GNEC13T11J196803 ## Mail History Id: 27698965, Consumer Id: 470492, Address Id: 9819825 => Updated with Vin: 2G1WT58K889150663 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 441 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-06-26 11:10:08') AND us2_order_type_id = 3 ## Order found: 589 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 589 AND product_id = 143 ## Job Group Found: '334' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('334') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008001') AND customer_id = 3525 ## Mailing found: '12336' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27698245, Consumer Id: 520737, Address Id: 9849883 => Updated with Vin: KMHWF35V8YA165424 ## Mail History Id: 27698239, Consumer Id: 521386, Address Id: 9850455 => Updated with Vin: KMHWF25S74A004542 ## Mail History Id: 27698225, Consumer Id: 522052, Address Id: 9852567 => Updated with Vin: KMHWF25S44A092627 ## Mail History Id: 27698247, Consumer Id: 522323, Address Id: 9853197 => Updated with Vin: KMHWF35H95A129781 ## Mail History Id: 27698233, Consumer Id: 523447, Address Id: 9854114 => Updated with Vin: 5NPEU46F06H001738 ## Mail History Id: 27698241, Consumer Id: 525138, Address Id: 9685290 => Updated with Vin: 5NPET46C96H107226 ## Mail History Id: 27698227, Consumer Id: 486998, Address Id: 9850673 => Updated with Vin: 5NPEU46F07H200421 ## Mail History Id: 27698253, Consumer Id: 522361, Address Id: 9853227 => Updated with Vin: KMHHM65D63U018310 ## Mail History Id: 27698235, Consumer Id: 488936, Address Id: 9682734 => Updated with Vin: KMHDN45D63U704377 ## Mail History Id: 27698223, Consumer Id: 524394, Address Id: 9854865 => Updated with Vin: KMHHM65D44U106743 ## Mail History Id: 27698257, Consumer Id: 520633, Address Id: 9849796 => Updated with Vin: KM8SB12B53U567191 ## Mail History Id: 27698251, Consumer Id: 520944, Address Id: 9850062 => Updated with Vin: KM8SB12B54U578340 ## Mail History Id: 27698243, Consumer Id: 526841, Address Id: 9856589 => Updated with Vin: 5NPEU46F86H030582 ## Mail History Id: 27698231, Consumer Id: 487975, Address Id: 9850823 => Updated with Vin: 5NMSH13E87H084609 ## Mail History Id: 27698237, Consumer Id: 487713, Address Id: 9851479 => Updated with Vin: 5NPET46C27H275775 ## Mail History Id: 27698229, Consumer Id: 487000, Address Id: 9850675 => Updated with Vin: KMHCM36C17U014380 ## Mail History Id: 27698255, Consumer Id: 486995, Address Id: 6316134 => Updated with Vin: 5NPEU46F96H019574 ## Mail History Id: 27698259, Consumer Id: 489391, Address Id: 9853283 => Updated with Vin: KMHCG45C25U651483 ## Mail History Id: 27698249, Consumer Id: 489145, Address Id: 9853019 => Updated with Vin: KM8SC13D86U111168 ## Total mail_history records updated with vin numbers: 19 out of 20 ============================================================ ====== Tracking Id: 442 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-06-26 11:10:10') AND us2_order_type_id = 3 ## Order found: 589 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 589 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 443 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-26 11:38:55') AND us2_order_type_id = 3 ## Order found: 590 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 590 AND product_id = 142 ## Job Group Found: '334' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('334') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008001') AND customer_id = 3357 ## Mailing found: '12333' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27698573, Consumer Id: 199870, Address Id: 396523 => Updated with Vin: 2MRZA20274BJ07484 ## Mail History Id: 27698787, Consumer Id: 436371, Address Id: 406831 => Updated with Vin: 5LMFU28R11LJ31525 ## Mail History Id: 27698545, Consumer Id: 436368, Address Id: 9800480 => Updated with Vin: JM3LW28G4Y0150463 ## Mail History Id: 27698801, Consumer Id: 436370, Address Id: 9800482 => Updated with Vin: 4M2ZV11T91DJ13103 ## Mail History Id: 27698609, Consumer Id: 436367, Address Id: 406027 => Updated with Vin: 1FTNW21F71EB55913 ## Mail History Id: 27698841, Consumer Id: 189783, Address Id: 401247 => Updated with Vin: 1FMDU73EX2ZC23047 ## Mail History Id: 27698721, Consumer Id: 187890, Address Id: 399074 => Updated with Vin: 1ZVFT82HX55168769 ## Mail History Id: 27698763, Consumer Id: 195137, Address Id: 402484 => Updated with Vin: 1FMSU43P64EB01769 ## Mail History Id: 27698581, Consumer Id: 436374, Address Id: 8300940 => Updated with Vin: 1FTNW20F32ED58915 ## Mail History Id: 27698647, Consumer Id: 192009, Address Id: 402434 => Updated with Vin: 1FMDU74E12UB28713 ## Mail History Id: 27698779, Consumer Id: 199514, Address Id: 406933 => Updated with Vin: 1FMZU67E42UD41098 ## Mail History Id: 27698697, Consumer Id: 189558, Address Id: 398868 => Updated with Vin: 1FMZU73W22ZA61123 ## Mail History Id: 27698733, Consumer Id: 436363, Address Id: 9800477 => Updated with Vin: 1FTNX21P93EC75155 ## Mail History Id: 27698703, Consumer Id: 320131, Address Id: 877106 => Updated with Vin: 1FAFP48YX3F402400 ## Mail History Id: 27698713, Consumer Id: 189746, Address Id: 398903 => Updated with Vin: JM1BK123541142604 ## Mail History Id: 27698659, Consumer Id: 187199, Address Id: 397989 => Updated with Vin: 1FTWW31P45EC46744 ## Mail History Id: 27698589, Consumer Id: 436369, Address Id: 9800481 => Updated with Vin: 1FAFP42XX4F201954 ## Mail History Id: 27698749, Consumer Id: 436366, Address Id: 9800479 => Updated with Vin: 1FAFP55S44G142657 ## Mail History Id: 27698835, Consumer Id: 152981, Address Id: 395269 => Updated with Vin: JM1NB354550412984 ## Mail History Id: 27698615, Consumer Id: 187757, Address Id: 399031 => Updated with Vin: 1FTPX12515FA06659 ## Mail History Id: 27698767, Consumer Id: 151898, Address Id: 394267 => Updated with Vin: JM1BK323851345578 ## Mail History Id: 27698695, Consumer Id: 189890, Address Id: 401254 => Updated with Vin: 1ZVFT80N855117635 ## Mail History Id: 27698683, Consumer Id: 435943, Address Id: 9800275 => Updated with Vin: 1C4GP45R75B417393 ## Mail History Id: 27698755, Consumer Id: 194375, Address Id: 404133 => Updated with Vin: 1FTWX31P65EC95778 ## Mail History Id: 27698629, Consumer Id: 155415, Address Id: 397468 => Updated with Vin: 1FMYU03155KB20489 ## Mail History Id: 27698663, Consumer Id: 435930, Address Id: 9800267 => Updated with Vin: 1FAFP34N15W182850 ## Mail History Id: 27698529, Consumer Id: 154049, Address Id: 396239 => Updated with Vin: 1YVHP80D265M43093 ## Mail History Id: 27698565, Consumer Id: 152887, Address Id: 395184 => Updated with Vin: 1FMCU96H66KB21000 ## Mail History Id: 27698667, Consumer Id: 435515, Address Id: 9800065 => Updated with Vin: 5TDZA23CX6S572379 ## Mail History Id: 27698553, Consumer Id: 154535, Address Id: 396690 => Updated with Vin: JM1NC25F470126832 ## Mail History Id: 27698527, Consumer Id: 155679, Address Id: 397716 => Updated with Vin: JM1CR29L370158855 ## Mail History Id: 27698531, Consumer Id: 197444, Address Id: 405803 => Updated with Vin: JM1BK34M171653894 ## Mail History Id: 27698573, Consumer Id: 154355, Address Id: 396523 => Updated with Vin: 1ZVFT80N375314876 ## Mail History Id: 27698525, Consumer Id: 155587, Address Id: 397631 => Updated with Vin: 1FTNE14W17DB48141 ## Mail History Id: 27698595, Consumer Id: 155491, Address Id: 397540 => Updated with Vin: 1FTPX12547FB60303 ## Mail History Id: 27698679, Consumer Id: 155842, Address Id: 397874 => Updated with Vin: 1FMDK06147GA15982 ## Mail History Id: 27698789, Consumer Id: 154795, Address Id: 396922 => Updated with Vin: 1FMFK205X7LA80438 ## Mail History Id: 27698535, Consumer Id: 154519, Address Id: 396674 => Updated with Vin: 3FAHP08Z37R177577 ## Mail History Id: 27698521, Consumer Id: 154013, Address Id: 396203 => Updated with Vin: 1FAFP34N57W217988 ## Mail History Id: 27698849, Consumer Id: 155805, Address Id: 397839 => Updated with Vin: JM1NC26F180146990 ## Mail History Id: 27698555, Consumer Id: 155533, Address Id: 397579 => Updated with Vin: JM3ER29L980188735 ## Mail History Id: 27698829, Consumer Id: 155449, Address Id: 397500 => Updated with Vin: JM1BK32G681820295 ## Mail History Id: 27698851, Consumer Id: 155730, Address Id: 397766 => Updated with Vin: JM1BK34M381868193 ## Mail History Id: 27698723, Consumer Id: 189111, Address Id: 399326 => Updated with Vin: 1FMYU03132KC60018 ## Mail History Id: 27698725, Consumer Id: 195085, Address Id: 394367 => Updated with Vin: 1FTNW21F13EA13155 ## Mail History Id: 27698771, Consumer Id: 194542, Address Id: 403470 => Updated with Vin: JM1FE17N940128925 ## Mail History Id: 27698691, Consumer Id: 187688, Address Id: 398452 => Updated with Vin: JM1NA3538V0720774 ## Mail History Id: 27698627, Consumer Id: 189651, Address Id: 400092 => Updated with Vin: 1FAFP40464F126419 ## Mail History Id: 27698575, Consumer Id: 174007, Address Id: 445743 => Updated with Vin: 1ZVHT82H985160272 ## Mail History Id: 27698597, Consumer Id: 198224, Address Id: 406828 => Updated with Vin: 1LNLM82W2SY741588 ## Mail History Id: 27698807, Consumer Id: 436364, Address Id: 9800478 => Updated with Vin: 1FALP52U9TG116420 ## Mail History Id: 27698717, Consumer Id: 193111, Address Id: 402866 => Updated with Vin: 1FTRW07682KE15056 ## Mail History Id: 27698759, Consumer Id: 197632, Address Id: 407004 => Updated with Vin: 1FTDF07W0VKB26574 ## Mail History Id: 27698709, Consumer Id: 435580, Address Id: 9800106 => Updated with Vin: 1LNLM83W5VY693734 ## Mail History Id: 27698689, Consumer Id: 199502, Address Id: 398495 => Updated with Vin: 1FMZU64E1YZB23748 ## Mail History Id: 27698699, Consumer Id: 436375, Address Id: 404886 => Updated with Vin: JM3TB28V880126807 ## Mail History Id: 27698769, Consumer Id: 374781, Address Id: 9750937 => Updated with Vin: 3GKFK16T1YG134605 ## Mail History Id: 27698585, Consumer Id: 435942, Address Id: 9800274 => Updated with Vin: 1HGEJ8146YL082850 ## Total mail_history records updated with vin numbers: 58 out of 60 ============================================================ ====== Tracking Id: 444 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-26 11:38:58') AND us2_order_type_id = 3 ## Order found: 590 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 590 AND product_id = 113 ## Job Group Found: '333' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('333') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008003') AND customer_id = 3357 ## Mailing found: '12329' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 445 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-26 11:39:10') AND us2_order_type_id = 3 ## Order found: 590 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 590 AND product_id = 112 ## Job Group Found: '333' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('333') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008003') AND customer_id = 3357 ## Mailing found: '12329' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 446 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-06-26 12:11:52') AND us2_order_type_id = 3 ## Order found: 591 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 591 AND product_id = 112 ## Job Group Found: '333' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('333') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008003') AND customer_id = 3427 ## Mailing found: '12330' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27698878, Consumer Id: 499749, Address Id: 9834069 => Updated with Vin: 2HKYF18514H555023 ## Mail History Id: 27699004, Consumer Id: 497775, Address Id: 9831953 => Updated with Vin: 2HGES16564H521963 ## Mail History Id: 27698907, Consumer Id: 492830, Address Id: 9828330 => Updated with Vin: 1HGCG1657WA048570 ## Mail History Id: 27698884, Consumer Id: 497498, Address Id: 9831742 => Updated with Vin: 5FNRL18904B008453 ## Mail History Id: 27698858, Consumer Id: 499748, Address Id: 745686 => Updated with Vin: 5J6YH28504L010131 ## Mail History Id: 27698917, Consumer Id: 499256, Address Id: 9833340 => Updated with Vin: 5FNRL18924B061784 ## Mail History Id: 27698926, Consumer Id: 494649, Address Id: 9829677 => Updated with Vin: 1HGEJ8147XL012031 ## Mail History Id: 27698899, Consumer Id: 490780, Address Id: 9826788 => Updated with Vin: 5FNRL18663B096767 ## Mail History Id: 27698936, Consumer Id: 491005, Address Id: 9826958 => Updated with Vin: 1HGCG6655XA007773 ## Mail History Id: 27698866, Consumer Id: 498803, Address Id: 9832693 => Updated with Vin: 1HGCG3277YA004753 ## Mail History Id: 27698928, Consumer Id: 495435, Address Id: 9830276 => Updated with Vin: 1HGES16583L033499 ## Mail History Id: 27698893, Consumer Id: 474648, Address Id: 8195561 => Updated with Vin: 2HGFG118X7H544772 ## Total mail_history records updated with vin numbers: 12 out of 12 ============================================================ ====== Tracking Id: 447 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3733 AND DATE(cart_created_date) = DATE('2008-06-26 18:29:18') AND us2_order_type_id = 3 ## Order found: 592 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '10' AND store_id = 2 ## Product Id found: 60 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 592 AND product_id = 60 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 448 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-26 19:08:34') AND us2_order_type_id = 3 ## Order found: 590 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 590 AND product_id = 55 ## Job Group Found: '329' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('329') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008002') AND customer_id = 3357 ## Mailing found: '12000' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27699043, Consumer Id: 981246, Address Id: 14919818 => Updated with Vin: 1FTRW07673KA87324 ## Mail History Id: 27699045, Consumer Id: 195911, Address Id: 405474 => Updated with Vin: 1YVFP80C745N96922 ## Mail History Id: 27699047, Consumer Id: 1172742, Address Id: 15030776 => Updated with Vin: 1ZVFT84N175322078 ## Mail History Id: 27699049, Consumer Id: 1027954, Address Id: 14943227 => Updated with Vin: 1HGCM82707A001262 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 449 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-27 08:08:50') AND us2_order_type_id = 3 ## Order found: 599 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 599 AND product_id = 55 ## Job Group Found: '374' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('374') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408002') AND customer_id = 3230 ## Mailing found: '12350' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 450 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-27 08:38:47') AND us2_order_type_id = 3 ## Order found: 599 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 599 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3230 ## Mailing found: '12344' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337401, Consumer Id: 103740, Address Id: 51061 => Updated with Vin: 1FAFP53U5YG101528 ## Mail History Id: 28337385, Consumer Id: 66994, Address Id: 50249 => Updated with Vin: 1FTWW31P16EB21573 ## Mail History Id: 28337375, Consumer Id: 93060, Address Id: 51474 => Updated with Vin: 3FAHP07Z47R174818 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 451 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-27 08:38:58') AND us2_order_type_id = 3 ## Order found: 599 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 599 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3230 ## Mailing found: '12378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785810, Consumer Id: 103805, Address Id: 53853 => Updated with Vin: 1C3EL56R02N338721 ## Mail History Id: 28785811, Consumer Id: 92780, Address Id: 51201 => Updated with Vin: 2FMDA58274BA58012 ## Mail History Id: 28785813, Consumer Id: 135732, Address Id: 102947 => Updated with Vin: 1GCCS1443YK186370 ## Mail History Id: 28785814, Consumer Id: 65224, Address Id: 49535 => Updated with Vin: 1FTWW33P55ED14014 ## Mail History Id: 28785815, Consumer Id: 93086, Address Id: 50003 => Updated with Vin: 1FTWW33R48EB41799 ## Mail History Id: 28785990, Consumer Id: 92829, Address Id: 47556 => Updated with Vin: 1FMYU94187KB98271 ## Mail History Id: 28785817, Consumer Id: 93018, Address Id: 49245 => Updated with Vin: 1FAHP34N67W196562 ## Mail History Id: 28785818, Consumer Id: 63722, Address Id: 47613 => Updated with Vin: 1FTNX21F32EB02527 ## Mail History Id: 28785819, Consumer Id: 64425, Address Id: 49243 => Updated with Vin: 1FTWW31P95EC02142 ## Mail History Id: 28785820, Consumer Id: 135733, Address Id: 47626 => Updated with Vin: 2G1WF52E949262120 ## Mail History Id: 28785821, Consumer Id: 92936, Address Id: 50150 => Updated with Vin: 3FAHP07Z87R177656 ## Mail History Id: 28785822, Consumer Id: 92633, Address Id: 51028 => Updated with Vin: 1FTPX14526FA88500 ## Mail History Id: 28785823, Consumer Id: 93189, Address Id: 51605 => Updated with Vin: 1FMCU93188KA81769 ## Mail History Id: 28785824, Consumer Id: 92836, Address Id: 49072 => Updated with Vin: 1FTPX14V77FA27208 ## Mail History Id: 28785825, Consumer Id: 103051, Address Id: 53516 => Updated with Vin: 1LNHM81W61Y712441 ## Mail History Id: 28786092, Consumer Id: 65251, Address Id: 47504 => Updated with Vin: 1FBSS31L71HB64883 ## Mail History Id: 28785827, Consumer Id: 135729, Address Id: 48983 => Updated with Vin: 1FMEU15H6PLB27726 ## Mail History Id: 28785828, Consumer Id: 103114, Address Id: 53545 => Updated with Vin: 1FTEF14N2SLB69647 ## Mail History Id: 28785829, Consumer Id: 92073, Address Id: 49394 => Updated with Vin: 1FAFP53U92G183559 ## Mail History Id: 28785830, Consumer Id: 64919, Address Id: 49619 => Updated with Vin: 1FMZU73K52ZC83524 ## Mail History Id: 28785831, Consumer Id: 64782, Address Id: 50101 => Updated with Vin: 1FTRX18L41NA19016 ## Mail History Id: 28785832, Consumer Id: 93272, Address Id: 47774 => Updated with Vin: 1FAHP34N07W339148 ## Mail History Id: 28785193, Consumer Id: 66636, Address Id: 49373 => Updated with Vin: 2FMZA52472BA86034 ## Mail History Id: 28785833, Consumer Id: 461157, Address Id: 53576 => Updated with Vin: 2FMZA52472BA86034 ## Mail History Id: 28785834, Consumer Id: 63759, Address Id: 47515 => Updated with Vin: 2FMZA52452BB35778 ## Mail History Id: 28785835, Consumer Id: 135731, Address Id: 102946 => Updated with Vin: 1FAHP34N97W276535 ## Mail History Id: 28785836, Consumer Id: 93445, Address Id: 51889 => Updated with Vin: 1FAHP33N98W105643 ## Mail History Id: 28785837, Consumer Id: 93044, Address Id: 51465 => Updated with Vin: 1FMCU93128KA38089 ## Mail History Id: 28785938, Consumer Id: 103154, Address Id: 48255 => Updated with Vin: 1FAFP55U52G172622 ## Mail History Id: 28785839, Consumer Id: 93491, Address Id: 51978 => Updated with Vin: 3FAHP07Z18R157279 ## Mail History Id: 28785840, Consumer Id: 41920, Address Id: 67775 => Updated with Vin: 1FTWW31R48ED31301 ## Mail History Id: 28785841, Consumer Id: 92722, Address Id: 49567 => Updated with Vin: 1ZVFT82H775197195 ## Total mail_history records updated with vin numbers: 32 out of 32 ============================================================ ====== Tracking Id: 452 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-06-27 10:11:55') AND us2_order_type_id = 3 ## Order found: 600 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 600 AND product_id = 143 ## Job Group Found: '334' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('334') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008001') AND customer_id = 3416 ## Mailing found: '12334' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27698335, Consumer Id: 625208, Address Id: 4769731 => Updated with Vin: 1G6DP577570166251 ## Mail History Id: 27698433, Consumer Id: 692612, Address Id: 1969863 => Updated with Vin: 1G6KD57Y96U151462 ## Mail History Id: 27698297, Consumer Id: 625555, Address Id: 11766015 => Updated with Vin: 1GYEE637650225253 ## Mail History Id: 27698375, Consumer Id: 625793, Address Id: 1968367 => Updated with Vin: 1G6DH577880145120 ## Mail History Id: 27698447, Consumer Id: 625391, Address Id: 1969965 => Updated with Vin: 1G6KD57Y46U234586 ## Mail History Id: 27698275, Consumer Id: 682917, Address Id: 1966395 => Updated with Vin: 1G6KE54Y5WU709423 ## Mail History Id: 27698303, Consumer Id: 627075, Address Id: 1961075 => Updated with Vin: 3GYFK66N34G310729 ## Mail History Id: 27698411, Consumer Id: 684300, Address Id: 11795620 => Updated with Vin: 1G6KE57YX3U259811 ## Mail History Id: 27698339, Consumer Id: 629827, Address Id: 11770036 => Updated with Vin: 1G6KD579X6U151656 ## Mail History Id: 27698313, Consumer Id: 626033, Address Id: 1961956 => Updated with Vin: 1G6KD57Y27U211633 ## Mail History Id: 27698409, Consumer Id: 690955, Address Id: 1969277 => Updated with Vin: 1GCES14H46B122072 ## Mail History Id: 27698467, Consumer Id: 625745, Address Id: 11766112 => Updated with Vin: 1G6DV57V180139263 ## Mail History Id: 27698441, Consumer Id: 626040, Address Id: 1969906 => Updated with Vin: 1G6KD57Y66U220799 ## Mail History Id: 27698337, Consumer Id: 683700, Address Id: 1964355 => Updated with Vin: 1G6KD54Y93U133897 ## Mail History Id: 27698423, Consumer Id: 625414, Address Id: 1969477 => Updated with Vin: 1GYEE637070186355 ## Mail History Id: 27698391, Consumer Id: 691748, Address Id: 1968762 => Updated with Vin: 1G6KD57Y37U128700 ## Mail History Id: 27698309, Consumer Id: 627071, Address Id: 1961522 => Updated with Vin: W06VR54R6XR131393 ## Mail History Id: 27698367, Consumer Id: 625554, Address Id: 1968263 => Updated with Vin: 1G6KD54Y45U158645 ## Mail History Id: 27698475, Consumer Id: 692036, Address Id: 1970254 => Updated with Vin: 5GRGN23U57H102785 ## Mail History Id: 27698307, Consumer Id: 691392, Address Id: 1961449 => Updated with Vin: 1G6DP577170110386 ## Mail History Id: 27698477, Consumer Id: 625730, Address Id: 11766105 => Updated with Vin: 5GTEN13E888141795 ## Mail History Id: 27698285, Consumer Id: 690695, Address Id: 6879614 => Updated with Vin: 1G6KD57Y96U182744 ## Mail History Id: 27698295, Consumer Id: 691163, Address Id: 11797855 => Updated with Vin: 1G6DW677660141866 ## Mail History Id: 27698461, Consumer Id: 690926, Address Id: 11764710 => Updated with Vin: 5GTDN136968283297 ## Mail History Id: 27698371, Consumer Id: 627072, Address Id: 6882147 => Updated with Vin: 5GTDN13E578165160 ## Total mail_history records updated with vin numbers: 25 out of 28 ============================================================ ====== Tracking Id: 453 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-27 11:08:55') AND us2_order_type_id = 3 ## Order found: 601 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 601 AND product_id = 112 ## Job Group Found: '333' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('333') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008003') AND customer_id = 3486 ## Mailing found: '12332' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27698959, Consumer Id: 465226, Address Id: 4375517 => Updated with Vin: 1G1JC54FX47194288 ## Mail History Id: 27698951, Consumer Id: 475681, Address Id: 5419806 => Updated with Vin: 1GNDS13S022307715 ## Mail History Id: 27698955, Consumer Id: 465549, Address Id: 1037780 => Updated with Vin: 1GNEC13Z34J332454 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 454 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-27 11:38:45') AND us2_order_type_id = 3 ## Order found: 602 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 602 AND product_id = 142 ## Job Group Found: '334' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('334') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008001') AND customer_id = 3357 ## Mailing found: '12333' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27698805, Consumer Id: 435555, Address Id: 6903823 => Updated with Vin: 1FAFP34N15W285573 ## Mail History Id: 27698715, Consumer Id: 197875, Address Id: 407016 => Updated with Vin: 1FTSW21P76EC40012 ## Mail History Id: 27698543, Consumer Id: 197976, Address Id: 406825 => Updated with Vin: 1FAHP38Z75W162236 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 455 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-06-27 12:11:26') AND us2_order_type_id = 3 ## Order found: 603 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 603 AND product_id = 112 ## Job Group Found: '333' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('333') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008003') AND customer_id = 3427 ## Mailing found: '12330' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27698913, Consumer Id: 492423, Address Id: 9828039 => Updated with Vin: 1HGCG56742A163453 ## Mail History Id: 27698941, Consumer Id: 490965, Address Id: 9826925 => Updated with Vin: 2HKRL1868YH560084 ## Mail History Id: 27698903, Consumer Id: 498671, Address Id: 9832592 => Updated with Vin: 5FNRL185X4B042347 ## Mail History Id: 27698874, Consumer Id: 497064, Address Id: 9831450 => Updated with Vin: 2HGEJ8642WH506043 ## Mail History Id: 27698870, Consumer Id: 495657, Address Id: 9830438 => Updated with Vin: 1HGCM66523A097189 ## Mail History Id: 27698945, Consumer Id: 503089, Address Id: 9838701 => Updated with Vin: 2HGEJ6672WH571280 ## Mail History Id: 27698875, Consumer Id: 498460, Address Id: 9832440 => Updated with Vin: 5FNRL18744B044466 ## Mail History Id: 27698868, Consumer Id: 493641, Address Id: 9828927 => Updated with Vin: 1HGEJ8143VL050711 ## Mail History Id: 27698904, Consumer Id: 510938, Address Id: 9836701 => Updated with Vin: 5FNRL38795B049160 ## Mail History Id: 27698956, Consumer Id: 498975, Address Id: 325784 => Updated with Vin: JHMES96624S007069 ## Mail History Id: 27698873, Consumer Id: 501169, Address Id: 9836148 => Updated with Vin: SHSRD78844U236102 ## Mail History Id: 27698924, Consumer Id: 504288, Address Id: 9840124 => Updated with Vin: 5FNRL386X5B049742 ## Mail History Id: 27699000, Consumer Id: 496578, Address Id: 9831091 => Updated with Vin: 1HGCG6657XA055825 ## Mail History Id: 27698909, Consumer Id: 498998, Address Id: 9832828 => Updated with Vin: JHMES956X4S006298 ## Mail History Id: 27698894, Consumer Id: 500371, Address Id: 9834959 => Updated with Vin: 1HGCG1644YA038136 ## Mail History Id: 27698915, Consumer Id: 496624, Address Id: 9831126 => Updated with Vin: 5FNRL18043B045439 ## Mail History Id: 27698992, Consumer Id: 506480, Address Id: 9841086 => Updated with Vin: 5FNYF18435B025028 ## Mail History Id: 27698982, Consumer Id: 500361, Address Id: 328737 => Updated with Vin: 1HGCM66553A087224 ## Mail History Id: 27698890, Consumer Id: 510810, Address Id: 7552259 => Updated with Vin: 1HGCM567X5A032301 ## Mail History Id: 27698968, Consumer Id: 492827, Address Id: 326614 => Updated with Vin: 1HGCM56663A057524 ## Mail History Id: 27698908, Consumer Id: 509153, Address Id: 7552699 => Updated with Vin: 1HGCM56425A153135 ## Mail History Id: 27699008, Consumer Id: 498834, Address Id: 9832711 => Updated with Vin: JHMES96644S007736 ## Mail History Id: 27698857, Consumer Id: 495751, Address Id: 9830322 => Updated with Vin: 2HKYF18543H547187 ## Mail History Id: 27698877, Consumer Id: 492245, Address Id: 9827909 => Updated with Vin: 1HGEM22991L059938 ## Mail History Id: 27698872, Consumer Id: 512792, Address Id: 9845053 => Updated with Vin: JHMCN36595C003745 ## Mail History Id: 27698869, Consumer Id: 482134, Address Id: 8195447 => Updated with Vin: 1HGFA16517L117399 ## Total mail_history records updated with vin numbers: 26 out of 28 ============================================================ ====== Tracking Id: 456 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-06-27 12:11:42') AND us2_order_type_id = 3 ## Order found: 604 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 604 AND product_id = 143 ## Job Group Found: '334' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('334') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008001') AND customer_id = 3471 ## Mailing found: '12335' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27697802, Consumer Id: 799808, Address Id: 10211570 => Updated with Vin: 1G6KD52Y1TU259402 ## Mail History Id: 27697706, Consumer Id: 798006, Address Id: 10210065 => Updated with Vin: 1G6CD53BXN4204609 ## Mail History Id: 27698119, Consumer Id: 807186, Address Id: 11870424 => Updated with Vin: 1G6KS54Y41U242383 ## Mail History Id: 27697920, Consumer Id: 820961, Address Id: 4552424 => Updated with Vin: 1G6KD57946U114246 ## Mail History Id: 27697786, Consumer Id: 799253, Address Id: 10211441 => Updated with Vin: 1G6KE54Y1XU772553 ## Mail History Id: 27698348, Consumer Id: 820945, Address Id: 10214053 => Updated with Vin: 1G6KY549X3U114496 ## Mail History Id: 27697969, Consumer Id: 802539, Address Id: 10220688 => Updated with Vin: 1G6KD54YXXU775793 ## Mail History Id: 27697712, Consumer Id: 774322, Address Id: 7878021 => Updated with Vin: 1G6KD54Y03U277984 ## Mail History Id: 27698522, Consumer Id: 798127, Address Id: 7416916 => Updated with Vin: 1G6ET1297SU616923 ## Mail History Id: 27697906, Consumer Id: 803508, Address Id: 6526249 => Updated with Vin: 1G6EL1151KU623753 ## Mail History Id: 27698336, Consumer Id: 800683, Address Id: 7416289 => Updated with Vin: 1G6KD54Y92U146972 ## Mail History Id: 27698446, Consumer Id: 760409, Address Id: 11851024 => Updated with Vin: 1GYFK63857R136309 ## Mail History Id: 27698512, Consumer Id: 820457, Address Id: 7416904 => Updated with Vin: 1G6KD54Y73U170348 ## Mail History Id: 27697918, Consumer Id: 802168, Address Id: 10212501 => Updated with Vin: 1G6KD54Y3WU764973 ## Mail History Id: 27697949, Consumer Id: 802459, Address Id: 10220139 => Updated with Vin: 1GYEK13R7YR104504 ## Mail History Id: 27698149, Consumer Id: 797932, Address Id: 11869635 => Updated with Vin: 1GYEK63N32R249377 ## Mail History Id: 27698714, Consumer Id: 802339, Address Id: 10216041 => Updated with Vin: 1G6CD53B7P4320062 ## Mail History Id: 27698634, Consumer Id: 800235, Address Id: 10215512 => Updated with Vin: 1GNEK13T61R107991 ## Mail History Id: 27698205, Consumer Id: 806998, Address Id: 11876797 => Updated with Vin: 1G6KD54Y33U102564 ## Mail History Id: 27697878, Consumer Id: 798567, Address Id: 7878474 => Updated with Vin: 3GKFK16T9YG143018 ## Mail History Id: 27698222, Consumer Id: 803960, Address Id: 10213789 => Updated with Vin: 1G6CD53B1M4205632 ## Mail History Id: 27698174, Consumer Id: 798459, Address Id: 10214178 => Updated with Vin: 1G6KE52Y6VU212544 ## Mail History Id: 27698204, Consumer Id: 821390, Address Id: 7415914 => Updated with Vin: 1G6YV36A265600555 ## Mail History Id: 27697710, Consumer Id: 805396, Address Id: 7878016 => Updated with Vin: 1G6KS54Y84U110943 ## Mail History Id: 27698107, Consumer Id: 798324, Address Id: 11869817 => Updated with Vin: 1G6KD54YX1U291663 ## Mail History Id: 27698097, Consumer Id: 799887, Address Id: 11870575 => Updated with Vin: W06VR52R3VR066597 ## Mail History Id: 27698816, Consumer Id: 760530, Address Id: 10216398 => Updated with Vin: 1G6DC67A150217433 ## Mail History Id: 27698071, Consumer Id: 798098, Address Id: 11869714 => Updated with Vin: 1G6KD52Y3TU236705 ## Mail History Id: 27697733, Consumer Id: 807208, Address Id: 10217419 => Updated with Vin: W06VR52R9WR020385 ## Mail History Id: 27698153, Consumer Id: 798399, Address Id: 11869846 => Updated with Vin: 1G6KD54Y5XU786734 ## Mail History Id: 27698140, Consumer Id: 803319, Address Id: 7415751 => Updated with Vin: 1GYEK63N93R298844 ## Mail History Id: 27698143, Consumer Id: 798454, Address Id: 11869873 => Updated with Vin: 1G4HR54K22U200032 ## Mail History Id: 27697794, Consumer Id: 807417, Address Id: 10211514 => Updated with Vin: 1G6KD52Y9TU307700 ## Mail History Id: 27698128, Consumer Id: 803866, Address Id: 7415723 => Updated with Vin: 3GYEK62N24G166351 ## Mail History Id: 27698092, Consumer Id: 801523, Address Id: 10213511 => Updated with Vin: 1G6KS52Y6VU838698 ## Mail History Id: 27697959, Consumer Id: 805395, Address Id: 10220226 => Updated with Vin: 1G6KS52Y7SU822053 ## Mail History Id: 27698538, Consumer Id: 797856, Address Id: 10214680 => Updated with Vin: 1G6KY5495WU933761 ## Mail History Id: 27698308, Consumer Id: 805538, Address Id: 7416193 => Updated with Vin: 1G6KS54Y41U217368 ## Mail History Id: 27697926, Consumer Id: 820461, Address Id: 6526620 => Updated with Vin: 1G6KD54Y45U246644 ## Mail History Id: 27697832, Consumer Id: 760441, Address Id: 7878390 => Updated with Vin: 1GYEK63N62R166042 ## Mail History Id: 27697907, Consumer Id: 760493, Address Id: 10219262 => Updated with Vin: 1G6KD54Y92U126060 ## Mail History Id: 27697725, Consumer Id: 760402, Address Id: 10217359 => Updated with Vin: 1G6KF5490WU751438 ## Mail History Id: 27698406, Consumer Id: 799854, Address Id: 10214387 => Updated with Vin: 1G6KD52YXTU237687 ## Mail History Id: 27698472, Consumer Id: 800585, Address Id: 7416832 => Updated with Vin: 3GYEK63N72G220433 ## Mail History Id: 27698542, Consumer Id: 799714, Address Id: 7416979 => Updated with Vin: 1G6KD54Y43U278037 ## Mail History Id: 27697833, Consumer Id: 801510, Address Id: 10218316 => Updated with Vin: 1G6KS52Y9VU829798 ## Mail History Id: 27698096, Consumer Id: 760447, Address Id: 7415577 => Updated with Vin: W06VR54R11R079243 ## Mail History Id: 27698674, Consumer Id: 804654, Address Id: 10215676 => Updated with Vin: 1G6KD52Y7TU209197 ## Mail History Id: 27698270, Consumer Id: 800955, Address Id: 7416118 => Updated with Vin: 1G3GR62H114105540 ## Mail History Id: 27697882, Consumer Id: 821026, Address Id: 7878495 => Updated with Vin: 1G6KF57963U222499 ## Mail History Id: 27698103, Consumer Id: 760498, Address Id: 11851063 => Updated with Vin: 2G4WB55K721185436 ## Mail History Id: 27697851, Consumer Id: 799538, Address Id: 10218500 => Updated with Vin: 1G6KS54Y9YU316472 ## Mail History Id: 27697734, Consumer Id: 823287, Address Id: 7878092 => Updated with Vin: 1G6AL5787DE628556 ## Mail History Id: 27697736, Consumer Id: 798453, Address Id: 7878095 => Updated with Vin: 1G6KE54Y31U117320 ## Mail History Id: 27698450, Consumer Id: 802548, Address Id: 7416788 => Updated with Vin: 1G3CX52L9R4315351 ## Mail History Id: 27697868, Consumer Id: 797880, Address Id: 10212161 => Updated with Vin: 1G3WS52K4WF341407 ## Mail History Id: 27698366, Consumer Id: 816530, Address Id: 7416341 => Updated with Vin: 1G6KD52B3SU280231 ## Mail History Id: 27697689, Consumer Id: 760491, Address Id: 10217044 => Updated with Vin: 1G6KF579X3U285279 ## Mail History Id: 27697852, Consumer Id: 773032, Address Id: 10212102 => Updated with Vin: 1GYFK63887R225940 ## Mail History Id: 27698552, Consumer Id: 799388, Address Id: 10214780 => Updated with Vin: 1G3WX52H2XF356558 ## Mail History Id: 27698724, Consumer Id: 800903, Address Id: 10216089 => Updated with Vin: 1G6KY54922U215143 ## Mail History Id: 27698065, Consumer Id: 805999, Address Id: 4234854 => Updated with Vin: 1G6ET12961B104130 ## Mail History Id: 27697718, Consumer Id: 799690, Address Id: 7878038 => Updated with Vin: 1G6KE57Y3YU286176 ## Mail History Id: 27698246, Consumer Id: 802185, Address Id: 7416051 => Updated with Vin: 1G6VS3389NU125763 ## Mail History Id: 27698254, Consumer Id: 802705, Address Id: 10213863 => Updated with Vin: 1G6EL1158KU610949 ## Mail History Id: 27698790, Consumer Id: 802335, Address Id: 10216819 => Updated with Vin: 1G6KY5298PU810573 ## Mail History Id: 27698248, Consumer Id: 760323, Address Id: 7416055 => Updated with Vin: 1GYEK63N32R109331 ## Mail History Id: 27698584, Consumer Id: 823102, Address Id: 10215009 => Updated with Vin: 1B7FL26X01S165389 ## Mail History Id: 27698840, Consumer Id: 760297, Address Id: 10216548 => Updated with Vin: 3GYEK63N83G166092 ## Mail History Id: 27698282, Consumer Id: 799457, Address Id: 7416137 => Updated with Vin: 1G6KD54Y73U138273 ## Mail History Id: 27697970, Consumer Id: 760250, Address Id: 10212623 => Updated with Vin: 1G6KD54Y4WU719380 ## Mail History Id: 27697828, Consumer Id: 798139, Address Id: 10211944 => Updated with Vin: 1G6ET1294RU614105 ## Mail History Id: 27697788, Consumer Id: 817801, Address Id: 10211482 => Updated with Vin: 1G6KF52Y7RU267720 ## Mail History Id: 27698422, Consumer Id: 760282, Address Id: 10214448 => Updated with Vin: 1G6KY5499WU900116 ## Mail History Id: 27698344, Consumer Id: 760236, Address Id: 7416303 => Updated with Vin: 1GYEK63N44R205276 ## Mail History Id: 27698020, Consumer Id: 800822, Address Id: 7878884 => Updated with Vin: 1G6KD54Y82U295423 ## Mail History Id: 27698266, Consumer Id: 820963, Address Id: 7416117 => Updated with Vin: 1GYEE637560172787 ## Mail History Id: 27698564, Consumer Id: 802543, Address Id: 10214873 => Updated with Vin: 1G6KS52Y0SU823870 ## Mail History Id: 27698091, Consumer Id: 760515, Address Id: 11851067 => Updated with Vin: 1G6KS54Y5YU271370 ## Mail History Id: 27698586, Consumer Id: 801110, Address Id: 10215069 => Updated with Vin: 1G6KD54Y7YU186878 ## Mail History Id: 27698190, Consumer Id: 803956, Address Id: 11850962 => Updated with Vin: 1G6KE54Y3VU278143 ## Mail History Id: 27698424, Consumer Id: 800586, Address Id: 7416730 => Updated with Vin: 1G6DM57N930108113 ## Mail History Id: 27698228, Consumer Id: 801516, Address Id: 7415995 => Updated with Vin: 1G6KD54Y33U214961 ## Mail History Id: 27698748, Consumer Id: 800123, Address Id: 10216278 => Updated with Vin: 1G6KE57Y81U174026 ## Mail History Id: 27698788, Consumer Id: 798563, Address Id: 10216792 => Updated with Vin: 1G6KE57Y22U145705 ## Mail History Id: 27698468, Consumer Id: 799499, Address Id: 10214557 => Updated with Vin: 1G6KD52B3SU298468 ## Mail History Id: 27697771, Consumer Id: 823121, Address Id: 11876611 => Updated with Vin: 3GYEK62NX6G170845 ## Mail History Id: 27698668, Consumer Id: 816135, Address Id: 10215663 => Updated with Vin: 1G6KE54Y92U282726 ## Mail History Id: 27698147, Consumer Id: 807469, Address Id: 11871472 => Updated with Vin: 1G6KD54YX4U102305 ## Mail History Id: 27698110, Consumer Id: 822998, Address Id: 7415611 => Updated with Vin: 1J4HR48N56C217559 ## Mail History Id: 27697883, Consumer Id: 822266, Address Id: 11878645 => Updated with Vin: 1D4HB48216F139329 ## Mail History Id: 27698822, Consumer Id: 805293, Address Id: 10216424 => Updated with Vin: 1GHDT13S532208325 ## Mail History Id: 27697766, Consumer Id: 803171, Address Id: 10211204 => Updated with Vin: 1G6CB5159K4283902 ## Mail History Id: 27698710, Consumer Id: 800242, Address Id: 10216021 => Updated with Vin: 1G6KS54Y6WU900440 ## Mail History Id: 27698298, Consumer Id: 807419, Address Id: 7416153 => Updated with Vin: 1G6DM577240164820 ## Mail History Id: 27698798, Consumer Id: 800763, Address Id: 10216857 => Updated with Vin: 1G3GS64C324170896 ## Mail History Id: 27698155, Consumer Id: 799807, Address Id: 11870549 => Updated with Vin: 1G6KY5295TU821802 ## Mail History Id: 27698054, Consumer Id: 798354, Address Id: 7879024 => Updated with Vin: 1G6KD54Y62U123682 ## Mail History Id: 27697866, Consumer Id: 816386, Address Id: 7878464 => Updated with Vin: 1G6KD57Y23U248806 ## Mail History Id: 27698768, Consumer Id: 806587, Address Id: 10215884 => Updated with Vin: 1G6EL12Y3RU624860 ## Mail History Id: 27698009, Consumer Id: 806201, Address Id: 11873746 => Updated with Vin: 1G4HR54K11U279188 ## Mail History Id: 27697873, Consumer Id: 760449, Address Id: 11851043 => Updated with Vin: 1D4GP24393B260967 ## Mail History Id: 27698196, Consumer Id: 816839, Address Id: 7416472 => Updated with Vin: 1GYEK63N55R194242 ## Mail History Id: 27698034, Consumer Id: 798138, Address Id: 10213319 => Updated with Vin: 1G6EL12YXWU602446 ## Mail History Id: 27697909, Consumer Id: 773033, Address Id: 10219274 => Updated with Vin: 3GYFK62837G304708 ## Mail History Id: 27698326, Consumer Id: 800958, Address Id: 10214006 => Updated with Vin: 1GHDT13W1V2725336 ## Mail History Id: 27698113, Consumer Id: 823249, Address Id: 8309584 => Updated with Vin: 1G4HD572X6U130067 ## Mail History Id: 27697858, Consumer Id: 760226, Address Id: 7878450 => Updated with Vin: 1G3NF52E64C183323 ## Mail History Id: 27698362, Consumer Id: 799362, Address Id: 10214091 => Updated with Vin: 1G6KS52Y6VU838748 ## Mail History Id: 27698517, Consumer Id: 821901, Address Id: 11872101 => Updated with Vin: 2G4WF5218V1433536 ## Mail History Id: 27697856, Consumer Id: 803178, Address Id: 7878445 => Updated with Vin: 1G6KE54Y64U138120 ## Mail History Id: 27698021, Consumer Id: 803045, Address Id: 11872232 => Updated with Vin: 1G6KD54Y8XU745336 ## Mail History Id: 27698772, Consumer Id: 819928, Address Id: 10216651 => Updated with Vin: 1G6KD54Y74U127081 ## Mail History Id: 27698485, Consumer Id: 817315, Address Id: 10209085 => Updated with Vin: 1G6EL12Y4VU615191 ## Mail History Id: 27698398, Consumer Id: 799417, Address Id: 10214346 => Updated with Vin: 1G3WS52K7WF333883 ## Mail History Id: 27698352, Consumer Id: 799209, Address Id: 10214066 => Updated with Vin: 1G3HY52K8SH303359 ## Mail History Id: 27697727, Consumer Id: 801637, Address Id: 10217373 => Updated with Vin: 1G3GS64C814162694 ## Mail History Id: 27698678, Consumer Id: 806673, Address Id: 10215737 => Updated with Vin: 1G4HR54K82U203341 ## Mail History Id: 27698558, Consumer Id: 803395, Address Id: 10214844 => Updated with Vin: 1GHDX23E61D281449 ## Mail History Id: 27698774, Consumer Id: 822269, Address Id: 10216704 => Updated with Vin: 1G6DC67A060127918 ## Mail History Id: 27697901, Consumer Id: 798462, Address Id: 10219180 => Updated with Vin: 1G6KE57Y22U287701 ## Mail History Id: 27698127, Consumer Id: 803044, Address Id: 11872231 => Updated with Vin: 1G6KD52Y8VU219675 ## Mail History Id: 27698077, Consumer Id: 801716, Address Id: 11871612 => Updated with Vin: 1G6CD53B8P4227471 ## Mail History Id: 27697799, Consumer Id: 772929, Address Id: 10217943 => Updated with Vin: 1GYEE63A470179307 ## Mail History Id: 27698836, Consumer Id: 802541, Address Id: 10216510 => Updated with Vin: 1G6DM57N130166975 ## Mail History Id: 27697705, Consumer Id: 760212, Address Id: 10217119 => Updated with Vin: 1GYEK63N85R111595 ## Mail History Id: 27698141, Consumer Id: 820473, Address Id: 11869584 => Updated with Vin: 1G6KE57YX2U296307 ## Mail History Id: 27698526, Consumer Id: 798243, Address Id: 10214658 => Updated with Vin: 1G3HY52L4RH347846 ## Mail History Id: 27698796, Consumer Id: 821675, Address Id: 10216848 => Updated with Vin: 1G3NL52E52C166521 ## Mail History Id: 27698244, Consumer Id: 760443, Address Id: 10213838 => Updated with Vin: 1G6KD54Y9XU772965 ## Mail History Id: 27698318, Consumer Id: 801282, Address Id: 11871515 => Updated with Vin: 1G3GR62C0X4117174 ## Mail History Id: 27698460, Consumer Id: 823285, Address Id: 10214534 => Updated with Vin: 1G6DC67A670161539 ## Mail History Id: 27698818, Consumer Id: 806046, Address Id: 10216417 => Updated with Vin: 1GYEK63N92R201219 ## Mail History Id: 27697677, Consumer Id: 774313, Address Id: 10217030 => Updated with Vin: 3GYFK66N23G210426 ## Mail History Id: 27697753, Consumer Id: 774321, Address Id: 10217531 => Updated with Vin: 1G3WH52H82F160212 ## Mail History Id: 27698554, Consumer Id: 816805, Address Id: 10214832 => Updated with Vin: 1G6KE57Y81U148557 ## Mail History Id: 27698320, Consumer Id: 760445, Address Id: 10213998 => Updated with Vin: 1G6KE54Y2XU801106 ## Mail History Id: 27698698, Consumer Id: 798052, Address Id: 10215969 => Updated with Vin: 1GHDT13S532282750 ## Mail History Id: 27698392, Consumer Id: 806635, Address Id: 7416589 => Updated with Vin: 1GYEK63N64R318890 ## Mail History Id: 27698764, Consumer Id: 804249, Address Id: 10215853 => Updated with Vin: 1GHDT13S522394575 ## Mail History Id: 27697717, Consumer Id: 801201, Address Id: 10217234 => Updated with Vin: 1G6KD54Y83U101538 ## Mail History Id: 27697825, Consumer Id: 823277, Address Id: 10218134 => Updated with Vin: 1G6DC67A650233532 ## Mail History Id: 27697978, Consumer Id: 798467, Address Id: 10212638 => Updated with Vin: 1G6KE54Y5XU805540 ## Mail History Id: 27697795, Consumer Id: 799569, Address Id: 10217875 => Updated with Vin: 1G3WX52HXYF152771 ## Mail History Id: 27698680, Consumer Id: 798562, Address Id: 10215738 => Updated with Vin: 1G6KY5490WU929343 ## Mail History Id: 27698518, Consumer Id: 799605, Address Id: 7416911 => Updated with Vin: 1G3GR64H424180621 ## Mail History Id: 27697757, Consumer Id: 806957, Address Id: 10217544 => Updated with Vin: 1GYEE53A680134204 ## Mail History Id: 27697879, Consumer Id: 823275, Address Id: 10219011 => Updated with Vin: 1GCDT19X0W8239802 ## Mail History Id: 27698175, Consumer Id: 760388, Address Id: 11851015 => Updated with Vin: 3GYEK63N82G262612 ## Mail History Id: 27698570, Consumer Id: 821724, Address Id: 10214932 => Updated with Vin: 1GYEE637760150774 ## Mail History Id: 27698224, Consumer Id: 823113, Address Id: 7415984 => Updated with Vin: 1G3NF12EXYC360342 ## Mail History Id: 27698692, Consumer Id: 801048, Address Id: 10215929 => Updated with Vin: 1G3HN52K9S4818189 ## Mail History Id: 27697891, Consumer Id: 807184, Address Id: 10219142 => Updated with Vin: 1G6KD54Y92U228085 ## Mail History Id: 27698656, Consumer Id: 760255, Address Id: 11850964 => Updated with Vin: 1G6KD57Y17U126895 ## Mail History Id: 27697714, Consumer Id: 820503, Address Id: 7415431 => Updated with Vin: 1GYEE637X60156276 ## Mail History Id: 27698342, Consumer Id: 804721, Address Id: 7416290 => Updated with Vin: 1G6KE54Y74U191716 ## Mail History Id: 27697743, Consumer Id: 799748, Address Id: 10217489 => Updated with Vin: 1GYEK63N22R165910 ## Mail History Id: 27698170, Consumer Id: 773068, Address Id: 7415865 => Updated with Vin: 1G6KE54Y65U131928 ## Mail History Id: 27698350, Consumer Id: 800638, Address Id: 10214062 => Updated with Vin: 1G3WS52K5WF360080 ## Mail History Id: 27698028, Consumer Id: 807189, Address Id: 7878935 => Updated with Vin: 1G6KD54Y25U121495 ## Mail History Id: 27697847, Consumer Id: 798136, Address Id: 10218475 => Updated with Vin: 1G6CD1152K4295957 ## Mail History Id: 27698562, Consumer Id: 818447, Address Id: 266534 => Updated with Vin: 1GKEK63U05J175159 ## Mail History Id: 27697787, Consumer Id: 798245, Address Id: 6530009 => Updated with Vin: 1G3GR62C7T4109499 ## Mail History Id: 27698544, Consumer Id: 798122, Address Id: 7416996 => Updated with Vin: 1G6KE57Y01U150285 ## Mail History Id: 27698476, Consumer Id: 800762, Address Id: 10214575 => Updated with Vin: 1G3CX52K7S4308802 ## Mail History Id: 27698207, Consumer Id: 798130, Address Id: 11869727 => Updated with Vin: 1G6KD54Y1XU785645 ## Mail History Id: 27698776, Consumer Id: 798947, Address Id: 10216739 => Updated with Vin: 1G6KS54Y7YU176163 ## Mail History Id: 27698474, Consumer Id: 800241, Address Id: 7416835 => Updated with Vin: 1G6KS54YXYU159101 ## Mail History Id: 27698632, Consumer Id: 807420, Address Id: 10215451 => Updated with Vin: 1G3NB52M2X6322806 ## Mail History Id: 27697695, Consumer Id: 806328, Address Id: 10217077 => Updated with Vin: 1G6ET1298YU176624 ## Mail History Id: 27698486, Consumer Id: 760240, Address Id: 7416869 => Updated with Vin: 1GHDT13W8X2713302 ## Mail History Id: 27698412, Consumer Id: 760394, Address Id: 7416700 => Updated with Vin: 1G6ET12942B102068 ## Mail History Id: 27697853, Consumer Id: 760444, Address Id: 10218540 => Updated with Vin: 1GYEK63N92R292976 ## Mail History Id: 27698047, Consumer Id: 821899, Address Id: 11876597 => Updated with Vin: 1G6KD57Y46U101620 ## Mail History Id: 27697925, Consumer Id: 803032, Address Id: 10219343 => Updated with Vin: 1GYEK63N92R102755 ## Mail History Id: 27698230, Consumer Id: 817176, Address Id: 7416003 => Updated with Vin: 1GYEE637540165500 ## Mail History Id: 27698031, Consumer Id: 803686, Address Id: 11872511 => Updated with Vin: 1G6DM577340122611 ## Mail History Id: 27697971, Consumer Id: 800886, Address Id: 10220696 => Updated with Vin: 1G6KD52B1RU260490 ## Mail History Id: 27698654, Consumer Id: 801387, Address Id: 10215591 => Updated with Vin: 1G6KD54Y22U149955 ## Mail History Id: 27698226, Consumer Id: 798093, Address Id: 7415988 => Updated with Vin: 1GYEK63R1YR191409 ## Mail History Id: 27698312, Consumer Id: 823133, Address Id: 7416219 => Updated with Vin: 1GYFK63878R105693 ## Mail History Id: 27697998, Consumer Id: 817124, Address Id: 11869710 => Updated with Vin: 1G6KS54Y63U247040 ## Mail History Id: 27697719, Consumer Id: 800602, Address Id: 10217249 => Updated with Vin: 1G6KD54YX1U250028 ## Mail History Id: 27697915, Consumer Id: 800243, Address Id: 10219290 => Updated with Vin: 1G6KE57Y7YU291445 ## Mail History Id: 27698202, Consumer Id: 818113, Address Id: 7415907 => Updated with Vin: 3GYFK66N15G191595 ## Mail History Id: 27698708, Consumer Id: 807211, Address Id: 10216022 => Updated with Vin: 1G6KY54901U191827 ## Mail History Id: 27697939, Consumer Id: 805018, Address Id: 10219473 => Updated with Vin: 1G3WS52K1WF362862 ## Mail History Id: 27698826, Consumer Id: 800567, Address Id: 10216440 => Updated with Vin: 1G6ET1297VU606865 ## Mail History Id: 27698216, Consumer Id: 798193, Address Id: 7415976 => Updated with Vin: 1GYEK63N93R113028 ## Mail History Id: 27698834, Consumer Id: 799855, Address Id: 11870560 => Updated with Vin: 1G6KE52Y0VU200986 ## Mail History Id: 27698420, Consumer Id: 801625, Address Id: 7416715 => Updated with Vin: 1G3GR64H324167262 ## Mail History Id: 27698606, Consumer Id: 821130, Address Id: 11876343 => Updated with Vin: 1GYFK63837R171124 ## Mail History Id: 27698464, Consumer Id: 800724, Address Id: 7416830 => Updated with Vin: 1G3WX52H42F201664 ## Mail History Id: 27698364, Consumer Id: 797987, Address Id: 7416340 => Updated with Vin: 1G6KY5496XU911348 ## Mail History Id: 27698778, Consumer Id: 800761, Address Id: 10216740 => Updated with Vin: 1G3GS64C914236012 ## Mail History Id: 27698630, Consumer Id: 801499, Address Id: 10215441 => Updated with Vin: 1G6KY549XYU254765 ## Mail History Id: 27697967, Consumer Id: 806887, Address Id: 8309297 => Updated with Vin: 1G6KF57984U170505 ## Mail History Id: 27697782, Consumer Id: 760216, Address Id: 10211425 => Updated with Vin: 1G6KY5499WU933200 ## Mail History Id: 27698005, Consumer Id: 800764, Address Id: 11871036 => Updated with Vin: 1G3NL52E81C137321 ## Mail History Id: 27698099, Consumer Id: 798333, Address Id: 11869822 => Updated with Vin: 1G6KF579X1U219019 ## Mail History Id: 27698166, Consumer Id: 817164, Address Id: 7415841 => Updated with Vin: 1G6KS54Y03U182721 ## Mail History Id: 27698109, Consumer Id: 802544, Address Id: 11871941 => Updated with Vin: 1G3NL52E31C121589 ## Mail History Id: 27698536, Consumer Id: 807800, Address Id: 11877094 => Updated with Vin: 1G6EL12Y6RU601914 ## Mail History Id: 27698508, Consumer Id: 760291, Address Id: 10214618 => Updated with Vin: 1G3NL52T1XC356614 ## Mail History Id: 27698592, Consumer Id: 800675, Address Id: 10215118 => Updated with Vin: 1G6EL12Y7XU609078 ## Mail History Id: 27698111, Consumer Id: 802216, Address Id: 11871753 => Updated with Vin: 1G6KD54Y9YU342094 ## Mail History Id: 27698636, Consumer Id: 801327, Address Id: 10215526 => Updated with Vin: 1G3NL52T2XC313304 ## Mail History Id: 27697724, Consumer Id: 799867, Address Id: 10210592 => Updated with Vin: 1G6EL12Y1WU600486 ## Mail History Id: 27697726, Consumer Id: 798244, Address Id: 7878056 => Updated with Vin: 1G3GR64H714229275 ## Mail History Id: 27697691, Consumer Id: 801113, Address Id: 10217071 => Updated with Vin: 1G6KF57933U109545 ## Mail History Id: 27698123, Consumer Id: 760446, Address Id: 11851042 => Updated with Vin: 1G6DP567X50104231 ## Mail History Id: 27698481, Consumer Id: 817816, Address Id: 11870833 => Updated with Vin: 1GYEE637950211685 ## Mail History Id: 27697707, Consumer Id: 798449, Address Id: 10217140 => Updated with Vin: 1GYEK63NX2R176010 ## Mail History Id: 27698618, Consumer Id: 800892, Address Id: 10215316 => Updated with Vin: 1G6KD57YX2U245697 ## Mail History Id: 27698496, Consumer Id: 821344, Address Id: 7416882 => Updated with Vin: 1GYFK63857R146967 ## Mail History Id: 27698134, Consumer Id: 797905, Address Id: 7415734 => Updated with Vin: 1G3NL12E5YC398229 ## Mail History Id: 27698530, Consumer Id: 803563, Address Id: 7416942 => Updated with Vin: 1GHDX03E31D273829 ## Mail History Id: 27698012, Consumer Id: 798394, Address Id: 11869845 => Updated with Vin: 1G6CD53B9N4230361 ## Mail History Id: 27697779, Consumer Id: 805067, Address Id: 10217699 => Updated with Vin: 1GYEK63N73R279287 ## Mail History Id: 27698400, Consumer Id: 818533, Address Id: 10214358 => Updated with Vin: 1G6EL12Y5XU614991 ## Mail History Id: 27697945, Consumer Id: 760521, Address Id: 10220093 => Updated with Vin: 1G6KE57Y71U195417 ## Mail History Id: 27697951, Consumer Id: 801500, Address Id: 10220155 => Updated with Vin: 1GYEK63RXYR179002 ## Mail History Id: 27697973, Consumer Id: 818294, Address Id: 10220783 => Updated with Vin: 1G6KD54Y65U150773 ## Mail History Id: 27697692, Consumer Id: 760395, Address Id: 11851020 => Updated with Vin: 1G6KE54YXWU795599 ## Mail History Id: 27698033, Consumer Id: 817178, Address Id: 11869902 => Updated with Vin: 1G6KY54962U266600 ## Mail History Id: 27698454, Consumer Id: 806033, Address Id: 7416805 => Updated with Vin: 1G6KD54Y32U196220 ## Mail History Id: 27697857, Consumer Id: 816776, Address Id: 10218619 => Updated with Vin: 1GYEK63N02R283261 ## Mail History Id: 27698022, Consumer Id: 797885, Address Id: 7878897 => Updated with Vin: 1GYEK63N42R109287 ## Mail History Id: 27698288, Consumer Id: 804941, Address Id: 7416140 => Updated with Vin: 1G3NL52E51C255021 ## Mail History Id: 27698217, Consumer Id: 802540, Address Id: 11871940 => Updated with Vin: 1GYEK63N12R107206 ## Mail History Id: 27698546, Consumer Id: 803970, Address Id: 10214726 => Updated with Vin: 1G6KY5491XU908180 ## Mail History Id: 27698346, Consumer Id: 816620, Address Id: 7416309 => Updated with Vin: 1GYEE63A040180546 ## Mail History Id: 27697687, Consumer Id: 798327, Address Id: 10217033 => Updated with Vin: 1G6KS54Y0WU926662 ## Mail History Id: 27697957, Consumer Id: 760403, Address Id: 10220214 => Updated with Vin: 1GYEK13R0YR108491 ## Mail History Id: 27698846, Consumer Id: 798525, Address Id: 11869889 => Updated with Vin: 1G6KD54Y43U154916 ## Mail History Id: 27698214, Consumer Id: 798192, Address Id: 7415954 => Updated with Vin: 1GYEK63N82R123693 ## Mail History Id: 27698090, Consumer Id: 873836, Address Id: 10213491 => Updated with Vin: 1GYFK66847R379198 ## Mail History Id: 27698069, Consumer Id: 799545, Address Id: 11870429 => Updated with Vin: 1G6KS54Y11U295686 ## Mail History Id: 27697929, Consumer Id: 802273, Address Id: 10219372 => Updated with Vin: 1GYEK63N44R117361 ## Mail History Id: 27697961, Consumer Id: 798099, Address Id: 10220387 => Updated with Vin: 1G6KD54Y21U270015 ## Mail History Id: 27698608, Consumer Id: 822810, Address Id: 10215245 => Updated with Vin: 3GYFK62807G300972 ## Mail History Id: 27697872, Consumer Id: 799810, Address Id: 6525008 => Updated with Vin: 1GYEK63N52R154531 ## Mail History Id: 27698163, Consumer Id: 798943, Address Id: 11870110 => Updated with Vin: 1GYEK63N42R154830 ## Mail History Id: 27697941, Consumer Id: 817155, Address Id: 10219924 => Updated with Vin: 1G6KD54Y22U288130 ## Mail History Id: 27698662, Consumer Id: 807924, Address Id: 10215608 => Updated with Vin: 1G6KD54Y94U195768 ## Mail History Id: 27697759, Consumer Id: 816200, Address Id: 10217547 => Updated with Vin: 3GNEK12T14G343051 ## Mail History Id: 27698432, Consumer Id: 822968, Address Id: 7416752 => Updated with Vin: 1GYFK66867R425498 ## Mail History Id: 27697862, Consumer Id: 760317, Address Id: 7878463 => Updated with Vin: 3GYEK63N42G217909 ## Mail History Id: 27698470, Consumer Id: 817001, Address Id: 7416831 => Updated with Vin: 2G1WH52KX49190196 ## Mail History Id: 27698264, Consumer Id: 799541, Address Id: 7416116 => Updated with Vin: 1GYEK63N92R182915 ## Mail History Id: 27698157, Consumer Id: 802106, Address Id: 11869809 => Updated with Vin: 1G6KE54Y84U108102 ## Mail History Id: 27698498, Consumer Id: 799353, Address Id: 7416888 => Updated with Vin: 1G6KE57Y62U191828 ## Mail History Id: 27698652, Consumer Id: 798460, Address Id: 10215583 => Updated with Vin: 3GYEK63N92G232535 ## Mail History Id: 27697898, Consumer Id: 805068, Address Id: 7878541 => Updated with Vin: 1GYEK63N02R100389 ## Mail History Id: 27697887, Consumer Id: 801440, Address Id: 10219091 => Updated with Vin: 1G6KE57Y83U150876 ## Mail History Id: 27698487, Consumer Id: 798326, Address Id: 11869819 => Updated with Vin: 1G6KY5498XU924246 ## Mail History Id: 27697731, Consumer Id: 798185, Address Id: 10217403 => Updated with Vin: 1G6KY5497YU169785 ## Mail History Id: 27697745, Consumer Id: 797881, Address Id: 10217517 => Updated with Vin: 1G3NF52EX2C231113 ## Mail History Id: 27698676, Consumer Id: 799806, Address Id: 10215684 => Updated with Vin: 1GYEK63N32R232787 ## Mail History Id: 27697696, Consumer Id: 797807, Address Id: 7877946 => Updated with Vin: 1G3WH52H41F104217 ## Mail History Id: 27698688, Consumer Id: 822574, Address Id: 10215755 => Updated with Vin: 1GYFK63897R359629 ## Mail History Id: 27698720, Consumer Id: 800977, Address Id: 10216078 => Updated with Vin: 1GYEK63N03R230948 ## Mail History Id: 27698161, Consumer Id: 801705, Address Id: 11871296 => Updated with Vin: 1G6EL12B5PU605946 ## Mail History Id: 27697756, Consumer Id: 822555, Address Id: 11876823 => Updated with Vin: 1GYFK63837R362820 ## Mail History Id: 27698576, Consumer Id: 803201, Address Id: 10214936 => Updated with Vin: 1G3AJ55M9T6420559 ## Mail History Id: 27698696, Consumer Id: 805987, Address Id: 10561723 => Updated with Vin: 1G3NL52EXXC308417 ## Mail History Id: 27698126, Consumer Id: 820588, Address Id: 7415691 => Updated with Vin: 1G6KD57Y16U179546 ## Mail History Id: 27698462, Consumer Id: 799598, Address Id: 7416825 => Updated with Vin: 1G3NL52T71C144856 ## Mail History Id: 27698574, Consumer Id: 801196, Address Id: 10214935 => Updated with Vin: 1G6DM57N030104337 ## Mail History Id: 27697690, Consumer Id: 802486, Address Id: 7877934 => Updated with Vin: 1G6KY5498YU226687 ## Mail History Id: 27698048, Consumer Id: 821643, Address Id: 11850980 => Updated with Vin: 1G6KD57Y27U123343 ## Mail History Id: 27698458, Consumer Id: 799594, Address Id: 7416806 => Updated with Vin: 1G6ET1296YB700218 ## Mail History Id: 27698514, Consumer Id: 760390, Address Id: 7416905 => Updated with Vin: 1G4HP52K95U151358 ## Mail History Id: 27697738, Consumer Id: 800869, Address Id: 7878109 => Updated with Vin: 1G6KY54962U193146 ## Mail History Id: 27698850, Consumer Id: 806960, Address Id: 10216999 => Updated with Vin: 1G6KD57Y68U120186 ## Mail History Id: 27697859, Consumer Id: 820853, Address Id: 11871558 => Updated with Vin: 1G6KD54Y95U265545 ## Mail History Id: 27698648, Consumer Id: 799328, Address Id: 10215580 => Updated with Vin: 1GHDT13S222229468 ## Mail History Id: 27698302, Consumer Id: 801203, Address Id: 7416184 => Updated with Vin: 1G6KE57YX2U304857 ## Mail History Id: 27697800, Consumer Id: 798197, Address Id: 7878276 => Updated with Vin: 1G6KD54Y42U103172 ## Mail History Id: 27697944, Consumer Id: 760386, Address Id: 7878668 => Updated with Vin: 1G6KD54Y22U302429 ## Mail History Id: 27698436, Consumer Id: 807621, Address Id: 7416759 => Updated with Vin: 1GYEK63N04R274076 ## Mail History Id: 27698804, Consumer Id: 798458, Address Id: 10216906 => Updated with Vin: 1G6KF57992U299155 ## Mail History Id: 27698059, Consumer Id: 803500, Address Id: 11872454 => Updated with Vin: 1G6ET1294XU608222 ## Mail History Id: 27697965, Consumer Id: 801503, Address Id: 10220572 => Updated with Vin: 1GKEK13R3XR900479 ## Mail History Id: 27698095, Consumer Id: 806560, Address Id: 11874015 => Updated with Vin: 1G6KD54Y94U100433 ## Mail History Id: 27698408, Consumer Id: 800676, Address Id: 7416661 => Updated with Vin: 1G6KD54Y22U304035 ## Mail History Id: 27698426, Consumer Id: 799716, Address Id: 7416736 => Updated with Vin: 1G6KS54Y32U134869 ## Mail History Id: 27698440, Consumer Id: 802491, Address Id: 7416770 => Updated with Vin: 1GYEK63N42R305309 ## Mail History Id: 27697913, Consumer Id: 798137, Address Id: 10219289 => Updated with Vin: 1GYEK63N52R271655 ## Mail History Id: 27697930, Consumer Id: 772913, Address Id: 6526687 => Updated with Vin: 1GYFK63807R413934 ## Mail History Id: 27698550, Consumer Id: 823319, Address Id: 10214774 => Updated with Vin: 3GYFK62867G237490 ## Mail History Id: 27698830, Consumer Id: 800233, Address Id: 10216494 => Updated with Vin: 1GYEK63N53R114175 ## Mail History Id: 27698824, Consumer Id: 800888, Address Id: 10216433 => Updated with Vin: 1G6ET1293YU151758 ## Mail History Id: 27698324, Consumer Id: 798240, Address Id: 7416249 => Updated with Vin: 1GHDT13S422138427 ## Mail History Id: 27698372, Consumer Id: 804621, Address Id: 10214139 => Updated with Vin: 1G3NB52M7V6305092 ## Mail History Id: 27698185, Consumer Id: 807850, Address Id: 11876757 => Updated with Vin: 1G6DC67A950139693 ## Mail History Id: 27698404, Consumer Id: 800824, Address Id: 10214386 => Updated with Vin: 1G6KE54Y7XU771505 ## Mail History Id: 27698822, Consumer Id: 802583, Address Id: 10216424 => Updated with Vin: 1G3WX52H0YF192339 ## Mail History Id: 27698164, Consumer Id: 802221, Address Id: 7415831 => Updated with Vin: 1G2WP52K4YF311039 ## Mail History Id: 27698658, Consumer Id: 820799, Address Id: 10215600 => Updated with Vin: 1GYFK63807R166673 ## Mail History Id: 27698051, Consumer Id: 803584, Address Id: 11872485 => Updated with Vin: 1GYDE637340124844 ## Mail History Id: 27698396, Consumer Id: 804687, Address Id: 7416606 => Updated with Vin: 1G6KD54Y62U142605 ## Mail History Id: 27698176, Consumer Id: 800953, Address Id: 7416416 => Updated with Vin: 1G6KS54Y43U100988 ## Mail History Id: 27697780, Consumer Id: 799745, Address Id: 10211386 => Updated with Vin: 1G6KD54Y9XU755440 ## Mail History Id: 27698806, Consumer Id: 799399, Address Id: 10216919 => Updated with Vin: 1GYEK63N43R208645 ## Mail History Id: 27698812, Consumer Id: 803527, Address Id: 8309077 => Updated with Vin: 1G3GS64C634112489 ## Mail History Id: 27698102, Consumer Id: 820776, Address Id: 7415599 => Updated with Vin: 1GYFK638X7R138136 ## Mail History Id: 27697748, Consumer Id: 800553, Address Id: 7878147 => Updated with Vin: 3GYEK63NX3G156163 ## Mail History Id: 27698250, Consumer Id: 823164, Address Id: 7416058 => Updated with Vin: 1G6EL12Y02B100762 ## Mail History Id: 27698786, Consumer Id: 816984, Address Id: 10216781 => Updated with Vin: 1G6KD54YX2U296248 ## Mail History Id: 27697885, Consumer Id: 805042, Address Id: 4231396 => Updated with Vin: 1G6KE57Y54U146754 ## Mail History Id: 27697908, Consumer Id: 760273, Address Id: 10212431 => Updated with Vin: 1G6KD52YXTU306118 ## Mail History Id: 27698151, Consumer Id: 799295, Address Id: 11870322 => Updated with Vin: 1G6KS54Y01U114514 ## Mail History Id: 27698756, Consumer Id: 799312, Address Id: 10215770 => Updated with Vin: 3GYEK63N13G133838 ## Mail History Id: 27698334, Consumer Id: 821419, Address Id: 7416284 => Updated with Vin: 1G6KD54Y85U267321 ## Mail History Id: 27698726, Consumer Id: 798242, Address Id: 10216106 => Updated with Vin: 1GHDX03E2XD196881 ## Mail History Id: 27698694, Consumer Id: 801704, Address Id: 10215932 => Updated with Vin: 3GYEK63N12G340776 ## Mail History Id: 27698195, Consumer Id: 820852, Address Id: 11876786 => Updated with Vin: 1GYFK63857R160609 ## Mail History Id: 27697678, Consumer Id: 760399, Address Id: 7877898 => Updated with Vin: 1GYEK63N43R201520 ## Mail History Id: 27697956, Consumer Id: 797815, Address Id: 7878687 => Updated with Vin: 3GYFK66N33G230457 ## Mail History Id: 27697848, Consumer Id: 798356, Address Id: 7878442 => Updated with Vin: 1GYEK63N73R257869 ## Mail History Id: 27697921, Consumer Id: 800964, Address Id: 10219340 => Updated with Vin: 1G6DM57N130165213 ## Mail History Id: 27698650, Consumer Id: 798131, Address Id: 10215584 => Updated with Vin: 1GYEK63N63R276610 ## Mail History Id: 27698129, Consumer Id: 800603, Address Id: 11870979 => Updated with Vin: 3GYEK63N43G241662 ## Mail History Id: 27698374, Consumer Id: 798188, Address Id: 7416388 => Updated with Vin: 1GYEK63R9YR218856 ## Mail History Id: 27697806, Consumer Id: 806279, Address Id: 7878287 => Updated with Vin: 1GYEK63N74R232987 ## Mail History Id: 27698023, Consumer Id: 798842, Address Id: 11870064 => Updated with Vin: 1G6KD54Y83U142980 ## Mail History Id: 27697679, Consumer Id: 800823, Address Id: 11871059 => Updated with Vin: 1G6KS54Y41U124429 ## Mail History Id: 27698093, Consumer Id: 808116, Address Id: 11870515 => Updated with Vin: 1GYEE637050100894 ## Mail History Id: 27697747, Consumer Id: 817235, Address Id: 10562665 => Updated with Vin: 3GYFK66N23G261585 ## Mail History Id: 27697694, Consumer Id: 802485, Address Id: 7877943 => Updated with Vin: 1G6DM577640111313 ## Mail History Id: 27697936, Consumer Id: 823306, Address Id: 7878650 => Updated with Vin: 2GTFK69U231297536 ## Mail History Id: 27697752, Consumer Id: 802584, Address Id: 7878167 => Updated with Vin: 1G3GS64C614168655 ## Mail History Id: 27698642, Consumer Id: 802636, Address Id: 10215557 => Updated with Vin: 1G6KS54YX3U196965 ## Mail History Id: 27698108, Consumer Id: 816748, Address Id: 7415605 => Updated with Vin: 1G6DC67A150191402 ## Mail History Id: 27697976, Consumer Id: 802105, Address Id: 7878767 => Updated with Vin: 1G6DM577X40108527 ## Mail History Id: 27698808, Consumer Id: 818225, Address Id: 10216942 => Updated with Vin: 1G6KD57Y26U110008 ## Mail History Id: 27698061, Consumer Id: 802337, Address Id: 11871878 => Updated with Vin: 1G3HN52K9W4820045 ## Mail History Id: 27698306, Consumer Id: 822779, Address Id: 10213951 => Updated with Vin: 1GYFK63897R204594 ## Mail History Id: 27698762, Consumer Id: 820448, Address Id: 10215809 => Updated with Vin: 1G6DN56S550199226 ## Mail History Id: 27698598, Consumer Id: 806937, Address Id: 11870781 => Updated with Vin: 1G6KD57Y96U154121 ## Mail History Id: 27698499, Consumer Id: 802633, Address Id: 11871995 => Updated with Vin: 1G6KE57Y81U166623 ## Mail History Id: 27698568, Consumer Id: 760260, Address Id: 10214913 => Updated with Vin: 1GYEE63AX60187457 ## Mail History Id: 27698484, Consumer Id: 798196, Address Id: 7416862 => Updated with Vin: 1GYEK63N33R279769 ## Mail History Id: 27697919, Consumer Id: 802953, Address Id: 10219336 => Updated with Vin: 1GYEK63N34R141229 ## Mail History Id: 27698644, Consumer Id: 803006, Address Id: 10215558 => Updated with Vin: W06VR54R5YR128812 ## Mail History Id: 27698534, Consumer Id: 760305, Address Id: 7416962 => Updated with Vin: 3GYFK66N04G147568 ## Mail History Id: 27697819, Consumer Id: 822416, Address Id: 11876676 => Updated with Vin: 1GYFK63817R307086 ## Mail History Id: 27698098, Consumer Id: 804695, Address Id: 7415581 => Updated with Vin: 1GYEE63A540146652 ## Mail History Id: 27697844, Consumer Id: 803486, Address Id: 7878432 => Updated with Vin: 1G6YV34A145600367 ## Mail History Id: 27697864, Consumer Id: 805267, Address Id: 6524998 => Updated with Vin: 1GYEK63N24R183925 ## Mail History Id: 27698616, Consumer Id: 803548, Address Id: 10215290 => Updated with Vin: 1G6DM577940123911 ## Mail History Id: 27698194, Consumer Id: 817955, Address Id: 7416453 => Updated with Vin: 3GYFK66N65G214322 ## Mail History Id: 27697815, Consumer Id: 820801, Address Id: 10218020 => Updated with Vin: 1G6DC67AX60182540 ## Mail History Id: 27698016, Consumer Id: 807207, Address Id: 7878869 => Updated with Vin: 1G6KE57Y43U255513 ## Mail History Id: 27697675, Consumer Id: 804399, Address Id: 10217013 => Updated with Vin: 3GYFK66N93G335648 ## Mail History Id: 27698040, Consumer Id: 822843, Address Id: 7878985 => Updated with Vin: 1G6KD57Y57U185755 ## Mail History Id: 27697931, Consumer Id: 803317, Address Id: 10219374 => Updated with Vin: 1GYEK63N54R144732 ## Mail History Id: 27698139, Consumer Id: 804410, Address Id: 11872910 => Updated with Vin: 1G6KY54972U267724 ## Mail History Id: 27697988, Consumer Id: 804265, Address Id: 7878801 => Updated with Vin: 1G6KE57Y41U126894 ## Mail History Id: 27697922, Consumer Id: 804335, Address Id: 7878596 => Updated with Vin: 1GYEK63N84R134244 ## Mail History Id: 27698600, Consumer Id: 803911, Address Id: 10215220 => Updated with Vin: 3GYFK66N44G166074 ## Mail History Id: 27698300, Consumer Id: 798522, Address Id: 6529479 => Updated with Vin: 3GYFK66N63G223860 ## Mail History Id: 27698019, Consumer Id: 804019, Address Id: 11872767 => Updated with Vin: 1GYEK63NX4R190234 ## Mail History Id: 27697765, Consumer Id: 798186, Address Id: 10217614 => Updated with Vin: 3GYFK66N23G229042 ## Mail History Id: 27697850, Consumer Id: 801108, Address Id: 7878443 => Updated with Vin: 1GYEK63N52R306808 ## Mail History Id: 27698390, Consumer Id: 817000, Address Id: 7416586 => Updated with Vin: 1G6KD57Y65U228934 ## Mail History Id: 27698360, Consumer Id: 799546, Address Id: 7416336 => Updated with Vin: 1G6KE57Y52U229372 ## Mail History Id: 27697911, Consumer Id: 805284, Address Id: 4231562 => Updated with Vin: 1GYEK63N44R258253 ## Mail History Id: 27698766, Consumer Id: 760450, Address Id: 10215875 => Updated with Vin: 3GYEK62N64G185761 ## Mail History Id: 27697905, Consumer Id: 821993, Address Id: 11876441 => Updated with Vin: 1GYFK63857R300898 ## Mail History Id: 27698528, Consumer Id: 804979, Address Id: 7416940 => Updated with Vin: 1G6DM577940150574 ## Mail History Id: 27697741, Consumer Id: 806936, Address Id: 10217483 => Updated with Vin: 1G6DD67V680158125 ## Mail History Id: 27698088, Consumer Id: 804947, Address Id: 7415525 => Updated with Vin: 1GYEK63N53R126715 ## Mail History Id: 27698750, Consumer Id: 822556, Address Id: 11876496 => Updated with Vin: 1GYFK66867R361978 ## Mail History Id: 27698844, Consumer Id: 773024, Address Id: 10216550 => Updated with Vin: 1G6KD57978U112056 ## Mail History Id: 27698416, Consumer Id: 804978, Address Id: 7416704 => Updated with Vin: 1GYEE63A540158400 ## Mail History Id: 27697990, Consumer Id: 805481, Address Id: 7878813 => Updated with Vin: 1G6DM577440116655 ## Mail History Id: 27697784, Consumer Id: 803146, Address Id: 10211435 => Updated with Vin: 1G6KD54Y7XU725479 ## Mail History Id: 27697836, Consumer Id: 807139, Address Id: 7878405 => Updated with Vin: 1G6KF5495XU774781 ## Mail History Id: 27697681, Consumer Id: 805547, Address Id: 10562419 => Updated with Vin: 1G6KD54Y3WU744299 ## Mail History Id: 27697928, Consumer Id: 803636, Address Id: 7878621 => Updated with Vin: 1GYEK63N24R130772 ## Mail History Id: 27698664, Consumer Id: 805250, Address Id: 10215654 => Updated with Vin: 1GHDX13E92D113638 ## Mail History Id: 27698106, Consumer Id: 822069, Address Id: 7415600 => Updated with Vin: 1GYFK66847R313833 ## Mail History Id: 27698004, Consumer Id: 805508, Address Id: 7878838 => Updated with Vin: 1G4HR54K53U119575 ## Mail History Id: 27698042, Consumer Id: 805566, Address Id: 7878988 => Updated with Vin: 1G6EL12Y5YB703943 ## Mail History Id: 27697904, Consumer Id: 802136, Address Id: 7878555 => Updated with Vin: 1G6KF57932U181778 ## Mail History Id: 27698029, Consumer Id: 799746, Address Id: 11870517 => Updated with Vin: 1G6DM57N830171977 ## Mail History Id: 27697843, Consumer Id: 804770, Address Id: 10218428 => Updated with Vin: 1G6KD57Y34U195731 ## Mail History Id: 27697861, Consumer Id: 806332, Address Id: 11873812 => Updated with Vin: 1GYEK63N34R236423 ## Mail History Id: 27697785, Consumer Id: 805321, Address Id: 10217813 => Updated with Vin: 3GYEK63N93G295748 ## Mail History Id: 27698800, Consumer Id: 806229, Address Id: 10216882 => Updated with Vin: 1G6KY5490YU272613 ## Mail History Id: 27697744, Consumer Id: 799857, Address Id: 7878121 => Updated with Vin: W06VR54R21R028818 ## Mail History Id: 27697808, Consumer Id: 805912, Address Id: 7878291 => Updated with Vin: 1G6KD57Y74U249600 ## Mail History Id: 27697865, Consumer Id: 806001, Address Id: 10218799 => Updated with Vin: 1GYEK63N92R106465 ## Mail History Id: 27698672, Consumer Id: 805955, Address Id: 10215674 => Updated with Vin: 3GYFK66NX3G316140 ## Mail History Id: 27697991, Consumer Id: 806770, Address Id: 11874001 => Updated with Vin: 3GYFK66N54G183613 ## Mail History Id: 27698734, Consumer Id: 806504, Address Id: 10216149 => Updated with Vin: 1GYEK63N74R255864 ## Mail History Id: 27698684, Consumer Id: 807247, Address Id: 10215749 => Updated with Vin: 1GNEK13T41R185153 ## Mail History Id: 27698490, Consumer Id: 805998, Address Id: 7416874 => Updated with Vin: 1GYDE637240135995 ## Mail History Id: 27698505, Consumer Id: 821011, Address Id: 11876956 => Updated with Vin: 1GYFK63827R160941 ## Mail History Id: 27698180, Consumer Id: 760350, Address Id: 10560722 => Updated with Vin: 1GYFK668X7R271359 ## Mail History Id: 27697789, Consumer Id: 807185, Address Id: 10217835 => Updated with Vin: 1G6KS54Y71U295157 ## Mail History Id: 27698478, Consumer Id: 821106, Address Id: 7416848 => Updated with Vin: 1GYEE63AX60207187 ## Mail History Id: 27697977, Consumer Id: 807523, Address Id: 10220909 => Updated with Vin: 1GYEK63N14R136675 ## Mail History Id: 27698316, Consumer Id: 807468, Address Id: 10213986 => Updated with Vin: 1G6DW5472LR719029 ## Mail History Id: 27698828, Consumer Id: 760499, Address Id: 10216465 => Updated with Vin: 1G6KD57Y86U163375 ## Mail History Id: 27698068, Consumer Id: 820531, Address Id: 7879048 => Updated with Vin: 1GYEK63N55R144201 ## Mail History Id: 27697711, Consumer Id: 806300, Address Id: 10217181 => Updated with Vin: 1G6DP567750105207 ## Mail History Id: 27698452, Consumer Id: 805500, Address Id: 7416803 => Updated with Vin: 1GYEE63A640144392 ## Mail History Id: 27698489, Consumer Id: 807409, Address Id: 11876912 => Updated with Vin: 1GYEK63N34R294855 ## Mail History Id: 27697989, Consumer Id: 801007, Address Id: 11871455 => Updated with Vin: 1GYEK63N33R111727 ## Mail History Id: 27697968, Consumer Id: 816769, Address Id: 7878741 => Updated with Vin: 1GYDE637140131582 ## Mail History Id: 27698838, Consumer Id: 822503, Address Id: 11876392 => Updated with Vin: 1GYFK63877R375389 ## Mail History Id: 27698209, Consumer Id: 760494, Address Id: 11851060 => Updated with Vin: 1G6KD54Y41U105051 ## Mail History Id: 27698136, Consumer Id: 807450, Address Id: 7415744 => Updated with Vin: 1GYEE637X50126791 ## Mail History Id: 27698206, Consumer Id: 807656, Address Id: 11876327 => Updated with Vin: 1GYEK63N05R150066 ## Mail History Id: 27698114, Consumer Id: 807777, Address Id: 7415646 => Updated with Vin: 3GYFK66N85G128039 ## Mail History Id: 27697948, Consumer Id: 808008, Address Id: 7878683 => Updated with Vin: 3GYFK66N03G255798 ## Mail History Id: 27698027, Consumer Id: 806927, Address Id: 11876559 => Updated with Vin: 1G6KD57Y08U163390 ## Mail History Id: 27698201, Consumer Id: 816203, Address Id: 11876793 => Updated with Vin: 3GYFK66N45G131309 ## Mail History Id: 27697723, Consumer Id: 816349, Address Id: 10217350 => Updated with Vin: 1GYEK63N55R162794 ## Mail History Id: 27697812, Consumer Id: 807998, Address Id: 7878351 => Updated with Vin: 1G6EC12912B106675 ## Mail History Id: 27697960, Consumer Id: 816285, Address Id: 6527277 => Updated with Vin: 1G6KD54Y74U146035 ## Mail History Id: 27698384, Consumer Id: 807976, Address Id: 7416537 => Updated with Vin: 1GYEK63N05R168177 ## Mail History Id: 27698497, Consumer Id: 799501, Address Id: 11869629 => Updated with Vin: 1GYEK63R0YR190980 ## Mail History Id: 27698234, Consumer Id: 806278, Address Id: 7416020 => Updated with Vin: 1G6KS54Y0YU139911 ## Mail History Id: 27697997, Consumer Id: 816227, Address Id: 11876526 => Updated with Vin: 3GYFK66NX3G298478 ## Mail History Id: 27697999, Consumer Id: 772818, Address Id: 11873564 => Updated with Vin: 1GYEK63N42R303883 ## Mail History Id: 27697902, Consumer Id: 803869, Address Id: 7878553 => Updated with Vin: 1G6KD57YX4U166663 ## Mail History Id: 27697867, Consumer Id: 807481, Address Id: 11876414 => Updated with Vin: 1G6DP567950129864 ## Mail History Id: 27698072, Consumer Id: 817668, Address Id: 7879059 => Updated with Vin: 1G6KS54Y34U157121 ## Mail History Id: 27698210, Consumer Id: 626259, Address Id: 7415951 => Updated with Vin: 1GYEE637860142540 ## Mail History Id: 27697716, Consumer Id: 816263, Address Id: 7878034 => Updated with Vin: 1G6DM577540170708 ## Mail History Id: 27698704, Consumer Id: 816266, Address Id: 10216006 => Updated with Vin: 1G6KD54YXXU806721 ## Mail History Id: 27698131, Consumer Id: 821739, Address Id: 11869726 => Updated with Vin: 1G6KE54Y2XU805088 ## Mail History Id: 27697899, Consumer Id: 760364, Address Id: 11851007 => Updated with Vin: 1GYFK63837R385319 ## Mail History Id: 27698438, Consumer Id: 816621, Address Id: 7416767 => Updated with Vin: 1GYEK63N75R160402 ## Mail History Id: 27698152, Consumer Id: 800828, Address Id: 7415799 => Updated with Vin: 1GYEK63N53R138203 ## Mail History Id: 27697992, Consumer Id: 773036, Address Id: 7415478 => Updated with Vin: 1GYEK63N85R172168 ## Mail History Id: 27697974, Consumer Id: 772864, Address Id: 7878754 => Updated with Vin: 1GYEE63A670151380 ## Mail History Id: 27698272, Consumer Id: 822603, Address Id: 11876349 => Updated with Vin: 1GYFK668X7R386382 ## Mail History Id: 27697880, Consumer Id: 772895, Address Id: 7415456 => Updated with Vin: 1GYEK63N65R226227 ## Mail History Id: 27698236, Consumer Id: 804239, Address Id: 7416024 => Updated with Vin: 1GYEK63N34R214583 ## Mail History Id: 27698612, Consumer Id: 760505, Address Id: 10215286 => Updated with Vin: 1GYEK63N83R133187 ## Mail History Id: 27697768, Consumer Id: 816226, Address Id: 7878209 => Updated with Vin: 1GYEK63N55R197478 ## Mail History Id: 27697798, Consumer Id: 818324, Address Id: 11871444 => Updated with Vin: 1GYEE637050235003 ## Mail History Id: 27698758, Consumer Id: 816557, Address Id: 10215780 => Updated with Vin: 1GYEE63A750190167 ## Mail History Id: 27698394, Consumer Id: 816756, Address Id: 7416597 => Updated with Vin: 1GYDE637040130990 ## Mail History Id: 27697764, Consumer Id: 816783, Address Id: 10211189 => Updated with Vin: 1G6DM57NX30116575 ## Mail History Id: 27698640, Consumer Id: 816761, Address Id: 10215552 => Updated with Vin: 1G6KS54Y52U111609 ## Mail History Id: 27697732, Consumer Id: 816558, Address Id: 7878088 => Updated with Vin: 3GYEK63N02G348271 ## Mail History Id: 27697942, Consumer Id: 816806, Address Id: 6526918 => Updated with Vin: 1GYEK63N75R218301 ## Mail History Id: 27698494, Consumer Id: 772832, Address Id: 11873917 => Updated with Vin: 1GYFK63887R423952 ## Mail History Id: 27698219, Consumer Id: 821271, Address Id: 11877645 => Updated with Vin: 1G6YV36A365603562 ## Mail History Id: 27698000, Consumer Id: 816583, Address Id: 7878830 => Updated with Vin: 3GYEK62N95G201310 ## Mail History Id: 27697818, Consumer Id: 807028, Address Id: 11872521 => Updated with Vin: 1GYEK63N55R140598 ## Mail History Id: 27698258, Consumer Id: 817208, Address Id: 10213870 => Updated with Vin: 1GHDT13W1V2714689 ## Mail History Id: 27698511, Consumer Id: 817232, Address Id: 11877641 => Updated with Vin: 1G6KD54Y3XU775408 ## Mail History Id: 27698810, Consumer Id: 817366, Address Id: 10216963 => Updated with Vin: 1G6KS54Y44U173277 ## Mail History Id: 27698078, Consumer Id: 822424, Address Id: 11876282 => Updated with Vin: 1G6KD57Y37U182515 ## Mail History Id: 27698085, Consumer Id: 797860, Address Id: 11869607 => Updated with Vin: 1G6KE57Y0YU322163 ## Mail History Id: 27698052, Consumer Id: 816771, Address Id: 7879023 => Updated with Vin: 1G6YV34A455603314 ## Mail History Id: 27697935, Consumer Id: 806894, Address Id: 10219386 => Updated with Vin: 1G6KD57Y88U137264 ## Mail History Id: 27697760, Consumer Id: 817133, Address Id: 7878184 => Updated with Vin: 1G6KS54Y22U218326 ## Mail History Id: 27697735, Consumer Id: 772924, Address Id: 11870091 => Updated with Vin: 1G6KE57Y12U154945 ## Mail History Id: 27698418, Consumer Id: 798465, Address Id: 7416706 => Updated with Vin: 1G6KD54Y2XU787193 ## Mail History Id: 27698332, Consumer Id: 817586, Address Id: 7416283 => Updated with Vin: 1G6KD54Y24U101973 ## Mail History Id: 27698100, Consumer Id: 760333, Address Id: 7415582 => Updated with Vin: 1GYEK63N15R259698 ## Mail History Id: 27698181, Consumer Id: 816244, Address Id: 11876756 => Updated with Vin: 1GYEE637250181459 ## Mail History Id: 27698010, Consumer Id: 817625, Address Id: 7878850 => Updated with Vin: 1GYEK63N73R123296 ## Mail History Id: 27697895, Consumer Id: 816868, Address Id: 10219171 => Updated with Vin: 1GYEK63N85R175796 ## Mail History Id: 27698187, Consumer Id: 818339, Address Id: 11876762 => Updated with Vin: 1G6DP567550215267 ## Mail History Id: 27698556, Consumer Id: 817803, Address Id: 10214833 => Updated with Vin: 1G6KF57962U249975 ## Mail History Id: 27698314, Consumer Id: 823038, Address Id: 7416221 => Updated with Vin: 1G6KD57Y06U118088 ## Mail History Id: 27697890, Consumer Id: 817623, Address Id: 7878518 => Updated with Vin: 1GYEK63N35R266121 ## Mail History Id: 27698162, Consumer Id: 823089, Address Id: 7415820 => Updated with Vin: 1G6KS54YXYU177713 ## Mail History Id: 27697781, Consumer Id: 821842, Address Id: 10217736 => Updated with Vin: 1GYEK63N62R102180 ## Mail History Id: 27698070, Consumer Id: 817125, Address Id: 7879054 => Updated with Vin: 1G6KD54Y32U257145 ## Mail History Id: 27698030, Consumer Id: 772858, Address Id: 7415503 => Updated with Vin: 1G6DM57N430115602 ## Mail History Id: 27698430, Consumer Id: 821221, Address Id: 10561046 => Updated with Vin: 1GYFK66877R204766 ## Mail History Id: 27698386, Consumer Id: 818115, Address Id: 7416542 => Updated with Vin: 1G6KD54Y55U150067 ## Mail History Id: 27697884, Consumer Id: 817913, Address Id: 7878499 => Updated with Vin: 1GYEK63N22R146693 ## Mail History Id: 27698540, Consumer Id: 818114, Address Id: 7416974 => Updated with Vin: 2G4WS52J931195043 ## Mail History Id: 27698132, Consumer Id: 800234, Address Id: 7415725 => Updated with Vin: 1G6KY54923U193257 ## Mail History Id: 27698519, Consumer Id: 818042, Address Id: 11877913 => Updated with Vin: 1G6KY54922U271356 ## Mail History Id: 27698488, Consumer Id: 818014, Address Id: 10214600 => Updated with Vin: 1G3HN52K9W4803309 ## Mail History Id: 27697917, Consumer Id: 817669, Address Id: 10219312 => Updated with Vin: 1GYEK63N64R290735 ## Mail History Id: 27698262, Consumer Id: 822404, Address Id: 7416096 => Updated with Vin: 1G6DC67AX50208603 ## Mail History Id: 27698076, Consumer Id: 818337, Address Id: 7879083 => Updated with Vin: 1GYEK63N96R119657 ## Mail History Id: 27698232, Consumer Id: 818189, Address Id: 11876335 => Updated with Vin: 1GYEK63N14R255746 ## Mail History Id: 27697793, Consumer Id: 821969, Address Id: 10562924 => Updated with Vin: 1GYFK63887R261269 ## Mail History Id: 27698192, Consumer Id: 799813, Address Id: 7416450 => Updated with Vin: 1G6KD54Y0YU203097 ## Mail History Id: 27698686, Consumer Id: 823042, Address Id: 11876440 => Updated with Vin: 1GYFK63827R397073 ## Mail History Id: 27698590, Consumer Id: 822842, Address Id: 10215093 => Updated with Vin: 1GYEK63N04R316973 ## Mail History Id: 27698548, Consumer Id: 772941, Address Id: 11874179 => Updated with Vin: 1GYEE63A080119669 ## Mail History Id: 27698172, Consumer Id: 807118, Address Id: 7415866 => Updated with Vin: 1G6KY54933U112623 ## Mail History Id: 27697708, Consumer Id: 799719, Address Id: 7877980 => Updated with Vin: 1G6KS54Y32U126920 ## Mail History Id: 27698057, Consumer Id: 760404, Address Id: 11851023 => Updated with Vin: 1GYDE637140122364 ## Mail History Id: 27698074, Consumer Id: 822102, Address Id: 7879080 => Updated with Vin: 3GYFK62827G231993 ## Mail History Id: 27697889, Consumer Id: 760325, Address Id: 10219124 => Updated with Vin: 1G6DN57S540190006 ## Mail History Id: 27698780, Consumer Id: 798846, Address Id: 10216743 => Updated with Vin: 1GYEK63N73R245687 ## Mail History Id: 27697946, Consumer Id: 818583, Address Id: 7878677 => Updated with Vin: 1GYEE63A550194511 ## Mail History Id: 27698578, Consumer Id: 819887, Address Id: 10214941 => Updated with Vin: 1G6KF57934U123222 ## Mail History Id: 27697804, Consumer Id: 818523, Address Id: 4551854 => Updated with Vin: 1GYEE637060147151 ## Mail History Id: 27697750, Consumer Id: 819897, Address Id: 7878165 => Updated with Vin: 1G6EL12Y6YU135674 ## Mail History Id: 27697811, Consumer Id: 820466, Address Id: 11876665 => Updated with Vin: 1G6DC67A950231340 ## Mail History Id: 27698186, Consumer Id: 807026, Address Id: 11876268 => Updated with Vin: 1GYFK63868R198724 ## Mail History Id: 27698848, Consumer Id: 807899, Address Id: 10216604 => Updated with Vin: 1GYEK63NX5R172284 ## Mail History Id: 27698075, Consumer Id: 820926, Address Id: 11876633 => Updated with Vin: 1G6ET1293XU604582 ## Mail History Id: 27698006, Consumer Id: 823135, Address Id: 10558882 => Updated with Vin: 1G6KD57Y57U114586 ## Mail History Id: 27697698, Consumer Id: 804385, Address Id: 7877958 => Updated with Vin: 1G6KF57954U185981 ## Mail History Id: 27697774, Consumer Id: 817206, Address Id: 7878230 => Updated with Vin: 1G6KE57Y55U154659 ## Mail History Id: 27697924, Consumer Id: 816623, Address Id: 11876240 => Updated with Vin: 1G6KS54Y72U194976 ## Mail History Id: 27698073, Consumer Id: 800526, Address Id: 11870939 => Updated with Vin: 1G6KS54Y22U149637 ## Mail History Id: 27698221, Consumer Id: 820872, Address Id: 11878234 => Updated with Vin: 1G6DP577760141723 ## Mail History Id: 27697797, Consumer Id: 760509, Address Id: 10562930 => Updated with Vin: 1GYEK63N86R152634 ## Mail History Id: 27698402, Consumer Id: 798183, Address Id: 7416636 => Updated with Vin: 1GYEK63N32R101276 ## Mail History Id: 27698378, Consumer Id: 816229, Address Id: 10214287 => Updated with Vin: 1GYEE637550148133 ## Mail History Id: 27698310, Consumer Id: 816837, Address Id: 7416217 => Updated with Vin: 3GYFK66N15G167863 ## Mail History Id: 27697713, Consumer Id: 820991, Address Id: 10562467 => Updated with Vin: 1GYFK66867R189063 ## Mail History Id: 27697869, Consumer Id: 773053, Address Id: 10218913 => Updated with Vin: 1GYFK66848R147847 ## Mail History Id: 27698053, Consumer Id: 760246, Address Id: 11850961 => Updated with Vin: 1GYFK63827R138759 ## Mail History Id: 27698744, Consumer Id: 821028, Address Id: 10216255 => Updated with Vin: 1G6KS54Y4XU922180 ## Mail History Id: 27698448, Consumer Id: 821076, Address Id: 11876364 => Updated with Vin: 1GYFK63897R183164 ## Mail History Id: 27698256, Consumer Id: 822780, Address Id: 7416090 => Updated with Vin: 1G6KD57Y57U185058 ## Mail History Id: 27698354, Consumer Id: 802813, Address Id: 11872092 => Updated with Vin: 3GYEK63N43G196321 ## Mail History Id: 27698410, Consumer Id: 760275, Address Id: 10561011 => Updated with Vin: 1GYFK66837R209382 ## Mail History Id: 27698159, Consumer Id: 807167, Address Id: 11874335 => Updated with Vin: 1GYEK63N15R112765 ## Mail History Id: 27698754, Consumer Id: 817341, Address Id: 11876499 => Updated with Vin: 3GYFK66N34G272791 ## Mail History Id: 27697751, Consumer Id: 760215, Address Id: 10562678 => Updated with Vin: 1G6KS5155KU807977 ## Mail History Id: 27698150, Consumer Id: 823313, Address Id: 11876313 => Updated with Vin: 1GYFK63828R186585 ## Mail History Id: 27698622, Consumer Id: 821498, Address Id: 10215404 => Updated with Vin: 3GYFK66N43G235845 ## Mail History Id: 27698203, Consumer Id: 820813, Address Id: 11876795 => Updated with Vin: 1G6YV36A565601067 ## Mail History Id: 27698208, Consumer Id: 821239, Address Id: 7415947 => Updated with Vin: 1GYEE63A760193247 ## Mail History Id: 27697986, Consumer Id: 801907, Address Id: 7878791 => Updated with Vin: 1GYEK63NX2R290590 ## Mail History Id: 27697881, Consumer Id: 821158, Address Id: 11876426 => Updated with Vin: 1G6DP577X60205527 ## Mail History Id: 27697805, Consumer Id: 816955, Address Id: 4230661 => Updated with Vin: 1G6DP567650134939 ## Mail History Id: 27698240, Consumer Id: 821583, Address Id: 7416032 => Updated with Vin: 1GYEK63N64R251806 ## Mail History Id: 27697874, Consumer Id: 823283, Address Id: 7878468 => Updated with Vin: 3GYFK62807G293134 ## Mail History Id: 27698200, Consumer Id: 821404, Address Id: 7415904 => Updated with Vin: 1GYEK63NX4R172395 ## Mail History Id: 27697746, Consumer Id: 821699, Address Id: 10211014 => Updated with Vin: 1G6KS54Y4WU930844 ## Mail History Id: 27698388, Consumer Id: 821430, Address Id: 11876317 => Updated with Vin: 1G6DW677860179714 ## Mail History Id: 27698626, Consumer Id: 760357, Address Id: 11851002 => Updated with Vin: 1GYFK66867R220781 ## Mail History Id: 27697877, Consumer Id: 803739, Address Id: 10219010 => Updated with Vin: 1G6KS54YXYU287449 ## Mail History Id: 27698638, Consumer Id: 760497, Address Id: 10215532 => Updated with Vin: 3GYFK66N25G169461 ## Mail History Id: 27698116, Consumer Id: 760435, Address Id: 7415648 => Updated with Vin: 3GYFK66N95G213889 ## Mail History Id: 27698101, Consumer Id: 821644, Address Id: 11876671 => Updated with Vin: 3GYFK66N46G222114 ## Mail History Id: 27698746, Consumer Id: 821709, Address Id: 11876488 => Updated with Vin: 1GYFK63847R252309 ## Mail History Id: 27697916, Consumer Id: 822738, Address Id: 7878583 => Updated with Vin: 1G6KD54Y11U206449 ## Mail History Id: 27697813, Consumer Id: 821684, Address Id: 11876668 => Updated with Vin: 5GAET13P842301249 ## Mail History Id: 27698502, Consumer Id: 822071, Address Id: 7416900 => Updated with Vin: 1G6KY549X3U259988 ## Mail History Id: 27698700, Consumer Id: 818582, Address Id: 11876449 => Updated with Vin: 1GYEK63N46R159404 ## Mail History Id: 27698380, Consumer Id: 822387, Address Id: 7416533 => Updated with Vin: 1G6DP577960162590 ## Mail History Id: 27697722, Consumer Id: 820454, Address Id: 7878045 => Updated with Vin: 1G6DM57N230135816 ## Mail History Id: 27697900, Consumer Id: 821982, Address Id: 7415460 => Updated with Vin: 1G6KD57Y76U168180 ## Mail History Id: 27698218, Consumer Id: 799874, Address Id: 10213786 => Updated with Vin: 1G6DW52P1RR717400 ## Mail History Id: 27698055, Consumer Id: 801639, Address Id: 11871591 => Updated with Vin: 1GHDT13W812192718 ## Mail History Id: 27698058, Consumer Id: 807901, Address Id: 7415515 => Updated with Vin: 1GYEK63NX5R170714 ## Mail History Id: 27698330, Consumer Id: 760329, Address Id: 11850995 => Updated with Vin: 1GYEE637860205359 ## Mail History Id: 27698588, Consumer Id: 822170, Address Id: 10561378 => Updated with Vin: 1GYFK63827R329727 ## Mail History Id: 27697893, Consumer Id: 822467, Address Id: 11876433 => Updated with Vin: 1G6KD57Y97U180655 ## Mail History Id: 27698015, Consumer Id: 798816, Address Id: 11870043 => Updated with Vin: 1GYEK63N32R114450 ## Mail History Id: 27698013, Consumer Id: 822752, Address Id: 11876546 => Updated with Vin: 3GYFK62817G203585 ## Mail History Id: 27697934, Consumer Id: 822575, Address Id: 7415465 => Updated with Vin: 1GKET16S346157458 ## Mail History Id: 27698178, Consumer Id: 822317, Address Id: 11876264 => Updated with Vin: 1GYFK63877R338830 ## Mail History Id: 27697888, Consumer Id: 760524, Address Id: 6525347 => Updated with Vin: 1G6YV34A855600187 ## Mail History Id: 27698137, Consumer Id: 822320, Address Id: 11876705 => Updated with Vin: 1GYFK63897R337937 ## Mail History Id: 27697674, Consumer Id: 822641, Address Id: 7415416 => Updated with Vin: 1GYEK63N45R173057 ## Mail History Id: 27698292, Consumer Id: 822659, Address Id: 11876352 => Updated with Vin: 1GYFK63837R385708 ## Mail History Id: 27698044, Consumer Id: 822808, Address Id: 10559628 => Updated with Vin: 1GYFK66807R376704 ## Mail History Id: 27697932, Consumer Id: 822660, Address Id: 11876247 => Updated with Vin: 1GYFK66877R385447 ## Mail History Id: 27698146, Consumer Id: 822605, Address Id: 7415752 => Updated with Vin: 1GYFK66827R304113 ## Mail History Id: 27698646, Consumer Id: 823091, Address Id: 11876415 => Updated with Vin: 1GYFK638X7R140677 ## Mail History Id: 27698736, Consumer Id: 822755, Address Id: 10216152 => Updated with Vin: 1G1NE52J116127566 ## Mail History Id: 27698177, Consumer Id: 822812, Address Id: 11876734 => Updated with Vin: 1GYFK66887R399549 ## Mail History Id: 27698001, Consumer Id: 822786, Address Id: 11876528 => Updated with Vin: 1G6KY54921U198584 ## Mail History Id: 27697728, Consumer Id: 822713, Address Id: 7415434 => Updated with Vin: 1GYEK63N53R227091 ## Mail History Id: 27698112, Consumer Id: 822737, Address Id: 10559879 => Updated with Vin: 1GYFK66897R332037 ## Mail History Id: 27698105, Consumer Id: 823250, Address Id: 11876673 => Updated with Vin: 1G6DP577570113470 ## Mail History Id: 27697769, Consumer Id: 806049, Address Id: 11873682 => Updated with Vin: 1GYEE637740150500 ## Mail History Id: 27698007, Consumer Id: 822759, Address Id: 11876533 => Updated with Vin: 1G6KE57YX4U247241 ## Mail History Id: 27698165, Consumer Id: 822750, Address Id: 11876727 => Updated with Vin: 1GYEK63N62R315212 ## Mail History Id: 27698038, Consumer Id: 822839, Address Id: 11876241 => Updated with Vin: 1GYFK66847R412958 ## Mail History Id: 27697995, Consumer Id: 822836, Address Id: 11876525 => Updated with Vin: 1GYFK63867R417745 ## Mail History Id: 27698304, Consumer Id: 822797, Address Id: 10219414 => Updated with Vin: 1G6KD54Y83U172447 ## Mail History Id: 27698167, Consumer Id: 798466, Address Id: 4236224 => Updated with Vin: 3GYEK63N83G163337 ## Mail History Id: 27698060, Consumer Id: 773129, Address Id: 11874305 => Updated with Vin: 3GYFK62838G125988 ## Mail History Id: 27697820, Consumer Id: 773031, Address Id: 11874243 => Updated with Vin: 1G6DD67V780137283 ## Mail History Id: 27698154, Consumer Id: 760365, Address Id: 11851008 => Updated with Vin: 1G6DR57V380129838 ## Mail History Id: 27698760, Consumer Id: 773044, Address Id: 11874249 => Updated with Vin: 1G6DP57V480114187 ## Mail History Id: 27697821, Consumer Id: 773056, Address Id: 11874259 => Updated with Vin: 3GYEK62N95G235070 ## Mail History Id: 27698198, Consumer Id: 823237, Address Id: 11876323 => Updated with Vin: 1GYFK63808R139202 ## Mail History Id: 27698610, Consumer Id: 760433, Address Id: 11851038 => Updated with Vin: 1G6KD54Y63U260462 ## Mail History Id: 27697937, Consumer Id: 773050, Address Id: 11874255 => Updated with Vin: 3GYFK66NX3G294365 ## Mail History Id: 27697721, Consumer Id: 773069, Address Id: 11874267 => Updated with Vin: 1GYFK66818R144825 ## Mail History Id: 27698045, Consumer Id: 806882, Address Id: 11876594 => Updated with Vin: 1G6KD57Y17U175370 ## Mail History Id: 27698509, Consumer Id: 806881, Address Id: 11876853 => Updated with Vin: 1G6DP567550167351 ## Mail History Id: 27698358, Consumer Id: 760352, Address Id: 7416333 => Updated with Vin: 1G6KE54Y74U217876 ## Mail History Id: 27698213, Consumer Id: 806886, Address Id: 11876854 => Updated with Vin: 1GYEK63N16R117420 ## Mail History Id: 27698122, Consumer Id: 806888, Address Id: 7415679 => Updated with Vin: 1GYFK63848R176480 ## Mail History Id: 27698039, Consumer Id: 760272, Address Id: 11850972 => Updated with Vin: 1G6KD57906U118665 ## Mail History Id: 27697914, Consumer Id: 806954, Address Id: 6526435 => Updated with Vin: 1GYFK63888R166423 ## Mail History Id: 27697963, Consumer Id: 806905, Address Id: 11876484 => Updated with Vin: 1GYFK63868R169479 ## Mail History Id: 27697803, Consumer Id: 816371, Address Id: 11876659 => Updated with Vin: 3GYFK66N85G180660 ## Mail History Id: 27697993, Consumer Id: 823300, Address Id: 11876524 => Updated with Vin: 1G6DW677X50219712 ## Mail History Id: 27698718, Consumer Id: 760361, Address Id: 11851004 => Updated with Vin: 3GYFK62887G113771 ## Mail History Id: 27698086, Consumer Id: 806945, Address Id: 7415523 => Updated with Vin: 1G6KE57Y94U245500 ## Mail History Id: 27697778, Consumer Id: 805142, Address Id: 11873249 => Updated with Vin: 1G6EL578XFE663127 ## Mail History Id: 27697958, Consumer Id: 804291, Address Id: 7878689 => Updated with Vin: 1GYEK63N33R117530 ## Mail History Id: 27698278, Consumer Id: 806947, Address Id: 11876350 => Updated with Vin: 1G6DC67A350120461 ## Mail History Id: 27697994, Consumer Id: 803561, Address Id: 11872479 => Updated with Vin: 1G6EL12Y2TU609354 ## Mail History Id: 27697984, Consumer Id: 806902, Address Id: 11876276 => Updated with Vin: 1G6KF579X5U176744 ## Mail History Id: 27697954, Consumer Id: 760516, Address Id: 6527188 => Updated with Vin: 1GYFK63837R137345 ## Mail History Id: 27697720, Consumer Id: 803641, Address Id: 11872501 => Updated with Vin: 1GYEK13R1XR416493 ## Mail History Id: 27698018, Consumer Id: 822977, Address Id: 7878875 => Updated with Vin: 1G6DM577240148195 ## Mail History Id: 27698740, Consumer Id: 760318, Address Id: 11850991 => Updated with Vin: 1GYEE437580135892 ## Mail History Id: 27697838, Consumer Id: 802484, Address Id: 11871923 => Updated with Vin: 1G6KD54Y3WU716602 ## Mail History Id: 27698011, Consumer Id: 802637, Address Id: 11871996 => Updated with Vin: 1G6KD54Y3YU355021 ## Mail History Id: 27698370, Consumer Id: 806992, Address Id: 11876305 => Updated with Vin: 1GYFK63868R174231 ## Mail History Id: 27698752, Consumer Id: 823271, Address Id: 11876497 => Updated with Vin: 1GYFK63867R263604 ## Mail History Id: 27697876, Consumer Id: 807047, Address Id: 11876216 => Updated with Vin: 1G6DT57V680143038 ## Mail History Id: 27697693, Consumer Id: 799865, Address Id: 11870566 => Updated with Vin: 1G6EL12Y5XU608463 ## Mail History Id: 27697777, Consumer Id: 807013, Address Id: 11869818 => Updated with Vin: 1GYEK63N64R316606 ## Mail History Id: 27698169, Consumer Id: 806961, Address Id: 11876730 => Updated with Vin: 1G6DD67V380148653 ## Mail History Id: 27697896, Consumer Id: 806929, Address Id: 11876232 => Updated with Vin: 1GYEK63N35R216352 ## Mail History Id: 27698083, Consumer Id: 803318, Address Id: 11872357 => Updated with Vin: 1G6EL12Y81B102631 ## Mail History Id: 27698493, Consumer Id: 807034, Address Id: 11876900 => Updated with Vin: 1GYEE63A050233358 ## Mail History Id: 27697680, Consumer Id: 806932, Address Id: 11876720 => Updated with Vin: 1G6DP567550212952 ## Mail History Id: 27697686, Consumer Id: 807018, Address Id: 11876723 => Updated with Vin: 1GYEK63N72R175302 ## Mail History Id: 27697701, Consumer Id: 807027, Address Id: 11876511 => Updated with Vin: 1G6DP577370154678 ## Mail History Id: 27698094, Consumer Id: 807037, Address Id: 7415572 => Updated with Vin: 1GYDE63A540125733 ## Mail History Id: 27698168, Consumer Id: 806919, Address Id: 7415858 => Updated with Vin: 3GYFK66N15G173162 ## Mail History Id: 27698191, Consumer Id: 760367, Address Id: 11851009 => Updated with Vin: 1GYFK63858R191988 ## Mail History Id: 27697987, Consumer Id: 806914, Address Id: 11876863 => Updated with Vin: WBADM6343YGU27518 ## Mail History Id: 27698712, Consumer Id: 820678, Address Id: 11876458 => Updated with Vin: 1G6DM57N130134205 ## Mail History Id: 27697742, Consumer Id: 800680, Address Id: 7878111 => Updated with Vin: 1G6CD53B9P4293317 ## Mail History Id: 27697943, Consumer Id: 806928, Address Id: 11876868 => Updated with Vin: 1J8HR58P27C562359 ## Mail History Id: 27698510, Consumer Id: 806923, Address Id: 10561183 => Updated with Vin: 1G6DM57N830170294 ## Mail History Id: 27697709, Consumer Id: 806920, Address Id: 11876522 => Updated with Vin: 1G6DT57V680159403 ## Mail History Id: 27698160, Consumer Id: 806918, Address Id: 11876319 => Updated with Vin: 3GYEK62N25G179490 ## Mail History Id: 27698066, Consumer Id: 802355, Address Id: 11871880 => Updated with Vin: 1G6KY5494XU936880 ## Mail History Id: 27698265, Consumer Id: 806995, Address Id: 11876889 => Updated with Vin: 1GYFK63887R180966 ## Mail History Id: 27697704, Consumer Id: 807004, Address Id: 11876738 => Updated with Vin: 1G6ET1299YU145446 ## Mail History Id: 27697827, Consumer Id: 760311, Address Id: 11850986 => Updated with Vin: 1GYFK63867R169366 ## Mail History Id: 27698156, Consumer Id: 807072, Address Id: 7415803 => Updated with Vin: 3GYFK66N55G274639 ## Mail History Id: 27698620, Consumer Id: 760310, Address Id: 10561488 => Updated with Vin: 1GYEE63A360197053 ## Mail History Id: 27697996, Consumer Id: 801139, Address Id: 7878827 => Updated with Vin: 1G6KY5492YU271012 ## Mail History Id: 27697783, Consumer Id: 802707, Address Id: 10217749 => Updated with Vin: 1G6KS54Y23U257516 ## Mail History Id: 27698003, Consumer Id: 805937, Address Id: 11873639 => Updated with Vin: 1G6KD52Y3TU218396 ## Mail History Id: 27697688, Consumer Id: 805060, Address Id: 10209665 => Updated with Vin: 1G6KD54Y0XU738929 ## Mail History Id: 27697817, Consumer Id: 822841, Address Id: 10218041 => Updated with Vin: 1G6KD52B1SU218102 ## Mail History Id: 27698117, Consumer Id: 804636, Address Id: 11871112 => Updated with Vin: 1GYEK63N03R142210 ## Mail History Id: 27697964, Consumer Id: 798195, Address Id: 10212614 => Updated with Vin: 1G6KY5491XU900595 ## Mail History Id: 27698008, Consumer Id: 626351, Address Id: 11763849 => Updated with Vin: 3GYFK62897G126691 ## Mail History Id: 27697972, Consumer Id: 816312, Address Id: 7878746 => Updated with Vin: 1G6KY54953U157059 ## Mail History Id: 27697730, Consumer Id: 799259, Address Id: 7878070 => Updated with Vin: 1GYEK63N12R109456 ## Mail History Id: 27698328, Consumer Id: 803127, Address Id: 10214013 => Updated with Vin: 1G6KE54Y8WU766764 ## Mail History Id: 27698507, Consumer Id: 798092, Address Id: 11869712 => Updated with Vin: 1G6KY54912U293834 ## Mail History Id: 27698124, Consumer Id: 806771, Address Id: 7415687 => Updated with Vin: 1GYEE637740162839 ## Mail History Id: 27697792, Consumer Id: 798914, Address Id: 7878268 => Updated with Vin: 1G6KD54Y6WU765258 ## Mail History Id: 27697831, Consumer Id: 807867, Address Id: 10218298 => Updated with Vin: 1GYEK63N55R170068 ## Mail History Id: 27698566, Consumer Id: 797873, Address Id: 10214898 => Updated with Vin: 1G6KD52B7RU248960 ## Mail History Id: 27698050, Consumer Id: 817756, Address Id: 7879015 => Updated with Vin: 1G6DP567X50237197 ## Mail History Id: 27698560, Consumer Id: 798623, Address Id: 10214858 => Updated with Vin: 1GHDT13S222391634 ## Mail History Id: 27698516, Consumer Id: 804266, Address Id: 10214633 => Updated with Vin: 1GNEK13R0XJ322617 ## Total mail_history records updated with vin numbers: 666 out of 743 ============================================================ ====== Tracking Id: 457 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-06-27 12:11:52') AND us2_order_type_id = 3 ## Order found: 604 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 604 AND product_id = 112 ## Job Group Found: '333' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('333') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008003') AND customer_id = 3471 ## Mailing found: '12331' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27698987, Consumer Id: 816216, Address Id: 10216745 => Updated with Vin: 1G6KS54Y71U292307 ## Mail History Id: 27698999, Consumer Id: 803125, Address Id: 11872265 => Updated with Vin: 1G6KE54Y6VU260400 ## Mail History Id: 27698971, Consumer Id: 804768, Address Id: 7878640 => Updated with Vin: 1GYEK63N14R222083 ## Mail History Id: 27698973, Consumer Id: 821984, Address Id: 7416654 => Updated with Vin: 1G6KD57Y77U150571 ## Mail History Id: 27698995, Consumer Id: 805406, Address Id: 10219058 => Updated with Vin: 1GYEK63N74R270378 ## Mail History Id: 27698977, Consumer Id: 818024, Address Id: 10214770 => Updated with Vin: 1G6DP567250148501 ## Mail History Id: 27699007, Consumer Id: 822852, Address Id: 11876725 => Updated with Vin: 1GYEK63N34R246305 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 458 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-06-27 16:39:25') AND us2_order_type_id = 3 ## Order found: 605 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 605 AND product_id = 54 ## Job Group Found: '327' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('327') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele062608001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele062608001a') AND customer_id = 3525 ## Mailing found: '11978' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 459 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-27 19:08:37') AND us2_order_type_id = 3 ## Order found: 602 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 602 AND product_id = 55 ## Job Group Found: '329' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('329') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008002') AND customer_id = 3357 ## Mailing found: '12000' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27699022, Consumer Id: 1177240, Address Id: 6483729 => Updated with Vin: 1FMEU73E37UB52444 ## Mail History Id: 27699024, Consumer Id: 1028108, Address Id: 14944320 => Updated with Vin: SHHEP33592U305834 ## Mail History Id: 27699026, Consumer Id: 1175750, Address Id: 6485194 => Updated with Vin: 1C3AN69L54X003662 ## Mail History Id: 27699028, Consumer Id: 1176020, Address Id: 15037670 => Updated with Vin: 1FAFP27105G201367 ## Mail History Id: 27699030, Consumer Id: 1177239, Address Id: 407767 => Updated with Vin: 1FMZK02165GA21789 ## Mail History Id: 27699032, Consumer Id: 1176021, Address Id: 15037671 => Updated with Vin: 1FTRX12505KB21642 ## Mail History Id: 27699034, Consumer Id: 1175751, Address Id: 15037427 => Updated with Vin: JM1CR29L170138703 ## Mail History Id: 27699036, Consumer Id: 1172744, Address Id: 15030778 => Updated with Vin: KNAFG526477118555 ## Mail History Id: 27699038, Consumer Id: 1027957, Address Id: 14944030 => Updated with Vin: 1FMFK16587LA30106 ## Mail History Id: 27699040, Consumer Id: 1176724, Address Id: 15038558 => Updated with Vin: 1FMEU65897UB17070 ## Mail History Id: 27699042, Consumer Id: 1175753, Address Id: 15037429 => Updated with Vin: JM3TB28V280121781 ## Mail History Id: 27699044, Consumer Id: 1181584, Address Id: 15390361 => Updated with Vin: JM3ER29L580198372 ## Mail History Id: 27699046, Consumer Id: 1176722, Address Id: 15038556 => Updated with Vin: JM1BK12GX81135513 ## Mail History Id: 27699048, Consumer Id: 1176022, Address Id: 15037672 => Updated with Vin: JM1BK32G681156385 ## Mail History Id: 27699050, Consumer Id: 1175752, Address Id: 15037428 => Updated with Vin: JM1BK32G681846458 ## Mail History Id: 27699023, Consumer Id: 1172728, Address Id: 15030764 => Updated with Vin: 1ZVHT85H885106201 ## Mail History Id: 27699025, Consumer Id: 1174261, Address Id: 15036290 => Updated with Vin: 1ZVHT82H885152373 ## Mail History Id: 27699027, Consumer Id: 1176726, Address Id: 879441 => Updated with Vin: 1ZVHT82H585163735 ## Mail History Id: 27699029, Consumer Id: 1175184, Address Id: 15036852 => Updated with Vin: 2FMDK49C88BB20490 ## Mail History Id: 27699031, Consumer Id: 1176723, Address Id: 15038557 => Updated with Vin: 1FTSW31R58EE24018 ## Mail History Id: 27699033, Consumer Id: 1178070, Address Id: 15365992 => Updated with Vin: 1FTZR44U58PA24461 ## Mail History Id: 27699035, Consumer Id: 1176725, Address Id: 15038559 => Updated with Vin: 1FAHP32N18W257935 ## Mail History Id: 27699037, Consumer Id: 1175185, Address Id: 15036853 => Updated with Vin: 2CKDL63F866042470 ## Total mail_history records updated with vin numbers: 23 out of 25 ============================================================ ====== Tracking Id: 460 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-28 08:09:00') AND us2_order_type_id = 3 ## Order found: 612 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 612 AND product_id = 55 ## Job Group Found: '374' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('374') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408002') AND customer_id = 3230 ## Mailing found: '12350' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337193, Consumer Id: 1181026, Address Id: 15388512 => Updated with Vin: 1FAFP34N17W254570 ## Mail History Id: 28337156, Consumer Id: 1176613, Address Id: 52296 => Updated with Vin: 1FAHP35N58W285927 ## Mail History Id: 28337158, Consumer Id: 1174177, Address Id: 7537483 => Updated with Vin: 1GNEK13Z44R105455 ## Mail History Id: 28337160, Consumer Id: 1177967, Address Id: 15365907 => Updated with Vin: 1FAFP33P8YW257695 ## Mail History Id: 28337162, Consumer Id: 1177966, Address Id: 15365906 => Updated with Vin: 1FAHP36N36W202880 ## Mail History Id: 28337164, Consumer Id: 1177969, Address Id: 15365908 => Updated with Vin: 1FAHP25W88G155749 ## Mail History Id: 28337166, Consumer Id: 1181031, Address Id: 52117 => Updated with Vin: 1FAHP35N38W269189 ## Mail History Id: 28337168, Consumer Id: 1176615, Address Id: 48885 => Updated with Vin: 1FTYR14U2WPA22495 ## Mail History Id: 28337170, Consumer Id: 1181029, Address Id: 15388514 => Updated with Vin: 1B4GP24352B599198 ## Mail History Id: 28337172, Consumer Id: 1177970, Address Id: 15365909 => Updated with Vin: 1FTPW14V86FA98502 ## Mail History Id: 28337174, Consumer Id: 1177355, Address Id: 15341772 => Updated with Vin: 1C3EL45X96N169069 ## Mail History Id: 28337176, Consumer Id: 1182898, Address Id: 50842 => Updated with Vin: 1FMEU73808UA23993 ## Mail History Id: 28337178, Consumer Id: 1182897, Address Id: 50123 => Updated with Vin: 1FTPX14V18FB88543 ## Mail History Id: 28337180, Consumer Id: 1177356, Address Id: 47997 => Updated with Vin: 3FAHP07Z08R241044 ## Mail History Id: 28337182, Consumer Id: 1177359, Address Id: 11034832 => Updated with Vin: 1FAHP35N18W273077 ## Mail History Id: 28337184, Consumer Id: 1177357, Address Id: 47830 => Updated with Vin: 1FAHP35N98W286112 ## Mail History Id: 28337186, Consumer Id: 1177358, Address Id: 11034907 => Updated with Vin: 1FAHP35N68W286259 ## Mail History Id: 28337171, Consumer Id: 1248013, Address Id: 15433861 => Updated with Vin: 1FAHP35N68W286259 ## Mail History Id: 28337190, Consumer Id: 1177971, Address Id: 47486 => Updated with Vin: 1FAHP35N58W261000 ## Mail History Id: 28337161, Consumer Id: 1310501, Address Id: 49531 => Updated with Vin: 1FAHP35N58W261000 ## Mail History Id: 28337190, Consumer Id: 1177968, Address Id: 47486 => Updated with Vin: 1FAHP35N18W279574 ## Mail History Id: 28337192, Consumer Id: 1177360, Address Id: 9375899 => Updated with Vin: 2FMDK38C48BA78377 ## Total mail_history records updated with vin numbers: 22 out of 22 ============================================================ ====== Tracking Id: 461 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-28 08:38:47') AND us2_order_type_id = 3 ## Order found: 612 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 612 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3230 ## Mailing found: '12344' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337367, Consumer Id: 63760, Address Id: 49334 => Updated with Vin: 1FMCU94184KA41040 ## Mail History Id: 28337463, Consumer Id: 92783, Address Id: 51204 => Updated with Vin: 1FTWW31P47EA99098 ## Mail History Id: 28337469, Consumer Id: 65109, Address Id: 49653 => Updated with Vin: 1FTWW31P66EA04944 ## Mail History Id: 28337413, Consumer Id: 103315, Address Id: 53630 => Updated with Vin: 1FAHP34N37W196129 ## Mail History Id: 28337359, Consumer Id: 66347, Address Id: 50031 => Updated with Vin: 1FTWW31P16EB00738 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 462 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-28 08:38:58') AND us2_order_type_id = 3 ## Order found: 612 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 612 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3230 ## Mailing found: '12378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785895, Consumer Id: 65388, Address Id: 47843 => Updated with Vin: 2FAHP74W85X121637 ## Mail History Id: 28785987, Consumer Id: 38406, Address Id: 49082 => Updated with Vin: 1FTWW31P45EC09158 ## Mail History Id: 28786130, Consumer Id: 38549, Address Id: 50609 => Updated with Vin: 1FTPX14V87FA96960 ## Mail History Id: 28785898, Consumer Id: 93265, Address Id: 51757 => Updated with Vin: 1FTRF12277NA82154 ## Mail History Id: 28785990, Consumer Id: 65587, Address Id: 47556 => Updated with Vin: 1FTNX21F11EA07012 ## Mail History Id: 28785900, Consumer Id: 92605, Address Id: 51004 => Updated with Vin: 1FAHP36N87W178223 ## Mail History Id: 28785901, Consumer Id: 38339, Address Id: 48881 => Updated with Vin: 1FTPX14545NA68513 ## Mail History Id: 28785902, Consumer Id: 91828, Address Id: 48936 => Updated with Vin: 1FMRU17L6WLB58010 ## Mail History Id: 28785903, Consumer Id: 64469, Address Id: 52514 => Updated with Vin: 1FTSW31P64ED36183 ## Mail History Id: 28785904, Consumer Id: 66812, Address Id: 53141 => Updated with Vin: 1FAFP55U92A153168 ## Mail History Id: 28785905, Consumer Id: 102947, Address Id: 52137 => Updated with Vin: 1FTSX31P16EA21033 ## Mail History Id: 28785906, Consumer Id: 91998, Address Id: 49222 => Updated with Vin: 1FTPX14505NB17979 ## Mail History Id: 28785907, Consumer Id: 38432, Address Id: 49100 => Updated with Vin: 1FTSX21P65EA03801 ## Mail History Id: 28785908, Consumer Id: 135850, Address Id: 103071 => Updated with Vin: 4M2ZU54E8WUJ48276 ## Mail History Id: 28785995, Consumer Id: 65085, Address Id: 49817 => Updated with Vin: 1FMSU43F22EB66140 ## Mail History Id: 28785910, Consumer Id: 65413, Address Id: 49744 => Updated with Vin: 1FAHP28145G173158 ## Mail History Id: 28785911, Consumer Id: 93389, Address Id: 50915 => Updated with Vin: 1FAHP33N18W114434 ## Mail History Id: 28785912, Consumer Id: 64322, Address Id: 47330 => Updated with Vin: 1FAFP55U8YG111922 ## Mail History Id: 28785999, Consumer Id: 97824, Address Id: 49370 => Updated with Vin: 3FAHP08Z78R206001 ## Mail History Id: 28785914, Consumer Id: 91835, Address Id: 48279 => Updated with Vin: 1FTZR15V6XPC01572 ## Mail History Id: 28785915, Consumer Id: 103006, Address Id: 53492 => Updated with Vin: 2MEFM74W4XX603534 ## Mail History Id: 28785916, Consumer Id: 64239, Address Id: 52675 => Updated with Vin: 1FTPX14564NC23593 ## Mail History Id: 28785917, Consumer Id: 66468, Address Id: 50725 => Updated with Vin: 3FAFP37384R105338 ## Mail History Id: 28785918, Consumer Id: 91830, Address Id: 51743 => Updated with Vin: 1FMCU03Z58KB45204 ## Mail History Id: 28785945, Consumer Id: 67696, Address Id: 50696 => Updated with Vin: 1FMEU73E96UB12173 ## Mail History Id: 28786092, Consumer Id: 64240, Address Id: 47504 => Updated with Vin: 1MELM50U8TG602141 ## Mail History Id: 28785921, Consumer Id: 103837, Address Id: 52117 => Updated with Vin: 2FALP74W0SX123047 ## Mail History Id: 28785922, Consumer Id: 93103, Address Id: 51528 => Updated with Vin: 2FMDK39C57BB26417 ## Mail History Id: 28785923, Consumer Id: 63764, Address Id: 47698 => Updated with Vin: 2FMDA58433BA53406 ## Mail History Id: 28785924, Consumer Id: 93554, Address Id: 52063 => Updated with Vin: 1C3EL46T73N594605 ## Mail History Id: 28785925, Consumer Id: 92554, Address Id: 49412 => Updated with Vin: 1FAFP34N86W204778 ## Mail History Id: 28785926, Consumer Id: 38504, Address Id: 49153 => Updated with Vin: 1FTSW21P55EA62454 ## Mail History Id: 28785927, Consumer Id: 66365, Address Id: 49573 => Updated with Vin: 1FAFP55U62G131514 ## Mail History Id: 28785928, Consumer Id: 91832, Address Id: 47517 => Updated with Vin: 2FMDK39CX7BB54620 ## Mail History Id: 28785929, Consumer Id: 65621, Address Id: 49835 => Updated with Vin: 1MEFM50U82G607805 ## Mail History Id: 28785930, Consumer Id: 135707, Address Id: 53103 => Updated with Vin: 1MEFM50S4WG630566 ## Mail History Id: 28785931, Consumer Id: 92606, Address Id: 51005 => Updated with Vin: 1FTPX14586FB44875 ## Mail History Id: 28785932, Consumer Id: 66157, Address Id: 49950 => Updated with Vin: 1FTPX14545FA17944 ## Mail History Id: 28785933, Consumer Id: 66095, Address Id: 49731 => Updated with Vin: 2FMZA51442BA30795 ## Mail History Id: 28785934, Consumer Id: 93299, Address Id: 50803 => Updated with Vin: 1FTPX14V77FB75830 ## Mail History Id: 28785935, Consumer Id: 65406, Address Id: 48140 => Updated with Vin: 1FMCU04182KD50967 ## Mail History Id: 28785936, Consumer Id: 65139, Address Id: 49508 => Updated with Vin: 1J4GL48K22W293719 ## Mail History Id: 28785937, Consumer Id: 63229, Address Id: 48574 => Updated with Vin: 1FAFP53U63A107642 ## Mail History Id: 28785938, Consumer Id: 63846, Address Id: 48255 => Updated with Vin: 1FMFU18L63LA98372 ## Mail History Id: 28785939, Consumer Id: 64671, Address Id: 49055 => Updated with Vin: 3FALP6539TM143406 ## Mail History Id: 28785940, Consumer Id: 67398, Address Id: 50115 => Updated with Vin: 1FAFP31N56W158282 ## Mail History Id: 28785941, Consumer Id: 65641, Address Id: 52874 => Updated with Vin: 1FTZR15E41TA29265 ## Mail History Id: 28785942, Consumer Id: 135853, Address Id: 103072 => Updated with Vin: 4A3AC74H73E095133 ## Mail History Id: 28785943, Consumer Id: 135852, Address Id: 53099 => Updated with Vin: 1FMDK06156GA04214 ## Mail History Id: 28785944, Consumer Id: 91833, Address Id: 50663 => Updated with Vin: 1FMYU93177KB18170 ## Mail History Id: 28785945, Consumer Id: 50213, Address Id: 50696 => Updated with Vin: 1FTSW21528ED18374 ## Mail History Id: 28785946, Consumer Id: 92669, Address Id: 51080 => Updated with Vin: 1FAFP34N95W227100 ## Total mail_history records updated with vin numbers: 52 out of 56 ============================================================ ====== Tracking Id: 463 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-06-28 10:11:30') AND us2_order_type_id = 3 ## Order found: 613 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 613 AND product_id = 143 ## Job Group Found: '334' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('334') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008001') AND customer_id = 3416 ## Mailing found: '12334' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27698463, Consumer Id: 625188, Address Id: 11765849 => Updated with Vin: 1GYEE637670132655 ## Mail History Id: 27698359, Consumer Id: 692473, Address Id: 9042745 => Updated with Vin: 1G6DP577870142722 ## Mail History Id: 27698431, Consumer Id: 628699, Address Id: 11766268 => Updated with Vin: 1G6KD54Y42U155076 ## Mail History Id: 27698357, Consumer Id: 629303, Address Id: 11769733 => Updated with Vin: 1GYEK63N94R192489 ## Mail History Id: 27698387, Consumer Id: 626015, Address Id: 11766237 => Updated with Vin: 1G6KD54Y52U158732 ## Mail History Id: 27698473, Consumer Id: 626039, Address Id: 11764731 => Updated with Vin: 3GYFK62808G239334 ## Mail History Id: 27698381, Consumer Id: 623663, Address Id: 11764678 => Updated with Vin: 1GYFK63858R234368 ## Mail History Id: 27698301, Consumer Id: 686618, Address Id: 1961059 => Updated with Vin: 1G6KE57Y2YU351437 ## Mail History Id: 27698363, Consumer Id: 681823, Address Id: 1967827 => Updated with Vin: 1G6KD54Y3XU774887 ## Mail History Id: 27698451, Consumer Id: 682911, Address Id: 1970006 => Updated with Vin: 1G6KE54Y9XU783476 ## Mail History Id: 27698287, Consumer Id: 688015, Address Id: 1958921 => Updated with Vin: 1G6KD57YX4U182409 ## Mail History Id: 27698349, Consumer Id: 625928, Address Id: 1965590 => Updated with Vin: 1G6KD54Y15U184605 ## Mail History Id: 27698327, Consumer Id: 689844, Address Id: 1963030 => Updated with Vin: 1G6KD57Y16U105270 ## Mail History Id: 27698457, Consumer Id: 691867, Address Id: 1970177 => Updated with Vin: 1G6KD57Y57U157907 ## Mail History Id: 27698399, Consumer Id: 623657, Address Id: 1968983 => Updated with Vin: 1G6KD57Y07U113359 ## Mail History Id: 27698441, Consumer Id: 626040, Address Id: 1969906 => Updated with Vin: 1G6KD57Y66U220799 ## Mail History Id: 27698449, Consumer Id: 682910, Address Id: 1969982 => Updated with Vin: 1G6KD54Y8XU743621 ## Mail History Id: 27698305, Consumer Id: 683231, Address Id: 1961225 => Updated with Vin: 1G6DM57N830134637 ## Mail History Id: 27698283, Consumer Id: 683879, Address Id: 1966631 => Updated with Vin: 3GYFK66N83G298219 ## Mail History Id: 27698369, Consumer Id: 688247, Address Id: 1968331 => Updated with Vin: 1G6KD54Y83U145913 ## Mail History Id: 27698311, Consumer Id: 691865, Address Id: 1961631 => Updated with Vin: 1G6KD57Y07U136821 ## Mail History Id: 27698429, Consumer Id: 626038, Address Id: 6894499 => Updated with Vin: 1G6DP567850155064 ## Mail History Id: 27698345, Consumer Id: 689297, Address Id: 11797184 => Updated with Vin: JNKBF01A32M006268 ## Mail History Id: 27698389, Consumer Id: 689490, Address Id: 11797273 => Updated with Vin: 1G6DW677850184345 ## Mail History Id: 27698459, Consumer Id: 690150, Address Id: 11797530 => Updated with Vin: 1G6DP577560142269 ## Mail History Id: 27698281, Consumer Id: 691567, Address Id: 11798015 => Updated with Vin: 1GYFK66807R251606 ## Mail History Id: 27698291, Consumer Id: 691608, Address Id: 11798032 => Updated with Vin: 5GTDN136068308166 ## Mail History Id: 27698413, Consumer Id: 625331, Address Id: 1969351 => Updated with Vin: 1G6DW677150170383 ## Total mail_history records updated with vin numbers: 28 out of 31 ============================================================ ====== Tracking Id: 464 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-28 11:38:40') AND us2_order_type_id = 3 ## Order found: 614 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 614 AND product_id = 142 ## Job Group Found: '334' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('334') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008001') AND customer_id = 3357 ## Mailing found: '12333' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27698751, Consumer Id: 197214, Address Id: 397816 => Updated with Vin: 1LNHM83W14Y656300 ## Mail History Id: 27698727, Consumer Id: 436708, Address Id: 406284 => Updated with Vin: 1ZVHT80N185141711 ## Mail History Id: 27698609, Consumer Id: 436367, Address Id: 406027 => Updated with Vin: 1FTNW21F71EB55913 ## Mail History Id: 27698567, Consumer Id: 191760, Address Id: 402098 => Updated with Vin: 1FMFU18L71LA77723 ## Mail History Id: 27698539, Consumer Id: 194173, Address Id: 403284 => Updated with Vin: 1FMFU18L91LB28199 ## Mail History Id: 27698685, Consumer Id: 155138, Address Id: 397218 => Updated with Vin: SAJDA23C41LF25583 ## Mail History Id: 27698793, Consumer Id: 435945, Address Id: 9800277 => Updated with Vin: 2MEFM75W81X683393 ## Mail History Id: 27698605, Consumer Id: 194021, Address Id: 403874 => Updated with Vin: 1FMZU73W82ZC59009 ## Mail History Id: 27698753, Consumer Id: 187298, Address Id: 398081 => Updated with Vin: 1FMFU18L43LA56217 ## Mail History Id: 27698783, Consumer Id: 187700, Address Id: 399018 => Updated with Vin: JM3LW28A530337523 ## Mail History Id: 27698657, Consumer Id: 188876, Address Id: 400767 => Updated with Vin: 1FMDU75K74ZA29906 ## Mail History Id: 27698631, Consumer Id: 192347, Address Id: 401843 => Updated with Vin: 1FTRF12W74NB26152 ## Mail History Id: 27698581, Consumer Id: 436374, Address Id: 8300940 => Updated with Vin: 1FTNW20F32ED58915 ## Mail History Id: 27698649, Consumer Id: 435935, Address Id: 9800270 => Updated with Vin: 1FAFP44412F179505 ## Mail History Id: 27698809, Consumer Id: 155708, Address Id: 397745 => Updated with Vin: 4T3ZF13C62U437890 ## Mail History Id: 27698797, Consumer Id: 199069, Address Id: 407479 => Updated with Vin: 1FMZU73E92ZA60722 ## Mail History Id: 27698739, Consumer Id: 435928, Address Id: 9800265 => Updated with Vin: 5FNRL18643B140085 ## Mail History Id: 27698591, Consumer Id: 196893, Address Id: 405416 => Updated with Vin: 1FTSW31P33EC88110 ## Mail History Id: 27698693, Consumer Id: 151986, Address Id: 394350 => Updated with Vin: 1FMCU02193KA69720 ## Mail History Id: 27698625, Consumer Id: 436710, Address Id: 9800661 => Updated with Vin: 1FMYU93103KB58732 ## Mail History Id: 27698843, Consumer Id: 196382, Address Id: 398738 => Updated with Vin: 1FMYU931X3KC54304 ## Mail History Id: 27698795, Consumer Id: 154285, Address Id: 396454 => Updated with Vin: 1FMFU16L33LB95726 ## Mail History Id: 27698673, Consumer Id: 196026, Address Id: 405300 => Updated with Vin: 1FMDU75W93ZB46260 ## Mail History Id: 27698601, Consumer Id: 191124, Address Id: 401693 => Updated with Vin: 1YVFP80C745N45887 ## Mail History Id: 27698541, Consumer Id: 195700, Address Id: 404756 => Updated with Vin: 1ZVFT80N155145499 ## Mail History Id: 27698819, Consumer Id: 152979, Address Id: 395267 => Updated with Vin: 1ZVHT84N155253754 ## Mail History Id: 27698683, Consumer Id: 435943, Address Id: 9800275 => Updated with Vin: 1C4GP45R75B417393 ## Mail History Id: 27698761, Consumer Id: 195256, Address Id: 404066 => Updated with Vin: 1FAHP24175G138183 ## Mail History Id: 27698549, Consumer Id: 155737, Address Id: 397772 => Updated with Vin: 1FTRW12W05KC83539 ## Mail History Id: 27698765, Consumer Id: 193594, Address Id: 403185 => Updated with Vin: JM1BK12G661455182 ## Mail History Id: 27698831, Consumer Id: 152621, Address Id: 394938 => Updated with Vin: JM1BK12G061481017 ## Mail History Id: 27698701, Consumer Id: 198466, Address Id: 405881 => Updated with Vin: 1ZVFT84N365106408 ## Mail History Id: 27698731, Consumer Id: 152094, Address Id: 394451 => Updated with Vin: 1ZVHT82HX65150928 ## Mail History Id: 27698613, Consumer Id: 153048, Address Id: 395328 => Updated with Vin: 2FMDA58286BA38628 ## Mail History Id: 27698565, Consumer Id: 152887, Address Id: 395184 => Updated with Vin: 1FMCU96H66KB21000 ## Mail History Id: 27698561, Consumer Id: 153291, Address Id: 395546 => Updated with Vin: 3FAFP08Z36R114954 ## Mail History Id: 27698551, Consumer Id: 435941, Address Id: 9800273 => Updated with Vin: 1FAFP34N16W248413 ## Mail History Id: 27698823, Consumer Id: 153791, Address Id: 396006 => Updated with Vin: 1FMEU73876ZA28317 ## Mail History Id: 27698687, Consumer Id: 155104, Address Id: 397189 => Updated with Vin: JM1FE173670210680 ## Mail History Id: 27698711, Consumer Id: 154040, Address Id: 396230 => Updated with Vin: JM1BK344371670857 ## Mail History Id: 27698573, Consumer Id: 154355, Address Id: 396523 => Updated with Vin: 1ZVFT80N375314876 ## Mail History Id: 27698777, Consumer Id: 233911, Address Id: 394827 => Updated with Vin: 1D7HU18267J590475 ## Mail History Id: 27698787, Consumer Id: 198314, Address Id: 406831 => Updated with Vin: 5LMFL28557LJ25655 ## Mail History Id: 27698737, Consumer Id: 155134, Address Id: 397215 => Updated with Vin: 1FAFP31N37W287106 ## Mail History Id: 27698533, Consumer Id: 155532, Address Id: 397578 => Updated with Vin: JM3TB28VX80131460 ## Mail History Id: 27698837, Consumer Id: 155795, Address Id: 397829 => Updated with Vin: JM3TB38V180141526 ## Mail History Id: 27698523, Consumer Id: 420564, Address Id: 9800040 => Updated with Vin: JM1BK344X81115874 ## Mail History Id: 27698817, Consumer Id: 155578, Address Id: 397622 => Updated with Vin: JM1BK32G081805694 ## Mail History Id: 27698833, Consumer Id: 155536, Address Id: 397582 => Updated with Vin: JM1BK344681841618 ## Mail History Id: 27698781, Consumer Id: 155852, Address Id: 397884 => Updated with Vin: JM1BK34MX81845087 ## Mail History Id: 27698825, Consumer Id: 155867, Address Id: 397896 => Updated with Vin: JM1BK34M481859602 ## Mail History Id: 27698707, Consumer Id: 187526, Address Id: 398206 => Updated with Vin: 4F4YR12D12TM15464 ## Mail History Id: 27698639, Consumer Id: 188467, Address Id: 399194 => Updated with Vin: 1FTNW21F62EB84613 ## Mail History Id: 27698845, Consumer Id: 154967, Address Id: 397064 => Updated with Vin: 1FTSW21R38EA40099 ## Mail History Id: 27698651, Consumer Id: 155693, Address Id: 397730 => Updated with Vin: 4F2CZ49H88KM17062 ## Mail History Id: 27698645, Consumer Id: 167706, Address Id: 434401 => Updated with Vin: 1FAHP34N58W163179 ## Mail History Id: 27698675, Consumer Id: 200350, Address Id: 395137 => Updated with Vin: 1FAFP33P91W180549 ## Mail History Id: 27698603, Consumer Id: 195854, Address Id: 405259 => Updated with Vin: 4M2DU86W84ZJ03209 ## Mail History Id: 27698621, Consumer Id: 436712, Address Id: 9800663 => Updated with Vin: 1G8ZE1280SZ150054 ## Mail History Id: 27698593, Consumer Id: 436707, Address Id: 6407079 => Updated with Vin: 2B3HD46T9TH264139 ## Mail History Id: 27698847, Consumer Id: 225493, Address Id: 434926 => Updated with Vin: 1ZVLT22B4V5138940 ## Mail History Id: 27698759, Consumer Id: 197632, Address Id: 407004 => Updated with Vin: 1FTDF07W0VKB26574 ## Mail History Id: 27698677, Consumer Id: 436709, Address Id: 6483713 => Updated with Vin: 2MELM75W0RX644974 ## Mail History Id: 27698585, Consumer Id: 435942, Address Id: 9800274 => Updated with Vin: 1HGEJ8146YL082850 ## Mail History Id: 27698557, Consumer Id: 436711, Address Id: 2355977 => Updated with Vin: 1LNHM83W1YY851237 ## Mail History Id: 27698599, Consumer Id: 195894, Address Id: 405064 => Updated with Vin: 1LNHM87A5YY859372 ## Total mail_history records updated with vin numbers: 66 out of 76 ============================================================ ====== Tracking Id: 465 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-28 11:38:45') AND us2_order_type_id = 3 ## Order found: 614 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 614 AND product_id = 112 ## Job Group Found: '333' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('333') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008003') AND customer_id = 3357 ## Mailing found: '12329' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 466 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-06-28 12:10:59') AND us2_order_type_id = 3 ## Order found: 615 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 615 AND product_id = 112 ## Job Group Found: '333' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('333') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008003') AND customer_id = 3427 ## Mailing found: '12330' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27698882, Consumer Id: 493076, Address Id: 9828528 => Updated with Vin: 1HGCM66586A051824 ## Mail History Id: 27698927, Consumer Id: 495218, Address Id: 9830123 => Updated with Vin: 1HGCM72683A002798 ## Mail History Id: 27698978, Consumer Id: 511021, Address Id: 327944 => Updated with Vin: 2HKRL18661H574801 ## Mail History Id: 27698862, Consumer Id: 503019, Address Id: 9838680 => Updated with Vin: 2HKRL1867YH543728 ## Mail History Id: 27698889, Consumer Id: 506754, Address Id: 9841249 => Updated with Vin: 1HGCM66573A104203 ## Mail History Id: 27698948, Consumer Id: 499057, Address Id: 325398 => Updated with Vin: 1HGCM56333A133027 ## Mail History Id: 27698883, Consumer Id: 515204, Address Id: 9831249 => Updated with Vin: 5FNYF18416B010223 ## Mail History Id: 27698867, Consumer Id: 504256, Address Id: 9839766 => Updated with Vin: 1HGCM56485A050320 ## Mail History Id: 27698888, Consumer Id: 503122, Address Id: 7552225 => Updated with Vin: JHMES96663S027565 ## Mail History Id: 27698895, Consumer Id: 495964, Address Id: 9830654 => Updated with Vin: JHMES96643S014068 ## Mail History Id: 27698880, Consumer Id: 498597, Address Id: 9832535 => Updated with Vin: 1HGCG5643WA076347 ## Mail History Id: 27698964, Consumer Id: 493248, Address Id: 9828653 => Updated with Vin: JHMZE1351YT003889 ## Mail History Id: 27699012, Consumer Id: 497412, Address Id: 330162 => Updated with Vin: 2HKRL18651H566155 ## Mail History Id: 27698934, Consumer Id: 493182, Address Id: 9828605 => Updated with Vin: 1HGCG1656WA070320 ## Mail History Id: 27698905, Consumer Id: 499286, Address Id: 9833349 => Updated with Vin: 2HGEJ6671WH615043 ## Mail History Id: 27699006, Consumer Id: 508515, Address Id: 329933 => Updated with Vin: 2HGES16525H595091 ## Mail History Id: 27698892, Consumer Id: 492038, Address Id: 9827750 => Updated with Vin: 1HGES165X2L056572 ## Mail History Id: 27698918, Consumer Id: 495572, Address Id: 9830375 => Updated with Vin: 1HGCG1656XA028120 ## Mail History Id: 27698919, Consumer Id: 501145, Address Id: 9836142 => Updated with Vin: 2HKYF18514H581847 ## Mail History Id: 27699002, Consumer Id: 507237, Address Id: 329633 => Updated with Vin: 5FNRL38785B076706 ## Mail History Id: 27698942, Consumer Id: 497222, Address Id: 325008 => Updated with Vin: 1HGCG1659YA040778 ## Mail History Id: 27698970, Consumer Id: 503802, Address Id: 327087 => Updated with Vin: 5FNRL38405B031362 ## Mail History Id: 27698998, Consumer Id: 493604, Address Id: 329606 => Updated with Vin: 2HKRL1863XH527198 ## Mail History Id: 27698887, Consumer Id: 502520, Address Id: 7555310 => Updated with Vin: 5J6YH28664L015018 ## Mail History Id: 27698935, Consumer Id: 471407, Address Id: 9833038 => Updated with Vin: SHSRD78996U418955 ## Mail History Id: 27698896, Consumer Id: 471758, Address Id: 9833216 => Updated with Vin: 5FNRL18043B061673 ## Mail History Id: 27699016, Consumer Id: 472066, Address Id: 9833690 => Updated with Vin: SHSRD78816U427771 ## Mail History Id: 27698879, Consumer Id: 514604, Address Id: 9846095 => Updated with Vin: 1HGCG667XYA068586 ## Total mail_history records updated with vin numbers: 28 out of 30 ============================================================ ====== Tracking Id: 467 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-06-28 12:11:11') AND us2_order_type_id = 3 ## Order found: 616 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 616 AND product_id = 143 ## Job Group Found: '334' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('334') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008001') AND customer_id = 3471 ## Mailing found: '12335' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27698522, Consumer Id: 798127, Address Id: 7416916 => Updated with Vin: 1G6ET1297SU616923 ## Mail History Id: 27698446, Consumer Id: 760409, Address Id: 11851024 => Updated with Vin: 1GYFK63857R136309 ## Mail History Id: 27697949, Consumer Id: 760529, Address Id: 10220139 => Updated with Vin: 2GTEK13TX41318665 ## Mail History Id: 27698222, Consumer Id: 803960, Address Id: 10213789 => Updated with Vin: 1G6CD53B1M4205632 ## Mail History Id: 27698816, Consumer Id: 760530, Address Id: 10216398 => Updated with Vin: 1G6DC67A150217433 ## Mail History Id: 27697826, Consumer Id: 760307, Address Id: 7878374 => Updated with Vin: W06VR54R5YR034283 ## Mail History Id: 27697832, Consumer Id: 760441, Address Id: 7878390 => Updated with Vin: 1GYEK63N62R166042 ## Mail History Id: 27697851, Consumer Id: 799538, Address Id: 10218500 => Updated with Vin: 1G6KS54Y9YU316472 ## Mail History Id: 27698724, Consumer Id: 800903, Address Id: 10216089 => Updated with Vin: 1G6KY54922U215143 ## Mail History Id: 27698065, Consumer Id: 805999, Address Id: 4234854 => Updated with Vin: 1G6ET12961B104130 ## Mail History Id: 27698254, Consumer Id: 802705, Address Id: 10213863 => Updated with Vin: 1G6EL1158KU610949 ## Mail History Id: 27698584, Consumer Id: 799453, Address Id: 10215009 => Updated with Vin: 1G6EL12YXXU614792 ## Mail History Id: 27698282, Consumer Id: 799457, Address Id: 7416137 => Updated with Vin: 1G6KD54Y73U138273 ## Mail History Id: 27698091, Consumer Id: 760515, Address Id: 11851067 => Updated with Vin: 1G6KS54Y5YU271370 ## Mail History Id: 27697742, Consumer Id: 760448, Address Id: 7878111 => Updated with Vin: 3GYEK63N23G155623 ## Mail History Id: 27698190, Consumer Id: 799816, Address Id: 11850962 => Updated with Vin: 2GTEK19T021172202 ## Mail History Id: 27698468, Consumer Id: 799499, Address Id: 10214557 => Updated with Vin: 1G6KD52B3SU298468 ## Mail History Id: 27698668, Consumer Id: 816135, Address Id: 10215663 => Updated with Vin: 1G6KE54Y92U282726 ## Mail History Id: 27698147, Consumer Id: 806282, Address Id: 11871472 => Updated with Vin: 1GYEK63N42R199783 ## Mail History Id: 27698034, Consumer Id: 798138, Address Id: 10213319 => Updated with Vin: 1G6EL12YXWU602446 ## Mail History Id: 27698517, Consumer Id: 816170, Address Id: 11872101 => Updated with Vin: 1GHDT13S942239580 ## Mail History Id: 27697856, Consumer Id: 803178, Address Id: 7878445 => Updated with Vin: 1G6KE54Y64U138120 ## Mail History Id: 27698772, Consumer Id: 819928, Address Id: 10216651 => Updated with Vin: 1G6KD54Y74U127081 ## Mail History Id: 27698127, Consumer Id: 803044, Address Id: 11872231 => Updated with Vin: 1G6KD52Y8VU219675 ## Mail History Id: 27697705, Consumer Id: 760212, Address Id: 10217119 => Updated with Vin: 1GYEK63N85R111595 ## Mail History Id: 27698526, Consumer Id: 798243, Address Id: 10214658 => Updated with Vin: 1G3HY52L4RH347846 ## Mail History Id: 27698796, Consumer Id: 797948, Address Id: 10216848 => Updated with Vin: 1G3WS52K8WF357979 ## Mail History Id: 27698244, Consumer Id: 760443, Address Id: 10213838 => Updated with Vin: 1G6KD54Y9XU772965 ## Mail History Id: 27697717, Consumer Id: 801201, Address Id: 10217234 => Updated with Vin: 1G6KD54Y83U101538 ## Mail History Id: 27697757, Consumer Id: 806957, Address Id: 10217544 => Updated with Vin: 1GYEE53A680134204 ## Mail History Id: 27698175, Consumer Id: 760388, Address Id: 11851015 => Updated with Vin: 3GYEK63N82G262612 ## Mail History Id: 27698692, Consumer Id: 801048, Address Id: 10215929 => Updated with Vin: 1G3HN52K9S4818189 ## Mail History Id: 27698342, Consumer Id: 772847, Address Id: 7416290 => Updated with Vin: 1G6KD57Y07U220136 ## Mail History Id: 27698028, Consumer Id: 807189, Address Id: 7878935 => Updated with Vin: 1G6KD54Y25U121495 ## Mail History Id: 27697847, Consumer Id: 798136, Address Id: 10218475 => Updated with Vin: 1G6CD1152K4295957 ## Mail History Id: 27697925, Consumer Id: 803032, Address Id: 10219343 => Updated with Vin: 1GYEK63N92R102755 ## Mail History Id: 27698834, Consumer Id: 799855, Address Id: 11870560 => Updated with Vin: 1G6KE52Y0VU200986 ## Mail History Id: 27698606, Consumer Id: 821130, Address Id: 11876343 => Updated with Vin: 1GYFK63837R171124 ## Mail History Id: 27698508, Consumer Id: 760291, Address Id: 10214618 => Updated with Vin: 1G3NL52T1XC356614 ## Mail History Id: 27698123, Consumer Id: 760446, Address Id: 11851042 => Updated with Vin: 1G6DP567X50104231 ## Mail History Id: 27698288, Consumer Id: 804041, Address Id: 7416140 => Updated with Vin: 1G3GS64CX34136391 ## Mail History Id: 27697687, Consumer Id: 798327, Address Id: 10217033 => Updated with Vin: 1G6KS54Y0WU926662 ## Mail History Id: 27697957, Consumer Id: 760403, Address Id: 10220214 => Updated with Vin: 1GYEK13R0YR108491 ## Mail History Id: 27698069, Consumer Id: 799545, Address Id: 11870429 => Updated with Vin: 1G6KS54Y11U295686 ## Mail History Id: 27697872, Consumer Id: 799810, Address Id: 6525008 => Updated with Vin: 1GYEK63N52R154531 ## Mail History Id: 27698662, Consumer Id: 807924, Address Id: 10215608 => Updated with Vin: 1G6KD54Y94U195768 ## Mail History Id: 27698574, Consumer Id: 801196, Address Id: 10214935 => Updated with Vin: 1G6DM57N030104337 ## Mail History Id: 27698048, Consumer Id: 760298, Address Id: 11850980 => Updated with Vin: 3GYFK628X8G135434 ## Mail History Id: 27698458, Consumer Id: 799594, Address Id: 7416806 => Updated with Vin: 1G6ET1296YB700218 ## Mail History Id: 27698436, Consumer Id: 807621, Address Id: 7416759 => Updated with Vin: 1GYEK63N04R274076 ## Mail History Id: 27698804, Consumer Id: 798458, Address Id: 10216906 => Updated with Vin: 1G6KF57992U299155 ## Mail History Id: 27698324, Consumer Id: 798240, Address Id: 7416249 => Updated with Vin: 1GHDT13S422138427 ## Mail History Id: 27698185, Consumer Id: 807850, Address Id: 11876757 => Updated with Vin: 1G6DC67A950139693 ## Mail History Id: 27698051, Consumer Id: 803584, Address Id: 11872485 => Updated with Vin: 1GYDE637340124844 ## Mail History Id: 27698786, Consumer Id: 816984, Address Id: 10216781 => Updated with Vin: 1G6KD54YX2U296248 ## Mail History Id: 27698195, Consumer Id: 820852, Address Id: 11876786 => Updated with Vin: 1GYFK63857R160609 ## Mail History Id: 27697678, Consumer Id: 760399, Address Id: 7877898 => Updated with Vin: 1GYEK63N43R201520 ## Mail History Id: 27698598, Consumer Id: 806937, Address Id: 11870781 => Updated with Vin: 1G6KD57Y96U154121 ## Mail History Id: 27698484, Consumer Id: 798196, Address Id: 7416862 => Updated with Vin: 1GYEK63N33R279769 ## Mail History Id: 27698534, Consumer Id: 760305, Address Id: 7416962 => Updated with Vin: 3GYFK66N04G147568 ## Mail History Id: 27697844, Consumer Id: 817195, Address Id: 7878432 => Updated with Vin: 1GYEE637X50232917 ## Mail History Id: 27698616, Consumer Id: 803548, Address Id: 10215290 => Updated with Vin: 1G6DM577940123911 ## Mail History Id: 27698016, Consumer Id: 807207, Address Id: 7878869 => Updated with Vin: 1G6KE57Y43U255513 ## Mail History Id: 27697741, Consumer Id: 806936, Address Id: 10217483 => Updated with Vin: 1G6DD67V680158125 ## Mail History Id: 27698844, Consumer Id: 804987, Address Id: 10216550 => Updated with Vin: 3GYEK62N74G230643 ## Mail History Id: 27698416, Consumer Id: 804978, Address Id: 7416704 => Updated with Vin: 1GYEE63A540158400 ## Mail History Id: 27698106, Consumer Id: 822069, Address Id: 7415600 => Updated with Vin: 1GYFK66847R313833 ## Mail History Id: 27698004, Consumer Id: 805508, Address Id: 7878838 => Updated with Vin: 1G4HR54K53U119575 ## Mail History Id: 27697843, Consumer Id: 804770, Address Id: 10218428 => Updated with Vin: 1G6KD57Y34U195731 ## Mail History Id: 27697865, Consumer Id: 806001, Address Id: 10218799 => Updated with Vin: 1GYEK63N92R106465 ## Mail History Id: 27698672, Consumer Id: 805955, Address Id: 10215674 => Updated with Vin: 3GYFK66NX3G316140 ## Mail History Id: 27698684, Consumer Id: 807247, Address Id: 10215749 => Updated with Vin: 1GNEK13T41R185153 ## Mail History Id: 27697968, Consumer Id: 816769, Address Id: 7878741 => Updated with Vin: 1GYDE637140131582 ## Mail History Id: 27698027, Consumer Id: 806927, Address Id: 11876559 => Updated with Vin: 1G6KD57Y08U163390 ## Mail History Id: 27698201, Consumer Id: 816203, Address Id: 11876793 => Updated with Vin: 3GYFK66N45G131309 ## Mail History Id: 27697812, Consumer Id: 807998, Address Id: 7878351 => Updated with Vin: 1G6EC12912B106675 ## Mail History Id: 27698384, Consumer Id: 807976, Address Id: 7416537 => Updated with Vin: 1GYEK63N05R168177 ## Mail History Id: 27698497, Consumer Id: 799501, Address Id: 11869629 => Updated with Vin: 1GYEK63R0YR190980 ## Mail History Id: 27697899, Consumer Id: 760364, Address Id: 11851007 => Updated with Vin: 1GYFK63837R385319 ## Mail History Id: 27697837, Consumer Id: 806909, Address Id: 11876700 => Updated with Vin: 1GYEK63N35R228209 ## Mail History Id: 27697798, Consumer Id: 818324, Address Id: 11871444 => Updated with Vin: 1GYEE637050235003 ## Mail History Id: 27697942, Consumer Id: 816806, Address Id: 6526918 => Updated with Vin: 1GYEK63N75R218301 ## Mail History Id: 27698494, Consumer Id: 772832, Address Id: 11873917 => Updated with Vin: 1GYFK63887R423952 ## Mail History Id: 27697818, Consumer Id: 807028, Address Id: 11872521 => Updated with Vin: 1GYEK63N55R140598 ## Mail History Id: 27697935, Consumer Id: 806894, Address Id: 10219386 => Updated with Vin: 1G6KD57Y88U137264 ## Mail History Id: 27698132, Consumer Id: 800234, Address Id: 7415725 => Updated with Vin: 1G6KY54923U193257 ## Mail History Id: 27698262, Consumer Id: 773127, Address Id: 7416096 => Updated with Vin: 1GYEE63A380128270 ## Mail History Id: 27697793, Consumer Id: 821969, Address Id: 10562924 => Updated with Vin: 1GYFK63887R261269 ## Mail History Id: 27697811, Consumer Id: 821497, Address Id: 11876665 => Updated with Vin: 5GRGN23U63H130931 ## Mail History Id: 27698186, Consumer Id: 807026, Address Id: 11876268 => Updated with Vin: 1GYFK63868R198724 ## Mail History Id: 27697774, Consumer Id: 817206, Address Id: 7878230 => Updated with Vin: 1G6KE57Y55U154659 ## Mail History Id: 27698150, Consumer Id: 823313, Address Id: 11876313 => Updated with Vin: 1GYFK63828R186585 ## Mail History Id: 27698240, Consumer Id: 821583, Address Id: 7416032 => Updated with Vin: 1GYEK63N64R251806 ## Mail History Id: 27698626, Consumer Id: 760357, Address Id: 11851002 => Updated with Vin: 1GYFK66867R220781 ## Mail History Id: 27697877, Consumer Id: 803739, Address Id: 10219010 => Updated with Vin: 1G6KS54YXYU287449 ## Mail History Id: 27698502, Consumer Id: 822071, Address Id: 7416900 => Updated with Vin: 1G6KY549X3U259988 ## Mail History Id: 27698058, Consumer Id: 807901, Address Id: 7415515 => Updated with Vin: 1GYEK63NX5R170714 ## Mail History Id: 27698137, Consumer Id: 822320, Address Id: 11876705 => Updated with Vin: 1GYFK63897R337937 ## Mail History Id: 27698146, Consumer Id: 823295, Address Id: 7415752 => Updated with Vin: 1J4GR48KX6C264944 ## Mail History Id: 27697769, Consumer Id: 806049, Address Id: 11873682 => Updated with Vin: 1GYEE637740150500 ## Mail History Id: 27698045, Consumer Id: 806882, Address Id: 11876594 => Updated with Vin: 1G6KD57Y17U175370 ## Mail History Id: 27698122, Consumer Id: 806888, Address Id: 7415679 => Updated with Vin: 1GYFK63848R176480 ## Mail History Id: 27698039, Consumer Id: 760272, Address Id: 11850972 => Updated with Vin: 1G6KD57906U118665 ## Mail History Id: 27697914, Consumer Id: 806954, Address Id: 6526435 => Updated with Vin: 1GYFK63888R166423 ## Mail History Id: 27697803, Consumer Id: 816371, Address Id: 11876659 => Updated with Vin: 3GYFK66N85G180660 ## Mail History Id: 27698718, Consumer Id: 760361, Address Id: 11851004 => Updated with Vin: 3GYFK62887G113771 ## Mail History Id: 27698086, Consumer Id: 806945, Address Id: 7415523 => Updated with Vin: 1G6KE57Y94U245500 ## Mail History Id: 27698278, Consumer Id: 806947, Address Id: 11876350 => Updated with Vin: 1G6DC67A350120461 ## Mail History Id: 27697984, Consumer Id: 806902, Address Id: 11876276 => Updated with Vin: 1G6KF579X5U176744 ## Mail History Id: 27697954, Consumer Id: 760516, Address Id: 6527188 => Updated with Vin: 1GYFK63837R137345 ## Mail History Id: 27698740, Consumer Id: 760318, Address Id: 11850991 => Updated with Vin: 1GYEE437580135892 ## Mail History Id: 27698370, Consumer Id: 806992, Address Id: 11876305 => Updated with Vin: 1GYFK63868R174231 ## Mail History Id: 27697777, Consumer Id: 807013, Address Id: 11869818 => Updated with Vin: 1GYEK63N64R316606 ## Mail History Id: 27697896, Consumer Id: 806929, Address Id: 11876232 => Updated with Vin: 1GYEK63N35R216352 ## Mail History Id: 27698083, Consumer Id: 803318, Address Id: 11872357 => Updated with Vin: 1G6EL12Y81B102631 ## Mail History Id: 27697686, Consumer Id: 807018, Address Id: 11876723 => Updated with Vin: 1GYEK63N72R175302 ## Mail History Id: 27698179, Consumer Id: 807020, Address Id: 11876745 => Updated with Vin: 1G6KE54Y34U193267 ## Mail History Id: 27697701, Consumer Id: 807027, Address Id: 11876511 => Updated with Vin: 1G6DP577370154678 ## Mail History Id: 27698191, Consumer Id: 760367, Address Id: 11851009 => Updated with Vin: 1GYFK63858R191988 ## Mail History Id: 27697987, Consumer Id: 806914, Address Id: 11876863 => Updated with Vin: WBADM6343YGU27518 ## Mail History Id: 27698160, Consumer Id: 806918, Address Id: 11876319 => Updated with Vin: 3GYEK62N25G179490 ## Mail History Id: 27698066, Consumer Id: 802355, Address Id: 11871880 => Updated with Vin: 1G6KY5494XU936880 ## Mail History Id: 27698265, Consumer Id: 806995, Address Id: 11876889 => Updated with Vin: 1GYFK63887R180966 ## Mail History Id: 27697704, Consumer Id: 807004, Address Id: 11876738 => Updated with Vin: 1G6ET1299YU145446 ## Mail History Id: 27698117, Consumer Id: 804636, Address Id: 11871112 => Updated with Vin: 1GYEK63N03R142210 ## Mail History Id: 27697964, Consumer Id: 798195, Address Id: 10212614 => Updated with Vin: 1G6KY5491XU900595 ## Mail History Id: 27697792, Consumer Id: 798914, Address Id: 7878268 => Updated with Vin: 1G6KD54Y6WU765258 ## Total mail_history records updated with vin numbers: 127 out of 140 ============================================================ ====== Tracking Id: 468 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-06-28 12:11:20') AND us2_order_type_id = 3 ## Order found: 616 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 616 AND product_id = 112 ## Job Group Found: '333' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('333') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008003') AND customer_id = 3471 ## Mailing found: '12331' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27698989, Consumer Id: 806189, Address Id: 10216334 => Updated with Vin: 1G6KY5493XU935543 ## Mail History Id: 27698979, Consumer Id: 803177, Address Id: 10215357 => Updated with Vin: 1G6ET1294YB701285 ## Mail History Id: 27698993, Consumer Id: 818354, Address Id: 10217741 => Updated with Vin: 1G3WS52H6XF354116 ## Mail History Id: 27698981, Consumer Id: 806478, Address Id: 10215376 => Updated with Vin: 1G3GR62C9V4100838 ## Mail History Id: 27698969, Consumer Id: 797928, Address Id: 10211075 => Updated with Vin: 1G6KE54Y0WU721110 ## Mail History Id: 27699009, Consumer Id: 807483, Address Id: 9711900 => Updated with Vin: 1G6KD54Y84U191842 ## Mail History Id: 27698991, Consumer Id: 821007, Address Id: 11878295 => Updated with Vin: 5GAET13P642326053 ## Mail History Id: 27698983, Consumer Id: 799556, Address Id: 11870433 => Updated with Vin: 1GYEK63N63R307029 ## Mail History Id: 27699001, Consumer Id: 816993, Address Id: 8309492 => Updated with Vin: 1G6DP567850107113 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 469 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-28 19:08:35') AND us2_order_type_id = 3 ## Order found: 614 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 614 AND product_id = 55 ## Job Group Found: '329' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('329') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008002') AND customer_id = 3357 ## Mailing found: '12000' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27699039, Consumer Id: 1178068, Address Id: 11715106 => Updated with Vin: 1FAHP35N98W189248 ## Mail History Id: 27699041, Consumer Id: 1178069, Address Id: 15365991 => Updated with Vin: 1FAHP35N98W269701 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 470 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-29 08:08:55') AND us2_order_type_id = 3 ## Order found: 634 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 634 AND product_id = 55 ## Job Group Found: '374' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('374') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408002') AND customer_id = 3230 ## Mailing found: '12350' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 471 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-29 08:38:46') AND us2_order_type_id = 3 ## Order found: 634 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 634 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3230 ## Mailing found: '12344' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337427, Consumer Id: 66331, Address Id: 49650 => Updated with Vin: 1FAFP23135G163445 ## Mail History Id: 28337449, Consumer Id: 64192, Address Id: 51305 => Updated with Vin: 1FTZX172XYNB53015 ## Mail History Id: 28337393, Consumer Id: 65975, Address Id: 48054 => Updated with Vin: 2FMDA53431BA08549 ## Mail History Id: 28337425, Consumer Id: 66878, Address Id: 51394 => Updated with Vin: SAJEB52D44XE18480 ## Mail History Id: 28337397, Consumer Id: 65214, Address Id: 49953 => Updated with Vin: 1FMZU77K34UB93962 ## Mail History Id: 28337439, Consumer Id: 93117, Address Id: 51535 => Updated with Vin: 1FMCU031X8KA68159 ## Mail History Id: 28337355, Consumer Id: 103742, Address Id: 53821 => Updated with Vin: 3VWCM31Y55M354279 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 472 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-29 08:38:56') AND us2_order_type_id = 3 ## Order found: 634 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 634 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3230 ## Mailing found: '12378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28786091, Consumer Id: 66477, Address Id: 49951 => Updated with Vin: 1FAFP52U1YG111300 ## Mail History Id: 28785984, Consumer Id: 91859, Address Id: 53865 => Updated with Vin: 1G3WS52K5WF386291 ## Mail History Id: 28785985, Consumer Id: 66705, Address Id: 47266 => Updated with Vin: 1FMEU74EX6UA92191 ## Mail History Id: 28785986, Consumer Id: 93524, Address Id: 52025 => Updated with Vin: 1FTSW21P95EA12494 ## Mail History Id: 28785987, Consumer Id: 38406, Address Id: 49082 => Updated with Vin: 1FTWW31P45EC09158 ## Mail History Id: 28785988, Consumer Id: 91840, Address Id: 47976 => Updated with Vin: 1FTPX14576FB23032 ## Mail History Id: 28785989, Consumer Id: 91860, Address Id: 48841 => Updated with Vin: 1FTSX21R98EA52304 ## Mail History Id: 28785990, Consumer Id: 67324, Address Id: 47556 => Updated with Vin: 3FAFP31N85R107411 ## Mail History Id: 28785991, Consumer Id: 91841, Address Id: 49151 => Updated with Vin: 2FALP73W3TX150620 ## Mail History Id: 28785992, Consumer Id: 66308, Address Id: 52988 => Updated with Vin: 1LNHM97V52Y683150 ## Mail History Id: 28785993, Consumer Id: 64245, Address Id: 48461 => Updated with Vin: 1FTNW21P43EC04559 ## Mail History Id: 28785994, Consumer Id: 63654, Address Id: 48058 => Updated with Vin: 1FTNX21P83EC81920 ## Mail History Id: 28785995, Consumer Id: 63858, Address Id: 49817 => Updated with Vin: 1FTSW31F13EA04609 ## Mail History Id: 28785996, Consumer Id: 63811, Address Id: 48958 => Updated with Vin: 2FMZA52275BA55854 ## Mail History Id: 28785997, Consumer Id: 67511, Address Id: 50721 => Updated with Vin: 1FDNE24L96HB28573 ## Mail History Id: 28785998, Consumer Id: 91842, Address Id: 50630 => Updated with Vin: 1FMEU74E46UA71997 ## Mail History Id: 28785999, Consumer Id: 97824, Address Id: 49370 => Updated with Vin: 3FAHP08Z78R206001 ## Mail History Id: 28786000, Consumer Id: 64392, Address Id: 47973 => Updated with Vin: 3FAKP1136YR130577 ## Mail History Id: 28786001, Consumer Id: 91836, Address Id: 50468 => Updated with Vin: 1FAFP34P13W155307 ## Mail History Id: 28786092, Consumer Id: 64207, Address Id: 47504 => Updated with Vin: 1FAFP52U5XG167738 ## Mail History Id: 28786003, Consumer Id: 91871, Address Id: 47333 => Updated with Vin: 1J8FF28W07D290748 ## Mail History Id: 28786004, Consumer Id: 91870, Address Id: 51746 => Updated with Vin: 2FMDK38C67BB48654 ## Mail History Id: 28786005, Consumer Id: 64403, Address Id: 51502 => Updated with Vin: 1FAFP53S1XG275089 ## Mail History Id: 28786006, Consumer Id: 64786, Address Id: 49990 => Updated with Vin: 1FMYU92164DA11094 ## Mail History Id: 28786007, Consumer Id: 91834, Address Id: 50737 => Updated with Vin: 1FTPX14V67FB15621 ## Mail History Id: 28786008, Consumer Id: 91837, Address Id: 52856 => Updated with Vin: 1FMZU63K15ZA18579 ## Mail History Id: 28786009, Consumer Id: 91839, Address Id: 48296 => Updated with Vin: 1G8AJ52F83Z162243 ## Mail History Id: 28786010, Consumer Id: 91869, Address Id: 49737 => Updated with Vin: 1FAHP34N07W365801 ## Mail History Id: 28786011, Consumer Id: 38578, Address Id: 51240 => Updated with Vin: 1FTPX14V07FB72106 ## Mail History Id: 28786012, Consumer Id: 97822, Address Id: 52526 => Updated with Vin: 1FAFP31N67W233265 ## Mail History Id: 28786082, Consumer Id: 96838, Address Id: 103068 => Updated with Vin: 1FTPW14V68FA35496 ## Mail History Id: 28786014, Consumer Id: 91827, Address Id: 48620 => Updated with Vin: 1FMEU73837UA35490 ## Mail History Id: 28786015, Consumer Id: 91831, Address Id: 50041 => Updated with Vin: 1FAFP37N97W243988 ## Mail History Id: 28786016, Consumer Id: 91872, Address Id: 51378 => Updated with Vin: 1FAFP241X7G123123 ## Mail History Id: 28786017, Consumer Id: 64672, Address Id: 49689 => Updated with Vin: 1FTNX21P53EC93023 ## Mail History Id: 28786018, Consumer Id: 91862, Address Id: 51233 => Updated with Vin: 1FMYU93167KB78165 ## Mail History Id: 28786019, Consumer Id: 66006, Address Id: 50019 => Updated with Vin: 2FTRX18LX2CA24647 ## Mail History Id: 28786020, Consumer Id: 64212, Address Id: 51173 => Updated with Vin: 1FMDU75W34ZA56782 ## Mail History Id: 28786021, Consumer Id: 63279, Address Id: 48828 => Updated with Vin: 1FTNX21P33ED82458 ## Mail History Id: 28786022, Consumer Id: 528040, Address Id: 9865139 => Updated with Vin: WVWMA63B6XE005537 ## Mail History Id: 28786023, Consumer Id: 63797, Address Id: 51311 => Updated with Vin: 1FTNW21P74EA62046 ## Mail History Id: 28786093, Consumer Id: 67008, Address Id: 49471 => Updated with Vin: 1FTPW14546FB21483 ## Total mail_history records updated with vin numbers: 42 out of 43 ============================================================ ====== Tracking Id: 473 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-06-29 10:10:54') AND us2_order_type_id = 3 ## Order found: 635 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 635 AND product_id = 143 ## Job Group Found: '334' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('334') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008001') AND customer_id = 3416 ## Mailing found: '12334' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27698321, Consumer Id: 692422, Address Id: 4762545 => Updated with Vin: 1GYFK638X7R216740 ## Mail History Id: 27698465, Consumer Id: 627122, Address Id: 11764722 => Updated with Vin: 5GTDN136568297858 ## Mail History Id: 27698273, Consumer Id: 692853, Address Id: 11798551 => Updated with Vin: 5GTDN136468107497 ## Mail History Id: 27698373, Consumer Id: 625377, Address Id: 11764740 => Updated with Vin: 1G6KD52Y1TU306590 ## Mail History Id: 27698261, Consumer Id: 692926, Address Id: 1958334 => Updated with Vin: 1G6KD57Y97U140902 ## Mail History Id: 27698469, Consumer Id: 625864, Address Id: 49681 => Updated with Vin: 1GYEE437880154873 ## Mail History Id: 27698419, Consumer Id: 627113, Address Id: 11764716 => Updated with Vin: 6MMAP67P42T001004 ## Mail History Id: 27698417, Consumer Id: 693318, Address Id: 11795602 => Updated with Vin: 1G2ZG57N884111535 ## Mail History Id: 27698331, Consumer Id: 630278, Address Id: 11770709 => Updated with Vin: JTJHA31U240055278 ## Mail History Id: 27698343, Consumer Id: 693317, Address Id: 11798783 => Updated with Vin: JNKCV54E83M213212 ## Mail History Id: 27698387, Consumer Id: 626015, Address Id: 11766237 => Updated with Vin: 1G6KD54Y52U158732 ## Mail History Id: 27698415, Consumer Id: 693325, Address Id: 11798788 => Updated with Vin: W06VR52R5VRO773O9 ## Mail History Id: 27698473, Consumer Id: 626039, Address Id: 11764731 => Updated with Vin: 3GYFK62808G239334 ## Mail History Id: 27698351, Consumer Id: 626029, Address Id: 11766243 => Updated with Vin: 1G6KD54Y6XU789691 ## Mail History Id: 27698355, Consumer Id: 623654, Address Id: 2757626 => Updated with Vin: 1G6KD54Y75U225187 ## Mail History Id: 27698271, Consumer Id: 623655, Address Id: 2756395 => Updated with Vin: 1G6KD54Y35U160256 ## Mail History Id: 27698289, Consumer Id: 685308, Address Id: 1959138 => Updated with Vin: 1G6KD54Y33U241643 ## Mail History Id: 27698435, Consumer Id: 629302, Address Id: 1969897 => Updated with Vin: 1G6DM57N230114514 ## Mail History Id: 27698407, Consumer Id: 625958, Address Id: 1969233 => Updated with Vin: 5GTEN13E288199966 ## Mail History Id: 27698363, Consumer Id: 681823, Address Id: 1967827 => Updated with Vin: 1G6KD54Y3XU774887 ## Mail History Id: 27698395, Consumer Id: 625180, Address Id: 11764769 => Updated with Vin: 1G6KD57Y07U156485 ## Mail History Id: 27698319, Consumer Id: 692756, Address Id: 1962253 => Updated with Vin: 1G6DP577X70153236 ## Mail History Id: 27698349, Consumer Id: 693238, Address Id: 1965590 => Updated with Vin: 1G2ZH368564283564 ## Mail History Id: 27698445, Consumer Id: 689183, Address Id: 1969960 => Updated with Vin: 1G6KD54Y33U141588 ## Mail History Id: 27698317, Consumer Id: 627100, Address Id: 1962152 => Updated with Vin: 1GYFK63837R203733 ## Mail History Id: 27698443, Consumer Id: 692027, Address Id: 1969937 => Updated with Vin: 1GYFK66887R208132 ## Mail History Id: 27698427, Consumer Id: 682962, Address Id: 11795239 => Updated with Vin: W06VR54R71R000836 ## Mail History Id: 27698441, Consumer Id: 626040, Address Id: 1969906 => Updated with Vin: 1G6KD57Y66U220799 ## Mail History Id: 27698403, Consumer Id: 683133, Address Id: 1969146 => Updated with Vin: W06VR54RX1R061047 ## Mail History Id: 27698421, Consumer Id: 686370, Address Id: 11795864 => Updated with Vin: 1G2WP12K01F180075 ## Mail History Id: 27698393, Consumer Id: 688589, Address Id: 11796912 => Updated with Vin: 3GYFK66N84G201053 ## Mail History Id: 27698453, Consumer Id: 692120, Address Id: 11796402 => Updated with Vin: 1G6DP577370102659 ## Mail History Id: 27698333, Consumer Id: 683699, Address Id: 1963734 => Updated with Vin: 1G6DM57N930133707 ## Mail History Id: 27698267, Consumer Id: 689619, Address Id: 2920542 => Updated with Vin: 1G3GS64CX14109804 ## Mail History Id: 27698299, Consumer Id: 625528, Address Id: 11766005 => Updated with Vin: 1GYFK63837R390908 ## Mail History Id: 27698405, Consumer Id: 627155, Address Id: 11764741 => Updated with Vin: 1G6KD54Y75U216599 ## Mail History Id: 27698315, Consumer Id: 627091, Address Id: 11764701 => Updated with Vin: 5GTDN136968134615 ## Mail History Id: 27698293, Consumer Id: 627148, Address Id: 11764732 => Updated with Vin: 3GYFK66N06G120034 ## Total mail_history records updated with vin numbers: 38 out of 41 ============================================================ ====== Tracking Id: 474 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-29 11:08:46') AND us2_order_type_id = 3 ## Order found: 636 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 636 AND product_id = 112 ## Job Group Found: '333' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('333') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008003') AND customer_id = 3486 ## Mailing found: '12332' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27698949, Consumer Id: 467858, Address Id: 818905 => Updated with Vin: 1GCDS136868188181 ## Mail History Id: 27698953, Consumer Id: 470888, Address Id: 9823340 => Updated with Vin: 2GCEC19T841400589 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 475 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-29 11:38:43') AND us2_order_type_id = 3 ## Order found: 637 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 637 AND product_id = 142 ## Job Group Found: '334' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('334') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008001') AND customer_id = 3357 ## Mailing found: '12333' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27698719, Consumer Id: 187357, Address Id: 398323 => Updated with Vin: 1FMDK06165GA39049 ## Mail History Id: 27698791, Consumer Id: 190310, Address Id: 400425 => Updated with Vin: 1FTRW12WX5FA28308 ## Mail History Id: 27698623, Consumer Id: 456716, Address Id: 398668 => Updated with Vin: JM1BJ225130200397 ## Mail History Id: 27698577, Consumer Id: 193195, Address Id: 402742 => Updated with Vin: 1FMZU67E41UC15516 ## Mail History Id: 27698661, Consumer Id: 456719, Address Id: 874911 => Updated with Vin: 1FAFP36371W234388 ## Mail History Id: 27698641, Consumer Id: 194481, Address Id: 404479 => Updated with Vin: 1FTWW33F42ED18980 ## Mail History Id: 27698657, Consumer Id: 188876, Address Id: 400767 => Updated with Vin: 1FMDU75K74ZA29906 ## Mail History Id: 27698635, Consumer Id: 187304, Address Id: 398086 => Updated with Vin: 1YVFP84D345N80655 ## Mail History Id: 27698633, Consumer Id: 456733, Address Id: 9815893 => Updated with Vin: 1FTYR14V12PB36636 ## Mail History Id: 27698671, Consumer Id: 198373, Address Id: 407690 => Updated with Vin: 1FMZU73E62ZA28536 ## Mail History Id: 27698821, Consumer Id: 456730, Address Id: 9815890 => Updated with Vin: 1FMCU94173KA06102 ## Mail History Id: 27698735, Consumer Id: 456735, Address Id: 9815895 => Updated with Vin: 2D4GP44L33R235396 ## Mail History Id: 27698653, Consumer Id: 456734, Address Id: 9815894 => Updated with Vin: JTEEP21A540040953 ## Mail History Id: 27698547, Consumer Id: 151788, Address Id: 394164 => Updated with Vin: JM1BK343451299826 ## Mail History Id: 27698743, Consumer Id: 193449, Address Id: 403324 => Updated with Vin: 1ZVHT82HX65136589 ## Mail History Id: 27698643, Consumer Id: 456717, Address Id: 9815882 => Updated with Vin: 1G1ZT63816F113957 ## Mail History Id: 27698813, Consumer Id: 153559, Address Id: 395796 => Updated with Vin: JM1BK32G771615549 ## Mail History Id: 27698637, Consumer Id: 154437, Address Id: 396600 => Updated with Vin: JM1BK344871708048 ## Mail History Id: 27698839, Consumer Id: 197607, Address Id: 406287 => Updated with Vin: JM1BK34M871715081 ## Mail History Id: 27698777, Consumer Id: 233911, Address Id: 394827 => Updated with Vin: 1D7HU18267J590475 ## Mail History Id: 27698773, Consumer Id: 189302, Address Id: 401541 => Updated with Vin: JM1NA3534V0733652 ## Mail History Id: 27698827, Consumer Id: 196516, Address Id: 401293 => Updated with Vin: 1FTRW07L11KA53852 ## Mail History Id: 27698665, Consumer Id: 456720, Address Id: 2359274 => Updated with Vin: 4M2XV11T2YDJ27927 ## Mail History Id: 27698803, Consumer Id: 456718, Address Id: 9815883 => Updated with Vin: 1FMFU18L6WLA05175 ## Mail History Id: 27698669, Consumer Id: 190599, Address Id: 399575 => Updated with Vin: 1FTNW21F92EA67589 ## Mail History Id: 27698617, Consumer Id: 191448, Address Id: 401713 => Updated with Vin: 1FTDX1766VKD21131 ## Mail History Id: 27698799, Consumer Id: 456721, Address Id: 9815884 => Updated with Vin: 2FALP74W4VX110659 ## Mail History Id: 27698705, Consumer Id: 456729, Address Id: 9815889 => Updated with Vin: 1FAFP52SXWG135574 ## Mail History Id: 27698559, Consumer Id: 198368, Address Id: 407688 => Updated with Vin: 3FAKP1131XR114091 ## Mail History Id: 27698741, Consumer Id: 456732, Address Id: 9815892 => Updated with Vin: WDBJF70J5YA973206 ## Total mail_history records updated with vin numbers: 30 out of 35 ============================================================ ====== Tracking Id: 476 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-29 11:38:53') AND us2_order_type_id = 3 ## Order found: 637 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 637 AND product_id = 112 ## Job Group Found: '333' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('333') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008003') AND customer_id = 3357 ## Mailing found: '12329' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 477 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-06-29 12:11:26') AND us2_order_type_id = 3 ## Order found: 639 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 639 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 478 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-06-29 12:11:41') AND us2_order_type_id = 3 ## Order found: 638 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 638 AND product_id = 143 ## Job Group Found: '334' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('334') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008001') AND customer_id = 3471 ## Mailing found: '12335' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27698446, Consumer Id: 760409, Address Id: 11851024 => Updated with Vin: 1GYFK63857R136309 ## Mail History Id: 27698140, Consumer Id: 820654, Address Id: 7415751 => Updated with Vin: 1G6EL12Y72B100192 ## Mail History Id: 27697826, Consumer Id: 760307, Address Id: 7878374 => Updated with Vin: W06VR54R5YR034283 ## Mail History Id: 27698270, Consumer Id: 800955, Address Id: 7416118 => Updated with Vin: 1G3GR62H114105540 ## Mail History Id: 27698594, Consumer Id: 799812, Address Id: 10215152 => Updated with Vin: 1G6KE57Y62U191490 ## Mail History Id: 27697776, Consumer Id: 823375, Address Id: 11873530 => Updated with Vin: 1GCCS19XXV8146444 ## Mail History Id: 27698584, Consumer Id: 799544, Address Id: 10215009 => Updated with Vin: 1G6KE54Y1XU782273 ## Mail History Id: 27698091, Consumer Id: 760515, Address Id: 11851067 => Updated with Vin: 1G6KS54Y5YU271370 ## Mail History Id: 27698211, Consumer Id: 760330, Address Id: 11850996 => Updated with Vin: 1G6KD54Y7XU722016 ## Mail History Id: 27697823, Consumer Id: 823387, Address Id: 6530565 => Updated with Vin: 1G6KD57Y76U158359 ## Mail History Id: 27698298, Consumer Id: 807419, Address Id: 7416153 => Updated with Vin: 1G6DM577240164820 ## Mail History Id: 27698517, Consumer Id: 816170, Address Id: 11872101 => Updated with Vin: 1GHDT13S942239580 ## Mail History Id: 27698796, Consumer Id: 821675, Address Id: 10216848 => Updated with Vin: 1G3NL52E52C166521 ## Mail History Id: 27697871, Consumer Id: 799800, Address Id: 10218918 => Updated with Vin: 1G6KD54Y8YU302041 ## Mail History Id: 27697754, Consumer Id: 802818, Address Id: 7878174 => Updated with Vin: 1G6KD54Y83U205768 ## Mail History Id: 27698342, Consumer Id: 804721, Address Id: 7416290 => Updated with Vin: 1G6KE54Y74U191716 ## Mail History Id: 27697927, Consumer Id: 807147, Address Id: 4231633 => Updated with Vin: 1GYEK63N65R116228 ## Mail History Id: 27698028, Consumer Id: 807189, Address Id: 7878935 => Updated with Vin: 1G6KD54Y25U121495 ## Mail History Id: 27698606, Consumer Id: 821130, Address Id: 11876343 => Updated with Vin: 1GYFK63837R171124 ## Mail History Id: 27697903, Consumer Id: 823394, Address Id: 10219239 => Updated with Vin: 1G6KD579X6U232785 ## Mail History Id: 27698294, Consumer Id: 821503, Address Id: 10213906 => Updated with Vin: 1G6KD54Y2WU748666 ## Mail History Id: 27698508, Consumer Id: 760291, Address Id: 10214618 => Updated with Vin: 1G3NL52T1XC356614 ## Mail History Id: 27697855, Consumer Id: 821225, Address Id: 10218612 => Updated with Vin: 2G4WF551X11118873 ## Mail History Id: 27698288, Consumer Id: 804941, Address Id: 7416140 => Updated with Vin: 1G3NL52E51C255021 ## Mail History Id: 27697687, Consumer Id: 798327, Address Id: 10217033 => Updated with Vin: 1G6KS54Y0WU926662 ## Mail History Id: 27698197, Consumer Id: 820806, Address Id: 11876790 => Updated with Vin: 1G6DC67A260203574 ## Mail History Id: 27697957, Consumer Id: 760403, Address Id: 10220214 => Updated with Vin: 1GYEK13R0YR108491 ## Mail History Id: 27698214, Consumer Id: 798192, Address Id: 7415954 => Updated with Vin: 1GYEK63N82R123693 ## Mail History Id: 27697822, Consumer Id: 798395, Address Id: 10211907 => Updated with Vin: 1G6KY5490XU913581 ## Mail History Id: 27697846, Consumer Id: 817207, Address Id: 7878439 => Updated with Vin: 3GYEK62N95G268943 ## Mail History Id: 27697700, Consumer Id: 800124, Address Id: 7877962 => Updated with Vin: 1G6KY5499YU177693 ## Mail History Id: 27698376, Consumer Id: 798461, Address Id: 10214263 => Updated with Vin: 1G6KD54Y5XU726761 ## Mail History Id: 27697829, Consumer Id: 823365, Address Id: 10563028 => Updated with Vin: 1G6KD57Y77U103833 ## Mail History Id: 27698484, Consumer Id: 798196, Address Id: 7416862 => Updated with Vin: 1GYEK63N33R279769 ## Mail History Id: 27698019, Consumer Id: 804019, Address Id: 11872767 => Updated with Vin: 1GYEK63NX4R190234 ## Mail History Id: 27698428, Consumer Id: 760259, Address Id: 7416746 => Updated with Vin: 3GYFK66N74G187887 ## Mail History Id: 27697770, Consumer Id: 805048, Address Id: 7878222 => Updated with Vin: 2G4WS52J341165229 ## Mail History Id: 27697741, Consumer Id: 806936, Address Id: 10217483 => Updated with Vin: 1G6DD67V680158125 ## Mail History Id: 27697836, Consumer Id: 807139, Address Id: 7878405 => Updated with Vin: 1G6KF5495XU774781 ## Mail History Id: 27697837, Consumer Id: 806909, Address Id: 11876700 => Updated with Vin: 1GYEK63N35R228209 ## Mail History Id: 27697764, Consumer Id: 816783, Address Id: 10211189 => Updated with Vin: 1G6DM57NX30116575 ## Mail History Id: 27697942, Consumer Id: 816806, Address Id: 6526918 => Updated with Vin: 1GYEK63N75R218301 ## Mail History Id: 27697818, Consumer Id: 807028, Address Id: 11872521 => Updated with Vin: 1GYEK63N55R140598 ## Mail History Id: 27698080, Consumer Id: 806242, Address Id: 7879091 => Updated with Vin: 1G6DP567050107767 ## Mail History Id: 27698782, Consumer Id: 823030, Address Id: 10562260 => Updated with Vin: 1GYEK63N46R156003 ## Mail History Id: 27697860, Consumer Id: 818312, Address Id: 7878455 => Updated with Vin: 1G6KS54Y04U170408 ## Mail History Id: 27697811, Consumer Id: 820466, Address Id: 11876665 => Updated with Vin: 1G6DC67A950231340 ## Mail History Id: 27698186, Consumer Id: 807026, Address Id: 11876268 => Updated with Vin: 1GYFK63868R198724 ## Mail History Id: 27697751, Consumer Id: 760215, Address Id: 10562678 => Updated with Vin: 1G6KS5155KU807977 ## Mail History Id: 27697888, Consumer Id: 760524, Address Id: 6525347 => Updated with Vin: 1G6YV34A855600187 ## Mail History Id: 27698137, Consumer Id: 822320, Address Id: 11876705 => Updated with Vin: 1GYFK63897R337937 ## Mail History Id: 27698292, Consumer Id: 822659, Address Id: 11876352 => Updated with Vin: 1GYFK63837R385708 ## Mail History Id: 27698146, Consumer Id: 822605, Address Id: 7415752 => Updated with Vin: 1GYFK66827R304113 ## Mail History Id: 27698038, Consumer Id: 822839, Address Id: 11876241 => Updated with Vin: 1GYFK66847R412958 ## Mail History Id: 27698045, Consumer Id: 806882, Address Id: 11876594 => Updated with Vin: 1G6KD57Y17U175370 ## Mail History Id: 27698358, Consumer Id: 760352, Address Id: 7416333 => Updated with Vin: 1G6KE54Y74U217876 ## Mail History Id: 27698122, Consumer Id: 806888, Address Id: 7415679 => Updated with Vin: 1GYFK63848R176480 ## Mail History Id: 27698039, Consumer Id: 760272, Address Id: 11850972 => Updated with Vin: 1G6KD57906U118665 ## Mail History Id: 27698086, Consumer Id: 806945, Address Id: 7415523 => Updated with Vin: 1G6KE57Y94U245500 ## Mail History Id: 27698278, Consumer Id: 806947, Address Id: 11876350 => Updated with Vin: 1G6DC67A350120461 ## Mail History Id: 27697984, Consumer Id: 806902, Address Id: 11876276 => Updated with Vin: 1G6KF579X5U176744 ## Mail History Id: 27697954, Consumer Id: 760516, Address Id: 6527188 => Updated with Vin: 1GYFK63837R137345 ## Mail History Id: 27697777, Consumer Id: 798325, Address Id: 11869818 => Updated with Vin: 1GYEK63N52R159311 ## Mail History Id: 27697896, Consumer Id: 806929, Address Id: 11876232 => Updated with Vin: 1GYEK63N35R216352 ## Mail History Id: 27698083, Consumer Id: 803318, Address Id: 11872357 => Updated with Vin: 1G6EL12Y81B102631 ## Mail History Id: 27698493, Consumer Id: 807034, Address Id: 11876900 => Updated with Vin: 1GYEE63A050233358 ## Mail History Id: 27697686, Consumer Id: 807018, Address Id: 11876723 => Updated with Vin: 1GYEK63N72R175302 ## Mail History Id: 27698171, Consumer Id: 805805, Address Id: 4236070 => Updated with Vin: W06VR52R4WR244051 ## Mail History Id: 27697701, Consumer Id: 807027, Address Id: 11876511 => Updated with Vin: 1G6DP577370154678 ## Mail History Id: 27697729, Consumer Id: 806935, Address Id: 11876563 => Updated with Vin: 1GYFK63887R406715 ## Mail History Id: 27697987, Consumer Id: 806914, Address Id: 11876863 => Updated with Vin: WBADM6343YGU27518 ## Mail History Id: 27698066, Consumer Id: 802355, Address Id: 11871880 => Updated with Vin: 1G6KY5494XU936880 ## Mail History Id: 27698628, Consumer Id: 799500, Address Id: 10215435 => Updated with Vin: 1G6EL12Y8VU607384 ## Total mail_history records updated with vin numbers: 73 out of 78 ============================================================ ====== Tracking Id: 479 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-06-29 12:12:38') AND us2_order_type_id = 3 ## Order found: 638 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 638 AND product_id = 112 ## Job Group Found: '333' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('333') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008003') AND customer_id = 3471 ## Mailing found: '12331' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27698997, Consumer Id: 822444, Address Id: 10219245 => Updated with Vin: 1G6KD57Y17U181444 ## Mail History Id: 27698975, Consumer Id: 799607, Address Id: 7416955 => Updated with Vin: 1GHDT13W7Y2312275 ## Mail History Id: 27699003, Consumer Id: 799817, Address Id: 11870551 => Updated with Vin: 1G6KD54Y62U175930 ## Mail History Id: 27699005, Consumer Id: 803499, Address Id: 11872453 => Updated with Vin: 1G6DM577540126787 ## Mail History Id: 27698985, Consumer Id: 807983, Address Id: 10216298 => Updated with Vin: 1GYEK63N55R167428 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 480 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-06-29 12:12:58') AND us2_order_type_id = 3 ## Order found: 639 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 639 AND product_id = 114 ## Job Group Found: '333' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('333') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008003') AND customer_id = 3427 ## Mailing found: '12330' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27698871, Consumer Id: 506577, Address Id: 9841143 => Updated with Vin: SHSRD78804U257416 ## Mail History Id: 27698930, Consumer Id: 496515, Address Id: 9831042 => Updated with Vin: 1HGES16513L035529 ## Mail History Id: 27698881, Consumer Id: 491925, Address Id: 7555200 => Updated with Vin: 1HGCM56643A016132 ## Mail History Id: 27698922, Consumer Id: 499795, Address Id: 9834103 => Updated with Vin: 2HKYF18644H559107 ## Mail History Id: 27698974, Consumer Id: 509505, Address Id: 9843013 => Updated with Vin: 1HGEJ6607TL004550 ## Mail History Id: 27698947, Consumer Id: 499359, Address Id: 9833398 => Updated with Vin: SHSRD78434U222138 ## Mail History Id: 27698920, Consumer Id: 507050, Address Id: 9828745 => Updated with Vin: 5FNRL38215B084201 ## Mail History Id: 27698932, Consumer Id: 495286, Address Id: 9830172 => Updated with Vin: SHSRD68443U102065 ## Mail History Id: 27698921, Consumer Id: 498077, Address Id: 9832169 => Updated with Vin: 2HKRL18052H528194 ## Mail History Id: 27698923, Consumer Id: 495747, Address Id: 9830500 => Updated with Vin: 2HKRL18601H617447 ## Mail History Id: 27698958, Consumer Id: 508037, Address Id: 325920 => Updated with Vin: 1HGCM564X5A120786 ## Mail History Id: 27698950, Consumer Id: 497032, Address Id: 325440 => Updated with Vin: 2HKRL1866XH511495 ## Mail History Id: 27698943, Consumer Id: 513419, Address Id: 9845399 => Updated with Vin: 1HGEM22925L007864 ## Mail History Id: 27698865, Consumer Id: 493256, Address Id: 9828659 => Updated with Vin: SHSRD68432U000576 ## Mail History Id: 27698908, Consumer Id: 509573, Address Id: 7552699 => Updated with Vin: 2HGES16465H615091 ## Mail History Id: 27698940, Consumer Id: 490862, Address Id: 324925 => Updated with Vin: JHMES96613S015145 ## Mail History Id: 27698962, Consumer Id: 499455, Address Id: 9833462 => Updated with Vin: 5J6YH28504L004216 ## Mail History Id: 27698901, Consumer Id: 494521, Address Id: 9829582 => Updated with Vin: 1HGCG6650YA134612 ## Mail History Id: 27698856, Consumer Id: 495916, Address Id: 3961441 => Updated with Vin: 1HGEJ824XYL019104 ## Mail History Id: 27698898, Consumer Id: 501690, Address Id: 9836664 => Updated with Vin: 2HGES165X1H544092 ## Mail History Id: 27698994, Consumer Id: 494820, Address Id: 329573 => Updated with Vin: 2HGES165X1H585256 ## Mail History Id: 27698988, Consumer Id: 491928, Address Id: 329195 => Updated with Vin: 1HGEM22962L105548 ## Mail History Id: 27698967, Consumer Id: 510377, Address Id: 9843578 => Updated with Vin: 1HGCG16512A020516 ## Mail History Id: 27698886, Consumer Id: 491323, Address Id: 9827197 => Updated with Vin: 5FNRL18663B089057 ## Mail History Id: 27698931, Consumer Id: 494147, Address Id: 9829301 => Updated with Vin: 1HGES16533L003830 ## Mail History Id: 27698925, Consumer Id: 495915, Address Id: 9830621 => Updated with Vin: 1HGEM22962L053466 ## Mail History Id: 27698897, Consumer Id: 495917, Address Id: 9830622 => Updated with Vin: 1HGCG56601A055739 ## Mail History Id: 27698876, Consumer Id: 491763, Address Id: 9827551 => Updated with Vin: JHMCG6695YC012977 ## Mail History Id: 27698911, Consumer Id: 496461, Address Id: 9831001 => Updated with Vin: 1HGEM22553L079961 ## Mail History Id: 27698986, Consumer Id: 496000, Address Id: 328806 => Updated with Vin: 2HGEJ6440YH110820 ## Mail History Id: 27698946, Consumer Id: 498928, Address Id: 9832782 => Updated with Vin: SHSRD68434U202711 ## Mail History Id: 27698954, Consumer Id: 495610, Address Id: 325570 => Updated with Vin: 1HGCM66593A043582 ## Mail History Id: 27698910, Consumer Id: 495306, Address Id: 7552700 => Updated with Vin: SHSRD78893U152985 ## Mail History Id: 27698976, Consumer Id: 510378, Address Id: 327688 => Updated with Vin: 5FNYF18445B061052 ## Mail History Id: 27698885, Consumer Id: 501856, Address Id: 9837269 => Updated with Vin: SHSRD78874U238104 ## Mail History Id: 27698938, Consumer Id: 510352, Address Id: 9843561 => Updated with Vin: 1HGCM56865A189543 ## Mail History Id: 27699010, Consumer Id: 502623, Address Id: 9838577 => Updated with Vin: JHMES966X5S001425 ## Mail History Id: 27698984, Consumer Id: 503756, Address Id: 328780 => Updated with Vin: 1HGCM66555A019699 ## Mail History Id: 27698990, Consumer Id: 495609, Address Id: 329302 => Updated with Vin: 1HGES25731L076461 ## Mail History Id: 27698933, Consumer Id: 510186, Address Id: 9843461 => Updated with Vin: 2HGES16395H549434 ## Mail History Id: 27698863, Consumer Id: 505415, Address Id: 9840379 => Updated with Vin: JHMBB6149WC000544 ## Mail History Id: 27698860, Consumer Id: 494148, Address Id: 9829302 => Updated with Vin: 1HGES16592L040329 ## Mail History Id: 27698859, Consumer Id: 472103, Address Id: 9833711 => Updated with Vin: 1HGFA16896L084015 ## Mail History Id: 27698902, Consumer Id: 518141, Address Id: 7552550 => Updated with Vin: 5FNRL38767B014045 ## Mail History Id: 27698914, Consumer Id: 514392, Address Id: 9845972 => Updated with Vin: 1HGCM56745A062331 ## Mail History Id: 27698944, Consumer Id: 472102, Address Id: 325165 => Updated with Vin: 1HGFA16586L090975 ## Mail History Id: 27698929, Consumer Id: 473590, Address Id: 8195811 => Updated with Vin: SHSRD78906U432839 ## Mail History Id: 27698900, Consumer Id: 473803, Address Id: 9830819 => Updated with Vin: 2HGEJ6672WH608943 ## Mail History Id: 27698861, Consumer Id: 474142, Address Id: 9835445 => Updated with Vin: SHSRD78926U428467 ## Mail History Id: 27698980, Consumer Id: 474004, Address Id: 9835390 => Updated with Vin: 2HGFG12697H524557 ## Mail History Id: 27699014, Consumer Id: 474918, Address Id: 8195349 => Updated with Vin: 1HGFA16867L035470 ## Mail History Id: 27698864, Consumer Id: 516796, Address Id: 9847400 => Updated with Vin: JNKBY01E57M401671 ## Mail History Id: 27698972, Consumer Id: 482550, Address Id: 9828292 => Updated with Vin: 2HKYF18643H520743 ## Total mail_history records updated with vin numbers: 53 out of 60 ============================================================ ====== Tracking Id: 481 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-06-29 12:13:49') AND us2_order_type_id = 3 ## Order found: 639 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 639 AND product_id = 112 ## Job Group Found: '333' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('333') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm063008003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm063008003') AND customer_id = 3427 ## Mailing found: '12330' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 27698996, Consumer Id: 504503, Address Id: 9840176 => Updated with Vin: 2HKRL18651H560551 ## Mail History Id: 27698960, Consumer Id: 498513, Address Id: 9832480 => Updated with Vin: JHMES95614S004911 ## Mail History Id: 27698952, Consumer Id: 497334, Address Id: 9831632 => Updated with Vin: 1HGCM56304A018211 ## Mail History Id: 27698916, Consumer Id: 490904, Address Id: 9826880 => Updated with Vin: 1HGCG56622A045084 ## Mail History Id: 27698912, Consumer Id: 492424, Address Id: 9826797 => Updated with Vin: 1HGCG16521A048016 ## Mail History Id: 27698891, Consumer Id: 497845, Address Id: 9832001 => Updated with Vin: 2HGEJ6614XH513071 ## Mail History Id: 27698939, Consumer Id: 501680, Address Id: 9836657 => Updated with Vin: SHSRD78893U102538 ## Mail History Id: 27698966, Consumer Id: 483452, Address Id: 9828491 => Updated with Vin: 1HGES15132L026327 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 482 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-30 08:38:49') AND us2_order_type_id = 3 ## Order found: 646 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 646 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3230 ## Mailing found: '12344' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337339, Consumer Id: 93446, Address Id: 51951 => Updated with Vin: 1FTPX14V38FA55153 ## Mail History Id: 28337403, Consumer Id: 92489, Address Id: 49619 => Updated with Vin: 1FTRX07203KD09924 ## Mail History Id: 28337391, Consumer Id: 92441, Address Id: 50697 => Updated with Vin: 3A4FY58B96T212925 ## Mail History Id: 28337345, Consumer Id: 93448, Address Id: 51953 => Updated with Vin: 1G1ZT51F26F291940 ## Mail History Id: 28337369, Consumer Id: 93447, Address Id: 51952 => Updated with Vin: 1FTPX14V17FB87889 ## Total mail_history records updated with vin numbers: 5 out of 7 ============================================================ ====== Tracking Id: 483 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-06-30 08:38:59') AND us2_order_type_id = 3 ## Order found: 646 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 646 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3230 ## Mailing found: '12378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28786091, Consumer Id: 66477, Address Id: 49951 => Updated with Vin: 1FAFP52U1YG111300 ## Mail History Id: 28786092, Consumer Id: 63571, Address Id: 47504 => Updated with Vin: 1FAFP53U5XG153496 ## Mail History Id: 28786093, Consumer Id: 64604, Address Id: 49471 => Updated with Vin: 1FTPX14584NA58355 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 484 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-06-30 10:16:21') AND us2_order_type_id = 3 ## Order found: 647 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 647 AND product_id = 143 ## Job Group Found: '345' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('345') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708001') AND customer_id = 3416 ## Mailing found: '12338' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026011, Consumer Id: 626015, Address Id: 11766237 => Updated with Vin: 1G6KD54Y52U158732 ## Mail History Id: 28025981, Consumer Id: 623654, Address Id: 2757626 => Updated with Vin: 1G6KD54Y75U225187 ## Mail History Id: 28025957, Consumer Id: 625928, Address Id: 1965590 => Updated with Vin: 1G6KD54Y15U184605 ## Mail History Id: 28025989, Consumer Id: 625740, Address Id: 11766110 => Updated with Vin: 1GYFK66858R149803 ## Mail History Id: 28025863, Consumer Id: 689876, Address Id: 1959727 => Updated with Vin: 1GYEE63A660118233 ## Mail History Id: 28026071, Consumer Id: 692230, Address Id: 1969804 => Updated with Vin: 1G6DW677970118373 ## Mail History Id: 28025977, Consumer Id: 625142, Address Id: 1967270 => Updated with Vin: 1G6DW677550175375 ## Mail History Id: 28026089, Consumer Id: 626040, Address Id: 1969906 => Updated with Vin: 1G6KD57Y66U220799 ## Mail History Id: 28025885, Consumer Id: 625528, Address Id: 11766005 => Updated with Vin: 1GYFK63837R390908 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 485 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-06-30 11:13:13') AND us2_order_type_id = 3 ## Order found: 648 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 648 AND product_id = 112 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3486 ## Mailing found: '12343' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026395, Consumer Id: 463396, Address Id: 1037661 => Updated with Vin: 3GNEC12T44G137400 ## Mail History Id: 28026385, Consumer Id: 477204, Address Id: 1547192 => Updated with Vin: 1G1NE52JX3M575383 ## Mail History Id: 28026391, Consumer Id: 478962, Address Id: 7540039 => Updated with Vin: 1GCFG25R521160509 ## Mail History Id: 28026397, Consumer Id: 466782, Address Id: 4374826 => Updated with Vin: 2CNDL63F456053225 ## Mail History Id: 28026393, Consumer Id: 480158, Address Id: 1037225 => Updated with Vin: 1GCHK23U33F258571 ## Mail History Id: 28026411, Consumer Id: 480524, Address Id: 3291428 => Updated with Vin: 1G1ZS52F25F148700 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 486 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-30 11:43:09') AND us2_order_type_id = 3 ## Order found: 649 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 649 AND product_id = 142 ## Job Group Found: '345' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('345') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708001') AND customer_id = 3357 ## Mailing found: '12337' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28025598, Consumer Id: 190951, Address Id: 400942 => Updated with Vin: 1FAFP34P72W236939 ## Mail History Id: 28025664, Consumer Id: 195872, Address Id: 405265 => Updated with Vin: 2FMDA51423BB41521 ## Mail History Id: 28025726, Consumer Id: 187877, Address Id: 398518 => Updated with Vin: 1FMDU75W93ZA44456 ## Mail History Id: 28025776, Consumer Id: 190451, Address Id: 400440 => Updated with Vin: JM1BK323041192239 ## Mail History Id: 28025628, Consumer Id: 197758, Address Id: 406799 => Updated with Vin: 1FTWW33P84ED44994 ## Mail History Id: 28026211, Consumer Id: 196211, Address Id: 405327 => Updated with Vin: JM1BK343051247058 ## Mail History Id: 28025820, Consumer Id: 152824, Address Id: 395123 => Updated with Vin: JM1BK344061496468 ## Mail History Id: 28025972, Consumer Id: 154174, Address Id: 396354 => Updated with Vin: JM1BK344671689063 ## Mail History Id: 28025992, Consumer Id: 460560, Address Id: 9818749 => Updated with Vin: 1FTWX31P06EA22367 ## Mail History Id: 28025596, Consumer Id: 192762, Address Id: 402915 => Updated with Vin: 1FTWW31P66EA73441 ## Mail History Id: 28026199, Consumer Id: 152102, Address Id: 394458 => Updated with Vin: 3FAFP06Z86R114452 ## Mail History Id: 28025944, Consumer Id: 154511, Address Id: 396667 => Updated with Vin: JM1FE173370210006 ## Mail History Id: 28026127, Consumer Id: 155009, Address Id: 397102 => Updated with Vin: JM1BK324X71627880 ## Mail History Id: 28026187, Consumer Id: 154748, Address Id: 396879 => Updated with Vin: JM1BK32G971682704 ## Mail History Id: 28025960, Consumer Id: 154645, Address Id: 396786 => Updated with Vin: 1YVHP80C675M36060 ## Mail History Id: 28025578, Consumer Id: 190399, Address Id: 401611 => Updated with Vin: 1FMEE11L0VHB73835 ## Mail History Id: 28025856, Consumer Id: 460559, Address Id: 9818748 => Updated with Vin: 1FTRF27L7XKB00418 ## Mail History Id: 28026143, Consumer Id: 194386, Address Id: 404607 => Updated with Vin: JM3LW28GXY0143498 ## Total mail_history records updated with vin numbers: 18 out of 20 ============================================================ ====== Tracking Id: 487 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-30 11:43:12') AND us2_order_type_id = 3 ## Order found: 649 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 649 AND product_id = 112 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3357 ## Mailing found: '12340' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026531, Consumer Id: 189903, Address Id: 400087 => Updated with Vin: 1FTRX17W82NA73948 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 488 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-06-30 11:43:26') AND us2_order_type_id = 3 ## Order found: 649 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 649 AND product_id = 113 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3357 ## Mailing found: '12340' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026525, Consumer Id: 155496, Address Id: 397545 => Updated with Vin: 1G8JW52R31Y527667 ## Mail History Id: 28026521, Consumer Id: 153039, Address Id: 395320 => Updated with Vin: 1FDXE45P05HA56411 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 489 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-06-30 12:16:23') AND us2_order_type_id = 3 ## Order found: 650 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 650 AND product_id = 114 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3427 ## Mailing found: '12341' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026238, Consumer Id: 499678, Address Id: 9834025 => Updated with Vin: 2HKYF18544H561821 ## Mail History Id: 28026235, Consumer Id: 491160, Address Id: 7555158 => Updated with Vin: 2HKRL18773H501075 ## Mail History Id: 28026434, Consumer Id: 511300, Address Id: 327171 => Updated with Vin: 1HGCM56456A028650 ## Mail History Id: 28026327, Consumer Id: 517936, Address Id: 9831601 => Updated with Vin: JHMES96614S013039 ## Mail History Id: 28026448, Consumer Id: 501591, Address Id: 328089 => Updated with Vin: 2HKYF18473H539107 ## Mail History Id: 28026354, Consumer Id: 492833, Address Id: 9828346 => Updated with Vin: 1HGEM22943L056593 ## Mail History Id: 28026412, Consumer Id: 494639, Address Id: 326378 => Updated with Vin: JHLRD78822C035755 ## Mail History Id: 28026289, Consumer Id: 517934, Address Id: 9827812 => Updated with Vin: 1HGCG165XWA017779 ## Mail History Id: 28026278, Consumer Id: 473570, Address Id: 9834798 => Updated with Vin: 1HGCM72326A023916 ## Mail History Id: 28026259, Consumer Id: 474834, Address Id: 8195568 => Updated with Vin: 1HGCM56467A027010 ## Mail History Id: 28026349, Consumer Id: 482586, Address Id: 9831184 => Updated with Vin: 2HGEJ6329YH105731 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 490 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-06-30 12:16:36') AND us2_order_type_id = 3 ## Order found: 650 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 650 AND product_id = 113 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3427 ## Mailing found: '12341' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026402, Consumer Id: 491778, Address Id: 326143 => Updated with Vin: 2HKYF185X3H506272 ## Mail History Id: 28026480, Consumer Id: 496349, Address Id: 330427 => Updated with Vin: 5J6YH27503L043663 ## Mail History Id: 28026353, Consumer Id: 510969, Address Id: 9843941 => Updated with Vin: JHMES96624S022137 ## Mail History Id: 28026282, Consumer Id: 510985, Address Id: 9843950 => Updated with Vin: 5FNRL38725B099088 ## Mail History Id: 28026310, Consumer Id: 495402, Address Id: 7552659 => Updated with Vin: 5FNRL180X3B146064 ## Mail History Id: 28026339, Consumer Id: 498693, Address Id: 9832608 => Updated with Vin: 1HGES16324L007397 ## Mail History Id: 28026309, Consumer Id: 496001, Address Id: 9830675 => Updated with Vin: 1HGCM56673A129976 ## Mail History Id: 28026494, Consumer Id: 490847, Address Id: 9826837 => Updated with Vin: JHMEG8656RS008882 ## Mail History Id: 28026365, Consumer Id: 472852, Address Id: 8195971 => Updated with Vin: 5FNYF18466B007138 ## Mail History Id: 28026242, Consumer Id: 482853, Address Id: 9837608 => Updated with Vin: 2HGFG12637H549485 ## Mail History Id: 28026340, Consumer Id: 515738, Address Id: 9846767 => Updated with Vin: JHMCM56693C006004 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 491 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-06-30 12:16:37') AND us2_order_type_id = 3 ## Order found: 651 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 651 AND product_id = 143 ## Job Group Found: '345' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('345') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708001') AND customer_id = 3471 ## Mailing found: '12339' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28025815, Consumer Id: 806998, Address Id: 11876797 => Updated with Vin: 1G6KD54Y33U102564 ## Mail History Id: 28026146, Consumer Id: 820654, Address Id: 7415751 => Updated with Vin: 1G6EL12Y72B100192 ## Mail History Id: 28026106, Consumer Id: 805498, Address Id: 7878745 => Updated with Vin: 1G6KD54Y61U115659 ## Mail History Id: 28025601, Consumer Id: 799811, Address Id: 10215271 => Updated with Vin: 1G6DM57NX30102529 ## Mail History Id: 28025593, Consumer Id: 799544, Address Id: 10215009 => Updated with Vin: 1G6KE54Y1XU782273 ## Mail History Id: 28025663, Consumer Id: 804383, Address Id: 10216931 => Updated with Vin: 1G6KS52Y8TU803027 ## Mail History Id: 28026186, Consumer Id: 803909, Address Id: 11872746 => Updated with Vin: 1G6KD52B8RU225882 ## Mail History Id: 28026036, Consumer Id: 817801, Address Id: 10211482 => Updated with Vin: 1G6KF52Y7RU267720 ## Mail History Id: 28026174, Consumer Id: 803640, Address Id: 7415982 => Updated with Vin: 1G6ET1290YU184121 ## Mail History Id: 28026008, Consumer Id: 799551, Address Id: 10210044 => Updated with Vin: 1G6EL12Y4TU605886 ## Mail History Id: 28026192, Consumer Id: 822675, Address Id: 11871515 => Updated with Vin: 1GYEE63A170180396 ## Mail History Id: 28025599, Consumer Id: 816762, Address Id: 10215204 => Updated with Vin: 1G6KD54Y72U268407 ## Mail History Id: 28025665, Consumer Id: 806221, Address Id: 10216379 => Updated with Vin: 1GHDU03E3WD202999 ## Mail History Id: 28025693, Consumer Id: 799542, Address Id: 10217527 => Updated with Vin: 1G6KS54Y0YU151086 ## Mail History Id: 28025801, Consumer Id: 800231, Address Id: 11870779 => Updated with Vin: 1G6KF5793YU323054 ## Mail History Id: 28025755, Consumer Id: 760403, Address Id: 10220214 => Updated with Vin: 1GYEK13R0YR108491 ## Mail History Id: 28026046, Consumer Id: 760492, Address Id: 10211888 => Updated with Vin: 1G6KY5494XU915138 ## Mail History Id: 28025639, Consumer Id: 760518, Address Id: 10216078 => Updated with Vin: 3GYEK63NX2G245892 ## Mail History Id: 28026228, Consumer Id: 799598, Address Id: 7416825 => Updated with Vin: 1G3NL52T71C144856 ## Mail History Id: 28025783, Consumer Id: 760506, Address Id: 11851066 => Updated with Vin: 1G3GR64H424128065 ## Mail History Id: 28026188, Consumer Id: 799596, Address Id: 7416195 => Updated with Vin: 1G3GS64C024206236 ## Mail History Id: 28026100, Consumer Id: 803105, Address Id: 6527218 => Updated with Vin: 3GYEK63N72G342936 ## Mail History Id: 28025595, Consumer Id: 806937, Address Id: 11870781 => Updated with Vin: 1G6KD57Y96U154121 ## Mail History Id: 28026058, Consumer Id: 804247, Address Id: 10212087 => Updated with Vin: 1G6KD54Y4XU740649 ## Mail History Id: 28025689, Consumer Id: 806936, Address Id: 10217483 => Updated with Vin: 1G6DD67V680158125 ## Mail History Id: 28025605, Consumer Id: 805499, Address Id: 10215378 => Updated with Vin: 3GYFK66N64G245004 ## Mail History Id: 28025667, Consumer Id: 760499, Address Id: 10216465 => Updated with Vin: 1G6KD57Y86U163375 ## Mail History Id: 28025585, Consumer Id: 798121, Address Id: 7416986 => Updated with Vin: 1G6KS54Y9YU146923 ## Mail History Id: 28025569, Consumer Id: 772832, Address Id: 11873917 => Updated with Vin: 1GYFK63887R423952 ## Mail History Id: 28026018, Consumer Id: 804592, Address Id: 7878116 => Updated with Vin: 1G6DM577740106847 ## Mail History Id: 28026084, Consumer Id: 816596, Address Id: 7878576 => Updated with Vin: 1G6DP567450187705 ## Mail History Id: 28025715, Consumer Id: 823391, Address Id: 10562970 => Updated with Vin: 1GNEK13Z26R132740 ## Mail History Id: 28026142, Consumer Id: 820899, Address Id: 11876298 => Updated with Vin: 1G6EL12Y5YB703330 ## Mail History Id: 28026148, Consumer Id: 821204, Address Id: 11876313 => Updated with Vin: 1GYFK63857R206195 ## Mail History Id: 28026054, Consumer Id: 797825, Address Id: 7415452 => Updated with Vin: 3GYFK66N43G268845 ## Mail History Id: 28026182, Consumer Id: 805505, Address Id: 7416031 => Updated with Vin: 1GYEK63N43R270207 ## Mail History Id: 28025733, Consumer Id: 807271, Address Id: 11874381 => Updated with Vin: 1GYEE63A650123382 ## Mail History Id: 28025781, Consumer Id: 806882, Address Id: 11876594 => Updated with Vin: 1G6KD57Y17U175370 ## Mail History Id: 28025777, Consumer Id: 760272, Address Id: 11850972 => Updated with Vin: 1G6KD57906U118665 ## Mail History Id: 28025703, Consumer Id: 823301, Address Id: 11878869 => Updated with Vin: 1G6KD54Y7VU237498 ## Mail History Id: 28025699, Consumer Id: 807013, Address Id: 11869818 => Updated with Vin: 1GYEK63N64R316606 ## Mail History Id: 28025789, Consumer Id: 803318, Address Id: 11872357 => Updated with Vin: 1G6EL12Y81B102631 ## Mail History Id: 28026115, Consumer Id: 807034, Address Id: 11876900 => Updated with Vin: 1GYEE63A050233358 ## Mail History Id: 28026113, Consumer Id: 760423, Address Id: 11851032 => Updated with Vin: 1GYFK66857R219735 ## Mail History Id: 28026002, Consumer Id: 807018, Address Id: 11876723 => Updated with Vin: 1GYEK63N72R175302 ## Mail History Id: 28026140, Consumer Id: 807037, Address Id: 7415572 => Updated with Vin: 1GYDE63A540125733 ## Mail History Id: 28025767, Consumer Id: 806914, Address Id: 11876863 => Updated with Vin: WBADM6343YGU27518 ## Mail History Id: 28025575, Consumer Id: 806923, Address Id: 10561183 => Updated with Vin: 1G6DM57N830170294 ## Mail History Id: 28025679, Consumer Id: 806920, Address Id: 11876522 => Updated with Vin: 1G6DT57V680159403 ## Mail History Id: 28026132, Consumer Id: 802355, Address Id: 11871880 => Updated with Vin: 1G6KY5494XU936880 ## Mail History Id: 28025647, Consumer Id: 807102, Address Id: 11872582 => Updated with Vin: 1GYFK638X7R119585 ## Mail History Id: 28025723, Consumer Id: 807867, Address Id: 10218298 => Updated with Vin: 1GYEK63N55R170068 ## Total mail_history records updated with vin numbers: 52 out of 55 ============================================================ ====== Tracking Id: 492 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-06-30 12:16:50') AND us2_order_type_id = 3 ## Order found: 651 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 651 AND product_id = 112 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3471 ## Mailing found: '12342' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026471, Consumer Id: 800818, Address Id: 7416817 => Updated with Vin: 1G6KY54992U153529 ## Mail History Id: 28026433, Consumer Id: 805015, Address Id: 7878197 => Updated with Vin: 1GYEK63N53R295780 ## Mail History Id: 28026515, Consumer Id: 800682, Address Id: 11871006 => Updated with Vin: 1G6ET129XYU173711 ## Mail History Id: 28026435, Consumer Id: 800641, Address Id: 7878218 => Updated with Vin: 1GHDX23EX1D266808 ## Mail History Id: 28026497, Consumer Id: 817830, Address Id: 10220475 => Updated with Vin: 1G6DP567150234320 ## Mail History Id: 28026499, Consumer Id: 807313, Address Id: 11874410 => Updated with Vin: 1GYEE637640162122 ## Mail History Id: 28026453, Consumer Id: 801696, Address Id: 7416011 => Updated with Vin: 1G6KS54Y1YU288120 ## Mail History Id: 28026509, Consumer Id: 807461, Address Id: 11876925 => Updated with Vin: 1GHDT13S022238170 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 493 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-06-30 12:17:04') AND us2_order_type_id = 3 ## Order found: 650 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 650 AND product_id = 112 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3427 ## Mailing found: '12341' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 494 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-01 14:37:57') AND us2_order_type_id = 3 ## Order found: 658 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 658 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3230 ## Mailing found: '12378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28786129, Consumer Id: 91873, Address Id: 49283 => Updated with Vin: 1FMEU53K57UA64232 ## Mail History Id: 28786130, Consumer Id: 67354, Address Id: 50609 => Updated with Vin: 2FMZA51616BA26968 ## Mail History Id: 28786131, Consumer Id: 66375, Address Id: 49898 => Updated with Vin: 1FTPX14575FB53145 ## Mail History Id: 28786132, Consumer Id: 91865, Address Id: 50824 => Updated with Vin: 1FMDU73K84ZA32607 ## Mail History Id: 28786133, Consumer Id: 63847, Address Id: 47815 => Updated with Vin: 2FMZA51442BB37779 ## Mail History Id: 28786134, Consumer Id: 91858, Address Id: 113522 => Updated with Vin: 1B4HS28Y4WF187698 ## Mail History Id: 28786135, Consumer Id: 91863, Address Id: 113523 => Updated with Vin: 2FAFP74W83X151113 ## Mail History Id: 28786136, Consumer Id: 629039, Address Id: 51654 => Updated with Vin: 1FMEU74E76UA62131 ## Mail History Id: 28786137, Consumer Id: 91861, Address Id: 51296 => Updated with Vin: 1FAHP24157G124592 ## Mail History Id: 28786175, Consumer Id: 91868, Address Id: 50873 => Updated with Vin: 1FMCU49H27KA15546 ## Mail History Id: 28786139, Consumer Id: 67714, Address Id: 50751 => Updated with Vin: 1FMYU02Z16KB34107 ## Mail History Id: 28786140, Consumer Id: 66382, Address Id: 48556 => Updated with Vin: 1FTRX08L43KD71267 ## Mail History Id: 28786141, Consumer Id: 63935, Address Id: 50441 => Updated with Vin: 1FMYU93134KB22731 ## Mail History Id: 28786142, Consumer Id: 67342, Address Id: 47424 => Updated with Vin: 1FTPX14VX6FB64058 ## Mail History Id: 28786143, Consumer Id: 91864, Address Id: 51325 => Updated with Vin: 1FMEU73E87UB22758 ## Mail History Id: 28786144, Consumer Id: 63536, Address Id: 48423 => Updated with Vin: 1FMCU94103KC17478 ## Mail History Id: 28786145, Consumer Id: 65717, Address Id: 47621 => Updated with Vin: 1FMYU93153KA10155 ## Mail History Id: 28786146, Consumer Id: 63644, Address Id: 51753 => Updated with Vin: 1FMZU73K55UA21861 ## Total mail_history records updated with vin numbers: 18 out of 19 ============================================================ ====== Tracking Id: 495 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-01 14:38:21') AND us2_order_type_id = 3 ## Order found: 659 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 659 AND product_id = 142 ## Job Group Found: '345' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('345') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708001') AND customer_id = 3357 ## Mailing found: '12337' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28025968, Consumer Id: 187820, Address Id: 398490 => Updated with Vin: 1FTRE14WX5HB41468 ## Mail History Id: 28026209, Consumer Id: 198629, Address Id: 407720 => Updated with Vin: 5LMEU68H05ZJ29083 ## Mail History Id: 28025636, Consumer Id: 461209, Address Id: 9819187 => Updated with Vin: 1FTPW14535KC17580 ## Mail History Id: 28026125, Consumer Id: 461635, Address Id: 9819457 => Updated with Vin: 1YVHP84D355M39787 ## Mail History Id: 28025746, Consumer Id: 461205, Address Id: 9819184 => Updated with Vin: 1GNCS13W112146255 ## Mail History Id: 28025656, Consumer Id: 436367, Address Id: 406027 => Updated with Vin: 1FTNW21F71EB55913 ## Mail History Id: 28025652, Consumer Id: 461206, Address Id: 405284 => Updated with Vin: 1FAFP40491F200699 ## Mail History Id: 28025728, Consumer Id: 461219, Address Id: 399413 => Updated with Vin: 1FDWE35S01HB58599 ## Mail History Id: 28025762, Consumer Id: 461634, Address Id: 9819456 => Updated with Vin: 1FMRU17L71LA36961 ## Mail History Id: 28025718, Consumer Id: 194481, Address Id: 404479 => Updated with Vin: 1FTWW33F42ED18980 ## Mail History Id: 28025868, Consumer Id: 190470, Address Id: 399547 => Updated with Vin: 1FTSW31F23EA79724 ## Mail History Id: 28025738, Consumer Id: 188876, Address Id: 400767 => Updated with Vin: 1FMDU75K74ZA29906 ## Mail History Id: 28025834, Consumer Id: 191515, Address Id: 401717 => Updated with Vin: JM1NB353140409943 ## Mail History Id: 28025716, Consumer Id: 187304, Address Id: 398086 => Updated with Vin: 1YVFP84D345N80655 ## Mail History Id: 28025982, Consumer Id: 187556, Address Id: 398410 => Updated with Vin: 1FMCU03105KC22552 ## Mail History Id: 28025666, Consumer Id: 189706, Address Id: 398895 => Updated with Vin: 1FMFU175X5LA55272 ## Mail History Id: 28025670, Consumer Id: 188478, Address Id: 398677 => Updated with Vin: 1FAFP28115G100854 ## Mail History Id: 28025796, Consumer Id: 188553, Address Id: 399799 => Updated with Vin: 1ZVFT82H355153420 ## Mail History Id: 28026201, Consumer Id: 191877, Address Id: 401102 => Updated with Vin: 1ZVHT85H455168772 ## Mail History Id: 28025942, Consumer Id: 192749, Address Id: 402909 => Updated with Vin: 1FMZU62E95ZA65113 ## Mail History Id: 28026165, Consumer Id: 188216, Address Id: 399719 => Updated with Vin: 1YVHP82D455M27540 ## Mail History Id: 28025832, Consumer Id: 188469, Address Id: 397140 => Updated with Vin: JM1BK323851258599 ## Mail History Id: 28025704, Consumer Id: 461633, Address Id: 2358185 => Updated with Vin: 1FTNW20F62EB94351 ## Mail History Id: 28025714, Consumer Id: 456733, Address Id: 9815893 => Updated with Vin: 1FTYR14V12PB36636 ## Mail History Id: 28025724, Consumer Id: 199308, Address Id: 407414 => Updated with Vin: 1LNHM87AX2Y707451 ## Mail History Id: 28025630, Consumer Id: 196893, Address Id: 405416 => Updated with Vin: 1FTSW31P33EC88110 ## Mail History Id: 28025792, Consumer Id: 151986, Address Id: 394350 => Updated with Vin: 1FMCU02193KA69720 ## Mail History Id: 28025692, Consumer Id: 436710, Address Id: 9800661 => Updated with Vin: 1FMYU93103KB58732 ## Mail History Id: 28025850, Consumer Id: 233431, Address Id: 445947 => Updated with Vin: 1LNLM82W3RY718024 ## Mail History Id: 28025688, Consumer Id: 461213, Address Id: 9819191 => Updated with Vin: 4T1BE32K23U751698 ## Mail History Id: 28025996, Consumer Id: 460904, Address Id: 9819014 => Updated with Vin: JTDDY38T040072638 ## Mail History Id: 28026147, Consumer Id: 151837, Address Id: 394211 => Updated with Vin: JM1BK123X41113017 ## Mail History Id: 28025906, Consumer Id: 192372, Address Id: 401848 => Updated with Vin: JM1BK323741181142 ## Mail History Id: 28025684, Consumer Id: 192312, Address Id: 401504 => Updated with Vin: 1YVFP82D845N75325 ## Mail History Id: 28026221, Consumer Id: 461203, Address Id: 9819182 => Updated with Vin: 1FALP6245SH111052 ## Mail History Id: 28026119, Consumer Id: 165938, Address Id: 425623 => Updated with Vin: 1GCDS136948106455 ## Mail History Id: 28025748, Consumer Id: 187199, Address Id: 397989 => Updated with Vin: 1FTWW31P45EC46744 ## Mail History Id: 28025606, Consumer Id: 460905, Address Id: 870683 => Updated with Vin: JHMCM56304C029971 ## Mail History Id: 28025758, Consumer Id: 189657, Address Id: 401952 => Updated with Vin: 1FTSW31P04EC23720 ## Mail History Id: 28025884, Consumer Id: 461211, Address Id: 9819189 => Updated with Vin: 2HKYF18484H616021 ## Mail History Id: 28025958, Consumer Id: 461217, Address Id: 9819194 => Updated with Vin: 1LNLM81W4NY687619 ## Mail History Id: 28025998, Consumer Id: 461208, Address Id: 9819186 => Updated with Vin: 1LNHM86S94Y666582 ## Mail History Id: 28025896, Consumer Id: 461210, Address Id: 9819188 => Updated with Vin: 5Y2SL62874Z430891 ## Mail History Id: 28025736, Consumer Id: 151820, Address Id: 394194 => Updated with Vin: JM1BK323751295336 ## Mail History Id: 28025882, Consumer Id: 198331, Address Id: 407063 => Updated with Vin: 1ZVFT80N255239245 ## Mail History Id: 28025772, Consumer Id: 195811, Address Id: 405051 => Updated with Vin: 1FAFP251X5G174925 ## Mail History Id: 28025774, Consumer Id: 435949, Address Id: 9800280 => Updated with Vin: 2HNYD188X5H528083 ## Mail History Id: 28026161, Consumer Id: 152099, Address Id: 394456 => Updated with Vin: 1FMFU16515LA06768 ## Mail History Id: 28026167, Consumer Id: 155412, Address Id: 397466 => Updated with Vin: 1FMPU16565LA41617 ## Mail History Id: 28025838, Consumer Id: 152996, Address Id: 395282 => Updated with Vin: JM1FE173060203755 ## Mail History Id: 28025994, Consumer Id: 197544, Address Id: 406044 => Updated with Vin: JM1BK124061418800 ## Mail History Id: 28026123, Consumer Id: 152332, Address Id: 394668 => Updated with Vin: JM1BK144161452886 ## Mail History Id: 28026173, Consumer Id: 152621, Address Id: 394938 => Updated with Vin: JM1BK12G061481017 ## Mail History Id: 28025604, Consumer Id: 193370, Address Id: 403113 => Updated with Vin: 1ZVFT82H265103920 ## Mail History Id: 28025644, Consumer Id: 461228, Address Id: 9819200 => Updated with Vin: 1ZVHT82HX65125317 ## Mail History Id: 28025876, Consumer Id: 193449, Address Id: 403324 => Updated with Vin: 1ZVHT82HX65136589 ## Mail History Id: 28025950, Consumer Id: 461221, Address Id: 6903282 => Updated with Vin: 1ZVFT80N965140360 ## Mail History Id: 28025744, Consumer Id: 152611, Address Id: 394930 => Updated with Vin: 1ZVFT80N165142233 ## Mail History Id: 28025934, Consumer Id: 152108, Address Id: 394464 => Updated with Vin: 1ZVFT84N465160977 ## Mail History Id: 28025634, Consumer Id: 460562, Address Id: 9818751 => Updated with Vin: 1ZVFT82H565229334 ## Mail History Id: 28025818, Consumer Id: 200227, Address Id: 407651 => Updated with Vin: 1ZVFT80N365241216 ## Mail History Id: 28025706, Consumer Id: 199720, Address Id: 406700 => Updated with Vin: 1YVHP82D665M04553 ## Mail History Id: 28025918, Consumer Id: 155819, Address Id: 397852 => Updated with Vin: 1YVFP80C965M66370 ## Mail History Id: 28025842, Consumer Id: 197875, Address Id: 407016 => Updated with Vin: 1FTSW21P76EC40012 ## Mail History Id: 28025720, Consumer Id: 456717, Address Id: 9815882 => Updated with Vin: 1G1ZT63816F113957 ## Mail History Id: 28025938, Consumer Id: 152113, Address Id: 394469 => Updated with Vin: 1FMDK02126GA18044 ## Mail History Id: 28026169, Consumer Id: 194827, Address Id: 404514 => Updated with Vin: 1FMYU92Z66KB47083 ## Mail History Id: 28026203, Consumer Id: 152766, Address Id: 395072 => Updated with Vin: 1FTPW12566KD20755 ## Mail History Id: 28025586, Consumer Id: 461230, Address Id: 869835 => Updated with Vin: 1N4AL11D76N406491 ## Mail History Id: 28026179, Consumer Id: 153382, Address Id: 395634 => Updated with Vin: 1FTRX12W36NB81696 ## Mail History Id: 28025902, Consumer Id: 153744, Address Id: 395960 => Updated with Vin: 3FAFP07146R103487 ## Mail History Id: 28026199, Consumer Id: 152102, Address Id: 394458 => Updated with Vin: 3FAFP06Z86R114452 ## Mail History Id: 28025576, Consumer Id: 191317, Address Id: 402068 => Updated with Vin: 1FAHP37N26W165822 ## Mail History Id: 28026139, Consumer Id: 155085, Address Id: 397170 => Updated with Vin: JM3TB38C270100173 ## Mail History Id: 28025602, Consumer Id: 154053, Address Id: 396243 => Updated with Vin: JM3ER29LX70119244 ## Mail History Id: 28025972, Consumer Id: 155256, Address Id: 396354 => Updated with Vin: JM1CR29L670151236 ## Mail History Id: 28026149, Consumer Id: 153559, Address Id: 395796 => Updated with Vin: JM1BK32G771615549 ## Mail History Id: 28026129, Consumer Id: 197444, Address Id: 405803 => Updated with Vin: JM1BK34M171653894 ## Mail History Id: 28025708, Consumer Id: 155683, Address Id: 397720 => Updated with Vin: JM1BK32G971690074 ## Mail History Id: 28026193, Consumer Id: 197607, Address Id: 406287 => Updated with Vin: JM1BK34M871715081 ## Mail History Id: 28025784, Consumer Id: 154649, Address Id: 396790 => Updated with Vin: JM1BK344871722385 ## Mail History Id: 28026137, Consumer Id: 154921, Address Id: 397027 => Updated with Vin: JM1BK324171745848 ## Mail History Id: 28025908, Consumer Id: 461632, Address Id: 9819455 => Updated with Vin: 1YVHP80C875M13489 ## Mail History Id: 28025680, Consumer Id: 461207, Address Id: 9819185 => Updated with Vin: 1FMNE11L47DB23370 ## Mail History Id: 28026141, Consumer Id: 461229, Address Id: 9819201 => Updated with Vin: 1FTPW14517FA34092 ## Mail History Id: 28025880, Consumer Id: 153170, Address Id: 395441 => Updated with Vin: 1FMCU59H07KA15843 ## Mail History Id: 28025570, Consumer Id: 461212, Address Id: 9819190 => Updated with Vin: JHMFA36247S010609 ## Mail History Id: 28025804, Consumer Id: 155254, Address Id: 397326 => Updated with Vin: 1FAHP31N07W344886 ## Mail History Id: 28026195, Consumer Id: 461204, Address Id: 9819183 => Updated with Vin: JM3TB38V980145436 ## Mail History Id: 28025752, Consumer Id: 194984, Address Id: 404172 => Updated with Vin: 1FMZU35P1WZC17785 ## Mail History Id: 28025886, Consumer Id: 191291, Address Id: 402066 => Updated with Vin: 1FMPU18L4XLB82409 ## Mail History Id: 28025952, Consumer Id: 194153, Address Id: 403495 => Updated with Vin: 1FMPU18L5YLA63284 ## Mail History Id: 28025920, Consumer Id: 155287, Address Id: 397354 => Updated with Vin: JM1BK32G381796649 ## Mail History Id: 28026135, Consumer Id: 155383, Address Id: 397438 => Updated with Vin: JM1BK32G681807191 ## Mail History Id: 28025922, Consumer Id: 461227, Address Id: 884170 => Updated with Vin: JM1BK32G381858633 ## Mail History Id: 28025966, Consumer Id: 190814, Address Id: 400464 => Updated with Vin: 1FAFP4441XF160024 ## Mail History Id: 28025698, Consumer Id: 191251, Address Id: 401373 => Updated with Vin: 1FTPX12524NB60964 ## Mail History Id: 28025590, Consumer Id: 194397, Address Id: 404609 => Updated with Vin: 1FAFP40453F304450 ## Mail History Id: 28025574, Consumer Id: 420588, Address Id: 9800055 => Updated with Vin: 1ZVHT84N085133450 ## Mail History Id: 28025614, Consumer Id: 174153, Address Id: 446137 => Updated with Vin: 1FMEU64E88UA88461 ## Mail History Id: 28026223, Consumer Id: 154967, Address Id: 397064 => Updated with Vin: 1FTSW21R38EA40099 ## Mail History Id: 28025926, Consumer Id: 420552, Address Id: 9800032 => Updated with Vin: 1FTSW20R58EB04693 ## Mail History Id: 28025924, Consumer Id: 155561, Address Id: 397605 => Updated with Vin: 1FTSW31R18EC61285 ## Mail History Id: 28025810, Consumer Id: 155588, Address Id: 397632 => Updated with Vin: 1FMCU59H98KB90934 ## Mail History Id: 28025910, Consumer Id: 155716, Address Id: 397752 => Updated with Vin: 4F2CZ49H08KM17296 ## Mail History Id: 28025632, Consumer Id: 460566, Address Id: 398721 => Updated with Vin: 1FAHP35N18W116892 ## Mail History Id: 28025742, Consumer Id: 460561, Address Id: 9818750 => Updated with Vin: 1NXBR32E18Z040242 ## Mail History Id: 28025826, Consumer Id: 461218, Address Id: 9819195 => Updated with Vin: 1FMEU15H5PLA75389 ## Mail History Id: 28025690, Consumer Id: 460569, Address Id: 397319 => Updated with Vin: 1FDEE14H6RHA09955 ## Mail History Id: 28025620, Consumer Id: 461216, Address Id: 9819193 => Updated with Vin: 1FTHX26G8SKA03766 ## Mail History Id: 28025852, Consumer Id: 461220, Address Id: 9819196 => Updated with Vin: 2FALP74W6SX115535 ## Mail History Id: 28025962, Consumer Id: 193643, Address Id: 403584 => Updated with Vin: 1FDEE14H1THA18392 ## Mail History Id: 28025730, Consumer Id: 198604, Address Id: 406853 => Updated with Vin: 2FALP74W0TX159239 ## Mail History Id: 28025610, Consumer Id: 460568, Address Id: 9818755 => Updated with Vin: 2MELM75W9TX646441 ## Mail History Id: 28025592, Consumer Id: 461214, Address Id: 9819192 => Updated with Vin: 1HGCD5606VA188953 ## Mail History Id: 28025932, Consumer Id: 460570, Address Id: 9818756 => Updated with Vin: 1FTHX26F7VEC83898 ## Mail History Id: 28025974, Consumer Id: 456721, Address Id: 9815884 => Updated with Vin: 2FALP74W4VX110659 ## Mail History Id: 28025872, Consumer Id: 187205, Address Id: 397995 => Updated with Vin: 1FMRU1763WLB68942 ## Mail History Id: 28025822, Consumer Id: 461638, Address Id: 9819458 => Updated with Vin: 5LMPU28L4WLJ17710 ## Mail History Id: 28025812, Consumer Id: 224966, Address Id: 434408 => Updated with Vin: 1LNFM92V2WY719879 ## Mail History Id: 28025802, Consumer Id: 199106, Address Id: 406919 => Updated with Vin: 1FDEE14NXNHB06530 ## Mail History Id: 28025988, Consumer Id: 461222, Address Id: 9819197 => Updated with Vin: 1FMZU32X8XUC89683 ## Mail History Id: 28025858, Consumer Id: 194737, Address Id: 404166 => Updated with Vin: JM3LW28G0Y0161363 ## Mail History Id: 28025928, Consumer Id: 374781, Address Id: 9750937 => Updated with Vin: 3GKFK16T1YG134605 ## Mail History Id: 28025888, Consumer Id: 197636, Address Id: 405623 => Updated with Vin: 1FBSS31S7YHA61500 ## Total mail_history records updated with vin numbers: 125 out of 133 ============================================================ ====== Tracking Id: 496 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-01 14:38:26') AND us2_order_type_id = 3 ## Order found: 659 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 659 AND product_id = 112 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3357 ## Mailing found: '12340' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026527, Consumer Id: 153167, Address Id: 395439 => Updated with Vin: 1FMDK05196GA55880 ## Mail History Id: 28026523, Consumer Id: 189342, Address Id: 400820 => Updated with Vin: 1FMPU18L3WLC17391 ## Total mail_history records updated with vin numbers: 2 out of 4 ============================================================ ====== Tracking Id: 497 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-01 14:43:37') AND us2_order_type_id = 3 ## Order found: 660 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 660 AND product_id = 112 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3486 ## Mailing found: '12343' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026379, Consumer Id: 477060, Address Id: 1560445 => Updated with Vin: 1GNES16P336176687 ## Mail History Id: 28026389, Consumer Id: 463910, Address Id: 1035779 => Updated with Vin: 1GNEC13Z04J166832 ## Mail History Id: 28026407, Consumer Id: 464950, Address Id: 1039204 => Updated with Vin: 3GNEC12T94G258617 ## Mail History Id: 28026421, Consumer Id: 480902, Address Id: 9823865 => Updated with Vin: 1GCDT136968263919 ## Mail History Id: 28026387, Consumer Id: 478193, Address Id: 5634900 => Updated with Vin: 2GCEC19V041134213 ## Mail History Id: 28026401, Consumer Id: 466946, Address Id: 1038619 => Updated with Vin: 1GNEC13Z35J264299 ## Mail History Id: 28026413, Consumer Id: 467481, Address Id: 3292758 => Updated with Vin: 1GCJC39U76E166255 ## Mail History Id: 28026375, Consumer Id: 479933, Address Id: 1543738 => Updated with Vin: 2G2WS522451253323 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 498 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-01 14:45:15') AND us2_order_type_id = 3 ## Order found: 661 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 661 AND product_id = 112 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3427 ## Mailing found: '12341' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026323, Consumer Id: 517410, Address Id: 9847100 => Updated with Vin: 4T1BE46K47U656341 ## Mail History Id: 28026458, Consumer Id: 491733, Address Id: 328968 => Updated with Vin: 5FNRL18693B113240 ## Mail History Id: 28026297, Consumer Id: 493241, Address Id: 9828647 => Updated with Vin: 1HGCG16572A033870 ## Mail History Id: 28026366, Consumer Id: 493588, Address Id: 9828890 => Updated with Vin: JHMCM56303C006317 ## Mail History Id: 28026324, Consumer Id: 511465, Address Id: 9844251 => Updated with Vin: SHSRD78586U402081 ## Mail History Id: 28026335, Consumer Id: 491094, Address Id: 9827026 => Updated with Vin: SHSRD78872U010472 ## Mail History Id: 28026408, Consumer Id: 512538, Address Id: 326259 => Updated with Vin: 1HGFA16586L033742 ## Mail History Id: 28026382, Consumer Id: 492274, Address Id: 325663 => Updated with Vin: JHMES95633S023619 ## Mail History Id: 28026295, Consumer Id: 490873, Address Id: 9826855 => Updated with Vin: 1HGCG22521A026867 ## Mail History Id: 28026277, Consumer Id: 494433, Address Id: 9829513 => Updated with Vin: 1HGES16532L004846 ## Mail History Id: 28026352, Consumer Id: 493121, Address Id: 9828557 => Updated with Vin: 1HGCG6653XA108987 ## Mail History Id: 28026528, Consumer Id: 499091, Address Id: 9832898 => Updated with Vin: SHSRD77824U217761 ## Mail History Id: 28026328, Consumer Id: 492912, Address Id: 9828408 => Updated with Vin: 5FNRL18073B031695 ## Mail History Id: 28026239, Consumer Id: 513382, Address Id: 7555193 => Updated with Vin: 5FNRL38625B413569 ## Mail History Id: 28026343, Consumer Id: 515093, Address Id: 1947897 => Updated with Vin: 1HGCG6652XA020898 ## Mail History Id: 28026470, Consumer Id: 519490, Address Id: 329712 => Updated with Vin: 1HGCG1653YA046706 ## Mail History Id: 28026390, Consumer Id: 513925, Address Id: 325977 => Updated with Vin: JHMBB624X1C002293 ## Mail History Id: 28026360, Consumer Id: 483470, Address Id: 8539649 => Updated with Vin: 2HGFG21548H701614 ## Mail History Id: 28026260, Consumer Id: 483573, Address Id: 9828546 => Updated with Vin: 1HGES16553L003604 ## Total mail_history records updated with vin numbers: 19 out of 20 ============================================================ ====== Tracking Id: 499 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-01 14:45:28') AND us2_order_type_id = 3 ## Order found: 661 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 661 AND product_id = 114 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3427 ## Mailing found: '12341' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026364, Consumer Id: 510844, Address Id: 325056 => Updated with Vin: 2HKRL18791H521017 ## Mail History Id: 28026532, Consumer Id: 492835, Address Id: 9828348 => Updated with Vin: 2HKRL18932H524045 ## Mail History Id: 28026518, Consumer Id: 499289, Address Id: 9833351 => Updated with Vin: 19UUA56701A020200 ## Mail History Id: 28026292, Consumer Id: 500794, Address Id: 9835592 => Updated with Vin: SHSRD78844U219087 ## Mail History Id: 28026319, Consumer Id: 499999, Address Id: 9834244 => Updated with Vin: 5FNRL18663B151752 ## Mail History Id: 28026444, Consumer Id: 501359, Address Id: 327835 => Updated with Vin: 5FNRL18023B007417 ## Mail History Id: 28026350, Consumer Id: 510366, Address Id: 9843571 => Updated with Vin: 2HGES26835H539919 ## Mail History Id: 28026273, Consumer Id: 516854, Address Id: 9830686 => Updated with Vin: 1HGCG5659WA203711 ## Mail History Id: 28026476, Consumer Id: 493516, Address Id: 9828842 => Updated with Vin: 2HGEJ6610YH505535 ## Mail History Id: 28026249, Consumer Id: 495221, Address Id: 9830125 => Updated with Vin: JHLRD1867XC082489 ## Mail History Id: 28026248, Consumer Id: 503539, Address Id: 9839079 => Updated with Vin: 1HGCM56765A019044 ## Mail History Id: 28026344, Consumer Id: 502675, Address Id: 9837973 => Updated with Vin: 1HGES26712L022026 ## Mail History Id: 28026380, Consumer Id: 490669, Address Id: 325640 => Updated with Vin: 1HGEM1154YL024940 ## Mail History Id: 28026284, Consumer Id: 502545, Address Id: 9837947 => Updated with Vin: 2HKYF18454H611472 ## Mail History Id: 28026472, Consumer Id: 499750, Address Id: 329717 => Updated with Vin: 1HGCM66584A058088 ## Mail History Id: 28026369, Consumer Id: 508528, Address Id: 9842404 => Updated with Vin: 2HGES26793H542179 ## Mail History Id: 28026322, Consumer Id: 499820, Address Id: 9834122 => Updated with Vin: JHLRD1841YC004791 ## Mail History Id: 28026241, Consumer Id: 496727, Address Id: 9831202 => Updated with Vin: 5FNRL18043B150806 ## Mail History Id: 28026250, Consumer Id: 515070, Address Id: 9846386 => Updated with Vin: JNKCV51F54M715531 ## Mail History Id: 28026267, Consumer Id: 515443, Address Id: 9846578 => Updated with Vin: 5J6YH28726L004688 ## Mail History Id: 28026246, Consumer Id: 473411, Address Id: 9834726 => Updated with Vin: 2HKRL18922H587489 ## Mail History Id: 28026351, Consumer Id: 474681, Address Id: 8195863 => Updated with Vin: 1HGCM56317A119018 ## Mail History Id: 28026347, Consumer Id: 482609, Address Id: 9837235 => Updated with Vin: 1J4GW48S0YC414538 ## Total mail_history records updated with vin numbers: 23 out of 23 ============================================================ ====== Tracking Id: 500 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-01 14:45:40') AND us2_order_type_id = 3 ## Order found: 661 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 661 AND product_id = 113 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3427 ## Mailing found: '12341' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026514, Consumer Id: 495524, Address Id: 9830340 => Updated with Vin: 1HGCG56422A037727 ## Mail History Id: 28026266, Consumer Id: 497850, Address Id: 9832004 => Updated with Vin: 1HGCG16581A030457 ## Mail History Id: 28026270, Consumer Id: 509003, Address Id: 9842702 => Updated with Vin: 5FNYF18435B049684 ## Mail History Id: 28026428, Consumer Id: 502261, Address Id: 326904 => Updated with Vin: SHSRD788X4U248416 ## Mail History Id: 28026426, Consumer Id: 495373, Address Id: 326900 => Updated with Vin: 1HGCG1658YA067552 ## Mail History Id: 28026330, Consumer Id: 497191, Address Id: 9831533 => Updated with Vin: JHMES96664S000383 ## Mail History Id: 28026312, Consumer Id: 490960, Address Id: 9826921 => Updated with Vin: 1HGCM82673A027004 ## Mail History Id: 28026240, Consumer Id: 498332, Address Id: 9832345 => Updated with Vin: 2HGES16594H531144 ## Mail History Id: 28026316, Consumer Id: 498935, Address Id: 7552722 => Updated with Vin: 2HGES165X1H534825 ## Mail History Id: 28026526, Consumer Id: 495973, Address Id: 9828302 => Updated with Vin: 1HGCG5645WA005098 ## Mail History Id: 28026285, Consumer Id: 511979, Address Id: 9844571 => Updated with Vin: 1HGCM56326A032209 ## Mail History Id: 28026404, Consumer Id: 500818, Address Id: 326166 => Updated with Vin: JHMES96694S014391 ## Mail History Id: 28026510, Consumer Id: 500499, Address Id: 9835052 => Updated with Vin: 1HGCB7671NA163814 ## Mail History Id: 28026269, Consumer Id: 499821, Address Id: 9826996 => Updated with Vin: 5FNRL18664B074009 ## Mail History Id: 28026308, Consumer Id: 505902, Address Id: 9840707 => Updated with Vin: 2HKYF18565H540311 ## Mail History Id: 28026268, Consumer Id: 497829, Address Id: 9829416 => Updated with Vin: 1HGEJ6679WL039172 ## Mail History Id: 28026496, Consumer Id: 491652, Address Id: 9827460 => Updated with Vin: 2HKRL1869XH546600 ## Mail History Id: 28026508, Consumer Id: 503423, Address Id: 9838997 => Updated with Vin: 5FNYF18605B005742 ## Mail History Id: 28026386, Consumer Id: 471998, Address Id: 325863 => Updated with Vin: 2HGFG12896H545327 ## Mail History Id: 28026264, Consumer Id: 473996, Address Id: 8194559 => Updated with Vin: 2HGFG12627H513481 ## Total mail_history records updated with vin numbers: 20 out of 22 ============================================================ ====== Tracking Id: 501 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-01 14:46:15') AND us2_order_type_id = 3 ## Order found: 662 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 662 AND product_id = 143 ## Job Group Found: '345' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('345') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708001') AND customer_id = 3416 ## Mailing found: '12338' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28025987, Consumer Id: 627073, Address Id: 11764693 => Updated with Vin: 1G6KY54922U115589 ## Mail History Id: 28026011, Consumer Id: 626015, Address Id: 11766237 => Updated with Vin: 1G6KD54Y52U158732 ## Mail History Id: 28026105, Consumer Id: 626039, Address Id: 11764731 => Updated with Vin: 3GYFK62808G239334 ## Mail History Id: 28025831, Consumer Id: 626032, Address Id: 11764681 => Updated with Vin: 5GTEN13E988202782 ## Mail History Id: 28025927, Consumer Id: 626022, Address Id: 11764687 => Updated with Vin: 1G6DT57V980188149 ## Mail History Id: 28026099, Consumer Id: 626023, Address Id: 11764683 => Updated with Vin: 1G6DT57V380186574 ## Mail History Id: 28026093, Consumer Id: 626027, Address Id: 11764684 => Updated with Vin: 1G6DG577980188285 ## Mail History Id: 28026017, Consumer Id: 693311, Address Id: 11798781 => Updated with Vin: 1G6KD54Y9XU730473 ## Mail History Id: 28025959, Consumer Id: 626029, Address Id: 11766243 => Updated with Vin: 1G6KD54Y6XU789691 ## Mail History Id: 28025971, Consumer Id: 626047, Address Id: 11764709 => Updated with Vin: 1G6DT57V380187398 ## Mail History Id: 28025839, Consumer Id: 623655, Address Id: 2756395 => Updated with Vin: 1G6KD54Y35U160256 ## Mail History Id: 28026111, Consumer Id: 626046, Address Id: 11764685 => Updated with Vin: 1G6DT57V280187344 ## Mail History Id: 28025889, Consumer Id: 687660, Address Id: 1961318 => Updated with Vin: 1G3NF52E540242475 ## Mail History Id: 28026041, Consumer Id: 625958, Address Id: 1969233 => Updated with Vin: 5GTEN13E288199966 ## Mail History Id: 28026039, Consumer Id: 630809, Address Id: 1969175 => Updated with Vin: 1G6KD54YXXU733463 ## Mail History Id: 28026035, Consumer Id: 682102, Address Id: 1969061 => Updated with Vin: 1G6EL12Y72B100404 ## Mail History Id: 28025905, Consumer Id: 691363, Address Id: 1962149 => Updated with Vin: 1G6KD57Y76U240821 ## Mail History Id: 28026045, Consumer Id: 690955, Address Id: 1969277 => Updated with Vin: 1GCES14H46B122072 ## Mail History Id: 28025957, Consumer Id: 625928, Address Id: 1965590 => Updated with Vin: 1G6KD54Y15U184605 ## Mail History Id: 28026003, Consumer Id: 626025, Address Id: 1968701 => Updated with Vin: 1G6DC67A660111657 ## Mail History Id: 28025963, Consumer Id: 625509, Address Id: 1965709 => Updated with Vin: 1G6DW677150206508 ## Mail History Id: 28025863, Consumer Id: 625954, Address Id: 1959727 => Updated with Vin: 1GYEE637580100524 ## Mail History Id: 28025887, Consumer Id: 687226, Address Id: 1961244 => Updated with Vin: 1G6KD54Y73U166106 ## Mail History Id: 28026031, Consumer Id: 627111, Address Id: 1969028 => Updated with Vin: 1G6KD54Y31U298213 ## Mail History Id: 28025875, Consumer Id: 627132, Address Id: 1960187 => Updated with Vin: 1G6KD54Y95U149603 ## Mail History Id: 28025899, Consumer Id: 626043, Address Id: 1961721 => Updated with Vin: 1GYFK66838R221968 ## Mail History Id: 28026071, Consumer Id: 692230, Address Id: 1969804 => Updated with Vin: 1G6DW677970118373 ## Mail History Id: 28026089, Consumer Id: 626040, Address Id: 1969906 => Updated with Vin: 1G6KD57Y66U220799 ## Mail History Id: 28025843, Consumer Id: 683129, Address Id: 1966430 => Updated with Vin: 1G6EL12Y02B102530 ## Mail History Id: 28026037, Consumer Id: 683133, Address Id: 1969146 => Updated with Vin: W06VR54RX1R061047 ## Mail History Id: 28026103, Consumer Id: 627088, Address Id: 1970131 => Updated with Vin: 1GYFK66827R226688 ## Mail History Id: 28025893, Consumer Id: 691865, Address Id: 1961631 => Updated with Vin: 1G6KD57Y07U136821 ## Mail History Id: 28025945, Consumer Id: 626044, Address Id: 11764690 => Updated with Vin: 1GYEK63N14R191675 ## Mail History Id: 28025915, Consumer Id: 625956, Address Id: 10933689 => Updated with Vin: 5GTEN13E988180704 ## Mail History Id: 28026043, Consumer Id: 685460, Address Id: 11795968 => Updated with Vin: 1G6EL12Y1YB704846 ## Mail History Id: 28025943, Consumer Id: 690376, Address Id: 4772809 => Updated with Vin: 1G6DW677160168201 ## Mail History Id: 28025923, Consumer Id: 626045, Address Id: 11764691 => Updated with Vin: 5GTEN13EX88177083 ## Total mail_history records updated with vin numbers: 37 out of 39 ============================================================ ====== Tracking Id: 502 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-01 14:47:05') AND us2_order_type_id = 3 ## Order found: 663 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 663 AND product_id = 143 ## Job Group Found: '345' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('345') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708001') AND customer_id = 3471 ## Mailing found: '12339' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026196, Consumer Id: 820945, Address Id: 10214053 => Updated with Vin: 1G6KY549X3U114496 ## Mail History Id: 28026202, Consumer Id: 800455, Address Id: 7416387 => Updated with Vin: 1G3NF12E4YC336134 ## Mail History Id: 28026030, Consumer Id: 798025, Address Id: 4551761 => Updated with Vin: 1G6KD54Y8XU723983 ## Mail History Id: 28025775, Consumer Id: 799474, Address Id: 11870396 => Updated with Vin: 1G6DW5275PR728669 ## Mail History Id: 28025609, Consumer Id: 800235, Address Id: 10215512 => Updated with Vin: 1GNEK13T61R107991 ## Mail History Id: 28025683, Consumer Id: 807208, Address Id: 10217419 => Updated with Vin: W06VR52R9WR020385 ## Mail History Id: 28025625, Consumer Id: 800830, Address Id: 10215730 => Updated with Vin: 1G6KS54Y0WU920635 ## Mail History Id: 28026050, Consumer Id: 760441, Address Id: 7878390 => Updated with Vin: 1GYEK63N62R166042 ## Mail History Id: 28025583, Consumer Id: 799714, Address Id: 7416979 => Updated with Vin: 1G6KD54Y43U278037 ## Mail History Id: 28026056, Consumer Id: 823386, Address Id: 7878412 => Updated with Vin: 3GKFK16Z63G110524 ## Mail History Id: 28026014, Consumer Id: 760448, Address Id: 7878111 => Updated with Vin: 3GYEK63N23G155623 ## Mail History Id: 28026110, Consumer Id: 816786, Address Id: 7878825 => Updated with Vin: 1G6DP567950200674 ## Mail History Id: 28025695, Consumer Id: 821837, Address Id: 11876611 => Updated with Vin: 3GYFK66N96G225798 ## Mail History Id: 28025725, Consumer Id: 823378, Address Id: 11878824 => Updated with Vin: 3VWCD21Y04M308836 ## Mail History Id: 28025649, Consumer Id: 798620, Address Id: 10216179 => Updated with Vin: 1G3WH52HX1F135424 ## Mail History Id: 28025599, Consumer Id: 816762, Address Id: 10215204 => Updated with Vin: 1G6KD54Y72U268407 ## Mail History Id: 28025619, Consumer Id: 802817, Address Id: 10215601 => Updated with Vin: 1G6ET1296RU607981 ## Mail History Id: 28026216, Consumer Id: 799595, Address Id: 11870456 => Updated with Vin: 1G3GR62C0W4115889 ## Mail History Id: 28026218, Consumer Id: 760394, Address Id: 7416700 => Updated with Vin: 1G6ET12942B102068 ## Mail History Id: 28025785, Consumer Id: 818018, Address Id: 11869903 => Updated with Vin: 1G6KD54Y51U165839 ## Mail History Id: 28026176, Consumer Id: 817176, Address Id: 7416003 => Updated with Vin: 1GYEE637540165500 ## Mail History Id: 28026130, Consumer Id: 798621, Address Id: 7879021 => Updated with Vin: 1G3NB52M1W6330510 ## Mail History Id: 28025773, Consumer Id: 821235, Address Id: 11876569 => Updated with Vin: 1GYEK63NX6R157432 ## Mail History Id: 28025675, Consumer Id: 801113, Address Id: 10217071 => Updated with Vin: 1G6KF57933U109545 ## Mail History Id: 28025755, Consumer Id: 819889, Address Id: 10220214 => Updated with Vin: 1G6DM57N830156170 ## Mail History Id: 28026032, Consumer Id: 816629, Address Id: 7878239 => Updated with Vin: 1G6DP567150187502 ## Mail History Id: 28025799, Consumer Id: 800532, Address Id: 11870944 => Updated with Vin: 1G6KS54Y91U289991 ## Mail History Id: 28025805, Consumer Id: 760431, Address Id: 11851037 => Updated with Vin: 1G6KD54Y35U124857 ## Mail History Id: 28026184, Consumer Id: 799541, Address Id: 7416116 => Updated with Vin: 1GYEK63N92R182915 ## Mail History Id: 28025615, Consumer Id: 798460, Address Id: 10215583 => Updated with Vin: 3GYEK63N92G232535 ## Mail History Id: 28026078, Consumer Id: 806672, Address Id: 7415459 => Updated with Vin: 3GYFK66N04G251011 ## Mail History Id: 28025629, Consumer Id: 822574, Address Id: 10215755 => Updated with Vin: 1GYFK63897R359629 ## Mail History Id: 28026004, Consumer Id: 801727, Address Id: 7877963 => Updated with Vin: 1G6KD54Y42U104077 ## Mail History Id: 28026040, Consumer Id: 798128, Address Id: 10211570 => Updated with Vin: 1G6KY5493WU929241 ## Mail History Id: 28026200, Consumer Id: 804621, Address Id: 10214139 => Updated with Vin: 1G3NB52M7V6305092 ## Mail History Id: 28026072, Consumer Id: 760421, Address Id: 7878512 => Updated with Vin: 1G6KF57911U289203 ## Mail History Id: 28026096, Consumer Id: 772893, Address Id: 7878676 => Updated with Vin: 1G6DW677970158422 ## Mail History Id: 28026066, Consumer Id: 804398, Address Id: 7878478 => Updated with Vin: 1GYDE63AX40132287 ## Mail History Id: 28025705, Consumer Id: 805840, Address Id: 10217908 => Updated with Vin: 1G6DN57S540171472 ## Mail History Id: 28025689, Consumer Id: 806936, Address Id: 10217483 => Updated with Vin: 1G6DD67V680158125 ## Mail History Id: 28026022, Consumer Id: 799857, Address Id: 7878121 => Updated with Vin: W06VR54R21R028818 ## Mail History Id: 28026134, Consumer Id: 820531, Address Id: 7879048 => Updated with Vin: 1GYEK63N55R144201 ## Mail History Id: 28025771, Consumer Id: 807849, Address Id: 11876559 => Updated with Vin: 1G6DP567550137072 ## Mail History Id: 28025793, Consumer Id: 816162, Address Id: 11876675 => Updated with Vin: W06VR54R11R001738 ## Mail History Id: 28025729, Consumer Id: 806909, Address Id: 11876700 => Updated with Vin: 1GYEK63N35R228209 ## Mail History Id: 28026018, Consumer Id: 804592, Address Id: 7878116 => Updated with Vin: 1G6DM577740106847 ## Mail History Id: 28025739, Consumer Id: 816172, Address Id: 10218972 => Updated with Vin: 1GYEK63N35R167458 ## Mail History Id: 28026044, Consumer Id: 807028, Address Id: 11872521 => Updated with Vin: 1GYEK63N55R140598 ## Mail History Id: 28025741, Consumer Id: 817146, Address Id: 10219036 => Updated with Vin: 1GYEE63AX50231438 ## Mail History Id: 28025671, Consumer Id: 801491, Address Id: 11871232 => Updated with Vin: 1G6KY5296PU836346 ## Mail History Id: 28026206, Consumer Id: 818115, Address Id: 7416542 => Updated with Vin: 1G6KD54Y55U150067 ## Mail History Id: 28025621, Consumer Id: 819963, Address Id: 10215650 => Updated with Vin: 3GYFK66N16G162311 ## Mail History Id: 28026114, Consumer Id: 798352, Address Id: 7878854 => Updated with Vin: 1GYEK63N93R171964 ## Mail History Id: 28026062, Consumer Id: 820760, Address Id: 7878466 => Updated with Vin: 1G6KD54Y95U235204 ## Mail History Id: 28025571, Consumer Id: 820794, Address Id: 7416898 => Updated with Vin: 1G6KD54Y95U266310 ## Mail History Id: 28025697, Consumer Id: 821247, Address Id: 10217643 => Updated with Vin: 1GNEK13Z45J266999 ## Mail History Id: 28025607, Consumer Id: 820768, Address Id: 10215425 => Updated with Vin: 3GYFK66N85G184191 ## Mail History Id: 28026172, Consumer Id: 821239, Address Id: 7415947 => Updated with Vin: 1GYEE63A760193247 ## Mail History Id: 28025747, Consumer Id: 803738, Address Id: 10219327 => Updated with Vin: 1G6KD54Y94U150555 ## Mail History Id: 28026088, Consumer Id: 821874, Address Id: 11876243 => Updated with Vin: 1GYFK63807R158136 ## Mail History Id: 28026136, Consumer Id: 805503, Address Id: 7415518 => Updated with Vin: 3GYFK66N14G244102 ## Mail History Id: 28025591, Consumer Id: 822350, Address Id: 10561253 => Updated with Vin: 1G6DW677560157685 ## Mail History Id: 28026124, Consumer Id: 822808, Address Id: 10559628 => Updated with Vin: 1GYFK66807R376704 ## Mail History Id: 28025731, Consumer Id: 802349, Address Id: 10218396 => Updated with Vin: 1G6KE54Y8WU771561 ## Mail History Id: 28026150, Consumer Id: 760365, Address Id: 11851008 => Updated with Vin: 1G6DR57V380129838 ## Mail History Id: 28026144, Consumer Id: 806875, Address Id: 7415679 => Updated with Vin: 1G6DC67A580102810 ## Mail History Id: 28025781, Consumer Id: 806882, Address Id: 11876594 => Updated with Vin: 1G6KD57Y17U175370 ## Mail History Id: 28026064, Consumer Id: 807047, Address Id: 11876216 => Updated with Vin: 1G6DT57V680143038 ## Mail History Id: 28026002, Consumer Id: 807018, Address Id: 11876723 => Updated with Vin: 1GYEK63N72R175302 ## Mail History Id: 28025677, Consumer Id: 807027, Address Id: 11876511 => Updated with Vin: 1G6DP577370154678 ## Mail History Id: 28026210, Consumer Id: 807030, Address Id: 11876315 => Updated with Vin: 1GYFK63807R413576 ## Mail History Id: 28025809, Consumer Id: 760367, Address Id: 11851009 => Updated with Vin: 1GYFK63858R191988 ## Mail History Id: 28025751, Consumer Id: 806928, Address Id: 11876868 => Updated with Vin: 1J8HR58P27C562359 ## Mail History Id: 28026156, Consumer Id: 806918, Address Id: 11876319 => Updated with Vin: 3GYEK62N25G179490 ## Mail History Id: 28025647, Consumer Id: 807102, Address Id: 11872582 => Updated with Vin: 1GYFK638X7R119585 ## Total mail_history records updated with vin numbers: 75 out of 80 ============================================================ ====== Tracking Id: 503 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-01 14:47:10') AND us2_order_type_id = 3 ## Order found: 663 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 663 AND product_id = 112 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3471 ## Mailing found: '12342' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026475, Consumer Id: 805045, Address Id: 10215121 => Updated with Vin: 1GYEK63N24R232895 ## Mail History Id: 28026493, Consumer Id: 799279, Address Id: 10218888 => Updated with Vin: 1G3GR64H614280024 ## Mail History Id: 28026437, Consumer Id: 805616, Address Id: 7878415 => Updated with Vin: W06VR54R91R000739 ## Mail History Id: 28026485, Consumer Id: 772822, Address Id: 11873909 => Updated with Vin: 1G6KD54Y34U133573 ## Mail History Id: 28026461, Consumer Id: 818095, Address Id: 7416266 => Updated with Vin: 1GYEK63N46R108484 ## Mail History Id: 28026477, Consumer Id: 820677, Address Id: 10215274 => Updated with Vin: 1G6KS54Y43U140357 ## Mail History Id: 28026511, Consumer Id: 816595, Address Id: 2369726 => Updated with Vin: 1GYEE637640172505 ## Mail History Id: 28026503, Consumer Id: 822388, Address Id: 11876612 => Updated with Vin: 1G6KD54Y61U206916 ## Mail History Id: 28026495, Consumer Id: 822803, Address Id: 11876463 => Updated with Vin: 1G6DM57N730158685 ## Mail History Id: 28026443, Consumer Id: 773091, Address Id: 11873347 => Updated with Vin: 1G6KS54Y64U110505 ## Total mail_history records updated with vin numbers: 10 out of 12 ============================================================ ====== Tracking Id: 504 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-07-01 14:50:18') AND us2_order_type_id = 3 ## Order found: 664 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 664 AND product_id = 54 ## Job Group Found: '335' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('335') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda070108001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda070108001a') AND customer_id = 3503 ## Mailing found: '11990' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 505 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3817 AND DATE(cart_created_date) = DATE('2008-07-01 15:25:45') AND us2_order_type_id = 3 ## Order found: 665 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 665 AND product_id = 54 ## Job Group Found: '336' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('336') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda062608001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda062608001a') AND customer_id = 3817 ## Mailing found: '12024' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 506 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-02 08:11:02') AND us2_order_type_id = 3 ## Order found: 672 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 672 AND product_id = 55 ## Job Group Found: '374' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('374') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408002') AND customer_id = 3230 ## Mailing found: '12350' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337163, Consumer Id: 1248015, Address Id: 47289 => Updated with Vin: 2FMDK49C98BA87063 ## Mail History Id: 28337165, Consumer Id: 1248018, Address Id: 51842 => Updated with Vin: 1FTPW14V88FA73005 ## Mail History Id: 28337167, Consumer Id: 1248014, Address Id: 49910 => Updated with Vin: 1FTWW31R48EE16395 ## Mail History Id: 28337169, Consumer Id: 1248021, Address Id: 48269 => Updated with Vin: 3FAHP08109R103885 ## Mail History Id: 28337186, Consumer Id: 1177358, Address Id: 11034907 => Updated with Vin: 1FAHP35N68W286259 ## Mail History Id: 28337171, Consumer Id: 1248013, Address Id: 15433861 => Updated with Vin: 1FAHP35N68W286259 ## Mail History Id: 28337186, Consumer Id: 1231038, Address Id: 11034907 => Updated with Vin: 1FAHP35N38W293086 ## Total mail_history records updated with vin numbers: 7 out of 6 ============================================================ ====== Tracking Id: 507 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-02 08:41:07') AND us2_order_type_id = 3 ## Order found: 672 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 672 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3230 ## Mailing found: '12378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 508 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-02 10:15:49') AND us2_order_type_id = 3 ## Order found: 673 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 673 AND product_id = 143 ## Job Group Found: '345' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('345') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708001') AND customer_id = 3416 ## Mailing found: '12338' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026011, Consumer Id: 626015, Address Id: 11766237 => Updated with Vin: 1G6KD54Y52U158732 ## Mail History Id: 28025831, Consumer Id: 626032, Address Id: 11764681 => Updated with Vin: 5GTEN13E988202782 ## Mail History Id: 28025927, Consumer Id: 626022, Address Id: 11764687 => Updated with Vin: 1G6DT57V980188149 ## Mail History Id: 28026099, Consumer Id: 626023, Address Id: 11764683 => Updated with Vin: 1G6DT57V380186574 ## Mail History Id: 28026093, Consumer Id: 626027, Address Id: 11764684 => Updated with Vin: 1G6DG577980188285 ## Mail History Id: 28025867, Consumer Id: 626034, Address Id: 11766246 => Updated with Vin: 1G6DW677460157533 ## Mail History Id: 28026025, Consumer Id: 626035, Address Id: 1968996 => Updated with Vin: 1G6DW677550227720 ## Mail History Id: 28025881, Consumer Id: 687585, Address Id: 11764748 => Updated with Vin: 1G6KE57Y64U175227 ## Mail History Id: 28025873, Consumer Id: 681620, Address Id: 1960159 => Updated with Vin: 1G6KE57Y12U133710 ## Mail History Id: 28026111, Consumer Id: 626046, Address Id: 11764685 => Updated with Vin: 1G6DT57V280187344 ## Mail History Id: 28026075, Consumer Id: 628658, Address Id: 1969878 => Updated with Vin: 1GYEE637540169658 ## Mail History Id: 28026057, Consumer Id: 692573, Address Id: 1969572 => Updated with Vin: 1G2NE12T0VC823705 ## Mail History Id: 28026029, Consumer Id: 683815, Address Id: 11795480 => Updated with Vin: 1G6KD54Y4YU185395 ## Mail History Id: 28026051, Consumer Id: 681918, Address Id: 1969444 => Updated with Vin: 1G6KD54Y7XU758224 ## Mail History Id: 28025941, Consumer Id: 625505, Address Id: 1964525 => Updated with Vin: 1G6DP577070188481 ## Mail History Id: 28025957, Consumer Id: 625928, Address Id: 1965590 => Updated with Vin: 1G6KD54Y15U184605 ## Mail History Id: 28026003, Consumer Id: 626025, Address Id: 1968701 => Updated with Vin: 1G6DC67A660111657 ## Mail History Id: 28025929, Consumer Id: 683132, Address Id: 1963298 => Updated with Vin: 1G6KS54Y71U236948 ## Mail History Id: 28025863, Consumer Id: 625954, Address Id: 1959727 => Updated with Vin: 1GYEE637580100524 ## Mail History Id: 28025871, Consumer Id: 691896, Address Id: 1959887 => Updated with Vin: 1GYFK66807R192055 ## Mail History Id: 28025909, Consumer Id: 691749, Address Id: 1962192 => Updated with Vin: 1GYFK63837R251247 ## Mail History Id: 28026019, Consumer Id: 685955, Address Id: 1968916 => Updated with Vin: 1G6KD54Y71U271676 ## Mail History Id: 28025899, Consumer Id: 626043, Address Id: 1961721 => Updated with Vin: 1GYFK66838R221968 ## Mail History Id: 28026089, Consumer Id: 626040, Address Id: 1969906 => Updated with Vin: 1G6KD57Y66U220799 ## Mail History Id: 28025847, Consumer Id: 687440, Address Id: 1967004 => Updated with Vin: 1G6KY5498XU931858 ## Mail History Id: 28026021, Consumer Id: 687025, Address Id: 1968931 => Updated with Vin: 1G6YV34A745600213 ## Mail History Id: 28025841, Consumer Id: 686918, Address Id: 1966187 => Updated with Vin: 1G6DM577540168344 ## Mail History Id: 28025901, Consumer Id: 688440, Address Id: 11796864 => Updated with Vin: 1G6KD52YXTU226432 ## Mail History Id: 28026059, Consumer Id: 690198, Address Id: 11797543 => Updated with Vin: 1G4HR54KX1U211410 ## Mail History Id: 28025923, Consumer Id: 626045, Address Id: 11764691 => Updated with Vin: 5GTEN13EX88177083 ## Total mail_history records updated with vin numbers: 30 out of 32 ============================================================ ====== Tracking Id: 509 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-02 11:13:09') AND us2_order_type_id = 3 ## Order found: 674 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 674 AND product_id = 112 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3486 ## Mailing found: '12343' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026381, Consumer Id: 467409, Address Id: 9821562 => Updated with Vin: 1G1ZT54855F135144 ## Mail History Id: 28026409, Consumer Id: 479074, Address Id: 2010118 => Updated with Vin: 1GNDS13SX22115797 ## Mail History Id: 28026403, Consumer Id: 479973, Address Id: 9824515 => Updated with Vin: 1GNDV23L36D169376 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 510 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-02 11:43:08') AND us2_order_type_id = 3 ## Order found: 675 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 675 AND product_id = 142 ## Job Group Found: '345' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('345') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708001') AND customer_id = 3357 ## Mailing found: '12337' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28025818, Consumer Id: 200227, Address Id: 407651 => Updated with Vin: 1ZVFT80N365241216 ## Mail History Id: 28025570, Consumer Id: 461212, Address Id: 9819190 => Updated with Vin: JHMFA36247S010609 ## Mail History Id: 28025742, Consumer Id: 460561, Address Id: 9818750 => Updated with Vin: 1NXBR32E18Z040242 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 511 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-02 12:15:52') AND us2_order_type_id = 3 ## Order found: 676 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 676 AND product_id = 112 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3427 ## Mailing found: '12341' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026274, Consumer Id: 493373, Address Id: 9828755 => Updated with Vin: JHMES96663S025024 ## Mail History Id: 28026348, Consumer Id: 491934, Address Id: 9827675 => Updated with Vin: 1HGCG55491A141566 ## Mail History Id: 28026296, Consumer Id: 494432, Address Id: 7552498 => Updated with Vin: 1HGCG16441A017440 ## Mail History Id: 28026520, Consumer Id: 500817, Address Id: 7554634 => Updated with Vin: 1HGEM229X4L057670 ## Mail History Id: 28026396, Consumer Id: 500746, Address Id: 326063 => Updated with Vin: 1HGCM55644A004274 ## Mail History Id: 28026275, Consumer Id: 495799, Address Id: 9830540 => Updated with Vin: 2HGES16543H530272 ## Mail History Id: 28026361, Consumer Id: 513924, Address Id: 9830385 => Updated with Vin: 19UUA66276A017652 ## Mail History Id: 28026342, Consumer Id: 495561, Address Id: 9830367 => Updated with Vin: 2HKRL186X1H500541 ## Mail History Id: 28026254, Consumer Id: 471489, Address Id: 9833079 => Updated with Vin: 1HGFA16546L049064 ## Total mail_history records updated with vin numbers: 9 out of 11 ============================================================ ====== Tracking Id: 512 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-02 12:16:05') AND us2_order_type_id = 3 ## Order found: 676 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 676 AND product_id = 113 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3427 ## Mailing found: '12341' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026363, Consumer Id: 494852, Address Id: 9829832 => Updated with Vin: 1HGCG56462A026925 ## Mail History Id: 28026294, Consumer Id: 501037, Address Id: 9835763 => Updated with Vin: JHMCG5649YC041798 ## Mail History Id: 28026307, Consumer Id: 506579, Address Id: 9841144 => Updated with Vin: 5FNYF18555B023113 ## Mail History Id: 28026500, Consumer Id: 497190, Address Id: 9831532 => Updated with Vin: 1HGEM21184L005661 ## Mail History Id: 28026345, Consumer Id: 494976, Address Id: 9829922 => Updated with Vin: 1HGES16572L081669 ## Mail History Id: 28026303, Consumer Id: 511424, Address Id: 9844230 => Updated with Vin: 5FNRL38435B041481 ## Mail History Id: 28026255, Consumer Id: 471395, Address Id: 7555785 => Updated with Vin: 5FNRL38886B046762 ## Mail History Id: 28026280, Consumer Id: 512777, Address Id: 3380750 => Updated with Vin: 5FNRL38745B096564 ## Mail History Id: 28026456, Consumer Id: 473241, Address Id: 328903 => Updated with Vin: JHMFA36206S025753 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 513 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-02 12:16:08') AND us2_order_type_id = 3 ## Order found: 677 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 677 AND product_id = 143 ## Job Group Found: '345' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('345') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708001') AND customer_id = 3471 ## Mailing found: '12339' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026226, Consumer Id: 760409, Address Id: 11851024 => Updated with Vin: 1GYFK63857R136309 ## Mail History Id: 28025795, Consumer Id: 820769, Address Id: 11876680 => Updated with Vin: 1G6KD57Y86U185649 ## Mail History Id: 28025653, Consumer Id: 799858, Address Id: 10216188 => Updated with Vin: 1GYEK63N63R306706 ## Mail History Id: 28026116, Consumer Id: 797866, Address Id: 10213248 => Updated with Vin: 1G6KY5494XU906052 ## Mail History Id: 28025817, Consumer Id: 817832, Address Id: 11876826 => Updated with Vin: 1G6KF57961U199481 ## Mail History Id: 28026118, Consumer Id: 822914, Address Id: 7878929 => Updated with Vin: 1G6YV34A745601605 ## Mail History Id: 28026060, Consumer Id: 797798, Address Id: 10212102 => Updated with Vin: 1G6KS52Y1VU842240 ## Mail History Id: 28026158, Consumer Id: 817317, Address Id: 7415825 => Updated with Vin: 1GNFK16Z12J133984 ## Mail History Id: 28026034, Consumer Id: 760513, Address Id: 7878261 => Updated with Vin: 1G6KD54Y21U262769 ## Mail History Id: 28026166, Consumer Id: 760252, Address Id: 11850962 => Updated with Vin: 1G6CT53B5N4263103 ## Mail History Id: 28025761, Consumer Id: 820826, Address Id: 10220770 => Updated with Vin: 1G6DC67A350220351 ## Mail History Id: 28026006, Consumer Id: 817145, Address Id: 7877969 => Updated with Vin: 1G6DM577040173631 ## Mail History Id: 28025691, Consumer Id: 816597, Address Id: 11869632 => Updated with Vin: 1GYEE63A350187962 ## Mail History Id: 28026190, Consumer Id: 823133, Address Id: 7416219 => Updated with Vin: 1GYFK63878R105693 ## Mail History Id: 28026078, Consumer Id: 806672, Address Id: 7415459 => Updated with Vin: 3GYFK66N04G251011 ## Mail History Id: 28026212, Consumer Id: 822623, Address Id: 7416581 => Updated with Vin: 1G6YV36A965601993 ## Mail History Id: 28025577, Consumer Id: 823352, Address Id: 7416918 => Updated with Vin: 1GYFK63867R308458 ## Mail History Id: 28025717, Consumer Id: 822416, Address Id: 11876676 => Updated with Vin: 1GYFK63817R307086 ## Mail History Id: 28026090, Consumer Id: 803636, Address Id: 7878621 => Updated with Vin: 1GYEK63N24R130772 ## Mail History Id: 28026022, Consumer Id: 799857, Address Id: 7878121 => Updated with Vin: W06VR54R21R028818 ## Mail History Id: 28025685, Consumer Id: 807190, Address Id: 10217430 => Updated with Vin: 3GYEK62N84G341878 ## Mail History Id: 28025701, Consumer Id: 807470, Address Id: 10217753 => Updated with Vin: 1GYEK63N44R259189 ## Mail History Id: 28026044, Consumer Id: 807028, Address Id: 11872521 => Updated with Vin: 1GYEK63N55R140598 ## Mail History Id: 28025617, Consumer Id: 822986, Address Id: 11876417 => Updated with Vin: 1GYFK63827R305704 ## Mail History Id: 28025651, Consumer Id: 816836, Address Id: 10216184 => Updated with Vin: 1GYEK63N95R219577 ## Mail History Id: 28026026, Consumer Id: 817836, Address Id: 7878131 => Updated with Vin: 1G6DP577260107091 ## Mail History Id: 28026117, Consumer Id: 818613, Address Id: 11878073 => Updated with Vin: 1G6KF57925U214323 ## Mail History Id: 28026160, Consumer Id: 807118, Address Id: 7415866 => Updated with Vin: 1G6KY54933U112623 ## Mail History Id: 28026102, Consumer Id: 823028, Address Id: 7878721 => Updated with Vin: 1G6DW677760193684 ## Mail History Id: 28026086, Consumer Id: 800601, Address Id: 7878598 => Updated with Vin: 1GYEK63N93R194449 ## Mail History Id: 28026168, Consumer Id: 820851, Address Id: 11876270 => Updated with Vin: 1GYFK63817R153821 ## Mail History Id: 28026198, Consumer Id: 821351, Address Id: 10214130 => Updated with Vin: 1G6DN57S040191712 ## Mail History Id: 28025589, Consumer Id: 821722, Address Id: 10214768 => Updated with Vin: 1G6KS54Y82U264923 ## Mail History Id: 28026082, Consumer Id: 807623, Address Id: 7878547 => Updated with Vin: 3GYFK66NX4G210613 ## Mail History Id: 28025641, Consumer Id: 805427, Address Id: 11873521 => Updated with Vin: 1GYEK63N44R216990 ## Mail History Id: 28025743, Consumer Id: 822467, Address Id: 11876433 => Updated with Vin: 1G6KD57Y97U180655 ## Mail History Id: 28025803, Consumer Id: 822812, Address Id: 11876734 => Updated with Vin: 1GYFK66887R399549 ## Mail History Id: 28026094, Consumer Id: 822734, Address Id: 7878648 => Updated with Vin: 1GYEK63N42R218249 ## Mail History Id: 28025669, Consumer Id: 822802, Address Id: 10216478 => Updated with Vin: 1GYEK63N04R228702 ## Mail History Id: 28025581, Consumer Id: 806993, Address Id: 10214678 => Updated with Vin: 1G6DN56S650199476 ## Mail History Id: 28026222, Consumer Id: 773125, Address Id: 11869748 => Updated with Vin: 1GYEK63N52R303889 ## Mail History Id: 28026024, Consumer Id: 772989, Address Id: 11874215 => Updated with Vin: 1G6DM577180105957 ## Mail History Id: 28026028, Consumer Id: 806896, Address Id: 7878195 => Updated with Vin: 3GYFK628X7G260979 ## Mail History Id: 28025807, Consumer Id: 806921, Address Id: 11874363 => Updated with Vin: 3GYEK62NX4G285961 ## Mail History Id: 28025713, Consumer Id: 807022, Address Id: 80385 => Updated with Vin: 1GYFK66858R203634 ## Mail History Id: 28025737, Consumer Id: 806922, Address Id: 11876864 => Updated with Vin: 2G2WC54C551328646 ## Mail History Id: 28026156, Consumer Id: 806918, Address Id: 11876319 => Updated with Vin: 3GYEK62N25G179490 ## Mail History Id: 28025835, Consumer Id: 806995, Address Id: 11876889 => Updated with Vin: 1GYFK63887R180966 ## Mail History Id: 28025647, Consumer Id: 807102, Address Id: 11872582 => Updated with Vin: 1GYFK638X7R119585 ## Mail History Id: 28026092, Consumer Id: 818068, Address Id: 7878633 => Updated with Vin: 1G6DP577060110085 ## Total mail_history records updated with vin numbers: 50 out of 54 ============================================================ ====== Tracking Id: 514 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-02 12:16:17') AND us2_order_type_id = 3 ## Order found: 676 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 676 AND product_id = 114 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3427 ## Mailing found: '12341' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 515 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-02 12:16:29') AND us2_order_type_id = 3 ## Order found: 677 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 677 AND product_id = 112 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3471 ## Mailing found: '12342' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026505, Consumer Id: 804722, Address Id: 11873063 => Updated with Vin: 1GYEK63N04R223578 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 516 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3475 AND DATE(cart_created_date) = DATE('2008-07-02 14:17:35') AND us2_order_type_id = 3 ## Order found: 678 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 678 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 517 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-02 19:13:32') AND us2_order_type_id = 3 ## Order found: 675 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 675 AND product_id = 55 ## Job Group Found: '347' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('347') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708002') AND customer_id = 3357 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 21 ============================================================ ====== Tracking Id: 518 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-03 08:43:10') AND us2_order_type_id = 3 ## Order found: 685 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 685 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3230 ## Mailing found: '12344' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 519 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-03 08:43:20') AND us2_order_type_id = 3 ## Order found: 685 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 685 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3230 ## Mailing found: '12378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785015, Consumer Id: 93326, Address Id: 51820 => Updated with Vin: 1FMZK06185GA31413 ## Mail History Id: 28785817, Consumer Id: 92010, Address Id: 49245 => Updated with Vin: 1FMYU92Z95KD86142 ## Mail History Id: 28785016, Consumer Id: 65098, Address Id: 51975 => Updated with Vin: 1FMYU92Z95KD86142 ## Mail History Id: 28785017, Consumer Id: 65304, Address Id: 50916 => Updated with Vin: 1FTNW21P14EA99173 ## Mail History Id: 28785018, Consumer Id: 67415, Address Id: 53267 => Updated with Vin: 1G2NF52E64C197680 ## Mail History Id: 28786092, Consumer Id: 294634, Address Id: 47504 => Updated with Vin: 1FTWW31P15EA79825 ## Mail History Id: 28785019, Consumer Id: 63979, Address Id: 48778 => Updated with Vin: 1FTWW31P15EA79825 ## Mail History Id: 28785020, Consumer Id: 64114, Address Id: 51828 => Updated with Vin: 1FMYU02104DA12009 ## Mail History Id: 28786175, Consumer Id: 91867, Address Id: 50873 => Updated with Vin: 1YVGF22C4W5730239 ## Mail History Id: 28785022, Consumer Id: 63183, Address Id: 50170 => Updated with Vin: 1FMPU16L43LB51643 ## Mail History Id: 28785023, Consumer Id: 93186, Address Id: 49554 => Updated with Vin: 3FAHP02117R139168 ## Mail History Id: 28785024, Consumer Id: 92219, Address Id: 49869 => Updated with Vin: 1FAFP34NX5W262664 ## Mail History Id: 28785025, Consumer Id: 224257, Address Id: 47477 => Updated with Vin: 1FAFP10D9WW313097 ## Total mail_history records updated with vin numbers: 13 out of 11 ============================================================ ====== Tracking Id: 520 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-03 10:16:09') AND us2_order_type_id = 3 ## Order found: 686 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 686 AND product_id = 143 ## Job Group Found: '345' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('345') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708001') AND customer_id = 3416 ## Mailing found: '12338' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026027, Consumer Id: 625163, Address Id: 1969001 => Updated with Vin: 5GTDN13E278194955 ## Mail History Id: 28025975, Consumer Id: 625466, Address Id: 11765980 => Updated with Vin: 1G6DW677050226880 ## Mail History Id: 28025891, Consumer Id: 692834, Address Id: 11798540 => Updated with Vin: 1G6DC67A050228925 ## Mail History Id: 28025851, Consumer Id: 625723, Address Id: 1959030 => Updated with Vin: 1G6DW67V580107824 ## Mail History Id: 28025973, Consumer Id: 627103, Address Id: 11764711 => Updated with Vin: 1G6DP577760175046 ## Mail History Id: 28025993, Consumer Id: 693064, Address Id: 4782543 => Updated with Vin: 1G6DM57NX30147762 ## Mail History Id: 28025991, Consumer Id: 625828, Address Id: 1968315 => Updated with Vin: 1G6DS57V080154216 ## Mail History Id: 28025937, Consumer Id: 625857, Address Id: 1964407 => Updated with Vin: 1G6KD57YX6U130331 ## Mail History Id: 28026047, Consumer Id: 628651, Address Id: 11766249 => Updated with Vin: 3D7KU28C33G799737 ## Mail History Id: 28026063, Consumer Id: 628699, Address Id: 11766268 => Updated with Vin: 1G6KD54Y42U155076 ## Mail History Id: 28026011, Consumer Id: 626015, Address Id: 11766237 => Updated with Vin: 1G6KD54Y52U158732 ## Mail History Id: 28025831, Consumer Id: 626032, Address Id: 11764681 => Updated with Vin: 5GTEN13E988202782 ## Mail History Id: 28026099, Consumer Id: 626023, Address Id: 11764683 => Updated with Vin: 1G6DT57V380186574 ## Mail History Id: 28026025, Consumer Id: 626035, Address Id: 1968996 => Updated with Vin: 1G6DW677550227720 ## Mail History Id: 28025971, Consumer Id: 626047, Address Id: 11764709 => Updated with Vin: 1G6DT57V380187398 ## Mail History Id: 28026013, Consumer Id: 686824, Address Id: 1968783 => Updated with Vin: 1G6KD54Y24U106820 ## Mail History Id: 28025849, Consumer Id: 627081, Address Id: 11764697 => Updated with Vin: 1G6KD57YX6U117515 ## Mail History Id: 28026015, Consumer Id: 681906, Address Id: 11794941 => Updated with Vin: 1G6KD54Y82U284602 ## Mail History Id: 28026075, Consumer Id: 628658, Address Id: 1969878 => Updated with Vin: 1GYEE637540169658 ## Mail History Id: 28025895, Consumer Id: 630276, Address Id: 11770707 => Updated with Vin: 1G6EL12Y8XU610451 ## Mail History Id: 28025855, Consumer Id: 628687, Address Id: 3752179 => Updated with Vin: 1G6KD52Y5VU222078 ## Mail History Id: 28026033, Consumer Id: 692222, Address Id: 1969051 => Updated with Vin: 1G6DP577670122520 ## Mail History Id: 28026049, Consumer Id: 628677, Address Id: 1969443 => Updated with Vin: 1G6KD54Y7YU276628 ## Mail History Id: 28025957, Consumer Id: 625928, Address Id: 1965590 => Updated with Vin: 1G6KD54Y15U184605 ## Mail History Id: 28025935, Consumer Id: 625445, Address Id: 1963651 => Updated with Vin: 1GYFK63857R352242 ## Mail History Id: 28025865, Consumer Id: 691364, Address Id: 1959763 => Updated with Vin: 1G6DW677060208736 ## Mail History Id: 28025963, Consumer Id: 625509, Address Id: 1965709 => Updated with Vin: 1G6DW677150206508 ## Mail History Id: 28025863, Consumer Id: 625954, Address Id: 1959727 => Updated with Vin: 1GYEE637580100524 ## Mail History Id: 28026101, Consumer Id: 628694, Address Id: 11766264 => Updated with Vin: 1G6KE54Y83U109605 ## Mail History Id: 28025909, Consumer Id: 691749, Address Id: 1962192 => Updated with Vin: 1GYFK63837R251247 ## Mail History Id: 28025879, Consumer Id: 628711, Address Id: 1960560 => Updated with Vin: 1G6KF57953U154356 ## Mail History Id: 28026089, Consumer Id: 626040, Address Id: 1969906 => Updated with Vin: 1G6KD57Y66U220799 ## Mail History Id: 28026053, Consumer Id: 625414, Address Id: 1969477 => Updated with Vin: 1GYEE637070186355 ## Mail History Id: 28026067, Consumer Id: 628686, Address Id: 1969801 => Updated with Vin: 1G6KS54Y54U110608 ## Mail History Id: 28026107, Consumer Id: 628703, Address Id: 1970293 => Updated with Vin: 5GRGN23U53H141595 ## Mail History Id: 28025995, Consumer Id: 628660, Address Id: 1968568 => Updated with Vin: 1GYEK63N34R229293 ## Mail History Id: 28025911, Consumer Id: 687010, Address Id: 1962221 => Updated with Vin: 1G6DM57N530131307 ## Mail History Id: 28026055, Consumer Id: 625412, Address Id: 1969496 => Updated with Vin: 1GYFK63867R209624 ## Mail History Id: 28026065, Consumer Id: 630802, Address Id: 1969692 => Updated with Vin: 1G6KY5493WU932480 ## Mail History Id: 28025923, Consumer Id: 626045, Address Id: 11764691 => Updated with Vin: 5GTEN13EX88177083 ## Mail History Id: 28025869, Consumer Id: 627148, Address Id: 11764732 => Updated with Vin: 3GYFK66N06G120034 ## Mail History Id: 28025833, Consumer Id: 625217, Address Id: 3874562 => Updated with Vin: 1G6DM577740157295 ## Mail History Id: 28025965, Consumer Id: 630818, Address Id: 11771031 => Updated with Vin: 1G6DP577570125926 ## Total mail_history records updated with vin numbers: 43 out of 44 ============================================================ ====== Tracking Id: 521 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-03 11:13:10') AND us2_order_type_id = 3 ## Order found: 687 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 687 AND product_id = 112 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3486 ## Mailing found: '12343' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026399, Consumer Id: 465223, Address Id: 1038399 => Updated with Vin: 1GNEC16Z34J333258 ## Mail History Id: 28026415, Consumer Id: 466816, Address Id: 2526347 => Updated with Vin: 1GNDS13S532253782 ## Mail History Id: 28026371, Consumer Id: 466702, Address Id: 1034048 => Updated with Vin: 3GNEK12Z75G283296 ## Mail History Id: 28026373, Consumer Id: 471136, Address Id: 8809418 => Updated with Vin: 2G1WT58K369214573 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 522 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-03 11:43:08') AND us2_order_type_id = 3 ## Order found: 688 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 688 AND product_id = 142 ## Job Group Found: '345' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('345') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708001') AND customer_id = 3357 ## Mailing found: '12337' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28025930, Consumer Id: 191167, Address Id: 401368 => Updated with Vin: 1FAFP42X21F239304 ## Mail History Id: 28025648, Consumer Id: 193736, Address Id: 403757 => Updated with Vin: 1FMYU70E41UA70134 ## Mail History Id: 28025846, Consumer Id: 461861, Address Id: 394493 => Updated with Vin: 1N4BL11D25N479982 ## Mail History Id: 28025642, Consumer Id: 188920, Address Id: 399297 => Updated with Vin: 1FMZU62E25ZA41817 ## Mail History Id: 28025898, Consumer Id: 196955, Address Id: 405568 => Updated with Vin: 1FMYU02122KC36696 ## Mail History Id: 28025976, Consumer Id: 461865, Address Id: 398435 => Updated with Vin: 1FMSU43P43EC54553 ## Mail History Id: 28026175, Consumer Id: 191672, Address Id: 401737 => Updated with Vin: JM1BK343741173359 ## Mail History Id: 28025660, Consumer Id: 194547, Address Id: 404330 => Updated with Vin: JM1BK323941214626 ## Mail History Id: 28026213, Consumer Id: 461859, Address Id: 407830 => Updated with Vin: 1FTRF12W35NA30584 ## Mail History Id: 28025904, Consumer Id: 155913, Address Id: 397930 => Updated with Vin: 1FAFP52264A186389 ## Mail History Id: 28026219, Consumer Id: 155727, Address Id: 397763 => Updated with Vin: 5LMFU28R34LJ01334 ## Mail History Id: 28025782, Consumer Id: 461864, Address Id: 9819593 => Updated with Vin: 1FTDX1769VKA48556 ## Mail History Id: 28025650, Consumer Id: 152371, Address Id: 394703 => Updated with Vin: 1FMCU95HX6KB01592 ## Mail History Id: 28025712, Consumer Id: 198252, Address Id: 404541 => Updated with Vin: 1FMEU63E37UB84613 ## Mail History Id: 28026159, Consumer Id: 197851, Address Id: 407491 => Updated with Vin: JM1BK32F581774899 ## Mail History Id: 28025756, Consumer Id: 187358, Address Id: 398324 => Updated with Vin: 3FAFP37362R166216 ## Mail History Id: 28025786, Consumer Id: 461869, Address Id: 9819596 => Updated with Vin: 1FALP52U4TG193339 ## Mail History Id: 28025618, Consumer Id: 461863, Address Id: 9819592 => Updated with Vin: 1FMDU35P5VUC53839 ## Mail History Id: 28026133, Consumer Id: 461860, Address Id: 399066 => Updated with Vin: 1LNLM81W3VY654210 ## Total mail_history records updated with vin numbers: 19 out of 22 ============================================================ ====== Tracking Id: 523 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-03 12:15:43') AND us2_order_type_id = 3 ## Order found: 689 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 689 AND product_id = 112 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3427 ## Mailing found: '12341' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026534, Consumer Id: 517375, Address Id: 9847734 => Updated with Vin: JHLRE48797C054801 ## Mail History Id: 28026460, Consumer Id: 503668, Address Id: 329282 => Updated with Vin: SHSRD78815U301523 ## Mail History Id: 28026430, Consumer Id: 500703, Address Id: 327138 => Updated with Vin: 5FNRL18754B077251 ## Mail History Id: 28026462, Consumer Id: 506983, Address Id: 329489 => Updated with Vin: 5FNYF18455B003337 ## Mail History Id: 28026376, Consumer Id: 493066, Address Id: 325484 => Updated with Vin: 2HGES16193H503663 ## Mail History Id: 28026392, Consumer Id: 493191, Address Id: 325999 => Updated with Vin: 2HKYF18633H602365 ## Mail History Id: 28026286, Consumer Id: 510320, Address Id: 9843538 => Updated with Vin: 1HGCM56323A120608 ## Mail History Id: 28026306, Consumer Id: 498879, Address Id: 9832745 => Updated with Vin: 1HGCM66353A046316 ## Mail History Id: 28026291, Consumer Id: 504579, Address Id: 9839495 => Updated with Vin: 1HGCM72615A006047 ## Mail History Id: 28026293, Consumer Id: 498302, Address Id: 9832325 => Updated with Vin: JHMRA1867VC008474 ## Mail History Id: 28026263, Consumer Id: 491568, Address Id: 9827397 => Updated with Vin: 2HKRL18952H549996 ## Mail History Id: 28026299, Consumer Id: 519491, Address Id: 9835489 => Updated with Vin: 5FNRL38617B041533 ## Mail History Id: 28026370, Consumer Id: 492752, Address Id: 9828289 => Updated with Vin: JH4DC4456XS013497 ## Mail History Id: 28026314, Consumer Id: 514929, Address Id: 9846294 => Updated with Vin: 1HGEM22512L020243 ## Total mail_history records updated with vin numbers: 14 out of 15 ============================================================ ====== Tracking Id: 524 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-03 12:16:01') AND us2_order_type_id = 3 ## Order found: 689 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 689 AND product_id = 113 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3427 ## Mailing found: '12341' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026252, Consumer Id: 495031, Address Id: 9829962 => Updated with Vin: 1HGES16512L044813 ## Mail History Id: 28026522, Consumer Id: 495617, Address Id: 9830408 => Updated with Vin: 1HGCG16551A030030 ## Mail History Id: 28026478, Consumer Id: 501208, Address Id: 330064 => Updated with Vin: JHLRD1864YC060239 ## Mail History Id: 28026368, Consumer Id: 502437, Address Id: 9837920 => Updated with Vin: 1HGCG5645WA068072 ## Mail History Id: 28026257, Consumer Id: 501564, Address Id: 9836602 => Updated with Vin: 2HGES16553H566150 ## Mail History Id: 28026398, Consumer Id: 503506, Address Id: 326095 => Updated with Vin: 1HGES26795L012185 ## Mail History Id: 28026492, Consumer Id: 494523, Address Id: 9829584 => Updated with Vin: SHSRD78852U012253 ## Mail History Id: 28026258, Consumer Id: 498524, Address Id: 9832488 => Updated with Vin: 5FNRL18694B043837 ## Mail History Id: 28026432, Consumer Id: 493493, Address Id: 327165 => Updated with Vin: JHLRD18401C033673 ## Mail History Id: 28026288, Consumer Id: 519081, Address Id: 9830398 => Updated with Vin: 2HGEJ6619YH504805 ## Mail History Id: 28026334, Consumer Id: 472116, Address Id: 9833718 => Updated with Vin: 5FNRL18953B077122 ## Mail History Id: 28026261, Consumer Id: 474320, Address Id: 9835873 => Updated with Vin: 5J6YH18626L016180 ## Mail History Id: 28026305, Consumer Id: 475277, Address Id: 8195708 => Updated with Vin: 1HGCM66487A071774 ## Mail History Id: 28026420, Consumer Id: 483287, Address Id: 8539748 => Updated with Vin: 5FNRL38257B058686 ## Total mail_history records updated with vin numbers: 14 out of 15 ============================================================ ====== Tracking Id: 525 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-03 12:16:01') AND us2_order_type_id = 3 ## Order found: 690 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 690 AND product_id = 143 ## Job Group Found: '345' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('345') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708001') AND customer_id = 3471 ## Mailing found: '12339' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026170, Consumer Id: 802225, Address Id: 7415912 => Updated with Vin: 1GYEK63N12R325940 ## Mail History Id: 28026012, Consumer Id: 798453, Address Id: 7878095 => Updated with Vin: 1G6KE54Y31U117320 ## Mail History Id: 28025759, Consumer Id: 821238, Address Id: 11876500 => Updated with Vin: 1G6KD57Y66U206384 ## Mail History Id: 28025623, Consumer Id: 816135, Address Id: 10215663 => Updated with Vin: 1G6KE54Y92U282726 ## Mail History Id: 28025673, Consumer Id: 806960, Address Id: 10216999 => Updated with Vin: 1G6KD57Y68U120186 ## Mail History Id: 28026048, Consumer Id: 802103, Address Id: 7878379 => Updated with Vin: 1G6DM577940108499 ## Mail History Id: 28026068, Consumer Id: 800831, Address Id: 7878496 => Updated with Vin: 3GYEK63NX3G203093 ## Mail History Id: 28025719, Consumer Id: 807249, Address Id: 11874374 => Updated with Vin: 1G6DN57S740180027 ## Mail History Id: 28025769, Consumer Id: 816537, Address Id: 11876530 => Updated with Vin: 1G6KY54942U240819 ## Mail History Id: 28025791, Consumer Id: 797860, Address Id: 11869607 => Updated with Vin: 1G6KE57Y0YU322163 ## Mail History Id: 28026010, Consumer Id: 799719, Address Id: 7877980 => Updated with Vin: 1G6KS54Y32U126920 ## Mail History Id: 28026082, Consumer Id: 822848, Address Id: 7878547 => Updated with Vin: 3GYEK62N74G115900 ## Mail History Id: 28025657, Consumer Id: 760288, Address Id: 10215779 => Updated with Vin: 1GYDE637840137279 ## Mail History Id: 28026210, Consumer Id: 807030, Address Id: 11876315 => Updated with Vin: 1GYFK63807R413576 ## Mail History Id: 28025713, Consumer Id: 807022, Address Id: 80385 => Updated with Vin: 1GYFK66858R203634 ## Total mail_history records updated with vin numbers: 15 out of 16 ============================================================ ====== Tracking Id: 526 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-03 19:13:02') AND us2_order_type_id = 3 ## Order found: 688 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 688 AND product_id = 55 ## Job Group Found: '347' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('347') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708002') AND customer_id = 3357 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 527 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-04 08:43:12') AND us2_order_type_id = 3 ## Order found: 697 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 697 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3230 ## Mailing found: '12344' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337451, Consumer Id: 65329, Address Id: 49252 => Updated with Vin: 1FTSW21P75EC74255 ## Mail History Id: 28337455, Consumer Id: 62877, Address Id: 48107 => Updated with Vin: 1FTRW08L73KA22008 ## Mail History Id: 28337409, Consumer Id: 63311, Address Id: 48185 => Updated with Vin: 1FTRF18W4YNA56283 ## Mail History Id: 28337407, Consumer Id: 66384, Address Id: 52449 => Updated with Vin: 1FMDU75W12ZA97067 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 528 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-04 08:43:23') AND us2_order_type_id = 3 ## Order found: 697 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 697 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3230 ## Mailing found: '12378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785984, Consumer Id: 91859, Address Id: 53865 => Updated with Vin: 1G3WS52K5WF386291 ## Mail History Id: 28785029, Consumer Id: 102865, Address Id: 53410 => Updated with Vin: 3FAHP07167R130250 ## Mail History Id: 28785030, Consumer Id: 66596, Address Id: 50492 => Updated with Vin: 1FTWW31P06EC43034 ## Mail History Id: 28785110, Consumer Id: 38434, Address Id: 49101 => Updated with Vin: 1FTWW31P35EA62542 ## Mail History Id: 28785033, Consumer Id: 38448, Address Id: 49111 => Updated with Vin: 1FAFP532X5A207339 ## Mail History Id: 28785034, Consumer Id: 93230, Address Id: 51730 => Updated with Vin: 1FMCU04178KB45214 ## Mail History Id: 28785035, Consumer Id: 64360, Address Id: 47418 => Updated with Vin: 1FMYU93134KA69688 ## Mail History Id: 28785036, Consumer Id: 64464, Address Id: 49398 => Updated with Vin: 1FTPX12535FA95702 ## Mail History Id: 28785037, Consumer Id: 102946, Address Id: 52540 => Updated with Vin: 1FTCR14X5VPA63965 ## Mail History Id: 28785038, Consumer Id: 67457, Address Id: 50116 => Updated with Vin: 1FTPW14535FB53940 ## Mail History Id: 28785040, Consumer Id: 65107, Address Id: 49529 => Updated with Vin: 1FTPW14515FB30091 ## Mail History Id: 28785041, Consumer Id: 187061, Address Id: 52031 => Updated with Vin: 1FTYR11VXYPB05074 ## Mail History Id: 28785042, Consumer Id: 67502, Address Id: 47238 => Updated with Vin: 1MEHM431X6G604897 ## Mail History Id: 28785043, Consumer Id: 63909, Address Id: 51249 => Updated with Vin: 1FTSW31F61EB64546 ## Mail History Id: 28785044, Consumer Id: 65035, Address Id: 48752 => Updated with Vin: 1G2WJ52K8YF116157 ## Mail History Id: 28785045, Consumer Id: 103265, Address Id: 53607 => Updated with Vin: 1FAFP45X6XF154731 ## Mail History Id: 28785047, Consumer Id: 63395, Address Id: 47566 => Updated with Vin: 1FAFP53235A198712 ## Mail History Id: 28785048, Consumer Id: 63058, Address Id: 51566 => Updated with Vin: 1FTRX14W24NB48358 ## Mail History Id: 28785049, Consumer Id: 102611, Address Id: 52576 => Updated with Vin: 2FMZA5148WBD71512 ## Mail History Id: 28785050, Consumer Id: 93451, Address Id: 51955 => Updated with Vin: 1G2NW12E21M531475 ## Mail History Id: 28785832, Consumer Id: 63341, Address Id: 47774 => Updated with Vin: 1FTZX17231NA03740 ## Mail History Id: 28785052, Consumer Id: 66408, Address Id: 48176 => Updated with Vin: 3FAKP1135XR159213 ## Mail History Id: 28785053, Consumer Id: 64147, Address Id: 50967 => Updated with Vin: 1FMYU93143KD18563 ## Mail History Id: 28785054, Consumer Id: 67716, Address Id: 50783 => Updated with Vin: 1FAFP28126G113307 ## Mail History Id: 28785055, Consumer Id: 67576, Address Id: 53315 => Updated with Vin: 1FAFP55UX3A219518 ## Mail History Id: 28785056, Consumer Id: 63278, Address Id: 48753 => Updated with Vin: 3C4FY58B12T378758 ## Mail History Id: 28785057, Consumer Id: 215830, Address Id: 52351 => Updated with Vin: 1FAFP34P92W225005 ## Mail History Id: 28785058, Consumer Id: 215829, Address Id: 425583 => Updated with Vin: 4M2XV12T0YDJ19548 ## Mail History Id: 28785059, Consumer Id: 102960, Address Id: 53464 => Updated with Vin: 1B7GG23Y6PS165458 ## Total mail_history records updated with vin numbers: 29 out of 34 ============================================================ ====== Tracking Id: 529 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-04 10:15:27') AND us2_order_type_id = 3 ## Order found: 698 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 698 AND product_id = 143 ## Job Group Found: '345' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('345') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708001') AND customer_id = 3416 ## Mailing found: '12338' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28025971, Consumer Id: 626047, Address Id: 11764709 => Updated with Vin: 1G6DT57V380187398 ## Mail History Id: 28025985, Consumer Id: 626049, Address Id: 11764717 => Updated with Vin: 1G6DF577X80182823 ## Mail History Id: 28025839, Consumer Id: 623655, Address Id: 2756395 => Updated with Vin: 1G6KD54Y35U160256 ## Mail History Id: 28025883, Consumer Id: 628707, Address Id: 4761268 => Updated with Vin: 1GYEK63N54R172594 ## Mail History Id: 28025917, Consumer Id: 628667, Address Id: 1963044 => Updated with Vin: 1G6KY54922U195184 ## Mail History Id: 28025913, Consumer Id: 628674, Address Id: 1962253 => Updated with Vin: 1GYFK63867R366988 ## Mail History Id: 28025957, Consumer Id: 625928, Address Id: 1965590 => Updated with Vin: 1G6KD54Y15U184605 ## Mail History Id: 28025845, Consumer Id: 627149, Address Id: 1966677 => Updated with Vin: 1G6KE57Y61U109160 ## Mail History Id: 28026003, Consumer Id: 628705, Address Id: 1968701 => Updated with Vin: 3GYFK66N64G253197 ## Mail History Id: 28025997, Consumer Id: 628714, Address Id: 1968693 => Updated with Vin: 1G6EL12Y11B103135 ## Mail History Id: 28025879, Consumer Id: 628711, Address Id: 1960560 => Updated with Vin: 1G6KF57953U154356 ## Mail History Id: 28026089, Consumer Id: 626040, Address Id: 1969906 => Updated with Vin: 1G6KD57Y66U220799 ## Mail History Id: 28026061, Consumer Id: 628716, Address Id: 11766273 => Updated with Vin: 1G6DM57N330118930 ## Mail History Id: 28025903, Consumer Id: 628713, Address Id: 11766272 => Updated with Vin: 3GNFK16Z62G300616 ## Mail History Id: 28025853, Consumer Id: 628662, Address Id: 10933299 => Updated with Vin: 1G6KD57Y86U131994 ## Mail History Id: 28025939, Consumer Id: 627153, Address Id: 1964503 => Updated with Vin: 1GYEK63N16R104778 ## Total mail_history records updated with vin numbers: 16 out of 17 ============================================================ ====== Tracking Id: 530 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-04 11:43:07') AND us2_order_type_id = 3 ## Order found: 699 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 699 AND product_id = 142 ## Job Group Found: '345' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('345') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708001') AND customer_id = 3357 ## Mailing found: '12337' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28025806, Consumer Id: 496232, Address Id: 9830838 => Updated with Vin: 1YVGF22C7Y5105238 ## Mail History Id: 28025682, Consumer Id: 195461, Address Id: 404242 => Updated with Vin: 1FMCU22X4TUB81944 ## Mail History Id: 28025588, Consumer Id: 187442, Address Id: 398167 => Updated with Vin: 1YVHP80D345N13536 ## Mail History Id: 28025866, Consumer Id: 496226, Address Id: 9830834 => Updated with Vin: 1MEFM50U02A610586 ## Mail History Id: 28025646, Consumer Id: 496231, Address Id: 879392 => Updated with Vin: 1FTNW21F52ED47669 ## Mail History Id: 28025794, Consumer Id: 496213, Address Id: 9830828 => Updated with Vin: JTEHF21A830149163 ## Mail History Id: 28026219, Consumer Id: 155727, Address Id: 397763 => Updated with Vin: 5LMFU28R34LJ01334 ## Mail History Id: 28026205, Consumer Id: 496209, Address Id: 9830825 => Updated with Vin: 1FAFP25105G151234 ## Mail History Id: 28025626, Consumer Id: 199054, Address Id: 405659 => Updated with Vin: 1FMDK06135GA01648 ## Mail History Id: 28026163, Consumer Id: 151821, Address Id: 394195 => Updated with Vin: 1FMDU74W85UA06783 ## Mail History Id: 28025824, Consumer Id: 152601, Address Id: 394921 => Updated with Vin: 1ZVHT85H565194718 ## Mail History Id: 28025956, Consumer Id: 154055, Address Id: 396245 => Updated with Vin: 1FTPW12556FA29673 ## Mail History Id: 28025986, Consumer Id: 154671, Address Id: 396809 => Updated with Vin: 1FMYU93166KD09951 ## Mail History Id: 28025722, Consumer Id: 496219, Address Id: 9830831 => Updated with Vin: 1LNHM81W6XY633148 ## Mail History Id: 28025854, Consumer Id: 198391, Address Id: 406115 => Updated with Vin: JM1NC25F370127079 ## Mail History Id: 28025870, Consumer Id: 152955, Address Id: 395028 => Updated with Vin: 1FMZU73K03UC15646 ## Mail History Id: 28025964, Consumer Id: 155787, Address Id: 397821 => Updated with Vin: JM1CR29L970158553 ## Mail History Id: 28026181, Consumer Id: 155586, Address Id: 397630 => Updated with Vin: 2FMDK38C57BB68328 ## Mail History Id: 28026121, Consumer Id: 420564, Address Id: 9800040 => Updated with Vin: JM1BK344X81115874 ## Mail History Id: 28025674, Consumer Id: 188233, Address Id: 399720 => Updated with Vin: 1FAFP4443YF313228 ## Mail History Id: 28025574, Consumer Id: 420588, Address Id: 9800055 => Updated with Vin: 1ZVHT84N085133450 ## Mail History Id: 28026185, Consumer Id: 155778, Address Id: 397812 => Updated with Vin: 1FTPX12578FA41548 ## Mail History Id: 28025686, Consumer Id: 190150, Address Id: 402299 => Updated with Vin: 1FTFF25H5JLA73187 ## Mail History Id: 28025836, Consumer Id: 496227, Address Id: 9830835 => Updated with Vin: 1FMDU34X3RUD91452 ## Mail History Id: 28026157, Consumer Id: 194520, Address Id: 403660 => Updated with Vin: 1FDLF47G3TEA19845 ## Mail History Id: 28025696, Consumer Id: 197390, Address Id: 405800 => Updated with Vin: 1FAFP4046YF163041 ## Mail History Id: 28025672, Consumer Id: 496216, Address Id: 406549 => Updated with Vin: 1FTRX08L7YKA26225 ## Total mail_history records updated with vin numbers: 27 out of 31 ============================================================ ====== Tracking Id: 531 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-04 11:43:09') AND us2_order_type_id = 3 ## Order found: 699 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 699 AND product_id = 113 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3357 ## Mailing found: '12340' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 532 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-04 12:15:20') AND us2_order_type_id = 3 ## Order found: 700 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 700 AND product_id = 112 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3427 ## Mailing found: '12341' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026243, Consumer Id: 517089, Address Id: 9847567 => Updated with Vin: 5FNYF18667B006722 ## Mail History Id: 28026512, Consumer Id: 491915, Address Id: 9827661 => Updated with Vin: 2HKRL18902H521927 ## Mail History Id: 28026313, Consumer Id: 512410, Address Id: 9844829 => Updated with Vin: 5FNRL387X5B109415 ## Mail History Id: 28026388, Consumer Id: 516514, Address Id: 325876 => Updated with Vin: 5FNRL180X2B010631 ## Mail History Id: 28026302, Consumer Id: 497074, Address Id: 9829027 => Updated with Vin: 1HGCM82614A002469 ## Mail History Id: 28026320, Consumer Id: 503463, Address Id: 9839019 => Updated with Vin: 2HKRL18912H524223 ## Mail History Id: 28026516, Consumer Id: 503017, Address Id: 7554247 => Updated with Vin: 2HKYF18754H621767 ## Mail History Id: 28026378, Consumer Id: 493077, Address Id: 325539 => Updated with Vin: SHSRD77843U123802 ## Mail History Id: 28026298, Consumer Id: 498974, Address Id: 9831633 => Updated with Vin: 1HGEM21114L025802 ## Mail History Id: 28026300, Consumer Id: 503992, Address Id: 7552540 => Updated with Vin: 5FNRL38415B039549 ## Mail History Id: 28026301, Consumer Id: 498444, Address Id: 9832429 => Updated with Vin: JHMES966X4S005232 ## Mail History Id: 28026454, Consumer Id: 492751, Address Id: 328538 => Updated with Vin: 1HGCG56672A019127 ## Mail History Id: 28026452, Consumer Id: 495770, Address Id: 9830520 => Updated with Vin: 1HGCM56363A130168 ## Mail History Id: 28026272, Consumer Id: 494431, Address Id: 9829512 => Updated with Vin: JHLRD78812C037562 ## Mail History Id: 28026325, Consumer Id: 497227, Address Id: 9831559 => Updated with Vin: JHMBB62411C003736 ## Mail History Id: 28026394, Consumer Id: 510173, Address Id: 326010 => Updated with Vin: SHSRD78815U344968 ## Mail History Id: 28026436, Consumer Id: 501546, Address Id: 327609 => Updated with Vin: 1HGCM66564A019807 ## Mail History Id: 28026359, Consumer Id: 514892, Address Id: 9846277 => Updated with Vin: 5FNRL18083B077102 ## Mail History Id: 28026247, Consumer Id: 474395, Address Id: 8195535 => Updated with Vin: 1HGCM66577A030626 ## Total mail_history records updated with vin numbers: 19 out of 20 ============================================================ ====== Tracking Id: 533 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-04 12:15:32') AND us2_order_type_id = 3 ## Order found: 700 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 700 AND product_id = 114 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3427 ## Mailing found: '12341' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026357, Consumer Id: 500142, Address Id: 9834349 => Updated with Vin: 1HGES26864L013673 ## Mail History Id: 28026438, Consumer Id: 507329, Address Id: 327630 => Updated with Vin: 1HGCM55824A131106 ## Mail History Id: 28026468, Consumer Id: 497418, Address Id: 9831686 => Updated with Vin: JHMBB6142VC011321 ## Mail History Id: 28026488, Consumer Id: 495497, Address Id: 9830322 => Updated with Vin: 1HGCM82643A007728 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 534 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-04 12:15:34') AND us2_order_type_id = 3 ## Order found: 701 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 701 AND product_id = 143 ## Job Group Found: '345' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('345') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708001') AND customer_id = 3471 ## Mailing found: '12339' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 535 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-04 12:15:44') AND us2_order_type_id = 3 ## Order found: 701 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 701 AND product_id = 112 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3471 ## Mailing found: '12342' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026429, Consumer Id: 801489, Address Id: 7877953 => Updated with Vin: 1G6KF57961U207921 ## Mail History Id: 28026455, Consumer Id: 803681, Address Id: 7416084 => Updated with Vin: 1GYDE63AX40120124 ## Mail History Id: 28026487, Consumer Id: 800125, Address Id: 10217387 => Updated with Vin: 1G6KE57Y11U160887 ## Mail History Id: 28026469, Consumer Id: 802219, Address Id: 7416696 => Updated with Vin: 1G6KD54Y32U268131 ## Mail History Id: 28026451, Consumer Id: 805014, Address Id: 7415933 => Updated with Vin: 1G3GR62H014104461 ## Mail History Id: 28026479, Consumer Id: 807808, Address Id: 10216060 => Updated with Vin: 1GYEK63N14R303522 ## Mail History Id: 28026489, Consumer Id: 822924, Address Id: 9711213 => Updated with Vin: 1G6KD54Y64U196019 ## Mail History Id: 28026449, Consumer Id: 773082, Address Id: 10213379 => Updated with Vin: 1G6KE57Y41U251944 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 536 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-04 12:15:56') AND us2_order_type_id = 3 ## Order found: 700 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 700 AND product_id = 113 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3427 ## Mailing found: '12341' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 537 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-05 08:43:08') AND us2_order_type_id = 3 ## Order found: 707 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 707 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3230 ## Mailing found: '12344' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 538 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-05 08:43:18') AND us2_order_type_id = 3 ## Order found: 707 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 707 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3230 ## Mailing found: '12378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785109, Consumer Id: 38651, Address Id: 51459 => Updated with Vin: 1FTPX14V58FA41819 ## Mail History Id: 28785110, Consumer Id: 38436, Address Id: 49101 => Updated with Vin: 1FMYU94155KD67109 ## Mail History Id: 28785111, Consumer Id: 93380, Address Id: 51877 => Updated with Vin: 1FAHP24WX8G135150 ## Mail History Id: 28785112, Consumer Id: 102621, Address Id: 52583 => Updated with Vin: 1FTRX18L81NA56232 ## Mail History Id: 28785114, Consumer Id: 65179, Address Id: 48421 => Updated with Vin: 1FTNX21F51EC98209 ## Mail History Id: 28785115, Consumer Id: 66950, Address Id: 50572 => Updated with Vin: 1FTPX145X6FB15426 ## Mail History Id: 28786092, Consumer Id: 167601, Address Id: 47504 => Updated with Vin: 1MEFM50U52A651232 ## Mail History Id: 28785117, Consumer Id: 102035, Address Id: 51774 => Updated with Vin: 1LNLM82W7NY729814 ## Mail History Id: 28785118, Consumer Id: 215831, Address Id: 425585 => Updated with Vin: 2MELM75W1VX741319 ## Mail History Id: 28785119, Consumer Id: 65457, Address Id: 47785 => Updated with Vin: 1FTYR14V8XPB62142 ## Mail History Id: 28785293, Consumer Id: 92563, Address Id: 48130 => Updated with Vin: 1FAFP24137G118605 ## Mail History Id: 28785121, Consumer Id: 63490, Address Id: 50360 => Updated with Vin: 1FTPW14594KB30135 ## Mail History Id: 28785122, Consumer Id: 93433, Address Id: 51912 => Updated with Vin: 1FMCU03Z38KC38996 ## Mail History Id: 28785123, Consumer Id: 64954, Address Id: 52077 => Updated with Vin: 1FTWW33F5YED36249 ## Mail History Id: 28785124, Consumer Id: 93290, Address Id: 51798 => Updated with Vin: 2FMDK36CX7BB56002 ## Mail History Id: 28785126, Consumer Id: 92701, Address Id: 50212 => Updated with Vin: 1FTZR45E86PA09201 ## Total mail_history records updated with vin numbers: 16 out of 20 ============================================================ ====== Tracking Id: 539 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-05 10:15:37') AND us2_order_type_id = 3 ## Order found: 708 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 708 AND product_id = 143 ## Job Group Found: '345' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('345') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708001') AND customer_id = 3416 ## Mailing found: '12338' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28025985, Consumer Id: 626049, Address Id: 11764717 => Updated with Vin: 1G6DF577X80182823 ## Mail History Id: 28025981, Consumer Id: 623654, Address Id: 2757626 => Updated with Vin: 1G6KD54Y75U225187 ## Mail History Id: 28025957, Consumer Id: 625928, Address Id: 1965590 => Updated with Vin: 1G6KD54Y15U184605 ## Mail History Id: 28026089, Consumer Id: 626040, Address Id: 1969906 => Updated with Vin: 1G6KD57Y66U220799 ## Total mail_history records updated with vin numbers: 4 out of 7 ============================================================ ====== Tracking Id: 540 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-05 11:13:22') AND us2_order_type_id = 3 ## Order found: 709 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 709 AND product_id = 112 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3486 ## Mailing found: '12343' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026419, Consumer Id: 463912, Address Id: 9820347 => Updated with Vin: 1GNEC16Z24J157075 ## Mail History Id: 28026417, Consumer Id: 478763, Address Id: 1569268 => Updated with Vin: 1G1YY22GX35121927 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 541 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-05 11:43:09') AND us2_order_type_id = 3 ## Order found: 710 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 710 AND product_id = 142 ## Job Group Found: '345' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('345') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708001') AND customer_id = 3357 ## Mailing found: '12337' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28025616, Consumer Id: 151658, Address Id: 394044 => Updated with Vin: 1ZVHT84NX55257737 ## Mail History Id: 28026177, Consumer Id: 188583, Address Id: 399803 => Updated with Vin: 1FAFP24165G171568 ## Mail History Id: 28025800, Consumer Id: 188494, Address Id: 399790 => Updated with Vin: 1FMZK01195GA50169 ## Mail History Id: 28026155, Consumer Id: 496205, Address Id: 9830821 => Updated with Vin: JM1FE173540101803 ## Mail History Id: 28025914, Consumer Id: 461873, Address Id: 9819597 => Updated with Vin: 1YVHP80C175M64316 ## Mail History Id: 28025612, Consumer Id: 496229, Address Id: 9830836 => Updated with Vin: 1FTNW21F41EC58643 ## Mail History Id: 28026153, Consumer Id: 320392, Address Id: 9607300 => Updated with Vin: 1FTNW21F21ED69367 ## Mail History Id: 28025700, Consumer Id: 195068, Address Id: 404679 => Updated with Vin: 1FMYU03191KA16453 ## Mail History Id: 28025762, Consumer Id: 461634, Address Id: 9819456 => Updated with Vin: 1FMRU17L71LA36961 ## Mail History Id: 28025766, Consumer Id: 189800, Address Id: 401570 => Updated with Vin: 1FTZF172X1NA76221 ## Mail History Id: 28025754, Consumer Id: 196311, Address Id: 405127 => Updated with Vin: 2MEFM75WX1X659998 ## Mail History Id: 28025892, Consumer Id: 191414, Address Id: 400109 => Updated with Vin: 1FTYR14UX4PA95255 ## Mail History Id: 28025584, Consumer Id: 151809, Address Id: 394184 => Updated with Vin: 1ZVFT84N955221108 ## Mail History Id: 28025832, Consumer Id: 188469, Address Id: 397140 => Updated with Vin: JM1BK323851258599 ## Mail History Id: 28025900, Consumer Id: 152020, Address Id: 394384 => Updated with Vin: 1FTRW12W46KB16618 ## Mail History Id: 28025890, Consumer Id: 496230, Address Id: 882152 => Updated with Vin: 1FTWW32F42EB61548 ## Mail History Id: 28025704, Consumer Id: 461633, Address Id: 2358185 => Updated with Vin: 1FTNW20F62EB94351 ## Mail History Id: 28026229, Consumer Id: 496208, Address Id: 9830824 => Updated with Vin: 1FMZU62E02ZA58790 ## Mail History Id: 28025940, Consumer Id: 154054, Address Id: 396244 => Updated with Vin: 1FMRU17L23LA31895 ## Mail History Id: 28025948, Consumer Id: 496224, Address Id: 6903275 => Updated with Vin: 1FMZU67E23UA32991 ## Mail History Id: 28025980, Consumer Id: 496221, Address Id: 886564 => Updated with Vin: 1FAHP36323W193275 ## Mail History Id: 28025608, Consumer Id: 188706, Address Id: 398935 => Updated with Vin: JM1FE173340102187 ## Mail History Id: 28025916, Consumer Id: 188446, Address Id: 398672 => Updated with Vin: JM3LW28AX40529859 ## Mail History Id: 28025678, Consumer Id: 496210, Address Id: 873065 => Updated with Vin: 5LMFU28R64LJ19973 ## Mail History Id: 28025736, Consumer Id: 151820, Address Id: 394194 => Updated with Vin: JM1BK323751295336 ## Mail History Id: 28025782, Consumer Id: 461864, Address Id: 9819593 => Updated with Vin: 1FTDX1769VKA48556 ## Mail History Id: 28025654, Consumer Id: 152256, Address Id: 394597 => Updated with Vin: 1FTPX14505FB15126 ## Mail History Id: 28025662, Consumer Id: 151694, Address Id: 394079 => Updated with Vin: 3FAFP31N15R142484 ## Mail History Id: 28025978, Consumer Id: 152608, Address Id: 394927 => Updated with Vin: JM3LW28A360562222 ## Mail History Id: 28025750, Consumer Id: 153302, Address Id: 395557 => Updated with Vin: 1ZVFT80N365150236 ## Mail History Id: 28026183, Consumer Id: 193937, Address Id: 404281 => Updated with Vin: 1ZVFT82H465186685 ## Mail History Id: 28025818, Consumer Id: 200227, Address Id: 407651 => Updated with Vin: 1ZVFT80N365241216 ## Mail History Id: 28026145, Consumer Id: 154046, Address Id: 396236 => Updated with Vin: 1FAHP24126G141347 ## Mail History Id: 28025992, Consumer Id: 460560, Address Id: 9818749 => Updated with Vin: 1FTWX31P06EA22367 ## Mail History Id: 28025770, Consumer Id: 153852, Address Id: 396061 => Updated with Vin: 1FTWX31P46EC78236 ## Mail History Id: 28025582, Consumer Id: 194760, Address Id: 404824 => Updated with Vin: 1FTPW12506FB21032 ## Mail History Id: 28026189, Consumer Id: 155919, Address Id: 397935 => Updated with Vin: 1FMYU93156KA57092 ## Mail History Id: 28025986, Consumer Id: 154671, Address Id: 396809 => Updated with Vin: 1FMYU93166KD09951 ## Mail History Id: 28026207, Consumer Id: 153632, Address Id: 395865 => Updated with Vin: 1FTPX14576NA85548 ## Mail History Id: 28025640, Consumer Id: 152097, Address Id: 394454 => Updated with Vin: 1FMEU75EX6ZA14723 ## Mail History Id: 28025844, Consumer Id: 154934, Address Id: 397039 => Updated with Vin: 1ZVHT80N475288796 ## Mail History Id: 28025840, Consumer Id: 496211, Address Id: 9830826 => Updated with Vin: 1FAFP56U27A176264 ## Mail History Id: 28025676, Consumer Id: 154370, Address Id: 396538 => Updated with Vin: 1FTSW21P37EB13498 ## Mail History Id: 28025878, Consumer Id: 153760, Address Id: 395975 => Updated with Vin: 1FTRX12W07FA27457 ## Mail History Id: 28025788, Consumer Id: 198787, Address Id: 406881 => Updated with Vin: 1FMFK205X7LA89821 ## Mail History Id: 28025658, Consumer Id: 496212, Address Id: 9830827 => Updated with Vin: 1FMEU73E17UB55309 ## Mail History Id: 28025712, Consumer Id: 198252, Address Id: 404541 => Updated with Vin: 1FMEU63E37UB84613 ## Mail History Id: 28025954, Consumer Id: 155413, Address Id: 397467 => Updated with Vin: 1ZVHT82HX85124865 ## Mail History Id: 28026215, Consumer Id: 155538, Address Id: 397584 => Updated with Vin: 1ZVHT82H485147090 ## Mail History Id: 28025894, Consumer Id: 496228, Address Id: 406199 => Updated with Vin: 1ZVHT80N085151047 ## Mail History Id: 28025790, Consumer Id: 496217, Address Id: 876438 => Updated with Vin: 1FMCU03178KC06479 ## Mail History Id: 28025580, Consumer Id: 155352, Address Id: 397412 => Updated with Vin: 1FMFU20528LA14414 ## Mail History Id: 28025828, Consumer Id: 460761, Address Id: 9819010 => Updated with Vin: 4M2EU37E78UJ00818 ## Mail History Id: 28026191, Consumer Id: 155910, Address Id: 397929 => Updated with Vin: 1FAHP35N38W149098 ## Mail History Id: 28025594, Consumer Id: 496218, Address Id: 9830830 => Updated with Vin: 1FAFP66L9YK115566 ## Mail History Id: 28025798, Consumer Id: 194216, Address Id: 403647 => Updated with Vin: 1FACP44M6NF121865 ## Mail History Id: 28025768, Consumer Id: 190599, Address Id: 399575 => Updated with Vin: 1FTNW21F92EA67589 ## Mail History Id: 28025936, Consumer Id: 496236, Address Id: 9830842 => Updated with Vin: YV1LS5118S2224989 ## Mail History Id: 28025864, Consumer Id: 496214, Address Id: 9830829 => Updated with Vin: 2MELM74W2TX670744 ## Mail History Id: 28025862, Consumer Id: 496225, Address Id: 9830833 => Updated with Vin: 1FTCR10A0VTA32938 ## Mail History Id: 28025778, Consumer Id: 198918, Address Id: 406897 => Updated with Vin: 1LNLM91V3VY603156 ## Mail History Id: 28026133, Consumer Id: 461860, Address Id: 399066 => Updated with Vin: 1LNLM81W3VY654210 ## Mail History Id: 28025622, Consumer Id: 496215, Address Id: 871514 => Updated with Vin: 2FTZX1768WCA56921 ## Mail History Id: 28026227, Consumer Id: 496206, Address Id: 9830822 => Updated with Vin: 2T1BR12E2XC151337 ## Mail History Id: 28025848, Consumer Id: 194880, Address Id: 403497 => Updated with Vin: 1FDXE40SXXHB62945 ## Mail History Id: 28025600, Consumer Id: 496207, Address Id: 9830823 => Updated with Vin: 5LMPU28A2XLJ25384 ## Mail History Id: 28025764, Consumer Id: 496220, Address Id: 6483426 => Updated with Vin: 3FAKP113XXR199755 ## Mail History Id: 28025808, Consumer Id: 496223, Address Id: 9830832 => Updated with Vin: 1FMDU34E3XZA33637 ## Mail History Id: 28025874, Consumer Id: 456732, Address Id: 9815892 => Updated with Vin: WDBJF70J5YA973206 ## Mail History Id: 28025696, Consumer Id: 197390, Address Id: 405800 => Updated with Vin: 1FAFP4046YF163041 ## Total mail_history records updated with vin numbers: 70 out of 80 ============================================================ ====== Tracking Id: 542 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-05 12:15:31') AND us2_order_type_id = 3 ## Order found: 711 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 711 AND product_id = 113 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3427 ## Mailing found: '12341' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026326, Consumer Id: 491097, Address Id: 9827029 => Updated with Vin: 1HGCE6674TA006180 ## Mail History Id: 28026464, Consumer Id: 496833, Address Id: 329529 => Updated with Vin: 1HGCM81633A037028 ## Mail History Id: 28026490, Consumer Id: 510484, Address Id: 9843638 => Updated with Vin: 1HGCF85412A036218 ## Mail History Id: 28026236, Consumer Id: 498572, Address Id: 9832522 => Updated with Vin: 1HGCM56364A044425 ## Mail History Id: 28026253, Consumer Id: 507239, Address Id: 9841566 => Updated with Vin: 1HGCG32781A032227 ## Mail History Id: 28026276, Consumer Id: 492691, Address Id: 9828244 => Updated with Vin: 1HGCG56681A024500 ## Mail History Id: 28026346, Consumer Id: 492229, Address Id: 9827896 => Updated with Vin: 1HGCM56473A008752 ## Mail History Id: 28026262, Consumer Id: 503451, Address Id: 9839015 => Updated with Vin: 5FNRL38755B016656 ## Mail History Id: 28026311, Consumer Id: 471511, Address Id: 9833089 => Updated with Vin: 1HGFA16846L054906 ## Mail History Id: 28026329, Consumer Id: 473993, Address Id: 9834055 => Updated with Vin: 2HGFG12637H510606 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 543 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-05 12:15:51') AND us2_order_type_id = 3 ## Order found: 711 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 711 AND product_id = 114 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3427 ## Mailing found: '12341' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026355, Consumer Id: 502905, Address Id: 9838647 => Updated with Vin: 5FNRL18663B023771 ## Mail History Id: 28026304, Consumer Id: 500244, Address Id: 7552611 => Updated with Vin: 1HGCM568X4A099651 ## Mail History Id: 28026410, Consumer Id: 497174, Address Id: 9831520 => Updated with Vin: 1HGES16593L000933 ## Mail History Id: 28026333, Consumer Id: 500820, Address Id: 9835612 => Updated with Vin: 1HGCG16501A080611 ## Mail History Id: 28026474, Consumer Id: 494638, Address Id: 9829670 => Updated with Vin: 1HGCG1656WA037690 ## Mail History Id: 28026504, Consumer Id: 502906, Address Id: 9838648 => Updated with Vin: 1HGCD7250RA058878 ## Mail History Id: 28026406, Consumer Id: 496293, Address Id: 9830883 => Updated with Vin: JHMCD563XRC001943 ## Mail History Id: 28026466, Consumer Id: 496249, Address Id: 329559 => Updated with Vin: JHMCG6656YC020177 ## Mail History Id: 28026423, Consumer Id: 474493, Address Id: 9835947 => Updated with Vin: 1HGFA16857L042491 ## Total mail_history records updated with vin numbers: 9 out of 11 ============================================================ ====== Tracking Id: 544 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-05 12:15:52') AND us2_order_type_id = 3 ## Order found: 712 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 712 AND product_id = 143 ## Job Group Found: '345' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('345') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708001') AND customer_id = 3471 ## Mailing found: '12339' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026038, Consumer Id: 798007, Address Id: 10211498 => Updated with Vin: 1G6CD53B5P4300845 ## Mail History Id: 28026108, Consumer Id: 798941, Address Id: 4228915 => Updated with Vin: 1G6KF52Y9RU314648 ## Mail History Id: 28025681, Consumer Id: 800725, Address Id: 10217265 => Updated with Vin: 1G6KS54Y81U121470 ## Mail History Id: 28025627, Consumer Id: 801631, Address Id: 10215732 => Updated with Vin: 1GHDX03E6XD261795 ## Mail History Id: 28025745, Consumer Id: 799313, Address Id: 10219266 => Updated with Vin: 1GYEK63N12R292521 ## Mail History Id: 28026214, Consumer Id: 800827, Address Id: 7416621 => Updated with Vin: 1G6KD54Y32U301404 ## Mail History Id: 28025797, Consumer Id: 821346, Address Id: 11876704 => Updated with Vin: 1G6KS54Y44U115413 ## Mail History Id: 28025729, Consumer Id: 806909, Address Id: 11876700 => Updated with Vin: 1GYEK63N35R228209 ## Mail History Id: 28026112, Consumer Id: 817625, Address Id: 7878850 => Updated with Vin: 1GYEK63N73R123296 ## Mail History Id: 28026194, Consumer Id: 823031, Address Id: 11876293 => Updated with Vin: 1GYFK63887R288956 ## Mail History Id: 28026164, Consumer Id: 807026, Address Id: 11876268 => Updated with Vin: 1GYFK63868R198724 ## Mail History Id: 28026204, Consumer Id: 760245, Address Id: 10214287 => Updated with Vin: 1G6DP577870159990 ## Mail History Id: 28025607, Consumer Id: 821500, Address Id: 10215425 => Updated with Vin: 1GYEK63N23R308582 ## Mail History Id: 28026054, Consumer Id: 797825, Address Id: 7415452 => Updated with Vin: 3GYFK66N43G268845 ## Mail History Id: 28026074, Consumer Id: 817728, Address Id: 6525622 => Updated with Vin: 3GYFK66N85G276143 ## Mail History Id: 28026162, Consumer Id: 821681, Address Id: 10214216 => Updated with Vin: 1GHDT13W1V2725983 ## Mail History Id: 28025659, Consumer Id: 823382, Address Id: 10215811 => Updated with Vin: 1HGEM22922L000912 ## Mail History Id: 28026104, Consumer Id: 798195, Address Id: 10212614 => Updated with Vin: 1G6KY5491XU900595 ## Total mail_history records updated with vin numbers: 18 out of 21 ============================================================ ====== Tracking Id: 545 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-05 12:16:04') AND us2_order_type_id = 3 ## Order found: 712 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 712 AND product_id = 112 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3471 ## Mailing found: '12342' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026501, Consumer Id: 803195, Address Id: 11872299 => Updated with Vin: 1G6KS54YXXU911233 ## Mail History Id: 28026481, Consumer Id: 801633, Address Id: 10216765 => Updated with Vin: 1G6KD54Y4XU751635 ## Mail History Id: 28026467, Consumer Id: 799851, Address Id: 7416604 => Updated with Vin: 1GYEK63R6YR217972 ## Mail History Id: 28026427, Consumer Id: 800726, Address Id: 7877939 => Updated with Vin: 1GYEK13R0YR167198 ## Mail History Id: 28026491, Consumer Id: 804773, Address Id: 10218145 => Updated with Vin: 1G6DM577X40147070 ## Mail History Id: 28026439, Consumer Id: 805536, Address Id: 4228144 => Updated with Vin: 1G6KE57Y61U191830 ## Mail History Id: 28026441, Consumer Id: 816763, Address Id: 7878755 => Updated with Vin: 1G6KD54Y04U110123 ## Mail History Id: 28026447, Consumer Id: 816570, Address Id: 7878993 => Updated with Vin: 1G6KS54Y33U247030 ## Mail History Id: 28026483, Consumer Id: 804645, Address Id: 11873037 => Updated with Vin: 1G6KD54Y64U174649 ## Mail History Id: 28026463, Consumer Id: 798464, Address Id: 7416286 => Updated with Vin: 1GYEK63R8YR226480 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 546 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-05 12:16:16') AND us2_order_type_id = 3 ## Order found: 711 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 711 AND product_id = 112 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3427 ## Mailing found: '12341' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026336, Consumer Id: 511270, Address Id: 9826903 => Updated with Vin: 5FNYF18645B052790 ## Mail History Id: 28026372, Consumer Id: 512382, Address Id: 325342 => Updated with Vin: JHMFA36246S004050 ## Mail History Id: 28026374, Consumer Id: 502348, Address Id: 9837412 => Updated with Vin: 1HGCM66524A092964 ## Mail History Id: 28026321, Consumer Id: 506074, Address Id: 9840824 => Updated with Vin: 1HGCD5637RA174933 ## Mail History Id: 28026400, Consumer Id: 502387, Address Id: 9837892 => Updated with Vin: 1HGCM56304A177004 ## Mail History Id: 28026356, Consumer Id: 517094, Address Id: 9847571 => Updated with Vin: 2HNYD18242H508886 ## Mail History Id: 28026341, Consumer Id: 471756, Address Id: 9833214 => Updated with Vin: 1HGFA16526L067675 ## Mail History Id: 28026251, Consumer Id: 515793, Address Id: 9846800 => Updated with Vin: 1HGFA16866L138919 ## Mail History Id: 28026245, Consumer Id: 474389, Address Id: 9835898 => Updated with Vin: 1HGCM82607A003102 ## Mail History Id: 28026337, Consumer Id: 482630, Address Id: 9837243 => Updated with Vin: 2HJYK16527H544684 ## Total mail_history records updated with vin numbers: 10 out of 12 ============================================================ ====== Tracking Id: 547 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-06 08:43:08') AND us2_order_type_id = 3 ## Order found: 720 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 720 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3230 ## Mailing found: '12344' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337461, Consumer Id: 93482, Address Id: 48955 => Updated with Vin: 1FTPW14V78FA14544 ## Mail History Id: 28337465, Consumer Id: 103757, Address Id: 50951 => Updated with Vin: 1FMZU77EX1UC38403 ## Mail History Id: 28337423, Consumer Id: 103753, Address Id: 53823 => Updated with Vin: 1FMZU73E62ZC18241 ## Mail History Id: 28337445, Consumer Id: 103749, Address Id: 53822 => Updated with Vin: 1FMZU70E23UB03638 ## Mail History Id: 28337389, Consumer Id: 93112, Address Id: 51532 => Updated with Vin: 1FTPX14V97FA33205 ## Mail History Id: 28337343, Consumer Id: 92870, Address Id: 51289 => Updated with Vin: 1FAFP34N57W145206 ## Mail History Id: 28337399, Consumer Id: 93480, Address Id: 51969 => Updated with Vin: 1FTPW14V78FA22255 ## Total mail_history records updated with vin numbers: 7 out of 12 ============================================================ ====== Tracking Id: 548 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-06 08:43:21') AND us2_order_type_id = 3 ## Order found: 720 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 720 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3230 ## Mailing found: '12378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785185, Consumer Id: 63826, Address Id: 51857 => Updated with Vin: 1FTNW21P54EA45469 ## Mail History Id: 28785187, Consumer Id: 64894, Address Id: 52058 => Updated with Vin: 1FTNW21LX4ED17236 ## Mail History Id: 28785188, Consumer Id: 224253, Address Id: 52701 => Updated with Vin: 1FMEU63E58UA18921 ## Mail History Id: 28785189, Consumer Id: 224255, Address Id: 48302 => Updated with Vin: 1FDRE14L71HA12079 ## Mail History Id: 28785190, Consumer Id: 63461, Address Id: 48087 => Updated with Vin: 1FAFP53283G236705 ## Mail History Id: 28785191, Consumer Id: 224256, Address Id: 51361 => Updated with Vin: 1B3ES46C6YD730395 ## Mail History Id: 28785192, Consumer Id: 67251, Address Id: 51290 => Updated with Vin: 1LNHM86S24Y603419 ## Mail History Id: 28785193, Consumer Id: 66636, Address Id: 49373 => Updated with Vin: 2FMZA52472BA86034 ## Mail History Id: 28785833, Consumer Id: 461157, Address Id: 53576 => Updated with Vin: 2FMZA52472BA86034 ## Mail History Id: 28785194, Consumer Id: 38557, Address Id: 51672 => Updated with Vin: 1GNCS18X74K108521 ## Mail History Id: 28785195, Consumer Id: 63914, Address Id: 50744 => Updated with Vin: 1FMZU74K04UA26625 ## Mail History Id: 28785196, Consumer Id: 65915, Address Id: 52909 => Updated with Vin: 1FAFP52U93G219186 ## Mail History Id: 28785197, Consumer Id: 65654, Address Id: 50335 => Updated with Vin: 1FTWW31P96EA74020 ## Mail History Id: 28785198, Consumer Id: 66825, Address Id: 47932 => Updated with Vin: 1FAHP36N66W177330 ## Mail History Id: 28785305, Consumer Id: 63222, Address Id: 47842 => Updated with Vin: 1FMSU43F51EA00547 ## Mail History Id: 28785200, Consumer Id: 67076, Address Id: 50510 => Updated with Vin: 1FAFP34N76W156044 ## Mail History Id: 28785201, Consumer Id: 38334, Address Id: 48877 => Updated with Vin: 1FMZK04185GA13478 ## Total mail_history records updated with vin numbers: 17 out of 19 ============================================================ ====== Tracking Id: 549 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-06 10:15:48') AND us2_order_type_id = 3 ## Order found: 721 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 721 AND product_id = 143 ## Job Group Found: '345' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('345') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708001') AND customer_id = 3416 ## Mailing found: '12338' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026089, Consumer Id: 626040, Address Id: 1969906 => Updated with Vin: 1G6KD57Y66U220799 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 550 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-06 11:13:12') AND us2_order_type_id = 3 ## Order found: 722 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 722 AND product_id = 112 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3486 ## Mailing found: '12343' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026377, Consumer Id: 477142, Address Id: 1035042 => Updated with Vin: 3GNEC13T42G209952 ## Mail History Id: 28026405, Consumer Id: 468177, Address Id: 9821920 => Updated with Vin: 3GNDA23D96S594914 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 551 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-06 11:43:10') AND us2_order_type_id = 3 ## Order found: 723 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 723 AND product_id = 142 ## Job Group Found: '345' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('345') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708001') AND customer_id = 3357 ## Mailing found: '12337' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28025914, Consumer Id: 544375, Address Id: 9819597 => Updated with Vin: 2D8GV57256H248044 ## Mail History Id: 28026227, Consumer Id: 496206, Address Id: 9830822 => Updated with Vin: 2T1BR12E2XC151337 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 552 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-06 12:15:24') AND us2_order_type_id = 3 ## Order found: 724 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 724 AND product_id = 112 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3427 ## Mailing found: '12341' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 553 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-06 12:15:36') AND us2_order_type_id = 3 ## Order found: 724 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 724 AND product_id = 113 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3427 ## Mailing found: '12341' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026524, Consumer Id: 516774, Address Id: 7554787 => Updated with Vin: 5FNRL38626B431443 ## Mail History Id: 28026498, Consumer Id: 496647, Address Id: 9831146 => Updated with Vin: 1HGCG1650XA062540 ## Mail History Id: 28026265, Consumer Id: 490714, Address Id: 9826736 => Updated with Vin: JHMES96633S010724 ## Mail History Id: 28026244, Consumer Id: 506499, Address Id: 9841098 => Updated with Vin: 1HGCG16582A016933 ## Mail History Id: 28026318, Consumer Id: 508617, Address Id: 7552741 => Updated with Vin: 5FNRL38415B416087 ## Mail History Id: 28026331, Consumer Id: 501758, Address Id: 8195749 => Updated with Vin: 2HKYF18504H595707 ## Mail History Id: 28026424, Consumer Id: 471770, Address Id: 326719 => Updated with Vin: 1HGFA16566L060051 ## Mail History Id: 28026237, Consumer Id: 498996, Address Id: 7555185 => Updated with Vin: 5FNRL18013B143456 ## Mail History Id: 28026502, Consumer Id: 494500, Address Id: 9829564 => Updated with Vin: 2HKRL18692H566595 ## Mail History Id: 28026283, Consumer Id: 495501, Address Id: 9830325 => Updated with Vin: JHMZE1354YT003210 ## Mail History Id: 28026414, Consumer Id: 509582, Address Id: 9843062 => Updated with Vin: 2HJYK16526H532274 ## Mail History Id: 28026440, Consumer Id: 492163, Address Id: 9827843 => Updated with Vin: JHMEJ6579VS015585 ## Mail History Id: 28026287, Consumer Id: 496710, Address Id: 9831190 => Updated with Vin: 2HGES16553H605299 ## Mail History Id: 28026416, Consumer Id: 510751, Address Id: 9843812 => Updated with Vin: 2HGFG128X6H506150 ## Mail History Id: 28026450, Consumer Id: 495974, Address Id: 328191 => Updated with Vin: JHMES96623S029703 ## Mail History Id: 28026290, Consumer Id: 492430, Address Id: 9828041 => Updated with Vin: 1HGCM82633A028036 ## Mail History Id: 28026256, Consumer Id: 511414, Address Id: 9844222 => Updated with Vin: 1HGCG56631A149615 ## Mail History Id: 28026422, Consumer Id: 517215, Address Id: 326557 => Updated with Vin: 1HGCM665X3A009313 ## Mail History Id: 28026332, Consumer Id: 516046, Address Id: 9846954 => Updated with Vin: 1HGCM56633A146953 ## Mail History Id: 28026418, Consumer Id: 483297, Address Id: 9837778 => Updated with Vin: SHSRD78845U301502 ## Total mail_history records updated with vin numbers: 20 out of 22 ============================================================ ====== Tracking Id: 554 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-06 12:15:37') AND us2_order_type_id = 3 ## Order found: 725 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 725 AND product_id = 143 ## Job Group Found: '345' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('345') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708001') AND customer_id = 3471 ## Mailing found: '12339' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026226, Consumer Id: 760409, Address Id: 11851024 => Updated with Vin: 1GYFK63857R136309 ## Mail History Id: 28025815, Consumer Id: 806998, Address Id: 11876797 => Updated with Vin: 1G6KD54Y33U102564 ## Mail History Id: 28026120, Consumer Id: 803491, Address Id: 7878968 => Updated with Vin: 1G6KS54Y93U101053 ## Mail History Id: 28026180, Consumer Id: 819947, Address Id: 7416027 => Updated with Vin: 1GYEK63N36R102255 ## Mail History Id: 28025603, Consumer Id: 797999, Address Id: 10215341 => Updated with Vin: 1G6KD54Y83U270300 ## Mail History Id: 28025757, Consumer Id: 800237, Address Id: 10220482 => Updated with Vin: 1G6EL12Y0XU608760 ## Mail History Id: 28026178, Consumer Id: 805714, Address Id: 6528431 => Updated with Vin: 1G6KS54Y71U284191 ## Mail History Id: 28025661, Consumer Id: 802346, Address Id: 10216649 => Updated with Vin: 1G6DM57N230150557 ## Mail History Id: 28026072, Consumer Id: 760421, Address Id: 7878512 => Updated with Vin: 1G6KF57911U289203 ## Mail History Id: 28025811, Consumer Id: 760339, Address Id: 11850999 => Updated with Vin: 1G6KY5498YU210683 ## Mail History Id: 28025631, Consumer Id: 817783, Address Id: 10216007 => Updated with Vin: 1GYEK63N12R245988 ## Mail History Id: 28026220, Consumer Id: 760517, Address Id: 7416722 => Updated with Vin: 1G6KD57Y66U167523 ## Mail History Id: 28025787, Consumer Id: 819909, Address Id: 11876627 => Updated with Vin: 1G6KS54Y82U183517 ## Mail History Id: 28025819, Consumer Id: 820821, Address Id: 11876811 => Updated with Vin: 1G6DW677560145679 ## Mail History Id: 28025607, Consumer Id: 820768, Address Id: 10215425 => Updated with Vin: 3GYFK66N85G184191 ## Mail History Id: 28025589, Consumer Id: 821722, Address Id: 10214768 => Updated with Vin: 1G6KS54Y82U264923 ## Mail History Id: 28025613, Consumer Id: 760497, Address Id: 10215532 => Updated with Vin: 3GYFK66N25G169461 ## Mail History Id: 28025581, Consumer Id: 806993, Address Id: 10214678 => Updated with Vin: 1G6DN56S650199476 ## Mail History Id: 28025749, Consumer Id: 773120, Address Id: 11874301 => Updated with Vin: 1GYFK638X7R409180 ## Mail History Id: 28026098, Consumer Id: 760516, Address Id: 6527188 => Updated with Vin: 1GYFK63837R137345 ## Mail History Id: 28025737, Consumer Id: 806922, Address Id: 11876864 => Updated with Vin: 2G2WC54C551328646 ## Mail History Id: 28026140, Consumer Id: 807037, Address Id: 7415572 => Updated with Vin: 1GYDE63A540125733 ## Mail History Id: 28025767, Consumer Id: 806914, Address Id: 11876863 => Updated with Vin: WBADM6343YGU27518 ## Mail History Id: 28025575, Consumer Id: 806923, Address Id: 10561183 => Updated with Vin: 1G6DM57N830170294 ## Mail History Id: 28026156, Consumer Id: 806918, Address Id: 11876319 => Updated with Vin: 3GYEK62N25G179490 ## Mail History Id: 28026122, Consumer Id: 807006, Address Id: 11876891 => Updated with Vin: 1FTPW14554KC82042 ## Mail History Id: 28025611, Consumer Id: 760408, Address Id: 10215529 => Updated with Vin: 1G6KF57993U151279 ## Mail History Id: 28025723, Consumer Id: 821995, Address Id: 10218298 => Updated with Vin: 1G6DW677670137219 ## Total mail_history records updated with vin numbers: 28 out of 32 ============================================================ ====== Tracking Id: 555 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-06 12:15:48') AND us2_order_type_id = 3 ## Order found: 725 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 725 AND product_id = 112 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3471 ## Mailing found: '12342' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026457, Consumer Id: 804040, Address Id: 7416198 => Updated with Vin: 1G6KD54Y31U192165 ## Mail History Id: 28026431, Consumer Id: 822138, Address Id: 7878186 => Updated with Vin: 1G6DM57N230135444 ## Mail History Id: 28026473, Consumer Id: 805585, Address Id: 7416855 => Updated with Vin: 1GYEE63AX40162832 ## Mail History Id: 28026459, Consumer Id: 806241, Address Id: 7416207 => Updated with Vin: 1G3NL52F23C203342 ## Mail History Id: 28026507, Consumer Id: 820854, Address Id: 11876753 => Updated with Vin: 1GYFK63887R131895 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 556 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-06 12:16:00') AND us2_order_type_id = 3 ## Order found: 724 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 724 AND product_id = 114 ## Job Group Found: '346' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('346') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm070708003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm070708003') AND customer_id = 3427 ## Mailing found: '12341' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28026486, Consumer Id: 501408, Address Id: 9836283 => Updated with Vin: 5FNRL18534B065498 ## Mail History Id: 28026281, Consumer Id: 499699, Address Id: 8540221 => Updated with Vin: 1HGES26714L016410 ## Mail History Id: 28026367, Consumer Id: 507398, Address Id: 9841666 => Updated with Vin: 2HGEJ2227SH514571 ## Mail History Id: 28026317, Consumer Id: 494316, Address Id: 9829423 => Updated with Vin: 1HGES16581L050705 ## Mail History Id: 28026446, Consumer Id: 495035, Address Id: 328062 => Updated with Vin: 5J6YH285X3L032958 ## Mail History Id: 28026315, Consumer Id: 516027, Address Id: 8540306 => Updated with Vin: 19UUA662X5A026554 ## Mail History Id: 28026338, Consumer Id: 495664, Address Id: 9830443 => Updated with Vin: 2HKYF18103H615160 ## Mail History Id: 28026384, Consumer Id: 491814, Address Id: 9827588 => Updated with Vin: 1HGEG8549RL058861 ## Mail History Id: 28026279, Consumer Id: 502038, Address Id: 9836827 => Updated with Vin: 1HGCG314XYA016578 ## Mail History Id: 28026362, Consumer Id: 493207, Address Id: 9828621 => Updated with Vin: 2HGES26741H570050 ## Mail History Id: 28026530, Consumer Id: 499018, Address Id: 9832843 => Updated with Vin: 1HGEJ6672WL029079 ## Mail History Id: 28026271, Consumer Id: 474126, Address Id: 9835438 => Updated with Vin: 1HGCM71613A030007 ## Total mail_history records updated with vin numbers: 12 out of 12 ============================================================ ====== Tracking Id: 557 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-07 08:43:16') AND us2_order_type_id = 3 ## Order found: 733 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 733 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3230 ## Mailing found: '12344' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337431, Consumer Id: 103754, Address Id: 53824 => Updated with Vin: 3FAFP08186R107900 ## Mail History Id: 28337361, Consumer Id: 92342, Address Id: 50389 => Updated with Vin: 3FAFP07Z66R152292 ## Mail History Id: 28337335, Consumer Id: 38281, Address Id: 48838 => Updated with Vin: 1FTWW33P45EB62372 ## Mail History Id: 28337365, Consumer Id: 66980, Address Id: 50606 => Updated with Vin: 1FMZK02176GA49845 ## Mail History Id: 28337459, Consumer Id: 92891, Address Id: 49138 => Updated with Vin: 1FTPW14V27KC27276 ## Mail History Id: 28337371, Consumer Id: 93487, Address Id: 51972 => Updated with Vin: 1FMEU63E47UB73121 ## Mail History Id: 28337363, Consumer Id: 103756, Address Id: 53825 => Updated with Vin: 1FAFP34N97W278230 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 558 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-07 08:43:28') AND us2_order_type_id = 3 ## Order found: 733 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 733 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3230 ## Mailing found: '12378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785279, Consumer Id: 67616, Address Id: 50610 => Updated with Vin: 1FTSX21PX6ED12348 ## Mail History Id: 28785703, Consumer Id: 66170, Address Id: 49949 => Updated with Vin: 1LNHM81W6XY680342 ## Mail History Id: 28785281, Consumer Id: 1005216, Address Id: 51387 => Updated with Vin: 1FTPW14524KC45868 ## Mail History Id: 28785282, Consumer Id: 92645, Address Id: 51040 => Updated with Vin: 1FAHP24127G132486 ## Mail History Id: 28785283, Consumer Id: 63908, Address Id: 48341 => Updated with Vin: 2FMZA51402BA70405 ## Mail History Id: 28785284, Consumer Id: 65180, Address Id: 49504 => Updated with Vin: 1FTPX12565FA95628 ## Mail History Id: 28785285, Consumer Id: 63011, Address Id: 48907 => Updated with Vin: 1FTNW21PX3EB79666 ## Mail History Id: 28786001, Consumer Id: 91836, Address Id: 50468 => Updated with Vin: 1FAFP34P13W155307 ## Mail History Id: 28785288, Consumer Id: 92962, Address Id: 51391 => Updated with Vin: 1FAFP31NX7W240574 ## Mail History Id: 28785289, Consumer Id: 224924, Address Id: 47897 => Updated with Vin: 1MEHM42W78G604274 ## Mail History Id: 28785290, Consumer Id: 65340, Address Id: 47782 => Updated with Vin: 1FMZU75K03UB62525 ## Mail History Id: 28785291, Consumer Id: 64568, Address Id: 47235 => Updated with Vin: 1FTRW08LX2KA71945 ## Mail History Id: 28785292, Consumer Id: 103665, Address Id: 53779 => Updated with Vin: 1D7HW28K47S144545 ## Mail History Id: 28785293, Consumer Id: 64465, Address Id: 48130 => Updated with Vin: 1FTSX31F51ED71507 ## Mail History Id: 28785294, Consumer Id: 62870, Address Id: 47496 => Updated with Vin: 1FTSX31FX1EB64868 ## Mail History Id: 28785295, Consumer Id: 103353, Address Id: 53641 => Updated with Vin: 1LNLM97VXTY733780 ## Mail History Id: 28785925, Consumer Id: 92554, Address Id: 49412 => Updated with Vin: 1FAFP34N86W204778 ## Mail History Id: 28785297, Consumer Id: 67065, Address Id: 51141 => Updated with Vin: 1FTPW14586FB23673 ## Mail History Id: 28785298, Consumer Id: 92548, Address Id: 48631 => Updated with Vin: 1FAFP34N86W160748 ## Mail History Id: 28785299, Consumer Id: 64626, Address Id: 49441 => Updated with Vin: 1FMZK06195GA59348 ## Mail History Id: 28785300, Consumer Id: 66775, Address Id: 52017 => Updated with Vin: 1FTPW14516FA93190 ## Mail History Id: 28785301, Consumer Id: 38595, Address Id: 51524 => Updated with Vin: 3C4FY48B83T632011 ## Mail History Id: 28785302, Consumer Id: 93300, Address Id: 50394 => Updated with Vin: 1FTPW14V47FB50452 ## Mail History Id: 28785303, Consumer Id: 64472, Address Id: 51248 => Updated with Vin: 1FTPW14544KB78478 ## Mail History Id: 28785304, Consumer Id: 67376, Address Id: 49955 => Updated with Vin: 1FTPW14594KD18699 ## Mail History Id: 28785305, Consumer Id: 62937, Address Id: 47842 => Updated with Vin: 1FTNX21F91EA98983 ## Mail History Id: 28785306, Consumer Id: 93579, Address Id: 66954 => Updated with Vin: 1FAFP28126G113033 ## Mail History Id: 28785307, Consumer Id: 65553, Address Id: 47389 => Updated with Vin: 1FTNW21F5YEB76673 ## Mail History Id: 28785308, Consumer Id: 93083, Address Id: 51513 => Updated with Vin: 1FTWW31R88EA94988 ## Mail History Id: 28785309, Consumer Id: 103053, Address Id: 53510 => Updated with Vin: 1FTSX31FXXED26720 ## Mail History Id: 28785310, Consumer Id: 1783819, Address Id: 15499644 => Updated with Vin: 1FAHP24187G134176 ## Total mail_history records updated with vin numbers: 31 out of 34 ============================================================ ====== Tracking Id: 559 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-07 10:15:29') AND us2_order_type_id = 3 ## Order found: 734 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 734 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3416 ## Mailing found: '12380' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785451, Consumer Id: 627125, Address Id: 1969100 => Updated with Vin: 1G6KF5791YU350530 ## Mail History Id: 28785452, Consumer Id: 625508, Address Id: 7431045 => Updated with Vin: 1G6KE54Y92U129571 ## Mail History Id: 28785453, Consumer Id: 625703, Address Id: 11764712 => Updated with Vin: 1GYEE637050120157 ## Mail History Id: 28785950, Consumer Id: 627104, Address Id: 11764711 => Updated with Vin: 1G2MG35X47Y137012 ## Mail History Id: 28785455, Consumer Id: 627113, Address Id: 11764716 => Updated with Vin: 6MMAP67P42T001004 ## Mail History Id: 28785456, Consumer Id: 625938, Address Id: 4801239 => Updated with Vin: 2CNDL63F676111130 ## Mail History Id: 28785457, Consumer Id: 627080, Address Id: 3761440 => Updated with Vin: KNAGE123275096589 ## Mail History Id: 28785458, Consumer Id: 627090, Address Id: 11764700 => Updated with Vin: 1NXBR32E33Z152341 ## Mail History Id: 28785459, Consumer Id: 626014, Address Id: 11764696 => Updated with Vin: 5GTEN13EX88199844 ## Mail History Id: 28785460, Consumer Id: 626032, Address Id: 11764681 => Updated with Vin: 5GTEN13E988202782 ## Mail History Id: 28785461, Consumer Id: 626022, Address Id: 11764687 => Updated with Vin: 1G6DT57V980188149 ## Mail History Id: 28785462, Consumer Id: 626023, Address Id: 11764683 => Updated with Vin: 1G6DT57V380186574 ## Mail History Id: 28785463, Consumer Id: 626027, Address Id: 11764684 => Updated with Vin: 1G6DG577980188285 ## Mail History Id: 28785464, Consumer Id: 626047, Address Id: 11764709 => Updated with Vin: 1G6DT57V380187398 ## Mail History Id: 28785465, Consumer Id: 626049, Address Id: 11764717 => Updated with Vin: 1G6DF577X80182823 ## Mail History Id: 28785952, Consumer Id: 623655, Address Id: 2756395 => Updated with Vin: 1G6KD54Y35U160256 ## Mail History Id: 28785467, Consumer Id: 626046, Address Id: 11764685 => Updated with Vin: 1G6DT57V280187344 ## Mail History Id: 28785957, Consumer Id: 627105, Address Id: 11764706 => Updated with Vin: 1G2WP52K8YF156818 ## Mail History Id: 28785469, Consumer Id: 627081, Address Id: 11764697 => Updated with Vin: 1G6KD57YX6U117515 ## Mail History Id: 28785470, Consumer Id: 627075, Address Id: 1961075 => Updated with Vin: 3GYFK66N34G310729 ## Mail History Id: 28785471, Consumer Id: 627077, Address Id: 1966306 => Updated with Vin: 1G6YV34A745602186 ## Mail History Id: 28785472, Consumer Id: 627084, Address Id: 1969825 => Updated with Vin: 5GTDN136768234826 ## Mail History Id: 28785473, Consumer Id: 627140, Address Id: 11764727 => Updated with Vin: 5GTDN136968183605 ## Mail History Id: 28785474, Consumer Id: 627110, Address Id: 1968880 => Updated with Vin: 1G6KE54Y55U121987 ## Mail History Id: 28785475, Consumer Id: 627115, Address Id: 1959341 => Updated with Vin: 1G6KF57923U260182 ## Mail History Id: 28785476, Consumer Id: 627092, Address Id: 1969745 => Updated with Vin: 1G6DM57T460117708 ## Mail History Id: 28785477, Consumer Id: 627100, Address Id: 1962152 => Updated with Vin: 1GYFK63837R203733 ## Mail History Id: 28785478, Consumer Id: 627132, Address Id: 1960187 => Updated with Vin: 1G6KD54Y95U149603 ## Mail History Id: 28786154, Consumer Id: 627127, Address Id: 11764675 => Updated with Vin: 5GRGN22U06H101673 ## Mail History Id: 28785480, Consumer Id: 627116, Address Id: 11764719 => Updated with Vin: 1G6DP567350192412 ## Mail History Id: 28785481, Consumer Id: 627079, Address Id: 1962670 => Updated with Vin: 1GYEK63N73R164592 ## Mail History Id: 28785482, Consumer Id: 627088, Address Id: 1970131 => Updated with Vin: 1GYFK66827R226688 ## Mail History Id: 28785483, Consumer Id: 627112, Address Id: 8337582 => Updated with Vin: 1G6KD54Y73U115835 ## Mail History Id: 28785484, Consumer Id: 625825, Address Id: 11764708 => Updated with Vin: 1G6KD57Y78U161510 ## Mail History Id: 28785485, Consumer Id: 627069, Address Id: 11764690 => Updated with Vin: 5GTDN136268108955 ## Mail History Id: 28785486, Consumer Id: 627095, Address Id: 11764703 => Updated with Vin: 5GTDN136868132130 ## Mail History Id: 28785487, Consumer Id: 627136, Address Id: 8335989 => Updated with Vin: 1G6DP577160113612 ## Mail History Id: 28785488, Consumer Id: 627091, Address Id: 11764701 => Updated with Vin: 5GTDN136968134615 ## Mail History Id: 28785489, Consumer Id: 627083, Address Id: 11764698 => Updated with Vin: 5GTDN13E078123429 ## Mail History Id: 28786172, Consumer Id: 625956, Address Id: 10933689 => Updated with Vin: 5GTEN13E988180704 ## Mail History Id: 28785491, Consumer Id: 627093, Address Id: 3750928 => Updated with Vin: 1G6DP577960135468 ## Mail History Id: 28785492, Consumer Id: 627086, Address Id: 11580980 => Updated with Vin: 2G2WR524941110279 ## Mail History Id: 28785981, Consumer Id: 626045, Address Id: 11764691 => Updated with Vin: 5GTEN13EX88177083 ## Mail History Id: 28785494, Consumer Id: 625721, Address Id: 11764692 => Updated with Vin: 5GTEN13E788135230 ## Mail History Id: 28785495, Consumer Id: 627076, Address Id: 11764695 => Updated with Vin: 1G6DP577X60162307 ## Mail History Id: 28785496, Consumer Id: 627072, Address Id: 6882147 => Updated with Vin: 5GTDN13E578165160 ## Mail History Id: 28785497, Consumer Id: 625419, Address Id: 11764714 => Updated with Vin: 1G6DM57T670177863 ## Total mail_history records updated with vin numbers: 47 out of 50 ============================================================ ====== Tracking Id: 560 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-07 11:13:14') AND us2_order_type_id = 3 ## Order found: 735 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 735 AND product_id = 112 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3486 ## Mailing found: '12348' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337313, Consumer Id: 477542, Address Id: 1563786 => Updated with Vin: 1GCGK13UX2F246261 ## Mail History Id: 28337309, Consumer Id: 465221, Address Id: 1036875 => Updated with Vin: 1GNEC13Z84J297863 ## Mail History Id: 28337327, Consumer Id: 476095, Address Id: 9823691 => Updated with Vin: 3GKEK18R3TG505754 ## Mail History Id: 28337311, Consumer Id: 477314, Address Id: 9823947 => Updated with Vin: 1G1BL52P2TR151129 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 561 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-07-07 11:38:17') AND us2_order_type_id = 3 ## Order found: 736 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '10' AND store_id = 2 ## Product Id found: 60 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 736 AND product_id = 60 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 562 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-07 11:43:14') AND us2_order_type_id = 3 ## Order found: 737 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 737 AND product_id = 142 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3357 ## Mailing found: '12379' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28786025, Consumer Id: 436375, Address Id: 404886 => Updated with Vin: JM3TB28V880126807 ## Mail History Id: 28785548, Consumer Id: 584304, Address Id: 407787 => Updated with Vin: 4C3AG52H51E132582 ## Mail History Id: 28785549, Consumer Id: 188850, Address Id: 397490 => Updated with Vin: 1FTSW31F62EC01581 ## Mail History Id: 28785550, Consumer Id: 191560, Address Id: 401722 => Updated with Vin: 1FMZU67E73UA40133 ## Mail History Id: 28785551, Consumer Id: 187484, Address Id: 398377 => Updated with Vin: 1FAFP42X33F344758 ## Mail History Id: 28785552, Consumer Id: 187891, Address Id: 399075 => Updated with Vin: 1FAFP24185G110965 ## Mail History Id: 28785553, Consumer Id: 190509, Address Id: 401357 => Updated with Vin: 1FMDK05135GA37518 ## Mail History Id: 28785554, Consumer Id: 191576, Address Id: 401723 => Updated with Vin: 1YVGF22C325292551 ## Mail History Id: 28785555, Consumer Id: 496231, Address Id: 879392 => Updated with Vin: 1FTNW21F52ED47669 ## Mail History Id: 28785556, Consumer Id: 198197, Address Id: 405656 => Updated with Vin: 1FMSU43F22ED63924 ## Mail History Id: 28785557, Consumer Id: 195808, Address Id: 396520 => Updated with Vin: 3FAFP31352R141073 ## Mail History Id: 28785558, Consumer Id: 194917, Address Id: 404835 => Updated with Vin: 1LNLM81W2VY735649 ## Mail History Id: 28785559, Consumer Id: 584294, Address Id: 11374105 => Updated with Vin: 1FAHP38382W198783 ## Mail History Id: 28785560, Consumer Id: 435556, Address Id: 6902297 => Updated with Vin: 1FAFP406X4F167542 ## Mail History Id: 28785561, Consumer Id: 197840, Address Id: 402677 => Updated with Vin: 5LMFU27R74LJ15710 ## Mail History Id: 28785562, Consumer Id: 461217, Address Id: 9819194 => Updated with Vin: 1LNLM81W4NY687619 ## Mail History Id: 28785563, Consumer Id: 195327, Address Id: 395899 => Updated with Vin: 1D7HL48N74S584690 ## Mail History Id: 28785565, Consumer Id: 151583, Address Id: 393974 => Updated with Vin: 1FTPW12525KC77031 ## Mail History Id: 28785566, Consumer Id: 151821, Address Id: 394195 => Updated with Vin: 1FMDU74W85UA06783 ## Mail History Id: 28785567, Consumer Id: 152332, Address Id: 394668 => Updated with Vin: JM1BK144161452886 ## Mail History Id: 28785569, Consumer Id: 194914, Address Id: 403952 => Updated with Vin: 1ZVFT84NX65122170 ## Mail History Id: 28785570, Consumer Id: 584296, Address Id: 11374107 => Updated with Vin: 1ZVHT82H065150713 ## Mail History Id: 28786190, Consumer Id: 152601, Address Id: 394921 => Updated with Vin: 1ZVHT85H565194718 ## Mail History Id: 28785572, Consumer Id: 152806, Address Id: 395109 => Updated with Vin: 1FMYU96H06KC56043 ## Mail History Id: 28785573, Consumer Id: 197144, Address Id: 404797 => Updated with Vin: 1FTPW14566KD72660 ## Mail History Id: 28785574, Consumer Id: 154006, Address Id: 396196 => Updated with Vin: 1FTPW12536KD96949 ## Mail History Id: 28785575, Consumer Id: 153560, Address Id: 395797 => Updated with Vin: 1FMEU63E36UA69699 ## Mail History Id: 28785576, Consumer Id: 195812, Address Id: 405256 => Updated with Vin: 1ZVHT80N275324372 ## Mail History Id: 28786045, Consumer Id: 544371, Address Id: 10413558 => Updated with Vin: 1ZVFT80N175324502 ## Mail History Id: 28786202, Consumer Id: 199773, Address Id: 399112 => Updated with Vin: 1FTSX20R78EA78689 ## Mail History Id: 28785579, Consumer Id: 197302, Address Id: 401688 => Updated with Vin: 2FMDK38CX7BA95540 ## Mail History Id: 28785580, Consumer Id: 584293, Address Id: 11374104 => Updated with Vin: 1FTWW33PX7EA05190 ## Mail History Id: 28785581, Consumer Id: 461229, Address Id: 9819201 => Updated with Vin: 1FTPW14517FA34092 ## Mail History Id: 28785582, Consumer Id: 584299, Address Id: 11374110 => Updated with Vin: 3FAHP07Z07R159510 ## Mail History Id: 28785583, Consumer Id: 187358, Address Id: 398324 => Updated with Vin: 3FAFP37362R166216 ## Mail History Id: 28785584, Consumer Id: 584302, Address Id: 446137 => Updated with Vin: 3MEHM08Z08R648149 ## Mail History Id: 28785585, Consumer Id: 584295, Address Id: 405631 => Updated with Vin: 1LNLM91V3SY761248 ## Mail History Id: 28785586, Consumer Id: 584298, Address Id: 11374109 => Updated with Vin: 2FALP74W7RX120561 ## Mail History Id: 28785587, Consumer Id: 198928, Address Id: 407082 => Updated with Vin: 1FDRE14W5XHB34832 ## Mail History Id: 28785588, Consumer Id: 584297, Address Id: 11374108 => Updated with Vin: 1MEFM66L9XK636836 ## Mail History Id: 28785589, Consumer Id: 496220, Address Id: 6483426 => Updated with Vin: 3FAKP113XXR199755 ## Total mail_history records updated with vin numbers: 41 out of 46 ============================================================ ====== Tracking Id: 563 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3475 AND DATE(cart_created_date) = DATE('2008-07-07 11:49:52') AND us2_order_type_id = 3 ## Order found: 739 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '10' AND store_id = 2 ## Product Id found: 60 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 739 AND product_id = 60 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 564 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3475 AND DATE(cart_created_date) = DATE('2008-07-07 11:56:00') AND us2_order_type_id = 3 ## Order found: 739 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '10' AND store_id = 2 ## Product Id found: 60 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 739 AND product_id = 60 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 565 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-07 12:15:27') AND us2_order_type_id = 3 ## Order found: 740 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 740 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3427 ## Mailing found: '12346' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337302, Consumer Id: 498710, Address Id: 9832620 => Updated with Vin: 1HGCM56473A026202 ## Mail History Id: 28337216, Consumer Id: 497805, Address Id: 9831975 => Updated with Vin: 1HGCG224XWA002010 ## Mail History Id: 28337198, Consumer Id: 512941, Address Id: 9828800 => Updated with Vin: JHLRD78935C064632 ## Mail History Id: 28337199, Consumer Id: 497205, Address Id: 9831544 => Updated with Vin: 5FNRL18004B015632 ## Mail History Id: 28337336, Consumer Id: 503886, Address Id: 325224 => Updated with Vin: 2HGES16591H590643 ## Mail History Id: 28337274, Consumer Id: 499293, Address Id: 9833353 => Updated with Vin: 1HGEM22902L027803 ## Mail History Id: 28337558, Consumer Id: 492429, Address Id: 9828040 => Updated with Vin: 1HGCG56462A048228 ## Mail History Id: 28337392, Consumer Id: 499399, Address Id: 327407 => Updated with Vin: 5FNRL18742B037157 ## Mail History Id: 28337388, Consumer Id: 507282, Address Id: 327376 => Updated with Vin: 1HGCM56805A110044 ## Mail History Id: 28337530, Consumer Id: 492041, Address Id: 9827753 => Updated with Vin: 2HKRL18602H528463 ## Mail History Id: 28337434, Consumer Id: 494039, Address Id: 328995 => Updated with Vin: 1HGEM21943L062573 ## Mail History Id: 28337474, Consumer Id: 495987, Address Id: 330326 => Updated with Vin: 2HKYF184X3H520891 ## Mail History Id: 28337414, Consumer Id: 513939, Address Id: 328544 => Updated with Vin: 1HGCM71676A002216 ## Total mail_history records updated with vin numbers: 13 out of 13 ============================================================ ====== Tracking Id: 566 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-07 12:15:39') AND us2_order_type_id = 3 ## Order found: 740 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 740 AND product_id = 112 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3427 ## Mailing found: '12346' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337263, Consumer Id: 496400, Address Id: 9830955 => Updated with Vin: 2HKYF18624H505417 ## Mail History Id: 28337218, Consumer Id: 493189, Address Id: 9828612 => Updated with Vin: JHMRA3867WC014305 ## Mail History Id: 28337201, Consumer Id: 491971, Address Id: 9827702 => Updated with Vin: 1HGES16571L067897 ## Mail History Id: 28337332, Consumer Id: 505722, Address Id: 325110 => Updated with Vin: JHMES96625S011737 ## Mail History Id: 28337259, Consumer Id: 510840, Address Id: 9843863 => Updated with Vin: JHMES96665S021042 ## Mail History Id: 28337265, Consumer Id: 501328, Address Id: 9836234 => Updated with Vin: 1HGCM56394A117514 ## Mail History Id: 28337310, Consumer Id: 495969, Address Id: 9829226 => Updated with Vin: 1HGCM66583A035280 ## Mail History Id: 28337518, Consumer Id: 496258, Address Id: 7554118 => Updated with Vin: 2HKRL1865YH533392 ## Mail History Id: 28337374, Consumer Id: 511597, Address Id: 326704 => Updated with Vin: 2HGFG12866H507215 ## Mail History Id: 28337235, Consumer Id: 497910, Address Id: 9832051 => Updated with Vin: 5FNRL18672B036155 ## Mail History Id: 28337248, Consumer Id: 507872, Address Id: 7552131 => Updated with Vin: 1HGCG6689YA013684 ## Mail History Id: 28337458, Consumer Id: 512426, Address Id: 329854 => Updated with Vin: 2HGFG128X6H528519 ## Mail History Id: 28337320, Consumer Id: 507868, Address Id: 9841976 => Updated with Vin: 2HKRL186XXH537694 ## Mail History Id: 28337312, Consumer Id: 492131, Address Id: 9827824 => Updated with Vin: JHLRD1864XC043133 ## Mail History Id: 28337520, Consumer Id: 498328, Address Id: 9832343 => Updated with Vin: JHLRD186XXC069056 ## Mail History Id: 28337538, Consumer Id: 511511, Address Id: 9844279 => Updated with Vin: 5FNRL18002B049583 ## Mail History Id: 28337492, Consumer Id: 491841, Address Id: 9827607 => Updated with Vin: JHMES96603S003259 ## Mail History Id: 28337480, Consumer Id: 513965, Address Id: 9845718 => Updated with Vin: JHMES96614S009265 ## Mail History Id: 28337215, Consumer Id: 515465, Address Id: 9846594 => Updated with Vin: JHMCN36535C012425 ## Mail History Id: 28337432, Consumer Id: 472059, Address Id: 328856 => Updated with Vin: 5FNRL38786B433965 ## Mail History Id: 28337261, Consumer Id: 472724, Address Id: 9834368 => Updated with Vin: 1HGCM66836A057170 ## Mail History Id: 28337272, Consumer Id: 473206, Address Id: 9834624 => Updated with Vin: SHSRD78846U425500 ## Mail History Id: 28337243, Consumer Id: 473610, Address Id: 9835162 => Updated with Vin: SHSRD78886U413026 ## Mail History Id: 28337528, Consumer Id: 474636, Address Id: 7554477 => Updated with Vin: JHLRE48517C050045 ## Mail History Id: 28337254, Consumer Id: 474935, Address Id: 7552252 => Updated with Vin: 5FNYF181X7B013676 ## Mail History Id: 28337225, Consumer Id: 474638, Address Id: 9836014 => Updated with Vin: 2HGFG12837H539475 ## Mail History Id: 28337464, Consumer Id: 482981, Address Id: 329969 => Updated with Vin: 1HGCM82675A000694 ## Total mail_history records updated with vin numbers: 27 out of 28 ============================================================ ====== Tracking Id: 567 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-07 12:15:40') AND us2_order_type_id = 3 ## Order found: 741 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 741 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3471 ## Mailing found: '12381' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785605, Consumer Id: 801628, Address Id: 7415578 => Updated with Vin: 1G6KS54YX2U234791 ## Mail History Id: 28785606, Consumer Id: 798194, Address Id: 10211290 => Updated with Vin: 1G6KD52Y6VU225474 ## Mail History Id: 28785607, Consumer Id: 800123, Address Id: 10216278 => Updated with Vin: 1G6KE57Y81U174026 ## Mail History Id: 28785608, Consumer Id: 806587, Address Id: 10215884 => Updated with Vin: 1G6EL12Y3RU624860 ## Mail History Id: 28785609, Consumer Id: 802490, Address Id: 10215309 => Updated with Vin: 1G6KE54Y3YU256924 ## Mail History Id: 28785610, Consumer Id: 816597, Address Id: 11869632 => Updated with Vin: 1GYEE63A350187962 ## Mail History Id: 28785611, Consumer Id: 801169, Address Id: 10215899 => Updated with Vin: 1G6KE54Y9XU804262 ## Mail History Id: 28785612, Consumer Id: 806328, Address Id: 10217077 => Updated with Vin: 1G6ET1298YU176624 ## Mail History Id: 28785613, Consumer Id: 800351, Address Id: 10215767 => Updated with Vin: 1G6DM57N430124252 ## Mail History Id: 28785614, Consumer Id: 799093, Address Id: 11870188 => Updated with Vin: 1G6KD54Y11U186476 ## Mail History Id: 28785615, Consumer Id: 805968, Address Id: 7878971 => Updated with Vin: 1G6KY54942U168262 ## Mail History Id: 28785616, Consumer Id: 799387, Address Id: 10214636 => Updated with Vin: 1G6KD54Y41U141709 ## Mail History Id: 28785617, Consumer Id: 820578, Address Id: 7415612 => Updated with Vin: 1GYEE637150216413 ## Mail History Id: 28785618, Consumer Id: 803500, Address Id: 11872454 => Updated with Vin: 1G6ET1294XU608222 ## Mail History Id: 28785619, Consumer Id: 800957, Address Id: 7416656 => Updated with Vin: 1G6KY5495YU310787 ## Mail History Id: 28785620, Consumer Id: 802406, Address Id: 7878467 => Updated with Vin: 1G6DM57N930148434 ## Mail History Id: 28785621, Consumer Id: 760366, Address Id: 7416524 => Updated with Vin: 1GYEK63N53R226264 ## Mail History Id: 28785622, Consumer Id: 804435, Address Id: 7416616 => Updated with Vin: 1G6KY54913U229505 ## Mail History Id: 28785623, Consumer Id: 804947, Address Id: 7415525 => Updated with Vin: 1GYEK63N53R126715 ## Mail History Id: 28785624, Consumer Id: 807998, Address Id: 7878351 => Updated with Vin: 1G6EC12912B106675 ## Mail History Id: 28785625, Consumer Id: 822953, Address Id: 10215634 => Updated with Vin: 3GYFK66N54G128790 ## Mail History Id: 28785626, Consumer Id: 818324, Address Id: 11871444 => Updated with Vin: 1GYEE637050235003 ## Mail History Id: 28785627, Consumer Id: 821271, Address Id: 11877645 => Updated with Vin: 1G6YV36A365603562 ## Mail History Id: 28785628, Consumer Id: 823074, Address Id: 11876462 => Updated with Vin: 1G6DP577970117408 ## Mail History Id: 28785629, Consumer Id: 821969, Address Id: 10562924 => Updated with Vin: 1GYFK63887R261269 ## Mail History Id: 28785631, Consumer Id: 760525, Address Id: 7416226 => Updated with Vin: 1GYEE637350213755 ## Mail History Id: 28785632, Consumer Id: 816837, Address Id: 7416217 => Updated with Vin: 3GYFK66N15G167863 ## Mail History Id: 28785633, Consumer Id: 821076, Address Id: 11876364 => Updated with Vin: 1GYFK63897R183164 ## Mail History Id: 28785634, Consumer Id: 822117, Address Id: 11876655 => Updated with Vin: 1GYFK66837R290206 ## Mail History Id: 28785635, Consumer Id: 822734, Address Id: 7878648 => Updated with Vin: 1GYEK63N42R218249 ## Mail History Id: 28785636, Consumer Id: 760516, Address Id: 6527188 => Updated with Vin: 1GYFK63837R137345 ## Mail History Id: 28785892, Consumer Id: 807037, Address Id: 7415572 => Updated with Vin: 1GYDE63A540125733 ## Mail History Id: 28785689, Consumer Id: 760382, Address Id: 11851013 => Updated with Vin: 1GYFK63827R322227 ## Mail History Id: 28786120, Consumer Id: 760374, Address Id: 11851011 => Updated with Vin: 1G6KD57Y87U131849 ## Mail History Id: 28785640, Consumer Id: 798913, Address Id: 10211262 => Updated with Vin: 1G6KF5494WU791702 ## Total mail_history records updated with vin numbers: 35 out of 38 ============================================================ ====== Tracking Id: 568 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-07 12:15:52') AND us2_order_type_id = 3 ## Order found: 741 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 741 AND product_id = 112 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3471 ## Mailing found: '12347' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337531, Consumer Id: 805050, Address Id: 10218719 => Updated with Vin: 1G6KY54902U106809 ## Mail History Id: 28337529, Consumer Id: 804738, Address Id: 10218303 => Updated with Vin: 1G6KY54982U260961 ## Mail History Id: 28337521, Consumer Id: 805326, Address Id: 10216115 => Updated with Vin: 3GYFK66N94G235339 ## Mail History Id: 28337515, Consumer Id: 819901, Address Id: 11876435 => Updated with Vin: 1GYEE63A460158505 ## Mail History Id: 28337535, Consumer Id: 804401, Address Id: 11872908 => Updated with Vin: 1G6KD57Y04U185769 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 569 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-07 12:16:04') AND us2_order_type_id = 3 ## Order found: 740 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 740 AND product_id = 114 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3427 ## Mailing found: '12346' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337512, Consumer Id: 512396, Address Id: 9844822 => Updated with Vin: 5FNYF18595B043395 ## Mail History Id: 28337494, Consumer Id: 493155, Address Id: 9828585 => Updated with Vin: 1HGCG16402A031160 ## Mail History Id: 28337545, Consumer Id: 492238, Address Id: 9827902 => Updated with Vin: 1HGEM21971L107289 ## Mail History Id: 28337247, Consumer Id: 516803, Address Id: 9827643 => Updated with Vin: 1N4BL21E77N428723 ## Mail History Id: 28337552, Consumer Id: 500414, Address Id: 9834990 => Updated with Vin: SHSRD788X4U230708 ## Mail History Id: 28337372, Consumer Id: 493930, Address Id: 9829145 => Updated with Vin: 1HGCG55652A160702 ## Mail History Id: 28337255, Consumer Id: 473359, Address Id: 9834703 => Updated with Vin: 1HGCM568X7A005496 ## Mail History Id: 28337282, Consumer Id: 482496, Address Id: 8539516 => Updated with Vin: 1HGCM56477A206351 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 570 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-08 08:13:23') AND us2_order_type_id = 3 ## Order found: 748 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 748 AND product_id = 55 ## Job Group Found: '374' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('374') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408002') AND customer_id = 3230 ## Mailing found: '12350' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337189, Consumer Id: 1290794, Address Id: 47611 => Updated with Vin: 1FAHP35N98W274588 ## Mail History Id: 28337191, Consumer Id: 1290793, Address Id: 52085 => Updated with Vin: 1FAHP35N68W259837 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 571 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-08 08:43:18') AND us2_order_type_id = 3 ## Order found: 748 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 748 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3230 ## Mailing found: '12344' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 572 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-08 08:43:29') AND us2_order_type_id = 3 ## Order found: 748 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 748 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3230 ## Mailing found: '12378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785739, Consumer Id: 66430, Address Id: 50206 => Updated with Vin: 1FTPX14516FA46111 ## Mail History Id: 28785740, Consumer Id: 38654, Address Id: 53976 => Updated with Vin: 1FAHP32N68W176798 ## Mail History Id: 28785741, Consumer Id: 65848, Address Id: 48086 => Updated with Vin: 1FAFP66L3YK105471 ## Mail History Id: 28785742, Consumer Id: 64887, Address Id: 47210 => Updated with Vin: 1FTRX18LX3NA48829 ## Mail History Id: 28785743, Consumer Id: 67477, Address Id: 50760 => Updated with Vin: 1FTWW31P76ED36472 ## Mail History Id: 28785744, Consumer Id: 67660, Address Id: 48796 => Updated with Vin: 1FTPX14V57FA06731 ## Mail History Id: 28785745, Consumer Id: 102956, Address Id: 51998 => Updated with Vin: 1FMEU51K47UA21360 ## Mail History Id: 28785746, Consumer Id: 102908, Address Id: 50987 => Updated with Vin: 4M2YU57145DJ12460 ## Mail History Id: 28785747, Consumer Id: 93378, Address Id: 51875 => Updated with Vin: 1FAHP25W08G137505 ## Mail History Id: 28785748, Consumer Id: 67153, Address Id: 50628 => Updated with Vin: 2G4WS52M6W1449578 ## Mail History Id: 28785749, Consumer Id: 103734, Address Id: 53815 => Updated with Vin: 1FAFP241X5G152389 ## Mail History Id: 28785750, Consumer Id: 67717, Address Id: 47448 => Updated with Vin: 1FTPX14586FB39417 ## Mail History Id: 28785751, Consumer Id: 225027, Address Id: 53463 => Updated with Vin: 2C3EL56T1RH288297 ## Mail History Id: 28785752, Consumer Id: 63694, Address Id: 47552 => Updated with Vin: 1FMYU04102KC90950 ## Mail History Id: 28785753, Consumer Id: 93234, Address Id: 51732 => Updated with Vin: 1FTPW14V17FB36623 ## Mail History Id: 28785754, Consumer Id: 64677, Address Id: 51790 => Updated with Vin: 1FMZU73KX2ZC55363 ## Mail History Id: 28785755, Consumer Id: 66160, Address Id: 50297 => Updated with Vin: 1G2JB1244W7565960 ## Mail History Id: 28785756, Consumer Id: 92758, Address Id: 48859 => Updated with Vin: 3FAHP011X7R156102 ## Mail History Id: 28785757, Consumer Id: 63553, Address Id: 52212 => Updated with Vin: 1FTNX21P04EE06118 ## Mail History Id: 28785758, Consumer Id: 66271, Address Id: 47833 => Updated with Vin: 1FMYU93195KD13071 ## Mail History Id: 28785759, Consumer Id: 64315, Address Id: 48962 => Updated with Vin: 1FMZU73K33UC77297 ## Mail History Id: 28785760, Consumer Id: 64789, Address Id: 48606 => Updated with Vin: 1FAFP53U12A191920 ## Mail History Id: 28785761, Consumer Id: 103402, Address Id: 50840 => Updated with Vin: 3MEFM08Z46R640494 ## Mail History Id: 28785762, Consumer Id: 225026, Address Id: 53764 => Updated with Vin: 1FALP52U1TG274539 ## Mail History Id: 28785763, Consumer Id: 38335, Address Id: 48271 => Updated with Vin: 1FTZR45E12PB34230 ## Mail History Id: 28785764, Consumer Id: 63961, Address Id: 48346 => Updated with Vin: 2FTRX08W9XCB13198 ## Mail History Id: 28785765, Consumer Id: 92770, Address Id: 51194 => Updated with Vin: 1B3EL46X86N193746 ## Mail History Id: 28785766, Consumer Id: 93162, Address Id: 48882 => Updated with Vin: 1FMEU73E67UB43656 ## Mail History Id: 28785767, Consumer Id: 67291, Address Id: 53178 => Updated with Vin: 1MEFM53S8XA664168 ## Mail History Id: 28785768, Consumer Id: 66374, Address Id: 48274 => Updated with Vin: 1FTNX21F81EC63003 ## Mail History Id: 28785769, Consumer Id: 225032, Address Id: 47280 => Updated with Vin: 1LNLM81W5VY694286 ## Mail History Id: 28785770, Consumer Id: 64357, Address Id: 47697 => Updated with Vin: 1FDEE14N9SHB78475 ## Mail History Id: 28786080, Consumer Id: 64097, Address Id: 50550 => Updated with Vin: 1FMCU93134KA49810 ## Mail History Id: 28785772, Consumer Id: 93438, Address Id: 51946 => Updated with Vin: 1FMZU73K63ZB56749 ## Mail History Id: 28785773, Consumer Id: 65392, Address Id: 51118 => Updated with Vin: 2FMZA57634BA63654 ## Mail History Id: 28785774, Consumer Id: 93540, Address Id: 52038 => Updated with Vin: 1FMEU74E88UA27214 ## Mail History Id: 28785776, Consumer Id: 92227, Address Id: 49407 => Updated with Vin: 1FMYU04105KD73640 ## Total mail_history records updated with vin numbers: 37 out of 39 ============================================================ ====== Tracking Id: 573 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-08 09:16:06') AND us2_order_type_id = 3 ## Order found: 749 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 749 AND product_id = 142 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3768 ## Mailing found: '12382' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28786124, Consumer Id: 1043794, Address Id: 9431661 => Updated with Vin: W06VR54R21R000386 ## Mail History Id: 28785843, Consumer Id: 1107152, Address Id: 14953049 => Updated with Vin: 1GYFK66837R230555 ## Mail History Id: 28785844, Consumer Id: 1108755, Address Id: 5984795 => Updated with Vin: 1G6KD57936U211857 ## Mail History Id: 28785845, Consumer Id: 1108969, Address Id: 3238228 => Updated with Vin: 1GYEE637470124036 ## Mail History Id: 28785846, Consumer Id: 1107210, Address Id: 14982005 => Updated with Vin: 1G6DM577X40144993 ## Mail History Id: 28785847, Consumer Id: 1109063, Address Id: 8193447 => Updated with Vin: 1G6KF579X3U145233 ## Mail History Id: 28785848, Consumer Id: 1109116, Address Id: 5991165 => Updated with Vin: 1G6DP577X60108733 ## Mail History Id: 28785849, Consumer Id: 1109106, Address Id: 12938821 => Updated with Vin: 1GYEC63837R305493 ## Mail History Id: 28785850, Consumer Id: 1109132, Address Id: 5978244 => Updated with Vin: 1GYFK66837R349299 ## Mail History Id: 28785851, Consumer Id: 1109201, Address Id: 7342122 => Updated with Vin: 1GYFK63857R406932 ## Mail History Id: 28785852, Consumer Id: 1109304, Address Id: 2775669 => Updated with Vin: 1GYEE637370158064 ## Mail History Id: 28785853, Consumer Id: 1109417, Address Id: 2851210 => Updated with Vin: 1G4CU521XV4620385 ## Mail History Id: 28785854, Consumer Id: 1109433, Address Id: 5150715 => Updated with Vin: 1G6DW677970195664 ## Mail History Id: 28785855, Consumer Id: 1109496, Address Id: 14982621 => Updated with Vin: 1G6KS54Y03U151940 ## Mail History Id: 28785856, Consumer Id: 1109549, Address Id: 14982648 => Updated with Vin: 1G6DW677970196152 ## Mail History Id: 28785857, Consumer Id: 1109545, Address Id: 3239348 => Updated with Vin: 1G6KD57Y78U162236 ## Mail History Id: 28785858, Consumer Id: 1109559, Address Id: 2777467 => Updated with Vin: 1GYEE637060144475 ## Mail History Id: 28785859, Consumer Id: 1107756, Address Id: 14982121 => Updated with Vin: 3GYEK63N33G317758 ## Mail History Id: 28785860, Consumer Id: 1108026, Address Id: 3238376 => Updated with Vin: 1G6KD54Y1XU771955 ## Mail History Id: 28785861, Consumer Id: 1044927, Address Id: 3238192 => Updated with Vin: 1GYEE637670137662 ## Mail History Id: 28785862, Consumer Id: 1046973, Address Id: 5984419 => Updated with Vin: 1GYEE637050211395 ## Mail History Id: 28785863, Consumer Id: 1111492, Address Id: 4725933 => Updated with Vin: 1GYEK63N93R121176 ## Mail History Id: 28785864, Consumer Id: 1109610, Address Id: 2848455 => Updated with Vin: 1G6DW677060192280 ## Mail History Id: 28786126, Consumer Id: 1048116, Address Id: 14953868 => Updated with Vin: 1G6KE57Y62U112674 ## Mail History Id: 28785867, Consumer Id: 1109703, Address Id: 9425781 => Updated with Vin: 1G6DP567850120718 ## Mail History Id: 28785868, Consumer Id: 1108225, Address Id: 5983499 => Updated with Vin: 1G6KD54Y41U216263 ## Mail History Id: 28785869, Consumer Id: 1107898, Address Id: 3598461 => Updated with Vin: 1G3NF52E01C273837 ## Mail History Id: 28785870, Consumer Id: 1115324, Address Id: 14983776 => Updated with Vin: 1G6KD54Y44U214923 ## Mail History Id: 28785871, Consumer Id: 1113921, Address Id: 8827729 => Updated with Vin: 1GYEE637650121751 ## Mail History Id: 28785872, Consumer Id: 1107897, Address Id: 14825645 => Updated with Vin: 1G6KD52B0RU244409 ## Mail History Id: 28785873, Consumer Id: 1109818, Address Id: 809752 => Updated with Vin: 1GYEK63N22R316387 ## Mail History Id: 28785874, Consumer Id: 1110155, Address Id: 5991033 => Updated with Vin: 1G6KD54Y72U199850 ## Mail History Id: 28785875, Consumer Id: 1108035, Address Id: 3239996 => Updated with Vin: 1G6KD54Y94U110461 ## Mail History Id: 28785876, Consumer Id: 1108436, Address Id: 3237676 => Updated with Vin: 1G6KD54Y14U146306 ## Mail History Id: 28785877, Consumer Id: 1116515, Address Id: 8826600 => Updated with Vin: 1GYFK668X8R128686 ## Mail History Id: 28785878, Consumer Id: 1110088, Address Id: 2775470 => Updated with Vin: 1G6DM577140170544 ## Mail History Id: 28785879, Consumer Id: 1116170, Address Id: 14983974 => Updated with Vin: 1GYEE63A960130859 ## Mail History Id: 28785880, Consumer Id: 1110530, Address Id: 2775954 => Updated with Vin: 1G6DP567150126358 ## Mail History Id: 28785881, Consumer Id: 1111554, Address Id: 5993111 => Updated with Vin: 1G6DP577X60123149 ## Mail History Id: 28785882, Consumer Id: 1108034, Address Id: 2778706 => Updated with Vin: 1GHDX03E7YD145099 ## Mail History Id: 28785883, Consumer Id: 1112470, Address Id: 2848881 => Updated with Vin: 1G6DM57T860132700 ## Mail History Id: 28785884, Consumer Id: 1116598, Address Id: 12192297 => Updated with Vin: 1J8HS48NX6C298688 ## Mail History Id: 28785885, Consumer Id: 1044629, Address Id: 14952886 => Updated with Vin: 3GNEK12Z25G227766 ## Mail History Id: 28786128, Consumer Id: 1116563, Address Id: 14952943 => Updated with Vin: WVWJK73C68E043494 ## Total mail_history records updated with vin numbers: 44 out of 46 ============================================================ ====== Tracking Id: 574 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-08 10:15:55') AND us2_order_type_id = 3 ## Order found: 750 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 750 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3416 ## Mailing found: '12380' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785947, Consumer Id: 627158, Address Id: 11764744 => Updated with Vin: 1G6DM57N130124032 ## Mail History Id: 28785948, Consumer Id: 625584, Address Id: 1968072 => Updated with Vin: 1GYEE637450138970 ## Mail History Id: 28785949, Consumer Id: 625587, Address Id: 10933473 => Updated with Vin: 1G6KD54Y81U258998 ## Mail History Id: 28785950, Consumer Id: 627103, Address Id: 11764711 => Updated with Vin: 1G6DP577760175046 ## Mail History Id: 28785951, Consumer Id: 623654, Address Id: 2757626 => Updated with Vin: 1G6KD54Y75U225187 ## Mail History Id: 28785952, Consumer Id: 623655, Address Id: 2756395 => Updated with Vin: 1G6KD54Y35U160256 ## Mail History Id: 28785953, Consumer Id: 627159, Address Id: 1964470 => Updated with Vin: 1G6KD54Y13U137023 ## Mail History Id: 28785954, Consumer Id: 627173, Address Id: 1970034 => Updated with Vin: 1G6KD54YXYU337566 ## Mail History Id: 28785955, Consumer Id: 627180, Address Id: 11764748 => Updated with Vin: 1G6KS52Y1SU823313 ## Mail History Id: 28785956, Consumer Id: 627165, Address Id: 1969081 => Updated with Vin: 1GYEK63NX4R126887 ## Mail History Id: 28785957, Consumer Id: 627098, Address Id: 11764706 => Updated with Vin: 1G6KD54Y71U242596 ## Mail History Id: 28785958, Consumer Id: 627170, Address Id: 1969110 => Updated with Vin: 1G6KF5795YU295256 ## Mail History Id: 28785959, Consumer Id: 627133, Address Id: 1969241 => Updated with Vin: 1GYEK13R7XR403053 ## Mail History Id: 28785960, Consumer Id: 627168, Address Id: 1961318 => Updated with Vin: 1G6KD54Y23U117377 ## Mail History Id: 28785961, Consumer Id: 627172, Address Id: 1969709 => Updated with Vin: 1G6KD54Y1XU793759 ## Mail History Id: 28785962, Consumer Id: 627121, Address Id: 1969644 => Updated with Vin: 1G6KS54Y73U151367 ## Mail History Id: 28785963, Consumer Id: 627178, Address Id: 1969015 => Updated with Vin: 1G6KD54Y13U150547 ## Mail History Id: 28785964, Consumer Id: 627169, Address Id: 11764746 => Updated with Vin: 1G6KD57Y86U156782 ## Mail History Id: 28785965, Consumer Id: 625509, Address Id: 1965709 => Updated with Vin: 1G6DW677150206508 ## Mail History Id: 28785966, Consumer Id: 627161, Address Id: 1969197 => Updated with Vin: 1G6KD54Y7YU212928 ## Mail History Id: 28785967, Consumer Id: 627166, Address Id: 1969826 => Updated with Vin: 1G6KD54Y8XU759348 ## Mail History Id: 28785968, Consumer Id: 623657, Address Id: 1968983 => Updated with Vin: 1G6KD57Y07U113359 ## Mail History Id: 28785969, Consumer Id: 627160, Address Id: 1969639 => Updated with Vin: 1G6DM57NX30103406 ## Mail History Id: 28785970, Consumer Id: 627171, Address Id: 1968404 => Updated with Vin: 1GYEK63N02R191051 ## Mail History Id: 28785971, Consumer Id: 627164, Address Id: 1966786 => Updated with Vin: 1G6DM57N330138305 ## Mail History Id: 28785972, Consumer Id: 627174, Address Id: 1969785 => Updated with Vin: 1G6KD54Y2YU312869 ## Mail History Id: 28785973, Consumer Id: 623656, Address Id: 1965868 => Updated with Vin: 1G6DW677060128398 ## Mail History Id: 28785974, Consumer Id: 627150, Address Id: 11764733 => Updated with Vin: 1G6KD54Y1WU743541 ## Mail History Id: 28785975, Consumer Id: 627177, Address Id: 1959710 => Updated with Vin: 1G6KD54Y93U101242 ## Mail History Id: 28785976, Consumer Id: 627071, Address Id: 1961522 => Updated with Vin: W06VR54R6XR131393 ## Mail History Id: 28785977, Consumer Id: 627114, Address Id: 1969640 => Updated with Vin: 1G6DW677070151178 ## Mail History Id: 28785978, Consumer Id: 627181, Address Id: 10934771 => Updated with Vin: 1G6KD52B2SU200725 ## Mail History Id: 28785979, Consumer Id: 625252, Address Id: 1970530 => Updated with Vin: 1G6KS54Y23U239193 ## Mail History Id: 28785980, Consumer Id: 627155, Address Id: 11764741 => Updated with Vin: 1G6KD54Y75U216599 ## Mail History Id: 28785981, Consumer Id: 627070, Address Id: 11764691 => Updated with Vin: 5GTDN136068286573 ## Mail History Id: 28785982, Consumer Id: 629140, Address Id: 11769729 => Updated with Vin: 1G6DW51Y7H9707740 ## Total mail_history records updated with vin numbers: 36 out of 40 ============================================================ ====== Tracking Id: 575 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-08 11:13:26') AND us2_order_type_id = 3 ## Order found: 751 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 751 AND product_id = 112 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3486 ## Mailing found: '12348' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337301, Consumer Id: 462747, Address Id: 1557806 => Updated with Vin: 1GCEC14V53Z261777 ## Mail History Id: 28337321, Consumer Id: 462848, Address Id: 1038161 => Updated with Vin: 1GNEK13Z94R109159 ## Mail History Id: 28337331, Consumer Id: 481686, Address Id: 9823951 => Updated with Vin: 3GNEC12Z56G225055 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 576 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-08 11:43:18') AND us2_order_type_id = 3 ## Order found: 752 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 752 AND product_id = 142 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3357 ## Mailing found: '12379' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28786025, Consumer Id: 436375, Address Id: 404886 => Updated with Vin: JM3TB28V880126807 ## Mail History Id: 28786026, Consumer Id: 609079, Address Id: 11754195 => Updated with Vin: JM1BK12G061422002 ## Mail History Id: 28786027, Consumer Id: 192850, Address Id: 394340 => Updated with Vin: 1FTRW08L81KD61227 ## Mail History Id: 28786028, Consumer Id: 187194, Address Id: 397984 => Updated with Vin: 1FMDU63E54ZB38906 ## Mail History Id: 28786029, Consumer Id: 188267, Address Id: 398635 => Updated with Vin: JM3LW28J640503307 ## Mail History Id: 28786030, Consumer Id: 196282, Address Id: 405345 => Updated with Vin: 1FTYR10D35PA07346 ## Mail History Id: 28786031, Consumer Id: 609077, Address Id: 11754194 => Updated with Vin: 1HGCG16572A065783 ## Mail History Id: 28786032, Consumer Id: 191672, Address Id: 401737 => Updated with Vin: JM1BK343741173359 ## Mail History Id: 28786034, Consumer Id: 192421, Address Id: 401859 => Updated with Vin: 1FMDU74WX4UB01554 ## Mail History Id: 28786035, Consumer Id: 435554, Address Id: 880695 => Updated with Vin: 2FMZA52215BA52268 ## Mail History Id: 28786036, Consumer Id: 153576, Address Id: 395811 => Updated with Vin: 1J4GS48K85C695611 ## Mail History Id: 28786037, Consumer Id: 155079, Address Id: 394449 => Updated with Vin: 1FTRF12237KD48156 ## Mail History Id: 28786038, Consumer Id: 198472, Address Id: 407538 => Updated with Vin: JM1CR29L960112848 ## Mail History Id: 28786039, Consumer Id: 194599, Address Id: 404635 => Updated with Vin: 1ZVFT82H665170908 ## Mail History Id: 28786040, Consumer Id: 155100, Address Id: 397185 => Updated with Vin: 1YVHP84D965M43277 ## Mail History Id: 28786041, Consumer Id: 609083, Address Id: 11754197 => Updated with Vin: 1MEFM40126G618661 ## Mail History Id: 28786042, Consumer Id: 496219, Address Id: 9830831 => Updated with Vin: 1LNHM81W6XY633148 ## Mail History Id: 28786044, Consumer Id: 155699, Address Id: 397736 => Updated with Vin: JM1FE173X70211282 ## Mail History Id: 28786045, Consumer Id: 544371, Address Id: 10413558 => Updated with Vin: 1ZVFT80N175324502 ## Mail History Id: 28786046, Consumer Id: 154349, Address Id: 396517 => Updated with Vin: 1FAFP56U37A144259 ## Mail History Id: 28786047, Consumer Id: 609078, Address Id: 401950 => Updated with Vin: JHMFA36217S015265 ## Mail History Id: 28786048, Consumer Id: 584073, Address Id: 11374085 => Updated with Vin: 1FAFP34N87W177292 ## Mail History Id: 28786049, Consumer Id: 193807, Address Id: 401293 => Updated with Vin: 1FMDU73E11ZA14665 ## Mail History Id: 28786050, Consumer Id: 191824, Address Id: 400643 => Updated with Vin: JM1BK143541151767 ## Mail History Id: 28786051, Consumer Id: 155077, Address Id: 397163 => Updated with Vin: 1FMCU03108KB10886 ## Mail History Id: 28786052, Consumer Id: 196421, Address Id: 405532 => Updated with Vin: 1LNHM81W94Y622429 ## Mail History Id: 28786053, Consumer Id: 496236, Address Id: 9830842 => Updated with Vin: YV1LS5118S2224989 ## Mail History Id: 28786054, Consumer Id: 197900, Address Id: 407211 => Updated with Vin: 1FTEE14Y6SHA50208 ## Mail History Id: 28786055, Consumer Id: 609076, Address Id: 11754192 => Updated with Vin: 4M2ZV1115WDJ15100 ## Mail History Id: 28786056, Consumer Id: 196864, Address Id: 406726 => Updated with Vin: 1B4HS28YXXF552726 ## Mail History Id: 28786057, Consumer Id: 609084, Address Id: 11754198 => Updated with Vin: 2FMZA5140YBB13178 ## Total mail_history records updated with vin numbers: 31 out of 35 ============================================================ ====== Tracking Id: 577 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-08 11:43:20') AND us2_order_type_id = 3 ## Order found: 752 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 752 AND product_id = 114 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3357 ## Mailing found: '12345' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 578 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-08 11:43:32') AND us2_order_type_id = 3 ## Order found: 752 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 752 AND product_id = 112 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3357 ## Mailing found: '12345' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 579 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-08 12:16:01') AND us2_order_type_id = 3 ## Order found: 753 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 753 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3427 ## Mailing found: '12346' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337426, Consumer Id: 517462, Address Id: 328701 => Updated with Vin: JNRAS08W64X214494 ## Mail History Id: 28337472, Consumer Id: 493860, Address Id: 330209 => Updated with Vin: 1HGCG1655YA097446 ## Mail History Id: 28337308, Consumer Id: 503916, Address Id: 9839368 => Updated with Vin: 5FNYF18555B007722 ## Mail History Id: 28337350, Consumer Id: 503528, Address Id: 325914 => Updated with Vin: 1HGCM56425A023176 ## Mail History Id: 28337253, Consumer Id: 501310, Address Id: 9836221 => Updated with Vin: JHMCD5631RC083643 ## Mail History Id: 28337408, Consumer Id: 502118, Address Id: 328119 => Updated with Vin: SHSRD78834U247916 ## Mail History Id: 28337370, Consumer Id: 512574, Address Id: 326527 => Updated with Vin: 1HGFA16596L031241 ## Mail History Id: 28337256, Consumer Id: 505798, Address Id: 9840652 => Updated with Vin: JHMES96665S011949 ## Mail History Id: 28337204, Consumer Id: 496457, Address Id: 9830997 => Updated with Vin: JHMZE14783T000299 ## Mail History Id: 28337322, Consumer Id: 495220, Address Id: 9830124 => Updated with Vin: 2HKRL18691H624073 ## Mail History Id: 28337556, Consumer Id: 516417, Address Id: 9847177 => Updated with Vin: JNRAS08W24X216436 ## Mail History Id: 28337338, Consumer Id: 472388, Address Id: 325235 => Updated with Vin: 5FNRL186X2B028728 ## Mail History Id: 28337249, Consumer Id: 475390, Address Id: 8195764 => Updated with Vin: 1HGCM66577A044719 ## Mail History Id: 28337224, Consumer Id: 483158, Address Id: 9837717 => Updated with Vin: 1HGES16335L001657 ## Total mail_history records updated with vin numbers: 14 out of 15 ============================================================ ====== Tracking Id: 580 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-08 12:16:13') AND us2_order_type_id = 3 ## Order found: 753 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 753 AND product_id = 112 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3427 ## Mailing found: '12346' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337208, Consumer Id: 499429, Address Id: 9833444 => Updated with Vin: 2HGES16584H542684 ## Mail History Id: 28337211, Consumer Id: 509124, Address Id: 9837833 => Updated with Vin: SHSRD788X4U216534 ## Mail History Id: 28337257, Consumer Id: 494600, Address Id: 9829641 => Updated with Vin: 1HGES26741L028806 ## Mail History Id: 28337354, Consumer Id: 506724, Address Id: 325989 => Updated with Vin: 1HGCG16542A043742 ## Mail History Id: 28337326, Consumer Id: 498958, Address Id: 9832804 => Updated with Vin: 1HGCM56623A096398 ## Mail History Id: 28337534, Consumer Id: 510342, Address Id: 9843553 => Updated with Vin: 1HGEM21282L004838 ## Mail History Id: 28337229, Consumer Id: 495244, Address Id: 9830142 => Updated with Vin: 2HKRL18691H540271 ## Mail History Id: 28337428, Consumer Id: 495628, Address Id: 328716 => Updated with Vin: 1HGES26703L010757 ## Mail History Id: 28337306, Consumer Id: 493640, Address Id: 9828926 => Updated with Vin: JHLRD68432C007258 ## Mail History Id: 28337398, Consumer Id: 510212, Address Id: 327898 => Updated with Vin: 5FNYF18564B008697 ## Mail History Id: 28337210, Consumer Id: 497786, Address Id: 9831961 => Updated with Vin: 1HGCD7254RA049293 ## Mail History Id: 28337486, Consumer Id: 498965, Address Id: 9832810 => Updated with Vin: 1HGCM56373A047672 ## Mail History Id: 28337260, Consumer Id: 495884, Address Id: 9830596 => Updated with Vin: 5FNRL18683B145452 ## Mail History Id: 28337488, Consumer Id: 497230, Address Id: 9830847 => Updated with Vin: 1HGCG16571A006876 ## Mail History Id: 28337268, Consumer Id: 502230, Address Id: 7552483 => Updated with Vin: 1HGCG6658XA028245 ## Mail History Id: 28337222, Consumer Id: 513417, Address Id: 9845248 => Updated with Vin: 1HGCM56485L000036 ## Mail History Id: 28337424, Consumer Id: 502893, Address Id: 328685 => Updated with Vin: SHSRD78874U251516 ## Mail History Id: 28337360, Consumer Id: 513158, Address Id: 326117 => Updated with Vin: 5FNRL38835B000982 ## Mail History Id: 28337386, Consumer Id: 474637, Address Id: 9836013 => Updated with Vin: 5FNYF18797B006688 ## Mail History Id: 28337234, Consumer Id: 475269, Address Id: 9836501 => Updated with Vin: 1HGCM81623A015926 ## Total mail_history records updated with vin numbers: 20 out of 21 ============================================================ ====== Tracking Id: 581 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-08 12:16:19') AND us2_order_type_id = 3 ## Order found: 754 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 754 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3471 ## Mailing found: '12381' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28786094, Consumer Id: 805428, Address Id: 10214815 => Updated with Vin: 1G6KD54Y84U134802 ## Mail History Id: 28786095, Consumer Id: 798141, Address Id: 10217198 => Updated with Vin: 1G6EL12Y61B102904 ## Mail History Id: 28786096, Consumer Id: 760262, Address Id: 7878390 => Updated with Vin: 1G6KF52YXSU296375 ## Mail History Id: 28786097, Consumer Id: 817594, Address Id: 10217872 => Updated with Vin: 1G6KD54YX3U256947 ## Mail History Id: 28786098, Consumer Id: 808023, Address Id: 11876621 => Updated with Vin: 1G6KD54Y84U122505 ## Mail History Id: 28786099, Consumer Id: 821912, Address Id: 11876631 => Updated with Vin: 1G6KD57YX3U197345 ## Mail History Id: 28786100, Consumer Id: 821675, Address Id: 10216848 => Updated with Vin: 1G3NL52E52C166521 ## Mail History Id: 28786101, Consumer Id: 800959, Address Id: 7416957 => Updated with Vin: 1GHDT13S022162370 ## Mail History Id: 28786102, Consumer Id: 816622, Address Id: 7416134 => Updated with Vin: 1G6KD54Y72U294845 ## Mail History Id: 28786103, Consumer Id: 822171, Address Id: 10214782 => Updated with Vin: 1G6KD54Y33U249497 ## Mail History Id: 28786104, Consumer Id: 800977, Address Id: 10216078 => Updated with Vin: 1GYEK63N03R230948 ## Mail History Id: 28786105, Consumer Id: 800902, Address Id: 7416591 => Updated with Vin: 1G6KS54Y2YU244188 ## Mail History Id: 28786106, Consumer Id: 802346, Address Id: 10216649 => Updated with Vin: 1G6DM57N230150557 ## Mail History Id: 28786107, Consumer Id: 799543, Address Id: 11870428 => Updated with Vin: 1G6KS54YX2U209163 ## Mail History Id: 28786108, Consumer Id: 802424, Address Id: 10215828 => Updated with Vin: 1G3NF12E0XC379044 ## Mail History Id: 28786109, Consumer Id: 773038, Address Id: 10215934 => Updated with Vin: 1G6KD57Y07U223845 ## Mail History Id: 28786110, Consumer Id: 821209, Address Id: 7877920 => Updated with Vin: 1GYFK63857R203751 ## Mail History Id: 28786111, Consumer Id: 817034, Address Id: 7415574 => Updated with Vin: 1G6DM577140153307 ## Mail History Id: 28786112, Consumer Id: 760363, Address Id: 11851006 => Updated with Vin: 1GYFK63898R134533 ## Mail History Id: 28786113, Consumer Id: 760277, Address Id: 7415456 => Updated with Vin: 1G6KE54Y12U219930 ## Mail History Id: 28786114, Consumer Id: 821623, Address Id: 7416443 => Updated with Vin: 1G6KS54Y64U170297 ## Mail History Id: 28786115, Consumer Id: 822792, Address Id: 11876253 => Updated with Vin: 1GYFK63807R237001 ## Mail History Id: 28786116, Consumer Id: 820842, Address Id: 11876371 => Updated with Vin: 1GYEK63N43R156465 ## Mail History Id: 28786117, Consumer Id: 807034, Address Id: 11876900 => Updated with Vin: 1GYEE63A050233358 ## Mail History Id: 28786118, Consumer Id: 806919, Address Id: 7415858 => Updated with Vin: 3GYFK66N15G173162 ## Mail History Id: 28786119, Consumer Id: 807006, Address Id: 11876891 => Updated with Vin: 1FTPW14554KC82042 ## Mail History Id: 28786120, Consumer Id: 760374, Address Id: 11851011 => Updated with Vin: 1G6KD57Y87U131849 ## Mail History Id: 28786121, Consumer Id: 807107, Address Id: 11876287 => Updated with Vin: 1GYEE637160210340 ## Mail History Id: 28786122, Consumer Id: 804759, Address Id: 10211526 => Updated with Vin: 1G6EL13B7NU608097 ## Mail History Id: 28786123, Consumer Id: 804606, Address Id: 10210367 => Updated with Vin: 1G6KE54Y73U204401 ## Total mail_history records updated with vin numbers: 30 out of 30 ============================================================ ====== Tracking Id: 582 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-08 12:16:25') AND us2_order_type_id = 3 ## Order found: 753 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 753 AND product_id = 114 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3427 ## Mailing found: '12346' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337452, Consumer Id: 510984, Address Id: 329479 => Updated with Vin: 1HGCM56425A196261 ## Mail History Id: 28337206, Consumer Id: 501853, Address Id: 9836767 => Updated with Vin: SHSRD78454U242987 ## Mail History Id: 28337202, Consumer Id: 492998, Address Id: 9828470 => Updated with Vin: 1HGCM56633A111250 ## Mail History Id: 28337400, Consumer Id: 482506, Address Id: 9837153 => Updated with Vin: JH4KA966X1C000656 ## Mail History Id: 28337230, Consumer Id: 482510, Address Id: 8539342 => Updated with Vin: JHMGD38627S037089 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 583 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-08 12:16:37') AND us2_order_type_id = 3 ## Order found: 754 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 754 AND product_id = 112 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3471 ## Mailing found: '12347' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337511, Consumer Id: 804440, Address Id: 10215407 => Updated with Vin: 1G6DM577940140448 ## Mail History Id: 28337497, Consumer Id: 803512, Address Id: 6528057 => Updated with Vin: 1GYDE63A840121367 ## Mail History Id: 28337481, Consumer Id: 798845, Address Id: 10558395 => Updated with Vin: 1G6KD54Y2XU779952 ## Mail History Id: 28337491, Consumer Id: 804287, Address Id: 7878799 => Updated with Vin: 1GYEK63N54R214066 ## Mail History Id: 28337501, Consumer Id: 822043, Address Id: 4229870 => Updated with Vin: 1GYEK63N76R157839 ## Mail History Id: 28337477, Consumer Id: 805967, Address Id: 10210247 => Updated with Vin: 1G6KE54YXXU742063 ## Mail History Id: 28337539, Consumer Id: 817857, Address Id: 11876677 => Updated with Vin: 1GYEE637040162567 ## Mail History Id: 28337533, Consumer Id: 817579, Address Id: 11876551 => Updated with Vin: 1G6YV34A955601476 ## Mail History Id: 28337505, Consumer Id: 822568, Address Id: 11876380 => Updated with Vin: 1GYEE63A040142685 ## Mail History Id: 28337509, Consumer Id: 816271, Address Id: 11876354 => Updated with Vin: 1GYEE63A750175457 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 584 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-09 08:43:28') AND us2_order_type_id = 3 ## Order found: 763 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 763 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3230 ## Mailing found: '12378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 585 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-09 09:15:28') AND us2_order_type_id = 3 ## Order found: 764 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 764 AND product_id = 142 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3768 ## Mailing found: '12382' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28786124, Consumer Id: 1043794, Address Id: 9431661 => Updated with Vin: W06VR54R21R000386 ## Mail History Id: 28785844, Consumer Id: 1108755, Address Id: 5984795 => Updated with Vin: 1G6KD57936U211857 ## Mail History Id: 28785848, Consumer Id: 1109116, Address Id: 5991165 => Updated with Vin: 1G6DP577X60108733 ## Mail History Id: 28785851, Consumer Id: 1109201, Address Id: 7342122 => Updated with Vin: 1GYFK63857R406932 ## Mail History Id: 28785860, Consumer Id: 1108026, Address Id: 3238376 => Updated with Vin: 1G6KD54Y1XU771955 ## Mail History Id: 28785864, Consumer Id: 1109610, Address Id: 2848455 => Updated with Vin: 1G6DW677060192280 ## Mail History Id: 28786126, Consumer Id: 1048116, Address Id: 14953868 => Updated with Vin: 1G6KE57Y62U112674 ## Mail History Id: 28785867, Consumer Id: 1109703, Address Id: 9425781 => Updated with Vin: 1G6DP567850120718 ## Mail History Id: 28785876, Consumer Id: 1108436, Address Id: 3237676 => Updated with Vin: 1G6KD54Y14U146306 ## Mail History Id: 28785877, Consumer Id: 1116515, Address Id: 8826600 => Updated with Vin: 1GYFK668X8R128686 ## Mail History Id: 28785885, Consumer Id: 1044735, Address Id: 14952886 => Updated with Vin: 1G6DW677270165020 ## Mail History Id: 28786128, Consumer Id: 1116557, Address Id: 14952943 => Updated with Vin: 2G1WT55K589240857 ## Total mail_history records updated with vin numbers: 12 out of 13 ============================================================ ====== Tracking Id: 586 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-09 10:15:36') AND us2_order_type_id = 3 ## Order found: 765 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 765 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3416 ## Mailing found: '12380' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785127, Consumer Id: 625263, Address Id: 11764739 => Updated with Vin: 1G6DP577870122812 ## Mail History Id: 28785128, Consumer Id: 625341, Address Id: 11764715 => Updated with Vin: 1G6KD54Y24U226374 ## Mail History Id: 28785129, Consumer Id: 627073, Address Id: 11764693 => Updated with Vin: 1G6KY54922U115589 ## Mail History Id: 28785644, Consumer Id: 625955, Address Id: 3765926 => Updated with Vin: 1G6KD57Y46U109264 ## Mail History Id: 28785131, Consumer Id: 626039, Address Id: 11764731 => Updated with Vin: 3GYFK62808G239334 ## Mail History Id: 28785132, Consumer Id: 627097, Address Id: 11764705 => Updated with Vin: 5GTDN136X68165243 ## Mail History Id: 28785951, Consumer Id: 623654, Address Id: 2757626 => Updated with Vin: 1G6KD54Y75U225187 ## Mail History Id: 28785952, Consumer Id: 623655, Address Id: 2756395 => Updated with Vin: 1G6KD54Y35U160256 ## Mail History Id: 28785135, Consumer Id: 627175, Address Id: 11764747 => Updated with Vin: 1G6KY54942U181352 ## Mail History Id: 28786153, Consumer Id: 623661, Address Id: 11764677 => Updated with Vin: 1G6DS57V980190258 ## Mail History Id: 28786154, Consumer Id: 623659, Address Id: 11764675 => Updated with Vin: 5GRGN22858H107457 ## Mail History Id: 28785651, Consumer Id: 627106, Address Id: 1965772 => Updated with Vin: 1G6KE57Y1YU220550 ## Mail History Id: 28785139, Consumer Id: 627182, Address Id: 11764749 => Updated with Vin: 1G6KS54Y72U143736 ## Mail History Id: 28785140, Consumer Id: 627102, Address Id: 1961956 => Updated with Vin: 1G6DW677260130105 ## Mail History Id: 28785141, Consumer Id: 627096, Address Id: 11764704 => Updated with Vin: 1G6KD54Y63U228384 ## Mail History Id: 28785142, Consumer Id: 627204, Address Id: 1969318 => Updated with Vin: 1G6KD57Y93U244736 ## Mail History Id: 28785143, Consumer Id: 627202, Address Id: 11764759 => Updated with Vin: 1GYEE637860202333 ## Mail History Id: 28785144, Consumer Id: 627156, Address Id: 11764742 => Updated with Vin: 1GYEK63N16R142236 ## Mail History Id: 28785145, Consumer Id: 627157, Address Id: 11764743 => Updated with Vin: W06VR52R7VR965284 ## Mail History Id: 28785146, Consumer Id: 627074, Address Id: 11764694 => Updated with Vin: 1G6KD57Y06U171020 ## Mail History Id: 28785147, Consumer Id: 627191, Address Id: 1968547 => Updated with Vin: 1G6KF5494WU777377 ## Mail History Id: 28785148, Consumer Id: 627094, Address Id: 1967895 => Updated with Vin: 1G6KY5498XU932220 ## Mail History Id: 28785149, Consumer Id: 627163, Address Id: 1970177 => Updated with Vin: 1G6DW677X60174403 ## Mail History Id: 28785150, Consumer Id: 627128, Address Id: 11764724 => Updated with Vin: 1G6DC67A460143846 ## Mail History Id: 28785151, Consumer Id: 627066, Address Id: 1963372 => Updated with Vin: 1GYEE637250205128 ## Mail History Id: 28785152, Consumer Id: 627117, Address Id: 1969530 => Updated with Vin: 1G6KF5492XU733573 ## Mail History Id: 28785153, Consumer Id: 627111, Address Id: 1969028 => Updated with Vin: 1G6KD54Y31U298213 ## Mail History Id: 28785968, Consumer Id: 623657, Address Id: 1968983 => Updated with Vin: 1G6KD57Y07U113359 ## Mail History Id: 28785155, Consumer Id: 627147, Address Id: 10933668 => Updated with Vin: 3GYFK66N95G185964 ## Mail History Id: 28785156, Consumer Id: 623658, Address Id: 1968829 => Updated with Vin: 3GNFK12327G153008 ## Mail History Id: 28785157, Consumer Id: 627065, Address Id: 1959995 => Updated with Vin: 1G6DW677360184447 ## Mail History Id: 28785158, Consumer Id: 627187, Address Id: 1969456 => Updated with Vin: 1G6KE57Y2YU285214 ## Mail History Id: 28785159, Consumer Id: 627107, Address Id: 3765942 => Updated with Vin: 1G6DM57N630126584 ## Mail History Id: 28786163, Consumer Id: 627109, Address Id: 1966677 => Updated with Vin: 1GYFK66857R258387 ## Mail History Id: 28785481, Consumer Id: 627079, Address Id: 1962670 => Updated with Vin: 1GYEK63N73R164592 ## Mail History Id: 28785162, Consumer Id: 627162, Address Id: 1968890 => Updated with Vin: 1G6DP567150197897 ## Mail History Id: 28785163, Consumer Id: 627176, Address Id: 1969735 => Updated with Vin: 1G6KD57Y16U106774 ## Mail History Id: 28785164, Consumer Id: 627139, Address Id: 1970030 => Updated with Vin: 1G6KF579X3U237037 ## Mail History Id: 28785165, Consumer Id: 627193, Address Id: 1963601 => Updated with Vin: W06VR54R51R042308 ## Mail History Id: 28785166, Consumer Id: 627145, Address Id: 10934209 => Updated with Vin: 1GYEE63A550124880 ## Mail History Id: 28785485, Consumer Id: 626044, Address Id: 11764690 => Updated with Vin: 1GYEK63N14R191675 ## Mail History Id: 28785168, Consumer Id: 625258, Address Id: 11764702 => Updated with Vin: 1G6KD57Y67U119585 ## Mail History Id: 28785169, Consumer Id: 627152, Address Id: 11764736 => Updated with Vin: 5GTDN136468220110 ## Mail History Id: 28785170, Consumer Id: 627141, Address Id: 11764728 => Updated with Vin: 5GTDN136268179606 ## Mail History Id: 28785171, Consumer Id: 627124, Address Id: 11764723 => Updated with Vin: 1G6KE54Y92U272424 ## Mail History Id: 28785172, Consumer Id: 627099, Address Id: 11764707 => Updated with Vin: 5GTDN136768296193 ## Mail History Id: 28785173, Consumer Id: 627135, Address Id: 4758742 => Updated with Vin: 1G6KS54YX3U184394 ## Mail History Id: 28785174, Consumer Id: 626010, Address Id: 11764710 => Updated with Vin: 5GTEN13E788183424 ## Mail History Id: 28785175, Consumer Id: 627144, Address Id: 11764730 => Updated with Vin: 1G6DP577960127810 ## Mail History Id: 28785176, Consumer Id: 627142, Address Id: 11764729 => Updated with Vin: 1G6KY54991U209631 ## Mail History Id: 28785177, Consumer Id: 627183, Address Id: 4767716 => Updated with Vin: 1G6DM57T970121559 ## Mail History Id: 28785178, Consumer Id: 627203, Address Id: 1967711 => Updated with Vin: 5GTDN136668106125 ## Total mail_history records updated with vin numbers: 52 out of 53 ============================================================ ====== Tracking Id: 587 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-09 11:13:16') AND us2_order_type_id = 3 ## Order found: 766 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 766 AND product_id = 112 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3486 ## Mailing found: '12348' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337325, Consumer Id: 463101, Address Id: 9715353 => Updated with Vin: 1GNEC13Z83J290684 ## Mail History Id: 28337315, Consumer Id: 467438, Address Id: 8115628 => Updated with Vin: 3GNEK12Z95G287348 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 588 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-09 11:43:19') AND us2_order_type_id = 3 ## Order found: 767 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 767 AND product_id = 142 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3357 ## Mailing found: '12379' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785202, Consumer Id: 609411, Address Id: 11754390 => Updated with Vin: 1FMEU62E46UA38317 ## Mail History Id: 28785203, Consumer Id: 193946, Address Id: 403860 => Updated with Vin: 1FMSU43F21EB63317 ## Mail History Id: 28785204, Consumer Id: 609410, Address Id: 11754388 => Updated with Vin: 1FMYU60E81UC67849 ## Mail History Id: 28785205, Consumer Id: 190510, Address Id: 400442 => Updated with Vin: 1FMDU74W43ZA70822 ## Mail History Id: 28785207, Consumer Id: 187805, Address Id: 398484 => Updated with Vin: 1FTPX12555NA22417 ## Mail History Id: 28785556, Consumer Id: 198197, Address Id: 405656 => Updated with Vin: 1FMSU43F22ED63924 ## Mail History Id: 28785209, Consumer Id: 609413, Address Id: 11754392 => Updated with Vin: 3FAKP1132WR197691 ## Mail History Id: 28785210, Consumer Id: 188517, Address Id: 398676 => Updated with Vin: 1FMDU73W72ZC49260 ## Mail History Id: 28785211, Consumer Id: 198205, Address Id: 405658 => Updated with Vin: 1YVHP84DX45N93847 ## Mail History Id: 28785212, Consumer Id: 609406, Address Id: 11754384 => Updated with Vin: 2G1WP551349451299 ## Mail History Id: 28785213, Consumer Id: 189430, Address Id: 401692 => Updated with Vin: 1FAFP45X14F130039 ## Mail History Id: 28786184, Consumer Id: 609415, Address Id: 11754393 => Updated with Vin: 1FTPX12514NA51511 ## Mail History Id: 28785562, Consumer Id: 461217, Address Id: 9819194 => Updated with Vin: 1LNLM81W4NY687619 ## Mail History Id: 28785216, Consumer Id: 609414, Address Id: 11715101 => Updated with Vin: 2MELM75W4TX692162 ## Mail History Id: 28785217, Consumer Id: 583901, Address Id: 10863518 => Updated with Vin: 2FAFP74W34X120949 ## Mail History Id: 28785218, Consumer Id: 152814, Address Id: 394776 => Updated with Vin: 1ZVFT84N055208067 ## Mail History Id: 28786187, Consumer Id: 197471, Address Id: 406775 => Updated with Vin: 1FTPX12555FB15108 ## Mail History Id: 28785220, Consumer Id: 496209, Address Id: 9830825 => Updated with Vin: 1FAFP25105G151234 ## Mail History Id: 28785221, Consumer Id: 151587, Address Id: 393978 => Updated with Vin: 1FAFP24195G201856 ## Mail History Id: 28785353, Consumer Id: 152057, Address Id: 394417 => Updated with Vin: 1FMDK06105GA58129 ## Mail History Id: 28785223, Consumer Id: 152109, Address Id: 394465 => Updated with Vin: JM1CR29L660106926 ## Mail History Id: 28786189, Consumer Id: 609407, Address Id: 11754385 => Updated with Vin: 1ZVFT80N865123436 ## Mail History Id: 28785570, Consumer Id: 584296, Address Id: 11374107 => Updated with Vin: 1ZVHT82H065150713 ## Mail History Id: 28785227, Consumer Id: 153175, Address Id: 395446 => Updated with Vin: 1ZVHT82H765250467 ## Mail History Id: 28785228, Consumer Id: 609405, Address Id: 11754383 => Updated with Vin: WDBRF52H46A866369 ## Mail History Id: 28786198, Consumer Id: 152102, Address Id: 394458 => Updated with Vin: 3FAFP06Z86R114452 ## Mail History Id: 28785230, Consumer Id: 190664, Address Id: 400926 => Updated with Vin: 1FMEU62E16UA49761 ## Mail History Id: 28785231, Consumer Id: 154836, Address Id: 396955 => Updated with Vin: 1FAFP34N06W189600 ## Mail History Id: 28785232, Consumer Id: 197574, Address Id: 406782 => Updated with Vin: JM1BK12GX71637615 ## Mail History Id: 28785233, Consumer Id: 154522, Address Id: 396677 => Updated with Vin: JM1BK144871716574 ## Mail History Id: 28785234, Consumer Id: 609412, Address Id: 11754391 => Updated with Vin: 1ZVFT82H075222406 ## Mail History Id: 28785235, Consumer Id: 155036, Address Id: 397126 => Updated with Vin: 1ZVHT82H575336569 ## Mail History Id: 28785236, Consumer Id: 155534, Address Id: 397580 => Updated with Vin: 1YVHP84C575M12620 ## Mail History Id: 28785237, Consumer Id: 155646, Address Id: 397686 => Updated with Vin: 1YVHP80C175M17335 ## Mail History Id: 28785579, Consumer Id: 197302, Address Id: 401688 => Updated with Vin: 2FMDK38CX7BA95540 ## Mail History Id: 28785239, Consumer Id: 198787, Address Id: 406881 => Updated with Vin: 1FMFK205X7LA89821 ## Mail History Id: 28785240, Consumer Id: 609404, Address Id: 11754382 => Updated with Vin: 3FAHP06Z27R176326 ## Mail History Id: 28785241, Consumer Id: 198313, Address Id: 407259 => Updated with Vin: 1FMEU63E87UB66365 ## Mail History Id: 28785242, Consumer Id: 155524, Address Id: 397571 => Updated with Vin: JM3ER29L480183412 ## Mail History Id: 28785244, Consumer Id: 155840, Address Id: 397872 => Updated with Vin: JM1CR29L480306397 ## Mail History Id: 28785245, Consumer Id: 155481, Address Id: 397530 => Updated with Vin: 1ZVHT80N285105560 ## Mail History Id: 28785247, Consumer Id: 155572, Address Id: 397616 => Updated with Vin: 1FMCU031X8KB77849 ## Mail History Id: 28785248, Consumer Id: 609416, Address Id: 11754394 => Updated with Vin: 4F2CZ49H68KM25709 ## Mail History Id: 28785249, Consumer Id: 199012, Address Id: 407756 => Updated with Vin: 1LNLM91V2SY760172 ## Mail History Id: 28785250, Consumer Id: 194216, Address Id: 403647 => Updated with Vin: 1FACP44M6NF121865 ## Mail History Id: 28785251, Consumer Id: 609409, Address Id: 11754387 => Updated with Vin: 1LNLM91V0PY675094 ## Mail History Id: 28786053, Consumer Id: 496236, Address Id: 9830842 => Updated with Vin: YV1LS5118S2224989 ## Mail History Id: 28785253, Consumer Id: 609408, Address Id: 11754386 => Updated with Vin: 2MELM75W4VX621899 ## Mail History Id: 28785254, Consumer Id: 191834, Address Id: 402106 => Updated with Vin: 1FAFP6633WK314450 ## Total mail_history records updated with vin numbers: 49 out of 62 ============================================================ ====== Tracking Id: 589 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-09 11:43:22') AND us2_order_type_id = 3 ## Order found: 767 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 767 AND product_id = 112 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3357 ## Mailing found: '12345' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 590 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-09 11:43:34') AND us2_order_type_id = 3 ## Order found: 767 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 767 AND product_id = 114 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3357 ## Mailing found: '12345' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337555, Consumer Id: 196479, Address Id: 405356 => Updated with Vin: 1FMFK15547LA25146 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 591 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-09 12:15:38') AND us2_order_type_id = 3 ## Order found: 768 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 768 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3427 ## Mailing found: '12346' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337270, Consumer Id: 493185, Address Id: 9828608 => Updated with Vin: 1HGCM66573A022309 ## Mail History Id: 28337280, Consumer Id: 492039, Address Id: 9827751 => Updated with Vin: 2HGES26721H541694 ## Mail History Id: 28337292, Consumer Id: 491243, Address Id: 9827141 => Updated with Vin: 5FNRL186X3B021926 ## Mail History Id: 28337548, Consumer Id: 510929, Address Id: 9834846 => Updated with Vin: 1HGEM22562L064416 ## Mail History Id: 28337496, Consumer Id: 509635, Address Id: 9828045 => Updated with Vin: SHSRD778X5U341455 ## Mail History Id: 28337498, Consumer Id: 495521, Address Id: 9830339 => Updated with Vin: 2HKRL187XYH604059 ## Mail History Id: 28337358, Consumer Id: 503527, Address Id: 326039 => Updated with Vin: 2HKRL186X1H559704 ## Mail History Id: 28337296, Consumer Id: 496551, Address Id: 9831069 => Updated with Vin: SHSRD78893U139413 ## Mail History Id: 28337342, Consumer Id: 491175, Address Id: 325590 => Updated with Vin: 1HGCG56601A089566 ## Mail History Id: 28337242, Consumer Id: 492516, Address Id: 9828107 => Updated with Vin: 1HGES26713L005227 ## Mail History Id: 28337410, Consumer Id: 498651, Address Id: 9832575 => Updated with Vin: 1HGCD7229RA056911 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 592 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-09 12:15:50') AND us2_order_type_id = 3 ## Order found: 768 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 768 AND product_id = 112 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3427 ## Mailing found: '12346' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337328, Consumer Id: 503719, Address Id: 324730 => Updated with Vin: 5FNYF18685B001289 ## Mail History Id: 28337233, Consumer Id: 501307, Address Id: 9826694 => Updated with Vin: 2HKYF18434H536139 ## Mail History Id: 28337542, Consumer Id: 500343, Address Id: 9834935 => Updated with Vin: 1HGCG16461A019254 ## Mail History Id: 28337214, Consumer Id: 507117, Address Id: 9841487 => Updated with Vin: 1HGEM215X5L051593 ## Mail History Id: 28337264, Consumer Id: 490623, Address Id: 9826660 => Updated with Vin: 1HGCE6642VA023794 ## Mail History Id: 28337466, Consumer Id: 501995, Address Id: 8195296 => Updated with Vin: 5FNRL18584B138123 ## Mail History Id: 28337324, Consumer Id: 471486, Address Id: 9833077 => Updated with Vin: 5FNRL38446B059229 ## Mail History Id: 28337251, Consumer Id: 491408, Address Id: 9827262 => Updated with Vin: 5FNRL18923B004211 ## Mail History Id: 28337346, Consumer Id: 496577, Address Id: 325846 => Updated with Vin: 1HGCG2254YA038044 ## Mail History Id: 28337514, Consumer Id: 493374, Address Id: 9828756 => Updated with Vin: 2HKRL1865YH613386 ## Mail History Id: 28337476, Consumer Id: 502694, Address Id: 9837978 => Updated with Vin: 1HGCG32072A024169 ## Mail History Id: 28337288, Consumer Id: 502430, Address Id: 9837427 => Updated with Vin: JHLRD1862XC073053 ## Mail History Id: 28337436, Consumer Id: 503856, Address Id: 9839659 => Updated with Vin: 1HGCG56752A099861 ## Mail History Id: 28337262, Consumer Id: 495273, Address Id: 9830164 => Updated with Vin: SHSRD78483U154496 ## Mail History Id: 28337281, Consumer Id: 511297, Address Id: 9844148 => Updated with Vin: 1HGCM65806A008154 ## Mail History Id: 28337478, Consumer Id: 492250, Address Id: 330419 => Updated with Vin: 1HGCG1655YA008717 ## Mail History Id: 28337340, Consumer Id: 515653, Address Id: 9846715 => Updated with Vin: 1HGCG1655YA091307 ## Mail History Id: 28337438, Consumer Id: 496506, Address Id: 9831034 => Updated with Vin: 1HGCM564X4A003188 ## Total mail_history records updated with vin numbers: 18 out of 18 ============================================================ ====== Tracking Id: 593 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-09 12:15:57') AND us2_order_type_id = 3 ## Order found: 769 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 769 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3471 ## Mailing found: '12381' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785311, Consumer Id: 800455, Address Id: 7416387 => Updated with Vin: 1G3NF12E4YC336134 ## Mail History Id: 28785887, Consumer Id: 806675, Address Id: 11870335 => Updated with Vin: 1G6KF57903U269835 ## Mail History Id: 28785313, Consumer Id: 799550, Address Id: 7416902 => Updated with Vin: 1G6KS54Y11U136537 ## Mail History Id: 28785314, Consumer Id: 816170, Address Id: 11872101 => Updated with Vin: 1GHDT13S942239580 ## Mail History Id: 28785315, Consumer Id: 801324, Address Id: 10219242 => Updated with Vin: 1G3WX52HXXF322044 ## Mail History Id: 28785316, Consumer Id: 807503, Address Id: 7415984 => Updated with Vin: 1GYEK63NX4R255356 ## Mail History Id: 28785317, Consumer Id: 760208, Address Id: 10215454 => Updated with Vin: 1GHDX03E5XD175250 ## Mail History Id: 28785318, Consumer Id: 799855, Address Id: 11870560 => Updated with Vin: 1G6KE52Y0VU200986 ## Mail History Id: 28785319, Consumer Id: 760332, Address Id: 10216009 => Updated with Vin: 1G6KD54Y1YU343126 ## Mail History Id: 28785320, Consumer Id: 805154, Address Id: 10218612 => Updated with Vin: 1GYEK63N84R228432 ## Mail History Id: 28785382, Consumer Id: 807080, Address Id: 10217486 => Updated with Vin: 1G6KD57Y58U100379 ## Mail History Id: 28785322, Consumer Id: 807023, Address Id: 10214122 => Updated with Vin: 1GYFK63847R429876 ## Mail History Id: 28785323, Consumer Id: 798458, Address Id: 10216906 => Updated with Vin: 1G6KF57992U299155 ## Mail History Id: 28785324, Consumer Id: 799889, Address Id: 7878840 => Updated with Vin: 1GHDT13S522189483 ## Mail History Id: 28785387, Consumer Id: 799454, Address Id: 7878188 => Updated with Vin: 1G6ET1290VU616671 ## Mail History Id: 28785326, Consumer Id: 820852, Address Id: 11876786 => Updated with Vin: 1GYFK63857R160609 ## Mail History Id: 28785327, Consumer Id: 803520, Address Id: 7879020 => Updated with Vin: 3GYEK63NX2G354241 ## Mail History Id: 28785328, Consumer Id: 822145, Address Id: 11876399 => Updated with Vin: 1GYEE637970154620 ## Mail History Id: 28785329, Consumer Id: 817367, Address Id: 7416790 => Updated with Vin: 1G6KD54Y22U303712 ## Mail History Id: 28785330, Consumer Id: 772831, Address Id: 10559896 => Updated with Vin: 1G6DW677X70163631 ## Mail History Id: 28785331, Consumer Id: 817343, Address Id: 7416989 => Updated with Vin: 1G6KD54YXYU261430 ## Mail History Id: 28785332, Consumer Id: 819906, Address Id: 4231499 => Updated with Vin: 1GYEE63A260158535 ## Mail History Id: 28785333, Consumer Id: 799813, Address Id: 7416450 => Updated with Vin: 1G6KD54Y0YU203097 ## Mail History Id: 28786118, Consumer Id: 803689, Address Id: 7415858 => Updated with Vin: 1G6KD54Y71U149061 ## Mail History Id: 28785335, Consumer Id: 760526, Address Id: 7415733 => Updated with Vin: 1G6DW677160215503 ## Mail History Id: 28785336, Consumer Id: 806935, Address Id: 11876563 => Updated with Vin: 1GYFK63887R406715 ## Mail History Id: 28785892, Consumer Id: 807037, Address Id: 7415572 => Updated with Vin: 1GYDE63A540125733 ## Mail History Id: 28785689, Consumer Id: 760382, Address Id: 11851013 => Updated with Vin: 1GYFK63827R322227 ## Mail History Id: 28785339, Consumer Id: 760367, Address Id: 11851009 => Updated with Vin: 1GYFK63858R191988 ## Mail History Id: 28785340, Consumer Id: 806913, Address Id: 11876862 => Updated with Vin: 1FMFU18565LA58247 ## Mail History Id: 28785341, Consumer Id: 800680, Address Id: 7878111 => Updated with Vin: 1G6CD53B9P4293317 ## Mail History Id: 28786120, Consumer Id: 760374, Address Id: 11851011 => Updated with Vin: 1G6KD57Y87U131849 ## Mail History Id: 28785343, Consumer Id: 760408, Address Id: 10215529 => Updated with Vin: 1G6KF57993U151279 ## Mail History Id: 28785344, Consumer Id: 798094, Address Id: 11869713 => Updated with Vin: 1G6EL12Y9WU610893 ## Total mail_history records updated with vin numbers: 34 out of 37 ============================================================ ====== Tracking Id: 594 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-09 19:13:27') AND us2_order_type_id = 3 ## Order found: 767 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 767 AND product_id = 55 ## Job Group Found: '374' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('374') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408002') AND customer_id = 3357 ## Mailing found: '12351' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 595 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-10 08:13:35') AND us2_order_type_id = 3 ## Order found: 777 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 777 AND product_id = 55 ## Job Group Found: '374' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('374') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408002') AND customer_id = 3230 ## Mailing found: '12350' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337175, Consumer Id: 1310499, Address Id: 50206 => Updated with Vin: 1FTPX14516FA98273 ## Mail History Id: 28337190, Consumer Id: 1177971, Address Id: 47486 => Updated with Vin: 1FAHP35N58W261000 ## Mail History Id: 28337161, Consumer Id: 1310501, Address Id: 49531 => Updated with Vin: 1FAHP35N58W261000 ## Total mail_history records updated with vin numbers: 3 out of 2 ============================================================ ====== Tracking Id: 596 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-10 08:43:22') AND us2_order_type_id = 3 ## Order found: 777 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 777 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3230 ## Mailing found: '12344' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337421, Consumer Id: 67178, Address Id: 50513 => Updated with Vin: 1FTSW31P14EC60937 ## Mail History Id: 28337417, Consumer Id: 64923, Address Id: 47609 => Updated with Vin: 1FTPX14585NB72101 ## Mail History Id: 28337395, Consumer Id: 103771, Address Id: 53834 => Updated with Vin: 1FAFP34331W256147 ## Mail History Id: 28337377, Consumer Id: 93336, Address Id: 51826 => Updated with Vin: 1FMZU73K44ZA51208 ## Mail History Id: 28337379, Consumer Id: 92832, Address Id: 51257 => Updated with Vin: 1B3ES26C35D160646 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 597 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-10 08:43:32') AND us2_order_type_id = 3 ## Order found: 777 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 777 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3230 ## Mailing found: '12378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785498, Consumer Id: 173966, Address Id: 445694 => Updated with Vin: 1FAFP24115G108670 ## Mail History Id: 28785998, Consumer Id: 91842, Address Id: 50630 => Updated with Vin: 1FMEU74E46UA71997 ## Mail History Id: 28786092, Consumer Id: 93523, Address Id: 47504 => Updated with Vin: 1FTSX31L0YED29486 ## Mail History Id: 28785501, Consumer Id: 64669, Address Id: 51086 => Updated with Vin: 1FMCU93134KB35862 ## Mail History Id: 28785924, Consumer Id: 93554, Address Id: 52063 => Updated with Vin: 1C3EL46T73N594605 ## Mail History Id: 28785503, Consumer Id: 67205, Address Id: 50048 => Updated with Vin: 1FAFP53U31G102781 ## Mail History Id: 28786089, Consumer Id: 173968, Address Id: 445696 => Updated with Vin: 2C4GM68465R424258 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 598 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-10 09:15:56') AND us2_order_type_id = 3 ## Order found: 778 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 778 AND product_id = 142 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3768 ## Mailing found: '12382' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28786124, Consumer Id: 1043794, Address Id: 9431661 => Updated with Vin: W06VR54R21R000386 ## Mail History Id: 28785848, Consumer Id: 1109116, Address Id: 5991165 => Updated with Vin: 1G6DP577X60108733 ## Mail History Id: 28785885, Consumer Id: 1052195, Address Id: 14952886 => Updated with Vin: 1G6KE54Y34U181488 ## Mail History Id: 28785860, Consumer Id: 1108026, Address Id: 3238376 => Updated with Vin: 1G6KD54Y1XU771955 ## Mail History Id: 28786126, Consumer Id: 1048116, Address Id: 14953868 => Updated with Vin: 1G6KE57Y62U112674 ## Mail History Id: 28786127, Consumer Id: 1107063, Address Id: 5986963 => Updated with Vin: 1G6KD57Y36U156835 ## Mail History Id: 28785597, Consumer Id: 1107218, Address Id: 2776779 => Updated with Vin: 1G6KS54Y72U155174 ## Mail History Id: 28786128, Consumer Id: 1116554, Address Id: 14952943 => Updated with Vin: 1GYEE637980123482 ## Total mail_history records updated with vin numbers: 8 out of 10 ============================================================ ====== Tracking Id: 599 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-10 10:15:50') AND us2_order_type_id = 3 ## Order found: 779 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 779 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3416 ## Mailing found: '12380' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785642, Consumer Id: 625904, Address Id: 1960295 => Updated with Vin: 5GTEN13E288156180 ## Mail History Id: 28786152, Consumer Id: 623664, Address Id: 11764679 => Updated with Vin: 1G6DT57V380191726 ## Mail History Id: 28785644, Consumer Id: 625955, Address Id: 3765926 => Updated with Vin: 1G6KD57Y46U109264 ## Mail History Id: 28785645, Consumer Id: 627078, Address Id: 4790451 => Updated with Vin: 2G1WT58K989251467 ## Mail History Id: 28785951, Consumer Id: 623654, Address Id: 2757626 => Updated with Vin: 1G6KD54Y75U225187 ## Mail History Id: 28786153, Consumer Id: 623661, Address Id: 11764677 => Updated with Vin: 1G6DS57V980190258 ## Mail History Id: 28786154, Consumer Id: 623659, Address Id: 11764675 => Updated with Vin: 5GRGN22858H107457 ## Mail History Id: 28785649, Consumer Id: 627201, Address Id: 11764758 => Updated with Vin: W06VR54R11R061406 ## Mail History Id: 28785650, Consumer Id: 623663, Address Id: 11764678 => Updated with Vin: 1GYFK63858R234368 ## Mail History Id: 28785651, Consumer Id: 627106, Address Id: 1965772 => Updated with Vin: 1G6KE57Y1YU220550 ## Mail History Id: 28785652, Consumer Id: 623665, Address Id: 1960226 => Updated with Vin: 3GYEK62N66G146669 ## Mail History Id: 28785653, Consumer Id: 627211, Address Id: 11764762 => Updated with Vin: 1G6KF52Y2RU278348 ## Mail History Id: 28785974, Consumer Id: 627150, Address Id: 11764733 => Updated with Vin: 1G6KD54Y1WU743541 ## Mail History Id: 28785655, Consumer Id: 627123, Address Id: 1962274 => Updated with Vin: 1GYDE63A840132384 ## Mail History Id: 28785656, Consumer Id: 627108, Address Id: 1966454 => Updated with Vin: 1G6KS54Y5WU901496 ## Mail History Id: 28785658, Consumer Id: 627067, Address Id: 11764688 => Updated with Vin: 1G6DP577560165051 ## Mail History Id: 28785982, Consumer Id: 629140, Address Id: 11769729 => Updated with Vin: 1G6DW51Y7H9707740 ## Total mail_history records updated with vin numbers: 17 out of 20 ============================================================ ====== Tracking Id: 600 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-10 11:13:20') AND us2_order_type_id = 3 ## Order found: 780 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 780 AND product_id = 112 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3486 ## Mailing found: '12348' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337299, Consumer Id: 464946, Address Id: 1031612 => Updated with Vin: 1GNEC13Z04J272455 ## Mail History Id: 28337303, Consumer Id: 476777, Address Id: 1033840 => Updated with Vin: 1GNEK13Z62J309962 ## Mail History Id: 28337317, Consumer Id: 465827, Address Id: 8116046 => Updated with Vin: 2GCEC13T951104006 ## Mail History Id: 28337319, Consumer Id: 466798, Address Id: 9821306 => Updated with Vin: 3GNEC16Z15G216135 ## Mail History Id: 28337329, Consumer Id: 467475, Address Id: 9821585 => Updated with Vin: 2GCEC13T561179254 ## Mail History Id: 28337305, Consumer Id: 484285, Address Id: 932078 => Updated with Vin: 1GNDS13SX52314305 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 601 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-10 11:15:21') AND us2_order_type_id = 3 ## Order found: 781 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 781 AND product_id = 144 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3705 ## Mailing found: '12865' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28396740, Consumer Id: 960176, Address Id: 10551871 => Updated with Vin: 1GKFK66U83J323281 ## Mail History Id: 28397648, Consumer Id: 960911, Address Id: 14831607 => Updated with Vin: 1GMDX03E13D121035 ## Mail History Id: 28398568, Consumer Id: 979904, Address Id: 14846359 => Updated with Vin: 2GTEC19V541221928 ## Mail History Id: 28397352, Consumer Id: 960092, Address Id: 9185721 => Updated with Vin: 1GNEC16Z43J317942 ## Mail History Id: 28397053, Consumer Id: 973249, Address Id: 14836227 => Updated with Vin: 1GNEC13Z32R326409 ## Mail History Id: 28396748, Consumer Id: 973107, Address Id: 14835126 => Updated with Vin: 2GCEC19T741216731 ## Mail History Id: 28398242, Consumer Id: 960729, Address Id: 14831462 => Updated with Vin: 1GNES16S936242700 ## Mail History Id: 28397670, Consumer Id: 961224, Address Id: 10280037 => Updated with Vin: 1GTEC14X64Z168334 ## Mail History Id: 28396312, Consumer Id: 973161, Address Id: 9159075 => Updated with Vin: 1G4HP54K344144465 ## Mail History Id: 28396725, Consumer Id: 961304, Address Id: 14832183 => Updated with Vin: 1GKDS13S342230421 ## Mail History Id: 28398118, Consumer Id: 973326, Address Id: 14836972 => Updated with Vin: 1GCDS196548124782 ## Mail History Id: 28396663, Consumer Id: 973314, Address Id: 14836963 => Updated with Vin: 3GKEC16Z44G209322 ## Mail History Id: 28396268, Consumer Id: 973197, Address Id: 14836182 => Updated with Vin: 1GTEC14X04Z216622 ## Mail History Id: 28396176, Consumer Id: 961155, Address Id: 14831188 => Updated with Vin: 1GMDX03E04D129712 ## Mail History Id: 28398536, Consumer Id: 961117, Address Id: 14831772 => Updated with Vin: 1GKFK66U04J138496 ## Mail History Id: 28396461, Consumer Id: 974594, Address Id: 14842878 => Updated with Vin: 2GTEC19VX41232746 ## Mail History Id: 28397060, Consumer Id: 973631, Address Id: 14837711 => Updated with Vin: 1GCDS196048222991 ## Mail History Id: 28398486, Consumer Id: 973635, Address Id: 14840730 => Updated with Vin: 2GTEK13T041407015 ## Mail History Id: 28397206, Consumer Id: 974529, Address Id: 14838108 => Updated with Vin: 5GADS13S642336603 ## Mail History Id: 28397426, Consumer Id: 974557, Address Id: 14842199 => Updated with Vin: 1GTEK19TX4E342096 ## Mail History Id: 28397362, Consumer Id: 974806, Address Id: 14843418 => Updated with Vin: 2GCEC19V641265209 ## Mail History Id: 28398484, Consumer Id: 974647, Address Id: 14842914 => Updated with Vin: 2GTEC13T641399676 ## Mail History Id: 28398590, Consumer Id: 968912, Address Id: 14835489 => Updated with Vin: 1G1AL15F277358399 ## Mail History Id: 28396585, Consumer Id: 973178, Address Id: 6757616 => Updated with Vin: 2GCEC19T631255700 ## Mail History Id: 28398382, Consumer Id: 973468, Address Id: 14838552 => Updated with Vin: 3GKEC16Z74G253976 ## Mail History Id: 28396614, Consumer Id: 973410, Address Id: 14838506 => Updated with Vin: 1GKES16S746200427 ## Mail History Id: 28396704, Consumer Id: 974675, Address Id: 14842932 => Updated with Vin: 3G7DA03E15S515576 ## Mail History Id: 28396165, Consumer Id: 973229, Address Id: 14836210 => Updated with Vin: 2G1WW12E649282897 ## Mail History Id: 28397877, Consumer Id: 974910, Address Id: 14843486 => Updated with Vin: 3GKEC16Z15G161215 ## Mail History Id: 28397894, Consumer Id: 974991, Address Id: 14843536 => Updated with Vin: 1GKDS13S552230471 ## Mail History Id: 28397914, Consumer Id: 974616, Address Id: 14842890 => Updated with Vin: 1GNDS13S552120975 ## Mail History Id: 28397260, Consumer Id: 974960, Address Id: 11388014 => Updated with Vin: 2GCEK13T551222055 ## Mail History Id: 28397380, Consumer Id: 974854, Address Id: 14843450 => Updated with Vin: 1G1YY24U355107115 ## Mail History Id: 28397480, Consumer Id: 974676, Address Id: 14842933 => Updated with Vin: 2GTEC13T751145170 ## Mail History Id: 28397940, Consumer Id: 975022, Address Id: 14843556 => Updated with Vin: 1GCEC14V34Z182352 ## Mail History Id: 28398006, Consumer Id: 976310, Address Id: 14844347 => Updated with Vin: 1G4HP52K75U196122 ## Mail History Id: 28396799, Consumer Id: 974992, Address Id: 14843537 => Updated with Vin: 3G7DA03E54S561717 ## Mail History Id: 28397574, Consumer Id: 975286, Address Id: 9122809 => Updated with Vin: 1GNEC13T75R154546 ## Mail History Id: 28396530, Consumer Id: 974873, Address Id: 14843464 => Updated with Vin: 2G2WP522651199380 ## Mail History Id: 28396727, Consumer Id: 974911, Address Id: 14843487 => Updated with Vin: 1GKEK63U25J166642 ## Mail History Id: 28396743, Consumer Id: 975288, Address Id: 14843734 => Updated with Vin: 1GCEC19X15Z265502 ## Mail History Id: 28396884, Consumer Id: 975550, Address Id: 14837045 => Updated with Vin: 1G1AL52F757533089 ## Mail History Id: 28396946, Consumer Id: 960928, Address Id: 14831622 => Updated with Vin: 1GCCS19X138108016 ## Mail History Id: 28396643, Consumer Id: 973008, Address Id: 14843295 => Updated with Vin: 3GNFC160X8G116982 ## Mail History Id: 28396720, Consumer Id: 976604, Address Id: 14840154 => Updated with Vin: 2GCEC13T051326238 ## Mail History Id: 28396293, Consumer Id: 975426, Address Id: 14843820 => Updated with Vin: 2CNDL63F956176809 ## Mail History Id: 28398450, Consumer Id: 975149, Address Id: 14843639 => Updated with Vin: 5Y2SL63885Z449322 ## Mail History Id: 28398038, Consumer Id: 975367, Address Id: 14834919 => Updated with Vin: 1GCHK23235F929500 ## Mail History Id: 28398586, Consumer Id: 960347, Address Id: 14831862 => Updated with Vin: 5Y2SL63855Z449973 ## Mail History Id: 28396962, Consumer Id: 960358, Address Id: 14831870 => Updated with Vin: 2GTEC19VX51306782 ## Mail History Id: 28398482, Consumer Id: 960357, Address Id: 14831869 => Updated with Vin: 3GNEK12Z75G270743 ## Mail History Id: 28397024, Consumer Id: 960417, Address Id: 14831914 => Updated with Vin: 1GTHC23265F938026 ## Mail History Id: 28396557, Consumer Id: 960416, Address Id: 14831913 => Updated with Vin: 2GTEC13T551367139 ## Mail History Id: 28396231, Consumer Id: 960415, Address Id: 14831912 => Updated with Vin: 1GCHC23U75F840057 ## Mail History Id: 28396535, Consumer Id: 960527, Address Id: 10459372 => Updated with Vin: 1G1JH12F627420238 ## Mail History Id: 28396899, Consumer Id: 961323, Address Id: 14834455 => Updated with Vin: 3GNEC16Z75G274931 ## Mail History Id: 28396360, Consumer Id: 961347, Address Id: 14834474 => Updated with Vin: 3GNEC16Z75G236647 ## Mail History Id: 28396261, Consumer Id: 961354, Address Id: 14834480 => Updated with Vin: 3GNEC16Z55G191157 ## Mail History Id: 28396712, Consumer Id: 961531, Address Id: 9159702 => Updated with Vin: 2GCEK13T451382315 ## Mail History Id: 28396647, Consumer Id: 961758, Address Id: 14831141 => Updated with Vin: 1GKFK66U85J150087 ## Mail History Id: 28396355, Consumer Id: 961530, Address Id: 14834609 => Updated with Vin: 2GCEC19T651284701 ## Mail History Id: 28398464, Consumer Id: 961767, Address Id: 10726614 => Updated with Vin: 3G5DA03E75S533606 ## Mail History Id: 28398538, Consumer Id: 962205, Address Id: 9161473 => Updated with Vin: 1GNDS13SX52386704 ## Mail History Id: 28396410, Consumer Id: 962210, Address Id: 9159248 => Updated with Vin: 1GNDS13S352322360 ## Mail History Id: 28396255, Consumer Id: 962207, Address Id: 14835124 => Updated with Vin: 5GADV33L05D203904 ## Mail History Id: 28397204, Consumer Id: 962208, Address Id: 14835125 => Updated with Vin: 5Y2SL63805Z434619 ## Mail History Id: 28398010, Consumer Id: 961764, Address Id: 14834787 => Updated with Vin: 1GMDV23E05D149879 ## Mail History Id: 28397840, Consumer Id: 973015, Address Id: 14834897 => Updated with Vin: 3GNEC12037G128634 ## Mail History Id: 28396611, Consumer Id: 961766, Address Id: 14834789 => Updated with Vin: 3G2JB12F25S102037 ## Mail History Id: 28398532, Consumer Id: 961765, Address Id: 14834788 => Updated with Vin: 1GNDV33L36D120670 ## Mail History Id: 28396728, Consumer Id: 962630, Address Id: 9159743 => Updated with Vin: 1GBJC34205E248045 ## Mail History Id: 28397089, Consumer Id: 962644, Address Id: 14835506 => Updated with Vin: 2G4WC532251275808 ## Mail History Id: 28397842, Consumer Id: 962710, Address Id: 14835557 => Updated with Vin: 2GCEC19V061124624 ## Mail History Id: 28397324, Consumer Id: 962655, Address Id: 14831635 => Updated with Vin: 1G6KD54Y72U250635 ## Mail History Id: 28396521, Consumer Id: 962709, Address Id: 10459271 => Updated with Vin: 2G4WE567551313579 ## Mail History Id: 28396313, Consumer Id: 962708, Address Id: 14835556 => Updated with Vin: 1GCHC29U85E239687 ## Mail History Id: 28396618, Consumer Id: 963045, Address Id: 11386968 => Updated with Vin: 2G2WS522351323684 ## Mail History Id: 28397082, Consumer Id: 962814, Address Id: 9184602 => Updated with Vin: 1GNDV23L75D299272 ## Mail History Id: 28398216, Consumer Id: 962819, Address Id: 11387592 => Updated with Vin: 2GCEC13T861149925 ## Mail History Id: 28396736, Consumer Id: 962816, Address Id: 14835635 => Updated with Vin: 2GTEC13T861175893 ## Mail History Id: 28396972, Consumer Id: 962820, Address Id: 14835638 => Updated with Vin: 1GNEC13Z06R145757 ## Mail History Id: 28396506, Consumer Id: 963046, Address Id: 14835814 => Updated with Vin: 1G2ZM171264205177 ## Mail History Id: 28397312, Consumer Id: 963043, Address Id: 14835813 => Updated with Vin: 2GCEC13T251246102 ## Mail History Id: 28397135, Consumer Id: 963471, Address Id: 14836143 => Updated with Vin: 1GTEC19T36Z198965 ## Mail History Id: 28396488, Consumer Id: 963044, Address Id: 9159377 => Updated with Vin: 1G1ND52F75M119617 ## Mail History Id: 28396475, Consumer Id: 963039, Address Id: 14834777 => Updated with Vin: 1GMDV33L25D223694 ## Mail History Id: 28396251, Consumer Id: 963697, Address Id: 14835552 => Updated with Vin: 1G2ZM171464120616 ## Mail History Id: 28396484, Consumer Id: 965276, Address Id: 9159353 => Updated with Vin: 3GTEC14X26G173727 ## Mail History Id: 28397872, Consumer Id: 963906, Address Id: 14836542 => Updated with Vin: 1G1AK15F267715730 ## Mail History Id: 28396193, Consumer Id: 963904, Address Id: 14836540 => Updated with Vin: 1GMDV33L75D224209 ## Mail History Id: 28398122, Consumer Id: 963695, Address Id: 14836385 => Updated with Vin: 3GNDA13D26S592187 ## Mail History Id: 28396173, Consumer Id: 963698, Address Id: 14831532 => Updated with Vin: 3G5DA03E45S547561 ## Mail History Id: 28396492, Consumer Id: 963696, Address Id: 10443845 => Updated with Vin: 1G2MB33B26Y109293 ## Mail History Id: 28398228, Consumer Id: 963911, Address Id: 10447452 => Updated with Vin: 2CNDL23F866031710 ## Mail History Id: 28397174, Consumer Id: 963912, Address Id: 14836546 => Updated with Vin: 2GTEK63N861294349 ## Mail History Id: 28396443, Consumer Id: 963909, Address Id: 14836545 => Updated with Vin: 2GCEC13T161221662 ## Mail History Id: 28396174, Consumer Id: 963908, Address Id: 14836544 => Updated with Vin: 1GNEC13T66J101630 ## Mail History Id: 28396304, Consumer Id: 963913, Address Id: 14836541 => Updated with Vin: 2CNDL63F566119542 ## Mail History Id: 28396304, Consumer Id: 963905, Address Id: 14836541 => Updated with Vin: 1GTEC19T46Z158121 ## Mail History Id: 28396256, Consumer Id: 963910, Address Id: 14831479 => Updated with Vin: 1GKEC13J17J107834 ## Mail History Id: 28396571, Consumer Id: 964509, Address Id: 9863716 => Updated with Vin: 1GCCS196968242882 ## Mail History Id: 28398550, Consumer Id: 964505, Address Id: 14837042 => Updated with Vin: 1GNFC13J57R147374 ## Mail History Id: 28396894, Consumer Id: 964507, Address Id: 14837044 => Updated with Vin: 2GCEC13T861100918 ## Mail History Id: 28397132, Consumer Id: 964504, Address Id: 14837041 => Updated with Vin: 3G5DA03L46S537189 ## Mail History Id: 28396884, Consumer Id: 964508, Address Id: 14837045 => Updated with Vin: 2CKDL63F566143661 ## Mail History Id: 28396414, Consumer Id: 964627, Address Id: 8059563 => Updated with Vin: 1G2ZM571X64155202 ## Mail History Id: 28397190, Consumer Id: 964625, Address Id: 14837124 => Updated with Vin: 1GKET66M166147254 ## Mail History Id: 28397774, Consumer Id: 964851, Address Id: 14837287 => Updated with Vin: 5GADS13S462166244 ## Mail History Id: 28396590, Consumer Id: 964850, Address Id: 14835451 => Updated with Vin: 1GYEK63N53R107887 ## Mail History Id: 28396478, Consumer Id: 964845, Address Id: 14837283 => Updated with Vin: 1GTEC19V16Z220737 ## Mail History Id: 28398024, Consumer Id: 964626, Address Id: 14837125 => Updated with Vin: 1G1AM55B867707422 ## Mail History Id: 28396459, Consumer Id: 964623, Address Id: 14837122 => Updated with Vin: 3GNDA23D46S650001 ## Mail History Id: 28396245, Consumer Id: 964628, Address Id: 14837126 => Updated with Vin: 1GNFC13077R171540 ## Mail History Id: 28396813, Consumer Id: 977707, Address Id: 14837140 => Updated with Vin: 1GKEK63U54J279872 ## Mail History Id: 28396258, Consumer Id: 967555, Address Id: 14837189 => Updated with Vin: 1GCEC19J37Z509570 ## Mail History Id: 28397150, Consumer Id: 964624, Address Id: 14837123 => Updated with Vin: 2CNDL63FX66002958 ## Mail History Id: 28398352, Consumer Id: 965277, Address Id: 14837571 => Updated with Vin: 1GTEC19T26Z162197 ## Mail History Id: 28397003, Consumer Id: 965278, Address Id: 14837572 => Updated with Vin: 1GNFC13J87R190784 ## Mail History Id: 28396632, Consumer Id: 964847, Address Id: 9159532 => Updated with Vin: 1GNFC13J17R143385 ## Mail History Id: 28397101, Consumer Id: 964848, Address Id: 14837285 => Updated with Vin: 1GCEK19T54E328204 ## Mail History Id: 28396960, Consumer Id: 964853, Address Id: 14837289 => Updated with Vin: 1G1AK15F467813321 ## Mail History Id: 28397054, Consumer Id: 964849, Address Id: 14837286 => Updated with Vin: 1G1AK55F067789896 ## Mail History Id: 28398496, Consumer Id: 964855, Address Id: 14837291 => Updated with Vin: 2G4WC582661294713 ## Mail History Id: 28398328, Consumer Id: 969355, Address Id: 14837385 => Updated with Vin: 1GNFC13J97R417836 ## Mail History Id: 28396671, Consumer Id: 964852, Address Id: 14837288 => Updated with Vin: 2GTEC13V561349324 ## Mail History Id: 28398080, Consumer Id: 964846, Address Id: 14837284 => Updated with Vin: 1GNDS13S962299099 ## Mail History Id: 28396781, Consumer Id: 965390, Address Id: 14837712 => Updated with Vin: 2G1WB58K269218813 ## Mail History Id: 28397844, Consumer Id: 965392, Address Id: 11485756 => Updated with Vin: 1GNFC13J67R218646 ## Mail History Id: 28398374, Consumer Id: 965587, Address Id: 14837853 => Updated with Vin: 1G2ZG558064110390 ## Mail History Id: 28396218, Consumer Id: 965466, Address Id: 9158897 => Updated with Vin: 2GTEC13V361347071 ## Mail History Id: 28397123, Consumer Id: 965467, Address Id: 14834986 => Updated with Vin: 5Y2SL65876Z447737 ## Mail History Id: 28397062, Consumer Id: 965465, Address Id: 14837764 => Updated with Vin: 2GTEC13T861229113 ## Mail History Id: 28396810, Consumer Id: 965468, Address Id: 14837765 => Updated with Vin: 2GCEK13T361153013 ## Mail History Id: 28396824, Consumer Id: 965583, Address Id: 14837850 => Updated with Vin: 1GNFC13J57R111569 ## Mail History Id: 28397626, Consumer Id: 965578, Address Id: 14837846 => Updated with Vin: 2CKDL63FX66093730 ## Mail History Id: 28396550, Consumer Id: 979963, Address Id: 14837993 => Updated with Vin: 2G1WW12M9X9181316 ## Mail History Id: 28396738, Consumer Id: 965469, Address Id: 11387049 => Updated with Vin: 2G1WT58K169140523 ## Mail History Id: 28397761, Consumer Id: 965812, Address Id: 2582516 => Updated with Vin: 1GNDT13S562190779 ## Mail History Id: 28396401, Consumer Id: 965805, Address Id: 14838006 => Updated with Vin: 3GNDA23D17S509209 ## Mail History Id: 28396827, Consumer Id: 965806, Address Id: 14838007 => Updated with Vin: 1GKES16S366153397 ## Mail History Id: 28397133, Consumer Id: 965584, Address Id: 14837851 => Updated with Vin: 2GTEC13Z361326689 ## Mail History Id: 28397941, Consumer Id: 965577, Address Id: 14837845 => Updated with Vin: 2GCEC13T461235748 ## Mail History Id: 28398270, Consumer Id: 965588, Address Id: 14837854 => Updated with Vin: 3G5DA03L26S633662 ## Mail History Id: 28396197, Consumer Id: 965585, Address Id: 14837852 => Updated with Vin: 1GCDS196568257206 ## Mail History Id: 28396828, Consumer Id: 965586, Address Id: 14837844 => Updated with Vin: 1GCHK29U96E283766 ## Mail History Id: 28396631, Consumer Id: 965589, Address Id: 9864226 => Updated with Vin: 1GTEC14V46Z287243 ## Mail History Id: 28397058, Consumer Id: 966246, Address Id: 14838306 => Updated with Vin: 3GNEC12037G119514 ## Mail History Id: 28397758, Consumer Id: 966242, Address Id: 14838302 => Updated with Vin: 1GTGG25V361132490 ## Mail History Id: 28398030, Consumer Id: 966245, Address Id: 14838305 => Updated with Vin: 1GNES16S766119899 ## Mail History Id: 28398184, Consumer Id: 960881, Address Id: 14831583 => Updated with Vin: 1GNEK13Z73R127674 ## Mail History Id: 28396359, Consumer Id: 966248, Address Id: 14838093 => Updated with Vin: 1G1AK55F967720172 ## Mail History Id: 28397799, Consumer Id: 966243, Address Id: 14838303 => Updated with Vin: 1GNFC13J97R226871 ## Mail History Id: 28398402, Consumer Id: 973036, Address Id: 10452613 => Updated with Vin: 2G2WC55CX81159033 ## Mail History Id: 28398582, Consumer Id: 966244, Address Id: 14838304 => Updated with Vin: 1GKFC13087R248736 ## Mail History Id: 28396185, Consumer Id: 966249, Address Id: 14838308 => Updated with Vin: KL1TD56687B050564 ## Mail History Id: 28398296, Consumer Id: 980521, Address Id: 14838437 => Updated with Vin: 1GNES16S146120026 ## Mail History Id: 28397903, Consumer Id: 966247, Address Id: 14838307 => Updated with Vin: 1GNFC13JX7R237085 ## Mail History Id: 28397751, Consumer Id: 965814, Address Id: 14838013 => Updated with Vin: 2G1WU581569188160 ## Mail History Id: 28397624, Consumer Id: 965817, Address Id: 14838016 => Updated with Vin: 1GTDS136368219935 ## Mail History Id: 28397776, Consumer Id: 965807, Address Id: 14838008 => Updated with Vin: 1GNDS13S662285421 ## Mail History Id: 28396591, Consumer Id: 965809, Address Id: 9863868 => Updated with Vin: 1G2ZH558864254346 ## Mail History Id: 28397828, Consumer Id: 965811, Address Id: 14838011 => Updated with Vin: 1GCDS136468198819 ## Mail History Id: 28397043, Consumer Id: 965818, Address Id: 14838017 => Updated with Vin: 1GCHC29DX7E137696 ## Mail History Id: 28396999, Consumer Id: 965816, Address Id: 14838015 => Updated with Vin: 2GCEK13Z471131270 ## Mail History Id: 28398028, Consumer Id: 965810, Address Id: 14838010 => Updated with Vin: 1G2ZH361074108255 ## Mail History Id: 28396862, Consumer Id: 977562, Address Id: 14838568 => Updated with Vin: 2CNDL13F576015606 ## Mail History Id: 28397452, Consumer Id: 966571, Address Id: 14838586 => Updated with Vin: 1GKFC13J27J108575 ## Mail History Id: 28396354, Consumer Id: 966577, Address Id: 14838592 => Updated with Vin: 3GCEC14X67G190693 ## Mail History Id: 28397218, Consumer Id: 966576, Address Id: 14838591 => Updated with Vin: 1GNFK16397R253472 ## Mail History Id: 28396357, Consumer Id: 966575, Address Id: 14838590 => Updated with Vin: 2GTEC13ZX71137247 ## Mail History Id: 28397115, Consumer Id: 966754, Address Id: 14838721 => Updated with Vin: 2CNDL13F966184591 ## Mail History Id: 28396472, Consumer Id: 967000, Address Id: 14838911 => Updated with Vin: 2GCEC13Z671168477 ## Mail History Id: 28397777, Consumer Id: 966994, Address Id: 14838906 => Updated with Vin: 1GCHK23D46F253965 ## Mail History Id: 28397930, Consumer Id: 967001, Address Id: 14838912 => Updated with Vin: 3GNFC16J37G109041 ## Mail History Id: 28396509, Consumer Id: 966741, Address Id: 14838713 => Updated with Vin: 1GKFK66847J239709 ## Mail History Id: 28398380, Consumer Id: 967004, Address Id: 14838915 => Updated with Vin: 1G4HP52KX5U274652 ## Mail History Id: 28398494, Consumer Id: 966995, Address Id: 14838907 => Updated with Vin: 1G4HD57237U128369 ## Mail History Id: 28396684, Consumer Id: 966993, Address Id: 14838905 => Updated with Vin: 1G1AZ55F967835463 ## Mail History Id: 28396808, Consumer Id: 966758, Address Id: 14838725 => Updated with Vin: 2CNDL13F076003573 ## Mail History Id: 28396595, Consumer Id: 966756, Address Id: 14838723 => Updated with Vin: 3GNEC12J57G202712 ## Mail History Id: 28398398, Consumer Id: 966757, Address Id: 14838724 => Updated with Vin: 2GCEC13Z171169536 ## Mail History Id: 28396263, Consumer Id: 967422, Address Id: 14839198 => Updated with Vin: 1GKFC16J17R192949 ## Mail History Id: 28397422, Consumer Id: 966998, Address Id: 14837094 => Updated with Vin: 1GTEC19Z67Z106818 ## Mail History Id: 28397620, Consumer Id: 967002, Address Id: 14838913 => Updated with Vin: 2G1WC581869167886 ## Mail History Id: 28397125, Consumer Id: 966992, Address Id: 14838904 => Updated with Vin: 2GCEC13J771505345 ## Mail History Id: 28396713, Consumer Id: 967005, Address Id: 14838916 => Updated with Vin: 1GNFK13097R325006 ## Mail History Id: 28396814, Consumer Id: 966999, Address Id: 14838910 => Updated with Vin: 2CNDL63F666185632 ## Mail History Id: 28396230, Consumer Id: 966997, Address Id: 14838909 => Updated with Vin: 2GCEC13Z171169472 ## Mail History Id: 28397049, Consumer Id: 966981, Address Id: 14838895 => Updated with Vin: 2CNDL63F966181378 ## Mail History Id: 28398368, Consumer Id: 967006, Address Id: 14838917 => Updated with Vin: 1GTHC23D47F139799 ## Mail History Id: 28397392, Consumer Id: 967557, Address Id: 14839352 => Updated with Vin: 3GNEC12097G158317 ## Mail History Id: 28396677, Consumer Id: 967556, Address Id: 14839351 => Updated with Vin: 1GKER13797J105980 ## Mail History Id: 28396512, Consumer Id: 967680, Address Id: 14839436 => Updated with Vin: 2GTEC13Z171174560 ## Mail History Id: 28396732, Consumer Id: 967911, Address Id: 14839596 => Updated with Vin: 1GNFC13C07R277743 ## Mail History Id: 28397496, Consumer Id: 967666, Address Id: 14839427 => Updated with Vin: 1GKEC13V75R248456 ## Mail History Id: 28396444, Consumer Id: 967925, Address Id: 14839605 => Updated with Vin: 3GNFC16057G164307 ## Mail History Id: 28396266, Consumer Id: 967896, Address Id: 14831813 => Updated with Vin: 3GNDA33P67S599263 ## Mail History Id: 28398196, Consumer Id: 967927, Address Id: 14831599 => Updated with Vin: 1GCEC19JX7Z510697 ## Mail History Id: 28398060, Consumer Id: 967919, Address Id: 14839601 => Updated with Vin: 2GTEC13V971167420 ## Mail History Id: 28397816, Consumer Id: 967917, Address Id: 14839599 => Updated with Vin: 1GNFC13037R274311 ## Mail History Id: 28397827, Consumer Id: 967918, Address Id: 14839600 => Updated with Vin: 1G1ZS58F37F142754 ## Mail History Id: 28396710, Consumer Id: 967679, Address Id: 9159697 => Updated with Vin: 1GCEC19X57Z103018 ## Mail History Id: 28396178, Consumer Id: 967668, Address Id: 14839429 => Updated with Vin: 1GNFC13J37R326075 ## Mail History Id: 28396791, Consumer Id: 967681, Address Id: 14839437 => Updated with Vin: 2GCEC13V571101530 ## Mail History Id: 28397304, Consumer Id: 967670, Address Id: 14839430 => Updated with Vin: 2G1WB58K479129293 ## Mail History Id: 28396362, Consumer Id: 967912, Address Id: 9942110 => Updated with Vin: 3GNEC12067G250615 ## Mail History Id: 28397208, Consumer Id: 967682, Address Id: 14839438 => Updated with Vin: 1GTCS13E178100365 ## Mail History Id: 28397083, Consumer Id: 968326, Address Id: 14839890 => Updated with Vin: 1GKFC13JX7J147771 ## Mail History Id: 28397604, Consumer Id: 967921, Address Id: 14839602 => Updated with Vin: 1GKES63MX72203711 ## Mail History Id: 28397787, Consumer Id: 967894, Address Id: 9257377 => Updated with Vin: 1GKFC16J67J175708 ## Mail History Id: 28396175, Consumer Id: 967914, Address Id: 14839598 => Updated with Vin: 3GNDA13D27S576542 ## Mail History Id: 28397746, Consumer Id: 967916, Address Id: 7105222 => Updated with Vin: 1GKFC16077R325690 ## Mail History Id: 28396892, Consumer Id: 968330, Address Id: 9160018 => Updated with Vin: 1GCEC19J57Z508369 ## Mail History Id: 28398376, Consumer Id: 967913, Address Id: 14839597 => Updated with Vin: 1GNDT13S172109231 ## Mail History Id: 28397829, Consumer Id: 967909, Address Id: 14839595 => Updated with Vin: KL1TD56687B100699 ## Mail History Id: 28397730, Consumer Id: 967893, Address Id: 647735 => Updated with Vin: 3GNDA23D87S603135 ## Mail History Id: 28398222, Consumer Id: 967915, Address Id: 14837923 => Updated with Vin: 5Y2SL65827Z415540 ## Mail History Id: 28396194, Consumer Id: 967902, Address Id: 14839589 => Updated with Vin: 2GCEC13T761189235 ## Mail History Id: 28398446, Consumer Id: 967926, Address Id: 14837608 => Updated with Vin: 1G2ZH18N874137006 ## Mail History Id: 28398086, Consumer Id: 968331, Address Id: 14839892 => Updated with Vin: 3GTEC13J77G515185 ## Mail History Id: 28396373, Consumer Id: 967928, Address Id: 14839606 => Updated with Vin: 1GCEC14C57Z532177 ## Mail History Id: 28396299, Consumer Id: 967922, Address Id: 14839603 => Updated with Vin: 1GKDT13S172122817 ## Mail History Id: 28398522, Consumer Id: 967923, Address Id: 14839604 => Updated with Vin: 2GCEC13TX51205040 ## Mail History Id: 28397837, Consumer Id: 967924, Address Id: 11386198 => Updated with Vin: 2G1WL52M0X9186470 ## Mail History Id: 28397027, Consumer Id: 967899, Address Id: 14831531 => Updated with Vin: 3GNFC16J37G163617 ## Mail History Id: 28396342, Consumer Id: 968485, Address Id: 14840026 => Updated with Vin: 1GNDV33157D176299 ## Mail History Id: 28398210, Consumer Id: 968511, Address Id: 14840041 => Updated with Vin: 3GNDA23D17S535616 ## Mail History Id: 28396503, Consumer Id: 980486, Address Id: 14840138 => Updated with Vin: 3GNEC16T51G189060 ## Mail History Id: 28397388, Consumer Id: 968939, Address Id: 14840291 => Updated with Vin: 5GAER23748J104045 ## Mail History Id: 28397778, Consumer Id: 968697, Address Id: 14840158 => Updated with Vin: 2CNDL13FX76035107 ## Mail History Id: 28397456, Consumer Id: 968691, Address Id: 14840156 => Updated with Vin: 1GCCS199378103178 ## Mail History Id: 28396669, Consumer Id: 968933, Address Id: 14840317 => Updated with Vin: 2CKDL63F776030750 ## Mail History Id: 28396772, Consumer Id: 968936, Address Id: 14840319 => Updated with Vin: 2GCEC19C571544525 ## Mail History Id: 28398012, Consumer Id: 968699, Address Id: 14840159 => Updated with Vin: 1GKER13777J143434 ## Mail History Id: 28396621, Consumer Id: 968932, Address Id: 14831125 => Updated with Vin: 5GADV33187D105608 ## Mail History Id: 28396572, Consumer Id: 973344, Address Id: 14837646 => Updated with Vin: 2GCEK13T141288293 ## Mail History Id: 28396172, Consumer Id: 968698, Address Id: 9158799 => Updated with Vin: KL1TD56627B143404 ## Mail History Id: 28396380, Consumer Id: 968701, Address Id: 14840161 => Updated with Vin: 3GNEC16ZX5G145386 ## Mail History Id: 28396749, Consumer Id: 969353, Address Id: 14840611 => Updated with Vin: 1G2ZH558964151078 ## Mail History Id: 28397238, Consumer Id: 968906, Address Id: 14831941 => Updated with Vin: 5GADV33127D121397 ## Mail History Id: 28397800, Consumer Id: 969354, Address Id: 14840612 => Updated with Vin: 2G2WR554971189307 ## Mail History Id: 28397050, Consumer Id: 968935, Address Id: 12057404 => Updated with Vin: 1G6DM57N430113252 ## Mail History Id: 28396402, Consumer Id: 968934, Address Id: 14840318 => Updated with Vin: 2G2FV22G212137396 ## Mail History Id: 28396400, Consumer Id: 969540, Address Id: 11386810 => Updated with Vin: 2GCEC19J571718415 ## Mail History Id: 28396885, Consumer Id: 969542, Address Id: 14840785 => Updated with Vin: 2G4WC582871243845 ## Mail History Id: 28397664, Consumer Id: 969541, Address Id: 14840784 => Updated with Vin: 1GKFC13047R328356 ## Mail History Id: 28397252, Consumer Id: 969719, Address Id: 14835762 => Updated with Vin: 1GTEC19C67Z558411 ## Mail History Id: 28398360, Consumer Id: 969722, Address Id: 14840915 => Updated with Vin: 2CNDL63F076020824 ## Mail History Id: 28396315, Consumer Id: 969720, Address Id: 14840914 => Updated with Vin: 1GKDS13S272295989 ## Mail History Id: 28397482, Consumer Id: 969597, Address Id: 14840826 => Updated with Vin: 2CNDL13F276094121 ## Mail History Id: 28396794, Consumer Id: 969598, Address Id: 14840827 => Updated with Vin: 2GCEC130771727021 ## Mail History Id: 28397654, Consumer Id: 969599, Address Id: 14840828 => Updated with Vin: 1G1YY25W785100740 ## Mail History Id: 28397166, Consumer Id: 969943, Address Id: 14841067 => Updated with Vin: 1GNDV33177D108571 ## Mail History Id: 28397139, Consumer Id: 969928, Address Id: 14841058 => Updated with Vin: 3GNDA23D27S600179 ## Mail History Id: 28396865, Consumer Id: 970357, Address Id: 10072435 => Updated with Vin: 2GCFC13Y171560990 ## Mail History Id: 28397077, Consumer Id: 969942, Address Id: 14839534 => Updated with Vin: 1GNDV33127D124953 ## Mail History Id: 28396528, Consumer Id: 969951, Address Id: 14841073 => Updated with Vin: 2G1WU58R379264045 ## Mail History Id: 28396260, Consumer Id: 969959, Address Id: 14841080 => Updated with Vin: 2GCEC19CX71573177 ## Mail History Id: 28398110, Consumer Id: 969946, Address Id: 14841070 => Updated with Vin: 2GCEC13C071723192 ## Mail History Id: 28396915, Consumer Id: 969944, Address Id: 14841068 => Updated with Vin: 3GCEC13JX7G518145 ## Mail History Id: 28396731, Consumer Id: 969718, Address Id: 14840913 => Updated with Vin: 1GKDT13S172181933 ## Mail History Id: 28397336, Consumer Id: 969710, Address Id: 14838235 => Updated with Vin: 2GCEK19JX71607541 ## Mail History Id: 28397814, Consumer Id: 969725, Address Id: 14840918 => Updated with Vin: 3GNEC12067G312160 ## Mail History Id: 28396309, Consumer Id: 969721, Address Id: 14840168 => Updated with Vin: 1G1AL55F477242323 ## Mail History Id: 28396345, Consumer Id: 969713, Address Id: 14840910 => Updated with Vin: 3GNDA13D17S635435 ## Mail History Id: 28397153, Consumer Id: 969727, Address Id: 14840920 => Updated with Vin: 1GKER33767J115524 ## Mail History Id: 28397330, Consumer Id: 969723, Address Id: 14840916 => Updated with Vin: 1GNFC13C47J401141 ## Mail History Id: 28396881, Consumer Id: 969717, Address Id: 14840912 => Updated with Vin: 1GKER337X8J117925 ## Mail History Id: 28398544, Consumer Id: 969712, Address Id: 14837607 => Updated with Vin: 2GTEC13J671725186 ## Mail History Id: 28397170, Consumer Id: 969716, Address Id: 14840911 => Updated with Vin: 3GNDA13D57S636524 ## Mail History Id: 28397846, Consumer Id: 969947, Address Id: 14841071 => Updated with Vin: 2GCEC19JX71615989 ## Mail History Id: 28396308, Consumer Id: 969949, Address Id: 11386683 => Updated with Vin: 2CNDL13F156204637 ## Mail History Id: 28396709, Consumer Id: 970381, Address Id: 14841375 => Updated with Vin: KL1TD56667B060798 ## Mail History Id: 28396579, Consumer Id: 970379, Address Id: 14841373 => Updated with Vin: 1GKFC16007R216598 ## Mail History Id: 28397038, Consumer Id: 970374, Address Id: 14841370 => Updated with Vin: 1GCHK236X7F562505 ## Mail History Id: 28398562, Consumer Id: 970383, Address Id: 14841377 => Updated with Vin: 2GTEC19J571620811 ## Mail History Id: 28397596, Consumer Id: 970382, Address Id: 14841376 => Updated with Vin: KL1TD56697B117172 ## Mail History Id: 28396821, Consumer Id: 959873, Address Id: 14831089 => Updated with Vin: 2GCEC19Z8R1161170 ## Mail History Id: 28396307, Consumer Id: 969956, Address Id: 11388886 => Updated with Vin: 3GTEK13M37G535799 ## Mail History Id: 28397194, Consumer Id: 969950, Address Id: 12057001 => Updated with Vin: 1GNFC13027R430919 ## Mail History Id: 28397676, Consumer Id: 969958, Address Id: 14841079 => Updated with Vin: 1GKEV33758J111641 ## Mail History Id: 28398316, Consumer Id: 970375, Address Id: 14841371 => Updated with Vin: 2CKDL63F366167957 ## Mail History Id: 28397048, Consumer Id: 969925, Address Id: 14841056 => Updated with Vin: 1GKER237X8J137361 ## Mail History Id: 28398054, Consumer Id: 969938, Address Id: 14841064 => Updated with Vin: 2G1WC58R879333170 ## Mail History Id: 28397734, Consumer Id: 970378, Address Id: 14838317 => Updated with Vin: 2GCEC19J971731216 ## Mail History Id: 28397490, Consumer Id: 969935, Address Id: 14841062 => Updated with Vin: 2G1WU58R779123026 ## Mail History Id: 28398026, Consumer Id: 969930, Address Id: 14841059 => Updated with Vin: 1G4HD57287U178426 ## Mail History Id: 28398094, Consumer Id: 969945, Address Id: 14841069 => Updated with Vin: 1GNEC13V33J316413 ## Mail History Id: 28396823, Consumer Id: 969936, Address Id: 14841063 => Updated with Vin: 1GTEK19057Z626853 ## Mail History Id: 28396744, Consumer Id: 969940, Address Id: 2611900 => Updated with Vin: 1GNEC13Z24R308776 ## Mail History Id: 28396967, Consumer Id: 969932, Address Id: 14841060 => Updated with Vin: 3GNEC12J47G307306 ## Mail History Id: 28397884, Consumer Id: 969954, Address Id: 14841076 => Updated with Vin: 1GNDT13S372227152 ## Mail History Id: 28398004, Consumer Id: 969957, Address Id: 14841078 => Updated with Vin: 1GTEC19J37Z540821 ## Mail History Id: 28397990, Consumer Id: 969948, Address Id: 14841072 => Updated with Vin: 2G4WC582171190535 ## Mail History Id: 28396544, Consumer Id: 969952, Address Id: 14841074 => Updated with Vin: 1GKER337X8J121876 ## Mail History Id: 28398300, Consumer Id: 969937, Address Id: 14831104 => Updated with Vin: 1GKDS13S872142839 ## Mail History Id: 28397630, Consumer Id: 969941, Address Id: 14841066 => Updated with Vin: 1G1ZT58F77F136310 ## Mail History Id: 28396917, Consumer Id: 969955, Address Id: 14841077 => Updated with Vin: 3GNDA33P28S552524 ## Mail History Id: 28396383, Consumer Id: 969953, Address Id: 14841075 => Updated with Vin: 3GCEK13Y07G541630 ## Mail History Id: 28397091, Consumer Id: 970603, Address Id: 14841583 => Updated with Vin: 3G5DA03L77S504303 ## Mail History Id: 28397738, Consumer Id: 970628, Address Id: 14841602 => Updated with Vin: KL1TD66627B755785 ## Mail History Id: 28397097, Consumer Id: 970640, Address Id: 14841609 => Updated with Vin: 1GCEC14X67Z611313 ## Mail History Id: 28396868, Consumer Id: 970636, Address Id: 1803047 => Updated with Vin: 1G1AL55F777287739 ## Mail History Id: 28396481, Consumer Id: 970637, Address Id: 9862885 => Updated with Vin: 1GTEK19037Z648706 ## Mail History Id: 28398066, Consumer Id: 970696, Address Id: 14841646 => Updated with Vin: 5GAER23748J149728 ## Mail History Id: 28397880, Consumer Id: 970694, Address Id: 14841645 => Updated with Vin: 1GNFC13J67R408933 ## Mail History Id: 28397404, Consumer Id: 970695, Address Id: 12057226 => Updated with Vin: 2GCFK13Y771685897 ## Mail History Id: 28396553, Consumer Id: 970699, Address Id: 10459548 => Updated with Vin: 1GCHC23697F506407 ## Mail History Id: 28397148, Consumer Id: 970698, Address Id: 14841647 => Updated with Vin: 1GTCS139188120023 ## Mail History Id: 28396586, Consumer Id: 970701, Address Id: 14837531 => Updated with Vin: 1GNFC13097R218891 ## Mail History Id: 28397462, Consumer Id: 970697, Address Id: 11189210 => Updated with Vin: 3GNEC12068G105057 ## Mail History Id: 28396460, Consumer Id: 970700, Address Id: 14835263 => Updated with Vin: 1GNFC13C47J404315 ## Mail History Id: 28396412, Consumer Id: 970879, Address Id: 9159254 => Updated with Vin: 2G1WC58R479175023 ## Mail History Id: 28396573, Consumer Id: 970702, Address Id: 14841648 => Updated with Vin: 1G4HD57238U123643 ## Mail History Id: 28397018, Consumer Id: 971297, Address Id: 14836982 => Updated with Vin: 1GTEC14X98Z159956 ## Mail History Id: 28397988, Consumer Id: 971298, Address Id: 14836693 => Updated with Vin: 1G4HP57288U134418 ## Mail History Id: 28398284, Consumer Id: 971040, Address Id: 14841871 => Updated with Vin: 1G2ZH58N574114810 ## Mail History Id: 28396582, Consumer Id: 977767, Address Id: 14841860 => Updated with Vin: 2GCEC13T661146327 ## Mail History Id: 28396183, Consumer Id: 971201, Address Id: 14841989 => Updated with Vin: 2G1WB58K689198732 ## Mail History Id: 28397919, Consumer Id: 971075, Address Id: 14841896 => Updated with Vin: 1GCHK236X8F135293 ## Mail History Id: 28397006, Consumer Id: 971032, Address Id: 14841865 => Updated with Vin: 1G1ND52J8Y6165003 ## Mail History Id: 28396225, Consumer Id: 971061, Address Id: 10456032 => Updated with Vin: 1GNFC13J77R414644 ## Mail History Id: 28396192, Consumer Id: 970800, Address Id: 9158863 => Updated with Vin: 1G1AK55F867731079 ## Mail History Id: 28396290, Consumer Id: 970810, Address Id: 14841718 => Updated with Vin: 1GCEC14X98Z147189 ## Mail History Id: 28397052, Consumer Id: 979701, Address Id: 12057357 => Updated with Vin: 1G4HP57228U138397 ## Mail History Id: 28396398, Consumer Id: 971080, Address Id: 14841900 => Updated with Vin: 1GKER23707J102200 ## Mail History Id: 28396298, Consumer Id: 970814, Address Id: 11386667 => Updated with Vin: 1G2ZF55B064197304 ## Mail History Id: 28398444, Consumer Id: 970813, Address Id: 14841720 => Updated with Vin: 1G1AK55F967820790 ## Mail History Id: 28398378, Consumer Id: 970799, Address Id: 14841711 => Updated with Vin: 1G2ZH58N174228478 ## Mail History Id: 28398310, Consumer Id: 970848, Address Id: 14841745 => Updated with Vin: 2CNDL33F686027759 ## Mail History Id: 28398018, Consumer Id: 971078, Address Id: 14841898 => Updated with Vin: 1GNFK130X7R176623 ## Mail History Id: 28398564, Consumer Id: 971203, Address Id: 9254449 => Updated with Vin: 5GADV33167D115134 ## Mail History Id: 28397232, Consumer Id: 971474, Address Id: 14837277 => Updated with Vin: 1GTHK23638F161234 ## Mail History Id: 28397804, Consumer Id: 971064, Address Id: 14841889 => Updated with Vin: 1G4HD57227U138049 ## Mail History Id: 28396765, Consumer Id: 971079, Address Id: 14841899 => Updated with Vin: 1GCHC33687F560870 ## Mail History Id: 28397173, Consumer Id: 971046, Address Id: 14841875 => Updated with Vin: 1G1ZH57B98F164515 ## Mail History Id: 28396703, Consumer Id: 971204, Address Id: 14841991 => Updated with Vin: 2G4WD582471246710 ## Mail History Id: 28398046, Consumer Id: 971077, Address Id: 14841897 => Updated with Vin: 3GNFC16098G162187 ## Mail History Id: 28396346, Consumer Id: 971202, Address Id: 14841990 => Updated with Vin: 2G1WT58KX89135114 ## Mail History Id: 28396970, Consumer Id: 971067, Address Id: 14841891 => Updated with Vin: 2GCEC13J181184212 ## Mail History Id: 28396486, Consumer Id: 971074, Address Id: 10443785 => Updated with Vin: 5GAER23798J196821 ## Mail History Id: 28397144, Consumer Id: 971076, Address Id: 7086411 => Updated with Vin: 2GCEC13T651215869 ## Mail History Id: 28396534, Consumer Id: 971062, Address Id: 14835198 => Updated with Vin: KL1TG56608B054276 ## Mail History Id: 28397308, Consumer Id: 971065, Address Id: 9185673 => Updated with Vin: 1B3ES56C04D508564 ## Mail History Id: 28396404, Consumer Id: 971066, Address Id: 14841890 => Updated with Vin: 3GCEC13J88G191231 ## Mail History Id: 28398240, Consumer Id: 971200, Address Id: 14841988 => Updated with Vin: 1GCHK23648F139484 ## Mail History Id: 28397796, Consumer Id: 971516, Address Id: 14838635 => Updated with Vin: 1GNFC13098R147905 ## Mail History Id: 28396741, Consumer Id: 971536, Address Id: 14842235 => Updated with Vin: 3GNFK16Z34G215185 ## Mail History Id: 28397290, Consumer Id: 971537, Address Id: 11388080 => Updated with Vin: 3GNFK12318G199415 ## Mail History Id: 28396685, Consumer Id: 971716, Address Id: 8066169 => Updated with Vin: 1GCCS13E388119839 ## Mail History Id: 28397986, Consumer Id: 971545, Address Id: 14842242 => Updated with Vin: 1GNDV23L46D124365 ## Mail History Id: 28397446, Consumer Id: 971558, Address Id: 14842252 => Updated with Vin: 2CNDL13F186005916 ## Mail History Id: 28397944, Consumer Id: 966069, Address Id: 11386526 => Updated with Vin: 1GKFC13J27R211688 ## Mail History Id: 28396389, Consumer Id: 971692, Address Id: 14840217 => Updated with Vin: 1GKFC13J27R211688 ## Mail History Id: 28397075, Consumer Id: 971609, Address Id: 7087077 => Updated with Vin: 1GKER237X8J203326 ## Mail History Id: 28396819, Consumer Id: 971693, Address Id: 14842339 => Updated with Vin: 3GNDA13D38S606293 ## Mail History Id: 28397696, Consumer Id: 971695, Address Id: 14842046 => Updated with Vin: 2CNDL63F956143051 ## Mail History Id: 28396610, Consumer Id: 971897, Address Id: 14842474 => Updated with Vin: 1G1AL55F777214225 ## Mail History Id: 28398436, Consumer Id: 971857, Address Id: 14842447 => Updated with Vin: 1GBDS14E678134910 ## Mail History Id: 28396716, Consumer Id: 971723, Address Id: 9159704 => Updated with Vin: 3GNDA33D18S586542 ## Mail History Id: 28396479, Consumer Id: 971616, Address Id: 14842290 => Updated with Vin: 1GKFK668X8J170848 ## Mail History Id: 28396575, Consumer Id: 971669, Address Id: 14842327 => Updated with Vin: 1G1AK15FX67731450 ## Mail History Id: 28397885, Consumer Id: 971673, Address Id: 14838019 => Updated with Vin: 4T1SK12E8SU487831 ## Mail History Id: 28396612, Consumer Id: 971675, Address Id: 14831115 => Updated with Vin: 1GCEK19JX8Z136628 ## Mail History Id: 28397726, Consumer Id: 971719, Address Id: 14842354 => Updated with Vin: 2GTEC13J481194605 ## Mail History Id: 28396959, Consumer Id: 972358, Address Id: 14835039 => Updated with Vin: 1GKER13708J208612 ## Mail History Id: 28397284, Consumer Id: 972234, Address Id: 9185629 => Updated with Vin: 3GCEC13J88G134446 ## Mail History Id: 28396634, Consumer Id: 972244, Address Id: 14842719 => Updated with Vin: 1GTHC29215E279432 ## Mail History Id: 28397051, Consumer Id: 972254, Address Id: 14840966 => Updated with Vin: 2G1WD58C989126250 ## Mail History Id: 28397220, Consumer Id: 972263, Address Id: 14842729 => Updated with Vin: 1GCHC23698F116408 ## Mail History Id: 28398188, Consumer Id: 972280, Address Id: 14842740 => Updated with Vin: 3GTEC13J37G553545 ## Mail History Id: 28396337, Consumer Id: 972304, Address Id: 14836060 => Updated with Vin: 2CKDL63F376244232 ## Mail History Id: 28397177, Consumer Id: 971817, Address Id: 14842423 => Updated with Vin: 5Y2SL65827Z439045 ## Mail History Id: 28397552, Consumer Id: 972359, Address Id: 14842785 => Updated with Vin: 1GCEC19J08Z139275 ## Mail History Id: 28397564, Consumer Id: 972373, Address Id: 14842796 => Updated with Vin: 1GNFC13C58R188543 ## Mail History Id: 28396708, Consumer Id: 972218, Address Id: 10444234 => Updated with Vin: 5Y2SL65887Z425036 ## Mail History Id: 28396270, Consumer Id: 971732, Address Id: 14842363 => Updated with Vin: 1GTEC19J88Z114642 ## Mail History Id: 28396851, Consumer Id: 972001, Address Id: 14842544 => Updated with Vin: 1GBJG31U371157582 ## Mail History Id: 28398338, Consumer Id: 971751, Address Id: 14842377 => Updated with Vin: 2CNDL13F976005791 ## Mail History Id: 28396379, Consumer Id: 971752, Address Id: 14842378 => Updated with Vin: 2GCEC13C571617806 ## Mail History Id: 28396210, Consumer Id: 968937, Address Id: 11386590 => Updated with Vin: 2GCEC19V021279474 ## Mail History Id: 28398272, Consumer Id: 971761, Address Id: 14842384 => Updated with Vin: 1GNFC16018R116112 ## Mail History Id: 28398326, Consumer Id: 971766, Address Id: 14842388 => Updated with Vin: 1GNDV33197D172420 ## Mail History Id: 28397105, Consumer Id: 971768, Address Id: 14842390 => Updated with Vin: 1G1AZ55F877159542 ## Mail History Id: 28397906, Consumer Id: 971812, Address Id: 14842419 => Updated with Vin: 2GCEC13J381187340 ## Mail History Id: 28396869, Consumer Id: 971724, Address Id: 14842358 => Updated with Vin: 2GCEC19J781224106 ## Mail History Id: 28398252, Consumer Id: 971813, Address Id: 14842420 => Updated with Vin: 1GKES16S536183822 ## Mail History Id: 28396274, Consumer Id: 971721, Address Id: 14842356 => Updated with Vin: 1GCHC296X8E182608 ## Mail History Id: 28398356, Consumer Id: 971818, Address Id: 14842424 => Updated with Vin: 5GAER23798J118426 ## Mail History Id: 28398488, Consumer Id: 971834, Address Id: 14842435 => Updated with Vin: 1GCEC14J88Z174914 ## Mail History Id: 28396332, Consumer Id: 972459, Address Id: 14842857 => Updated with Vin: 2G1WF52EX59168197 ## Mail History Id: 28398150, Consumer Id: 972464, Address Id: 14842860 => Updated with Vin: 3GTEC13J78G214160 ## Mail History Id: 28397594, Consumer Id: 972472, Address Id: 14842867 => Updated with Vin: 1G1AK58F287203942 ## Mail History Id: 28396855, Consumer Id: 972476, Address Id: 14842869 => Updated with Vin: 2G2WP552271233782 ## Mail History Id: 28397454, Consumer Id: 972401, Address Id: 14842818 => Updated with Vin: 1GNFC13C67J405062 ## Mail History Id: 28397145, Consumer Id: 972178, Address Id: 14842674 => Updated with Vin: 2G1WJ15K479152685 ## Mail History Id: 28396552, Consumer Id: 972187, Address Id: 14842683 => Updated with Vin: 2GTEC13JX81263541 ## Mail History Id: 28396852, Consumer Id: 966241, Address Id: 14831624 => Updated with Vin: 2G4WS52JX51108995 ## Mail History Id: 28397600, Consumer Id: 971949, Address Id: 10280070 => Updated with Vin: 1G2ZH58N174216301 ## Mail History Id: 28397961, Consumer Id: 972197, Address Id: 14842690 => Updated with Vin: 3GTEC13J78G208567 ## Mail History Id: 28396688, Consumer Id: 972203, Address Id: 14842695 => Updated with Vin: 1G8ZS57N37F202882 ## Mail History Id: 28398454, Consumer Id: 972206, Address Id: 14842697 => Updated with Vin: 1FTPW12V67KB54688 ## Mail History Id: 28397754, Consumer Id: 972408, Address Id: 14842822 => Updated with Vin: 1GNDV33117D109893 ## Mail History Id: 28396842, Consumer Id: 972411, Address Id: 9159951 => Updated with Vin: 1J4GZ78Y8VC686778 ## Mail History Id: 28396456, Consumer Id: 972424, Address Id: 14842835 => Updated with Vin: 2G1WD58C789125520 ## Mail History Id: 28396919, Consumer Id: 972435, Address Id: 14842844 => Updated with Vin: 2G1WD58C389134652 ## Mail History Id: 28396538, Consumer Id: 972436, Address Id: 14842845 => Updated with Vin: 1G2ZH58N074190676 ## Mail History Id: 28396372, Consumer Id: 972438, Address Id: 11386746 => Updated with Vin: 3GNDA13D08S608115 ## Mail History Id: 28397760, Consumer Id: 960949, Address Id: 14831637 => Updated with Vin: 2G4WS52J921188107 ## Mail History Id: 28397783, Consumer Id: 972403, Address Id: 9175419 => Updated with Vin: 2GCEC19T661112377 ## Mail History Id: 28396272, Consumer Id: 972449, Address Id: 14842851 => Updated with Vin: 1GNFC130X8R153440 ## Mail History Id: 28396330, Consumer Id: 972451, Address Id: 14842853 => Updated with Vin: 1G2AL18FX87240402 ## Mail History Id: 28397899, Consumer Id: 972452, Address Id: 14840624 => Updated with Vin: 1GCHC24K58E106153 ## Mail History Id: 28396891, Consumer Id: 972136, Address Id: 14842645 => Updated with Vin: 1GNFC13018R208759 ## Mail History Id: 28397752, Consumer Id: 972147, Address Id: 14842655 => Updated with Vin: 1GNFC13058R194350 ## Mail History Id: 28396501, Consumer Id: 972149, Address Id: 14842656 => Updated with Vin: 2G2WP552671130526 ## Mail History Id: 28397127, Consumer Id: 972157, Address Id: 14842661 => Updated with Vin: 1G6KD57Y86U112328 ## Mail History Id: 28397918, Consumer Id: 971987, Address Id: 14840214 => Updated with Vin: KL1TD526X5B395548 ## Mail History Id: 28396763, Consumer Id: 971997, Address Id: 14842541 => Updated with Vin: 1FAHP56S72A258121 ## Mail History Id: 28398406, Consumer Id: 972003, Address Id: 14842546 => Updated with Vin: 1FMZU73K14ZA10955 ## Mail History Id: 28398040, Consumer Id: 971978, Address Id: 14834703 => Updated with Vin: 2GCEC13T351218776 ## Mail History Id: 28396587, Consumer Id: 972010, Address Id: 14842553 => Updated with Vin: 1G2MG35X98Y106775 ## Mail History Id: 28397850, Consumer Id: 972016, Address Id: 10462310 => Updated with Vin: 1G1AL55F677236216 ## Mail History Id: 28397159, Consumer Id: 972017, Address Id: 14842557 => Updated with Vin: 1G2ZF57B184116018 ## Mail History Id: 28397095, Consumer Id: 972022, Address Id: 14842560 => Updated with Vin: 3C8FY68B12T210994 ## Mail History Id: 28397795, Consumer Id: 972023, Address Id: 9930151 => Updated with Vin: 1G1AK58F387166240 ## Mail History Id: 28397791, Consumer Id: 972024, Address Id: 4823589 => Updated with Vin: 2GCEC13CX81173226 ## Mail History Id: 28397887, Consumer Id: 972537, Address Id: 14842984 => Updated with Vin: 1GKFC13C28R121685 ## Mail History Id: 28397117, Consumer Id: 972025, Address Id: 14842561 => Updated with Vin: 1GKFC13C58J120495 ## Mail History Id: 28397033, Consumer Id: 972026, Address Id: 14842562 => Updated with Vin: 2GCEC19JX81203055 ## Mail History Id: 28398548, Consumer Id: 972027, Address Id: 14842563 => Updated with Vin: 5Y2SL65808Z414033 ## Mail History Id: 28397704, Consumer Id: 972028, Address Id: 14842564 => Updated with Vin: 1GNFK13098R118827 ## Mail History Id: 28396809, Consumer Id: 972029, Address Id: 14842565 => Updated with Vin: 19UUA66276A018199 ## Mail History Id: 28397981, Consumer Id: 972030, Address Id: 14842566 => Updated with Vin: 1GNFC130X8R154832 ## Mail History Id: 28396232, Consumer Id: 972031, Address Id: 9942103 => Updated with Vin: 1FAFP34NX7W255202 ## Mail History Id: 28396240, Consumer Id: 972032, Address Id: 9158927 => Updated with Vin: 1FTRW12WX4KC42110 ## Mail History Id: 28396195, Consumer Id: 972033, Address Id: 14842567 => Updated with Vin: JM1NB354740405386 ## Mail History Id: 28397967, Consumer Id: 972034, Address Id: 14841922 => Updated with Vin: 1GCEK14X08Z116299 ## Mail History Id: 28397432, Consumer Id: 972035, Address Id: 921836 => Updated with Vin: 1GBJG31U371158652 ## Mail History Id: 28397710, Consumer Id: 972036, Address Id: 8036394 => Updated with Vin: 1GTEC19048E194472 ## Mail History Id: 28397572, Consumer Id: 972038, Address Id: 14842568 => Updated with Vin: 1D7HA18P17S175580 ## Mail History Id: 28396968, Consumer Id: 972039, Address Id: 14842569 => Updated with Vin: KM8SC13D22U308928 ## Mail History Id: 28397684, Consumer Id: 972040, Address Id: 9169313 => Updated with Vin: 1G4HE57Y78U121959 ## Mail History Id: 28397744, Consumer Id: 971975, Address Id: 14842527 => Updated with Vin: 2GCEC13V361319335 ## Mail History Id: 28398138, Consumer Id: 972041, Address Id: 9247414 => Updated with Vin: 1GCHC23K08F119727 ## Mail History Id: 28396896, Consumer Id: 972042, Address Id: 14831261 => Updated with Vin: 1G2WR52141F179892 ## Mail History Id: 28397855, Consumer Id: 972043, Address Id: 14842570 => Updated with Vin: 1G4HE57Y48U152800 ## Mail History Id: 28396985, Consumer Id: 972044, Address Id: 14842571 => Updated with Vin: 2B3KA43RX7H725331 ## Mail History Id: 28397122, Consumer Id: 971976, Address Id: 9252685 => Updated with Vin: 1G4HE57Y17U158570 ## Mail History Id: 28396705, Consumer Id: 972045, Address Id: 8326959 => Updated with Vin: 1GCEC14X38Z176624 ## Mail History Id: 28398206, Consumer Id: 972046, Address Id: 14842572 => Updated with Vin: 1GCEC19J88Z183752 ## Mail History Id: 28397204, Consumer Id: 972047, Address Id: 14835125 => Updated with Vin: 1G1ZG57B88F218986 ## Mail History Id: 28397782, Consumer Id: 971961, Address Id: 9253846 => Updated with Vin: 1GNDS13S282113096 ## Mail History Id: 28397602, Consumer Id: 972048, Address Id: 1135448 => Updated with Vin: 2T1BR32E57C829039 ## Mail History Id: 28398220, Consumer Id: 972049, Address Id: 14842573 => Updated with Vin: 2GTEC13J681244775 ## Mail History Id: 28397818, Consumer Id: 972050, Address Id: 9145455 => Updated with Vin: 5Y2SL658X8Z400043 ## Mail History Id: 28396977, Consumer Id: 972051, Address Id: 14837609 => Updated with Vin: 1G4HR57Y67U167978 ## Mail History Id: 28397578, Consumer Id: 972851, Address Id: 14843192 => Updated with Vin: 1GNEC13T95R122147 ## Mail History Id: 28396678, Consumer Id: 972052, Address Id: 14842574 => Updated with Vin: 1GCHC23D47F133548 ## Mail History Id: 28397540, Consumer Id: 972852, Address Id: 14843193 => Updated with Vin: 2CNDL63F756080872 ## Mail History Id: 28397743, Consumer Id: 972053, Address Id: 14842575 => Updated with Vin: 2GCEC13C681116697 ## Mail History Id: 28398190, Consumer Id: 972054, Address Id: 14842576 => Updated with Vin: 1GTEC14X68Z193787 ## Mail History Id: 28396499, Consumer Id: 972055, Address Id: 10459093 => Updated with Vin: 1J4FX58SXWC268080 ## Mail History Id: 28397805, Consumer Id: 971962, Address Id: 14842522 => Updated with Vin: 3GNFK16338G131076 ## Mail History Id: 28396878, Consumer Id: 972056, Address Id: 14842577 => Updated with Vin: 1GNEC13Z73R234172 ## Mail History Id: 28398148, Consumer Id: 972057, Address Id: 14842578 => Updated with Vin: 1G4HE57Y48U123877 ## Mail History Id: 28396617, Consumer Id: 972058, Address Id: 14842579 => Updated with Vin: 2GTEC13C581208531 ## Mail History Id: 28397748, Consumer Id: 972059, Address Id: 14842580 => Updated with Vin: 2CKDL33F886008529 ## Mail History Id: 28398580, Consumer Id: 972060, Address Id: 14842581 => Updated with Vin: 1GNFC13028R148541 ## Mail History Id: 28397154, Consumer Id: 972061, Address Id: 14842582 => Updated with Vin: 2CNDL63F576107165 ## Mail History Id: 28396525, Consumer Id: 972062, Address Id: 14842583 => Updated with Vin: 1G8AJ55F37Z162667 ## Mail History Id: 28398530, Consumer Id: 972063, Address Id: 14842584 => Updated with Vin: 1G4HD57207U227957 ## Mail History Id: 28396489, Consumer Id: 972064, Address Id: 14842585 => Updated with Vin: 1GKER33748J242225 ## Mail History Id: 28398274, Consumer Id: 972065, Address Id: 14842586 => Updated with Vin: 3GTEC13J78G212697 ## Mail History Id: 28398160, Consumer Id: 972066, Address Id: 14842587 => Updated with Vin: 3GNDA33D38S624093 ## Mail History Id: 28396666, Consumer Id: 971953, Address Id: 14842515 => Updated with Vin: 3GCEC13C08G244778 ## Mail History Id: 28396542, Consumer Id: 972067, Address Id: 14842588 => Updated with Vin: 1G8ZS57N07F214844 ## Mail History Id: 28396955, Consumer Id: 972068, Address Id: 14842589 => Updated with Vin: 1G3NL52E11C121378 ## Mail History Id: 28397570, Consumer Id: 971950, Address Id: 14842512 => Updated with Vin: 1G2ZG58N874224382 ## Mail History Id: 28397057, Consumer Id: 971956, Address Id: 14842518 => Updated with Vin: 1GCHC23K88F197317 ## Mail History Id: 28397815, Consumer Id: 972070, Address Id: 14842591 => Updated with Vin: 3GNDA13D78S562265 ## Mail History Id: 28397608, Consumer Id: 972071, Address Id: 14842592 => Updated with Vin: 1GKER23718J250650 ## Mail History Id: 28398014, Consumer Id: 972073, Address Id: 14842593 => Updated with Vin: 2CNDL33F886068815 ## Mail History Id: 28398230, Consumer Id: 972074, Address Id: 9273802 => Updated with Vin: 3GNDA13D58S652045 ## Mail History Id: 28397824, Consumer Id: 972075, Address Id: 14842594 => Updated with Vin: 5N1AR18UX6C652585 ## Mail History Id: 28397762, Consumer Id: 972076, Address Id: 14842595 => Updated with Vin: 1GKFC13048R222068 ## Mail History Id: 28397954, Consumer Id: 972077, Address Id: 14842596 => Updated with Vin: 2G2WR554071230990 ## Mail History Id: 28397430, Consumer Id: 972078, Address Id: 14842597 => Updated with Vin: 1G1ZT58N87F198483 ## Mail History Id: 28396825, Consumer Id: 972079, Address Id: 14842598 => Updated with Vin: 3GTEK13J08G213208 ## Mail History Id: 28398336, Consumer Id: 972080, Address Id: 14842599 => Updated with Vin: 5GTDN13E578186414 ## Mail History Id: 28397957, Consumer Id: 971963, Address Id: 5164460 => Updated with Vin: 1GCJK33638F156882 ## Mail History Id: 28396912, Consumer Id: 972081, Address Id: 10444716 => Updated with Vin: 2GCEC19W0Y1367913 ## Mail History Id: 28396759, Consumer Id: 980437, Address Id: 14842600 => Updated with Vin: JA3AJ26E96U058091 ## Mail History Id: 28398480, Consumer Id: 972083, Address Id: 9172560 => Updated with Vin: 1G2ZH57N084111462 ## Mail History Id: 28397055, Consumer Id: 972084, Address Id: 14842601 => Updated with Vin: 1GCCS139288166380 ## Mail History Id: 28397500, Consumer Id: 972086, Address Id: 14842603 => Updated with Vin: 2HGES16514H585098 ## Mail History Id: 28396248, Consumer Id: 972089, Address Id: 8325928 => Updated with Vin: 1GCEC14C48Z213600 ## Mail History Id: 28397864, Consumer Id: 972864, Address Id: 14843203 => Updated with Vin: 1FMFK19577LA78286 ## Mail History Id: 28397912, Consumer Id: 972095, Address Id: 14842608 => Updated with Vin: 1N6BA07A57N210026 ## Mail History Id: 28397560, Consumer Id: 972096, Address Id: 14842609 => Updated with Vin: 2G2WP552181104367 ## Mail History Id: 28398058, Consumer Id: 972102, Address Id: 14842615 => Updated with Vin: 2GCEC13T451166722 ## Mail History Id: 28397994, Consumer Id: 972105, Address Id: 14842618 => Updated with Vin: 1GKER23718J243746 ## Mail History Id: 28397702, Consumer Id: 971964, Address Id: 9976863 => Updated with Vin: 1GNFC160X8R219769 ## Mail History Id: 28398392, Consumer Id: 972112, Address Id: 14842624 => Updated with Vin: 2CNDL23F086052246 ## Mail History Id: 28396801, Consumer Id: 971965, Address Id: 14835318 => Updated with Vin: 1GBHK29627E586248 ## Mail History Id: 28396940, Consumer Id: 971972, Address Id: 14842526 => Updated with Vin: 2G1WC58R979180623 ## Mail History Id: 28397466, Consumer Id: 972120, Address Id: 14842631 => Updated with Vin: 3GTEC13J68G219401 ## Mail History Id: 28397881, Consumer Id: 971966, Address Id: 14842523 => Updated with Vin: 1D4GP24RX6B597723 ## Mail History Id: 28396388, Consumer Id: 972121, Address Id: 14842632 => Updated with Vin: 2CNDL537686046512 ## Mail History Id: 28397764, Consumer Id: 972122, Address Id: 14842633 => Updated with Vin: 1GKER237X8J202158 ## Mail History Id: 28396658, Consumer Id: 972124, Address Id: 14842634 => Updated with Vin: 1GKEC13Z13J289180 ## Mail History Id: 28397739, Consumer Id: 971967, Address Id: 14842524 => Updated with Vin: 1G1JC524327220129 ## Mail History Id: 28397080, Consumer Id: 972126, Address Id: 14842635 => Updated with Vin: 4M2EU37896UJ01251 ## Mail History Id: 28396735, Consumer Id: 972128, Address Id: 14842637 => Updated with Vin: 1G1AL18F987239925 ## Mail History Id: 28397167, Consumer Id: 972129, Address Id: 14842638 => Updated with Vin: 1G2ZH57N484100691 ## Mail History Id: 28396953, Consumer Id: 972131, Address Id: 14842640 => Updated with Vin: KL1TD66608B011619 ## Mail History Id: 28398442, Consumer Id: 972133, Address Id: 14842642 => Updated with Vin: 1FMPU17L64LA44433 ## Mail History Id: 28397847, Consumer Id: 972134, Address Id: 14842643 => Updated with Vin: 2CNDL23F586058110 ## Mail History Id: 28396314, Consumer Id: 972135, Address Id: 14842644 => Updated with Vin: 1G1AK18F887153685 ## Mail History Id: 28398100, Consumer Id: 972137, Address Id: 14842646 => Updated with Vin: 1GCCS13E088158128 ## Mail History Id: 28396246, Consumer Id: 971968, Address Id: 9158936 => Updated with Vin: 1G1AK58F187209540 ## Mail History Id: 28397901, Consumer Id: 971969, Address Id: 14842525 => Updated with Vin: 1G1ZK57718F210464 ## Mail History Id: 28396408, Consumer Id: 971970, Address Id: 14837980 => Updated with Vin: 6G2EC57Y78L988773 ## Mail History Id: 28397524, Consumer Id: 972142, Address Id: 14842651 => Updated with Vin: 2CNDL13F866177860 ## Mail History Id: 28397370, Consumer Id: 971971, Address Id: 9185808 => Updated with Vin: 2GCEC130681156638 ## Mail History Id: 28398572, Consumer Id: 972487, Address Id: 14842951 => Updated with Vin: 1GKFC13058R228400 ## Mail History Id: 28397408, Consumer Id: 972489, Address Id: 14842953 => Updated with Vin: 2GTEC19J681252673 ## Mail History Id: 28397114, Consumer Id: 972490, Address Id: 14842954 => Updated with Vin: 2GCEC13JX81252281 ## Mail History Id: 28396644, Consumer Id: 972482, Address Id: 14842948 => Updated with Vin: KL1TD62635B386227 ## Mail History Id: 28396213, Consumer Id: 972483, Address Id: 10455983 => Updated with Vin: 1GKER23788J228385 ## Mail History Id: 28396449, Consumer Id: 972486, Address Id: 14837534 => Updated with Vin: 1GNEC13Z22R241917 ## Mail History Id: 28396659, Consumer Id: 972484, Address Id: 14842949 => Updated with Vin: 1GKFC13C58R191438 ## Mail History Id: 28397514, Consumer Id: 972485, Address Id: 14842950 => Updated with Vin: 2G1WB58K789205154 ## Mail History Id: 28396467, Consumer Id: 972503, Address Id: 14841485 => Updated with Vin: 1GNFC13098R124396 ## Mail History Id: 28396745, Consumer Id: 972504, Address Id: 14837109 => Updated with Vin: 2CNDL537586046291 ## Mail History Id: 28396922, Consumer Id: 972505, Address Id: 14842722 => Updated with Vin: 4TARN81A5PZ062834 ## Mail History Id: 28397444, Consumer Id: 972494, Address Id: 14840744 => Updated with Vin: 5GAER23768J119713 ## Mail History Id: 28398412, Consumer Id: 972496, Address Id: 14841120 => Updated with Vin: 1GCEC19J88Z112244 ## Mail History Id: 28397897, Consumer Id: 972497, Address Id: 14842958 => Updated with Vin: JTEGP21A370141390 ## Mail History Id: 28396729, Consumer Id: 972491, Address Id: 14842955 => Updated with Vin: 5GAER13768J190727 ## Mail History Id: 28398456, Consumer Id: 972498, Address Id: 14842959 => Updated with Vin: 2GCEC13C981169989 ## Mail History Id: 28398466, Consumer Id: 972499, Address Id: 14842960 => Updated with Vin: 2GCEC130681233508 ## Mail History Id: 28398520, Consumer Id: 972493, Address Id: 9161438 => Updated with Vin: 5Y2SL658X8Z404786 ## Mail History Id: 28396439, Consumer Id: 972492, Address Id: 14842956 => Updated with Vin: 2CNDL23F876059962 ## Mail History Id: 28397950, Consumer Id: 972500, Address Id: 14842961 => Updated with Vin: 2CNDL13F156160025 ## Mail History Id: 28396981, Consumer Id: 972501, Address Id: 14842962 => Updated with Vin: 1GTEC14X38Z170886 ## Mail History Id: 28396901, Consumer Id: 972502, Address Id: 14842963 => Updated with Vin: 2GTEC13J381204945 ## Mail History Id: 28398202, Consumer Id: 972560, Address Id: 14842538 => Updated with Vin: 1G2ZF57B784172819 ## Mail History Id: 28397582, Consumer Id: 972508, Address Id: 14842965 => Updated with Vin: 1G1ZG57B58F233476 ## Mail History Id: 28396943, Consumer Id: 972561, Address Id: 14843002 => Updated with Vin: 1B3ES56C53D102178 ## Mail History Id: 28397121, Consumer Id: 972509, Address Id: 14842966 => Updated with Vin: 1G1ZG57B48F218094 ## Mail History Id: 28397438, Consumer Id: 972562, Address Id: 11170232 => Updated with Vin: 1GKFC13C08R212423 ## Mail History Id: 28398260, Consumer Id: 972510, Address Id: 14841704 => Updated with Vin: 1GCEK19J18Z180470 ## Mail History Id: 28398348, Consumer Id: 972511, Address Id: 14842967 => Updated with Vin: 2GCEK13C181186501 ## Mail History Id: 28396563, Consumer Id: 972512, Address Id: 11485825 => Updated with Vin: 5Y2SL67878Z419288 ## Mail History Id: 28396780, Consumer Id: 972563, Address Id: 9159828 => Updated with Vin: 1B3HB48B97D281875 ## Mail History Id: 28397334, Consumer Id: 972513, Address Id: 14842408 => Updated with Vin: 3GNEC12017G122234 ## Mail History Id: 28396277, Consumer Id: 969939, Address Id: 14841065 => Updated with Vin: 1GKER23718J135028 ## Mail History Id: 28396224, Consumer Id: 972514, Address Id: 9158916 => Updated with Vin: 3C4FY48B25T557504 ## Mail History Id: 28397612, Consumer Id: 972634, Address Id: 14843049 => Updated with Vin: 1GBJG31K581159365 ## Mail History Id: 28396764, Consumer Id: 972515, Address Id: 14842968 => Updated with Vin: KMHCG45C62U326203 ## Mail History Id: 28398070, Consumer Id: 972516, Address Id: 14842969 => Updated with Vin: 1GCGC23U04F179711 ## Mail History Id: 28396418, Consumer Id: 972517, Address Id: 14842970 => Updated with Vin: 2G4WD582381259787 ## Mail History Id: 28397973, Consumer Id: 972518, Address Id: 1158282 => Updated with Vin: 3GCEK13J48G211784 ## Mail History Id: 28397298, Consumer Id: 972519, Address Id: 14842971 => Updated with Vin: 3GCEC13J58G237081 ## Mail History Id: 28397674, Consumer Id: 972520, Address Id: 10280481 => Updated with Vin: 3GCEC13J78G236739 ## Mail History Id: 28397151, Consumer Id: 972521, Address Id: 14842972 => Updated with Vin: 2G1WC58R379167219 ## Mail History Id: 28397875, Consumer Id: 972522, Address Id: 14842973 => Updated with Vin: 1GNFC130X8R110202 ## Mail History Id: 28396993, Consumer Id: 972523, Address Id: 14842974 => Updated with Vin: 1G1YY25W685123619 ## Mail History Id: 28396700, Consumer Id: 972524, Address Id: 14842975 => Updated with Vin: 1G1ZT58N87F125758 ## Mail History Id: 28398144, Consumer Id: 972525, Address Id: 14842976 => Updated with Vin: 1GKEC13VX4R133929 ## Mail History Id: 28396209, Consumer Id: 972526, Address Id: 14842977 => Updated with Vin: 3GNDA23D37S602667 ## Mail History Id: 28398104, Consumer Id: 972527, Address Id: 14842978 => Updated with Vin: 2G1WC581569409257 ## Mail History Id: 28396866, Consumer Id: 972528, Address Id: 14842979 => Updated with Vin: 2GTEK190781246861 ## Mail History Id: 28396838, Consumer Id: 972529, Address Id: 10444525 => Updated with Vin: 4S2CK58D524339252 ## Mail History Id: 28397891, Consumer Id: 972530, Address Id: 14842980 => Updated with Vin: 3GCEC13J58G211709 ## Mail History Id: 28396423, Consumer Id: 972531, Address Id: 14839522 => Updated with Vin: 3GNDA73X58S646341 ## Mail History Id: 28397128, Consumer Id: 972532, Address Id: 14842981 => Updated with Vin: 5Y2SL65808Z406773 ## Mail History Id: 28397944, Consumer Id: 972533, Address Id: 11386526 => Updated with Vin: 1LNHM82V97Y639662 ## Mail History Id: 28398294, Consumer Id: 972534, Address Id: 14842982 => Updated with Vin: 1C3EL46T03N502301 ## Mail History Id: 28396603, Consumer Id: 972535, Address Id: 14842983 => Updated with Vin: 2GCEC19T741218818 ## Mail History Id: 28396822, Consumer Id: 972536, Address Id: 10444512 => Updated with Vin: 1GCJK33618F133472 ## Mail History Id: 28396331, Consumer Id: 972538, Address Id: 14842985 => Updated with Vin: 1GNFC16048R184775 ## Mail History Id: 28398134, Consumer Id: 972539, Address Id: 14842986 => Updated with Vin: 2GCEC19T841191516 ## Mail History Id: 28396774, Consumer Id: 972540, Address Id: 14840181 => Updated with Vin: 1GNCS18W1YK103411 ## Mail History Id: 28398020, Consumer Id: 972541, Address Id: 14842987 => Updated with Vin: 1G2AL18F387197182 ## Mail History Id: 28396742, Consumer Id: 972542, Address Id: 14842988 => Updated with Vin: 3GNDA73X08S642200 ## Mail History Id: 28398390, Consumer Id: 972543, Address Id: 14842989 => Updated with Vin: 1GNDS13S382128044 ## Mail History Id: 28397468, Consumer Id: 972544, Address Id: 14842990 => Updated with Vin: 2G4WC582981180417 ## Mail History Id: 28396762, Consumer Id: 972545, Address Id: 14842991 => Updated with Vin: 2GCEC13Z761324282 ## Mail History Id: 28396229, Consumer Id: 972546, Address Id: 14842992 => Updated with Vin: 3GNFC16018G202908 ## Mail History Id: 28397895, Consumer Id: 972547, Address Id: 14842993 => Updated with Vin: 1G1ZH57B68F228493 ## Mail History Id: 28396253, Consumer Id: 972548, Address Id: 14842994 => Updated with Vin: 1GNDS13S072157807 ## Mail History Id: 28396797, Consumer Id: 1357625, Address Id: 14835640 => Updated with Vin: 3GTEK13318G215888 ## Mail History Id: 28398506, Consumer Id: 972550, Address Id: 14842995 => Updated with Vin: 3N1BC13E68L363269 ## Mail History Id: 28396651, Consumer Id: 972551, Address Id: 10460313 => Updated with Vin: 3GNDA23D68S578785 ## Mail History Id: 28396431, Consumer Id: 972552, Address Id: 14842996 => Updated with Vin: 1GBE4C1938F402486 ## Mail History Id: 28397694, Consumer Id: 972553, Address Id: 14842997 => Updated with Vin: 5GAER23798J259562 ## Mail History Id: 28397775, Consumer Id: 972554, Address Id: 14842998 => Updated with Vin: 5GAER23768J259258 ## Mail History Id: 28397716, Consumer Id: 972555, Address Id: 14842999 => Updated with Vin: 1FTSW21P76ED73420 ## Mail History Id: 28397302, Consumer Id: 972556, Address Id: 14836255 => Updated with Vin: 1GKDT13S962152453 ## Mail History Id: 28397849, Consumer Id: 972557, Address Id: 14843000 => Updated with Vin: 2G1WD58C489141867 ## Mail History Id: 28397646, Consumer Id: 972559, Address Id: 14837779 => Updated with Vin: 3GCEC13J48G236553 ## Mail History Id: 28397853, Consumer Id: 972638, Address Id: 9157052 => Updated with Vin: 2GCEC19J581215033 ## Mail History Id: 28397836, Consumer Id: 972639, Address Id: 14843053 => Updated with Vin: 1D7HA18N25S246880 ## Mail History Id: 28397470, Consumer Id: 972640, Address Id: 11241930 => Updated with Vin: 3GTEC13C98G212119 ## Mail History Id: 28397874, Consumer Id: 972641, Address Id: 9181742 => Updated with Vin: 2CNDL537386042689 ## Mail History Id: 28397071, Consumer Id: 972642, Address Id: 14841289 => Updated with Vin: 2GCEC19J581226887 ## Mail History Id: 28397909, Consumer Id: 972643, Address Id: 14843054 => Updated with Vin: 1GNFC13048R150324 ## Mail History Id: 28397402, Consumer Id: 972644, Address Id: 11388288 => Updated with Vin: 1GNFC13018R193003 ## Mail History Id: 28397863, Consumer Id: 972645, Address Id: 14843055 => Updated with Vin: 3GCEC13J18G106701 ## Mail History Id: 28398276, Consumer Id: 972646, Address Id: 14843056 => Updated with Vin: 2GCEC19V561123596 ## Mail History Id: 28396630, Consumer Id: 972647, Address Id: 14843057 => Updated with Vin: 1G1AK52F457536261 ## Mail History Id: 28396513, Consumer Id: 972648, Address Id: 14843058 => Updated with Vin: 3GCEC13J78G259387 ## Mail History Id: 28397869, Consumer Id: 972649, Address Id: 14843059 => Updated with Vin: 1GNFC13008R107552 ## Mail History Id: 28397812, Consumer Id: 972650, Address Id: 14843060 => Updated with Vin: 3GNDA53P18S646261 ## Mail History Id: 28397198, Consumer Id: 972651, Address Id: 9185381 => Updated with Vin: 1G1NE52J016123329 ## Mail History Id: 28398566, Consumer Id: 972652, Address Id: 14843061 => Updated with Vin: 3GCEK13J18G214982 ## Mail History Id: 28398308, Consumer Id: 972653, Address Id: 14843062 => Updated with Vin: 2G4WE587081155010 ## Mail History Id: 28398508, Consumer Id: 972654, Address Id: 14843063 => Updated with Vin: 2G1WB58K981254144 ## Mail History Id: 28396533, Consumer Id: 972656, Address Id: 14843065 => Updated with Vin: 1GNDV33157D211939 ## Mail History Id: 28397923, Consumer Id: 972850, Address Id: 14843191 => Updated with Vin: 1GNFC13028R194080 ## Mail History Id: 28396210, Consumer Id: 972657, Address Id: 11386590 => Updated with Vin: 1G1ZT68N37F138505 ## Mail History Id: 28396470, Consumer Id: 972658, Address Id: 14843066 => Updated with Vin: 1GNEC13T11R193319 ## Mail History Id: 28397502, Consumer Id: 972659, Address Id: 14843067 => Updated with Vin: 1G3NB52M7X6307346 ## Mail History Id: 28396699, Consumer Id: 972660, Address Id: 14836246 => Updated with Vin: 1FTRX14576FA00808 ## Mail History Id: 28398340, Consumer Id: 972661, Address Id: 14843068 => Updated with Vin: 1GNDS13S582149560 ## Mail History Id: 28398136, Consumer Id: 972662, Address Id: 14843069 => Updated with Vin: 2MEFM75V97X641055 ## Mail History Id: 28396950, Consumer Id: 972663, Address Id: 14837682 => Updated with Vin: 1GCDS136X48150688 ## Mail History Id: 28397819, Consumer Id: 972664, Address Id: 14843070 => Updated with Vin: 2G2WP552481132728 ## Mail History Id: 28397126, Consumer Id: 972665, Address Id: 14843071 => Updated with Vin: 1J4GK38K76W140711 ## Mail History Id: 28397825, Consumer Id: 972666, Address Id: 14835374 => Updated with Vin: 1GCJC33688F180236 ## Mail History Id: 28396638, Consumer Id: 972667, Address Id: 14841343 => Updated with Vin: 1FTWW33F8YEB90686 ## Mail History Id: 28396560, Consumer Id: 972668, Address Id: 14843072 => Updated with Vin: 1G1AL55F277217551 ## Mail History Id: 28396471, Consumer Id: 972669, Address Id: 14839686 => Updated with Vin: 3GNDA13D47S597313 ## Mail History Id: 28397946, Consumer Id: 972670, Address Id: 14843073 => Updated with Vin: 3GNEC12078G172900 ## Mail History Id: 28396984, Consumer Id: 972671, Address Id: 14843074 => Updated with Vin: 1G2ZG58N074220360 ## Mail History Id: 28396695, Consumer Id: 972853, Address Id: 14843194 => Updated with Vin: 2GTEC13JX81273728 ## Mail History Id: 28397416, Consumer Id: 972672, Address Id: 8028011 => Updated with Vin: 1GCDS43E188192326 ## Mail History Id: 28396300, Consumer Id: 972597, Address Id: 11386668 => Updated with Vin: 1G1ZK57738F208571 ## Mail History Id: 28398266, Consumer Id: 972854, Address Id: 14843195 => Updated with Vin: 1N6AA07A34N552923 ## Mail History Id: 28397698, Consumer Id: 972855, Address Id: 14843196 => Updated with Vin: 1N6AD07U47C427916 ## Mail History Id: 28398322, Consumer Id: 972856, Address Id: 14843197 => Updated with Vin: 1GCCS139X88170810 ## Mail History Id: 28397348, Consumer Id: 972857, Address Id: 14832053 => Updated with Vin: 1GKEC63888J191601 ## Mail History Id: 28396223, Consumer Id: 972858, Address Id: 14843198 => Updated with Vin: 1GNFC13068R113534 ## Mail History Id: 28396564, Consumer Id: 972859, Address Id: 14843199 => Updated with Vin: 3GNDA23P16S643257 ## Mail History Id: 28396170, Consumer Id: 972860, Address Id: 9132922 => Updated with Vin: 1G3CW53L3M4304386 ## Mail History Id: 28398366, Consumer Id: 972861, Address Id: 14843200 => Updated with Vin: 3GCEC13J88G180889 ## Mail History Id: 28398576, Consumer Id: 972862, Address Id: 14843201 => Updated with Vin: 1G1ZS58F17F236146 ## Mail History Id: 28397420, Consumer Id: 972863, Address Id: 14843202 => Updated with Vin: 1GCEC14X68Z168629 ## Mail History Id: 28397007, Consumer Id: 972865, Address Id: 8327075 => Updated with Vin: 5GAER23758J262328 ## Mail History Id: 28397904, Consumer Id: 972866, Address Id: 14842650 => Updated with Vin: 1Z7HT38N06S568052 ## Mail History Id: 28397131, Consumer Id: 972867, Address Id: 14843204 => Updated with Vin: KMHFC46F27A217831 ## Mail History Id: 28397290, Consumer Id: 972868, Address Id: 11388080 => Updated with Vin: 1G2ZH17N684244686 ## Mail History Id: 28396995, Consumer Id: 972869, Address Id: 14843205 => Updated with Vin: 3GCEC13C68G218265 ## Mail History Id: 28397094, Consumer Id: 972870, Address Id: 14843206 => Updated with Vin: 1GNFC13048R167320 ## Mail History Id: 28397622, Consumer Id: 972871, Address Id: 14843207 => Updated with Vin: 1G1AL58F887103843 ## Mail History Id: 28397506, Consumer Id: 972811, Address Id: 14841190 => Updated with Vin: 3GNCA13D68S671750 ## Mail History Id: 28396900, Consumer Id: 972872, Address Id: 14843208 => Updated with Vin: 1GCEC14X94Z113571 ## Mail History Id: 28396923, Consumer Id: 972873, Address Id: 14843209 => Updated with Vin: 1GKER13718J185793 ## Mail History Id: 28397550, Consumer Id: 972874, Address Id: 1718324 => Updated with Vin: 5GZER23797J155889 ## Mail History Id: 28396448, Consumer Id: 972875, Address Id: 14843210 => Updated with Vin: 1GYEK63N13R205623 ## Mail History Id: 28396843, Consumer Id: 972673, Address Id: 14843075 => Updated with Vin: 5GAER23798J263014 ## Mail History Id: 28396432, Consumer Id: 972877, Address Id: 14843211 => Updated with Vin: 2GTEC19J471598977 ## Mail History Id: 28396863, Consumer Id: 972879, Address Id: 14843213 => Updated with Vin: 1GCEK19B45E280574 ## Mail History Id: 28397642, Consumer Id: 972881, Address Id: 14843214 => Updated with Vin: 2CKDL33F286000216 ## Mail History Id: 28397841, Consumer Id: 972883, Address Id: 14832189 => Updated with Vin: 2GCEK13M381210581 ## Mail History Id: 28396933, Consumer Id: 972884, Address Id: 14843216 => Updated with Vin: 1GKER33718J254624 ## Mail History Id: 28397065, Consumer Id: 972885, Address Id: 14843217 => Updated with Vin: 1GKES16S356126747 ## Mail History Id: 28397938, Consumer Id: 972886, Address Id: 14843218 => Updated with Vin: KL1TD66678B001606 ## Mail History Id: 28397749, Consumer Id: 972808, Address Id: 14843168 => Updated with Vin: 1G1AL58F287231284 ## Mail History Id: 28398126, Consumer Id: 972887, Address Id: 14843219 => Updated with Vin: 1GCJC33K88F208971 ## Mail History Id: 28397769, Consumer Id: 972890, Address Id: 8057284 => Updated with Vin: 3GCEC13C58G230214 ## Mail History Id: 28397835, Consumer Id: 1170540, Address Id: 15028822 => Updated with Vin: 1GNDS13S382124480 ## Mail History Id: 28396180, Consumer Id: 972807, Address Id: 9158809 => Updated with Vin: 1GKER13718J228092 ## Mail History Id: 28396694, Consumer Id: 972896, Address Id: 14843225 => Updated with Vin: 2C8GM68475R673750 ## Mail History Id: 28397376, Consumer Id: 972898, Address Id: 9185818 => Updated with Vin: 1GNFC13058R174051 ## Mail History Id: 28397766, Consumer Id: 972900, Address Id: 14843228 => Updated with Vin: 1G1ZK57798F237766 ## Mail History Id: 28398176, Consumer Id: 972812, Address Id: 14843170 => Updated with Vin: 1GTEC14X58Z200194 ## Mail History Id: 28397364, Consumer Id: 972809, Address Id: 14843169 => Updated with Vin: 2GCEC19J181242018 ## Mail History Id: 28396524, Consumer Id: 972620, Address Id: 14836850 => Updated with Vin: 3GNEK12Z15G290650 ## Mail History Id: 28397242, Consumer Id: 972622, Address Id: 11387976 => Updated with Vin: 1GKEK63U32J133158 ## Mail History Id: 28396834, Consumer Id: 972623, Address Id: 9159897 => Updated with Vin: 5Y2SL65876Z429111 ## Mail History Id: 28398492, Consumer Id: 972625, Address Id: 10552141 => Updated with Vin: 1GKER23738J150498 ## Mail History Id: 28397944, Consumer Id: 971372, Address Id: 11386526 => Updated with Vin: 1GKER23738J150498 ## Mail History Id: 28397160, Consumer Id: 972626, Address Id: 14843043 => Updated with Vin: 1GNDS13S582127607 ## Mail History Id: 28398052, Consumer Id: 972627, Address Id: 14843044 => Updated with Vin: 1ZVFT80N975216032 ## Mail History Id: 28397955, Consumer Id: 972628, Address Id: 14843045 => Updated with Vin: 3GNDA13D18S532114 ## Mail History Id: 28398346, Consumer Id: 972630, Address Id: 14838762 => Updated with Vin: 1FTRW12W97KC33676 ## Mail History Id: 28398364, Consumer Id: 972631, Address Id: 8326413 => Updated with Vin: 1GTEC14XX8Z221042 ## Mail History Id: 28398420, Consumer Id: 972632, Address Id: 14843047 => Updated with Vin: 6G2EC57Y08L136037 ## Mail History Id: 28398180, Consumer Id: 972814, Address Id: 14843172 => Updated with Vin: 1G2ZH57N984102324 ## Mail History Id: 28398258, Consumer Id: 972816, Address Id: 14843173 => Updated with Vin: 1GKFC13008R192776 ## Mail History Id: 28398320, Consumer Id: 972821, Address Id: 14843177 => Updated with Vin: 1GCJC33152F146654 ## Mail History Id: 28396371, Consumer Id: 972713, Address Id: 14843103 => Updated with Vin: 1G2ZM587674133461 ## Mail History Id: 28397898, Consumer Id: 972823, Address Id: 14843179 => Updated with Vin: 1GNDS13S382121627 ## Mail History Id: 28396303, Consumer Id: 972565, Address Id: 14843003 => Updated with Vin: 3GCEC13058G258195 ## Mail History Id: 28396779, Consumer Id: 972826, Address Id: 8120384 => Updated with Vin: 1A8HX58N77F585624 ## Mail History Id: 28396670, Consumer Id: 972827, Address Id: 10444164 => Updated with Vin: 1G1ZG57B18F234866 ## Mail History Id: 28396322, Consumer Id: 972829, Address Id: 14836871 => Updated with Vin: 1GNFC16038R246196 ## Mail History Id: 28397109, Consumer Id: 972830, Address Id: 14837150 => Updated with Vin: 1G1AL18F987269412 ## Mail History Id: 28396548, Consumer Id: 972831, Address Id: 14843182 => Updated with Vin: 1FMZU62K93ZA73604 ## Mail History Id: 28396543, Consumer Id: 972832, Address Id: 14837804 => Updated with Vin: 1GNFC13028R101820 ## Mail History Id: 28396326, Consumer Id: 972833, Address Id: 3083061 => Updated with Vin: 6G2EC57Y98L127465 ## Mail History Id: 28396518, Consumer Id: 972834, Address Id: 14843183 => Updated with Vin: 2G4WE587961106868 ## Mail History Id: 28398130, Consumer Id: 972837, Address Id: 14843184 => Updated with Vin: 1GCHC23U74F151585 ## Mail History Id: 28396944, Consumer Id: 972813, Address Id: 14843171 => Updated with Vin: 2GCEK13C681113611 ## Mail History Id: 28396820, Consumer Id: 972841, Address Id: 14837518 => Updated with Vin: 1G1ZT58F77F271593 ## Mail History Id: 28397474, Consumer Id: 972810, Address Id: 11189339 => Updated with Vin: 1GKFC13018J120483 ## Mail History Id: 28397069, Consumer Id: 972567, Address Id: 14843005 => Updated with Vin: 1FMYU03145KA29164 ## Mail History Id: 28396350, Consumer Id: 972845, Address Id: 14839056 => Updated with Vin: WVWJK73C68P031835 ## Mail History Id: 28397794, Consumer Id: 972846, Address Id: 9124110 => Updated with Vin: 2FMDK38C17BA53970 ## Mail History Id: 28396691, Consumer Id: 972568, Address Id: 7532180 => Updated with Vin: 4A4MM21S55E032009 ## Mail History Id: 28397868, Consumer Id: 972849, Address Id: 14843190 => Updated with Vin: JTEBT14R148017391 ## Mail History Id: 28396280, Consumer Id: 972574, Address Id: 14843009 => Updated with Vin: 1B3ES56C35D144285 ## Mail History Id: 28397688, Consumer Id: 972575, Address Id: 14831923 => Updated with Vin: 1G2MF35X88Y126180 ## Mail History Id: 28397016, Consumer Id: 972576, Address Id: 14843010 => Updated with Vin: 1G1ZT68N57F155032 ## Mail History Id: 28396186, Consumer Id: 972578, Address Id: 14843012 => Updated with Vin: 3GTEC13J58G261428 ## Mail History Id: 28396508, Consumer Id: 972579, Address Id: 14836147 => Updated with Vin: 2G4WE587281129430 ## Mail History Id: 28398282, Consumer Id: 972585, Address Id: 14843017 => Updated with Vin: 3GTEC13C38G191543 ## Mail History Id: 28396287, Consumer Id: 972591, Address Id: 14843022 => Updated with Vin: 3GNEC12078G214515 ## Mail History Id: 28396496, Consumer Id: 1173942, Address Id: 14846196 => Updated with Vin: 3GNCA23D68S674492 ## Mail History Id: 28397216, Consumer Id: 972595, Address Id: 14843024 => Updated with Vin: 3G5DA03E62S551249 ## Mail History Id: 28397736, Consumer Id: 972596, Address Id: 10275299 => Updated with Vin: 1G1AL58F587272587 ## Mail History Id: 28396839, Consumer Id: 972600, Address Id: 14843027 => Updated with Vin: 1GNFC16008R245278 ## Mail History Id: 28397103, Consumer Id: 972601, Address Id: 14843028 => Updated with Vin: 3GNCA13D28S674354 ## Mail History Id: 28396493, Consumer Id: 972603, Address Id: 14843030 => Updated with Vin: 2HKRL18082H520431 ## Mail History Id: 28398524, Consumer Id: 972605, Address Id: 14843032 => Updated with Vin: 3GNCA13D88S671992 ## Mail History Id: 28396831, Consumer Id: 972615, Address Id: 14843038 => Updated with Vin: 3GCEC13C98G257870 ## Mail History Id: 28396718, Consumer Id: 972616, Address Id: 14842441 => Updated with Vin: 1GNDV33148D126723 ## Mail History Id: 28397865, Consumer Id: 972618, Address Id: 7084454 => Updated with Vin: 1G1ZH57B98F240749 ## Mail History Id: 28397807, Consumer Id: 972905, Address Id: 14843232 => Updated with Vin: 3GNEC12008G222181 ## Mail History Id: 28397913, Consumer Id: 972908, Address Id: 14843235 => Updated with Vin: 3GNCA13D68S670369 ## Mail History Id: 28396166, Consumer Id: 972909, Address Id: 14835578 => Updated with Vin: 2G1WT58N879326135 ## Mail History Id: 28396520, Consumer Id: 972918, Address Id: 14843241 => Updated with Vin: 1GCEC19X28Z247255 ## Mail History Id: 28396733, Consumer Id: 972921, Address Id: 14843243 => Updated with Vin: 1GNDS13S442330157 ## Mail History Id: 28396745, Consumer Id: 964604, Address Id: 14837109 => Updated with Vin: 3GNDA23D36S599512 ## Mail History Id: 28396932, Consumer Id: 972926, Address Id: 14837316 => Updated with Vin: 3GNDA23D36S599512 ## Mail History Id: 28396902, Consumer Id: 972930, Address Id: 14843251 => Updated with Vin: KL1TD56688B217894 ## Mail History Id: 28397712, Consumer Id: 972932, Address Id: 14843252 => Updated with Vin: 2GCEC19C271568541 ## Mail History Id: 28396788, Consumer Id: 972955, Address Id: 14843265 => Updated with Vin: 2G1WH55K219126998 ## Mail History Id: 28398044, Consumer Id: 972957, Address Id: 11387290 => Updated with Vin: KL1TG56638B196833 ## Mail History Id: 28396730, Consumer Id: 972677, Address Id: 14843078 => Updated with Vin: 1FTSW21P06EC74812 ## Mail History Id: 28397861, Consumer Id: 972689, Address Id: 9307779 => Updated with Vin: 1G2ZF57B684246635 ## Mail History Id: 28397825, Consumer Id: 962561, Address Id: 14835374 => Updated with Vin: 5GTDN136X68126006 ## Mail History Id: 28398468, Consumer Id: 972701, Address Id: 14843093 => Updated with Vin: 5GTDN136X68126006 ## Mail History Id: 28396334, Consumer Id: 972739, Address Id: 9159095 => Updated with Vin: 5GAER23758J140908 ## Mail History Id: 28397956, Consumer Id: 972703, Address Id: 14843094 => Updated with Vin: 3GNFC16078G108418 ## Mail History Id: 28397789, Consumer Id: 972725, Address Id: 8094128 => Updated with Vin: 3GNEC12038G134922 ## Mail History Id: 28396717, Consumer Id: 972730, Address Id: 14843113 => Updated with Vin: KNAFE121675436787 ## Mail History Id: 28397544, Consumer Id: 972732, Address Id: 27995 => Updated with Vin: 2CNDL33F186316614 ## Mail History Id: 28398342, Consumer Id: 972744, Address Id: 14843121 => Updated with Vin: 2GCEC19T341213566 ## Mail History Id: 28396916, Consumer Id: 972746, Address Id: 11387156 => Updated with Vin: 1GCHK33K68F208243 ## Mail History Id: 28397019, Consumer Id: 972750, Address Id: 14843126 => Updated with Vin: 3FAHP07Z07R217664 ## Mail History Id: 28397984, Consumer Id: 972755, Address Id: 14843131 => Updated with Vin: 1G1AL18F587273389 ## Mail History Id: 28398332, Consumer Id: 972756, Address Id: 14843132 => Updated with Vin: 2CNDL73F176100686 ## Mail History Id: 28396718, Consumer Id: 971841, Address Id: 14842441 => Updated with Vin: 2CNDL63F976002323 ## Mail History Id: 28398008, Consumer Id: 972757, Address Id: 14843133 => Updated with Vin: 2CNDL63F976002323 ## Mail History Id: 28397140, Consumer Id: 972763, Address Id: 14843137 => Updated with Vin: 1GKER33768J248298 ## Mail History Id: 28397162, Consumer Id: 972768, Address Id: 14843142 => Updated with Vin: KMHCN46C97U122751 ## Mail History Id: 28397902, Consumer Id: 972772, Address Id: 14843145 => Updated with Vin: 4T1BK36B38U258400 ## Mail History Id: 28397821, Consumer Id: 972773, Address Id: 14843146 => Updated with Vin: 3GCEC13C78G125559 ## Mail History Id: 28398448, Consumer Id: 961305, Address Id: 14831360 => Updated with Vin: 1G4HR54K04U161704 ## Mail History Id: 28397084, Consumer Id: 966636, Address Id: 12056665 => Updated with Vin: 1G4CW52KXTH646199 ## Mail History Id: 28397102, Consumer Id: 972805, Address Id: 14843167 => Updated with Vin: 1GKEC13T76R114286 ## Mail History Id: 28396648, Consumer Id: 972901, Address Id: 9159565 => Updated with Vin: 3A4FY58B47T504659 ## Mail History Id: 28396961, Consumer Id: 972907, Address Id: 14843234 => Updated with Vin: 1G2ZF57B784248426 ## Mail History Id: 28397070, Consumer Id: 972923, Address Id: 14843245 => Updated with Vin: 2CNDL33F486316445 ## Mail History Id: 28397448, Consumer Id: 972925, Address Id: 14843247 => Updated with Vin: 2GCEC13J781280765 ## Mail History Id: 28398416, Consumer Id: 972937, Address Id: 14843255 => Updated with Vin: 1G2ZH57N584128970 ## Mail History Id: 28397179, Consumer Id: 960243, Address Id: 14831379 => Updated with Vin: 3G7DA03E14S505368 ## Mail History Id: 28396364, Consumer Id: 972952, Address Id: 11386737 => Updated with Vin: 1FMRU17L5WLA64684 ## Mail History Id: 28397890, Consumer Id: 972972, Address Id: 14843272 => Updated with Vin: 1GCEC14V03Z182324 ## Mail History Id: 28396393, Consumer Id: 972984, Address Id: 14843281 => Updated with Vin: 1G8AJ55F17Z139128 ## Mail History Id: 28396241, Consumer Id: 972991, Address Id: 14843286 => Updated with Vin: 1B3ES56C54D637593 ## Mail History Id: 28397044, Consumer Id: 972997, Address Id: 7086373 => Updated with Vin: 5Y2SL65817Z423094 ## Mail History Id: 28396566, Consumer Id: 972998, Address Id: 10443965 => Updated with Vin: KL1TG56648B196730 ## Mail History Id: 28398286, Consumer Id: 973002, Address Id: 14843290 => Updated with Vin: 1GKDS13S882176698 ## Mail History Id: 28396257, Consumer Id: 973003, Address Id: 14843291 => Updated with Vin: 1G1AL55F977236307 ## Mail History Id: 28396997, Consumer Id: 973009, Address Id: 14843296 => Updated with Vin: 1G1AM15B977163006 ## Mail History Id: 28397528, Consumer Id: 1231387, Address Id: 14843298 => Updated with Vin: 2G2WP552481124077 ## Mail History Id: 28397934, Consumer Id: 973019, Address Id: 14835001 => Updated with Vin: 1NXBR32E48Z963976 ## Mail History Id: 28398032, Consumer Id: 973026, Address Id: 14843307 => Updated with Vin: 2GCEC19C071578887 ## Mail History Id: 28397450, Consumer Id: 973034, Address Id: 14843312 => Updated with Vin: 1G2ZF57B884250315 ## Mail History Id: 28397980, Consumer Id: 973028, Address Id: 14843309 => Updated with Vin: 1GNFC13048R192122 ## Mail History Id: 28398424, Consumer Id: 973035, Address Id: 14843313 => Updated with Vin: 1G2ZF57B184244534 ## Mail History Id: 28397831, Consumer Id: 973044, Address Id: 14843319 => Updated with Vin: 3GCEC13098G261150 ## Mail History Id: 28396234, Consumer Id: 973939, Address Id: 14903202 => Updated with Vin: JM1BK12F771715405 ## Mail History Id: 28398098, Consumer Id: 973081, Address Id: 14843342 => Updated with Vin: 1G1ZH57B78F228888 ## Mail History Id: 28397029, Consumer Id: 973924, Address Id: 14903192 => Updated with Vin: 1G4HE57Y68U124108 ## Mail History Id: 28398430, Consumer Id: 973945, Address Id: 14903206 => Updated with Vin: 1G1AL18F287266125 ## Mail History Id: 28397735, Consumer Id: 973964, Address Id: 18267 => Updated with Vin: 1G4HD57298U183586 ## Mail History Id: 28398090, Consumer Id: 982537, Address Id: 14929894 => Updated with Vin: 5GZCZ63417S833761 ## Mail History Id: 28396519, Consumer Id: 982563, Address Id: 14929914 => Updated with Vin: 1G1AZ55F077164573 ## Mail History Id: 28396490, Consumer Id: 982578, Address Id: 14831160 => Updated with Vin: 1GKER23738J127609 ## Mail History Id: 28396181, Consumer Id: 982560, Address Id: 14929911 => Updated with Vin: 3A4FY48BX7T518110 ## Mail History Id: 28397476, Consumer Id: 982570, Address Id: 14929918 => Updated with Vin: 3GCEC13C88G132035 ## Mail History Id: 28397072, Consumer Id: 982571, Address Id: 14929919 => Updated with Vin: 1D7HA18N24J240162 ## Mail History Id: 28397690, Consumer Id: 1026917, Address Id: 14940834 => Updated with Vin: 1GKEC63858J221329 ## Mail History Id: 28396873, Consumer Id: 1026918, Address Id: 14940835 => Updated with Vin: 1FAFP53U27A214466 ## Mail History Id: 28398358, Consumer Id: 1026920, Address Id: 14834603 => Updated with Vin: 3GNFC16018G204450 ## Mail History Id: 28397854, Consumer Id: 1028058, Address Id: 14944254 => Updated with Vin: 1G1AK18F387276228 ## Mail History Id: 28398226, Consumer Id: 1028067, Address Id: 9273709 => Updated with Vin: 1G1ZT58NX7F154887 ## Mail History Id: 28396339, Consumer Id: 1028069, Address Id: 14944260 => Updated with Vin: 1G2ZM177884241723 ## Mail History Id: 28397763, Consumer Id: 1027682, Address Id: 14943981 => Updated with Vin: 1G1ZH57B88F239236 ## Mail History Id: 28398546, Consumer Id: 1125644, Address Id: 14991455 => Updated with Vin: 1G4HE57Y78U124005 ## Mail History Id: 28397520, Consumer Id: 1173746, Address Id: 14840451 => Updated with Vin: 2G1WU58RX79108066 ## Mail History Id: 28398154, Consumer Id: 1125647, Address Id: 14991458 => Updated with Vin: 1G1AL15F577129389 ## Mail History Id: 28397110, Consumer Id: 1125649, Address Id: 14991459 => Updated with Vin: 1G2ZM177584246359 ## Mail History Id: 28396323, Consumer Id: 1125650, Address Id: 14991460 => Updated with Vin: 5GAER23738J133150 ## Mail History Id: 28397959, Consumer Id: 1126164, Address Id: 14991916 => Updated with Vin: 1G4HE57Y98U122448 ## Mail History Id: 28397106, Consumer Id: 1126166, Address Id: 11387821 => Updated with Vin: 1G6DW677350128281 ## Mail History Id: 28398394, Consumer Id: 1157899, Address Id: 10452581 => Updated with Vin: 2CKDL33F086022361 ## Mail History Id: 28397933, Consumer Id: 1157900, Address Id: 9231178 => Updated with Vin: 2G2WP552981122888 ## Mail History Id: 28398500, Consumer Id: 1231396, Address Id: 9247926 => Updated with Vin: 1G1ZG57B78F240557 ## Mail History Id: 28398106, Consumer Id: 1170161, Address Id: 15028821 => Updated with Vin: 1G2ZF57B984248881 ## Mail History Id: 28396783, Consumer Id: 1173748, Address Id: 15032885 => Updated with Vin: 3A4FY48B77T543661 ## Mail History Id: 28397138, Consumer Id: 1626324, Address Id: 9252740 => Updated with Vin: 1GNFC13028R189526 ## Mail History Id: 28397011, Consumer Id: 1265641, Address Id: 7532428 => Updated with Vin: 1GNFC13088R195184 ## Mail History Id: 28397508, Consumer Id: 1265652, Address Id: 15437296 => Updated with Vin: 2G2WC55C671218786 ## Mail History Id: 28397372, Consumer Id: 1265664, Address Id: 15437304 => Updated with Vin: 1GNFC160X8R245207 ## Mail History Id: 28398552, Consumer Id: 1265709, Address Id: 14835645 => Updated with Vin: 1GKFC13058R164116 ## Mail History Id: 28396897, Consumer Id: 1265710, Address Id: 6757662 => Updated with Vin: 1GNFC13598R210433 ## Mail History Id: 28396311, Consumer Id: 1265712, Address Id: 15437332 => Updated with Vin: 1GKFC66878J204905 ## Mail History Id: 28396640, Consumer Id: 961303, Address Id: 14832182 => Updated with Vin: 3GNEC12T74G162193 ## Mail History Id: 28396954, Consumer Id: 967421, Address Id: 14836159 => Updated with Vin: 2GCEC13ZX71181961 ## Mail History Id: 28396750, Consumer Id: 973300, Address Id: 14831529 => Updated with Vin: 1G3HY52L9RH328418 ## Mail History Id: 28397250, Consumer Id: 973207, Address Id: 14836192 => Updated with Vin: 1GNEK13R7XJ353976 ## Mail History Id: 28396752, Consumer Id: 980584, Address Id: 14844823 => Updated with Vin: 1GTCS1945W8521860 ## Mail History Id: 28397784, Consumer Id: 960056, Address Id: 9253877 => Updated with Vin: 1G4CW54K214130663 ## Mail History Id: 28398498, Consumer Id: 960263, Address Id: 14831394 => Updated with Vin: 1G2PE11R6JP217049 ## Mail History Id: 28397306, Consumer Id: 961088, Address Id: 14831748 => Updated with Vin: 3GNGK26G81G225411 ## Mail History Id: 28397180, Consumer Id: 973238, Address Id: 12056165 => Updated with Vin: 1GNEK13R4WR126423 ## Mail History Id: 28396661, Consumer Id: 973395, Address Id: 11389338 => Updated with Vin: 2GTEC19T3X1539873 ## Mail History Id: 28396830, Consumer Id: 980456, Address Id: 14843349 => Updated with Vin: 1GCHC29162E160584 ## Mail History Id: 28397328, Consumer Id: 961158, Address Id: 14831807 => Updated with Vin: 3GNEC16T4YG111993 ## Mail History Id: 28397104, Consumer Id: 961298, Address Id: 8053839 => Updated with Vin: 1G4HR54K32U128712 ## Mail History Id: 28398036, Consumer Id: 960037, Address Id: 14831219 => Updated with Vin: 1G2HX54K624102944 ## Mail History Id: 28396574, Consumer Id: 959974, Address Id: 14831169 => Updated with Vin: 1G1JF12F637195746 ## Mail History Id: 28396259, Consumer Id: 973453, Address Id: 14838540 => Updated with Vin: 1G4HR54K4YU194419 ## Mail History Id: 28397458, Consumer Id: 959832, Address Id: 14831054 => Updated with Vin: 1GKEC13Z52R178843 ## Mail History Id: 28396625, Consumer Id: 959904, Address Id: 9864183 => Updated with Vin: 1GTGC13U73F180461 ## Mail History Id: 28396368, Consumer Id: 960200, Address Id: 14831344 => Updated with Vin: 1GKDS13S832139465 ## Mail History Id: 28397172, Consumer Id: 960287, Address Id: 14831412 => Updated with Vin: 2G1WH55KX29282546 ## Mail History Id: 28396328, Consumer Id: 960950, Address Id: 11386694 => Updated with Vin: 1GNDX03E12D199387 ## Mail History Id: 28396672, Consumer Id: 961029, Address Id: 14831470 => Updated with Vin: 3GNGK26UX1G186388 ## Mail History Id: 28397634, Consumer Id: 961255, Address Id: 14832147 => Updated with Vin: 1G4HP52KX3U234830 ## Mail History Id: 28396319, Consumer Id: 979866, Address Id: 14846337 => Updated with Vin: 1G6KD54Y0VU274814 ## Mail History Id: 28397280, Consumer Id: 973184, Address Id: 11388066 => Updated with Vin: 2GCEC19T731348628 ## Mail History Id: 28396164, Consumer Id: 973230, Address Id: 9158779 => Updated with Vin: 1GCEC14V71E240272 ## Mail History Id: 28398518, Consumer Id: 973256, Address Id: 14836915 => Updated with Vin: 1GYEK63N02R276875 ## Mail History Id: 28396288, Consumer Id: 973280, Address Id: 14836934 => Updated with Vin: 1G6KD54Y5WU723390 ## Mail History Id: 28397982, Consumer Id: 979289, Address Id: 14836929 => Updated with Vin: 2GCEC19TXX1290469 ## Mail History Id: 28396986, Consumer Id: 973328, Address Id: 14836974 => Updated with Vin: 1GTEC14V31Z242450 ## Mail History Id: 28397662, Consumer Id: 960286, Address Id: 14831411 => Updated with Vin: 1G4HP54K514283475 ## Mail History Id: 28396864, Consumer Id: 973372, Address Id: 14837670 => Updated with Vin: 3GKEC16Z13G185236 ## Mail History Id: 28397378, Consumer Id: 973552, Address Id: 14839275 => Updated with Vin: 1FALP45T7RF174795 ## Mail History Id: 28396453, Consumer Id: 973593, Address Id: 14831679 => Updated with Vin: 1G2NW52E3XM939502 ## Mail History Id: 28396858, Consumer Id: 967678, Address Id: 14839435 => Updated with Vin: 1G1AK55F977188424 ## Mail History Id: 28397486, Consumer Id: 974525, Address Id: 14840615 => Updated with Vin: 1GNEC13T91R133305 ## Mail History Id: 28396252, Consumer Id: 974501, Address Id: 14841566 => Updated with Vin: 1J4FA29P21P328459 ## Mail History Id: 28397000, Consumer Id: 980591, Address Id: 14841565 => Updated with Vin: 3N1CB51D66L488407 ## Mail History Id: 28398244, Consumer Id: 974566, Address Id: 14842206 => Updated with Vin: 3GNEC12T94G112184 ## Mail History Id: 28396992, Consumer Id: 974746, Address Id: 14843376 => Updated with Vin: 1GCHC23G61F125503 ## Mail History Id: 28396964, Consumer Id: 966250, Address Id: 14838309 => Updated with Vin: 1G1AK55FX67754055 ## Mail History Id: 28396500, Consumer Id: 974872, Address Id: 14835694 => Updated with Vin: 2G1WH55K929193860 ## Mail History Id: 28397296, Consumer Id: 974922, Address Id: 14843493 => Updated with Vin: 2G4WS52J431220222 ## Mail History Id: 28396266, Consumer Id: 974924, Address Id: 14831813 => Updated with Vin: 1FTYR14VX3PA45883 ## Mail History Id: 28396789, Consumer Id: 975132, Address Id: 14838690 => Updated with Vin: 1G3AG54N5P6322773 ## Mail History Id: 28396662, Consumer Id: 975170, Address Id: 9159591 => Updated with Vin: 1GMDX03E3YD145831 ## Mail History Id: 28397078, Consumer Id: 977902, Address Id: 14845251 => Updated with Vin: 1G1YY32G215127949 ## Mail History Id: 28396385, Consumer Id: 973255, Address Id: 14836914 => Updated with Vin: 3GNEC16ZX3G231214 ## Mail History Id: 28396228, Consumer Id: 959924, Address Id: 14831129 => Updated with Vin: 2GCEC19T511293853 ## Mail History Id: 28396987, Consumer Id: 980469, Address Id: 14838922 => Updated with Vin: 1N4DL01D41C162133 ## Mail History Id: 28396215, Consumer Id: 980378, Address Id: 14846629 => Updated with Vin: 1GTHK23101F212344 ## Mail History Id: 28396409, Consumer Id: 980543, Address Id: 11388966 => Updated with Vin: 1G2WR52161F212441 ## Mail History Id: 28396276, Consumer Id: 979735, Address Id: 14831473 => Updated with Vin: 2G1WB55K879168313 ## Mail History Id: 28396963, Consumer Id: 960840, Address Id: 10073547 => Updated with Vin: 5Y2SL62823Z432174 ## Mail History Id: 28397770, Consumer Id: 960004, Address Id: 14831194 => Updated with Vin: 1GCCS145428123078 ## Mail History Id: 28396297, Consumer Id: 960816, Address Id: 14831533 => Updated with Vin: 1GKEC13Z33R129612 ## Mail History Id: 28396199, Consumer Id: 960960, Address Id: 14831645 => Updated with Vin: 3GNFK16Z93G269850 ## Mail History Id: 28397037, Consumer Id: 961151, Address Id: 14831802 => Updated with Vin: 1G4HR54K93U157259 ## Mail History Id: 28398514, Consumer Id: 973142, Address Id: 14835471 => Updated with Vin: 1G2WR52122F154054 ## Mail History Id: 28397406, Consumer Id: 979238, Address Id: 12056809 => Updated with Vin: 1G2NF52F22C117846 ## Mail History Id: 28396696, Consumer Id: 960201, Address Id: 14831345 => Updated with Vin: 1GTEC19V1YZ259380 ## Mail History Id: 28396349, Consumer Id: 965813, Address Id: 14838012 => Updated with Vin: 1G4HP57296U233116 ## Mail History Id: 28396167, Consumer Id: 973460, Address Id: 14831582 => Updated with Vin: 2G1WW12E639304959 ## Mail History Id: 28397234, Consumer Id: 973209, Address Id: 14831717 => Updated with Vin: 1GCCS19XXW8135221 ## Mail History Id: 28398170, Consumer Id: 959854, Address Id: 14831074 => Updated with Vin: 1G1JC12F337119166 ## Mail History Id: 28396498, Consumer Id: 980568, Address Id: 14846738 => Updated with Vin: 1G6KD54Y23U280823 ## Mail History Id: 28398262, Consumer Id: 980468, Address Id: 14846681 => Updated with Vin: 1G1JC52FX37272103 ## Mail History Id: 28397870, Consumer Id: 961008, Address Id: 14831683 => Updated with Vin: 3G5DB03E12S571440 ## Mail History Id: 28396773, Consumer Id: 961246, Address Id: 14832140 => Updated with Vin: 1GMDX03E83D176873 ## Mail History Id: 28398112, Consumer Id: 980541, Address Id: 14846719 => Updated with Vin: 1GCHK231X3F168436 ## Mail History Id: 28396205, Consumer Id: 980523, Address Id: 14846709 => Updated with Vin: 3GNFK16Z73G190967 ## Mail History Id: 28397188, Consumer Id: 980413, Address Id: 14846651 => Updated with Vin: 3GNFK16Z13G330222 ## Mail History Id: 28397951, Consumer Id: 980563, Address Id: 14846734 => Updated with Vin: 1GNEC16Z83J270978 ## Mail History Id: 28396491, Consumer Id: 979649, Address Id: 14846217 => Updated with Vin: 1GNEC13Z13R212507 ## Mail History Id: 28398108, Consumer Id: 980356, Address Id: 14846614 => Updated with Vin: 2GTEC19V541297939 ## Mail History Id: 28398186, Consumer Id: 961092, Address Id: 14831751 => Updated with Vin: 1GTGC24UX1Z214280 ## Mail History Id: 28397852, Consumer Id: 960003, Address Id: 14831193 => Updated with Vin: 1G2NF52F72C169716 ## Mail History Id: 28396476, Consumer Id: 960179, Address Id: 10443770 => Updated with Vin: 1GCHK23163F194421 ## Mail History Id: 28397792, Consumer Id: 960788, Address Id: 14831511 => Updated with Vin: 1G4HR54K72U133220 ## Mail History Id: 28396317, Consumer Id: 961291, Address Id: 14832175 => Updated with Vin: 1G6EL12Y62B104640 ## Mail History Id: 28397494, Consumer Id: 980539, Address Id: 3077098 => Updated with Vin: 1G1YY12S545117090 ## Mail History Id: 28396282, Consumer Id: 961065, Address Id: 14831727 => Updated with Vin: 1G6KF57971U172063 ## Mail History Id: 28397700, Consumer Id: 961081, Address Id: 14831741 => Updated with Vin: 1G1NE52J53M587327 ## Mail History Id: 28396856, Consumer Id: 960748, Address Id: 14831476 => Updated with Vin: 3G5DA03E33S510157 ## Mail History Id: 28396907, Consumer Id: 973273, Address Id: 14836928 => Updated with Vin: 1G1ND52J82M662605 ## Mail History Id: 28398540, Consumer Id: 960807, Address Id: 14831525 => Updated with Vin: 1G4HR54K01U233349 ## Mail History Id: 28397878, Consumer Id: 960981, Address Id: 14831661 => Updated with Vin: 1GKEC13ZX3R191198 ## Mail History Id: 28396506, Consumer Id: 980438, Address Id: 14835814 => Updated with Vin: 1GCEK19J77Z587790 ## Mail History Id: 28396780, Consumer Id: 960732, Address Id: 9159828 => Updated with Vin: 2GCEC19T911106145 ## Mail History Id: 28398298, Consumer Id: 960005, Address Id: 10071057 => Updated with Vin: 2GCEC19V131135174 ## Mail History Id: 28397079, Consumer Id: 961064, Address Id: 14831726 => Updated with Vin: 1G6KD54Y5XU793456 ## Mail History Id: 28397346, Consumer Id: 959816, Address Id: 7531947 => Updated with Vin: 3GNEC16Z13G188785 ## Mail History Id: 28396811, Consumer Id: 973373, Address Id: 14837671 => Updated with Vin: 1GTJC33161F201756 ## Mail History Id: 28397732, Consumer Id: 960803, Address Id: 14831522 => Updated with Vin: 2G4WB55K311265590 ## Mail History Id: 28396203, Consumer Id: 973397, Address Id: 14837692 => Updated with Vin: 1GKEC13Z92R263474 ## Mail History Id: 28398528, Consumer Id: 960919, Address Id: 9254119 => Updated with Vin: 2GCEC19V331297260 ## Mail History Id: 28396954, Consumer Id: 973171, Address Id: 14836159 => Updated with Vin: 1GCGC13U93F198315 ## Mail History Id: 28396687, Consumer Id: 959831, Address Id: 14831053 => Updated with Vin: 1G6KD54Y92U189529 ## Mail History Id: 28397248, Consumer Id: 976875, Address Id: 14844502 => Updated with Vin: 1GNEC13T81R186352 ## Mail History Id: 28398166, Consumer Id: 960073, Address Id: 14831246 => Updated with Vin: 1G6KS54Y32U183893 ## Mail History Id: 28397788, Consumer Id: 960107, Address Id: 14831271 => Updated with Vin: 1GNDS13S932223782 ## Mail History Id: 28396947, Consumer Id: 975612, Address Id: 14843935 => Updated with Vin: 1G1YY12S135127498 ## Mail History Id: 28397278, Consumer Id: 960746, Address Id: 11388063 => Updated with Vin: 1GNEC13V53R131698 ## Mail History Id: 28396569, Consumer Id: 959925, Address Id: 14831130 => Updated with Vin: 3GKEC16Z53G241212 ## Mail History Id: 28396707, Consumer Id: 960160, Address Id: 14831313 => Updated with Vin: 3GKEC16Z63G213015 ## Mail History Id: 28396958, Consumer Id: 980199, Address Id: 14844251 => Updated with Vin: 1GCCS136848127079 ## Mail History Id: 28397843, Consumer Id: 980380, Address Id: 14846631 => Updated with Vin: 1GCHK23U74F244450 ## Mail History Id: 28396895, Consumer Id: 979640, Address Id: 14846212 => Updated with Vin: 1GNEC13Z64R114011 ## Mail History Id: 28396250, Consumer Id: 979718, Address Id: 11386614 => Updated with Vin: 1G6KD54YX4U139368 ## Mail History Id: 28398022, Consumer Id: 980105, Address Id: 14846478 => Updated with Vin: 5Y2SL62804Z442624 ## Mail History Id: 28396474, Consumer Id: 959863, Address Id: 14831080 => Updated with Vin: 1G4GD2211W4704161 ## Mail History Id: 28397916, Consumer Id: 975200, Address Id: 14843675 => Updated with Vin: 2G2WR524541121053 ## Mail History Id: 28397116, Consumer Id: 965815, Address Id: 14838014 => Updated with Vin: 1GKET66MX66149973 ## Mail History Id: 28396654, Consumer Id: 977706, Address Id: 9982750 => Updated with Vin: 3GNFC16J57G112314 ## Mail History Id: 28396655, Consumer Id: 975412, Address Id: 14831510 => Updated with Vin: 1G4HP52K15U233908 ## Mail History Id: 28397012, Consumer Id: 976633, Address Id: 14844558 => Updated with Vin: 2GTEK13T461118321 ## Mail History Id: 28397282, Consumer Id: 976182, Address Id: 14844274 => Updated with Vin: 1G2MB33B56Y104394 ## Mail History Id: 28396886, Consumer Id: 982827, Address Id: 14846750 => Updated with Vin: 2GCEK13T841310905 ## Mail History Id: 28397546, Consumer Id: 980411, Address Id: 14846649 => Updated with Vin: 1GCGC33R8WF019256 ## Mail History Id: 28397314, Consumer Id: 980516, Address Id: 14845307 => Updated with Vin: 1GCEC14X63Z337900 ## Mail History Id: 28396914, Consumer Id: 978659, Address Id: 14845654 => Updated with Vin: 3GNEC16ZX4G150652 ## Mail History Id: 28397258, Consumer Id: 968926, Address Id: 9253293 => Updated with Vin: 1G1AK55F677184508 ## Mail History Id: 28398556, Consumer Id: 978839, Address Id: 14845755 => Updated with Vin: 2GCEK19N941282105 ## Mail History Id: 28396279, Consumer Id: 980555, Address Id: 14840472 => Updated with Vin: 1GCHK23667F531333 ## Mail History Id: 28397927, Consumer Id: 980494, Address Id: 11485196 => Updated with Vin: 1G1YY26E865127867 ## Mail History Id: 28398156, Consumer Id: 980488, Address Id: 14846695 => Updated with Vin: 5GRGN23U84H105014 ## Mail History Id: 28396551, Consumer Id: 982824, Address Id: 14846767 => Updated with Vin: 1FAFP53487A107227 ## Mail History Id: 28396438, Consumer Id: 980549, Address Id: 14846724 => Updated with Vin: 1G6KE57Y63U194634 ## Mail History Id: 28397124, Consumer Id: 977397, Address Id: 14844984 => Updated with Vin: 1GNFC13J77R237514 ## Mail History Id: 28396547, Consumer Id: 978973, Address Id: 9863464 => Updated with Vin: 1GKDS13S452175690 ## Mail History Id: 28396848, Consumer Id: 980533, Address Id: 14846715 => Updated with Vin: 2G1WC58R779107086 ## Mail History Id: 28396653, Consumer Id: 980514, Address Id: 14846704 => Updated with Vin: 1GKES16S056123420 ## Mail History Id: 28397478, Consumer Id: 980565, Address Id: 14846735 => Updated with Vin: 2CNDL13F456162531 ## Mail History Id: 28397030, Consumer Id: 980067, Address Id: 14846455 => Updated with Vin: 2CNDL63F756165534 ## Mail History Id: 28397292, Consumer Id: 961768, Address Id: 14832176 => Updated with Vin: 1GCJC33265F852898 ## Mail History Id: 28396173, Consumer Id: 960815, Address Id: 14831532 => Updated with Vin: 3G5DA03E42S563108 ## Mail History Id: 28397322, Consumer Id: 980564, Address Id: 14837723 => Updated with Vin: 1GCHK23205F873127 ## Mail History Id: 28397922, Consumer Id: 980467, Address Id: 14846680 => Updated with Vin: 1GCGC13UX5F937047 ## Mail History Id: 28396937, Consumer Id: 980566, Address Id: 14846736 => Updated with Vin: 1GKEK63U75J148377 ## Mail History Id: 28397182, Consumer Id: 979778, Address Id: 14836211 => Updated with Vin: 1GNEC13T15R223246 ## Mail History Id: 28396177, Consumer Id: 977901, Address Id: 14845250 => Updated with Vin: 1GBHG31V851243412 ## Mail History Id: 28397644, Consumer Id: 975457, Address Id: 14839244 => Updated with Vin: 3GNEK13T42G117002 ## Mail History Id: 28396340, Consumer Id: 975531, Address Id: 14843885 => Updated with Vin: 1GTEC14W42Z249837 ## Mail History Id: 28396376, Consumer Id: 980493, Address Id: 9133140 => Updated with Vin: 2GTEK19T041108194 ## Mail History Id: 28396405, Consumer Id: 980586, Address Id: 14843876 => Updated with Vin: 1G1BL52P9TR192678 ## Mail History Id: 28396837, Consumer Id: 975598, Address Id: 14843927 => Updated with Vin: 1GNDS13S522403775 ## Mail History Id: 28398588, Consumer Id: 975635, Address Id: 14843945 => Updated with Vin: 1GNEC13Z24J325138 ## Mail History Id: 28396220, Consumer Id: 975662, Address Id: 9158903 => Updated with Vin: 1GKES16S346240570 ## Mail History Id: 28397740, Consumer Id: 975785, Address Id: 14844040 => Updated with Vin: 2GCEC13T751123248 ## Mail History Id: 28396378, Consumer Id: 975892, Address Id: 14844104 => Updated with Vin: 1GTHC23285F966992 ## Mail History Id: 28397134, Consumer Id: 975901, Address Id: 14844109 => Updated with Vin: 2G4WF5215X1580299 ## Mail History Id: 28396239, Consumer Id: 975942, Address Id: 14831108 => Updated with Vin: 2GCEC19V331103150 ## Mail History Id: 28396509, Consumer Id: 976008, Address Id: 14838713 => Updated with Vin: 1GTJK33296F131589 ## Mail History Id: 28397076, Consumer Id: 975997, Address Id: 14844161 => Updated with Vin: 2GCEC19V551112905 ## Mail History Id: 28396768, Consumer Id: 976012, Address Id: 11387081 => Updated with Vin: 1GNEC13T15R157913 ## Mail History Id: 28396693, Consumer Id: 976040, Address Id: 14844186 => Updated with Vin: 1GKEC13V55J256893 ## Mail History Id: 28397366, Consumer Id: 976181, Address Id: 14836155 => Updated with Vin: 3GNEC12Z65G205749 ## Mail History Id: 28397614, Consumer Id: 976268, Address Id: 14844324 => Updated with Vin: 1GTHK23205F969050 ## Mail History Id: 28396316, Consumer Id: 976286, Address Id: 14844336 => Updated with Vin: 1GNEC13TX5R141287 ## Mail History Id: 28396737, Consumer Id: 976331, Address Id: 14844355 => Updated with Vin: 2GCEC19V031409108 ## Mail History Id: 28396769, Consumer Id: 976311, Address Id: 14831077 => Updated with Vin: 1G4CW54K414293069 ## Mail History Id: 28397042, Consumer Id: 976339, Address Id: 14844359 => Updated with Vin: 2G1WH55K429161446 ## Mail History Id: 28396428, Consumer Id: 976336, Address Id: 14841847 => Updated with Vin: JTEZU14R940020713 ## Mail History Id: 28396523, Consumer Id: 976388, Address Id: 8473254 => Updated with Vin: 2G1WF52E439205807 ## Mail History Id: 28396370, Consumer Id: 976377, Address Id: 9133130 => Updated with Vin: 2CNDL63F156104809 ## Mail History Id: 28397384, Consumer Id: 979645, Address Id: 14844438 => Updated with Vin: 3GNFC16057G189496 ## Mail History Id: 28398268, Consumer Id: 976495, Address Id: 14832051 => Updated with Vin: 1GNEK13Z34R254956 ## Mail History Id: 28396796, Consumer Id: 976528, Address Id: 14844482 => Updated with Vin: 1GTHK23161F213031 ## Mail History Id: 28396247, Consumer Id: 976583, Address Id: 11388803 => Updated with Vin: 1J4GX48S22C216189 ## Mail History Id: 28396294, Consumer Id: 968938, Address Id: 9672469 => Updated with Vin: 5GAER13778J104227 ## Mail History Id: 28396295, Consumer Id: 976749, Address Id: 14844626 => Updated with Vin: 1GTHK23275F962452 ## Mail History Id: 28397964, Consumer Id: 976754, Address Id: 14844629 => Updated with Vin: 2GTEC13T761153318 ## Mail History Id: 28396800, Consumer Id: 976890, Address Id: 14844714 => Updated with Vin: 1GNES16S356131725 ## Mail History Id: 28397826, Consumer Id: 976885, Address Id: 14844710 => Updated with Vin: 3GNEC16R4XG247060 ## Mail History Id: 28396639, Consumer Id: 977125, Address Id: 14844841 => Updated with Vin: 2GCEC19T121398410 ## Mail History Id: 28396162, Consumer Id: 977177, Address Id: 14844865 => Updated with Vin: 1GCEC14V52Z223061 ## Mail History Id: 28396623, Consumer Id: 977216, Address Id: 14844883 => Updated with Vin: 1GCHK23265F827396 ## Mail History Id: 28398578, Consumer Id: 977257, Address Id: 14844906 => Updated with Vin: 1GNEC13T45R158991 ## Mail History Id: 28396433, Consumer Id: 980532, Address Id: 14845124 => Updated with Vin: 1GNEC13Z63J338053 ## Mail History Id: 28397862, Consumer Id: 978073, Address Id: 14845011 => Updated with Vin: 2CNBE18U9S6913983 ## Mail History Id: 28396983, Consumer Id: 977489, Address Id: 14845038 => Updated with Vin: 1GNES16S956150571 ## Mail History Id: 28397342, Consumer Id: 977490, Address Id: 14841936 => Updated with Vin: 1GMDX13E84D112016 ## Mail History Id: 28397932, Consumer Id: 977508, Address Id: 14845050 => Updated with Vin: 1GCEC19Z96E180546 ## Mail History Id: 28397977, Consumer Id: 977581, Address Id: 14845087 => Updated with Vin: 1G1YZ23J0M5800176 ## Mail History Id: 28396545, Consumer Id: 977582, Address Id: 8326894 => Updated with Vin: 1GCEC19V24Z214104 ## Mail History Id: 28396715, Consumer Id: 977624, Address Id: 14831391 => Updated with Vin: 1GTHK24U06E130068 ## Mail History Id: 28396872, Consumer Id: 977723, Address Id: 14845155 => Updated with Vin: 2CNDL13F766187201 ## Mail History Id: 28396341, Consumer Id: 977715, Address Id: 14845148 => Updated with Vin: 1G6KE54Y0WU745018 ## Mail History Id: 28398438, Consumer Id: 977832, Address Id: 14845218 => Updated with Vin: 3GNEC16Z12G305750 ## Mail History Id: 28396452, Consumer Id: 980510, Address Id: 14845223 => Updated with Vin: 3G5DA03EX4S542637 ## Mail History Id: 28396751, Consumer Id: 977978, Address Id: 14845296 => Updated with Vin: 1G6KD54YX2U200733 ## Mail History Id: 28397937, Consumer Id: 977977, Address Id: 14845295 => Updated with Vin: 3GNFC16J87G118253 ## Mail History Id: 28397244, Consumer Id: 978003, Address Id: 8326292 => Updated with Vin: 1GKFK66U35J246595 ## Mail History Id: 28397396, Consumer Id: 978010, Address Id: 14845314 => Updated with Vin: 1GNEC13Z96R109940 ## Mail History Id: 28396568, Consumer Id: 978104, Address Id: 14845357 => Updated with Vin: 1G1AL55FX67759480 ## Mail History Id: 28398182, Consumer Id: 978072, Address Id: 14845343 => Updated with Vin: 2G1WF52E949300543 ## Mail History Id: 28396191, Consumer Id: 978058, Address Id: 14845337 => Updated with Vin: 1G3NL12E54C225949 ## Mail History Id: 28397693, Consumer Id: 978192, Address Id: 14831854 => Updated with Vin: 1G6EL12Y9YU167874 ## Mail History Id: 28396616, Consumer Id: 978273, Address Id: 9159491 => Updated with Vin: 1GKEK63U65J260863 ## Mail History Id: 28396889, Consumer Id: 978322, Address Id: 14831500 => Updated with Vin: 1G6KD57Y76U162654 ## Mail History Id: 28396771, Consumer Id: 978355, Address Id: 14845391 => Updated with Vin: 2GCEK13T741372683 ## Mail History Id: 28396577, Consumer Id: 978397, Address Id: 14845511 => Updated with Vin: 1GTHC23112F211895 ## Mail History Id: 28396395, Consumer Id: 978522, Address Id: 14845585 => Updated with Vin: 1GKFC13047R328034 ## Mail History Id: 28396233, Consumer Id: 978463, Address Id: 14845552 => Updated with Vin: 2GCEC19W2X1245780 ## Mail History Id: 28396829, Consumer Id: 978464, Address Id: 14845553 => Updated with Vin: 1GKFC16047R232531 ## Mail History Id: 28396686, Consumer Id: 978503, Address Id: 14845577 => Updated with Vin: 1J4G258S5XC543407 ## Mail History Id: 28397183, Consumer Id: 978521, Address Id: 14844653 => Updated with Vin: 1G1YY24U655105505 ## Mail History Id: 28396802, Consumer Id: 978640, Address Id: 14845647 => Updated with Vin: 2CNDL13F976000476 ## Mail History Id: 28397862, Consumer Id: 978622, Address Id: 14845011 => Updated with Vin: 2GCEC19R8V1210801 ## Mail History Id: 28396426, Consumer Id: 978673, Address Id: 14845662 => Updated with Vin: 1G6DW52P7SR704110 ## Mail History Id: 28396795, Consumer Id: 978660, Address Id: 14845655 => Updated with Vin: 1G1YY34U855135255 ## Mail History Id: 28397200, Consumer Id: 978752, Address Id: 12057050 => Updated with Vin: 1GCHC23194F168233 ## Mail History Id: 28397960, Consumer Id: 978753, Address Id: 14835423 => Updated with Vin: 1GNDV23L95D230471 ## Mail History Id: 28397028, Consumer Id: 978815, Address Id: 14845739 => Updated with Vin: 1G1YY12SX45103251 ## Mail History Id: 28396975, Consumer Id: 978838, Address Id: 10073606 => Updated with Vin: 6G2VX12U05L358395 ## Mail History Id: 28397358, Consumer Id: 978852, Address Id: 14845762 => Updated with Vin: 1GCJK33D96F234481 ## Mail History Id: 28396555, Consumer Id: 978882, Address Id: 14845783 => Updated with Vin: 1GNFC13JX7R209688 ## Mail History Id: 28396482, Consumer Id: 978997, Address Id: 14845847 => Updated with Vin: 1GKEC13T25R225438 ## Mail History Id: 28397010, Consumer Id: 979059, Address Id: 14845881 => Updated with Vin: 2G1WF52E459206068 ## Mail History Id: 28396790, Consumer Id: 979130, Address Id: 14845919 => Updated with Vin: 2G1WT55K179155562 ## Mail History Id: 28396291, Consumer Id: 979131, Address Id: 14845920 => Updated with Vin: 2GCEK19T631412001 ## Mail History Id: 28396377, Consumer Id: 979146, Address Id: 14845928 => Updated with Vin: 1GTHK23D46F246188 ## Mail History Id: 28396353, Consumer Id: 979137, Address Id: 14845922 => Updated with Vin: 1GNEC13T21R107466 ## Mail History Id: 28396904, Consumer Id: 979207, Address Id: 8162146 => Updated with Vin: 1GCHC29142E120021 ## Mail History Id: 28397917, Consumer Id: 969726, Address Id: 14840919 => Updated with Vin: 2GCEC13T541422249 ## Mail History Id: 28396187, Consumer Id: 979328, Address Id: 14846033 => Updated with Vin: 1GTHK29D27E157833 ## Mail History Id: 28396237, Consumer Id: 979367, Address Id: 14846057 => Updated with Vin: 1GKES16S256145824 ## Mail History Id: 28397326, Consumer Id: 970377, Address Id: 9253543 => Updated with Vin: 1GNDS13S672186499 ## Mail History Id: 28397867, Consumer Id: 979366, Address Id: 14846056 => Updated with Vin: 1GNEC13Z44J170298 ## Mail History Id: 28398102, Consumer Id: 970380, Address Id: 14841374 => Updated with Vin: 3GCEC13J37G537300 ## Mail History Id: 28398250, Consumer Id: 979426, Address Id: 14840720 => Updated with Vin: 3GNFK16347G260555 ## Mail History Id: 28397178, Consumer Id: 979998, Address Id: 9252957 => Updated with Vin: 1GNDS13S772295957 ## Mail History Id: 28397586, Consumer Id: 980529, Address Id: 14841118 => Updated with Vin: 1GNEC13Z64R229031 ## Mail History Id: 28396306, Consumer Id: 976884, Address Id: 14844709 => Updated with Vin: 1G4HP54K9Y4168274 ## Mail History Id: 28397266, Consumer Id: 979571, Address Id: 14846167 => Updated with Vin: 1GNDS13S352314100 ## Mail History Id: 28396450, Consumer Id: 970639, Address Id: 14841608 => Updated with Vin: 1GNFC13077J405528 ## Mail History Id: 28396956, Consumer Id: 970638, Address Id: 2384299 => Updated with Vin: 1GNFC13J47R405318 ## Mail History Id: 28397658, Consumer Id: 979616, Address Id: 9169060 => Updated with Vin: 2GCEC13V161201879 ## Mail History Id: 28397147, Consumer Id: 979746, Address Id: 14846265 => Updated with Vin: 4A3AK44YXWE093799 ## Mail History Id: 28397086, Consumer Id: 979687, Address Id: 12057173 => Updated with Vin: 1GCDS196848167836 ## Mail History Id: 28397156, Consumer Id: 979893, Address Id: 14846352 => Updated with Vin: 1GKEC13Z92R118287 ## Mail History Id: 28397214, Consumer Id: 980505, Address Id: 12056126 => Updated with Vin: 3GNEC16Z52G223262 ## Mail History Id: 28397386, Consumer Id: 979930, Address Id: 14846376 => Updated with Vin: 5GADS13S152104220 ## Mail History Id: 28398194, Consumer Id: 979929, Address Id: 14846375 => Updated with Vin: 1G1AP18P877201131 ## Mail History Id: 28396941, Consumer Id: 979905, Address Id: 14846360 => Updated with Vin: 2G1WH55K919162204 ## Mail History Id: 28396200, Consumer Id: 980018, Address Id: 14837216 => Updated with Vin: 2GCEC13CX71679881 ## Mail History Id: 28398288, Consumer Id: 980477, Address Id: 14846687 => Updated with Vin: 1GNEC13Z62R162380 ## Mail History Id: 28396935, Consumer Id: 979932, Address Id: 14845945 => Updated with Vin: 2GCEK19J871630557 ## Mail History Id: 28397184, Consumer Id: 979971, Address Id: 14846399 => Updated with Vin: 1G2ZH368264273428 ## Mail History Id: 28397510, Consumer Id: 979996, Address Id: 14846413 => Updated with Vin: 1G6DP567550201451 ## Mail History Id: 28397592, Consumer Id: 980024, Address Id: 14846430 => Updated with Vin: 2G1WF52E259133007 ## Mail History Id: 28397750, Consumer Id: 980079, Address Id: 14846462 => Updated with Vin: 1GTDS196X58116307 ## Mail History Id: 28396996, Consumer Id: 980078, Address Id: 14846461 => Updated with Vin: 2GCEC19V831393918 ## Mail History Id: 28396463, Consumer Id: 980097, Address Id: 14846473 => Updated with Vin: 1GCHK23245F803825 ## Mail History Id: 28397224, Consumer Id: 980096, Address Id: 14846472 => Updated with Vin: 1GCHK23668F131967 ## Mail History Id: 28396674, Consumer Id: 980235, Address Id: 14846557 => Updated with Vin: 3GNEC13T73G233440 ## Mail History Id: 28398472, Consumer Id: 980492, Address Id: 14846697 => Updated with Vin: 1GNFC13067R352130 ## Mail History Id: 28396761, Consumer Id: 980499, Address Id: 14846579 => Updated with Vin: KL1TD526X5B307386 ## Mail History Id: 28397979, Consumer Id: 980267, Address Id: 14846575 => Updated with Vin: 1G2MB33B76Y000148 ## Mail History Id: 28396784, Consumer Id: 980352, Address Id: 14846611 => Updated with Vin: KL1TD56607B079685 ## Mail History Id: 28396604, Consumer Id: 980320, Address Id: 14846603 => Updated with Vin: 2G1WH52K559271835 ## Mail History Id: 28398034, Consumer Id: 980501, Address Id: 14835149 => Updated with Vin: 1G4HP54K91U263505 ## Mail History Id: 28397276, Consumer Id: 980544, Address Id: 9185594 => Updated with Vin: 6G2VX12G04L305866 ## Mail History Id: 28397668, Consumer Id: 980483, Address Id: 14846691 => Updated with Vin: 1GNEK13Z44R297265 ## Mail History Id: 28396980, Consumer Id: 980471, Address Id: 14846683 => Updated with Vin: 1GNEC13Z04R228795 ## Mail History Id: 28397108, Consumer Id: 975910, Address Id: 8472960 => Updated with Vin: 1G1AL55F567660128 ## Mail History Id: 28396870, Consumer Id: 980480, Address Id: 14846689 => Updated with Vin: 1GNDV23167D104103 ## Mail History Id: 28396926, Consumer Id: 980592, Address Id: 9160117 => Updated with Vin: 2G1WB58K269403573 ## Mail History Id: 28396581, Consumer Id: 980439, Address Id: 14846664 => Updated with Vin: 3GKEC16ZX3G236216 ## Mail History Id: 28396971, Consumer Id: 980429, Address Id: 10073598 => Updated with Vin: 2G1WC58R279244808 ## Mail History Id: 28396201, Consumer Id: 980445, Address Id: 9161852 => Updated with Vin: 1GKES63M462194888 ## Mail History Id: 28397656, Consumer Id: 980426, Address Id: 14846659 => Updated with Vin: 1G4HR54K42U273645 ## Mail History Id: 28397236, Consumer Id: 980554, Address Id: 11387975 => Updated with Vin: 1GNDS13S742332565 ## Mail History Id: 28397722, Consumer Id: 980451, Address Id: 14846669 => Updated with Vin: 1GCHK23667F517190 ## Mail History Id: 28396665, Consumer Id: 980454, Address Id: 9864681 => Updated with Vin: 3GKEC16Z15G179570 ## Mail History Id: 28396905, Consumer Id: 980455, Address Id: 14846671 => Updated with Vin: 3G7DA03E74S515564 ## Mail History Id: 28396957, Consumer Id: 980470, Address Id: 14846682 => Updated with Vin: 1GTHK23667F505072 ## Mail History Id: 28398212, Consumer Id: 980497, Address Id: 10447058 => Updated with Vin: 2GTEC19T841243131 ## Mail History Id: 28398410, Consumer Id: 978598, Address Id: 14845627 => Updated with Vin: 5GADV23157D113823 ## Mail History Id: 28396909, Consumer Id: 980457, Address Id: 14846672 => Updated with Vin: 2CNDL63F566189378 ## Mail History Id: 28397949, Consumer Id: 980458, Address Id: 14846673 => Updated with Vin: 2GCEC13C571515468 ## Mail History Id: 28397100, Consumer Id: 980459, Address Id: 14846674 => Updated with Vin: 1G1YY12S825118506 ## Mail History Id: 28396805, Consumer Id: 980423, Address Id: 14846657 => Updated with Vin: 1GCHC33F5WF011075 ## Mail History Id: 28397021, Consumer Id: 980428, Address Id: 14837894 => Updated with Vin: 2CNDL63FX66008811 ## Mail History Id: 28396924, Consumer Id: 960641, Address Id: 14832071 => Updated with Vin: 2GTEK13T451328206 ## Mail History Id: 28396267, Consumer Id: 975878, Address Id: 14844093 => Updated with Vin: 1GKES63M662122235 ## Mail History Id: 28398062, Consumer Id: 980425, Address Id: 14846658 => Updated with Vin: 5GRGN22U05H125938 ## Mail History Id: 28397046, Consumer Id: 980453, Address Id: 14846670 => Updated with Vin: 1GNDS13S652246794 ## Mail History Id: 28397176, Consumer Id: 980424, Address Id: 14845396 => Updated with Vin: 2GTEC638381107030 ## Mail History Id: 28396367, Consumer Id: 980502, Address Id: 14844959 => Updated with Vin: 3GTEC14X37G205456 ## Mail History Id: 28397400, Consumer Id: 980500, Address Id: 14846699 => Updated with Vin: 3GKEC16T0YG136130 ## Mail History Id: 28396593, Consumer Id: 980490, Address Id: 10459917 => Updated with Vin: 2CNDL13F356115832 ## Mail History Id: 28398214, Consumer Id: 980430, Address Id: 14846661 => Updated with Vin: 1G4HP54K32U230615 ## Mail History Id: 28397262, Consumer Id: 980462, Address Id: 7107930 => Updated with Vin: 1G8JS52F5YY671748 ## Mail History Id: 28397780, Consumer Id: 980450, Address Id: 14846668 => Updated with Vin: 1GNEC13V23R284118 ## Mail History Id: 28396419, Consumer Id: 980496, Address Id: 14846698 => Updated with Vin: 1GNFC130X7R385762 ## Mail History Id: 28396427, Consumer Id: 980503, Address Id: 14846700 => Updated with Vin: 1GKFC13077R277189 ## Mail History Id: 28397350, Consumer Id: 980498, Address Id: 14845979 => Updated with Vin: 3GNEC16TXYG113067 ## Mail History Id: 28397968, Consumer Id: 980489, Address Id: 14846696 => Updated with Vin: 3GNDA13DX7S576689 ## Mail History Id: 28396847, Consumer Id: 980474, Address Id: 14846684 => Updated with Vin: 5GADV33L66D217100 ## Mail History Id: 28396660, Consumer Id: 980504, Address Id: 14845531 => Updated with Vin: 3GCEC13J68G196248 ## Mail History Id: 28397876, Consumer Id: 980484, Address Id: 14846692 => Updated with Vin: 1GNCS13W0Y2345369 ## Mail History Id: 28397067, Consumer Id: 979496, Address Id: 14846126 => Updated with Vin: 2G1WT55N879362072 ## Mail History Id: 28397440, Consumer Id: 980476, Address Id: 14846686 => Updated with Vin: 1G1AK15F377226495 ## Mail History Id: 28398560, Consumer Id: 980466, Address Id: 14846679 => Updated with Vin: 3GNEC16R0XG191392 ## Mail History Id: 28396413, Consumer Id: 980507, Address Id: 14845815 => Updated with Vin: 1GNDS13S742434402 ## Mail History Id: 28396604, Consumer Id: 980478, Address Id: 14846603 => Updated with Vin: 2G1WD58C679310771 ## Mail History Id: 28397584, Consumer Id: 980479, Address Id: 14846688 => Updated with Vin: 2G1WF52E739155257 ## Mail History Id: 28397418, Consumer Id: 980487, Address Id: 14846694 => Updated with Vin: 1G2ZF58B974159521 ## Mail History Id: 28397566, Consumer Id: 980509, Address Id: 1134886 => Updated with Vin: 2G1WD58C769310423 ## Mail History Id: 28396592, Consumer Id: 980506, Address Id: 14846701 => Updated with Vin: 1GKEC13Z52R157541 ## Mail History Id: 28396415, Consumer Id: 980485, Address Id: 14846693 => Updated with Vin: 2CNDL63F566093914 ## Mail History Id: 28398016, Consumer Id: 982832, Address Id: 14846765 => Updated with Vin: 1GNEC13V24R166622 ## Mail History Id: 28397226, Consumer Id: 980481, Address Id: 14846690 => Updated with Vin: 3GNFC16077G245647 ## Mail History Id: 28398246, Consumer Id: 980547, Address Id: 10447949 => Updated with Vin: 1GCEC14X83Z286559 ## Mail History Id: 28396918, Consumer Id: 980520, Address Id: 14846708 => Updated with Vin: 1G1AP18P477256532 ## Mail History Id: 28396888, Consumer Id: 980473, Address Id: 14844829 => Updated with Vin: WBAHD6321SGK50250 ## Mail History Id: 28397518, Consumer Id: 980538, Address Id: 14846718 => Updated with Vin: 1GKDM19W0VB518015 ## Mail History Id: 28397320, Consumer Id: 980508, Address Id: 11388100 => Updated with Vin: 1FMEU15H9RLA05946 ## Mail History Id: 28396483, Consumer Id: 980517, Address Id: 14846706 => Updated with Vin: 1GKFK63867J266303 ## Mail History Id: 28396440, Consumer Id: 980512, Address Id: 14846703 => Updated with Vin: JT2DG02T4V0041154 ## Mail History Id: 28396204, Consumer Id: 980482, Address Id: 14837290 => Updated with Vin: JNKCV54E55M408557 ## Mail History Id: 28396608, Consumer Id: 980515, Address Id: 14846705 => Updated with Vin: 2G2WR554371198021 ## Mail History Id: 28396724, Consumer Id: 980526, Address Id: 14846712 => Updated with Vin: 1G1ZT58F27F122069 ## Mail History Id: 28397883, Consumer Id: 980475, Address Id: 14846685 => Updated with Vin: 1GCEC19X57Z184389 ## Mail History Id: 28396190, Consumer Id: 982818, Address Id: 14846768 => Updated with Vin: 2GTEC13V071140137 ## Mail History Id: 28396417, Consumer Id: 980511, Address Id: 14846702 => Updated with Vin: 2G4WB52K9W1566960 ## Mail History Id: 28397857, Consumer Id: 980583, Address Id: 14840723 => Updated with Vin: 3A57A114488000000 ## Mail History Id: 28396382, Consumer Id: 980530, Address Id: 14846713 => Updated with Vin: 1G2NE52F44M710754 ## Mail History Id: 28397169, Consumer Id: 980542, Address Id: 14846720 => Updated with Vin: 2G2WS522051286805 ## Mail History Id: 28397813, Consumer Id: 980525, Address Id: 14846711 => Updated with Vin: KL1TD56648B117131 ## Mail History Id: 28396384, Consumer Id: 980545, Address Id: 14846721 => Updated with Vin: 1G1NE52M7X6212690 ## Mail History Id: 28397753, Consumer Id: 980522, Address Id: 11245628 => Updated with Vin: 1GNFC13J97R145031 ## Mail History Id: 28397040, Consumer Id: 980535, Address Id: 14846717 => Updated with Vin: 1G1YY12G3X5111742 ## Mail History Id: 28396903, Consumer Id: 980546, Address Id: 14846722 => Updated with Vin: 1GCEC19X86Z198348 ## Mail History Id: 28396836, Consumer Id: 980527, Address Id: 9159903 => Updated with Vin: 1G1NE52J2Y6176866 ## Mail History Id: 28396706, Consumer Id: 980531, Address Id: 14846714 => Updated with Vin: 2GCEK19TX21239081 ## Mail History Id: 28396988, Consumer Id: 980534, Address Id: 14846716 => Updated with Vin: 1G6ET1292XU600295 ## Mail History Id: 28396929, Consumer Id: 980556, Address Id: 14846728 => Updated with Vin: 2G4WC582261249610 ## Mail History Id: 28397598, Consumer Id: 980528, Address Id: 2379362 => Updated with Vin: 1GKER13707J104393 ## Mail History Id: 28396871, Consumer Id: 980548, Address Id: 14846723 => Updated with Vin: 1GNEC13R6XJ478481 ## Mail History Id: 28396890, Consumer Id: 980569, Address Id: 14846739 => Updated with Vin: 1GKEC13VX6R129236 ## Mail History Id: 28397034, Consumer Id: 980581, Address Id: 14846747 => Updated with Vin: 1GMDX13E02D196264 ## Mail History Id: 28396600, Consumer Id: 982819, Address Id: 14846761 => Updated with Vin: 1G1AK55F277136553 ## Mail History Id: 28396527, Consumer Id: 980552, Address Id: 11214993 => Updated with Vin: 2FMDA5143SBC30061 ## Mail History Id: 28396976, Consumer Id: 980572, Address Id: 14846741 => Updated with Vin: 1GNDM19WXYB124254 ## Mail History Id: 28397064, Consumer Id: 980553, Address Id: 14846727 => Updated with Vin: 1G3NL52F04C133275 ## Mail History Id: 28397436, Consumer Id: 980567, Address Id: 14846737 => Updated with Vin: 2GCEK19T631277814 ## Mail History Id: 28396609, Consumer Id: 980550, Address Id: 14846725 => Updated with Vin: 1GNEC13V64R318627 ## Mail History Id: 28397155, Consumer Id: 980570, Address Id: 14846740 => Updated with Vin: 1G3WH52K8XF331124 ## Mail History Id: 28397368, Consumer Id: 982831, Address Id: 9185807 => Updated with Vin: 2G1WT58K779371685 ## Mail History Id: 28397332, Consumer Id: 979081, Address Id: 14845897 => Updated with Vin: 1G1ZS58F87F310629 ## Mail History Id: 28396526, Consumer Id: 982825, Address Id: 14846749 => Updated with Vin: 1GCEC14T62Z205327 ## Mail History Id: 28397920, Consumer Id: 982821, Address Id: 14903252 => Updated with Vin: 1GCJK33255F893722 ## Mail History Id: 28397542, Consumer Id: 980590, Address Id: 10071015 => Updated with Vin: 1G6VS3392PU126071 ## Mail History Id: 28397910, Consumer Id: 980582, Address Id: 14846748 => Updated with Vin: 1G1YY26U865106251 ## Mail History Id: 28396318, Consumer Id: 980588, Address Id: 14842146 => Updated with Vin: 1NXBR12E7XZ284089 ## Mail History Id: 28397254, Consumer Id: 982830, Address Id: 11387996 => Updated with Vin: 1GCCS19X9V8204687 ## Mail History Id: 28397556, Consumer Id: 982823, Address Id: 14846270 => Updated with Vin: 1GTEC19018Z114389 ## Mail History Id: 28396633, Consumer Id: 982822, Address Id: 14846762 => Updated with Vin: 2G4WS52J221255761 ## Mail History Id: 28396782, Consumer Id: 980589, Address Id: 9159836 => Updated with Vin: 1G1ZS52F35F219662 ## Mail History Id: 28396296, Consumer Id: 980587, Address Id: 11386666 => Updated with Vin: JM1GD2224L1804491 ## Mail History Id: 28396570, Consumer Id: 982828, Address Id: 14846131 => Updated with Vin: WBAEV33483KL81738 ## Mail History Id: 28397737, Consumer Id: 980580, Address Id: 14846746 => Updated with Vin: 1GNDV23E95D117234 ## Mail History Id: 28396352, Consumer Id: 980577, Address Id: 14846745 => Updated with Vin: 1G4BN5378PR407095 ## Mail History Id: 28396978, Consumer Id: 978436, Address Id: 9160187 => Updated with Vin: 2G2WP552771159890 ## Mail History Id: 28397759, Consumer Id: 968594, Address Id: 14840095 => Updated with Vin: 2G2WP552461157626 ## Mail History Id: 28397695, Consumer Id: 982820, Address Id: 14846760 => Updated with Vin: 2GCEC19V521407532 ## Mail History Id: 28396390, Consumer Id: 982817, Address Id: 14846759 => Updated with Vin: 3G5DA03E64S572346 ## Mail History Id: 28396925, Consumer Id: 982858, Address Id: 14846756 => Updated with Vin: 2G1WF52E859319411 ## Mail History Id: 28397678, Consumer Id: 982872, Address Id: 14846751 => Updated with Vin: 1GTHC23U42F113146 ## Mail History Id: 28396635, Consumer Id: 982851, Address Id: 14846755 => Updated with Vin: 1GCGC33J9WF065950 ## Mail History Id: 28396361, Consumer Id: 1266591, Address Id: 11388951 => Updated with Vin: 2G4WC582181263789 ## Mail History Id: 28396689, Consumer Id: 959921, Address Id: 10460709 => Updated with Vin: 2GTEC19T231260702 ## Mail History Id: 28396893, Consumer Id: 980414, Address Id: 14846652 => Updated with Vin: 5Y2SL65856Z463256 ## Mail History Id: 28397958, Consumer Id: 979947, Address Id: 14846386 => Updated with Vin: 2GCEC13Z671160296 ## Mail History Id: 28397886, Consumer Id: 977960, Address Id: 14845286 => Updated with Vin: 1GCCS139578153993 ## Mail History Id: 28396994, Consumer Id: 960959, Address Id: 14831644 => Updated with Vin: 1G3AJ55M7S6424088 ## Mail History Id: 28396702, Consumer Id: 961049, Address Id: 14831713 => Updated with Vin: 1G1JC52F247176399 ## Mail History Id: 28397192, Consumer Id: 960244, Address Id: 14831235 => Updated with Vin: 3GNEC16Z83G320196 ## Mail History Id: 28396396, Consumer Id: 979867, Address Id: 9972497 => Updated with Vin: 3GNEC12J37G105136 ## Mail History Id: 28396920, Consumer Id: 979138, Address Id: 14845923 => Updated with Vin: 1GKFC13027J109975 ## Mail History Id: 28396989, Consumer Id: 979972, Address Id: 14843681 => Updated with Vin: 1GKFC13037R125121 ## Mail History Id: 28396182, Consumer Id: 982829, Address Id: 14846763 => Updated with Vin: 2GCEK19T841201660 ## Mail History Id: 28397098, Consumer Id: 959957, Address Id: 14831155 => Updated with Vin: 1G6KD52B8SU237908 ## Mail History Id: 28398224, Consumer Id: 973208, Address Id: 14831388 => Updated with Vin: 2GCEC19V131346634 ## Mail History Id: 28396457, Consumer Id: 980379, Address Id: 14846630 => Updated with Vin: 2GCEC19T6X1136471 ## Mail History Id: 28397745, Consumer Id: 980491, Address Id: 14843941 => Updated with Vin: 1G1YY26W185125115 ## Mail History Id: 28398526, Consumer Id: 980415, Address Id: 14846653 => Updated with Vin: 2GCFC24K3J1114976 ## Mail History Id: 28396411, Consumer Id: 980243, Address Id: 14846563 => Updated with Vin: 1GCHC23172F243136 ## Mail History Id: 28396366, Consumer Id: 976859, Address Id: 14844692 => Updated with Vin: 1G3HN52K8T4836751 ## Mail History Id: 28397434, Consumer Id: 980536, Address Id: 431110 => Updated with Vin: 1GTEC14T71Z202418 ## Mail History Id: 28397797, Consumer Id: 980537, Address Id: 14846562 => Updated with Vin: 1J4FA49S93P319535 ## Mail History Id: 28397858, Consumer Id: 982826, Address Id: 9180853 => Updated with Vin: 1B7GL2AN5YS671367 ## Mail History Id: 28397720, Consumer Id: 980519, Address Id: 14837653 => Updated with Vin: 1N6DD26S11C390193 ## Mail History Id: 28397410, Consumer Id: 980540, Address Id: 9253958 => Updated with Vin: 2GCEK19T3X1171245 ## Mail History Id: 28396719, Consumer Id: 966996, Address Id: 14838908 => Updated with Vin: 2GCEC13Z071169060 ## Mail History Id: 28397926, Consumer Id: 980106, Address Id: 14846479 => Updated with Vin: 2GTEC19V1Y1342784 ## Mail History Id: 28396615, Consumer Id: 979073, Address Id: 14845890 => Updated with Vin: 3GNEC16T5YG197038 ## Total mail_history records updated with vin numbers: 1223 out of 1344 ============================================================ ====== Tracking Id: 602 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-10 11:15:28') AND us2_order_type_id = 3 ## Order found: 781 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 781 AND product_id = 112 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3705 ## Mailing found: '12362' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395870, Consumer Id: 961001, Address Id: 14831676 => Updated with Vin: 1GNEC13Z64R134744 ## Mail History Id: 28395872, Consumer Id: 973312, Address Id: 14836961 => Updated with Vin: 2GTFK69U241258088 ## Mail History Id: 28395874, Consumer Id: 973607, Address Id: 9865536 => Updated with Vin: 1GKEK63U54J292508 ## Mail History Id: 28395876, Consumer Id: 975056, Address Id: 14843580 => Updated with Vin: 1GNEK13Z44R230021 ## Mail History Id: 28395878, Consumer Id: 975315, Address Id: 14843753 => Updated with Vin: 1G4HR54K65U167427 ## Mail History Id: 28395880, Consumer Id: 961169, Address Id: 14831817 => Updated with Vin: 1GTHC23143F224643 ## Mail History Id: 28395882, Consumer Id: 961118, Address Id: 14831773 => Updated with Vin: 1GNEC13T31J220065 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 603 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-10 11:43:25') AND us2_order_type_id = 3 ## Order found: 782 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 782 AND product_id = 142 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3357 ## Mailing found: '12379' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785777, Consumer Id: 188579, Address Id: 400234 => Updated with Vin: 1FAFP25115G122907 ## Mail History Id: 28785778, Consumer Id: 496205, Address Id: 9830821 => Updated with Vin: JM1FE173540101803 ## Mail History Id: 28785779, Consumer Id: 225494, Address Id: 400646 => Updated with Vin: 4F2CZ94165KM33389 ## Mail History Id: 28785780, Consumer Id: 461634, Address Id: 9819456 => Updated with Vin: 1FMRU17L71LA36961 ## Mail History Id: 28785781, Consumer Id: 197433, Address Id: 405597 => Updated with Vin: 1FMZU63K82ZC97170 ## Mail History Id: 28785782, Consumer Id: 188627, Address Id: 398697 => Updated with Vin: 1FMDU75WX4ZA83574 ## Mail History Id: 28785783, Consumer Id: 188578, Address Id: 400721 => Updated with Vin: 4F2CZ94125KM29971 ## Mail History Id: 28785784, Consumer Id: 187552, Address Id: 398217 => Updated with Vin: JM1BK343951295738 ## Mail History Id: 28785785, Consumer Id: 609713, Address Id: 11754568 => Updated with Vin: 1FAFP45X03F308702 ## Mail History Id: 28785786, Consumer Id: 189555, Address Id: 401949 => Updated with Vin: 1FMYU60E13UB64565 ## Mail History Id: 28785787, Consumer Id: 198657, Address Id: 407725 => Updated with Vin: 1FMZU73K43ZA50431 ## Mail History Id: 28785788, Consumer Id: 609715, Address Id: 11754570 => Updated with Vin: 1FMZU62K73ZB10939 ## Mail History Id: 28785789, Consumer Id: 188706, Address Id: 398935 => Updated with Vin: JM1FE173340102187 ## Mail History Id: 28785790, Consumer Id: 189473, Address Id: 399529 => Updated with Vin: JM1BK123341170255 ## Mail History Id: 28785791, Consumer Id: 609708, Address Id: 11754564 => Updated with Vin: 2HNYD18934H505493 ## Mail History Id: 28785793, Consumer Id: 153461, Address Id: 395708 => Updated with Vin: 1ZVHT82H365250563 ## Mail History Id: 28785794, Consumer Id: 152023, Address Id: 394387 => Updated with Vin: 1FTRE14W86HA60695 ## Mail History Id: 28785795, Consumer Id: 195792, Address Id: 404971 => Updated with Vin: 1FTRF12W06NB27047 ## Mail History Id: 28785796, Consumer Id: 192895, Address Id: 402626 => Updated with Vin: 1FMEU62E86UA31371 ## Mail History Id: 28785797, Consumer Id: 198920, Address Id: 407578 => Updated with Vin: 1MEFM50U6WG612393 ## Mail History Id: 28785798, Consumer Id: 154629, Address Id: 396770 => Updated with Vin: JM1BK344471651315 ## Mail History Id: 28785799, Consumer Id: 154744, Address Id: 396876 => Updated with Vin: 1ZVHT82H375250970 ## Mail History Id: 28785800, Consumer Id: 609712, Address Id: 11754567 => Updated with Vin: 2FMDK38C47BA51100 ## Mail History Id: 28785801, Consumer Id: 609709, Address Id: 878150 => Updated with Vin: JM3TB38V480148454 ## Mail History Id: 28785802, Consumer Id: 190675, Address Id: 400929 => Updated with Vin: 1FMPU18L8WLB64137 ## Mail History Id: 28785803, Consumer Id: 197112, Address Id: 406957 => Updated with Vin: 1FMCU49H68KA97296 ## Mail History Id: 28785804, Consumer Id: 609716, Address Id: 11715537 => Updated with Vin: 1LNHM86S65Y641463 ## Mail History Id: 28785805, Consumer Id: 609710, Address Id: 11754565 => Updated with Vin: 1FALP62W6SH151657 ## Mail History Id: 28785806, Consumer Id: 195246, Address Id: 404434 => Updated with Vin: 1FMPU18L9WLA87262 ## Mail History Id: 28785807, Consumer Id: 461638, Address Id: 9819458 => Updated with Vin: 5LMPU28L4WLJ17710 ## Mail History Id: 28785808, Consumer Id: 225507, Address Id: 434939 => Updated with Vin: 1FTWW33F8XEE48803 ## Total mail_history records updated with vin numbers: 31 out of 35 ============================================================ ====== Tracking Id: 604 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-10 12:06:47') AND us2_order_type_id = 3 ## Order found: 778 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 778 AND product_id = 112 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3768 ## Mailing found: '12349' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337291, Consumer Id: 1109320, Address Id: 5979695 => Updated with Vin: 1G6DM577980109528 ## Mail History Id: 28337297, Consumer Id: 1041760, Address Id: 14952145 => Updated with Vin: 1G6KE57Y0YU257993 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 605 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-10 12:15:58') AND us2_order_type_id = 3 ## Order found: 783 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 783 AND product_id = 114 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3427 ## Mailing found: '12346' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337508, Consumer Id: 499449, Address Id: 9833458 => Updated with Vin: 1HGCM72644A010642 ## Mail History Id: 28337314, Consumer Id: 499708, Address Id: 9834041 => Updated with Vin: 5FNRL18644B073604 ## Mail History Id: 28337362, Consumer Id: 498456, Address Id: 326372 => Updated with Vin: JHMCG6697YC017078 ## Mail History Id: 28337278, Consumer Id: 497221, Address Id: 9831556 => Updated with Vin: 2HGEJ6671WH520806 ## Mail History Id: 28337526, Consumer Id: 496487, Address Id: 9831021 => Updated with Vin: 1HGES16623L037461 ## Mail History Id: 28337444, Consumer Id: 497692, Address Id: 329262 => Updated with Vin: 2HKRL186X2H566864 ## Mail History Id: 28337422, Consumer Id: 502819, Address Id: 9838622 => Updated with Vin: SHSRD78534U254290 ## Mail History Id: 28337221, Consumer Id: 509548, Address Id: 9843041 => Updated with Vin: 5FNRL386X5B422827 ## Mail History Id: 28337223, Consumer Id: 497040, Address Id: 9831252 => Updated with Vin: 2HGEJ667XYH596107 ## Mail History Id: 28337284, Consumer Id: 508990, Address Id: 7552634 => Updated with Vin: 2HKRL1863YH616268 ## Mail History Id: 28337502, Consumer Id: 471527, Address Id: 9833096 => Updated with Vin: SHSRD78516U422107 ## Mail History Id: 28337412, Consumer Id: 516867, Address Id: 9847440 => Updated with Vin: 1HGCG2253XA007334 ## Total mail_history records updated with vin numbers: 12 out of 15 ============================================================ ====== Tracking Id: 606 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-10 12:16:13') AND us2_order_type_id = 3 ## Order found: 783 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 783 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3427 ## Mailing found: '12346' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337420, Consumer Id: 493301, Address Id: 328616 => Updated with Vin: 1HGCE666XSA011390 ## Mail History Id: 28337402, Consumer Id: 500018, Address Id: 9834255 => Updated with Vin: 1HGCG5647WA020184 ## Mail History Id: 28337396, Consumer Id: 510469, Address Id: 327839 => Updated with Vin: 1HGCG6655YA148196 ## Mail History Id: 28337238, Consumer Id: 499085, Address Id: 9832893 => Updated with Vin: JHMES96674S006595 ## Mail History Id: 28337348, Consumer Id: 502251, Address Id: 9837837 => Updated with Vin: 1HGCD5657RA105273 ## Mail History Id: 28337200, Consumer Id: 506035, Address Id: 9840797 => Updated with Vin: SHSRD78995U303285 ## Mail History Id: 28337266, Consumer Id: 501415, Address Id: 9836287 => Updated with Vin: 1HGCM66804A048813 ## Mail History Id: 28337227, Consumer Id: 491885, Address Id: 9827639 => Updated with Vin: 2HGES16572H507390 ## Mail History Id: 28337460, Consumer Id: 497548, Address Id: 9831779 => Updated with Vin: 1HGCM56774A012554 ## Mail History Id: 28337382, Consumer Id: 498598, Address Id: 327245 => Updated with Vin: 1HGCM827X4A007615 ## Mail History Id: 28337450, Consumer Id: 516177, Address Id: 9847037 => Updated with Vin: 1HGCD5541RA003069 ## Total mail_history records updated with vin numbers: 11 out of 13 ============================================================ ====== Tracking Id: 607 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-10 12:16:16') AND us2_order_type_id = 3 ## Order found: 784 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 784 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3471 ## Mailing found: '12381' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785887, Consumer Id: 806675, Address Id: 11870335 => Updated with Vin: 1G6KF57903U269835 ## Mail History Id: 28785888, Consumer Id: 803031, Address Id: 7416886 => Updated with Vin: 1G6KD54Y43U269418 ## Mail History Id: 28785889, Consumer Id: 803129, Address Id: 10214846 => Updated with Vin: 1G6KD54Y0WU800862 ## Mail History Id: 28785890, Consumer Id: 818603, Address Id: 7878800 => Updated with Vin: 1G6DP577560135886 ## Mail History Id: 28785891, Consumer Id: 822437, Address Id: 11876600 => Updated with Vin: 1G6DP577470165348 ## Mail History Id: 28785892, Consumer Id: 807037, Address Id: 7415572 => Updated with Vin: 1GYDE63A540125733 ## Mail History Id: 28786118, Consumer Id: 806919, Address Id: 7415858 => Updated with Vin: 3GYFK66N15G173162 ## Mail History Id: 28785894, Consumer Id: 816571, Address Id: 10215681 => Updated with Vin: 1G6DW677650190970 ## Total mail_history records updated with vin numbers: 8 out of 9 ============================================================ ====== Tracking Id: 608 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-10 12:16:34') AND us2_order_type_id = 3 ## Order found: 783 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 783 AND product_id = 112 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3427 ## Mailing found: '12346' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337277, Consumer Id: 502413, Address Id: 9837909 => Updated with Vin: 5J6YH28683L048200 ## Mail History Id: 28337376, Consumer Id: 497942, Address Id: 9832071 => Updated with Vin: 1HGCG6670XA005480 ## Mail History Id: 28337516, Consumer Id: 495620, Address Id: 9829143 => Updated with Vin: 1HGCM56383A039709 ## Mail History Id: 28337406, Consumer Id: 500305, Address Id: 328096 => Updated with Vin: 1HGCM563X4A099699 ## Mail History Id: 28337300, Consumer Id: 504932, Address Id: 9840252 => Updated with Vin: SHSRD788X5U314951 ## Mail History Id: 28337482, Consumer Id: 495379, Address Id: 9830232 => Updated with Vin: JHLRD1862XC077166 ## Mail History Id: 28337506, Consumer Id: 500198, Address Id: 9834831 => Updated with Vin: 1HGCM56424A101440 ## Mail History Id: 28337554, Consumer Id: 494689, Address Id: 9829704 => Updated with Vin: 1HGES16581L006204 ## Mail History Id: 28337294, Consumer Id: 490966, Address Id: 9826926 => Updated with Vin: 1HGCM826X3A018989 ## Mail History Id: 28337219, Consumer Id: 507167, Address Id: 9841514 => Updated with Vin: 1HGES16455L002432 ## Mail History Id: 28337454, Consumer Id: 504358, Address Id: 329519 => Updated with Vin: 1HGES16355L005130 ## Mail History Id: 28337334, Consumer Id: 505107, Address Id: 325178 => Updated with Vin: 5FNRL387X5B035185 ## Mail History Id: 28337536, Consumer Id: 491702, Address Id: 7554815 => Updated with Vin: 1HGCM56623A097602 ## Mail History Id: 28337258, Consumer Id: 515776, Address Id: 9827832 => Updated with Vin: 5FNRL18013B088894 ## Mail History Id: 28337468, Consumer Id: 515549, Address Id: 330014 => Updated with Vin: 5N1ED28T64C678062 ## Mail History Id: 28337524, Consumer Id: 512925, Address Id: 9845126 => Updated with Vin: 5FNRL38755B128924 ## Mail History Id: 28337237, Consumer Id: 473950, Address Id: 9835358 => Updated with Vin: 1HGCM55306A164628 ## Mail History Id: 28337244, Consumer Id: 482299, Address Id: 9836257 => Updated with Vin: 1HGCM56304A125159 ## Total mail_history records updated with vin numbers: 18 out of 18 ============================================================ ====== Tracking Id: 609 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-11 08:13:28') AND us2_order_type_id = 3 ## Order found: 792 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 792 AND product_id = 55 ## Job Group Found: '374' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('374') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408002') AND customer_id = 3230 ## Mailing found: '12350' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337175, Consumer Id: 1310500, Address Id: 50206 => Updated with Vin: 1FAFP38Z84W126593 ## Mail History Id: 28337177, Consumer Id: 1345331, Address Id: 47504 => Updated with Vin: 1FAFP55UX3G175016 ## Mail History Id: 28337179, Consumer Id: 1345330, Address Id: 49630 => Updated with Vin: 3FAHP07Z48R263645 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 610 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-11 08:43:22') AND us2_order_type_id = 3 ## Order found: 792 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 792 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3230 ## Mailing found: '12344' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337429, Consumer Id: 64071, Address Id: 52547 => Updated with Vin: 2FMZA51654BB23121 ## Mail History Id: 28337387, Consumer Id: 103764, Address Id: 53829 => Updated with Vin: 1FMYU93136KD20437 ## Mail History Id: 28337435, Consumer Id: 93232, Address Id: 51731 => Updated with Vin: 1FTPX14V47FB84629 ## Mail History Id: 28337349, Consumer Id: 93493, Address Id: 51981 => Updated with Vin: 1FTPW04598KC20692 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 611 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-11 08:43:38') AND us2_order_type_id = 3 ## Order found: 792 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 792 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3230 ## Mailing found: '12378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28786058, Consumer Id: 93575, Address Id: 50675 => Updated with Vin: 1FTPX14VX8FA20285 ## Mail History Id: 28786059, Consumer Id: 65218, Address Id: 48951 => Updated with Vin: 1FMZK06115GA77682 ## Mail History Id: 28786060, Consumer Id: 65801, Address Id: 49198 => Updated with Vin: 1FAFP363XYW329084 ## Mail History Id: 28786061, Consumer Id: 63231, Address Id: 51636 => Updated with Vin: 2FMZA57654BA85879 ## Mail History Id: 28786062, Consumer Id: 103243, Address Id: 53594 => Updated with Vin: 1FMEU73E76UA18048 ## Mail History Id: 28786063, Consumer Id: 64215, Address Id: 51856 => Updated with Vin: 1FTZR15XXXPB82252 ## Mail History Id: 28786064, Consumer Id: 65256, Address Id: 48691 => Updated with Vin: 1FTEX14N9NKB92642 ## Mail History Id: 28786065, Consumer Id: 92892, Address Id: 51323 => Updated with Vin: 1FTSW21P97EB52080 ## Mail History Id: 28786066, Consumer Id: 64413, Address Id: 52700 => Updated with Vin: 2FMZA57634BA85170 ## Mail History Id: 28786067, Consumer Id: 64195, Address Id: 52173 => Updated with Vin: 1FTPW14524KC32568 ## Mail History Id: 28786068, Consumer Id: 63027, Address Id: 47838 => Updated with Vin: 1FMZU74W72ZB36218 ## Mail History Id: 28786069, Consumer Id: 38384, Address Id: 49067 => Updated with Vin: 1FTWW31P15EC05259 ## Mail History Id: 28786070, Consumer Id: 66663, Address Id: 50334 => Updated with Vin: 1FAHP37N36W196576 ## Mail History Id: 28786071, Consumer Id: 65045, Address Id: 52222 => Updated with Vin: 1FTPX02594KD34587 ## Mail History Id: 28786072, Consumer Id: 66407, Address Id: 50404 => Updated with Vin: 1FTSW21P66EC12640 ## Mail History Id: 28786092, Consumer Id: 65651, Address Id: 47504 => Updated with Vin: 1FAFP56S6YG174112 ## Mail History Id: 28786074, Consumer Id: 64703, Address Id: 47456 => Updated with Vin: 1FTRW07L02KA98105 ## Mail History Id: 28786075, Consumer Id: 65110, Address Id: 48424 => Updated with Vin: 1FTSX21P65EA99722 ## Mail History Id: 28786076, Consumer Id: 225619, Address Id: 47534 => Updated with Vin: 1FMEU73E56UB65050 ## Mail History Id: 28786077, Consumer Id: 283205, Address Id: 53797 => Updated with Vin: 1FAFP34N97W311226 ## Mail History Id: 28786078, Consumer Id: 102601, Address Id: 52464 => Updated with Vin: 1FTNX21F5YED74392 ## Mail History Id: 28786079, Consumer Id: 93467, Address Id: 49009 => Updated with Vin: 1FTVX14568KB88018 ## Mail History Id: 28786080, Consumer Id: 64097, Address Id: 50550 => Updated with Vin: 1FMCU93134KA49810 ## Mail History Id: 28786081, Consumer Id: 63776, Address Id: 52413 => Updated with Vin: 1FAFP55233A198932 ## Mail History Id: 28786082, Consumer Id: 96838, Address Id: 103068 => Updated with Vin: 1FTPW14V68FA35496 ## Mail History Id: 28786083, Consumer Id: 67527, Address Id: 50874 => Updated with Vin: 1FTWW31PX7EA27547 ## Mail History Id: 28786084, Consumer Id: 67353, Address Id: 50836 => Updated with Vin: 1FMYU93107KA34420 ## Mail History Id: 28786085, Consumer Id: 65067, Address Id: 52775 => Updated with Vin: 1FMCU22E4VUD08421 ## Mail History Id: 28786086, Consumer Id: 173969, Address Id: 50529 => Updated with Vin: 1FMCU03118KD14421 ## Mail History Id: 28786087, Consumer Id: 63768, Address Id: 47650 => Updated with Vin: 1FMCU94113KD77188 ## Mail History Id: 28786088, Consumer Id: 66698, Address Id: 50611 => Updated with Vin: 1FTWW31P56EC73341 ## Mail History Id: 28786089, Consumer Id: 173968, Address Id: 445696 => Updated with Vin: 2C4GM68465R424258 ## Mail History Id: 28786090, Consumer Id: 92519, Address Id: 50847 => Updated with Vin: 1FAFP34N86W135509 ## Total mail_history records updated with vin numbers: 33 out of 37 ============================================================ ====== Tracking Id: 612 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-11 09:16:19') AND us2_order_type_id = 3 ## Order found: 793 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 793 AND product_id = 142 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3768 ## Mailing found: '12382' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28786124, Consumer Id: 1043794, Address Id: 9431661 => Updated with Vin: W06VR54R21R000386 ## Mail History Id: 28786125, Consumer Id: 1043093, Address Id: 8828869 => Updated with Vin: 1GYEC63T52R104059 ## Mail History Id: 28786126, Consumer Id: 1048116, Address Id: 14953868 => Updated with Vin: 1G6KE57Y62U112674 ## Mail History Id: 28786127, Consumer Id: 1107063, Address Id: 5986963 => Updated with Vin: 1G6KD57Y36U156835 ## Mail History Id: 28786128, Consumer Id: 1116528, Address Id: 14952943 => Updated with Vin: JN8AZ08WX7W623351 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 613 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-11 09:16:20') AND us2_order_type_id = 3 ## Order found: 793 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 793 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3768 ## Mailing found: '12349' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337291, Consumer Id: 1109320, Address Id: 5979695 => Updated with Vin: 1G6DM577980109528 ## Mail History Id: 28337297, Consumer Id: 1041760, Address Id: 14952145 => Updated with Vin: 1G6KE57Y0YU257993 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 614 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-11 10:15:57') AND us2_order_type_id = 3 ## Order found: 794 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 794 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3416 ## Mailing found: '12380' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28786148, Consumer Id: 627122, Address Id: 11764722 => Updated with Vin: 5GTDN136568297858 ## Mail History Id: 28786149, Consumer Id: 627192, Address Id: 11764753 => Updated with Vin: 1GYEE637260222190 ## Mail History Id: 28786150, Consumer Id: 625582, Address Id: 1970106 => Updated with Vin: 1G6KD57Y57U204904 ## Mail History Id: 28786151, Consumer Id: 625644, Address Id: 11764737 => Updated with Vin: 1G6DR57V480128570 ## Mail History Id: 28786152, Consumer Id: 623664, Address Id: 11764679 => Updated with Vin: 1G6DT57V380191726 ## Mail History Id: 28786153, Consumer Id: 623661, Address Id: 11764677 => Updated with Vin: 1G6DS57V980190258 ## Mail History Id: 28786154, Consumer Id: 623659, Address Id: 11764675 => Updated with Vin: 5GRGN22858H107457 ## Mail History Id: 28786155, Consumer Id: 623667, Address Id: 11764680 => Updated with Vin: 1G6KD54Y05U189195 ## Mail History Id: 28786156, Consumer Id: 623668, Address Id: 3755052 => Updated with Vin: 1G6KD54Y1YU267133 ## Mail History Id: 28786157, Consumer Id: 627209, Address Id: 1968990 => Updated with Vin: 1G6KD54Y3XU726886 ## Mail History Id: 28786158, Consumer Id: 625660, Address Id: 1963338 => Updated with Vin: 1G6KD57Y38U140606 ## Mail History Id: 28786159, Consumer Id: 623666, Address Id: 1965848 => Updated with Vin: 1GYEE437080139574 ## Mail History Id: 28786160, Consumer Id: 627205, Address Id: 1959774 => Updated with Vin: 1G6KY54903U274757 ## Mail History Id: 28786161, Consumer Id: 1173574, Address Id: 1959349 => Updated with Vin: 1G6KE57Y15U125028 ## Mail History Id: 28786162, Consumer Id: 627146, Address Id: 1969885 => Updated with Vin: 1G6DM57N530109453 ## Mail History Id: 28786163, Consumer Id: 627149, Address Id: 1966677 => Updated with Vin: 1G6KE57Y61U109160 ## Mail History Id: 28786164, Consumer Id: 625226, Address Id: 1960556 => Updated with Vin: 1G6DC67A670177109 ## Mail History Id: 28786165, Consumer Id: 627188, Address Id: 1962137 => Updated with Vin: 1G6KF57991U139078 ## Mail History Id: 28786166, Consumer Id: 627082, Address Id: 3760410 => Updated with Vin: 1G6DW677X50226868 ## Mail History Id: 28786167, Consumer Id: 625467, Address Id: 1965842 => Updated with Vin: 1G6DW677870139263 ## Mail History Id: 28786168, Consumer Id: 627068, Address Id: 11764689 => Updated with Vin: 1G6DP567750147294 ## Mail History Id: 28786169, Consumer Id: 627207, Address Id: 11764760 => Updated with Vin: 1G6KD57Y46U104436 ## Mail History Id: 28786170, Consumer Id: 627208, Address Id: 1968987 => Updated with Vin: 1G6KD54Y54U189904 ## Mail History Id: 28786171, Consumer Id: 627189, Address Id: 11764751 => Updated with Vin: 1G6KD54YX5U116710 ## Mail History Id: 28786172, Consumer Id: 625956, Address Id: 10933689 => Updated with Vin: 5GTEN13E988180704 ## Mail History Id: 28786173, Consumer Id: 627089, Address Id: 11577389 => Updated with Vin: 1G6DW677760200696 ## Mail History Id: 28786174, Consumer Id: 627064, Address Id: 11764686 => Updated with Vin: 1C4GJ253X1B226286 ## Total mail_history records updated with vin numbers: 27 out of 29 ============================================================ ====== Tracking Id: 615 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-11 11:16:04') AND us2_order_type_id = 3 ## Order found: 795 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 795 AND product_id = 144 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3705 ## Mailing found: '12865' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28396748, Consumer Id: 962209, Address Id: 14835126 => Updated with Vin: 5GADS13S652347733 ## Mail History Id: 28396312, Consumer Id: 973161, Address Id: 9159075 => Updated with Vin: 1G4HP54K344144465 ## Mail History Id: 28398590, Consumer Id: 973159, Address Id: 14835489 => Updated with Vin: 1GCEC14V94Z206346 ## Mail History Id: 28396585, Consumer Id: 973178, Address Id: 6757616 => Updated with Vin: 2GCEC19T631255700 ## Mail History Id: 28396739, Consumer Id: 975332, Address Id: 14838481 => Updated with Vin: 1GCDS136458155046 ## Mail History Id: 28397424, Consumer Id: 974961, Address Id: 14843516 => Updated with Vin: 1G4HP52K45U188060 ## Mail History Id: 28397340, Consumer Id: 975400, Address Id: 14843806 => Updated with Vin: 1GKDS13S552302995 ## Mail History Id: 28396884, Consumer Id: 975550, Address Id: 14837045 => Updated with Vin: 1G1AL52F757533089 ## Mail History Id: 28396643, Consumer Id: 973008, Address Id: 14843295 => Updated with Vin: 3GNFC160X8G116982 ## Mail History Id: 28398422, Consumer Id: 960413, Address Id: 14831910 => Updated with Vin: 1GKEC13T65R157595 ## Mail History Id: 28396425, Consumer Id: 961761, Address Id: 14834784 => Updated with Vin: 2GTEC13T051365640 ## Mail History Id: 28396243, Consumer Id: 961760, Address Id: 14834783 => Updated with Vin: 1G1ZS52F95F327803 ## Mail History Id: 28396911, Consumer Id: 962206, Address Id: 14835123 => Updated with Vin: 1GKDS13S452295490 ## Mail History Id: 28396728, Consumer Id: 962630, Address Id: 9159743 => Updated with Vin: 1GBJC34205E248045 ## Mail History Id: 28397185, Consumer Id: 962818, Address Id: 14835637 => Updated with Vin: 3GNDA23D16S544850 ## Mail History Id: 28397312, Consumer Id: 963043, Address Id: 14835813 => Updated with Vin: 2GCEC13T251246102 ## Mail History Id: 28396475, Consumer Id: 961747, Address Id: 14834777 => Updated with Vin: 3G5DA03E55S569908 ## Mail History Id: 28397039, Consumer Id: 963694, Address Id: 14836384 => Updated with Vin: 2GCEC13T861184609 ## Mail History Id: 28398122, Consumer Id: 963695, Address Id: 14836385 => Updated with Vin: 3GNDA13D26S592187 ## Mail History Id: 28396517, Consumer Id: 1265629, Address Id: 14836556 => Updated with Vin: 1GCHC23265F910176 ## Mail History Id: 28396443, Consumer Id: 963909, Address Id: 14836545 => Updated with Vin: 2GCEC13T161221662 ## Mail History Id: 28396256, Consumer Id: 963910, Address Id: 14831479 => Updated with Vin: 1GKEC13J17J107834 ## Mail History Id: 28396356, Consumer Id: 964503, Address Id: 14837040 => Updated with Vin: 2GCEC13TX61134407 ## Mail History Id: 28397132, Consumer Id: 964504, Address Id: 14837041 => Updated with Vin: 3G5DA03L46S537189 ## Mail History Id: 28396204, Consumer Id: 964854, Address Id: 14837290 => Updated with Vin: 1GCEC19X66Z272138 ## Mail History Id: 28397774, Consumer Id: 964851, Address Id: 14837287 => Updated with Vin: 5GADS13S462166244 ## Mail History Id: 28397137, Consumer Id: 964622, Address Id: 14837121 => Updated with Vin: 3GNDA23D06S653428 ## Mail History Id: 28397650, Consumer Id: 964844, Address Id: 14837282 => Updated with Vin: 3GNFC16J97G117970 ## Mail History Id: 28397101, Consumer Id: 964848, Address Id: 14837285 => Updated with Vin: 1GCEK19T54E328204 ## Mail History Id: 28396786, Consumer Id: 964843, Address Id: 14837281 => Updated with Vin: 1GCEC19X96Z247704 ## Mail History Id: 28396682, Consumer Id: 964842, Address Id: 14837280 => Updated with Vin: 1G1ZT61876F119653 ## Mail History Id: 28396242, Consumer Id: 964841, Address Id: 9132978 => Updated with Vin: 2G2WP552361226290 ## Mail History Id: 28396218, Consumer Id: 965466, Address Id: 9158897 => Updated with Vin: 2GTEC13V361347071 ## Mail History Id: 28397002, Consumer Id: 965464, Address Id: 14837763 => Updated with Vin: 3GNDA23P56S674348 ## Mail History Id: 28397394, Consumer Id: 965581, Address Id: 14836320 => Updated with Vin: 2GCEC13Z961312232 ## Mail History Id: 28396401, Consumer Id: 965805, Address Id: 14838006 => Updated with Vin: 3GNDA23D17S509209 ## Mail History Id: 28396828, Consumer Id: 965586, Address Id: 14837844 => Updated with Vin: 1GCHK29U96E283766 ## Mail History Id: 28398400, Consumer Id: 965800, Address Id: 14838002 => Updated with Vin: 3GNFC16J87G122531 ## Mail History Id: 28397851, Consumer Id: 965582, Address Id: 14837849 => Updated with Vin: 2G4WD582461236421 ## Mail History Id: 28397058, Consumer Id: 966246, Address Id: 14838306 => Updated with Vin: 3GNEC12037G119514 ## Mail History Id: 28397758, Consumer Id: 966242, Address Id: 14838302 => Updated with Vin: 1GTGG25V361132490 ## Mail History Id: 28396862, Consumer Id: 967920, Address Id: 14838568 => Updated with Vin: 1GCEC19X27Z192658 ## Mail History Id: 28397115, Consumer Id: 966754, Address Id: 14838721 => Updated with Vin: 2CNDL13F966184591 ## Mail History Id: 28397970, Consumer Id: 966753, Address Id: 14838720 => Updated with Vin: 2GTEC13Z271169545 ## Mail History Id: 28398396, Consumer Id: 966989, Address Id: 14838902 => Updated with Vin: 2GTEC13Z471175251 ## Mail History Id: 28397930, Consumer Id: 967001, Address Id: 14838912 => Updated with Vin: 3GNFC16J37G109041 ## Mail History Id: 28396509, Consumer Id: 966741, Address Id: 14838713 => Updated with Vin: 1GKFK66847J239709 ## Mail History Id: 28396808, Consumer Id: 966758, Address Id: 14838725 => Updated with Vin: 2CNDL13F076003573 ## Mail History Id: 28397049, Consumer Id: 966981, Address Id: 14838895 => Updated with Vin: 2CNDL63F966181378 ## Mail History Id: 28396442, Consumer Id: 967494, Address Id: 9159302 => Updated with Vin: 2GCEK13M471530653 ## Mail History Id: 28397032, Consumer Id: 967676, Address Id: 14839434 => Updated with Vin: 2GCEC19T441176379 ## Mail History Id: 28396512, Consumer Id: 967680, Address Id: 14839436 => Updated with Vin: 2GTEC13Z171174560 ## Mail History Id: 28397096, Consumer Id: 967675, Address Id: 14839433 => Updated with Vin: 3GNDA13D37S601092 ## Mail History Id: 28396588, Consumer Id: 967674, Address Id: 11386948 => Updated with Vin: 3GNDA33PX7S511086 ## Mail History Id: 28397830, Consumer Id: 967677, Address Id: 10551771 => Updated with Vin: 3G5DB03L96S501012 ## Mail History Id: 28396722, Consumer Id: 967906, Address Id: 14839592 => Updated with Vin: 2CKDL73FX76001653 ## Mail History Id: 28397083, Consumer Id: 968326, Address Id: 14839890 => Updated with Vin: 1GKFC13JX7J147771 ## Mail History Id: 28397921, Consumer Id: 968484, Address Id: 14836409 => Updated with Vin: 1GNFC13047R370738 ## Mail History Id: 28396460, Consumer Id: 968509, Address Id: 14835263 => Updated with Vin: 1G1JC12F157154940 ## Mail History Id: 28398516, Consumer Id: 968928, Address Id: 14840315 => Updated with Vin: KL1TG56667B144160 ## Mail History Id: 28396669, Consumer Id: 968933, Address Id: 14840317 => Updated with Vin: 2CKDL63F776030750 ## Mail History Id: 28396772, Consumer Id: 968936, Address Id: 14840319 => Updated with Vin: 2GCEC19C571544525 ## Mail History Id: 28397939, Consumer Id: 968931, Address Id: 14840316 => Updated with Vin: 3GNEC12077G194328 ## Mail History Id: 28396621, Consumer Id: 968932, Address Id: 14831125 => Updated with Vin: 5GADV33187D105608 ## Mail History Id: 28396749, Consumer Id: 969353, Address Id: 14840611 => Updated with Vin: 1G2ZH558964151078 ## Mail History Id: 28396767, Consumer Id: 968929, Address Id: 9498123 => Updated with Vin: 1GKDS13S372250883 ## Mail History Id: 28397210, Consumer Id: 969539, Address Id: 12057053 => Updated with Vin: 3GNDA23D47S627139 ## Mail History Id: 28398470, Consumer Id: 969596, Address Id: 14840824 => Updated with Vin: 1GCHK23D77F120327 ## Mail History Id: 28396794, Consumer Id: 969598, Address Id: 14840827 => Updated with Vin: 2GCEC130771727021 ## Mail History Id: 28397166, Consumer Id: 969943, Address Id: 14841067 => Updated with Vin: 1GNDV33177D108571 ## Mail History Id: 28397068, Consumer Id: 969715, Address Id: 9252318 => Updated with Vin: 1GTHK23607F533627 ## Mail History Id: 28396881, Consumer Id: 969717, Address Id: 14840912 => Updated with Vin: 1GKER337X8J117925 ## Mail History Id: 28397170, Consumer Id: 969716, Address Id: 14840911 => Updated with Vin: 3GNDA13D57S636524 ## Mail History Id: 28397832, Consumer Id: 969934, Address Id: 9495067 => Updated with Vin: 3GCEC13J17G536341 ## Mail History Id: 28397038, Consumer Id: 970374, Address Id: 14841370 => Updated with Vin: 1GCHK236X7F562505 ## Mail History Id: 28397490, Consumer Id: 969935, Address Id: 14841062 => Updated with Vin: 2G1WU58R779123026 ## Mail History Id: 28396454, Consumer Id: 969922, Address Id: 14841053 => Updated with Vin: 1GNFC13C77J405751 ## Mail History Id: 28397884, Consumer Id: 969954, Address Id: 14841076 => Updated with Vin: 1GNDT13S372227152 ## Mail History Id: 28396383, Consumer Id: 969953, Address Id: 14841075 => Updated with Vin: 3GCEK13Y07G541630 ## Mail History Id: 28396793, Consumer Id: 970602, Address Id: 14835878 => Updated with Vin: 2GCEK13MX71560109 ## Mail History Id: 28397196, Consumer Id: 970630, Address Id: 4942718 => Updated with Vin: 1GNFC13J87R417813 ## Mail History Id: 28398066, Consumer Id: 970696, Address Id: 14841646 => Updated with Vin: 5GAER23748J149728 ## Mail History Id: 28396913, Consumer Id: 970634, Address Id: 14841606 => Updated with Vin: 3GNDA13D48S529482 ## Mail History Id: 28396494, Consumer Id: 970691, Address Id: 14841368 => Updated with Vin: 1G2AL18F387127729 ## Mail History Id: 28397148, Consumer Id: 970698, Address Id: 14841647 => Updated with Vin: 1GTCS139188120023 ## Mail History Id: 28396586, Consumer Id: 970701, Address Id: 14837531 => Updated with Vin: 1GNFC13097R218891 ## Mail History Id: 28398158, Consumer Id: 970806, Address Id: 14841716 => Updated with Vin: 1GKER33768J157872 ## Mail History Id: 28398208, Consumer Id: 970635, Address Id: 14841607 => Updated with Vin: 1GCEC14C87Z537924 ## Mail History Id: 28398408, Consumer Id: 970812, Address Id: 14837575 => Updated with Vin: 1GCEC19J58Z135237 ## Mail History Id: 28396582, Consumer Id: 977767, Address Id: 14841860 => Updated with Vin: 2GCEC13T661146327 ## Mail History Id: 28396449, Consumer Id: 971296, Address Id: 14837534 => Updated with Vin: 1GYEK63R4YR230784 ## Mail History Id: 28396333, Consumer Id: 971057, Address Id: 14841885 => Updated with Vin: 1GCEC19J88Z138634 ## Mail History Id: 28397232, Consumer Id: 971474, Address Id: 14837277 => Updated with Vin: 1GTHK23638F161234 ## Mail History Id: 28396487, Consumer Id: 971059, Address Id: 14841886 => Updated with Vin: 1G2MG35X57Y134667 ## Mail History Id: 28396685, Consumer Id: 970815, Address Id: 8066169 => Updated with Vin: 1G2AL18F887119609 ## Mail History Id: 28396596, Consumer Id: 971617, Address Id: 14842291 => Updated with Vin: 3GNDA13D96S614203 ## Mail History Id: 28397790, Consumer Id: 971614, Address Id: 9254286 => Updated with Vin: 2GCEC13J981163463 ## Mail History Id: 28398436, Consumer Id: 971857, Address Id: 14842447 => Updated with Vin: 1GBDS14E678134910 ## Mail History Id: 28396716, Consumer Id: 971723, Address Id: 9159704 => Updated with Vin: 3GNDA33D18S586542 ## Mail History Id: 28396479, Consumer Id: 971616, Address Id: 14842290 => Updated with Vin: 1GKFK668X8J170848 ## Mail History Id: 28397013, Consumer Id: 971618, Address Id: 14835961 => Updated with Vin: 2GCEC13C571694529 ## Mail History Id: 28396337, Consumer Id: 972304, Address Id: 14836060 => Updated with Vin: 2CKDL63F376244232 ## Mail History Id: 28396244, Consumer Id: 974962, Address Id: 14842510 => Updated with Vin: 1GKEC13T15R186065 ## Mail History Id: 28397564, Consumer Id: 972373, Address Id: 14842796 => Updated with Vin: 1GNFC13C58R188543 ## Mail History Id: 28396851, Consumer Id: 972001, Address Id: 14842544 => Updated with Vin: 1GBJG31U371157582 ## Mail History Id: 28396235, Consumer Id: 971794, Address Id: 14842409 => Updated with Vin: 1GNDS13S982108249 ## Mail History Id: 28396869, Consumer Id: 971724, Address Id: 14842358 => Updated with Vin: 2GCEC19J781224106 ## Mail History Id: 28398356, Consumer Id: 971818, Address Id: 14842424 => Updated with Vin: 5GAER23798J118426 ## Mail History Id: 28397020, Consumer Id: 980571, Address Id: 14842671 => Updated with Vin: 1GNDM19WXXB114600 ## Mail History Id: 28396852, Consumer Id: 972191, Address Id: 14831624 => Updated with Vin: 1G1AK18F387199327 ## Mail History Id: 28396965, Consumer Id: 960028, Address Id: 14831212 => Updated with Vin: 1GKEC13Z23R307462 ## Mail History Id: 28396756, Consumer Id: 972419, Address Id: 14842831 => Updated with Vin: 3GNDA13DX6S639353 ## Mail History Id: 28396538, Consumer Id: 972436, Address Id: 14842845 => Updated with Vin: 1G2ZH58N074190676 ## Mail History Id: 28397783, Consumer Id: 972403, Address Id: 9175419 => Updated with Vin: 2GCEC19T661112377 ## Mail History Id: 28398406, Consumer Id: 972003, Address Id: 14842546 => Updated with Vin: 1FMZU73K14ZA10955 ## Mail History Id: 28397850, Consumer Id: 972016, Address Id: 10462310 => Updated with Vin: 1G1AL55F677236216 ## Mail History Id: 28397159, Consumer Id: 972017, Address Id: 14842557 => Updated with Vin: 1G2ZF57B184116018 ## Mail History Id: 28397795, Consumer Id: 972023, Address Id: 9930151 => Updated with Vin: 1G1AK58F387166240 ## Mail History Id: 28397033, Consumer Id: 972037, Address Id: 14842562 => Updated with Vin: 2GTEC19T4Y1177702 ## Mail History Id: 28396809, Consumer Id: 972029, Address Id: 14842565 => Updated with Vin: 19UUA66276A018199 ## Mail History Id: 28396240, Consumer Id: 972032, Address Id: 9158927 => Updated with Vin: 1FTRW12WX4KC42110 ## Mail History Id: 28397710, Consumer Id: 972036, Address Id: 8036394 => Updated with Vin: 1GTEC19048E194472 ## Mail History Id: 28396968, Consumer Id: 972039, Address Id: 14842569 => Updated with Vin: KM8SC13D22U308928 ## Mail History Id: 28397684, Consumer Id: 972040, Address Id: 9169313 => Updated with Vin: 1G4HE57Y78U121959 ## Mail History Id: 28397744, Consumer Id: 971975, Address Id: 14842527 => Updated with Vin: 2GCEC13V361319335 ## Mail History Id: 28397122, Consumer Id: 971976, Address Id: 9252685 => Updated with Vin: 1G4HE57Y17U158570 ## Mail History Id: 28398206, Consumer Id: 972046, Address Id: 14842572 => Updated with Vin: 1GCEC19J88Z183752 ## Mail History Id: 28397578, Consumer Id: 972851, Address Id: 14843192 => Updated with Vin: 1GNEC13T95R122147 ## Mail History Id: 28396678, Consumer Id: 972052, Address Id: 14842574 => Updated with Vin: 1GCHC23D47F133548 ## Mail History Id: 28396499, Consumer Id: 972055, Address Id: 10459093 => Updated with Vin: 1J4FX58SXWC268080 ## Mail History Id: 28397805, Consumer Id: 971962, Address Id: 14842522 => Updated with Vin: 3GNFK16338G131076 ## Mail History Id: 28396878, Consumer Id: 972056, Address Id: 14842577 => Updated with Vin: 1GNEC13Z73R234172 ## Mail History Id: 28398148, Consumer Id: 972057, Address Id: 14842578 => Updated with Vin: 1G4HE57Y48U123877 ## Mail History Id: 28397154, Consumer Id: 972061, Address Id: 14842582 => Updated with Vin: 2CNDL63F576107165 ## Mail History Id: 28396666, Consumer Id: 971953, Address Id: 14842515 => Updated with Vin: 3GCEC13C08G244778 ## Mail History Id: 28396542, Consumer Id: 972067, Address Id: 14842588 => Updated with Vin: 1G8ZS57N07F214844 ## Mail History Id: 28397570, Consumer Id: 971950, Address Id: 14842512 => Updated with Vin: 1G2ZG58N874224382 ## Mail History Id: 28397608, Consumer Id: 972071, Address Id: 14842592 => Updated with Vin: 1GKER23718J250650 ## Mail History Id: 28397824, Consumer Id: 972075, Address Id: 14842594 => Updated with Vin: 5N1AR18UX6C652585 ## Mail History Id: 28397954, Consumer Id: 972077, Address Id: 14842596 => Updated with Vin: 2G2WR554071230990 ## Mail History Id: 28397430, Consumer Id: 972078, Address Id: 14842597 => Updated with Vin: 1G1ZT58N87F198483 ## Mail History Id: 28398336, Consumer Id: 972080, Address Id: 14842599 => Updated with Vin: 5GTDN13E578186414 ## Mail History Id: 28396912, Consumer Id: 972081, Address Id: 10444716 => Updated with Vin: 2GCEC19W0Y1367913 ## Mail History Id: 28396759, Consumer Id: 980437, Address Id: 14842600 => Updated with Vin: JA3AJ26E96U058091 ## Mail History Id: 28398480, Consumer Id: 972083, Address Id: 9172560 => Updated with Vin: 1G2ZH57N084111462 ## Mail History Id: 28397560, Consumer Id: 972096, Address Id: 14842609 => Updated with Vin: 2G2WP552181104367 ## Mail History Id: 28398058, Consumer Id: 972102, Address Id: 14842615 => Updated with Vin: 2GCEC13T451166722 ## Mail History Id: 28397466, Consumer Id: 972120, Address Id: 14842631 => Updated with Vin: 3GTEC13J68G219401 ## Mail History Id: 28397881, Consumer Id: 971966, Address Id: 14842523 => Updated with Vin: 1D4GP24RX6B597723 ## Mail History Id: 28396388, Consumer Id: 972121, Address Id: 14842632 => Updated with Vin: 2CNDL537686046512 ## Mail History Id: 28396658, Consumer Id: 972124, Address Id: 14842634 => Updated with Vin: 1GKEC13Z13J289180 ## Mail History Id: 28397167, Consumer Id: 972129, Address Id: 14842638 => Updated with Vin: 1G2ZH57N484100691 ## Mail History Id: 28396953, Consumer Id: 972131, Address Id: 14842640 => Updated with Vin: KL1TD66608B011619 ## Mail History Id: 28398442, Consumer Id: 972133, Address Id: 14842642 => Updated with Vin: 1FMPU17L64LA44433 ## Mail History Id: 28396408, Consumer Id: 971970, Address Id: 14837980 => Updated with Vin: 6G2EC57Y78L988773 ## Mail History Id: 28397524, Consumer Id: 972142, Address Id: 14842651 => Updated with Vin: 2CNDL13F866177860 ## Mail History Id: 28398572, Consumer Id: 972487, Address Id: 14842951 => Updated with Vin: 1GKFC13058R228400 ## Mail History Id: 28396644, Consumer Id: 972482, Address Id: 14842948 => Updated with Vin: KL1TD62635B386227 ## Mail History Id: 28396213, Consumer Id: 972483, Address Id: 10455983 => Updated with Vin: 1GKER23788J228385 ## Mail History Id: 28397514, Consumer Id: 972485, Address Id: 14842950 => Updated with Vin: 2G1WB58K789205154 ## Mail History Id: 28396467, Consumer Id: 972503, Address Id: 14841485 => Updated with Vin: 1GNFC13098R124396 ## Mail History Id: 28397444, Consumer Id: 972494, Address Id: 14840744 => Updated with Vin: 5GAER23768J119713 ## Mail History Id: 28396439, Consumer Id: 972492, Address Id: 14842956 => Updated with Vin: 2CNDL23F876059962 ## Mail History Id: 28397950, Consumer Id: 972500, Address Id: 14842961 => Updated with Vin: 2CNDL13F156160025 ## Mail History Id: 28398202, Consumer Id: 972560, Address Id: 14842538 => Updated with Vin: 1G2ZF57B784172819 ## Mail History Id: 28397582, Consumer Id: 972508, Address Id: 14842965 => Updated with Vin: 1G1ZG57B58F233476 ## Mail History Id: 28397121, Consumer Id: 972509, Address Id: 14842966 => Updated with Vin: 1G1ZG57B48F218094 ## Mail History Id: 28396563, Consumer Id: 972512, Address Id: 11485825 => Updated with Vin: 5Y2SL67878Z419288 ## Mail History Id: 28396780, Consumer Id: 972563, Address Id: 9159828 => Updated with Vin: 1B3HB48B97D281875 ## Mail History Id: 28396277, Consumer Id: 972564, Address Id: 14841065 => Updated with Vin: 2GTEC13J381210048 ## Mail History Id: 28396224, Consumer Id: 972514, Address Id: 9158916 => Updated with Vin: 3C4FY48B25T557504 ## Mail History Id: 28397612, Consumer Id: 972634, Address Id: 14843049 => Updated with Vin: 1GBJG31K581159365 ## Mail History Id: 28398070, Consumer Id: 972516, Address Id: 14842969 => Updated with Vin: 1GCGC23U04F179711 ## Mail History Id: 28397674, Consumer Id: 972520, Address Id: 10280481 => Updated with Vin: 3GCEC13J78G236739 ## Mail History Id: 28397151, Consumer Id: 972521, Address Id: 14842972 => Updated with Vin: 2G1WC58R379167219 ## Mail History Id: 28397875, Consumer Id: 972522, Address Id: 14842973 => Updated with Vin: 1GNFC130X8R110202 ## Mail History Id: 28396700, Consumer Id: 972524, Address Id: 14842975 => Updated with Vin: 1G1ZT58N87F125758 ## Mail History Id: 28398144, Consumer Id: 972525, Address Id: 14842976 => Updated with Vin: 1GKEC13VX4R133929 ## Mail History Id: 28396209, Consumer Id: 972526, Address Id: 14842977 => Updated with Vin: 3GNDA23D37S602667 ## Mail History Id: 28396423, Consumer Id: 972531, Address Id: 14839522 => Updated with Vin: 3GNDA73X58S646341 ## Mail History Id: 28397944, Consumer Id: 972533, Address Id: 11386526 => Updated with Vin: 1LNHM82V97Y639662 ## Mail History Id: 28398294, Consumer Id: 972534, Address Id: 14842982 => Updated with Vin: 1C3EL46T03N502301 ## Mail History Id: 28396603, Consumer Id: 972535, Address Id: 14842983 => Updated with Vin: 2GCEC19T741218818 ## Mail History Id: 28396331, Consumer Id: 972538, Address Id: 14842985 => Updated with Vin: 1GNFC16048R184775 ## Mail History Id: 28398134, Consumer Id: 972539, Address Id: 14842986 => Updated with Vin: 2GCEC19T841191516 ## Mail History Id: 28398390, Consumer Id: 972549, Address Id: 14842989 => Updated with Vin: 1GTEC19J18Z113655 ## Mail History Id: 28396762, Consumer Id: 972545, Address Id: 14842991 => Updated with Vin: 2GCEC13Z761324282 ## Mail History Id: 28396229, Consumer Id: 972546, Address Id: 14842992 => Updated with Vin: 3GNFC16018G202908 ## Mail History Id: 28397895, Consumer Id: 972547, Address Id: 14842993 => Updated with Vin: 1G1ZH57B68F228493 ## Mail History Id: 28398506, Consumer Id: 972550, Address Id: 14842995 => Updated with Vin: 3N1BC13E68L363269 ## Mail History Id: 28396431, Consumer Id: 972552, Address Id: 14842996 => Updated with Vin: 1GBE4C1938F402486 ## Mail History Id: 28397694, Consumer Id: 972553, Address Id: 14842997 => Updated with Vin: 5GAER23798J259562 ## Mail History Id: 28397775, Consumer Id: 972554, Address Id: 14842998 => Updated with Vin: 5GAER23768J259258 ## Mail History Id: 28397716, Consumer Id: 972555, Address Id: 14842999 => Updated with Vin: 1FTSW21P76ED73420 ## Mail History Id: 28397302, Consumer Id: 972556, Address Id: 14836255 => Updated with Vin: 1GKDT13S962152453 ## Mail History Id: 28397836, Consumer Id: 972639, Address Id: 14843053 => Updated with Vin: 1D7HA18N25S246880 ## Mail History Id: 28397909, Consumer Id: 972643, Address Id: 14843054 => Updated with Vin: 1GNFC13048R150324 ## Mail History Id: 28396630, Consumer Id: 972647, Address Id: 14843057 => Updated with Vin: 1G1AK52F457536261 ## Mail History Id: 28396513, Consumer Id: 972648, Address Id: 14843058 => Updated with Vin: 3GCEC13J78G259387 ## Mail History Id: 28397812, Consumer Id: 972650, Address Id: 14843060 => Updated with Vin: 3GNDA53P18S646261 ## Mail History Id: 28398308, Consumer Id: 972653, Address Id: 14843062 => Updated with Vin: 2G4WE587081155010 ## Mail History Id: 28396533, Consumer Id: 972656, Address Id: 14843065 => Updated with Vin: 1GNDV33157D211939 ## Mail History Id: 28396210, Consumer Id: 972657, Address Id: 11386590 => Updated with Vin: 1G1ZT68N37F138505 ## Mail History Id: 28396470, Consumer Id: 972658, Address Id: 14843066 => Updated with Vin: 1GNEC13T11R193319 ## Mail History Id: 28396699, Consumer Id: 972660, Address Id: 14836246 => Updated with Vin: 1FTRX14576FA00808 ## Mail History Id: 28396950, Consumer Id: 972663, Address Id: 14837682 => Updated with Vin: 1GCDS136X48150688 ## Mail History Id: 28397819, Consumer Id: 972664, Address Id: 14843070 => Updated with Vin: 2G2WP552481132728 ## Mail History Id: 28396638, Consumer Id: 972667, Address Id: 14841343 => Updated with Vin: 1FTWW33F8YEB90686 ## Mail History Id: 28396560, Consumer Id: 972668, Address Id: 14843072 => Updated with Vin: 1G1AL55F277217551 ## Mail History Id: 28396471, Consumer Id: 972669, Address Id: 14839686 => Updated with Vin: 3GNDA13D47S597313 ## Mail History Id: 28396984, Consumer Id: 972671, Address Id: 14843074 => Updated with Vin: 1G2ZG58N074220360 ## Mail History Id: 28397416, Consumer Id: 972672, Address Id: 8028011 => Updated with Vin: 1GCDS43E188192326 ## Mail History Id: 28398266, Consumer Id: 972854, Address Id: 14843195 => Updated with Vin: 1N6AA07A34N552923 ## Mail History Id: 28396223, Consumer Id: 972858, Address Id: 14843198 => Updated with Vin: 1GNFC13068R113534 ## Mail History Id: 28396564, Consumer Id: 972859, Address Id: 14843199 => Updated with Vin: 3GNDA23P16S643257 ## Mail History Id: 28398576, Consumer Id: 972862, Address Id: 14843201 => Updated with Vin: 1G1ZS58F17F236146 ## Mail History Id: 28397007, Consumer Id: 972865, Address Id: 8327075 => Updated with Vin: 5GAER23758J262328 ## Mail History Id: 28397131, Consumer Id: 972867, Address Id: 14843204 => Updated with Vin: KMHFC46F27A217831 ## Mail History Id: 28397290, Consumer Id: 972868, Address Id: 11388080 => Updated with Vin: 1G2ZH17N684244686 ## Mail History Id: 28397506, Consumer Id: 972811, Address Id: 14841190 => Updated with Vin: 3GNCA13D68S671750 ## Mail History Id: 28396900, Consumer Id: 972872, Address Id: 14843208 => Updated with Vin: 1GCEC14X94Z113571 ## Mail History Id: 28396923, Consumer Id: 972873, Address Id: 14843209 => Updated with Vin: 1GKER13718J185793 ## Mail History Id: 28397550, Consumer Id: 972874, Address Id: 1718324 => Updated with Vin: 5GZER23797J155889 ## Mail History Id: 28396448, Consumer Id: 972875, Address Id: 14843210 => Updated with Vin: 1GYEK63N13R205623 ## Mail History Id: 28396843, Consumer Id: 972673, Address Id: 14843075 => Updated with Vin: 5GAER23798J263014 ## Mail History Id: 28396432, Consumer Id: 972877, Address Id: 14843211 => Updated with Vin: 2GTEC19J471598977 ## Mail History Id: 28396863, Consumer Id: 972879, Address Id: 14843213 => Updated with Vin: 1GCEK19B45E280574 ## Mail History Id: 28397642, Consumer Id: 972881, Address Id: 14843214 => Updated with Vin: 2CKDL33F286000216 ## Mail History Id: 28396933, Consumer Id: 972884, Address Id: 14843216 => Updated with Vin: 1GKER33718J254624 ## Mail History Id: 28397065, Consumer Id: 972885, Address Id: 14843217 => Updated with Vin: 1GKES16S356126747 ## Mail History Id: 28397938, Consumer Id: 972886, Address Id: 14843218 => Updated with Vin: KL1TD66678B001606 ## Mail History Id: 28398126, Consumer Id: 972887, Address Id: 14843219 => Updated with Vin: 1GCJC33K88F208971 ## Mail History Id: 28397769, Consumer Id: 972890, Address Id: 8057284 => Updated with Vin: 3GCEC13C58G230214 ## Mail History Id: 28397835, Consumer Id: 1170540, Address Id: 15028822 => Updated with Vin: 1GNDS13S382124480 ## Mail History Id: 28396694, Consumer Id: 972896, Address Id: 14843225 => Updated with Vin: 2C8GM68475R673750 ## Mail History Id: 28397376, Consumer Id: 972898, Address Id: 9185818 => Updated with Vin: 1GNFC13058R174051 ## Mail History Id: 28396524, Consumer Id: 972620, Address Id: 14836850 => Updated with Vin: 3GNEK12Z15G290650 ## Mail History Id: 28397242, Consumer Id: 972622, Address Id: 11387976 => Updated with Vin: 1GKEK63U32J133158 ## Mail History Id: 28396834, Consumer Id: 972623, Address Id: 9159897 => Updated with Vin: 5Y2SL65876Z429111 ## Mail History Id: 28398492, Consumer Id: 972625, Address Id: 10552141 => Updated with Vin: 1GKER23738J150498 ## Mail History Id: 28397944, Consumer Id: 971372, Address Id: 11386526 => Updated with Vin: 1GKER23738J150498 ## Mail History Id: 28397160, Consumer Id: 972626, Address Id: 14843043 => Updated with Vin: 1GNDS13S582127607 ## Mail History Id: 28398052, Consumer Id: 972627, Address Id: 14843044 => Updated with Vin: 1ZVFT80N975216032 ## Mail History Id: 28397955, Consumer Id: 972628, Address Id: 14843045 => Updated with Vin: 3GNDA13D18S532114 ## Mail History Id: 28398238, Consumer Id: 972629, Address Id: 14843046 => Updated with Vin: 3GNDA23D38S546568 ## Mail History Id: 28398346, Consumer Id: 972630, Address Id: 14838762 => Updated with Vin: 1FTRW12W97KC33676 ## Mail History Id: 28398364, Consumer Id: 972631, Address Id: 8326413 => Updated with Vin: 1GTEC14XX8Z221042 ## Mail History Id: 28398420, Consumer Id: 972632, Address Id: 14843047 => Updated with Vin: 6G2EC57Y08L136037 ## Mail History Id: 28398312, Consumer Id: 972635, Address Id: 14843050 => Updated with Vin: 1FTYR44U02PA41655 ## Mail History Id: 28398258, Consumer Id: 972816, Address Id: 14843173 => Updated with Vin: 1GKFC13008R192776 ## Mail History Id: 28398278, Consumer Id: 972818, Address Id: 14843174 => Updated with Vin: 1GKFC16038R167933 ## Mail History Id: 28398476, Consumer Id: 972820, Address Id: 14843176 => Updated with Vin: 3GNCA23D78S675974 ## Mail History Id: 28396371, Consumer Id: 972713, Address Id: 14843103 => Updated with Vin: 1G2ZM587674133461 ## Mail History Id: 28396283, Consumer Id: 972822, Address Id: 14843178 => Updated with Vin: 5GAER23768J232514 ## Mail History Id: 28396327, Consumer Id: 972825, Address Id: 14843181 => Updated with Vin: 5GAER237X8J232287 ## Mail History Id: 28396543, Consumer Id: 972832, Address Id: 14837804 => Updated with Vin: 1GNFC13028R101820 ## Mail History Id: 28396681, Consumer Id: 972842, Address Id: 14843187 => Updated with Vin: 5GAER23778J234482 ## Mail History Id: 28398002, Consumer Id: 972573, Address Id: 9672512 => Updated with Vin: 5GAER23738J234060 ## Mail History Id: 28397839, Consumer Id: 972584, Address Id: 14843016 => Updated with Vin: 3GNEC13T03G288196 ## Mail History Id: 28398282, Consumer Id: 972585, Address Id: 14843017 => Updated with Vin: 3GTEC13C38G191543 ## Mail History Id: 28398092, Consumer Id: 972599, Address Id: 14843026 => Updated with Vin: 1G1YY25W485126552 ## Mail History Id: 28397802, Consumer Id: 972606, Address Id: 14840400 => Updated with Vin: 5GAER23788J234345 ## Mail History Id: 28398084, Consumer Id: 972617, Address Id: 14843039 => Updated with Vin: 5GAER237X8J232967 ## Mail History Id: 28396745, Consumer Id: 964604, Address Id: 14837109 => Updated with Vin: 3GNDA23D36S599512 ## Mail History Id: 28396932, Consumer Id: 972926, Address Id: 14837316 => Updated with Vin: 3GNDA23D36S599512 ## Mail History Id: 28397892, Consumer Id: 972956, Address Id: 14843266 => Updated with Vin: 5GAER23778J232599 ## Mail History Id: 28397460, Consumer Id: 972705, Address Id: 14843096 => Updated with Vin: 2G4WN58C781210758 ## Mail History Id: 28397915, Consumer Id: 972722, Address Id: 14843108 => Updated with Vin: 1GKER23718J229507 ## Mail History Id: 28398332, Consumer Id: 972756, Address Id: 14843132 => Updated with Vin: 2CNDL73F176100686 ## Mail History Id: 28397902, Consumer Id: 972772, Address Id: 14843145 => Updated with Vin: 4T1BK36B38U258400 ## Mail History Id: 28396648, Consumer Id: 972901, Address Id: 9159565 => Updated with Vin: 3A4FY58B47T504659 ## Mail History Id: 28397890, Consumer Id: 972972, Address Id: 14843272 => Updated with Vin: 1GCEC14V03Z182324 ## Mail History Id: 28397771, Consumer Id: 972975, Address Id: 7987250 => Updated with Vin: 1G4HE57Y18U136974 ## Mail History Id: 28397528, Consumer Id: 973011, Address Id: 14843298 => Updated with Vin: 1GNFC13C68R241198 ## Mail History Id: 28397980, Consumer Id: 973028, Address Id: 14843309 => Updated with Vin: 1GNFC13048R192122 ## Mail History Id: 28396285, Consumer Id: 973959, Address Id: 14903242 => Updated with Vin: 1GKDS13S982198242 ## Mail History Id: 28398090, Consumer Id: 982537, Address Id: 14929894 => Updated with Vin: 5GZCZ63417S833761 ## Mail History Id: 28397963, Consumer Id: 1028061, Address Id: 14944256 => Updated with Vin: 5GAER23758J234559 ## Mail History Id: 28397983, Consumer Id: 1106561, Address Id: 14981599 => Updated with Vin: 1G4HD57288U168352 ## Mail History Id: 28398154, Consumer Id: 1125647, Address Id: 14991458 => Updated with Vin: 1G1AL15F577129389 ## Mail History Id: 28397011, Consumer Id: 1265641, Address Id: 7532428 => Updated with Vin: 1GNFC13088R195184 ## Mail History Id: 28397045, Consumer Id: 1265663, Address Id: 15437303 => Updated with Vin: 1GKEC638X8J195410 ## Mail History Id: 28398078, Consumer Id: 973565, Address Id: 14831530 => Updated with Vin: 1G1BL53E3PR141003 ## Mail History Id: 28396292, Consumer Id: 960304, Address Id: 14831427 => Updated with Vin: 1G4HP54K2Y4273688 ## Mail History Id: 28397662, Consumer Id: 960286, Address Id: 14831411 => Updated with Vin: 1G4HP54K514283475 ## Mail History Id: 28397486, Consumer Id: 974525, Address Id: 14840615 => Updated with Vin: 1GNEC13T91R133305 ## Mail History Id: 28396365, Consumer Id: 974929, Address Id: 14843496 => Updated with Vin: 2GCEK19T131192248 ## Mail History Id: 28396789, Consumer Id: 975132, Address Id: 14838690 => Updated with Vin: 1G3AG54N5P6322773 ## Mail History Id: 28397770, Consumer Id: 966251, Address Id: 14831194 => Updated with Vin: 1G1ZT518X6F231096 ## Mail History Id: 28397017, Consumer Id: 980558, Address Id: 14846729 => Updated with Vin: 1G1YY12S225119442 ## Mail History Id: 28397037, Consumer Id: 961151, Address Id: 14831802 => Updated with Vin: 1G4HR54K93U157259 ## Mail History Id: 28398514, Consumer Id: 973142, Address Id: 14835471 => Updated with Vin: 1G2WR52122F154054 ## Mail History Id: 28396856, Consumer Id: 960748, Address Id: 14831476 => Updated with Vin: 3G5DA03E33S510157 ## Mail History Id: 28396480, Consumer Id: 973097, Address Id: 14835430 => Updated with Vin: 1Y1SK5289YZ430681 ## Mail History Id: 28397346, Consumer Id: 959816, Address Id: 7531947 => Updated with Vin: 3GNEC16Z13G188785 ## Mail History Id: 28397931, Consumer Id: 960759, Address Id: 14831484 => Updated with Vin: 1GNCS13W0W2244460 ## Mail History Id: 28396453, Consumer Id: 961004, Address Id: 14831679 => Updated with Vin: 2GCEC19V831324579 ## Mail History Id: 28397248, Consumer Id: 976557, Address Id: 14844502 => Updated with Vin: 2GCEK19T8X1269042 ## Mail History Id: 28398166, Consumer Id: 960073, Address Id: 14831246 => Updated with Vin: 1G6KS54Y32U183893 ## Mail History Id: 28396569, Consumer Id: 959925, Address Id: 14831130 => Updated with Vin: 3GKEC16Z53G241212 ## Mail History Id: 28397258, Consumer Id: 968926, Address Id: 9253293 => Updated with Vin: 1G1AK55F677184508 ## Mail History Id: 28398556, Consumer Id: 978839, Address Id: 14845755 => Updated with Vin: 2GCEK19N941282105 ## Mail History Id: 28396650, Consumer Id: 980575, Address Id: 9159566 => Updated with Vin: 1GCHK23403F254882 ## Mail History Id: 28397927, Consumer Id: 980494, Address Id: 11485196 => Updated with Vin: 1G1YY26E865127867 ## Mail History Id: 28397724, Consumer Id: 980562, Address Id: 14846733 => Updated with Vin: 1GCHK23285F870279 ## Mail History Id: 28396340, Consumer Id: 975531, Address Id: 14843885 => Updated with Vin: 1GTEC14W42Z249837 ## Mail History Id: 28396376, Consumer Id: 980493, Address Id: 9133140 => Updated with Vin: 2GTEK19T041108194 ## Mail History Id: 28396405, Consumer Id: 980585, Address Id: 14843876 => Updated with Vin: 1GCEC19J27Z510175 ## Mail History Id: 28396837, Consumer Id: 975597, Address Id: 14843927 => Updated with Vin: 1G3GR64H524199727 ## Mail History Id: 28397294, Consumer Id: 976101, Address Id: 14844224 => Updated with Vin: 3GNDA23P96S551555 ## Mail History Id: 28397384, Consumer Id: 979645, Address Id: 14844438 => Updated with Vin: 3GNFC16057G189496 ## Mail History Id: 28396800, Consumer Id: 976890, Address Id: 14844714 => Updated with Vin: 1GNES16S356131725 ## Mail History Id: 28396639, Consumer Id: 977125, Address Id: 14844841 => Updated with Vin: 2GCEC19T121398410 ## Mail History Id: 28397492, Consumer Id: 977387, Address Id: 8032537 => Updated with Vin: 2G4WC552061128935 ## Mail History Id: 28396529, Consumer Id: 977460, Address Id: 14845019 => Updated with Vin: 2G4WC582461217015 ## Mail History Id: 28397977, Consumer Id: 977581, Address Id: 14845087 => Updated with Vin: 1G1YZ23J0M5800176 ## Mail History Id: 28397092, Consumer Id: 973290, Address Id: 14836944 => Updated with Vin: 1G4CU5214TH626141 ## Mail History Id: 28396191, Consumer Id: 978058, Address Id: 14845337 => Updated with Vin: 1G3NL12E54C225949 ## Mail History Id: 28396559, Consumer Id: 978498, Address Id: 14845575 => Updated with Vin: 3GNFK16T21G266085 ## Mail History Id: 28397183, Consumer Id: 978521, Address Id: 14844653 => Updated with Vin: 1G1YY24U655105505 ## Mail History Id: 28396495, Consumer Id: 978543, Address Id: 14845593 => Updated with Vin: 2GTEC19T211280042 ## Mail History Id: 28396426, Consumer Id: 978673, Address Id: 14845662 => Updated with Vin: 1G6DW52P7SR704110 ## Mail History Id: 28397028, Consumer Id: 978815, Address Id: 14845739 => Updated with Vin: 1G1YY12SX45103251 ## Mail History Id: 28396975, Consumer Id: 978838, Address Id: 10073606 => Updated with Vin: 6G2VX12U05L358395 ## Mail History Id: 28396734, Consumer Id: 978975, Address Id: 14845833 => Updated with Vin: 1GNFK13047R189531 ## Mail History Id: 28396291, Consumer Id: 979131, Address Id: 14845920 => Updated with Vin: 2GCEK19T631412001 ## Mail History Id: 28396377, Consumer Id: 979146, Address Id: 14845928 => Updated with Vin: 1GTHK23D46F246188 ## Mail History Id: 28396353, Consumer Id: 979137, Address Id: 14845922 => Updated with Vin: 1GNEC13T21R107466 ## Mail History Id: 28397798, Consumer Id: 970376, Address Id: 14841372 => Updated with Vin: 2G4WC582X71188895 ## Mail History Id: 28398250, Consumer Id: 979426, Address Id: 14840720 => Updated with Vin: 3GNFK16347G260555 ## Mail History Id: 28396908, Consumer Id: 979526, Address Id: 9160086 => Updated with Vin: 2G1WF52E359325486 ## Mail History Id: 28397266, Consumer Id: 979571, Address Id: 14846167 => Updated with Vin: 1GNDS13S352314100 ## Mail History Id: 28397809, Consumer Id: 979856, Address Id: 4941803 => Updated with Vin: 1GCHC23627F520472 ## Mail History Id: 28397214, Consumer Id: 980505, Address Id: 12056126 => Updated with Vin: 3GNEC16Z52G223262 ## Mail History Id: 28398194, Consumer Id: 979929, Address Id: 14846375 => Updated with Vin: 1G1AP18P877201131 ## Mail History Id: 28396941, Consumer Id: 979905, Address Id: 14846360 => Updated with Vin: 2G1WH55K919162204 ## Mail History Id: 28397592, Consumer Id: 980024, Address Id: 14846430 => Updated with Vin: 2G1WF52E259133007 ## Mail History Id: 28397224, Consumer Id: 980096, Address Id: 14846472 => Updated with Vin: 1GCHK23668F131967 ## Mail History Id: 28397747, Consumer Id: 982853, Address Id: 14846766 => Updated with Vin: 1G2JB12F937370367 ## Mail History Id: 28396971, Consumer Id: 980429, Address Id: 10073598 => Updated with Vin: 2G1WC58R279244808 ## Mail History Id: 28396805, Consumer Id: 980423, Address Id: 14846657 => Updated with Vin: 1GCHC33F5WF011075 ## Mail History Id: 28396267, Consumer Id: 975878, Address Id: 14844093 => Updated with Vin: 1GKES63M662122235 ## Mail History Id: 28396847, Consumer Id: 980474, Address Id: 14846684 => Updated with Vin: 5GADV33L66D217100 ## Mail History Id: 28398560, Consumer Id: 980466, Address Id: 14846679 => Updated with Vin: 3GNEC16R0XG191392 ## Mail History Id: 28397518, Consumer Id: 980538, Address Id: 14846718 => Updated with Vin: 1GKDM19W0VB518015 ## Mail History Id: 28397186, Consumer Id: 980578, Address Id: 12057447 => Updated with Vin: 6G2VX12U45L443238 ## Mail History Id: 28396608, Consumer Id: 980515, Address Id: 14846705 => Updated with Vin: 2G2WR554371198021 ## Mail History Id: 28397813, Consumer Id: 980525, Address Id: 14846711 => Updated with Vin: KL1TD56648B117131 ## Mail History Id: 28397270, Consumer Id: 982861, Address Id: 14846777 => Updated with Vin: 3GKEC16Z84G210540 ## Mail History Id: 28396976, Consumer Id: 980572, Address Id: 14846741 => Updated with Vin: 1GNDM19WXYB124254 ## Mail History Id: 28396609, Consumer Id: 980550, Address Id: 14846725 => Updated with Vin: 1GNEC13V64R318627 ## Mail History Id: 28396629, Consumer Id: 982850, Address Id: 14846754 => Updated with Vin: 5GADV33L76D217493 ## Mail History Id: 28396883, Consumer Id: 980576, Address Id: 14846744 => Updated with Vin: 3G5DA03E52S570861 ## Mail History Id: 28398174, Consumer Id: 982847, Address Id: 14846753 => Updated with Vin: 1GCHC29D26E273237 ## Mail History Id: 28397274, Consumer Id: 980574, Address Id: 14846743 => Updated with Vin: 3GKEC16Z93G345783 ## Mail History Id: 28396391, Consumer Id: 982857, Address Id: 8120139 => Updated with Vin: 1GKFC13J67R234066 ## Mail History Id: 28396657, Consumer Id: 980988, Address Id: 9864424 => Updated with Vin: 1GNEC13V35R259814 ## Mail History Id: 28396598, Consumer Id: 982856, Address Id: 14846757 => Updated with Vin: 3GNDA23D57S596628 ## Mail History Id: 28396212, Consumer Id: 980573, Address Id: 14846742 => Updated with Vin: 1GNES13H472120834 ## Mail History Id: 28397272, Consumer Id: 982860, Address Id: 14846752 => Updated with Vin: 1GCGC23R4YF415021 ## Mail History Id: 28398432, Consumer Id: 982863, Address Id: 14846758 => Updated with Vin: 1G2ZM551564287609 ## Mail History Id: 28397027, Consumer Id: 960814, Address Id: 14831531 => Updated with Vin: 1GCEC19R1TE202745 ## Mail History Id: 28396817, Consumer Id: 980561, Address Id: 14846732 => Updated with Vin: 1G4HR57Y46U132676 ## Mail History Id: 28397929, Consumer Id: 980366, Address Id: 14846622 => Updated with Vin: 1G2MB33B86Y104342 ## Mail History Id: 28396416, Consumer Id: 980559, Address Id: 14846730 => Updated with Vin: 1GCHC29K17E598350 ## Mail History Id: 28397838, Consumer Id: 980560, Address Id: 14846731 => Updated with Vin: 3GCEC13J58G129706 ## Mail History Id: 28397858, Consumer Id: 980513, Address Id: 9180853 => Updated with Vin: 1FTRX17L4YKA96773 ## Total mail_history records updated with vin numbers: 367 out of 397 ============================================================ ====== Tracking Id: 616 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-11 11:16:20') AND us2_order_type_id = 3 ## Order found: 795 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 795 AND product_id = 112 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3705 ## Mailing found: '12362' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 617 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-11 11:43:21') AND us2_order_type_id = 3 ## Order found: 796 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 796 AND product_id = 142 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3357 ## Mailing found: '12379' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28786176, Consumer Id: 189855, Address Id: 398924 => Updated with Vin: 1FMDU73W33ZA31768 ## Mail History Id: 28786177, Consumer Id: 609961, Address Id: 11754756 => Updated with Vin: 1FMZU73E42ZA48719 ## Mail History Id: 28786178, Consumer Id: 191549, Address Id: 401720 => Updated with Vin: 1FTSW31FX3EA15026 ## Mail History Id: 28786179, Consumer Id: 609948, Address Id: 885139 => Updated with Vin: 1FTRE142X3HA78382 ## Mail History Id: 28786180, Consumer Id: 609960, Address Id: 11754755 => Updated with Vin: 1FMYU031X3KC04952 ## Mail History Id: 28786181, Consumer Id: 189433, Address Id: 401943 => Updated with Vin: JM1FE173040114880 ## Mail History Id: 28786182, Consumer Id: 199595, Address Id: 397352 => Updated with Vin: 2FMZA51664BA66752 ## Mail History Id: 28786183, Consumer Id: 609958, Address Id: 11754754 => Updated with Vin: 1FMRU17W84LB23198 ## Mail History Id: 28786184, Consumer Id: 609415, Address Id: 11754393 => Updated with Vin: 1FTPX12514NA51511 ## Mail History Id: 28786185, Consumer Id: 153198, Address Id: 395466 => Updated with Vin: 1FMZU64W14ZA09221 ## Mail History Id: 28786186, Consumer Id: 193524, Address Id: 403343 => Updated with Vin: 1FTWW31P75EC80919 ## Mail History Id: 28786187, Consumer Id: 197471, Address Id: 406775 => Updated with Vin: 1FTPX12555FB15108 ## Mail History Id: 28786188, Consumer Id: 192906, Address Id: 402629 => Updated with Vin: JM1CR29L860107205 ## Mail History Id: 28786189, Consumer Id: 609407, Address Id: 11754385 => Updated with Vin: 1ZVFT80N865123436 ## Mail History Id: 28786190, Consumer Id: 152601, Address Id: 394921 => Updated with Vin: 1ZVHT85H565194718 ## Mail History Id: 28786191, Consumer Id: 153538, Address Id: 395778 => Updated with Vin: 1ZVHT85H165250377 ## Mail History Id: 28786192, Consumer Id: 609952, Address Id: 10891646 => Updated with Vin: 1ZVFT80N465262544 ## Mail History Id: 28786193, Consumer Id: 193693, Address Id: 403595 => Updated with Vin: 1FTNE24W16DB07884 ## Mail History Id: 28786194, Consumer Id: 435587, Address Id: 9800112 => Updated with Vin: 1FTWW31P76EB37650 ## Mail History Id: 28786195, Consumer Id: 152377, Address Id: 394709 => Updated with Vin: 1FTSW21P26EC30195 ## Mail History Id: 28786196, Consumer Id: 196742, Address Id: 405971 => Updated with Vin: 1FTWW31P46EC89143 ## Mail History Id: 28786197, Consumer Id: 152371, Address Id: 394703 => Updated with Vin: 1FMCU95HX6KB01592 ## Mail History Id: 28786198, Consumer Id: 152102, Address Id: 394458 => Updated with Vin: 3FAFP06Z86R114452 ## Mail History Id: 28786199, Consumer Id: 609945, Address Id: 6903203 => Updated with Vin: 3A4FY58B96T269934 ## Mail History Id: 28786200, Consumer Id: 609947, Address Id: 11754747 => Updated with Vin: 2GCEC13J771529905 ## Mail History Id: 28786201, Consumer Id: 609953, Address Id: 11754750 => Updated with Vin: 1ZVFT80NX75267538 ## Mail History Id: 28786202, Consumer Id: 199773, Address Id: 399112 => Updated with Vin: 1FTSX20R78EA78689 ## Mail History Id: 28786203, Consumer Id: 153748, Address Id: 395964 => Updated with Vin: 2FMZA51607BA13789 ## Mail History Id: 28786204, Consumer Id: 609949, Address Id: 11754748 => Updated with Vin: 1FAHP24117G114030 ## Mail History Id: 28786205, Consumer Id: 154043, Address Id: 396233 => Updated with Vin: 1FMCU59H07KB52653 ## Mail History Id: 28786206, Consumer Id: 197297, Address Id: 406276 => Updated with Vin: 1FMFK20527LA33131 ## Mail History Id: 28786207, Consumer Id: 190399, Address Id: 401611 => Updated with Vin: 1FMEE11L0VHB73835 ## Mail History Id: 28786208, Consumer Id: 188632, Address Id: 399811 => Updated with Vin: 2FMZA5146YBA42472 ## Mail History Id: 28786209, Consumer Id: 191731, Address Id: 402092 => Updated with Vin: 1FTNW21F73EA76521 ## Mail History Id: 28786210, Consumer Id: 190955, Address Id: 400488 => Updated with Vin: 2FMZA51U3XBB23542 ## Mail History Id: 28786211, Consumer Id: 174100, Address Id: 445939 => Updated with Vin: 1FTWW31R68ED02415 ## Mail History Id: 28786212, Consumer Id: 155393, Address Id: 397448 => Updated with Vin: 3LNHM28T48R608564 ## Mail History Id: 28786213, Consumer Id: 609957, Address Id: 11754753 => Updated with Vin: 1FTYR10C2YPA46148 ## Mail History Id: 28786214, Consumer Id: 187196, Address Id: 397986 => Updated with Vin: 1FMDA11U6VZB92853 ## Mail History Id: 28786215, Consumer Id: 197805, Address Id: 406806 => Updated with Vin: 2FALP74W1PX103493 ## Mail History Id: 28786216, Consumer Id: 609950, Address Id: 10889001 => Updated with Vin: 1FMEU15H6RLB48403 ## Mail History Id: 28786217, Consumer Id: 198763, Address Id: 406878 => Updated with Vin: 2MELM75W8SX613123 ## Mail History Id: 28786218, Consumer Id: 609955, Address Id: 404589 => Updated with Vin: 2MELM74W4SX694025 ## Mail History Id: 28786219, Consumer Id: 609954, Address Id: 11754751 => Updated with Vin: 1LNLM91V0SY615843 ## Mail History Id: 28786220, Consumer Id: 198504, Address Id: 407252 => Updated with Vin: 1FTYR14X6WTA55758 ## Mail History Id: 28786221, Consumer Id: 609946, Address Id: 11754746 => Updated with Vin: 1GKGK26J7XJ775117 ## Mail History Id: 28786222, Consumer Id: 435942, Address Id: 9800274 => Updated with Vin: 1HGEJ8146YL082850 ## Mail History Id: 28786223, Consumer Id: 609951, Address Id: 11754749 => Updated with Vin: 1FMZU62X3YUB72158 ## Total mail_history records updated with vin numbers: 48 out of 54 ============================================================ ====== Tracking Id: 618 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-11 12:17:02') AND us2_order_type_id = 3 ## Order found: 797 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 797 AND product_id = 112 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3427 ## Mailing found: '12346' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337213, Consumer Id: 508381, Address Id: 9842314 => Updated with Vin: JHMCG665XYC020179 ## Mail History Id: 28337540, Consumer Id: 503300, Address Id: 9838795 => Updated with Vin: 1HGCG56652A013066 ## Mail History Id: 28337236, Consumer Id: 493415, Address Id: 9828780 => Updated with Vin: JHMES96653S024849 ## Mail History Id: 28337384, Consumer Id: 495968, Address Id: 327324 => Updated with Vin: 2HKRL18631H529718 ## Mail History Id: 28337269, Consumer Id: 499676, Address Id: 9834024 => Updated with Vin: 2HGES15184H564621 ## Mail History Id: 28337217, Consumer Id: 490568, Address Id: 9826615 => Updated with Vin: 1HGCG56402A159194 ## Mail History Id: 28337212, Consumer Id: 506024, Address Id: 9840793 => Updated with Vin: 1HGCM56445A077904 ## Mail History Id: 28337205, Consumer Id: 511538, Address Id: 7556412 => Updated with Vin: 1HGCM56383A046577 ## Mail History Id: 28337240, Consumer Id: 502882, Address Id: 9838638 => Updated with Vin: 1HGCG1651YA035008 ## Mail History Id: 28337252, Consumer Id: 494136, Address Id: 9829294 => Updated with Vin: 1HGCG16511A047861 ## Mail History Id: 28337394, Consumer Id: 498797, Address Id: 9832687 => Updated with Vin: 2HGES16564H540304 ## Mail History Id: 28337279, Consumer Id: 516179, Address Id: 9847038 => Updated with Vin: 1HGCM82703A023160 ## Mail History Id: 28337298, Consumer Id: 519441, Address Id: 9848926 => Updated with Vin: 1HGCM566X3A139546 ## Total mail_history records updated with vin numbers: 13 out of 15 ============================================================ ====== Tracking Id: 619 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-11 12:17:15') AND us2_order_type_id = 3 ## Order found: 797 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 797 AND product_id = 114 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3427 ## Mailing found: '12346' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337471, Consumer Id: 517976, Address Id: 9837451 => Updated with Vin: 2HKRL18042H548484 ## Mail History Id: 28337290, Consumer Id: 497376, Address Id: 9828963 => Updated with Vin: 1HGCM66564A005812 ## Mail History Id: 28337286, Consumer Id: 511501, Address Id: 9844272 => Updated with Vin: 1HGCM56836A024664 ## Mail History Id: 28337276, Consumer Id: 493436, Address Id: 9827846 => Updated with Vin: 1HGCM668X3A045545 ## Mail History Id: 28337283, Consumer Id: 496279, Address Id: 9830873 => Updated with Vin: 1HGCM66584A003995 ## Mail History Id: 28337378, Consumer Id: 500474, Address Id: 9835032 => Updated with Vin: JHMCG6693YC008314 ## Mail History Id: 28337304, Consumer Id: 472823, Address Id: 9834427 => Updated with Vin: SHSRD78896U423841 ## Mail History Id: 28337504, Consumer Id: 475500, Address Id: 8195412 => Updated with Vin: 2HGFG126X7H555588 ## Total mail_history records updated with vin numbers: 8 out of 10 ============================================================ ====== Tracking Id: 620 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-11 12:17:18') AND us2_order_type_id = 3 ## Order found: 798 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 798 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3471 ## Mailing found: '12381' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 621 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-11 12:17:28') AND us2_order_type_id = 3 ## Order found: 798 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 798 AND product_id = 112 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3471 ## Mailing found: '12347' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337541, Consumer Id: 802542, Address Id: 11870577 => Updated with Vin: 1GYEK13R8XR404535 ## Mail History Id: 28337513, Consumer Id: 802217, Address Id: 10215564 => Updated with Vin: 1GHDX13E11D223128 ## Mail History Id: 28337503, Consumer Id: 820823, Address Id: 4553273 => Updated with Vin: 1G6KS54Y83U138188 ## Mail History Id: 28337517, Consumer Id: 820591, Address Id: 10215761 => Updated with Vin: 1GYEK63N25R151932 ## Mail History Id: 28337489, Consumer Id: 807726, Address Id: 10212570 => Updated with Vin: 1G6DP567550136665 ## Total mail_history records updated with vin numbers: 5 out of 8 ============================================================ ====== Tracking Id: 622 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3140 AND DATE(cart_created_date) = DATE('2008-07-11 13:12:06') AND us2_order_type_id = 3 ## Order found: 799 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 799 AND product_id = 54 ## Job Group Found: '348' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('348') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'dht071008001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('dht071008001a') AND customer_id = 3140 ## Mailing found: '12116' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 623 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3121 AND DATE(cart_created_date) = DATE('2008-07-11 13:12:33') AND us2_order_type_id = 3 ## Order found: 800 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 800 AND product_id = 54 ## Job Group Found: '349' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('349') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'dht071008002a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('dht071008002a') AND customer_id = 3121 ## Mailing found: '12115' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 624 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-07-11 14:01:21') AND us2_order_type_id = 3 ## Order found: 801 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 801 AND product_id = 54 ## Job Group Found: '350' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('350') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele062008001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele062008001a') AND customer_id = 3808 ## Mailing found: '12117' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 625 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-12 08:13:26') AND us2_order_type_id = 3 ## Order found: 809 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 809 AND product_id = 55 ## Job Group Found: '374' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('374') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408002') AND customer_id = 3230 ## Mailing found: '12350' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 626 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-12 08:43:21') AND us2_order_type_id = 3 ## Order found: 809 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 809 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3230 ## Mailing found: '12344' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337433, Consumer Id: 93495, Address Id: 50743 => Updated with Vin: 1FMEU73E87UB16409 ## Mail History Id: 28337415, Consumer Id: 103752, Address Id: 47719 => Updated with Vin: 2FMZA57664BA81002 ## Mail History Id: 28337383, Consumer Id: 66304, Address Id: 50149 => Updated with Vin: 1FTYR10D85PA22148 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 627 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-12 08:43:32') AND us2_order_type_id = 3 ## Order found: 809 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 809 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3230 ## Mailing found: '12378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785073, Consumer Id: 93174, Address Id: 51593 => Updated with Vin: 1FTWW31R28EA72551 ## Mail History Id: 28785498, Consumer Id: 173966, Address Id: 445694 => Updated with Vin: 1FAFP24115G108670 ## Mail History Id: 28785076, Consumer Id: 66967, Address Id: 47294 => Updated with Vin: 1FTPX14556FB12370 ## Mail History Id: 28785077, Consumer Id: 174132, Address Id: 52992 => Updated with Vin: 1FTRW14567FB17123 ## Mail History Id: 28785078, Consumer Id: 64644, Address Id: 48342 => Updated with Vin: 1FAFP34P42W355273 ## Mail History Id: 28785079, Consumer Id: 63063, Address Id: 48134 => Updated with Vin: 1FAFP56S64A137512 ## Mail History Id: 28785081, Consumer Id: 64096, Address Id: 50275 => Updated with Vin: 2FMZA5143XBB88911 ## Mail History Id: 28785710, Consumer Id: 93207, Address Id: 51489 => Updated with Vin: 1FTNX21F62EA40024 ## Mail History Id: 28785083, Consumer Id: 103391, Address Id: 48106 => Updated with Vin: 1FMZU77E81UB68531 ## Mail History Id: 28785084, Consumer Id: 64171, Address Id: 47531 => Updated with Vin: 1FTNW21F01EC32279 ## Mail History Id: 28785085, Consumer Id: 66105, Address Id: 50032 => Updated with Vin: 1MEFM50U83A626889 ## Mail History Id: 28785086, Consumer Id: 66405, Address Id: 52431 => Updated with Vin: KLAJC52Z5YK495050 ## Mail History Id: 28785087, Consumer Id: 232322, Address Id: 52967 => Updated with Vin: 1MEHM55S41G610019 ## Mail History Id: 28785088, Consumer Id: 174072, Address Id: 445898 => Updated with Vin: 1FMCU93Z28KD14924 ## Mail History Id: 28785089, Consumer Id: 64426, Address Id: 47628 => Updated with Vin: 1ZVFT85H155180871 ## Mail History Id: 28786092, Consumer Id: 167601, Address Id: 47504 => Updated with Vin: 1MEFM50U52A651232 ## Mail History Id: 28785091, Consumer Id: 103124, Address Id: 49512 => Updated with Vin: 1FAFP52U3WA244981 ## Mail History Id: 28785092, Consumer Id: 63059, Address Id: 48486 => Updated with Vin: 1FMYU93105KA27917 ## Mail History Id: 28785191, Consumer Id: 232325, Address Id: 51361 => Updated with Vin: 1G2HX54K0Y4205401 ## Mail History Id: 28785095, Consumer Id: 63892, Address Id: 47747 => Updated with Vin: 4M2ZU86WX4ZJ06537 ## Mail History Id: 28786077, Consumer Id: 103699, Address Id: 53797 => Updated with Vin: 2FMZA5140XBB16841 ## Mail History Id: 28785097, Consumer Id: 64372, Address Id: 52337 => Updated with Vin: 1FAFP33P8YW257695 ## Mail History Id: 28785741, Consumer Id: 92766, Address Id: 48086 => Updated with Vin: 1FMEU73E87UA61962 ## Mail History Id: 28785099, Consumer Id: 67515, Address Id: 47885 => Updated with Vin: 2FMZA57401BA96878 ## Mail History Id: 28785100, Consumer Id: 92629, Address Id: 51023 => Updated with Vin: 1G1AK55F767683333 ## Mail History Id: 28785101, Consumer Id: 63185, Address Id: 49836 => Updated with Vin: 1FAFP343X3W338010 ## Mail History Id: 28785102, Consumer Id: 67698, Address Id: 51032 => Updated with Vin: 1G2HX52K7VH239472 ## Mail History Id: 28785103, Consumer Id: 102672, Address Id: 52712 => Updated with Vin: 2FAFP74W12X121188 ## Mail History Id: 28785105, Consumer Id: 92910, Address Id: 51333 => Updated with Vin: 1FMDK02107GA24622 ## Mail History Id: 28785106, Consumer Id: 174073, Address Id: 445899 => Updated with Vin: 1FTPX14V88FB07196 ## Mail History Id: 28785107, Consumer Id: 62881, Address Id: 48503 => Updated with Vin: 1FAFP34P12W149747 ## Mail History Id: 28785019, Consumer Id: 91932, Address Id: 48778 => Updated with Vin: 1FMCU93195KB13740 ## Mail History Id: 28785108, Consumer Id: 174126, Address Id: 446085 => Updated with Vin: 1FMCU93195KB13740 ## Total mail_history records updated with vin numbers: 33 out of 41 ============================================================ ====== Tracking Id: 628 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-12 09:15:47') AND us2_order_type_id = 3 ## Order found: 810 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 810 AND product_id = 142 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3768 ## Mailing found: '12382' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785179, Consumer Id: 1116341, Address Id: 3239318 => Updated with Vin: 1G6KD54Y03U289830 ## Mail History Id: 28786126, Consumer Id: 1048116, Address Id: 14953868 => Updated with Vin: 1G6KE57Y62U112674 ## Mail History Id: 28785181, Consumer Id: 1108949, Address Id: 5991092 => Updated with Vin: 1G6KE54Y65U142234 ## Mail History Id: 28786127, Consumer Id: 1107063, Address Id: 5986963 => Updated with Vin: 1G6KD57Y36U156835 ## Mail History Id: 28786128, Consumer Id: 1116554, Address Id: 14952943 => Updated with Vin: 1GYEE637980123482 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 629 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-12 09:15:51') AND us2_order_type_id = 3 ## Order found: 810 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 810 AND product_id = 114 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3768 ## Mailing found: '12349' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 630 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-12 10:16:08') AND us2_order_type_id = 3 ## Order found: 811 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 811 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3416 ## Mailing found: '12380' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785255, Consumer Id: 625320, Address Id: 6870579 => Updated with Vin: 1G6DW677X70124182 ## Mail History Id: 28785256, Consumer Id: 625377, Address Id: 11764740 => Updated with Vin: 1G6KD52Y1TU306590 ## Mail History Id: 28785257, Consumer Id: 627206, Address Id: 1969732 => Updated with Vin: 1G6DX67D260210765 ## Mail History Id: 28785258, Consumer Id: 625911, Address Id: 11764735 => Updated with Vin: 1G6DP567X50136466 ## Mail History Id: 28786152, Consumer Id: 623664, Address Id: 11764679 => Updated with Vin: 1G6DT57V380191726 ## Mail History Id: 28785465, Consumer Id: 626049, Address Id: 11764717 => Updated with Vin: 1G6DF577X80182823 ## Mail History Id: 28785261, Consumer Id: 627167, Address Id: 11764745 => Updated with Vin: 1G6DW677070118052 ## Mail History Id: 28786153, Consumer Id: 623661, Address Id: 11764677 => Updated with Vin: 1G6DS57V980190258 ## Mail History Id: 28786154, Consumer Id: 623659, Address Id: 11764675 => Updated with Vin: 5GRGN22858H107457 ## Mail History Id: 28785264, Consumer Id: 627210, Address Id: 11764761 => Updated with Vin: 1G6KY5299SU819839 ## Mail History Id: 28786156, Consumer Id: 623668, Address Id: 3755052 => Updated with Vin: 1G6KD54Y1YU267133 ## Mail History Id: 28785266, Consumer Id: 627101, Address Id: 1969505 => Updated with Vin: 1G6KS54Y44U113435 ## Mail History Id: 28785267, Consumer Id: 627214, Address Id: 1967097 => Updated with Vin: 1G6KF57933U262944 ## Mail History Id: 28785268, Consumer Id: 627217, Address Id: 11764766 => Updated with Vin: 1G6KE57YXYU324874 ## Mail History Id: 28785973, Consumer Id: 623656, Address Id: 1965868 => Updated with Vin: 1G6DW677060128398 ## Mail History Id: 28786168, Consumer Id: 627068, Address Id: 11764689 => Updated with Vin: 1G6DP567750147294 ## Mail History Id: 28785271, Consumer Id: 627179, Address Id: 1969221 => Updated with Vin: 1G6KD54Y42U100403 ## Mail History Id: 28785272, Consumer Id: 627215, Address Id: 8329914 => Updated with Vin: 1G6DP567350134896 ## Mail History Id: 28786173, Consumer Id: 627089, Address Id: 11577389 => Updated with Vin: 1G6DW677760200696 ## Mail History Id: 28785658, Consumer Id: 627067, Address Id: 11764688 => Updated with Vin: 1G6DP577560165051 ## Mail History Id: 28785275, Consumer Id: 627216, Address Id: 11764765 => Updated with Vin: 1G6DW677360217303 ## Mail History Id: 28785276, Consumer Id: 627184, Address Id: 4757930 => Updated with Vin: 1G6DP577260173253 ## Mail History Id: 28785277, Consumer Id: 627151, Address Id: 10934307 => Updated with Vin: 1G6DW677360217298 ## Mail History Id: 28785278, Consumer Id: 627213, Address Id: 11764764 => Updated with Vin: 1G6DC67AX50125706 ## Total mail_history records updated with vin numbers: 24 out of 25 ============================================================ ====== Tracking Id: 631 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-12 11:13:23') AND us2_order_type_id = 3 ## Order found: 812 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 812 AND product_id = 112 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3486 ## Mailing found: '12348' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337307, Consumer Id: 477801, Address Id: 7991990 => Updated with Vin: 2GCEC19TX21361419 ## Mail History Id: 28337323, Consumer Id: 466440, Address Id: 9821182 => Updated with Vin: 1G1ZU54804F162523 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 632 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-12 11:15:35') AND us2_order_type_id = 3 ## Order found: 813 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 813 AND product_id = 144 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3705 ## Mailing found: '12865' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28396502, Consumer Id: 974469, Address Id: 11386897 => Updated with Vin: 5Y2SL63835Z412436 ## Mail History Id: 28396517, Consumer Id: 1265629, Address Id: 14836556 => Updated with Vin: 1GCHC23265F910176 ## Mail History Id: 28397360, Consumer Id: 963907, Address Id: 14836543 => Updated with Vin: 2CKDL63F966054255 ## Mail History Id: 28397059, Consumer Id: 963900, Address Id: 14836536 => Updated with Vin: 1GCHC23D26F196548 ## Mail History Id: 28396874, Consumer Id: 964506, Address Id: 14837043 => Updated with Vin: 2GTEK13Z561311839 ## Mail History Id: 28396401, Consumer Id: 965805, Address Id: 14838006 => Updated with Vin: 3GNDA23D17S509209 ## Mail History Id: 28397115, Consumer Id: 966754, Address Id: 14838721 => Updated with Vin: 2CNDL13F966184591 ## Mail History Id: 28396808, Consumer Id: 966758, Address Id: 14838725 => Updated with Vin: 2CNDL13F076003573 ## Mail History Id: 28397924, Consumer Id: 968930, Address Id: 11386506 => Updated with Vin: 2CKDL63F576088940 ## Mail History Id: 28396881, Consumer Id: 969717, Address Id: 14840912 => Updated with Vin: 1GKER337X8J117925 ## Mail History Id: 28398544, Consumer Id: 969712, Address Id: 14837607 => Updated with Vin: 2GTEC13J671725186 ## Mail History Id: 28398428, Consumer Id: 970693, Address Id: 14841644 => Updated with Vin: 1GKER237X8J151308 ## Mail History Id: 28397232, Consumer Id: 971474, Address Id: 14837277 => Updated with Vin: 1GTHK23638F161234 ## Mail History Id: 28396455, Consumer Id: 971858, Address Id: 14842448 => Updated with Vin: 1GKES63M662143781 ## Mail History Id: 28397783, Consumer Id: 972403, Address Id: 9175419 => Updated with Vin: 2GCEC19T661112377 ## Mail History Id: 28396240, Consumer Id: 972032, Address Id: 9158927 => Updated with Vin: 1FTRW12WX4KC42110 ## Mail History Id: 28397122, Consumer Id: 971976, Address Id: 9252685 => Updated with Vin: 1G4HE57Y17U158570 ## Mail History Id: 28396759, Consumer Id: 972082, Address Id: 14842600 => Updated with Vin: 1G8AJ55F37Z127515 ## Mail History Id: 28397167, Consumer Id: 972129, Address Id: 14842638 => Updated with Vin: 1G2ZH57N484100691 ## Mail History Id: 28396953, Consumer Id: 972131, Address Id: 14842640 => Updated with Vin: KL1TD66608B011619 ## Mail History Id: 28396449, Consumer Id: 972486, Address Id: 14837534 => Updated with Vin: 1GNEC13Z22R241917 ## Mail History Id: 28396439, Consumer Id: 972492, Address Id: 14842956 => Updated with Vin: 2CNDL23F876059962 ## Mail History Id: 28396277, Consumer Id: 969939, Address Id: 14841065 => Updated with Vin: 1GKER23718J135028 ## Mail History Id: 28396603, Consumer Id: 972535, Address Id: 14842983 => Updated with Vin: 2GCEC19T741218818 ## Mail History Id: 28398390, Consumer Id: 972543, Address Id: 14842989 => Updated with Vin: 1GNDS13S382128044 ## Mail History Id: 28396630, Consumer Id: 972647, Address Id: 14843057 => Updated with Vin: 1G1AK52F457536261 ## Mail History Id: 28398308, Consumer Id: 972653, Address Id: 14843062 => Updated with Vin: 2G4WE587081155010 ## Mail History Id: 28396470, Consumer Id: 972658, Address Id: 14843066 => Updated with Vin: 1GNEC13T11R193319 ## Mail History Id: 28396560, Consumer Id: 972668, Address Id: 14843072 => Updated with Vin: 1G1AL55F277217551 ## Mail History Id: 28396223, Consumer Id: 972858, Address Id: 14843198 => Updated with Vin: 1GNFC13068R113534 ## Mail History Id: 28397642, Consumer Id: 972881, Address Id: 14843214 => Updated with Vin: 2CKDL33F286000216 ## Mail History Id: 28398052, Consumer Id: 972627, Address Id: 14843044 => Updated with Vin: 1ZVFT80N975216032 ## Mail History Id: 28398238, Consumer Id: 972629, Address Id: 14843046 => Updated with Vin: 3GNDA23D38S546568 ## Mail History Id: 28398180, Consumer Id: 972814, Address Id: 14843172 => Updated with Vin: 1G2ZH57N984102324 ## Mail History Id: 28398476, Consumer Id: 972820, Address Id: 14843176 => Updated with Vin: 3GNCA23D78S675974 ## Mail History Id: 28398320, Consumer Id: 972821, Address Id: 14843177 => Updated with Vin: 1GCJC33152F146654 ## Mail History Id: 28396283, Consumer Id: 972822, Address Id: 14843178 => Updated with Vin: 5GAER23768J232514 ## Mail History Id: 28396303, Consumer Id: 972565, Address Id: 14843003 => Updated with Vin: 3GCEC13058G258195 ## Mail History Id: 28396327, Consumer Id: 972825, Address Id: 14843181 => Updated with Vin: 5GAER237X8J232287 ## Mail History Id: 28396779, Consumer Id: 972826, Address Id: 8120384 => Updated with Vin: 1A8HX58N77F585624 ## Mail History Id: 28396670, Consumer Id: 972827, Address Id: 10444164 => Updated with Vin: 1G1ZG57B18F234866 ## Mail History Id: 28396322, Consumer Id: 972829, Address Id: 14836871 => Updated with Vin: 1GNFC16038R246196 ## Mail History Id: 28397109, Consumer Id: 972830, Address Id: 14837150 => Updated with Vin: 1G1AL18F987269412 ## Mail History Id: 28396543, Consumer Id: 972832, Address Id: 14837804 => Updated with Vin: 1GNFC13028R101820 ## Mail History Id: 28396326, Consumer Id: 972833, Address Id: 3083061 => Updated with Vin: 6G2EC57Y98L127465 ## Mail History Id: 28397889, Consumer Id: 972566, Address Id: 14843004 => Updated with Vin: 1J4GL48K57W538665 ## Mail History Id: 28396846, Consumer Id: 972838, Address Id: 14843185 => Updated with Vin: 3GNCA23D08S676349 ## Mail History Id: 28396745, Consumer Id: 972839, Address Id: 14837109 => Updated with Vin: 3GNCA53P08S676007 ## Mail History Id: 28397087, Consumer Id: 972577, Address Id: 14843011 => Updated with Vin: 1GTEC19J67Z537492 ## Mail History Id: 28397801, Consumer Id: 972828, Address Id: 8058411 => Updated with Vin: 2GTEC638281157210 ## Mail History Id: 28398414, Consumer Id: 972612, Address Id: 14843037 => Updated with Vin: 1G2ZH36N584251805 ## Mail History Id: 28396745, Consumer Id: 964604, Address Id: 14837109 => Updated with Vin: 3GNDA23D36S599512 ## Mail History Id: 28396932, Consumer Id: 972926, Address Id: 14837316 => Updated with Vin: 3GNDA23D36S599512 ## Mail History Id: 28397820, Consumer Id: 972691, Address Id: 9924745 => Updated with Vin: 5Y2SR67039Z411778 ## Mail History Id: 28397093, Consumer Id: 972716, Address Id: 14843104 => Updated with Vin: 3GNCA53P78S676070 ## Mail History Id: 28397966, Consumer Id: 972913, Address Id: 14843237 => Updated with Vin: 1G2ZM177884253404 ## Mail History Id: 28397318, Consumer Id: 973922, Address Id: 14843337 => Updated with Vin: 3GNCA53P88S678863 ## Mail History Id: 28396840, Consumer Id: 974722, Address Id: 14843357 => Updated with Vin: 1G4HP54K4Y4228915 ## Mail History Id: 28396218, Consumer Id: 974821, Address Id: 9158897 => Updated with Vin: 1GCHK29U32E223993 ## Mail History Id: 28396789, Consumer Id: 975132, Address Id: 14838690 => Updated with Vin: 1G3AG54N5P6322773 ## Mail History Id: 28398166, Consumer Id: 960073, Address Id: 14831246 => Updated with Vin: 1G6KS54Y32U183893 ## Mail History Id: 28397786, Consumer Id: 960314, Address Id: 14831436 => Updated with Vin: 1G2HX54K2Y4272646 ## Mail History Id: 28396340, Consumer Id: 975531, Address Id: 14843885 => Updated with Vin: 1GTEC14W42Z249837 ## Mail History Id: 28396837, Consumer Id: 975598, Address Id: 14843927 => Updated with Vin: 1GNDS13S522403775 ## Mail History Id: 28396426, Consumer Id: 978673, Address Id: 14845662 => Updated with Vin: 1G6DW52P7SR704110 ## Mail History Id: 28397066, Consumer Id: 978802, Address Id: 9184497 => Updated with Vin: 1G1YY22G3Y5133070 ## Mail History Id: 28397088, Consumer Id: 979686, Address Id: 9184632 => Updated with Vin: 1G1YY26W185107570 ## Mail History Id: 28397398, Consumer Id: 982854, Address Id: 14844766 => Updated with Vin: JTDFR320550072396 ## Mail History Id: 28397027, Consumer Id: 960814, Address Id: 14831531 => Updated with Vin: 1GCEC19R1TE202745 ## Mail History Id: 28397022, Consumer Id: 961763, Address Id: 14834786 => Updated with Vin: 1G2ZF55B164126970 ## Total mail_history records updated with vin numbers: 70 out of 86 ============================================================ ====== Tracking Id: 633 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-12 11:43:24') AND us2_order_type_id = 3 ## Order found: 814 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 814 AND product_id = 142 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3357 ## Mailing found: '12379' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785345, Consumer Id: 611893, Address Id: 11755870 => Updated with Vin: 2FMZA50441BA80564 ## Mail History Id: 28785346, Consumer Id: 611896, Address Id: 404677 => Updated with Vin: 1FMCU03145KA63180 ## Mail History Id: 28785347, Consumer Id: 194148, Address Id: 403283 => Updated with Vin: 1FTRW07L93KA56856 ## Mail History Id: 28785348, Consumer Id: 187893, Address Id: 397803 => Updated with Vin: 1FAHP34Z13W271195 ## Mail History Id: 28785349, Consumer Id: 611894, Address Id: 11755871 => Updated with Vin: 1FTNW21L72EC99372 ## Mail History Id: 28785350, Consumer Id: 194271, Address Id: 403422 => Updated with Vin: 3FTNX20F2YMA47539 ## Mail History Id: 28785351, Consumer Id: 189661, Address Id: 399534 => Updated with Vin: JM1BK323X41142836 ## Mail History Id: 28785352, Consumer Id: 187422, Address Id: 398158 => Updated with Vin: 1FTSS34P24HB22085 ## Mail History Id: 28785353, Consumer Id: 190267, Address Id: 394417 => Updated with Vin: 1FAHP60A44Y102327 ## Mail History Id: 28785354, Consumer Id: 611895, Address Id: 11755872 => Updated with Vin: 1ZVFT80N855223910 ## Mail History Id: 28785355, Consumer Id: 199151, Address Id: 406922 => Updated with Vin: JM1NC25F160117567 ## Mail History Id: 28785356, Consumer Id: 197585, Address Id: 406045 => Updated with Vin: 1FMCU03136KA19527 ## Mail History Id: 28785360, Consumer Id: 187546, Address Id: 398405 => Updated with Vin: 1FAHP60A12Y116165 ## Mail History Id: 28785361, Consumer Id: 199578, Address Id: 405859 => Updated with Vin: 1FAHP60A33Y103550 ## Mail History Id: 28785362, Consumer Id: 195456, Address Id: 404418 => Updated with Vin: JM1BG2269P0589870 ## Total mail_history records updated with vin numbers: 15 out of 20 ============================================================ ====== Tracking Id: 634 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-12 11:43:29') AND us2_order_type_id = 3 ## Order found: 814 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 814 AND product_id = 112 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3357 ## Mailing found: '12345' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337543, Consumer Id: 194265, Address Id: 403903 => Updated with Vin: 1FAFP44481F140831 ## Mail History Id: 28337561, Consumer Id: 189892, Address Id: 402286 => Updated with Vin: 1YVHP80C335M20778 ## Mail History Id: 28337559, Consumer Id: 189307, Address Id: 395482 => Updated with Vin: 1FTRX18L2YNA18182 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 635 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-12 12:15:46') AND us2_order_type_id = 3 ## Order found: 815 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 815 AND product_id = 112 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3427 ## Mailing found: '12346' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337275, Consumer Id: 496576, Address Id: 9831090 => Updated with Vin: 1HGCM56113A144817 ## Mail History Id: 28337546, Consumer Id: 507720, Address Id: 8540131 => Updated with Vin: 1HGCM56885A132633 ## Mail History Id: 28337490, Consumer Id: 497801, Address Id: 9831972 => Updated with Vin: 1HGCD5632VA253954 ## Mail History Id: 28337416, Consumer Id: 510934, Address Id: 328579 => Updated with Vin: JHMFA16836S002024 ## Mail History Id: 28337442, Consumer Id: 504336, Address Id: 329136 => Updated with Vin: 2HGES16645H548847 ## Mail History Id: 28337470, Consumer Id: 500870, Address Id: 330179 => Updated with Vin: 1HGES26754L020556 ## Mail History Id: 28337364, Consumer Id: 496464, Address Id: 326376 => Updated with Vin: 1HGCM56814A004734 ## Mail History Id: 28337550, Consumer Id: 502961, Address Id: 9838666 => Updated with Vin: 2HKYF18553H503683 ## Mail History Id: 28337250, Consumer Id: 494914, Address Id: 7552170 => Updated with Vin: 1HGES26752L082505 ## Mail History Id: 28337207, Consumer Id: 496376, Address Id: 9830939 => Updated with Vin: 2HKRL1850YH580921 ## Mail History Id: 28337356, Consumer Id: 491347, Address Id: 9827216 => Updated with Vin: 1HGCG2246WA009925 ## Mail History Id: 28337522, Consumer Id: 493184, Address Id: 9828607 => Updated with Vin: 1HGEJ8648XL026478 ## Mail History Id: 28337267, Consumer Id: 503422, Address Id: 9838996 => Updated with Vin: 5FNYF18505B005392 ## Mail History Id: 28337226, Consumer Id: 509152, Address Id: 9842793 => Updated with Vin: 1HGEM22522L006531 ## Mail History Id: 28337500, Consumer Id: 474387, Address Id: 8195372 => Updated with Vin: 1HGCG56661A013429 ## Mail History Id: 28337344, Consumer Id: 474630, Address Id: 8195114 => Updated with Vin: JHLRE48547C046748 ## Total mail_history records updated with vin numbers: 16 out of 18 ============================================================ ====== Tracking Id: 636 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-12 12:15:58') AND us2_order_type_id = 3 ## Order found: 815 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 815 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3427 ## Mailing found: '12346' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337560, Consumer Id: 501696, Address Id: 9836667 => Updated with Vin: 1HGCM56364A138935 ## Mail History Id: 28337418, Consumer Id: 501619, Address Id: 328595 => Updated with Vin: 1HGCM66834A089209 ## Mail History Id: 28337366, Consumer Id: 497283, Address Id: 326388 => Updated with Vin: 1HGCM82604A002544 ## Mail History Id: 28337285, Consumer Id: 494635, Address Id: 9829667 => Updated with Vin: 5FNRL18623B037425 ## Mail History Id: 28337330, Consumer Id: 492040, Address Id: 9827752 => Updated with Vin: 1HGCD5663VA278193 ## Mail History Id: 28337390, Consumer Id: 516804, Address Id: 327381 => Updated with Vin: 1YVHP80C065M70588 ## Mail History Id: 28337239, Consumer Id: 513632, Address Id: 9845524 => Updated with Vin: 1HGCM66536A015006 ## Mail History Id: 28337448, Consumer Id: 472908, Address Id: 329320 => Updated with Vin: 1HGFA16516L120298 ## Mail History Id: 28337241, Consumer Id: 474775, Address Id: 8195727 => Updated with Vin: JHLRE48707C050376 ## Mail History Id: 28337209, Consumer Id: 475502, Address Id: 8195644 => Updated with Vin: JHLRE48597C065246 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 637 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-12 12:16:01') AND us2_order_type_id = 3 ## Order found: 816 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 816 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3471 ## Mailing found: '12381' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785605, Consumer Id: 801628, Address Id: 7415578 => Updated with Vin: 1G6KS54YX2U234791 ## Mail History Id: 28785364, Consumer Id: 806925, Address Id: 11876866 => Updated with Vin: 1G6DX67D680103690 ## Mail History Id: 28785365, Consumer Id: 799692, Address Id: 7416430 => Updated with Vin: W06VR54R41R002303 ## Mail History Id: 28785366, Consumer Id: 803562, Address Id: 7878020 => Updated with Vin: 1G6KE57Y1YU318638 ## Mail History Id: 28785367, Consumer Id: 817912, Address Id: 7416793 => Updated with Vin: 1G6KE57Y83U120129 ## Mail History Id: 28785664, Consumer Id: 760358, Address Id: 10210678 => Updated with Vin: 1G6KD57Y57U161553 ## Mail History Id: 28785369, Consumer Id: 807469, Address Id: 11871472 => Updated with Vin: 1G6KD54YX4U102305 ## Mail History Id: 28785370, Consumer Id: 801631, Address Id: 10215732 => Updated with Vin: 1GHDX03E6XD261795 ## Mail History Id: 28785371, Consumer Id: 800923, Address Id: 10215154 => Updated with Vin: 1G6KS54Y21U292439 ## Mail History Id: 28785372, Consumer Id: 820826, Address Id: 10220770 => Updated with Vin: 1G6DC67A350220351 ## Mail History Id: 28785373, Consumer Id: 817141, Address Id: 10217544 => Updated with Vin: 1GYEE637X50233520 ## Mail History Id: 28785374, Consumer Id: 816762, Address Id: 10215204 => Updated with Vin: 1G6KD54Y72U268407 ## Mail History Id: 28785375, Consumer Id: 799718, Address Id: 7416246 => Updated with Vin: 1G6KE57Y42U144023 ## Mail History Id: 28785376, Consumer Id: 760527, Address Id: 11851070 => Updated with Vin: 3GYEK62N45G179863 ## Mail History Id: 28785377, Consumer Id: 818046, Address Id: 10217237 => Updated with Vin: 1G3NL52F44C235212 ## Mail History Id: 28785378, Consumer Id: 821005, Address Id: 10561042 => Updated with Vin: 1G6DP577060210607 ## Mail History Id: 28785379, Consumer Id: 822406, Address Id: 7415825 => Updated with Vin: 1J4GW48S34C214375 ## Mail History Id: 28785380, Consumer Id: 817155, Address Id: 10219924 => Updated with Vin: 1G6KD54Y22U288130 ## Mail History Id: 28785381, Consumer Id: 802631, Address Id: 10216355 => Updated with Vin: 1G6KD54Y61U231749 ## Mail History Id: 28785382, Consumer Id: 807080, Address Id: 10217486 => Updated with Vin: 1G6KD57Y58U100379 ## Mail History Id: 28785383, Consumer Id: 822757, Address Id: 7416581 => Updated with Vin: 1GYFK63827R309459 ## Mail History Id: 28785384, Consumer Id: 820588, Address Id: 7415691 => Updated with Vin: 1G6KD57Y16U179546 ## Mail History Id: 28785385, Consumer Id: 799594, Address Id: 7416806 => Updated with Vin: 1G6ET1296YB700218 ## Mail History Id: 28785386, Consumer Id: 799361, Address Id: 10218914 => Updated with Vin: 1G6KF5795YU175070 ## Mail History Id: 28785387, Consumer Id: 799454, Address Id: 7878188 => Updated with Vin: 1G6ET1290VU616671 ## Mail History Id: 28785388, Consumer Id: 799472, Address Id: 11870394 => Updated with Vin: 1GYEK63N82R143703 ## Mail History Id: 28785389, Consumer Id: 773112, Address Id: 10216110 => Updated with Vin: 1GYFK66848R112239 ## Mail History Id: 28785390, Consumer Id: 803778, Address Id: 7877913 => Updated with Vin: 1G6KD57Y64U153943 ## Mail History Id: 28785391, Consumer Id: 821106, Address Id: 7416848 => Updated with Vin: 1GYEE63AX60207187 ## Mail History Id: 28786111, Consumer Id: 817034, Address Id: 7415574 => Updated with Vin: 1G6DM577140153307 ## Mail History Id: 28785393, Consumer Id: 816761, Address Id: 10215552 => Updated with Vin: 1G6KS54Y52U111609 ## Mail History Id: 28785627, Consumer Id: 821271, Address Id: 11877645 => Updated with Vin: 1G6YV36A365603562 ## Mail History Id: 28785681, Consumer Id: 802992, Address Id: 10209963 => Updated with Vin: 1G6ET1291SU615444 ## Mail History Id: 28785396, Consumer Id: 801907, Address Id: 7878791 => Updated with Vin: 1GYEK63NX2R290590 ## Mail History Id: 28785397, Consumer Id: 803738, Address Id: 10219327 => Updated with Vin: 1G6KD54Y94U150555 ## Mail History Id: 28785398, Consumer Id: 822115, Address Id: 11876624 => Updated with Vin: 1GYEE637770144720 ## Mail History Id: 28785399, Consumer Id: 799865, Address Id: 11870566 => Updated with Vin: 1G6EL12Y5XU608463 ## Mail History Id: 28785400, Consumer Id: 823354, Address Id: 11876206 => Updated with Vin: 1G6DM57N430125708 ## Mail History Id: 28785689, Consumer Id: 760382, Address Id: 11851013 => Updated with Vin: 1GYFK63827R322227 ## Mail History Id: 28785402, Consumer Id: 806995, Address Id: 11876889 => Updated with Vin: 1GYFK63887R180966 ## Mail History Id: 28785694, Consumer Id: 760311, Address Id: 11850986 => Updated with Vin: 1GYFK63867R169366 ## Mail History Id: 28786121, Consumer Id: 807107, Address Id: 11876287 => Updated with Vin: 1GYEE637160210340 ## Mail History Id: 28785405, Consumer Id: 797873, Address Id: 10214898 => Updated with Vin: 1G6KD52B7RU248960 ## Total mail_history records updated with vin numbers: 43 out of 48 ============================================================ ====== Tracking Id: 638 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-12 12:16:10') AND us2_order_type_id = 3 ## Order found: 815 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 815 AND product_id = 114 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3427 ## Mailing found: '12346' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337220, Consumer Id: 495948, Address Id: 9830643 => Updated with Vin: 1HGCG22561A003429 ## Mail History Id: 28337484, Consumer Id: 492047, Address Id: 9827757 => Updated with Vin: 1HGCD5534VA045057 ## Mail History Id: 28337473, Consumer Id: 497164, Address Id: 4477753 => Updated with Vin: JHMES96614S001974 ## Mail History Id: 28337404, Consumer Id: 513095, Address Id: 328087 => Updated with Vin: 1HGCM56766A001693 ## Mail History Id: 28337446, Consumer Id: 505958, Address Id: 9840745 => Updated with Vin: 1HGCM56735A073837 ## Mail History Id: 28337462, Consumer Id: 493826, Address Id: 9829068 => Updated with Vin: JHLRD1847YC028853 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 639 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-12 12:16:17') AND us2_order_type_id = 3 ## Order found: 816 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 816 AND product_id = 112 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3471 ## Mailing found: '12347' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337523, Consumer Id: 807312, Address Id: 10216511 => Updated with Vin: 1G6KD54Y11U112961 ## Mail History Id: 28337507, Consumer Id: 802708, Address Id: 10214848 => Updated with Vin: 1G6KD54Y13U102109 ## Mail History Id: 28337537, Consumer Id: 797998, Address Id: 11869663 => Updated with Vin: 1G6KY5496XU900401 ## Mail History Id: 28337525, Consumer Id: 800766, Address Id: 10217563 => Updated with Vin: 1GHDT13WXY2223042 ## Mail History Id: 28337479, Consumer Id: 822499, Address Id: 7878175 => Updated with Vin: 1G2NE52TXVC848313 ## Mail History Id: 28337527, Consumer Id: 803388, Address Id: 10217618 => Updated with Vin: 1GYEK63N73R207201 ## Mail History Id: 28337495, Consumer Id: 800588, Address Id: 7415764 => Updated with Vin: W06VR54R6YR091138 ## Mail History Id: 28337483, Consumer Id: 807141, Address Id: 7878406 => Updated with Vin: 1GYDE637040153721 ## Mail History Id: 28337487, Consumer Id: 821725, Address Id: 7878473 => Updated with Vin: 3GYEK62N55G123530 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 640 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-13 08:43:32') AND us2_order_type_id = 3 ## Order found: 826 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 826 AND product_id = 113 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3230 ## Mailing found: '12357' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395761, Consumer Id: 65656, Address Id: 50872 => Updated with Vin: 1FTWW31P75EB97815 ## Mail History Id: 28395763, Consumer Id: 103769, Address Id: 53599 => Updated with Vin: 1FAFP25136G115345 ## Mail History Id: 28395765, Consumer Id: 103773, Address Id: 53233 => Updated with Vin: 1GKDT13S522451304 ## Mail History Id: 28395767, Consumer Id: 93287, Address Id: 51754 => Updated with Vin: 1FTPX14V57FB79181 ## Mail History Id: 28395769, Consumer Id: 93155, Address Id: 48247 => Updated with Vin: 1FTPX14V77FB18057 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 641 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-13 08:43:44') AND us2_order_type_id = 3 ## Order found: 826 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 826 AND product_id = 143 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3230 ## Mailing found: '12861' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28397549, Consumer Id: 92517, Address Id: 50845 => Updated with Vin: 1FAFP34N77W114619 ## Mail History Id: 28397717, Consumer Id: 41922, Address Id: 52605 => Updated with Vin: 2FMDK39C98BA47219 ## Mail History Id: 28397635, Consumer Id: 232949, Address Id: 53363 => Updated with Vin: 1FMZU75W55ZA22236 ## Mail History Id: 28397607, Consumer Id: 232937, Address Id: 445900 => Updated with Vin: 2FALP74W2PX199117 ## Mail History Id: 28397611, Consumer Id: 93524, Address Id: 52025 => Updated with Vin: 1FTSW21P95EA12494 ## Mail History Id: 28397713, Consumer Id: 67755, Address Id: 48174 => Updated with Vin: 1FAHP241X7G124040 ## Mail History Id: 28397553, Consumer Id: 174132, Address Id: 52992 => Updated with Vin: 1FTRW14567FB17123 ## Mail History Id: 28397679, Consumer Id: 174130, Address Id: 49327 => Updated with Vin: 1FMYU93185KD12929 ## Mail History Id: 28397671, Consumer Id: 63725, Address Id: 52544 => Updated with Vin: 1FAFP4042YF177552 ## Mail History Id: 28397711, Consumer Id: 64402, Address Id: 51119 => Updated with Vin: 1FTRW08L43KD60594 ## Mail History Id: 28397603, Consumer Id: 66702, Address Id: 51387 => Updated with Vin: 1FAFP28115G120828 ## Mail History Id: 28397601, Consumer Id: 93266, Address Id: 51758 => Updated with Vin: 3FTNX21F31MA02453 ## Mail History Id: 28397665, Consumer Id: 232913, Address Id: 50512 => Updated with Vin: 1FMYU02174KA15713 ## Mail History Id: 28397649, Consumer Id: 92730, Address Id: 51143 => Updated with Vin: 1FTWW33P57EB38309 ## Mail History Id: 28397655, Consumer Id: 92631, Address Id: 51025 => Updated with Vin: 1FTWW31P27EA09611 ## Mail History Id: 28397645, Consumer Id: 66904, Address Id: 48127 => Updated with Vin: 1FTZR45E72TA70153 ## Mail History Id: 28397599, Consumer Id: 63902, Address Id: 47888 => Updated with Vin: 1FTNX21F71EA40404 ## Mail History Id: 28397613, Consumer Id: 92728, Address Id: 51140 => Updated with Vin: 1FTSX21P76EB94579 ## Mail History Id: 28397469, Consumer Id: 232947, Address Id: 52045 => Updated with Vin: 3FAHP07Z48R147880 ## Mail History Id: 28397631, Consumer Id: 66903, Address Id: 50423 => Updated with Vin: 2FMZA50463BB78949 ## Mail History Id: 28397633, Consumer Id: 91868, Address Id: 50873 => Updated with Vin: 1FMCU49H27KA15546 ## Mail History Id: 28397731, Consumer Id: 66209, Address Id: 48334 => Updated with Vin: 1FTNX21F83EA70241 ## Mail History Id: 28397625, Consumer Id: 92857, Address Id: 51275 => Updated with Vin: 2FMDK49C17BA54721 ## Mail History Id: 28397571, Consumer Id: 67319, Address Id: 47504 => Updated with Vin: 1FAFP55UXYG105037 ## Mail History Id: 28397527, Consumer Id: 62995, Address Id: 47782 => Updated with Vin: 1FAFP34303W292882 ## Mail History Id: 28397531, Consumer Id: 67133, Address Id: 51194 => Updated with Vin: 1FAFP34P91W105509 ## Mail History Id: 28397563, Consumer Id: 65008, Address Id: 47887 => Updated with Vin: 1FTPX14575NB70906 ## Mail History Id: 28397547, Consumer Id: 38573, Address Id: 48920 => Updated with Vin: 1FTRF14W37KD31857 ## Mail History Id: 28397585, Consumer Id: 63066, Address Id: 48865 => Updated with Vin: 1FTNW20P73EC51828 ## Mail History Id: 28397537, Consumer Id: 103246, Address Id: 48056 => Updated with Vin: 1FAFP5521YG230121 ## Mail History Id: 28397565, Consumer Id: 92897, Address Id: 51326 => Updated with Vin: 1FMEU75E66UA89299 ## Mail History Id: 28397493, Consumer Id: 103457, Address Id: 50322 => Updated with Vin: 2FTRX18L32CA82552 ## Mail History Id: 28397463, Consumer Id: 102230, Address Id: 49508 => Updated with Vin: 1FTSX31FXXED88487 ## Mail History Id: 28397637, Consumer Id: 92844, Address Id: 51263 => Updated with Vin: 1FMPU16LX3LA95630 ## Mail History Id: 28397473, Consumer Id: 38336, Address Id: 48878 => Updated with Vin: 2FMZA53433BA14327 ## Mail History Id: 28397461, Consumer Id: 101647, Address Id: 49919 => Updated with Vin: 1FMYU70EX1UA11234 ## Mail History Id: 28397507, Consumer Id: 66716, Address Id: 51917 => Updated with Vin: 1FTPW14584KC87882 ## Mail History Id: 28397505, Consumer Id: 92987, Address Id: 51409 => Updated with Vin: 1FTPX14V37FB09243 ## Mail History Id: 28397477, Consumer Id: 66502, Address Id: 50238 => Updated with Vin: 1FMEU72E96UA31756 ## Mail History Id: 28397495, Consumer Id: 64101, Address Id: 47428 => Updated with Vin: 1FAFP53U9XG263967 ## Mail History Id: 28397503, Consumer Id: 92869, Address Id: 51288 => Updated with Vin: 1FMEU73E97UA97675 ## Mail History Id: 28397487, Consumer Id: 63275, Address Id: 50456 => Updated with Vin: 3FAFP31322R130757 ## Mail History Id: 28397719, Consumer Id: 67220, Address Id: 47417 => Updated with Vin: 1FTWW31P26ED16226 ## Mail History Id: 28397627, Consumer Id: 174126, Address Id: 446085 => Updated with Vin: 1FMCU93195KB13740 ## Mail History Id: 28397453, Consumer Id: 103793, Address Id: 53846 => Updated with Vin: 2C3JA43R35H659992 ## Total mail_history records updated with vin numbers: 45 out of 46 ============================================================ ====== Tracking Id: 642 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-13 09:16:19') AND us2_order_type_id = 3 ## Order found: 827 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 827 AND product_id = 142 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3768 ## Mailing found: '12382' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785844, Consumer Id: 1108755, Address Id: 5984795 => Updated with Vin: 1G6KD57936U211857 ## Mail History Id: 28785506, Consumer Id: 1112292, Address Id: 5984518 => Updated with Vin: 3GNFK16Z92G296013 ## Mail History Id: 28786126, Consumer Id: 1048116, Address Id: 14953868 => Updated with Vin: 1G6KE57Y62U112674 ## Mail History Id: 28785508, Consumer Id: 1109699, Address Id: 8333247 => Updated with Vin: 1GYEE637640160287 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 643 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-13 10:15:33') AND us2_order_type_id = 3 ## Order found: 828 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 828 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3416 ## Mailing found: '12380' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 644 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-13 11:15:50') AND us2_order_type_id = 3 ## Order found: 829 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 829 AND product_id = 144 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3705 ## Mailing found: '12865' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28396881, Consumer Id: 969717, Address Id: 14840912 => Updated with Vin: 1GKER337X8J117925 ## Mail History Id: 28396759, Consumer Id: 972082, Address Id: 14842600 => Updated with Vin: 1G8AJ55F37Z127515 ## Mail History Id: 28396277, Consumer Id: 969939, Address Id: 14841065 => Updated with Vin: 1GKER23718J135028 ## Mail History Id: 28396603, Consumer Id: 972535, Address Id: 14842983 => Updated with Vin: 2GCEC19T741218818 ## Mail History Id: 28398390, Consumer Id: 972549, Address Id: 14842989 => Updated with Vin: 1GTEC19J18Z113655 ## Mail History Id: 28396630, Consumer Id: 972647, Address Id: 14843057 => Updated with Vin: 1G1AK52F457536261 ## Mail History Id: 28396560, Consumer Id: 972668, Address Id: 14843072 => Updated with Vin: 1G1AL55F277217551 ## Mail History Id: 28396223, Consumer Id: 972858, Address Id: 14843198 => Updated with Vin: 1GNFC13068R113534 ## Mail History Id: 28397642, Consumer Id: 972881, Address Id: 14843214 => Updated with Vin: 2CKDL33F286000216 ## Mail History Id: 28396543, Consumer Id: 972832, Address Id: 14837804 => Updated with Vin: 1GNFC13028R101820 ## Mail History Id: 28396426, Consumer Id: 978673, Address Id: 14845662 => Updated with Vin: 1G6DW52P7SR704110 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 645 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-13 11:16:12') AND us2_order_type_id = 3 ## Order found: 829 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 829 AND product_id = 106 ## Job Group Found: '405' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('405') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808005' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808005') AND customer_id = 3705 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 44 ============================================================ ====== Tracking Id: 646 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-13 11:16:24') AND us2_order_type_id = 3 ## Order found: 829 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 829 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 647 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-13 11:43:24') AND us2_order_type_id = 3 ## Order found: 830 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 830 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3357 ## Mailing found: '12345' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 648 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-13 12:15:36') AND us2_order_type_id = 3 ## Order found: 831 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 831 AND product_id = 114 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3427 ## Mailing found: '12346' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337271, Consumer Id: 499095, Address Id: 9832901 => Updated with Vin: 2HGES25774H535525 ## Mail History Id: 28337273, Consumer Id: 503659, Address Id: 9839061 => Updated with Vin: 1HGES16335L001903 ## Mail History Id: 28337532, Consumer Id: 508485, Address Id: 7554762 => Updated with Vin: 5FNRL38435B103249 ## Mail History Id: 28337456, Consumer Id: 491762, Address Id: 329680 => Updated with Vin: SHSRD78853U140431 ## Mail History Id: 28337380, Consumer Id: 509058, Address Id: 327244 => Updated with Vin: 5FNRL38465B113998 ## Mail History Id: 28337228, Consumer Id: 497021, Address Id: 9831420 => Updated with Vin: SHSRD78494U203366 ## Mail History Id: 28337231, Consumer Id: 512157, Address Id: 9829231 => Updated with Vin: SHSRD78576U404226 ## Mail History Id: 28337562, Consumer Id: 501311, Address Id: 9836222 => Updated with Vin: 1HGCM56854A123550 ## Mail History Id: 28337232, Consumer Id: 494398, Address Id: 9829491 => Updated with Vin: 1HGCM56663A003155 ## Mail History Id: 28337430, Consumer Id: 494922, Address Id: 328816 => Updated with Vin: SHSRD78843U112054 ## Mail History Id: 28337316, Consumer Id: 501907, Address Id: 9830209 => Updated with Vin: 2HGEJ6674WH616123 ## Mail History Id: 28337440, Consumer Id: 492311, Address Id: 329119 => Updated with Vin: 1HGEM22541L050688 ## Total mail_history records updated with vin numbers: 12 out of 13 ============================================================ ====== Tracking Id: 649 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-13 12:15:48') AND us2_order_type_id = 3 ## Order found: 831 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 831 AND product_id = 113 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3427 ## Mailing found: '12346' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337544, Consumer Id: 499094, Address Id: 9832900 => Updated with Vin: 1HGCM56474A052381 ## Mail History Id: 28337246, Consumer Id: 502669, Address Id: 9837492 => Updated with Vin: 5FNYF18694B003521 ## Mail History Id: 28337352, Consumer Id: 496456, Address Id: 325949 => Updated with Vin: 1HGCM668X4A003796 ## Mail History Id: 28337203, Consumer Id: 511958, Address Id: 9833111 => Updated with Vin: 5FNRL38676B034794 ## Mail History Id: 28337245, Consumer Id: 504093, Address Id: 9839721 => Updated with Vin: JHMES96685S007806 ## Mail History Id: 28337368, Consumer Id: 510460, Address Id: 9843624 => Updated with Vin: 1HGCM56405A184917 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 650 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-13 12:15:49') AND us2_order_type_id = 3 ## Order found: 832 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 832 AND product_id = 143 ## Job Group Found: '413' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('413') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408001') AND customer_id = 3471 ## Mailing found: '12381' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28785660, Consumer Id: 760430, Address Id: 10214624 => Updated with Vin: 1G6KD57Y16U150077 ## Mail History Id: 28785661, Consumer Id: 816749, Address Id: 11876662 => Updated with Vin: 1G6KS54YX2U120046 ## Mail History Id: 28785662, Consumer Id: 802705, Address Id: 10213863 => Updated with Vin: 1G6EL1158KU610949 ## Mail History Id: 28785663, Consumer Id: 799386, Address Id: 10214977 => Updated with Vin: 1G6KD54Y3YU321225 ## Mail History Id: 28785664, Consumer Id: 760358, Address Id: 10210678 => Updated with Vin: 1G6KD57Y57U161553 ## Mail History Id: 28785665, Consumer Id: 807448, Address Id: 10216005 => Updated with Vin: 1G6KD57Y85U138474 ## Mail History Id: 28785666, Consumer Id: 798355, Address Id: 11869832 => Updated with Vin: 1G6DM57N030137435 ## Mail History Id: 28785667, Consumer Id: 800677, Address Id: 7878272 => Updated with Vin: 1G6KS54Y72U284483 ## Mail History Id: 28786100, Consumer Id: 821675, Address Id: 10216848 => Updated with Vin: 1G3NL52E52C166521 ## Mail History Id: 28785669, Consumer Id: 760244, Address Id: 10214455 => Updated with Vin: 1G3HY53L5N1823555 ## Mail History Id: 28785670, Consumer Id: 800863, Address Id: 10211516 => Updated with Vin: 1G3AJ55M1T6366769 ## Mail History Id: 28785671, Consumer Id: 801629, Address Id: 10218017 => Updated with Vin: 1G6KY5491YU186260 ## Mail History Id: 28785672, Consumer Id: 798456, Address Id: 10216240 => Updated with Vin: 1G6KS52Y7SU801512 ## Mail History Id: 28785673, Consumer Id: 799604, Address Id: 10214564 => Updated with Vin: 1G3WS52H1XF361345 ## Mail History Id: 28785674, Consumer Id: 808129, Address Id: 7878501 => Updated with Vin: 1GYEE637X50149777 ## Mail History Id: 28785675, Consumer Id: 799601, Address Id: 11870457 => Updated with Vin: 1GHDX13E93D135169 ## Mail History Id: 28785676, Consumer Id: 799312, Address Id: 10215770 => Updated with Vin: 3GYEK63N13G133838 ## Mail History Id: 28785677, Consumer Id: 822069, Address Id: 7415600 => Updated with Vin: 1GYFK66847R313833 ## Mail History Id: 28785678, Consumer Id: 806859, Address Id: 10214141 => Updated with Vin: 1G3WS52K4WF360412 ## Mail History Id: 28785679, Consumer Id: 807953, Address Id: 10217144 => Updated with Vin: 1G3NL52F73C207323 ## Mail History Id: 28785680, Consumer Id: 806927, Address Id: 11876559 => Updated with Vin: 1G6KD57Y08U163390 ## Mail History Id: 28785681, Consumer Id: 802992, Address Id: 10209963 => Updated with Vin: 1G6ET1291SU615444 ## Mail History Id: 28785682, Consumer Id: 820597, Address Id: 11876796 => Updated with Vin: 3GYFK66N06G159285 ## Mail History Id: 28785683, Consumer Id: 820505, Address Id: 10218599 => Updated with Vin: 1G6DW677350221267 ## Mail History Id: 28785684, Consumer Id: 807062, Address Id: 7878395 => Updated with Vin: 1GYFK63818R158924 ## Mail History Id: 28785685, Consumer Id: 821902, Address Id: 10217940 => Updated with Vin: 3GYEK63N33G144002 ## Mail History Id: 28785686, Consumer Id: 821236, Address Id: 10562956 => Updated with Vin: 1GYFK66887R190859 ## Mail History Id: 28785687, Consumer Id: 821723, Address Id: 11876565 => Updated with Vin: 3GYFK66NX6G231061 ## Mail History Id: 28785688, Consumer Id: 760393, Address Id: 11851019 => Updated with Vin: 1G6KS52Y9SU808753 ## Mail History Id: 28785689, Consumer Id: 760382, Address Id: 11851013 => Updated with Vin: 1GYFK63827R322227 ## Mail History Id: 28785690, Consumer Id: 803588, Address Id: 11872487 => Updated with Vin: 1G6KD54Y4WU757255 ## Mail History Id: 28785691, Consumer Id: 806920, Address Id: 11876522 => Updated with Vin: 1G6DT57V680159403 ## Mail History Id: 28786119, Consumer Id: 807006, Address Id: 11876891 => Updated with Vin: 1FTPW14554KC82042 ## Mail History Id: 28786120, Consumer Id: 760374, Address Id: 11851011 => Updated with Vin: 1G6KD57Y87U131849 ## Mail History Id: 28785694, Consumer Id: 760311, Address Id: 11850986 => Updated with Vin: 1GYFK63867R169366 ## Mail History Id: 28786121, Consumer Id: 807107, Address Id: 11876287 => Updated with Vin: 1GYEE637160210340 ## Mail History Id: 28785696, Consumer Id: 822686, Address Id: 7879015 => Updated with Vin: 4A4MN21SX7E041398 ## Total mail_history records updated with vin numbers: 37 out of 39 ============================================================ ====== Tracking Id: 651 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-13 12:16:10') AND us2_order_type_id = 3 ## Order found: 832 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 832 AND product_id = 112 ## Job Group Found: '373' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('373') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071408003') AND customer_id = 3471 ## Mailing found: '12347' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28337493, Consumer Id: 822814, Address Id: 10213527 => Updated with Vin: 1G6KD54Y9XU772254 ## Mail History Id: 28337475, Consumer Id: 804739, Address Id: 10210184 => Updated with Vin: 1G6KD54YXVU265456 ## Mail History Id: 28337519, Consumer Id: 797904, Address Id: 10216039 => Updated with Vin: 1GHDV13E42D174014 ## Mail History Id: 28337499, Consumer Id: 798053, Address Id: 6528400 => Updated with Vin: 1G3GR64H424128180 ## Mail History Id: 28337485, Consumer Id: 805617, Address Id: 7878413 => Updated with Vin: 1GHDX03E81D286883 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 652 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-14 08:43:30') AND us2_order_type_id = 3 ## Order found: 842 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 842 AND product_id = 113 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3230 ## Mailing found: '12357' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395821, Consumer Id: 103768, Address Id: 53832 => Updated with Vin: 1P3ES46C0YD501211 ## Mail History Id: 28395823, Consumer Id: 66404, Address Id: 49295 => Updated with Vin: 1FTSW21P45EC31623 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 653 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-14 08:43:41') AND us2_order_type_id = 3 ## Order found: 842 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 842 AND product_id = 143 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3230 ## Mailing found: '12861' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28397617, Consumer Id: 67466, Address Id: 48171 => Updated with Vin: 1FTSX21PX6EB79753 ## Mail History Id: 28397661, Consumer Id: 92485, Address Id: 47523 => Updated with Vin: 1FMZK01166GA34383 ## Mail History Id: 28397483, Consumer Id: 92949, Address Id: 51379 => Updated with Vin: 3FAHP08147R139303 ## Mail History Id: 28397669, Consumer Id: 93440, Address Id: 51948 => Updated with Vin: 1FAHP33N88W137113 ## Mail History Id: 28397707, Consumer Id: 66210, Address Id: 53021 => Updated with Vin: 1FDRE14W43HB38347 ## Mail History Id: 28397677, Consumer Id: 92668, Address Id: 49934 => Updated with Vin: 1FTSW21PX7EA99096 ## Mail History Id: 28397653, Consumer Id: 274376, Address Id: 50029 => Updated with Vin: 1FMCU04128KC99734 ## Mail History Id: 28397651, Consumer Id: 92327, Address Id: 50178 => Updated with Vin: 1FMEU73E76UA54077 ## Mail History Id: 28397659, Consumer Id: 93471, Address Id: 51964 => Updated with Vin: 1FAHP35N98W156072 ## Mail History Id: 28397471, Consumer Id: 66176, Address Id: 49253 => Updated with Vin: 1FAFP34N05W188607 ## Mail History Id: 28397591, Consumer Id: 92555, Address Id: 50922 => Updated with Vin: 1FAHP36N87W142354 ## Mail History Id: 28397639, Consumer Id: 66945, Address Id: 52907 => Updated with Vin: 1FMZU34E4WUA24303 ## Mail History Id: 28397629, Consumer Id: 93497, Address Id: 51983 => Updated with Vin: 1FMCU03188KC39670 ## Mail History Id: 28397517, Consumer Id: 65906, Address Id: 49617 => Updated with Vin: 1FTSW21P35EA79821 ## Mail History Id: 28397513, Consumer Id: 67094, Address Id: 52709 => Updated with Vin: 1MEHM42166G609421 ## Mail History Id: 28397515, Consumer Id: 224255, Address Id: 48302 => Updated with Vin: 1FDRE14L71HA12079 ## Mail History Id: 28397521, Consumer Id: 66739, Address Id: 47372 => Updated with Vin: 1FAHP34NX6W184865 ## Mail History Id: 28397597, Consumer Id: 93364, Address Id: 51845 => Updated with Vin: 1FTRF12258KB37932 ## Mail History Id: 28397571, Consumer Id: 64240, Address Id: 47504 => Updated with Vin: 1MELM50U8TG602141 ## Mail History Id: 28397595, Consumer Id: 66354, Address Id: 50234 => Updated with Vin: 1MEFM50U54A600543 ## Mail History Id: 28397663, Consumer Id: 63728, Address Id: 47516 => Updated with Vin: 1FMDU35P3VUD43698 ## Mail History Id: 28397559, Consumer Id: 63297, Address Id: 47508 => Updated with Vin: 1FTNX21F22EC94300 ## Mail History Id: 28397535, Consumer Id: 92665, Address Id: 51076 => Updated with Vin: 1FTPX14586FB32015 ## Mail History Id: 28397545, Consumer Id: 101102, Address Id: 48555 => Updated with Vin: 1FTZR15V7YPA97739 ## Mail History Id: 28397581, Consumer Id: 92461, Address Id: 50748 => Updated with Vin: 3FAFP081X6R171176 ## Mail History Id: 28397577, Consumer Id: 64834, Address Id: 50280 => Updated with Vin: 1FMYU02104DA17985 ## Mail History Id: 28397529, Consumer Id: 93074, Address Id: 51484 => Updated with Vin: 3FAHP08197R161927 ## Mail History Id: 28397573, Consumer Id: 93261, Address Id: 47550 => Updated with Vin: 3FAHP07ZX7R272090 ## Mail History Id: 28397491, Consumer Id: 174170, Address Id: 446233 => Updated with Vin: 1FAHP35N08W203070 ## Mail History Id: 28397499, Consumer Id: 93318, Address Id: 47493 => Updated with Vin: 1FMCU04108KB76269 ## Mail History Id: 28397465, Consumer Id: 64175, Address Id: 51992 => Updated with Vin: 1FMYU93125KA83406 ## Mail History Id: 28397451, Consumer Id: 93089, Address Id: 51518 => Updated with Vin: 1FTPX12VX7FB44025 ## Mail History Id: 28397501, Consumer Id: 64924, Address Id: 49505 => Updated with Vin: 1FAFP34N45W290914 ## Mail History Id: 28397511, Consumer Id: 233818, Address Id: 52299 => Updated with Vin: 1FAHP37N27W331421 ## Mail History Id: 28397623, Consumer Id: 93578, Address Id: 52067 => Updated with Vin: 1FTSW21R68EB88134 ## Total mail_history records updated with vin numbers: 35 out of 39 ============================================================ ====== Tracking Id: 654 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-14 09:16:13') AND us2_order_type_id = 3 ## Order found: 843 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 843 AND product_id = 142 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3768 ## Mailing found: '12866' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28397691, Consumer Id: 1048116, Address Id: 14953868 => Updated with Vin: 1G6KE57Y62U112674 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 655 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-14 10:16:19') AND us2_order_type_id = 3 ## Order found: 844 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 844 AND product_id = 143 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3416 ## Mailing found: '12863' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28397259, Consumer Id: 627237, Address Id: 3757206 => Updated with Vin: 1G6DM577940150008 ## Mail History Id: 28397699, Consumer Id: 625981, Address Id: 11764734 => Updated with Vin: 1G6KD54Y35U144977 ## Mail History Id: 28397379, Consumer Id: 627199, Address Id: 11764756 => Updated with Vin: 1GYEE637750161868 ## Mail History Id: 28397241, Consumer Id: 627063, Address Id: 11764682 => Updated with Vin: 1G6KD54Y0XU731494 ## Mail History Id: 28397449, Consumer Id: 623659, Address Id: 11764675 => Updated with Vin: 5GRGN22858H107457 ## Mail History Id: 28397357, Consumer Id: 627200, Address Id: 11764757 => Updated with Vin: W06VR54R91R009182 ## Mail History Id: 28397277, Consumer Id: 629141, Address Id: 11769730 => Updated with Vin: 1LNHM97V2XY682478 ## Mail History Id: 28397247, Consumer Id: 623665, Address Id: 1960226 => Updated with Vin: 3GYEK62N66G146669 ## Mail History Id: 28397447, Consumer Id: 627223, Address Id: 1970145 => Updated with Vin: 1G6EL12Y9WU615835 ## Mail History Id: 28397383, Consumer Id: 625180, Address Id: 11764769 => Updated with Vin: 1G6KD57Y07U156485 ## Mail History Id: 28397435, Consumer Id: 627156, Address Id: 11764742 => Updated with Vin: 1GYEK63N16R142236 ## Mail History Id: 28397279, Consumer Id: 627087, Address Id: 1962002 => Updated with Vin: 1G6KS54Y5YU134686 ## Mail History Id: 28397333, Consumer Id: 625544, Address Id: 1964651 => Updated with Vin: 1G6KD57Y38U119853 ## Mail History Id: 28397353, Consumer Id: 627094, Address Id: 1967895 => Updated with Vin: 1G6KY5498XU932220 ## Mail History Id: 28397265, Consumer Id: 625758, Address Id: 1961111 => Updated with Vin: 1G6DW677X70193566 ## Mail History Id: 28397389, Consumer Id: 627234, Address Id: 1968985 => Updated with Vin: 1G6KF57961U206882 ## Mail History Id: 28397347, Consumer Id: 627085, Address Id: 11764699 => Updated with Vin: 2GCEK19R4V1193837 ## Mail History Id: 28397423, Consumer Id: 627229, Address Id: 11764770 => Updated with Vin: 1G6DM56T550174399 ## Mail History Id: 28397371, Consumer Id: 627224, Address Id: 1968709 => Updated with Vin: 1G6KE54Y72U225036 ## Mail History Id: 28397235, Consumer Id: 627148, Address Id: 11764732 => Updated with Vin: 3GYFK66N06G120034 ## Mail History Id: 28397327, Consumer Id: 627153, Address Id: 1964503 => Updated with Vin: 1GYEK63N16R104778 ## Mail History Id: 28397227, Consumer Id: 627220, Address Id: 11764767 => Updated with Vin: 5GTDN136268324787 ## Mail History Id: 28397705, Consumer Id: 629140, Address Id: 11769729 => Updated with Vin: 1G6DW51Y7H9707740 ## Total mail_history records updated with vin numbers: 23 out of 26 ============================================================ ====== Tracking Id: 656 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-14 10:21:09') AND us2_order_type_id = 3 ## Order found: 843 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 843 AND product_id = 140 ## Job Group Found: '402' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('402') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808007') AND customer_id = 3768 ## Mailing found: '12251' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 657 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-14 11:13:49') AND us2_order_type_id = 3 ## Order found: 845 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 845 AND product_id = 112 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3486 ## Mailing found: '12361' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395853, Consumer Id: 479888, Address Id: 1039170 => Updated with Vin: 1GNCS13W2Y2320120 ## Mail History Id: 28395855, Consumer Id: 480529, Address Id: 8115422 => Updated with Vin: 1GNEC13ZX3R205118 ## Mail History Id: 28395857, Consumer Id: 464940, Address Id: 9820713 => Updated with Vin: KL1TJ62644B251376 ## Mail History Id: 28395859, Consumer Id: 471011, Address Id: 1211062 => Updated with Vin: KNAGE123385168837 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 658 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-14 11:16:01') AND us2_order_type_id = 3 ## Order found: 846 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 846 AND product_id = 144 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3705 ## Mailing found: '12865' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28396277, Consumer Id: 972564, Address Id: 14841065 => Updated with Vin: 2GTEC13J381210048 ## Mail History Id: 28397898, Consumer Id: 972823, Address Id: 14843179 => Updated with Vin: 1GNDS13S382121627 ## Mail History Id: 28396548, Consumer Id: 972831, Address Id: 14843182 => Updated with Vin: 1FMZU62K93ZA73604 ## Mail History Id: 28396518, Consumer Id: 972834, Address Id: 14843183 => Updated with Vin: 2G4WE587961106868 ## Mail History Id: 28398130, Consumer Id: 972837, Address Id: 14843184 => Updated with Vin: 1GCHC23U74F151585 ## Mail History Id: 28396846, Consumer Id: 972838, Address Id: 14843185 => Updated with Vin: 3GNCA23D08S676349 ## Mail History Id: 28396944, Consumer Id: 972813, Address Id: 14843171 => Updated with Vin: 2GCEK13C681113611 ## Mail History Id: 28396745, Consumer Id: 972839, Address Id: 14837109 => Updated with Vin: 3GNCA53P08S676007 ## Mail History Id: 28396820, Consumer Id: 972841, Address Id: 14837518 => Updated with Vin: 1G1ZT58F77F271593 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 659 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-14 11:16:12') AND us2_order_type_id = 3 ## Order found: 846 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 846 AND product_id = 112 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3705 ## Mailing found: '12362' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395881, Consumer Id: 960805, Address Id: 14831524 => Updated with Vin: 2G1WH55K119270610 ## Mail History Id: 28395883, Consumer Id: 975587, Address Id: 9184642 => Updated with Vin: 2GTEK13T341375967 ## Mail History Id: 28395885, Consumer Id: 960882, Address Id: 11388212 => Updated with Vin: 1GKEC13Z33R214773 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 660 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-14 11:16:23') AND us2_order_type_id = 3 ## Order found: 846 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 846 AND product_id = 106 ## Job Group Found: '405' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('405') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808005' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808005') AND customer_id = 3705 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 661 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-14 11:43:28') AND us2_order_type_id = 3 ## Order found: 847 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 847 AND product_id = 142 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3357 ## Mailing found: '12862' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28398399, Consumer Id: 629557, Address Id: 11769855 => Updated with Vin: 4F2CZ06153KM18856 ## Mail History Id: 28398507, Consumer Id: 629562, Address Id: 11769859 => Updated with Vin: 1FMSU45P75EB44791 ## Mail History Id: 28398471, Consumer Id: 628980, Address Id: 11769575 => Updated with Vin: JM1CR29L880316396 ## Mail History Id: 28398531, Consumer Id: 628982, Address Id: 11769577 => Updated with Vin: 3LNHM26T08R653732 ## Mail History Id: 28398413, Consumer Id: 196207, Address Id: 405707 => Updated with Vin: 1FMCU60E81UA64583 ## Mail History Id: 28398513, Consumer Id: 192509, Address Id: 402530 => Updated with Vin: JM3LW28AX40516948 ## Mail History Id: 28398287, Consumer Id: 189358, Address Id: 400315 => Updated with Vin: 1FAHP34NX5W214767 ## Mail History Id: 28398289, Consumer Id: 197758, Address Id: 406799 => Updated with Vin: 1FTWW33P84ED44994 ## Mail History Id: 28398419, Consumer Id: 629558, Address Id: 11769856 => Updated with Vin: 1FTRW12W54KA67605 ## Mail History Id: 28398281, Consumer Id: 189047, Address Id: 400292 => Updated with Vin: 1FMFU16545LA56757 ## Mail History Id: 28398421, Consumer Id: 629554, Address Id: 11769852 => Updated with Vin: 2G2WP552X61224746 ## Mail History Id: 28398589, Consumer Id: 155805, Address Id: 397839 => Updated with Vin: JM1NC26F180146990 ## Mail History Id: 28398467, Consumer Id: 192864, Address Id: 402606 => Updated with Vin: 1FMCU04122KD65397 ## Mail History Id: 28398319, Consumer Id: 198496, Address Id: 406133 => Updated with Vin: 1FAFP4049YF185549 ## Mail History Id: 28398375, Consumer Id: 155655, Address Id: 397695 => Updated with Vin: 1FMCU03178KB59499 ## Mail History Id: 28398313, Consumer Id: 199336, Address Id: 403757 => Updated with Vin: 3MELM66L2SM606775 ## Mail History Id: 28398269, Consumer Id: 629555, Address Id: 11769853 => Updated with Vin: 1FTHX26F5VEA08658 ## Mail History Id: 28398255, Consumer Id: 727754, Address Id: 11832093 => Updated with Vin: 1J4FF68S4XL638708 ## Mail History Id: 28398243, Consumer Id: 629556, Address Id: 11769854 => Updated with Vin: 1FAFP56S8YA285182 ## Total mail_history records updated with vin numbers: 19 out of 21 ============================================================ ====== Tracking Id: 662 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-14 11:43:33') AND us2_order_type_id = 3 ## Order found: 847 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 847 AND product_id = 112 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3357 ## Mailing found: '12358' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395768, Consumer Id: 198216, Address Id: 405878 => Updated with Vin: 1FAFP40431F140368 ## Mail History Id: 28395770, Consumer Id: 187426, Address Id: 395666 => Updated with Vin: 1FMFU18L43LB65504 ## Mail History Id: 28395772, Consumer Id: 155821, Address Id: 397854 => Updated with Vin: 3FAHP06Z77R102478 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 663 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-14 11:43:45') AND us2_order_type_id = 3 ## Order found: 847 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 847 AND product_id = 113 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3357 ## Mailing found: '12358' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 664 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-14 12:16:13') AND us2_order_type_id = 3 ## Order found: 848 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 848 AND product_id = 113 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3427 ## Mailing found: '12359' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395794, Consumer Id: 494137, Address Id: 330080 => Updated with Vin: 1HGCG56421A088918 ## Mail History Id: 28395796, Consumer Id: 493595, Address Id: 9828896 => Updated with Vin: 1HGCM566X3A102674 ## Mail History Id: 28395798, Consumer Id: 497206, Address Id: 329675 => Updated with Vin: SHSRD788X4U202214 ## Mail History Id: 28395800, Consumer Id: 502778, Address Id: 9838611 => Updated with Vin: JHLRD78864C000865 ## Mail History Id: 28395802, Consumer Id: 498571, Address Id: 9832521 => Updated with Vin: 1HGCG1658YA021364 ## Mail History Id: 28395804, Consumer Id: 492689, Address Id: 9828242 => Updated with Vin: SHSRD78803U107188 ## Mail History Id: 28395806, Consumer Id: 500383, Address Id: 9834969 => Updated with Vin: 1HGCM56693A139702 ## Mail History Id: 28395808, Consumer Id: 507326, Address Id: 7552534 => Updated with Vin: 1HGCM66535A043631 ## Mail History Id: 28395810, Consumer Id: 473995, Address Id: 8195916 => Updated with Vin: 2HGFG128X7H515304 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 665 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-14 12:16:27') AND us2_order_type_id = 3 ## Order found: 848 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 848 AND product_id = 112 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3427 ## Mailing found: '12359' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395824, Consumer Id: 500506, Address Id: 325751 => Updated with Vin: 1HGEM22541L064980 ## Mail History Id: 28395826, Consumer Id: 496508, Address Id: 9831036 => Updated with Vin: JHMES95693S032132 ## Mail History Id: 28395828, Consumer Id: 495820, Address Id: 9830551 => Updated with Vin: 1HGCG566X1A027270 ## Mail History Id: 28395830, Consumer Id: 493030, Address Id: 9828493 => Updated with Vin: 1HGCM72623A007754 ## Mail History Id: 28395832, Consumer Id: 491506, Address Id: 9827343 => Updated with Vin: JHMRA3863WC001213 ## Mail History Id: 28395834, Consumer Id: 491238, Address Id: 329576 => Updated with Vin: 1HGCM56363A080999 ## Mail History Id: 28395836, Consumer Id: 508011, Address Id: 9842074 => Updated with Vin: 5FNRL38645B045833 ## Mail History Id: 28395838, Consumer Id: 502960, Address Id: 7552478 => Updated with Vin: 1HGES163X5L000540 ## Mail History Id: 28395840, Consumer Id: 499489, Address Id: 329602 => Updated with Vin: 1HGCM56304A058465 ## Mail History Id: 28395842, Consumer Id: 491752, Address Id: 9827543 => Updated with Vin: 1HGCD5654SA164030 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 666 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-14 12:16:30') AND us2_order_type_id = 3 ## Order found: 849 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 849 AND product_id = 143 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3471 ## Mailing found: '12864' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28398009, Consumer Id: 801283, Address Id: 10211827 => Updated with Vin: 1G6EL12Y6XU615678 ## Mail History Id: 28398167, Consumer Id: 807208, Address Id: 10217419 => Updated with Vin: W06VR52R9WR020385 ## Mail History Id: 28398001, Consumer Id: 807525, Address Id: 11871933 => Updated with Vin: 1G6KF57964U207325 ## Mail History Id: 28398197, Consumer Id: 817364, Address Id: 11877663 => Updated with Vin: JTHBD182X10019728 ## Mail History Id: 28397999, Consumer Id: 760358, Address Id: 10210678 => Updated with Vin: 1G6KD57Y57U161553 ## Mail History Id: 28398141, Consumer Id: 807448, Address Id: 10216005 => Updated with Vin: 1G6KD57Y85U138474 ## Mail History Id: 28398083, Consumer Id: 800958, Address Id: 10214006 => Updated with Vin: 1GHDT13W1V2725336 ## Mail History Id: 28398149, Consumer Id: 821675, Address Id: 10216848 => Updated with Vin: 1G3NL52E52C166521 ## Mail History Id: 28398071, Consumer Id: 798132, Address Id: 10213792 => Updated with Vin: 1G6ET129XXU614106 ## Mail History Id: 28398207, Consumer Id: 800975, Address Id: 11871089 => Updated with Vin: 1G6ET1298WU607119 ## Mail History Id: 28398163, Consumer Id: 803126, Address Id: 10217297 => Updated with Vin: 1G6KD54Y04U138259 ## Mail History Id: 28398037, Consumer Id: 800979, Address Id: 10212645 => Updated with Vin: 1G6EL12YXWU600373 ## Mail History Id: 28398125, Consumer Id: 800519, Address Id: 10215208 => Updated with Vin: 1G6KF579X3U200831 ## Mail History Id: 28398215, Consumer Id: 800244, Address Id: 4559798 => Updated with Vin: 1G6KE57YX2U145418 ## Mail History Id: 28398011, Consumer Id: 798395, Address Id: 10211907 => Updated with Vin: 1G6KY5490XU913581 ## Mail History Id: 28398165, Consumer Id: 773099, Address Id: 10217372 => Updated with Vin: 1G6KD57Y67U104651 ## Mail History Id: 28398005, Consumer Id: 798451, Address Id: 7878188 => Updated with Vin: 1GYEK63N72R103175 ## Mail History Id: 28398013, Consumer Id: 804014, Address Id: 7878397 => Updated with Vin: 1GYEK63N12R253184 ## Mail History Id: 28398161, Consumer Id: 799472, Address Id: 11870394 => Updated with Vin: 1GYEK63N82R143703 ## Mail History Id: 28398007, Consumer Id: 803047, Address Id: 7878210 => Updated with Vin: 1G6KS54YX3U144106 ## Mail History Id: 28398103, Consumer Id: 817395, Address Id: 7416777 => Updated with Vin: 1GYEK63N75R117565 ## Mail History Id: 28398189, Consumer Id: 820626, Address Id: 10219310 => Updated with Vin: 1G6KS53B4NU809307 ## Mail History Id: 28398023, Consumer Id: 821426, Address Id: 7878533 => Updated with Vin: 2G2WP552161207298 ## Mail History Id: 28397727, Consumer Id: 806924, Address Id: 11876865 => Updated with Vin: 2CNDL73F556027240 ## Mail History Id: 28398133, Consumer Id: 806917, Address Id: 11876411 => Updated with Vin: 1GYFK63808R112257 ## Mail History Id: 28398045, Consumer Id: 803588, Address Id: 11872487 => Updated with Vin: 1G6KD54Y4WU757255 ## Mail History Id: 28398195, Consumer Id: 806914, Address Id: 11876863 => Updated with Vin: WBADM6343YGU27518 ## Mail History Id: 28398175, Consumer Id: 760311, Address Id: 11850986 => Updated with Vin: 1GYFK63867R169366 ## Total mail_history records updated with vin numbers: 28 out of 34 ============================================================ ====== Tracking Id: 667 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-14 12:16:39') AND us2_order_type_id = 3 ## Order found: 848 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 848 AND product_id = 114 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3427 ## Mailing found: '12359' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395858, Consumer Id: 503660, Address Id: 7552706 => Updated with Vin: 2HGES16133H588760 ## Mail History Id: 28395860, Consumer Id: 500575, Address Id: 9835502 => Updated with Vin: 2HKYF18584H519118 ## Mail History Id: 28395862, Consumer Id: 491670, Address Id: 326239 => Updated with Vin: 5FNRL18053B066848 ## Mail History Id: 28395864, Consumer Id: 494700, Address Id: 9829710 => Updated with Vin: JHMCF86461C000443 ## Mail History Id: 28395866, Consumer Id: 497086, Address Id: 9831466 => Updated with Vin: 1HGCM72693A013762 ## Mail History Id: 28395868, Consumer Id: 473283, Address Id: 328007 => Updated with Vin: 5FNYF285X6B022899 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 668 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-14 12:16:52') AND us2_order_type_id = 3 ## Order found: 849 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 849 AND product_id = 112 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3471 ## Mailing found: '12360' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395884, Consumer Id: 799850, Address Id: 7416075 => Updated with Vin: 1G6KS52Y0VU828541 ## Mail History Id: 28395886, Consumer Id: 821299, Address Id: 7415879 => Updated with Vin: 1G6KD54Y54U261801 ## Mail History Id: 28395888, Consumer Id: 817202, Address Id: 10214316 => Updated with Vin: 1G6KD54Y1WU778144 ## Mail History Id: 28395890, Consumer Id: 800961, Address Id: 10211379 => Updated with Vin: 1G6EL12Y7XU609971 ## Mail History Id: 28395892, Consumer Id: 806240, Address Id: 10217865 => Updated with Vin: 1GYEK63N64R254933 ## Mail History Id: 28395894, Consumer Id: 803877, Address Id: 7415791 => Updated with Vin: 3GYEK62N44G167484 ## Mail History Id: 28395896, Consumer Id: 817587, Address Id: 11872260 => Updated with Vin: 3GYEK62N85G291954 ## Mail History Id: 28395898, Consumer Id: 808035, Address Id: 7416998 => Updated with Vin: 1GYEK63N75R167656 ## Mail History Id: 28395900, Consumer Id: 821211, Address Id: 7416441 => Updated with Vin: 1G3WX52H6YF151925 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 669 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3569 AND DATE(cart_created_date) = DATE('2008-07-14 14:07:25') AND us2_order_type_id = 3 ## Order found: 850 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 850 AND product_id = 54 ## Job Group Found: '372' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('372') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda071408001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda071408001a') AND customer_id = 3569 ## Mailing found: '12145' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 670 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-15 08:14:06') AND us2_order_type_id = 3 ## Order found: 858 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 858 AND product_id = 55 ## Job Group Found: '407' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('407') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108002') AND customer_id = 3230 ## Mailing found: '12383' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783527, Consumer Id: 1389072, Address Id: 51605 => Updated with Vin: 1FAHP35N38W292939 ## Mail History Id: 28783529, Consumer Id: 1389073, Address Id: 48088 => Updated with Vin: 1FAHP24W88G182547 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 671 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-15 08:43:44') AND us2_order_type_id = 3 ## Order found: 858 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 858 AND product_id = 113 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3230 ## Mailing found: '12357' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 672 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-15 08:43:54') AND us2_order_type_id = 3 ## Order found: 858 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 858 AND product_id = 143 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3230 ## Mailing found: '12861' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28397459, Consumer Id: 234034, Address Id: 446341 => Updated with Vin: 1FAFP27105G117369 ## Mail History Id: 28397539, Consumer Id: 103236, Address Id: 51703 => Updated with Vin: 1FMEU74EX6UB36044 ## Mail History Id: 28397673, Consumer Id: 92602, Address Id: 51002 => Updated with Vin: 3FAHP07107R121964 ## Mail History Id: 28397709, Consumer Id: 274377, Address Id: 48035 => Updated with Vin: 1FTPW14V48FA11097 ## Mail History Id: 28397657, Consumer Id: 92468, Address Id: 50757 => Updated with Vin: 1FAFP55294G186945 ## Mail History Id: 28397553, Consumer Id: 234033, Address Id: 52992 => Updated with Vin: 1FAFP34N76W233995 ## Mail History Id: 28397677, Consumer Id: 92634, Address Id: 49934 => Updated with Vin: 1FAHP28157G122951 ## Mail History Id: 28397643, Consumer Id: 103687, Address Id: 52948 => Updated with Vin: 1FMZK02146GA30010 ## Mail History Id: 28397647, Consumer Id: 100483, Address Id: 47565 => Updated with Vin: 1FMZU72E62ZA97101 ## Mail History Id: 28397557, Consumer Id: 63348, Address Id: 47557 => Updated with Vin: 1FTNW21F2YEB72788 ## Mail History Id: 28397485, Consumer Id: 92729, Address Id: 51142 => Updated with Vin: 1FAFP55U7YA270661 ## Mail History Id: 28397481, Consumer Id: 65716, Address Id: 49592 => Updated with Vin: 1FMFU16L03LC56899 ## Mail History Id: 28397641, Consumer Id: 63653, Address Id: 52250 => Updated with Vin: 1FMCU04161KE97383 ## Mail History Id: 28397475, Consumer Id: 233980, Address Id: 52700 => Updated with Vin: 2MELM74W5PX658691 ## Mail History Id: 28397609, Consumer Id: 66595, Address Id: 50762 => Updated with Vin: 1FTYR44EX6PA47476 ## Mail History Id: 28397521, Consumer Id: 103101, Address Id: 47372 => Updated with Vin: 2FAHP74W95X105351 ## Mail History Id: 28397571, Consumer Id: 225615, Address Id: 47504 => Updated with Vin: 1FTPX14546FB23506 ## Mail History Id: 28397575, Consumer Id: 102972, Address Id: 50439 => Updated with Vin: 2MRDA22266BJ03260 ## Mail History Id: 28397543, Consumer Id: 103763, Address Id: 49899 => Updated with Vin: 1MEHM42W48G611621 ## Mail History Id: 28397579, Consumer Id: 67093, Address Id: 53198 => Updated with Vin: 4M2ZU86K33UJ12978 ## Mail History Id: 28397541, Consumer Id: 64055, Address Id: 47770 => Updated with Vin: 1FDEE14N3SHB37307 ## Mail History Id: 28397525, Consumer Id: 100298, Address Id: 47255 => Updated with Vin: 1FTYR14U91TA55008 ## Mail History Id: 28397561, Consumer Id: 67471, Address Id: 50585 => Updated with Vin: 3FAHP08176R151413 ## Mail History Id: 28397583, Consumer Id: 93383, Address Id: 48377 => Updated with Vin: 1FMEU74E68UA39099 ## Mail History Id: 28397555, Consumer Id: 92548, Address Id: 48631 => Updated with Vin: 1FAFP34N86W160748 ## Mail History Id: 28397587, Consumer Id: 93505, Address Id: 49441 => Updated with Vin: 1FTPW14V78FA42389 ## Mail History Id: 28397621, Consumer Id: 66992, Address Id: 50247 => Updated with Vin: 1FAFP56S65A179342 ## Mail History Id: 28397593, Consumer Id: 103181, Address Id: 52686 => Updated with Vin: 1G3NL52T41C260175 ## Mail History Id: 28397615, Consumer Id: 63435, Address Id: 47530 => Updated with Vin: 1FMZU75W72ZC83847 ## Mail History Id: 28397619, Consumer Id: 103703, Address Id: 47618 => Updated with Vin: 2FMZA51655BA16748 ## Mail History Id: 28397467, Consumer Id: 63068, Address Id: 48281 => Updated with Vin: 1FMYU04112KC50702 ## Mail History Id: 28397455, Consumer Id: 102672, Address Id: 52712 => Updated with Vin: 2FAFP74W12X121188 ## Mail History Id: 28397457, Consumer Id: 63220, Address Id: 47880 => Updated with Vin: 1FMYU02142KA15178 ## Mail History Id: 28397509, Consumer Id: 102369, Address Id: 51849 => Updated with Vin: 1FMYU03115KA02178 ## Mail History Id: 28397479, Consumer Id: 93589, Address Id: 67804 => Updated with Vin: 1FTSW20518ED50251 ## Mail History Id: 28397589, Consumer Id: 67438, Address Id: 50165 => Updated with Vin: 1FTPX14576NB51726 ## Total mail_history records updated with vin numbers: 36 out of 38 ============================================================ ====== Tracking Id: 673 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-15 09:16:20') AND us2_order_type_id = 3 ## Order found: 859 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 859 AND product_id = 142 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3768 ## Mailing found: '12866' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28397681, Consumer Id: 1109288, Address Id: 14982245 => Updated with Vin: 1GYFK63847R362907 ## Mail History Id: 28397691, Consumer Id: 1048116, Address Id: 14953868 => Updated with Vin: 1G6KE57Y62U112674 ## Mail History Id: 28397685, Consumer Id: 1116643, Address Id: 14952943 => Updated with Vin: 2G4WD582781141063 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 674 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-15 10:16:26') AND us2_order_type_id = 3 ## Order found: 860 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 860 AND product_id = 143 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3416 ## Mailing found: '12863' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28397365, Consumer Id: 629320, Address Id: 4782724 => Updated with Vin: 1GKEK63U44J234857 ## Mail History Id: 28397267, Consumer Id: 629309, Address Id: 11769738 => Updated with Vin: 1G6DM57NX30169857 ## Mail History Id: 28397729, Consumer Id: 625546, Address Id: 3775603 => Updated with Vin: 5GTDN13EX78199451 ## Mail History Id: 28397257, Consumer Id: 625748, Address Id: 3757115 => Updated with Vin: 1GYEE637240182450 ## Mail History Id: 28397415, Consumer Id: 625814, Address Id: 4797100 => Updated with Vin: 1GYFK63837R378015 ## Mail History Id: 28397497, Consumer Id: 625940, Address Id: 11766202 => Updated with Vin: 1GYEE637750145816 ## Mail History Id: 28397345, Consumer Id: 629303, Address Id: 11769733 => Updated with Vin: 1GYEK63N94R192489 ## Mail History Id: 28397369, Consumer Id: 629292, Address Id: 11769731 => Updated with Vin: 1G2WP52K91F253466 ## Mail History Id: 28397205, Consumer Id: 629294, Address Id: 1967224 => Updated with Vin: 1G6DW677760127376 ## Mail History Id: 28397321, Consumer Id: 629296, Address Id: 8333021 => Updated with Vin: 1G6DW677150172358 ## Mail History Id: 28397437, Consumer Id: 623661, Address Id: 11764677 => Updated with Vin: 1G6DS57V980190258 ## Mail History Id: 28397237, Consumer Id: 629305, Address Id: 11769735 => Updated with Vin: 5GTDN13E078149383 ## Mail History Id: 28397301, Consumer Id: 629607, Address Id: 11770034 => Updated with Vin: 5GTEN13L788159574 ## Mail History Id: 28397349, Consumer Id: 629318, Address Id: 11769742 => Updated with Vin: 5GRGN23U55H115663 ## Mail History Id: 28397221, Consumer Id: 629325, Address Id: 3755056 => Updated with Vin: 1G6KD54Y5XU731958 ## Mail History Id: 28397263, Consumer Id: 630540, Address Id: 11771025 => Updated with Vin: 1GYEE437480183741 ## Mail History Id: 28397335, Consumer Id: 625424, Address Id: 1964728 => Updated with Vin: 1G6KD57Y76U253276 ## Mail History Id: 28397311, Consumer Id: 629298, Address Id: 1963704 => Updated with Vin: 1GYEE63A540191428 ## Mail History Id: 28397359, Consumer Id: 629324, Address Id: 1968400 => Updated with Vin: 1G6KD54Y8YU337176 ## Mail History Id: 28397427, Consumer Id: 629307, Address Id: 11769736 => Updated with Vin: 1G6KD57Y36U111197 ## Mail History Id: 28397405, Consumer Id: 629323, Address Id: 1969269 => Updated with Vin: 1G6DP567950115947 ## Mail History Id: 28397433, Consumer Id: 629302, Address Id: 1969897 => Updated with Vin: 1G6DM57N230114514 ## Mail History Id: 28397401, Consumer Id: 625792, Address Id: 11766133 => Updated with Vin: 1G6KD54Y83U258938 ## Mail History Id: 28397355, Consumer Id: 629317, Address Id: 1968268 => Updated with Vin: 1G6KE54Y2WU797346 ## Mail History Id: 28397425, Consumer Id: 629142, Address Id: 1969748 => Updated with Vin: 1G6KF57933U216868 ## Mail History Id: 28397667, Consumer Id: 626000, Address Id: 11765953 => Updated with Vin: 5GTEN43E388182921 ## Mail History Id: 28397211, Consumer Id: 629321, Address Id: 1959034 => Updated with Vin: 1G6KD54Y04U101910 ## Mail History Id: 28397413, Consumer Id: 629311, Address Id: 11769739 => Updated with Vin: 1G6KS5154KU809042 ## Mail History Id: 28397715, Consumer Id: 629312, Address Id: 11769740 => Updated with Vin: 1G6DM577340151039 ## Mail History Id: 28397247, Consumer Id: 623665, Address Id: 1960226 => Updated with Vin: 3GYEK62N66G146669 ## Mail History Id: 28397291, Consumer Id: 628667, Address Id: 1963044 => Updated with Vin: 1G6KY54922U195184 ## Mail History Id: 28397397, Consumer Id: 629304, Address Id: 11769734 => Updated with Vin: 1G6KD52YXTU298859 ## Mail History Id: 28397431, Consumer Id: 625293, Address Id: 1969890 => Updated with Vin: 1G6DP577X70181232 ## Mail History Id: 28397201, Consumer Id: 629315, Address Id: 1966883 => Updated with Vin: 1G6KD54Y03U175715 ## Mail History Id: 28397351, Consumer Id: 629316, Address Id: 11769741 => Updated with Vin: 1G6CD53BXN4256631 ## Mail History Id: 28397251, Consumer Id: 625226, Address Id: 1960556 => Updated with Vin: 1G6DC67A670177109 ## Mail History Id: 28397393, Consumer Id: 629314, Address Id: 1969041 => Updated with Vin: 1G6KD54YXWU786906 ## Mail History Id: 28397339, Consumer Id: 629299, Address Id: 1965284 => Updated with Vin: 1G6KD57YX6U122066 ## Mail History Id: 28397343, Consumer Id: 629322, Address Id: 1967425 => Updated with Vin: 5GTDN13E078123057 ## Mail History Id: 28397253, Consumer Id: 628711, Address Id: 1960560 => Updated with Vin: 1G6KF57953U154356 ## Mail History Id: 28397407, Consumer Id: 629300, Address Id: 11764719 => Updated with Vin: 1GKEK63U71J315542 ## Mail History Id: 28397441, Consumer Id: 629301, Address Id: 1969984 => Updated with Vin: 1G6DP577360176601 ## Mail History Id: 28397209, Consumer Id: 629319, Address Id: 1958981 => Updated with Vin: 1G6EL12Y72B103416 ## Mail History Id: 28397307, Consumer Id: 629606, Address Id: 1963237 => Updated with Vin: 1G6KD57Y38U152402 ## Mail History Id: 28397389, Consumer Id: 627235, Address Id: 1968985 => Updated with Vin: 1GYEK13R9YR122289 ## Mail History Id: 28397417, Consumer Id: 629313, Address Id: 1969548 => Updated with Vin: 1G6KD54YX3U279256 ## Mail History Id: 28397361, Consumer Id: 629310, Address Id: 1968577 => Updated with Vin: 1G6KD54Y5YU294920 ## Mail History Id: 28397199, Consumer Id: 629295, Address Id: 1966749 => Updated with Vin: 1G6KY54933U121855 ## Mail History Id: 28397725, Consumer Id: 629605, Address Id: 8873986 => Updated with Vin: 1G6DT57V880192452 ## Mail History Id: 28397605, Consumer Id: 629293, Address Id: 11769732 => Updated with Vin: 5GRGN23U05H133276 ## Mail History Id: 28397381, Consumer Id: 627083, Address Id: 11764698 => Updated with Vin: 5GTDN13E078123429 ## Mail History Id: 28397189, Consumer Id: 629297, Address Id: 10934212 => Updated with Vin: 1G6DM57T660176713 ## Mail History Id: 28397327, Consumer Id: 627153, Address Id: 1964503 => Updated with Vin: 1GYEK63N16R104778 ## Mail History Id: 28397249, Consumer Id: 629306, Address Id: 1960405 => Updated with Vin: 1G6KY5490YU278198 ## Mail History Id: 28397705, Consumer Id: 629140, Address Id: 11769729 => Updated with Vin: 1G6DW51Y7H9707740 ## Mail History Id: 28397391, Consumer Id: 629308, Address Id: 11769737 => Updated with Vin: 1G6DC67AX50207743 ## Total mail_history records updated with vin numbers: 56 out of 57 ============================================================ ====== Tracking Id: 675 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-07-15 10:43:31') AND us2_order_type_id = 3 ## Order found: 861 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 861 AND product_id = 54 ## Job Group Found: '377' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('377') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele070708001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele070708001a') AND customer_id = 3815 ## Mailing found: '12151' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 676 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-15 11:13:29') AND us2_order_type_id = 3 ## Order found: 863 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 863 AND product_id = 112 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3486 ## Mailing found: '12361' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395773, Consumer Id: 467445, Address Id: 9821572 => Updated with Vin: 1GCHC24U26E130957 ## Mail History Id: 28395775, Consumer Id: 479538, Address Id: 4374813 => Updated with Vin: 1G1YY24U055107363 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 677 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-15 11:15:34') AND us2_order_type_id = 3 ## Order found: 864 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 864 AND product_id = 144 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3705 ## Mailing found: '12865' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28397911, Consumer Id: 961225, Address Id: 9266875 => Updated with Vin: 1GNDS13S042210534 ## Mail History Id: 28398232, Consumer Id: 960414, Address Id: 14831911 => Updated with Vin: KL1TD52625B386438 ## Mail History Id: 28396649, Consumer Id: 961762, Address Id: 14834785 => Updated with Vin: 1LNHM82W02Y622962 ## Mail History Id: 28397935, Consumer Id: 963041, Address Id: 14835811 => Updated with Vin: 1G1AK15F567675577 ## Mail History Id: 28397015, Consumer Id: 963037, Address Id: 8066193 => Updated with Vin: 1G1YY26U265103104 ## Mail History Id: 28397536, Consumer Id: 963902, Address Id: 14836538 => Updated with Vin: 2CNDL63F566086543 ## Mail History Id: 28397680, Consumer Id: 964431, Address Id: 14836990 => Updated with Vin: 1G4HE57Y26U193617 ## Mail History Id: 28396723, Consumer Id: 966634, Address Id: 14838634 => Updated with Vin: 1GNCS13W2X2204074 ## Mail History Id: 28396266, Consumer Id: 967896, Address Id: 14831813 => Updated with Vin: 3GNDA33P67S599263 ## Mail History Id: 28397390, Consumer Id: 969522, Address Id: 14840776 => Updated with Vin: 1G1AL15F467615917 ## Mail History Id: 28398082, Consumer Id: 969933, Address Id: 14841061 => Updated with Vin: 1GKFK63817J299094 ## Mail History Id: 28396906, Consumer Id: 971058, Address Id: 9160081 => Updated with Vin: 1GKFK63897J394633 ## Mail History Id: 28397765, Consumer Id: 971060, Address Id: 14841887 => Updated with Vin: 3GCEC13088G107061 ## Mail History Id: 28397412, Consumer Id: 971518, Address Id: 14842220 => Updated with Vin: 1G4HP57238U138327 ## Mail History Id: 28396927, Consumer Id: 971741, Address Id: 10073416 => Updated with Vin: 1GNFC130X8R136783 ## Mail History Id: 28397859, Consumer Id: 971788, Address Id: 9157184 => Updated with Vin: 2CKDL737486023271 ## Mail History Id: 28397540, Consumer Id: 972852, Address Id: 14843193 => Updated with Vin: 2CNDL63F756080872 ## Mail History Id: 28396940, Consumer Id: 971972, Address Id: 14842526 => Updated with Vin: 2G1WC58R979180623 ## Mail History Id: 28396681, Consumer Id: 972842, Address Id: 14843187 => Updated with Vin: 5GAER23778J234482 ## Mail History Id: 28396305, Consumer Id: 972843, Address Id: 14840761 => Updated with Vin: 1HGCD7254RA006217 ## Mail History Id: 28397474, Consumer Id: 972810, Address Id: 11189339 => Updated with Vin: 1GKFC13018J120483 ## Mail History Id: 28396350, Consumer Id: 972845, Address Id: 14839056 => Updated with Vin: WVWJK73C68P031835 ## Mail History Id: 28396198, Consumer Id: 973950, Address Id: 14903237 => Updated with Vin: 1GNDV33178D138378 ## Mail History Id: 28396394, Consumer Id: 972946, Address Id: 14843261 => Updated with Vin: 1GCEC14T73Z150968 ## Mail History Id: 28397755, Consumer Id: 972777, Address Id: 2637766 => Updated with Vin: 1G2ZG57B784153541 ## Mail History Id: 28398370, Consumer Id: 973069, Address Id: 14840325 => Updated with Vin: 1G2ZG57N484152602 ## Mail History Id: 28396228, Consumer Id: 959924, Address Id: 14831129 => Updated with Vin: 2GCEC19T511293853 ## Mail History Id: 28398514, Consumer Id: 973142, Address Id: 14835471 => Updated with Vin: 1G2WR52122F154054 ## Mail History Id: 28396701, Consumer Id: 960149, Address Id: 14831305 => Updated with Vin: 2G4WS52J811128866 ## Mail History Id: 28396647, Consumer Id: 959939, Address Id: 14831141 => Updated with Vin: 3GNFK16Z02G253096 ## Mail History Id: 28397092, Consumer Id: 973290, Address Id: 14836944 => Updated with Vin: 1G4CU5214TH626141 ## Mail History Id: 28398096, Consumer Id: 979273, Address Id: 14846001 => Updated with Vin: 3GNEC16R3XG234672 ## Mail History Id: 28397757, Consumer Id: 982862, Address Id: 14846776 => Updated with Vin: 1GCFG15X971100619 ## Total mail_history records updated with vin numbers: 33 out of 38 ============================================================ ====== Tracking Id: 678 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-15 11:15:45') AND us2_order_type_id = 3 ## Order found: 864 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 864 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 679 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-15 11:16:00') AND us2_order_type_id = 3 ## Order found: 864 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 864 AND product_id = 112 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3705 ## Mailing found: '12362' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395799, Consumer Id: 961536, Address Id: 9864396 => Updated with Vin: 3GNEC16Z65G276427 ## Mail History Id: 28395801, Consumer Id: 960198, Address Id: 14831342 => Updated with Vin: 2G4WB55K211134571 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 680 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-15 11:43:33') AND us2_order_type_id = 3 ## Order found: 865 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 865 AND product_id = 112 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3357 ## Mailing found: '12358' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 681 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-15 11:43:33') AND us2_order_type_id = 3 ## Order found: 865 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 865 AND product_id = 142 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3357 ## Mailing found: '12862' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28398543, Consumer Id: 630082, Address Id: 11770525 => Updated with Vin: 1FMZU63K14ZA22825 ## Mail History Id: 28398415, Consumer Id: 194148, Address Id: 403283 => Updated with Vin: 1FTRW07L93KA56856 ## Mail History Id: 28398295, Consumer Id: 187539, Address Id: 398402 => Updated with Vin: 1FAHP60A34Y104019 ## Mail History Id: 28398519, Consumer Id: 188410, Address Id: 398666 => Updated with Vin: 1FAHP60AX4Y111260 ## Mail History Id: 28398233, Consumer Id: 187852, Address Id: 398508 => Updated with Vin: 1ZVFT80N255125990 ## Mail History Id: 28398355, Consumer Id: 188170, Address Id: 399705 => Updated with Vin: 1FAFP24165G145293 ## Mail History Id: 28398555, Consumer Id: 630080, Address Id: 11770524 => Updated with Vin: 1FMRU15W72LA89061 ## Mail History Id: 28398423, Consumer Id: 584294, Address Id: 11374105 => Updated with Vin: 1FAHP38382W198783 ## Mail History Id: 28398395, Consumer Id: 195313, Address Id: 404005 => Updated with Vin: 2FTRX17253CA25246 ## Mail History Id: 28398591, Consumer Id: 191549, Address Id: 401720 => Updated with Vin: 1FTSW31FX3EA15026 ## Mail History Id: 28398533, Consumer Id: 609960, Address Id: 11754755 => Updated with Vin: 1FMYU031X3KC04952 ## Mail History Id: 28398431, Consumer Id: 630083, Address Id: 11770526 => Updated with Vin: 2FMZA57604BA36282 ## Mail History Id: 28398301, Consumer Id: 153898, Address Id: 396098 => Updated with Vin: 1FTPW12584KB74081 ## Mail History Id: 28398369, Consumer Id: 630074, Address Id: 11770518 => Updated with Vin: 5GZCZ33D44S829259 ## Mail History Id: 28398279, Consumer Id: 153198, Address Id: 395466 => Updated with Vin: 1FMZU64W14ZA09221 ## Mail History Id: 28398451, Consumer Id: 196759, Address Id: 405976 => Updated with Vin: JM1BK143251328860 ## Mail History Id: 28398521, Consumer Id: 611895, Address Id: 11755872 => Updated with Vin: 1ZVFT80N855223910 ## Mail History Id: 28398553, Consumer Id: 152254, Address Id: 394595 => Updated with Vin: 2FDHP74W65X122109 ## Mail History Id: 28398455, Consumer Id: 152059, Address Id: 394418 => Updated with Vin: 1ZVHT80N665114839 ## Mail History Id: 28398293, Consumer Id: 152896, Address Id: 395193 => Updated with Vin: 1ZVHT82H165224978 ## Mail History Id: 28398253, Consumer Id: 153461, Address Id: 395708 => Updated with Vin: 1ZVHT82H365250563 ## Mail History Id: 28398571, Consumer Id: 153217, Address Id: 395482 => Updated with Vin: 1ZVHT82H765262764 ## Mail History Id: 28398349, Consumer Id: 152377, Address Id: 394709 => Updated with Vin: 1FTSW21P26EC30195 ## Mail History Id: 28398445, Consumer Id: 196742, Address Id: 405971 => Updated with Vin: 1FTWW31P46EC89143 ## Mail History Id: 28398481, Consumer Id: 154082, Address Id: 396269 => Updated with Vin: 1FTPX12586FB81556 ## Mail History Id: 28398315, Consumer Id: 152371, Address Id: 394703 => Updated with Vin: 1FMCU95HX6KB01592 ## Mail History Id: 28398489, Consumer Id: 152320, Address Id: 394657 => Updated with Vin: 1FMCU93166KB18864 ## Mail History Id: 28398565, Consumer Id: 154406, Address Id: 396571 => Updated with Vin: JM1CR29L570134914 ## Mail History Id: 28398537, Consumer Id: 630911, Address Id: 11771099 => Updated with Vin: JM1BK144171655147 ## Mail History Id: 28398393, Consumer Id: 154744, Address Id: 396876 => Updated with Vin: 1ZVHT82H375250970 ## Mail History Id: 28398303, Consumer Id: 154311, Address Id: 396480 => Updated with Vin: 1ZVHT88S775295719 ## Mail History Id: 28398515, Consumer Id: 154626, Address Id: 396767 => Updated with Vin: 1ZVHT82H375302503 ## Mail History Id: 28398391, Consumer Id: 155056, Address Id: 397145 => Updated with Vin: 1ZVFT84N075337333 ## Mail History Id: 28398487, Consumer Id: 154523, Address Id: 396678 => Updated with Vin: 1YVHP80D775M10110 ## Mail History Id: 28398257, Consumer Id: 154405, Address Id: 396570 => Updated with Vin: 1FMCU59H87KA99023 ## Mail History Id: 28398563, Consumer Id: 154804, Address Id: 396930 => Updated with Vin: 1FTPX12597KC60050 ## Mail History Id: 28398341, Consumer Id: 198007, Address Id: 403123 => Updated with Vin: 1FMFK16557LA14722 ## Mail History Id: 28398305, Consumer Id: 155306, Address Id: 397372 => Updated with Vin: 1FMFK16587LA83694 ## Mail History Id: 28398271, Consumer Id: 630076, Address Id: 11770521 => Updated with Vin: 1FTRF12277NA12590 ## Mail History Id: 28398357, Consumer Id: 193823, Address Id: 399650 => Updated with Vin: 1FMEU33837UA28533 ## Mail History Id: 28398541, Consumer Id: 758594, Address Id: 11850502 => Updated with Vin: JM1BK324481121902 ## Mail History Id: 28398229, Consumer Id: 155535, Address Id: 397581 => Updated with Vin: JM1BK12G881815832 ## Mail History Id: 28398435, Consumer Id: 155703, Address Id: 397740 => Updated with Vin: JM1BK344481843822 ## Mail History Id: 28398327, Consumer Id: 191465, Address Id: 402077 => Updated with Vin: JM1TA2228Y1617835 ## Mail History Id: 28398499, Consumer Id: 188957, Address Id: 401027 => Updated with Vin: 1FAHP60A62Y130000 ## Mail History Id: 28398307, Consumer Id: 154615, Address Id: 396757 => Updated with Vin: 1FMCU03Z68KA59691 ## Mail History Id: 28398397, Consumer Id: 197112, Address Id: 406957 => Updated with Vin: 1FMCU49H68KA97296 ## Mail History Id: 28398375, Consumer Id: 155655, Address Id: 397695 => Updated with Vin: 1FMCU03178KB59499 ## Mail History Id: 28398325, Consumer Id: 155439, Address Id: 397491 => Updated with Vin: 1FMCU49H18KB90632 ## Mail History Id: 28398491, Consumer Id: 155691, Address Id: 397728 => Updated with Vin: 1FMCU49H48KC65761 ## Mail History Id: 28398235, Consumer Id: 155705, Address Id: 397742 => Updated with Vin: 3FAHP07Z28R151409 ## Mail History Id: 28398523, Consumer Id: 630084, Address Id: 11770527 => Updated with Vin: 3FCMF53G9SJA12784 ## Mail History Id: 28398459, Consumer Id: 630077, Address Id: 11770522 => Updated with Vin: 2FALP74W4SX105733 ## Mail History Id: 28398323, Consumer Id: 630075, Address Id: 11770520 => Updated with Vin: 2FALP73WXSX117984 ## Mail History Id: 28398427, Consumer Id: 609954, Address Id: 11754751 => Updated with Vin: 1LNLM91V0SY615843 ## Mail History Id: 28398267, Consumer Id: 435581, Address Id: 9800107 => Updated with Vin: 1LNLM83WXSY645660 ## Mail History Id: 28398551, Consumer Id: 630079, Address Id: 902979 => Updated with Vin: 1FTDX08W2VKC06910 ## Mail History Id: 28398371, Consumer Id: 199604, Address Id: 406941 => Updated with Vin: 2FALP74W3VX114458 ## Mail History Id: 28398433, Consumer Id: 189831, Address Id: 401250 => Updated with Vin: JM1BJ222XX0129664 ## Mail History Id: 28398401, Consumer Id: 584297, Address Id: 11374108 => Updated with Vin: 1MEFM66L9XK636836 ## Mail History Id: 28398285, Consumer Id: 193444, Address Id: 403321 => Updated with Vin: 1FAFP5827YG169398 ## Total mail_history records updated with vin numbers: 61 out of 66 ============================================================ ====== Tracking Id: 682 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-15 12:15:57') AND us2_order_type_id = 3 ## Order found: 866 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 866 AND product_id = 113 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3427 ## Mailing found: '12359' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395827, Consumer Id: 502303, Address Id: 327580 => Updated with Vin: 5FNRL189X3B065547 ## Mail History Id: 28395829, Consumer Id: 491016, Address Id: 325839 => Updated with Vin: 1HGES16551L049561 ## Mail History Id: 28395831, Consumer Id: 517063, Address Id: 9847552 => Updated with Vin: JHMFA36246S011497 ## Mail History Id: 28395835, Consumer Id: 504054, Address Id: 9839162 => Updated with Vin: 5FNRL18723B109474 ## Mail History Id: 28395837, Consumer Id: 494863, Address Id: 9829839 => Updated with Vin: JHMRA1871SC015148 ## Mail History Id: 28395839, Consumer Id: 500283, Address Id: 9834898 => Updated with Vin: SHSRD78814U229611 ## Mail History Id: 28395843, Consumer Id: 495283, Address Id: 9830170 => Updated with Vin: 1HGCM66513A097149 ## Mail History Id: 28395845, Consumer Id: 492014, Address Id: 7552797 => Updated with Vin: 1HGCG2253XA028801 ## Mail History Id: 28395847, Consumer Id: 473752, Address Id: 9834374 => Updated with Vin: 5J6YH28757L001947 ## Mail History Id: 28395851, Consumer Id: 482560, Address Id: 9837195 => Updated with Vin: 1HGCM56347A143281 ## Total mail_history records updated with vin numbers: 10 out of 13 ============================================================ ====== Tracking Id: 683 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-15 12:16:09') AND us2_order_type_id = 3 ## Order found: 866 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 866 AND product_id = 112 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3427 ## Mailing found: '12359' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395861, Consumer Id: 499822, Address Id: 9834123 => Updated with Vin: 2HKYF18534H555394 ## Mail History Id: 28395863, Consumer Id: 495991, Address Id: 9830670 => Updated with Vin: JHMCM56723C075710 ## Mail History Id: 28395867, Consumer Id: 519333, Address Id: 325922 => Updated with Vin: JHMAP21426S005368 ## Mail History Id: 28395869, Consumer Id: 510896, Address Id: 9843899 => Updated with Vin: 2HKRL1866YH609279 ## Mail History Id: 28395871, Consumer Id: 492676, Address Id: 9828233 => Updated with Vin: 1HGCG16561A020896 ## Mail History Id: 28395873, Consumer Id: 493904, Address Id: 9829126 => Updated with Vin: 5FNRL18642B041703 ## Mail History Id: 28395875, Consumer Id: 504811, Address Id: 329265 => Updated with Vin: SHSRD68535U301040 ## Mail History Id: 28395877, Consumer Id: 492420, Address Id: 9828036 => Updated with Vin: 1HGCG16562A058968 ## Mail History Id: 28395879, Consumer Id: 507068, Address Id: 327288 => Updated with Vin: 1HGCM81665A014488 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 684 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-15 12:16:16') AND us2_order_type_id = 3 ## Order found: 867 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 867 AND product_id = 143 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3471 ## Mailing found: '12864' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28398109, Consumer Id: 760430, Address Id: 10214624 => Updated with Vin: 1G6KD57Y16U150077 ## Mail History Id: 28398077, Consumer Id: 818096, Address Id: 7416051 => Updated with Vin: 1G6DP577860112280 ## Mail History Id: 28397999, Consumer Id: 760358, Address Id: 10210678 => Updated with Vin: 1G6KD57Y57U161553 ## Mail History Id: 28398075, Consumer Id: 803065, Address Id: 6528599 => Updated with Vin: 1G3WS52H5XF322094 ## Mail History Id: 28398177, Consumer Id: 798843, Address Id: 11870065 => Updated with Vin: 1G6KD54Y3XU767583 ## Mail History Id: 28398091, Consumer Id: 760210, Address Id: 7416340 => Updated with Vin: 1GYEE63A960143997 ## Mail History Id: 28398069, Consumer Id: 799866, Address Id: 10214221 => Updated with Vin: 1G6KD54Y7XU806045 ## Mail History Id: 28398063, Consumer Id: 821129, Address Id: 7415730 => Updated with Vin: 3GYFK66N75G229489 ## Mail History Id: 28398101, Consumer Id: 822968, Address Id: 7416752 => Updated with Vin: 1GYFK66867R425498 ## Mail History Id: 28398019, Consumer Id: 817207, Address Id: 7878439 => Updated with Vin: 3GYEK62N95G268943 ## Mail History Id: 28398129, Consumer Id: 804720, Address Id: 10215540 => Updated with Vin: 1G6KY5490XU930235 ## Mail History Id: 28398209, Consumer Id: 760506, Address Id: 11851066 => Updated with Vin: 1G3GR64H424128065 ## Mail History Id: 28398203, Consumer Id: 807561, Address Id: 11876576 => Updated with Vin: 1G6DP567750147327 ## Mail History Id: 28398187, Consumer Id: 804301, Address Id: 10219155 => Updated with Vin: 1GYEK63N84R209119 ## Mail History Id: 28398029, Consumer Id: 823306, Address Id: 7878650 => Updated with Vin: 2GTFK69U231297536 ## Mail History Id: 28398039, Consumer Id: 807575, Address Id: 7415481 => Updated with Vin: 1G6DM57N630100633 ## Mail History Id: 28398225, Consumer Id: 807409, Address Id: 11876912 => Updated with Vin: 1GYEK63N34R294855 ## Mail History Id: 28398137, Consumer Id: 816175, Address Id: 10215753 => Updated with Vin: 1GYEK63N23R210068 ## Mail History Id: 28398033, Consumer Id: 772864, Address Id: 7878754 => Updated with Vin: 1GYEE63A670151380 ## Mail History Id: 28398081, Consumer Id: 819908, Address Id: 11876349 => Updated with Vin: 1G6DN57U360158188 ## Mail History Id: 28398059, Consumer Id: 772831, Address Id: 10559896 => Updated with Vin: 1G6DW677X70163631 ## Mail History Id: 28398047, Consumer Id: 816771, Address Id: 7879023 => Updated with Vin: 1G6YV34A455603314 ## Mail History Id: 28398181, Consumer Id: 817859, Address Id: 10218387 => Updated with Vin: 1GYEK63N25R231747 ## Mail History Id: 28398099, Consumer Id: 822390, Address Id: 7416747 => Updated with Vin: 1G6KD57Y46U105800 ## Mail History Id: 28397991, Consumer Id: 822443, Address Id: 11876746 => Updated with Vin: 1G6DP577970160839 ## Mail History Id: 28398053, Consumer Id: 807037, Address Id: 7415572 => Updated with Vin: 1GYDE63A540125733 ## Mail History Id: 28398133, Consumer Id: 806917, Address Id: 11876411 => Updated with Vin: 1GYFK63808R112257 ## Mail History Id: 28398035, Consumer Id: 823364, Address Id: 11876272 => Updated with Vin: 1G6DW677X70185306 ## Mail History Id: 28398003, Consumer Id: 800680, Address Id: 7878111 => Updated with Vin: 1G6CD53B9P4293317 ## Mail History Id: 28398193, Consumer Id: 806928, Address Id: 11876868 => Updated with Vin: 1J8HR58P27C562359 ## Mail History Id: 28398111, Consumer Id: 806923, Address Id: 10561183 => Updated with Vin: 1G6DM57N830170294 ## Mail History Id: 28398089, Consumer Id: 760228, Address Id: 7416326 => Updated with Vin: 1G6KY54962U158641 ## Mail History Id: 28398199, Consumer Id: 797809, Address Id: 11869588 => Updated with Vin: 1G6KF5792YU267222 ## Total mail_history records updated with vin numbers: 33 out of 33 ============================================================ ====== Tracking Id: 685 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-15 12:16:21') AND us2_order_type_id = 3 ## Order found: 866 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 866 AND product_id = 114 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3427 ## Mailing found: '12359' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395887, Consumer Id: 493572, Address Id: 9828879 => Updated with Vin: 2HKRL1862XH525281 ## Mail History Id: 28395889, Consumer Id: 507253, Address Id: 330016 => Updated with Vin: 1HGCM56745A010844 ## Mail History Id: 28395891, Consumer Id: 510413, Address Id: 9843599 => Updated with Vin: 1HGEM21971L033646 ## Mail History Id: 28395893, Consumer Id: 502254, Address Id: 9837380 => Updated with Vin: 1HGCM56303A080125 ## Mail History Id: 28395895, Consumer Id: 501805, Address Id: 9836749 => Updated with Vin: 1HGCE6665SA017467 ## Mail History Id: 28395897, Consumer Id: 473281, Address Id: 9834662 => Updated with Vin: 1HGCM56706A067754 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 686 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-15 12:16:32') AND us2_order_type_id = 3 ## Order found: 867 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 867 AND product_id = 112 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3471 ## Mailing found: '12360' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395899, Consumer Id: 823227, Address Id: 7415683 => Updated with Vin: 1G6KD57Y27U210174 ## Mail History Id: 28395758, Consumer Id: 821736, Address Id: 11876438 => Updated with Vin: 1GYFK638X7R237281 ## Mail History Id: 28395760, Consumer Id: 818176, Address Id: 11876436 => Updated with Vin: 1G6KY54982U192578 ## Mail History Id: 28395762, Consumer Id: 822674, Address Id: 11876642 => Updated with Vin: 1G6KF57973U275129 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 687 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-16 08:43:40') AND us2_order_type_id = 3 ## Order found: 902 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 902 AND product_id = 143 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3230 ## Mailing found: '12364' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783845, Consumer Id: 100483, Address Id: 47565 => Updated with Vin: 1FMZU72E62ZA97101 ## Mail History Id: 28783779, Consumer Id: 65251, Address Id: 47504 => Updated with Vin: 1FBSS31L71HB64883 ## Mail History Id: 28783747, Consumer Id: 62869, Address Id: 47770 => Updated with Vin: 1FTJW36F3VEA39031 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 688 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-16 09:15:51') AND us2_order_type_id = 3 ## Order found: 903 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 903 AND product_id = 142 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3768 ## Mailing found: '12866' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 689 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-16 10:16:15') AND us2_order_type_id = 3 ## Order found: 904 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 904 AND product_id = 143 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3416 ## Mailing found: '12863' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28397489, Consumer Id: 625341, Address Id: 11764715 => Updated with Vin: 1G6KD54Y24U226374 ## Mail History Id: 28397215, Consumer Id: 625679, Address Id: 3750442 => Updated with Vin: 1G6KS54Y32U201552 ## Mail History Id: 28397225, Consumer Id: 630060, Address Id: 11770705 => Updated with Vin: 1G6DH577580193531 ## Mail History Id: 28397321, Consumer Id: 629296, Address Id: 8333021 => Updated with Vin: 1G6DW677150172358 ## Mail History Id: 28397301, Consumer Id: 629607, Address Id: 11770034 => Updated with Vin: 5GTEN13L788159574 ## Mail History Id: 28397219, Consumer Id: 630539, Address Id: 11771024 => Updated with Vin: 5GTEN13LX88151193 ## Mail History Id: 28397231, Consumer Id: 630061, Address Id: 11770706 => Updated with Vin: 1G6KD54Y93U190360 ## Mail History Id: 28397207, Consumer Id: 627081, Address Id: 11764697 => Updated with Vin: 1G6KD57YX6U117515 ## Mail History Id: 28397405, Consumer Id: 629323, Address Id: 1969269 => Updated with Vin: 1G6DP567950115947 ## Mail History Id: 28397287, Consumer Id: 629825, Address Id: 11770035 => Updated with Vin: 1G6KF52Y0SU214203 ## Mail History Id: 28397317, Consumer Id: 629827, Address Id: 11770036 => Updated with Vin: 1G6KD579X6U151656 ## Mail History Id: 28397283, Consumer Id: 629828, Address Id: 10933700 => Updated with Vin: 1G6DW677960122132 ## Mail History Id: 28397431, Consumer Id: 625293, Address Id: 1969890 => Updated with Vin: 1G6DP577X70181232 ## Mail History Id: 28397269, Consumer Id: 629832, Address Id: 1961384 => Updated with Vin: 1G6DW677660130740 ## Mail History Id: 28397395, Consumer Id: 629826, Address Id: 3764379 => Updated with Vin: 1G6DP577070140429 ## Mail History Id: 28397439, Consumer Id: 629829, Address Id: 1969960 => Updated with Vin: 1G6KS54Y92U263070 ## Mail History Id: 28397373, Consumer Id: 629824, Address Id: 1968793 => Updated with Vin: 1G6ET1294WU614889 ## Mail History Id: 28397195, Consumer Id: 629841, Address Id: 1966590 => Updated with Vin: W06VR54R41R033535 ## Mail History Id: 28397375, Consumer Id: 629822, Address Id: 1968829 => Updated with Vin: 1FMRU15L13CA56788 ## Mail History Id: 28397411, Consumer Id: 627187, Address Id: 1969456 => Updated with Vin: 1G6KE57Y2YU285214 ## Mail History Id: 28397203, Consumer Id: 629831, Address Id: 1967181 => Updated with Vin: 1G6ET1294XU610505 ## Mail History Id: 28397293, Consumer Id: 629823, Address Id: 3760410 => Updated with Vin: 1GYEE637460176880 ## Mail History Id: 28397733, Consumer Id: 628703, Address Id: 1970293 => Updated with Vin: 5GRGN23U53H141595 ## Mail History Id: 28397725, Consumer Id: 629605, Address Id: 8873986 => Updated with Vin: 1G6DT57V880192452 ## Mail History Id: 28397193, Consumer Id: 625798, Address Id: 6879306 => Updated with Vin: 5GTEN13E188100263 ## Mail History Id: 28397303, Consumer Id: 629834, Address Id: 1963156 => Updated with Vin: 1G6DW677060171140 ## Mail History Id: 28397705, Consumer Id: 629140, Address Id: 11769729 => Updated with Vin: 1G6DW51Y7H9707740 ## Total mail_history records updated with vin numbers: 27 out of 30 ============================================================ ====== Tracking Id: 690 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-16 10:43:32') AND us2_order_type_id = 3 ## Order found: 902 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 902 AND product_id = 140 ## Job Group Found: '411' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('411') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108006') AND customer_id = 3230 ## Mailing found: '12396' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783315, Consumer Id: 38436, Address Id: 49101 => Updated with Vin: 1FMYU94155KD67109 ## Mail History Id: 28783317, Consumer Id: 93570, Address Id: 52073 => Updated with Vin: 1FMCU94118KB99645 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 691 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-16 11:13:33') AND us2_order_type_id = 3 ## Order found: 905 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 905 AND product_id = 112 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3486 ## Mailing found: '12361' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 692 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-16 11:16:37') AND us2_order_type_id = 3 ## Order found: 906 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 906 AND product_id = 144 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3705 ## Mailing found: '12865' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28397697, Consumer Id: 963579, Address Id: 14836298 => Updated with Vin: 1G2MB33B06Y103265 ## Mail History Id: 28396434, Consumer Id: 963517, Address Id: 9159281 => Updated with Vin: 1G1ZT51F46F143515 ## Mail History Id: 28398218, Consumer Id: 963903, Address Id: 14836539 => Updated with Vin: KL1TD56636B566345 ## Mail History Id: 28396358, Consumer Id: 963901, Address Id: 14836537 => Updated with Vin: 2G4WD582061262613 ## Mail History Id: 28396682, Consumer Id: 964842, Address Id: 14837280 => Updated with Vin: 1G1ZT61876F119653 ## Mail History Id: 28396723, Consumer Id: 966634, Address Id: 14838634 => Updated with Vin: 1GNCS13W2X2204074 ## Mail History Id: 28396613, Consumer Id: 966755, Address Id: 14838722 => Updated with Vin: 1G2ZF58B074177518 ## Mail History Id: 28397998, Consumer Id: 966990, Address Id: 14838903 => Updated with Vin: 2GCEC13VX71177759 ## Mail History Id: 28396690, Consumer Id: 966991, Address Id: 14837895 => Updated with Vin: 1GTEC19X17Z102688 ## Mail History Id: 28397554, Consumer Id: 967553, Address Id: 14839349 => Updated with Vin: 2CNDL13F576037525 ## Mail History Id: 28396754, Consumer Id: 968696, Address Id: 11387069 => Updated with Vin: 3GNDA13DX7S522986 ## Mail History Id: 28396345, Consumer Id: 969713, Address Id: 14840910 => Updated with Vin: 3GNDA13D17S635435 ## Mail History Id: 28398302, Consumer Id: 969931, Address Id: 14837185 => Updated with Vin: 2G4WC582271244683 ## Mail History Id: 28398502, Consumer Id: 970370, Address Id: 14841367 => Updated with Vin: 2CNDL63F176241610 ## Mail History Id: 28396534, Consumer Id: 971062, Address Id: 14835198 => Updated with Vin: KL1TG56608B054276 ## Mail History Id: 28397143, Consumer Id: 971619, Address Id: 14842292 => Updated with Vin: 1GNEK13T86R112438 ## Mail History Id: 28397588, Consumer Id: 972226, Address Id: 14842709 => Updated with Vin: 3GNDA23D67S604509 ## Mail History Id: 28397177, Consumer Id: 971817, Address Id: 14842423 => Updated with Vin: 5Y2SL65827Z439045 ## Mail History Id: 28397718, Consumer Id: 971787, Address Id: 9235556 => Updated with Vin: 1G1AK58F987178487 ## Mail History Id: 28396387, Consumer Id: 972210, Address Id: 14842700 => Updated with Vin: 1GKEC63898J176315 ## Mail History Id: 28397710, Consumer Id: 972036, Address Id: 8036394 => Updated with Vin: 1GTEC19048E194472 ## Mail History Id: 28398258, Consumer Id: 972816, Address Id: 14843173 => Updated with Vin: 1GKFC13008R192776 ## Mail History Id: 28397268, Consumer Id: 972847, Address Id: 14843188 => Updated with Vin: 2GCEC13J281123595 ## Mail History Id: 28396198, Consumer Id: 1231385, Address Id: 14903237 => Updated with Vin: 3A4FY58B57T546869 ## Mail History Id: 28398324, Consumer Id: 963042, Address Id: 14835812 => Updated with Vin: 2G2WP522751249090 ## Mail History Id: 28397073, Consumer Id: 1126163, Address Id: 14991915 => Updated with Vin: 3GNDA23D08S519232 ## Mail History Id: 28396887, Consumer Id: 975147, Address Id: 14843637 => Updated with Vin: 2G4WS52J921189094 ## Mail History Id: 28396249, Consumer Id: 982835, Address Id: 14846770 => Updated with Vin: 1GNDX03E12D231741 ## Mail History Id: 28396321, Consumer Id: 961157, Address Id: 14831806 => Updated with Vin: 1GTEC14W22Z159134 ## Mail History Id: 28398234, Consumer Id: 960940, Address Id: 14831630 => Updated with Vin: 2G1WF52KXY9306895 ## Mail History Id: 28396407, Consumer Id: 959813, Address Id: 14831039 => Updated with Vin: 2GCEC19V231145485 ## Mail History Id: 28397074, Consumer Id: 976646, Address Id: 9184554 => Updated with Vin: 1GCEC19X44Z287766 ## Mail History Id: 28396344, Consumer Id: 980182, Address Id: 14846529 => Updated with Vin: 3GCDA85D58S597871 ## Mail History Id: 28396820, Consumer Id: 976029, Address Id: 14837518 => Updated with Vin: 2GCEC19W011135544 ## Mail History Id: 28396286, Consumer Id: 977434, Address Id: 14845001 => Updated with Vin: 1G1NE52J43M628370 ## Mail History Id: 28397010, Consumer Id: 979059, Address Id: 14845881 => Updated with Vin: 2G1WF52E459206068 ## Mail History Id: 28396711, Consumer Id: 982865, Address Id: 14846789 => Updated with Vin: 2G1WL52MXV9113474 ## Mail History Id: 28396589, Consumer Id: 982866, Address Id: 14835027 => Updated with Vin: 1G1YY25U665124443 ## Mail History Id: 28396775, Consumer Id: 982859, Address Id: 14846778 => Updated with Vin: 6G2VX12U95L469866 ## Mail History Id: 28396979, Consumer Id: 982870, Address Id: 10073614 => Updated with Vin: 2GCEK13Z471152216 ## Mail History Id: 28396464, Consumer Id: 982852, Address Id: 14846786 => Updated with Vin: 1D7HA18D75S294480 ## Mail History Id: 28397112, Consumer Id: 980412, Address Id: 14846650 => Updated with Vin: 1G2ZM551664184294 ## Mail History Id: 28396485, Consumer Id: 982868, Address Id: 14846774 => Updated with Vin: 2CNDL63F566209144 ## Mail History Id: 28396936, Consumer Id: 979071, Address Id: 14844827 => Updated with Vin: 1GCCS14R2M8250725 ## Mail History Id: 28396514, Consumer Id: 974607, Address Id: 9159393 => Updated with Vin: 1GNEC13R1XJ463872 ## Total mail_history records updated with vin numbers: 45 out of 55 ============================================================ ====== Tracking Id: 693 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-16 11:16:54') AND us2_order_type_id = 3 ## Order found: 906 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 906 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 694 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-16 11:43:30') AND us2_order_type_id = 3 ## Order found: 907 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 907 AND product_id = 142 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3357 ## Mailing found: '12862' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28398283, Consumer Id: 630554, Address Id: 2356891 => Updated with Vin: JM3LW28GXY0126927 ## Mail History Id: 28398507, Consumer Id: 629562, Address Id: 11769859 => Updated with Vin: 1FMSU45P75EB44791 ## Mail History Id: 28398311, Consumer Id: 760627, Address Id: 879276 => Updated with Vin: 3G5DA03L56S581623 ## Mail History Id: 28398437, Consumer Id: 630552, Address Id: 11770797 => Updated with Vin: 2FMZA51431BC09005 ## Mail History Id: 28398379, Consumer Id: 188527, Address Id: 399795 => Updated with Vin: 1FAHP60A23Y109923 ## Mail History Id: 28398569, Consumer Id: 188845, Address Id: 398723 => Updated with Vin: 1FAFP38ZX4W119497 ## Mail History Id: 28398405, Consumer Id: 190881, Address Id: 400936 => Updated with Vin: 1FAHP60A05Y105940 ## Mail History Id: 28398509, Consumer Id: 630553, Address Id: 404020 => Updated with Vin: 1FTNX21F22EB22820 ## Mail History Id: 28398495, Consumer Id: 191412, Address Id: 402074 => Updated with Vin: 1FMFU17L63LB35776 ## Mail History Id: 28398383, Consumer Id: 188271, Address Id: 398636 => Updated with Vin: 1FTSW31P74EC58982 ## Mail History Id: 28398577, Consumer Id: 195415, Address Id: 404690 => Updated with Vin: 1FMCU04134KB19932 ## Mail History Id: 28398439, Consumer Id: 197304, Address Id: 406598 => Updated with Vin: 1YVHP84D355M09530 ## Mail History Id: 28398343, Consumer Id: 151670, Address Id: 394056 => Updated with Vin: 1FTRX12W85FB64675 ## Mail History Id: 28398449, Consumer Id: 193472, Address Id: 403536 => Updated with Vin: 1FTSW21P16EA44440 ## Mail History Id: 28398247, Consumer Id: 629914, Address Id: 11770517 => Updated with Vin: 1FMFU205X6LA35931 ## Mail History Id: 28398493, Consumer Id: 630557, Address Id: 11770800 => Updated with Vin: 3FAFP07196R138851 ## Mail History Id: 28398425, Consumer Id: 630559, Address Id: 6485330 => Updated with Vin: 3LNHM26186R631828 ## Mail History Id: 28398473, Consumer Id: 155309, Address Id: 397375 => Updated with Vin: JM1BK344571770894 ## Mail History Id: 28398239, Consumer Id: 154816, Address Id: 396938 => Updated with Vin: 1ZVFT85H575247247 ## Mail History Id: 28398265, Consumer Id: 544371, Address Id: 10413558 => Updated with Vin: 1ZVFT80N175324502 ## Mail History Id: 28398339, Consumer Id: 154555, Address Id: 396707 => Updated with Vin: 1FTRW14547FA66043 ## Mail History Id: 28398503, Consumer Id: 198314, Address Id: 406831 => Updated with Vin: 5LMFL28557LJ25655 ## Mail History Id: 28398469, Consumer Id: 154849, Address Id: 396692 => Updated with Vin: 3FAHP07Z77R151209 ## Mail History Id: 28398485, Consumer Id: 155436, Address Id: 397488 => Updated with Vin: 1FAFP34N57W343431 ## Mail History Id: 28398249, Consumer Id: 874292, Address Id: 11913621 => Updated with Vin: JM1BK344981131788 ## Mail History Id: 28398483, Consumer Id: 155604, Address Id: 397648 => Updated with Vin: 1ZVHT85HX85145727 ## Mail History Id: 28398409, Consumer Id: 611229, Address Id: 11755868 => Updated with Vin: 1FTSW21R58ED85568 ## Mail History Id: 28398291, Consumer Id: 198317, Address Id: 402704 => Updated with Vin: 1FMCU04168KA46254 ## Mail History Id: 28398261, Consumer Id: 190703, Address Id: 402342 => Updated with Vin: 1FTJW36G5VEA78146 ## Mail History Id: 28398385, Consumer Id: 630558, Address Id: 11770801 => Updated with Vin: 1FMFU18L6VLA61762 ## Mail History Id: 28398277, Consumer Id: 197329, Address Id: 406134 => Updated with Vin: 1LNLM92V1VY632377 ## Mail History Id: 28398417, Consumer Id: 630561, Address Id: 11770803 => Updated with Vin: 1FMRU1660YLA00891 ## Mail History Id: 28398527, Consumer Id: 629081, Address Id: 11769578 => Updated with Vin: 4T3ZF19C3YU209409 ## Total mail_history records updated with vin numbers: 33 out of 35 ============================================================ ====== Tracking Id: 695 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-16 11:43:33') AND us2_order_type_id = 3 ## Order found: 907 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 907 AND product_id = 112 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3357 ## Mailing found: '12358' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 696 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-16 11:43:45') AND us2_order_type_id = 3 ## Order found: 907 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 907 AND product_id = 114 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3357 ## Mailing found: '12358' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 697 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-16 12:16:20') AND us2_order_type_id = 3 ## Order found: 909 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 909 AND product_id = 113 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3427 ## Mailing found: '12359' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395777, Consumer Id: 475131, Address Id: 9836478 => Updated with Vin: 5J6RE38307L000236 ## Mail History Id: 28395779, Consumer Id: 491931, Address Id: 9827672 => Updated with Vin: 1HGCG56402A080284 ## Mail History Id: 28395781, Consumer Id: 497550, Address Id: 9831781 => Updated with Vin: 1HGCG6684YA095579 ## Mail History Id: 28395783, Consumer Id: 507985, Address Id: 9836598 => Updated with Vin: 1HGCM66525A028554 ## Mail History Id: 28395785, Consumer Id: 504197, Address Id: 9839417 => Updated with Vin: 5FNYF18485B008631 ## Mail History Id: 28395787, Consumer Id: 498843, Address Id: 326749 => Updated with Vin: 2HKYF18404H543467 ## Mail History Id: 28395789, Consumer Id: 513066, Address Id: 9845211 => Updated with Vin: 5FNYF28546B005547 ## Mail History Id: 28395791, Consumer Id: 472907, Address Id: 8195937 => Updated with Vin: 2HGES16133H593442 ## Mail History Id: 28395793, Consumer Id: 475373, Address Id: 9836534 => Updated with Vin: 1HGCM66527A081595 ## Total mail_history records updated with vin numbers: 9 out of 11 ============================================================ ====== Tracking Id: 698 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-16 12:16:37') AND us2_order_type_id = 3 ## Order found: 908 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 908 AND product_id = 143 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3471 ## Mailing found: '12864' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28398211, Consumer Id: 798140, Address Id: 11869728 => Updated with Vin: 1G6KS54Y5WU911381 ## Mail History Id: 28398025, Consumer Id: 820961, Address Id: 4552424 => Updated with Vin: 1G6KD57946U114246 ## Mail History Id: 28398087, Consumer Id: 820945, Address Id: 10214053 => Updated with Vin: 1G6KY549X3U114496 ## Mail History Id: 28398219, Consumer Id: 798000, Address Id: 11869664 => Updated with Vin: 1G6KY5497WU922714 ## Mail History Id: 28398109, Consumer Id: 760430, Address Id: 10214624 => Updated with Vin: 1G6KD57Y16U150077 ## Mail History Id: 28398061, Consumer Id: 803866, Address Id: 7415723 => Updated with Vin: 3GYEK62N24G166351 ## Mail History Id: 28398095, Consumer Id: 821101, Address Id: 7416594 => Updated with Vin: 1GYEE637960208223 ## Mail History Id: 28398147, Consumer Id: 822604, Address Id: 10216086 => Updated with Vin: 1GYFK66837R317906 ## Mail History Id: 28398179, Consumer Id: 823348, Address Id: 8309268 => Updated with Vin: 5GZEV23747J142737 ## Mail History Id: 28398127, Consumer Id: 816538, Address Id: 10215400 => Updated with Vin: 1G6KF57962U245005 ## Mail History Id: 28398085, Consumer Id: 803200, Address Id: 10214020 => Updated with Vin: 1G3WX52H1YF123126 ## Mail History Id: 28397999, Consumer Id: 760358, Address Id: 10210678 => Updated with Vin: 1G6KD57Y57U161553 ## Mail History Id: 28397989, Consumer Id: 799551, Address Id: 10210044 => Updated with Vin: 1G6EL12Y4TU605886 ## Mail History Id: 28398043, Consumer Id: 822751, Address Id: 7879015 => Updated with Vin: 1G6KY5499WU931964 ## Mail History Id: 28398205, Consumer Id: 800826, Address Id: 11871060 => Updated with Vin: 1G6KE57Y0YU243818 ## Mail History Id: 28398213, Consumer Id: 798238, Address Id: 11869768 => Updated with Vin: 1G3WH52H52F163648 ## Mail History Id: 28398183, Consumer Id: 802991, Address Id: 10218673 => Updated with Vin: 1G6KD54Y1XU737322 ## Mail History Id: 28398117, Consumer Id: 801527, Address Id: 7417025 => Updated with Vin: 1G6KS54Y8YU305849 ## Mail History Id: 28398049, Consumer Id: 759658, Address Id: 7879039 => Updated with Vin: 3GYEK62NX4G263409 ## Mail History Id: 28398029, Consumer Id: 801115, Address Id: 7878650 => Updated with Vin: 1GYEK63N64R100951 ## Mail History Id: 28398171, Consumer Id: 801432, Address Id: 10217606 => Updated with Vin: 3GYFK66NX3G337666 ## Mail History Id: 28398015, Consumer Id: 807139, Address Id: 7878405 => Updated with Vin: 1G6KF5495XU774781 ## Mail History Id: 28398191, Consumer Id: 760512, Address Id: 10219628 => Updated with Vin: 1G6KD57996U236746 ## Mail History Id: 28398017, Consumer Id: 820467, Address Id: 7878409 => Updated with Vin: 1GYEK63N13R112732 ## Mail History Id: 28398113, Consumer Id: 817346, Address Id: 7416945 => Updated with Vin: 1G6KS54Y93U245881 ## Mail History Id: 28398079, Consumer Id: 822404, Address Id: 7416096 => Updated with Vin: 1G6DC67AX50208603 ## Mail History Id: 28398185, Consumer Id: 760325, Address Id: 10219124 => Updated with Vin: 1G6DN57S540190006 ## Mail History Id: 28398105, Consumer Id: 816241, Address Id: 7416811 => Updated with Vin: 1GYEK63N75R197210 ## Mail History Id: 28398115, Consumer Id: 806916, Address Id: 7416993 => Updated with Vin: WDBJF70H4XA779911 ## Mail History Id: 28398119, Consumer Id: 760528, Address Id: 10214856 => Updated with Vin: 1G6KY5494XU923949 ## Mail History Id: 28398221, Consumer Id: 820821, Address Id: 11876811 => Updated with Vin: 1G6DW677560145679 ## Mail History Id: 28398135, Consumer Id: 821352, Address Id: 10561658 => Updated with Vin: 1GYFK63847R212604 ## Mail History Id: 28398021, Consumer Id: 823283, Address Id: 7878468 => Updated with Vin: 3GYFK62807G293134 ## Mail History Id: 28398041, Consumer Id: 802171, Address Id: 7415482 => Updated with Vin: 1G6DM577940103576 ## Mail History Id: 28398169, Consumer Id: 822466, Address Id: 10217552 => Updated with Vin: 1GYEK63N43R298699 ## Mail History Id: 28398051, Consumer Id: 817574, Address Id: 7415552 => Updated with Vin: 1GYEK63N13R294822 ## Mail History Id: 28397987, Consumer Id: 807018, Address Id: 11876723 => Updated with Vin: 1GYEK63N72R175302 ## Mail History Id: 28398173, Consumer Id: 807022, Address Id: 80385 => Updated with Vin: 1GYFK66858R203634 ## Mail History Id: 28398121, Consumer Id: 823361, Address Id: 11876394 => Updated with Vin: 1G6KE57Y85U181418 ## Mail History Id: 28398031, Consumer Id: 805580, Address Id: 11873557 => Updated with Vin: 3GYEK63N93G224047 ## Mail History Id: 28398145, Consumer Id: 820678, Address Id: 11876458 => Updated with Vin: 1G6DM57N130134205 ## Mail History Id: 28398093, Consumer Id: 806915, Address Id: 11876314 => Updated with Vin: 3GYFK628X7G313065 ## Mail History Id: 28398159, Consumer Id: 806920, Address Id: 11876522 => Updated with Vin: 1G6DT57V680159403 ## Mail History Id: 28398065, Consumer Id: 806918, Address Id: 11876319 => Updated with Vin: 3GYEK62N25G179490 ## Mail History Id: 28398155, Consumer Id: 806984, Address Id: 11876384 => Updated with Vin: 1GYEK63N75R191794 ## Total mail_history records updated with vin numbers: 45 out of 50 ============================================================ ====== Tracking Id: 699 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-16 12:17:23') AND us2_order_type_id = 3 ## Order found: 909 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 909 AND product_id = 112 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3427 ## Mailing found: '12359' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395803, Consumer Id: 494232, Address Id: 9829368 => Updated with Vin: 5FNRL18693B128269 ## Mail History Id: 28395805, Consumer Id: 497691, Address Id: 9831889 => Updated with Vin: 2HKRL18043H500520 ## Mail History Id: 28395807, Consumer Id: 492753, Address Id: 7555197 => Updated with Vin: 2HKYF18563H545571 ## Mail History Id: 28395809, Consumer Id: 491990, Address Id: 9827714 => Updated with Vin: 1HGEM22943L057632 ## Mail History Id: 28395811, Consumer Id: 496822, Address Id: 9831275 => Updated with Vin: 1HGEJ8643WL053425 ## Mail History Id: 28395813, Consumer Id: 494915, Address Id: 9829874 => Updated with Vin: 1HGCG1658YA073268 ## Mail History Id: 28395815, Consumer Id: 504788, Address Id: 9840234 => Updated with Vin: SHSRD78545U317432 ## Mail History Id: 28395817, Consumer Id: 516732, Address Id: 9832795 => Updated with Vin: JHMRA1873VC006021 ## Mail History Id: 28395819, Consumer Id: 491804, Address Id: 327860 => Updated with Vin: 1HGCG16562A075804 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 700 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-16 12:17:23') AND us2_order_type_id = 3 ## Order found: 908 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 908 AND product_id = 112 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3471 ## Mailing found: '12360' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 701 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-17 08:14:02') AND us2_order_type_id = 3 ## Order found: 920 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 920 AND product_id = 55 ## Job Group Found: '407' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('407') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108002') AND customer_id = 3230 ## Mailing found: '12383' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 702 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-17 08:43:52') AND us2_order_type_id = 3 ## Order found: 920 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 920 AND product_id = 113 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3230 ## Mailing found: '12389' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783417, Consumer Id: 103778, Address Id: 48605 => Updated with Vin: 1FTYR14DX2PA75987 ## Mail History Id: 28783419, Consumer Id: 103780, Address Id: 48273 => Updated with Vin: 1FMCU931X5KA74947 ## Mail History Id: 28783421, Consumer Id: 103765, Address Id: 53830 => Updated with Vin: 1FTPW14584KC21672 ## Mail History Id: 28783423, Consumer Id: 64615, Address Id: 52142 => Updated with Vin: 1FMZU72K73UC25138 ## Mail History Id: 28783425, Consumer Id: 66206, Address Id: 52339 => Updated with Vin: 1G2NF52E33M696607 ## Mail History Id: 28783427, Consumer Id: 65736, Address Id: 50125 => Updated with Vin: 1FTPX14506NA02624 ## Mail History Id: 28783431, Consumer Id: 103781, Address Id: 50794 => Updated with Vin: 1HGCM72623A020780 ## Mail History Id: 28783433, Consumer Id: 100883, Address Id: 48161 => Updated with Vin: 1FTSW31F3YEA20592 ## Total mail_history records updated with vin numbers: 8 out of 9 ============================================================ ====== Tracking Id: 703 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-17 08:44:02') AND us2_order_type_id = 3 ## Order found: 920 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 920 AND product_id = 143 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3230 ## Mailing found: '12364' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783729, Consumer Id: 67010, Address Id: 50018 => Updated with Vin: 1FAHP59SX3A188675 ## Mail History Id: 28783723, Consumer Id: 63354, Address Id: 52379 => Updated with Vin: 1FTPX14534NC64828 ## Mail History Id: 28783871, Consumer Id: 93280, Address Id: 51765 => Updated with Vin: 1FTWX31R88EA53628 ## Mail History Id: 28783735, Consumer Id: 92776, Address Id: 47773 => Updated with Vin: 1FAHP37N87W172226 ## Mail History Id: 28783859, Consumer Id: 92863, Address Id: 50841 => Updated with Vin: 1FMYU93197KA51863 ## Mail History Id: 28783731, Consumer Id: 63180, Address Id: 47651 => Updated with Vin: 1FTNW21F62EA23629 ## Mail History Id: 28783851, Consumer Id: 67764, Address Id: 48804 => Updated with Vin: 1FMEU74E56ZA16090 ## Mail History Id: 28783853, Consumer Id: 101379, Address Id: 49168 => Updated with Vin: 1FTRX18W03NA86841 ## Mail History Id: 28783759, Consumer Id: 234033, Address Id: 52992 => Updated with Vin: 1FAFP34N76W233995 ## Mail History Id: 28783841, Consumer Id: 294637, Address Id: 53080 => Updated with Vin: 1FTRW07692KA95794 ## Mail History Id: 28783737, Consumer Id: 92462, Address Id: 50217 => Updated with Vin: 3FAFP07156R180546 ## Mail History Id: 28783809, Consumer Id: 274587, Address Id: 48887 => Updated with Vin: 1FAHP35N38W175314 ## Mail History Id: 28783805, Consumer Id: 274379, Address Id: 51458 => Updated with Vin: 1FTPX14V28FB46057 ## Mail History Id: 28783849, Consumer Id: 66040, Address Id: 48553 => Updated with Vin: 1FTNF20F12EA58287 ## Mail History Id: 28783779, Consumer Id: 167601, Address Id: 47504 => Updated with Vin: 1MEFM50U52A651232 ## Mail History Id: 28783767, Consumer Id: 294638, Address Id: 4512322 => Updated with Vin: 1LNLM82W0RY764488 ## Mail History Id: 28783757, Consumer Id: 67388, Address Id: 53263 => Updated with Vin: 1FAFP36P5YW192820 ## Mail History Id: 28783795, Consumer Id: 64429, Address Id: 47926 => Updated with Vin: 1FMCU94133KB87697 ## Mail History Id: 28783793, Consumer Id: 93205, Address Id: 51618 => Updated with Vin: 2FMDK39C47BB35576 ## Mail History Id: 28783799, Consumer Id: 63332, Address Id: 51557 => Updated with Vin: 1FMZU73K73ZB33738 ## Mail History Id: 28783765, Consumer Id: 64400, Address Id: 51126 => Updated with Vin: 1FTNW21FXXEF07519 ## Mail History Id: 28783783, Consumer Id: 66389, Address Id: 48505 => Updated with Vin: 2FMZA51402BA25237 ## Mail History Id: 28783743, Consumer Id: 64528, Address Id: 48901 => Updated with Vin: 2FMZA514XXBB69031 ## Mail History Id: 28783787, Consumer Id: 63758, Address Id: 48191 => Updated with Vin: 1FTYR14U44PA09261 ## Mail History Id: 28783739, Consumer Id: 93272, Address Id: 47774 => Updated with Vin: 1FAHP34N07W339148 ## Mail History Id: 28783817, Consumer Id: 224257, Address Id: 47477 => Updated with Vin: 1FAFP10D9WW313097 ## Mail History Id: 28783839, Consumer Id: 65105, Address Id: 49870 => Updated with Vin: 1FTSW21P46EA06524 ## Mail History Id: 28783833, Consumer Id: 62968, Address Id: 48548 => Updated with Vin: 2FACP74W4PX114634 ## Mail History Id: 28783715, Consumer Id: 93147, Address Id: 51555 => Updated with Vin: 1ZVFT82H075365338 ## Mail History Id: 28783699, Consumer Id: 92929, Address Id: 51346 => Updated with Vin: 1FTPX14V87FA56880 ## Mail History Id: 28783687, Consumer Id: 93579, Address Id: 66954 => Updated with Vin: 1FAFP28126G113033 ## Mail History Id: 28783789, Consumer Id: 294635, Address Id: 4512320 => Updated with Vin: 1FTSW21P86ED81672 ## Mail History Id: 28783855, Consumer Id: 92531, Address Id: 50865 => Updated with Vin: 1FTPX14535FB47343 ## Mail History Id: 28783743, Consumer Id: 294633, Address Id: 48901 => Updated with Vin: 1FAHP32N28W133849 ## Mail History Id: 28783831, Consumer Id: 93429, Address Id: 51909 => Updated with Vin: 1FAHP24W18G126322 ## Mail History Id: 28783733, Consumer Id: 67632, Address Id: 50692 => Updated with Vin: 1FTPX14566FB23507 ## Total mail_history records updated with vin numbers: 36 out of 45 ============================================================ ====== Tracking Id: 704 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-17 10:16:21') AND us2_order_type_id = 3 ## Order found: 921 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 921 AND product_id = 143 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3416 ## Mailing found: '12863' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28397295, Consumer Id: 630280, Address Id: 3760531 => Updated with Vin: 1G6DP577070139460 ## Mail History Id: 28397187, Consumer Id: 625304, Address Id: 10933208 => Updated with Vin: 1G6KD57Y75U177900 ## Mail History Id: 28397255, Consumer Id: 630281, Address Id: 10933473 => Updated with Vin: 1G6AD4782D9213645 ## Mail History Id: 28397385, Consumer Id: 625820, Address Id: 1968976 => Updated with Vin: 1G6KD54Y54U100901 ## Mail History Id: 28397285, Consumer Id: 630275, Address Id: 3759576 => Updated with Vin: 1G1ZT54814F243291 ## Mail History Id: 28397191, Consumer Id: 625990, Address Id: 4778061 => Updated with Vin: 1G6DS57V380175934 ## Mail History Id: 28397337, Consumer Id: 630274, Address Id: 9033804 => Updated with Vin: 1GYEE637740190897 ## Mail History Id: 28397309, Consumer Id: 630278, Address Id: 11770709 => Updated with Vin: JTJHA31U240055278 ## Mail History Id: 28397225, Consumer Id: 630060, Address Id: 11770705 => Updated with Vin: 1G6DH577580193531 ## Mail History Id: 28397379, Consumer Id: 627199, Address Id: 11764756 => Updated with Vin: 1GYEE637750161868 ## Mail History Id: 28397329, Consumer Id: 640975, Address Id: 6874986 => Updated with Vin: 2CKDL73F576112336 ## Mail History Id: 28397277, Consumer Id: 629141, Address Id: 11769730 => Updated with Vin: 1LNHM97V2XY682478 ## Mail History Id: 28397301, Consumer Id: 629607, Address Id: 11770034 => Updated with Vin: 5GTEN13L788159574 ## Mail History Id: 28397409, Consumer Id: 630283, Address Id: 11770710 => Updated with Vin: 1G6DP577X60199597 ## Mail History Id: 28397219, Consumer Id: 630539, Address Id: 11771024 => Updated with Vin: 5GTEN13LX88151193 ## Mail History Id: 28397231, Consumer Id: 630061, Address Id: 11770706 => Updated with Vin: 1G6KD54Y93U190360 ## Mail History Id: 28397367, Consumer Id: 630293, Address Id: 1968633 => Updated with Vin: 5GTDN136468282977 ## Mail History Id: 28397263, Consumer Id: 630540, Address Id: 11771025 => Updated with Vin: 1GYEE437480183741 ## Mail History Id: 28397331, Consumer Id: 630287, Address Id: 11770711 => Updated with Vin: 1G6KD52B5RU304281 ## Mail History Id: 28397419, Consumer Id: 630277, Address Id: 11770708 => Updated with Vin: 1G6KD57Y37U155623 ## Mail History Id: 28397341, Consumer Id: 623666, Address Id: 1965848 => Updated with Vin: 1GYEE437080139574 ## Mail History Id: 28397281, Consumer Id: 630282, Address Id: 1962261 => Updated with Vin: 1G6DC67A650163935 ## Mail History Id: 28397247, Consumer Id: 623665, Address Id: 1960226 => Updated with Vin: 3GYEK62N66G146669 ## Mail History Id: 28397213, Consumer Id: 627211, Address Id: 11764762 => Updated with Vin: 1G6KF52Y2RU278348 ## Mail History Id: 28397271, Consumer Id: 630276, Address Id: 11770707 => Updated with Vin: 1G6EL12Y8XU610451 ## Mail History Id: 28397197, Consumer Id: 630286, Address Id: 1966722 => Updated with Vin: 1G6KD57Y46U107031 ## Mail History Id: 28397239, Consumer Id: 625212, Address Id: 1960012 => Updated with Vin: 1G6DP577X70174510 ## Mail History Id: 28397313, Consumer Id: 630284, Address Id: 1964173 => Updated with Vin: 1G6KY54922U153856 ## Mail History Id: 28397289, Consumer Id: 625378, Address Id: 1962927 => Updated with Vin: 1G6KD57Y47U188176 ## Mail History Id: 28397273, Consumer Id: 626043, Address Id: 1961721 => Updated with Vin: 1GYFK66838R221968 ## Mail History Id: 28397443, Consumer Id: 630294, Address Id: 11770714 => Updated with Vin: 1GYEK63N92R236620 ## Mail History Id: 28397307, Consumer Id: 629606, Address Id: 1963237 => Updated with Vin: 1G6KD57Y38U152402 ## Mail History Id: 28397445, Consumer Id: 630279, Address Id: 1970127 => Updated with Vin: 1G6KE57Y33U156116 ## Mail History Id: 28397399, Consumer Id: 627179, Address Id: 1969221 => Updated with Vin: 1G6KD54Y42U100403 ## Mail History Id: 28397421, Consumer Id: 630273, Address Id: 1969700 => Updated with Vin: 3GYFK66N04G142130 ## Mail History Id: 28397725, Consumer Id: 629605, Address Id: 8873986 => Updated with Vin: 1G6DT57V880192452 ## Mail History Id: 28397315, Consumer Id: 630285, Address Id: 3761098 => Updated with Vin: 5GTDN136368242888 ## Mail History Id: 28397327, Consumer Id: 627153, Address Id: 1964503 => Updated with Vin: 1GYEK63N16R104778 ## Mail History Id: 28397233, Consumer Id: 625471, Address Id: 11765982 => Updated with Vin: 1G6KD54Y24U252392 ## Total mail_history records updated with vin numbers: 39 out of 41 ============================================================ ====== Tracking Id: 705 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-17 10:36:27') AND us2_order_type_id = 3 ## Order found: 920 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 920 AND product_id = 140 ## Job Group Found: '411' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('411') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108006') AND customer_id = 3230 ## Mailing found: '12396' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783319, Consumer Id: 339301, Address Id: 47457 => Updated with Vin: 1FAHP24W48G138500 ## Mail History Id: 28783321, Consumer Id: 93051, Address Id: 51468 => Updated with Vin: 2G2WP522941289038 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 706 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-17 11:07:04') AND us2_order_type_id = 3 ## Order found: 922 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 922 AND product_id = 112 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3486 ## Mailing found: '12361' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395764, Consumer Id: 464643, Address Id: 9820619 => Updated with Vin: 2GCEK13T041348645 ## Mail History Id: 28395766, Consumer Id: 476281, Address Id: 8117294 => Updated with Vin: 1GNEC13R1VJ405970 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 707 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-17 11:09:28') AND us2_order_type_id = 3 ## Order found: 923 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 923 AND product_id = 144 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3705 ## Mailing found: '12865' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28396179, Consumer Id: 961201, Address Id: 10455171 => Updated with Vin: 2G1WF52E849203429 ## Mail History Id: 28397061, Consumer Id: 968695, Address Id: 14836466 => Updated with Vin: 2GCEK13M171516080 ## Mail History Id: 28397632, Consumer Id: 964621, Address Id: 14837120 => Updated with Vin: 1G1ZT51846F233099 ## Mail History Id: 28397666, Consumer Id: 967908, Address Id: 14839594 => Updated with Vin: 1GNFK13057R142783 ## Mail History Id: 28397806, Consumer Id: 967673, Address Id: 14839432 => Updated with Vin: 2CNDL63F066160886 ## Mail History Id: 28396549, Consumer Id: 968333, Address Id: 14839894 => Updated with Vin: 1GKFC13J47J126074 ## Mail History Id: 28397004, Consumer Id: 967907, Address Id: 14839593 => Updated with Vin: 3GCEK13MX7G509880 ## Mail History Id: 28397316, Consumer Id: 967901, Address Id: 9253509 => Updated with Vin: 1G1AK15F677189863 ## Mail History Id: 28397356, Consumer Id: 968572, Address Id: 14840077 => Updated with Vin: 3GNFC16J67G112743 ## Mail History Id: 28396436, Consumer Id: 972978, Address Id: 14840939 => Updated with Vin: 1GCEC19T86E144956 ## Mail History Id: 28398316, Consumer Id: 970375, Address Id: 14841371 => Updated with Vin: 2CKDL63F366167957 ## Mail History Id: 28396991, Consumer Id: 970633, Address Id: 14839952 => Updated with Vin: 1G4HE57Y87U179027 ## Mail History Id: 28396622, Consumer Id: 970692, Address Id: 14841643 => Updated with Vin: 2G2WP552271176581 ## Mail History Id: 28397962, Consumer Id: 970811, Address Id: 14841719 => Updated with Vin: 5Y2SL65817Z442180 ## Mail History Id: 28396188, Consumer Id: 971063, Address Id: 14841888 => Updated with Vin: 1G1ZS58F97F136991 ## Mail History Id: 28398294, Consumer Id: 972534, Address Id: 14842982 => Updated with Vin: 1C3EL46T03N502301 ## Mail History Id: 28396762, Consumer Id: 972545, Address Id: 14842991 => Updated with Vin: 2GCEC13Z761324282 ## Mail History Id: 28397808, Consumer Id: 972688, Address Id: 14843085 => Updated with Vin: 1G2ZF57B984257080 ## Mail History Id: 28397868, Consumer Id: 972849, Address Id: 14843190 => Updated with Vin: JTEBT14R148017391 ## Mail History Id: 28396627, Consumer Id: 972572, Address Id: 14843008 => Updated with Vin: 1G2ZF57BX84257945 ## Mail History Id: 28398002, Consumer Id: 972573, Address Id: 9672512 => Updated with Vin: 5GAER23738J234060 ## Mail History Id: 28396280, Consumer Id: 972574, Address Id: 14843009 => Updated with Vin: 1B3ES56C35D144285 ## Mail History Id: 28397688, Consumer Id: 972575, Address Id: 14831923 => Updated with Vin: 1G2MF35X88Y126180 ## Mail History Id: 28397016, Consumer Id: 972576, Address Id: 14843010 => Updated with Vin: 1G1ZT68N57F155032 ## Mail History Id: 28397087, Consumer Id: 972577, Address Id: 14843011 => Updated with Vin: 1GTEC19J67Z537492 ## Mail History Id: 28396186, Consumer Id: 972578, Address Id: 14843012 => Updated with Vin: 3GTEC13J58G261428 ## Mail History Id: 28397628, Consumer Id: 972580, Address Id: 14843013 => Updated with Vin: 1G2ZH361984261041 ## Mail History Id: 28397354, Consumer Id: 972910, Address Id: 9185725 => Updated with Vin: 1G1AK58F987281649 ## Mail History Id: 28396363, Consumer Id: 972929, Address Id: 14843250 => Updated with Vin: 1FTNW21P74ED50391 ## Mail History Id: 28398534, Consumer Id: 972949, Address Id: 14843263 => Updated with Vin: 1GNEC16Z52J167886 ## Mail History Id: 28397161, Consumer Id: 972674, Address Id: 14843076 => Updated with Vin: 2G4WE587581174863 ## Mail History Id: 28396945, Consumer Id: 972685, Address Id: 433459 => Updated with Vin: 1GKER237X8J196653 ## Mail History Id: 28396853, Consumer Id: 972706, Address Id: 14843097 => Updated with Vin: 5Y2SP67079Z412681 ## Mail History Id: 28396543, Consumer Id: 965522, Address Id: 14837804 => Updated with Vin: 3G5DA03L76S642938 ## Mail History Id: 28397905, Consumer Id: 972712, Address Id: 14843102 => Updated with Vin: 3G5DA03L76S642938 ## Mail History Id: 28397996, Consumer Id: 972742, Address Id: 14843119 => Updated with Vin: 1G1ZJ57B58F253602 ## Mail History Id: 28398140, Consumer Id: 972778, Address Id: 14843150 => Updated with Vin: 4T1BK46K77U545856 ## Mail History Id: 28396322, Consumer Id: 964359, Address Id: 14836871 => Updated with Vin: 1GNFC13J07R133575 ## Mail History Id: 28397498, Consumer Id: 972779, Address Id: 14843151 => Updated with Vin: 1GNFC13J07R133575 ## Mail History Id: 28398350, Consumer Id: 972947, Address Id: 14843262 => Updated with Vin: 1GCDS43E188211411 ## Mail History Id: 28398426, Consumer Id: 972973, Address Id: 14843273 => Updated with Vin: 1GTHC29U23E102208 ## Mail History Id: 28397871, Consumer Id: 972974, Address Id: 14843274 => Updated with Vin: 1FBSS31L81HA04804 ## Mail History Id: 28396652, Consumer Id: 972979, Address Id: 14843277 => Updated with Vin: 1GKES16S556125969 ## Mail History Id: 28397171, Consumer Id: 972982, Address Id: 14843279 => Updated with Vin: 3GNCA73X98S679001 ## Mail History Id: 28398042, Consumer Id: 973006, Address Id: 14843294 => Updated with Vin: 1GKEC13V66J123853 ## Mail History Id: 28396605, Consumer Id: 973018, Address Id: 14843304 => Updated with Vin: 1G1ZG57B98F250751 ## Mail History Id: 28397728, Consumer Id: 973021, Address Id: 14839581 => Updated with Vin: 1G2ZH17N884254393 ## Mail History Id: 28397908, Consumer Id: 973058, Address Id: 14843329 => Updated with Vin: 1G1ZG57BX8F250564 ## Mail History Id: 28396392, Consumer Id: 973938, Address Id: 14903201 => Updated with Vin: 1GKDT13S742251480 ## Mail History Id: 28397845, Consumer Id: 982556, Address Id: 14929907 => Updated with Vin: 1G2ZG57N584155475 ## Mail History Id: 28398452, Consumer Id: 1106564, Address Id: 14835944 => Updated with Vin: 1G2ZH36N084255406 ## Mail History Id: 28396565, Consumer Id: 1231399, Address Id: 15417107 => Updated with Vin: 1GKEC16Z56J142781 ## Mail History Id: 28397138, Consumer Id: 1626324, Address Id: 9252740 => Updated with Vin: 1GNFC13028R189526 ## Mail History Id: 28396812, Consumer Id: 979152, Address Id: 14845932 => Updated with Vin: 1G1YY32GX15123647 ## Mail History Id: 28396766, Consumer Id: 959985, Address Id: 14831179 => Updated with Vin: 1GNEC13T81R119279 ## Mail History Id: 28396173, Consumer Id: 960815, Address Id: 14831532 => Updated with Vin: 3G5DA03E42S563108 ## Mail History Id: 28397142, Consumer Id: 982869, Address Id: 14846788 => Updated with Vin: 1GKDS13S832387392 ## Mail History Id: 28397141, Consumer Id: 980904, Address Id: 14846781 => Updated with Vin: 6G2EC57Y68L988327 ## Mail History Id: 28396464, Consumer Id: 982855, Address Id: 14846786 => Updated with Vin: 5N1ED28T34C662370 ## Mail History Id: 28398584, Consumer Id: 982864, Address Id: 14846787 => Updated with Vin: 3G5DA03E25S536848 ## Mail History Id: 28396284, Consumer Id: 982871, Address Id: 14846791 => Updated with Vin: 1J8HG58N76C288546 ## Mail History Id: 28397534, Consumer Id: 982873, Address Id: 8060554 => Updated with Vin: 1G1ZJ57718F252443 ## Mail History Id: 28396936, Consumer Id: 979071, Address Id: 14844827 => Updated with Vin: 1GCCS14R2M8250725 ## Total mail_history records updated with vin numbers: 63 out of 64 ============================================================ ====== Tracking Id: 708 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-17 11:09:48') AND us2_order_type_id = 3 ## Order found: 923 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 923 AND product_id = 112 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3705 ## Mailing found: '12362' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395774, Consumer Id: 969579, Address Id: 14840814 => Updated with Vin: 2CNDL63F656181420 ## Mail History Id: 28395776, Consumer Id: 975124, Address Id: 14843622 => Updated with Vin: 2GCEC19TX41245026 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 709 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-17 11:36:37') AND us2_order_type_id = 3 ## Order found: 924 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 924 AND product_id = 142 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3357 ## Mailing found: '12862' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28398299, Consumer Id: 629912, Address Id: 11770516 => Updated with Vin: 3FAHP07Z87R217508 ## Mail History Id: 28398545, Consumer Id: 609854, Address Id: 11754744 => Updated with Vin: 3FAHP07188R228973 ## Mail History Id: 28398531, Consumer Id: 628982, Address Id: 11769577 => Updated with Vin: 3LNHM26T08R653732 ## Mail History Id: 28398573, Consumer Id: 635467, Address Id: 11776478 => Updated with Vin: 1FAFP42R03F426352 ## Mail History Id: 28398259, Consumer Id: 760624, Address Id: 11851827 => Updated with Vin: 2HGES16551H561267 ## Mail History Id: 28398309, Consumer Id: 189614, Address Id: 400833 => Updated with Vin: 1FTCR14X5LPA93691 ## Mail History Id: 28398477, Consumer Id: 187457, Address Id: 398175 => Updated with Vin: JM1NB353320229019 ## Mail History Id: 28398429, Consumer Id: 188678, Address Id: 400739 => Updated with Vin: 2FAFP74W93X163982 ## Mail History Id: 28398513, Consumer Id: 192509, Address Id: 402530 => Updated with Vin: JM3LW28AX40516948 ## Mail History Id: 28398447, Consumer Id: 496226, Address Id: 9830834 => Updated with Vin: 1MEFM50U02A610586 ## Mail History Id: 28398463, Consumer Id: 196955, Address Id: 405568 => Updated with Vin: 1FMYU02122KC36696 ## Mail History Id: 28398363, Consumer Id: 631037, Address Id: 405176 => Updated with Vin: 1FTYR10D42PB16281 ## Mail History Id: 28398567, Consumer Id: 420554, Address Id: 9800034 => Updated with Vin: 1B7HL38N72S590295 ## Mail History Id: 28398347, Consumer Id: 461733, Address Id: 873927 => Updated with Vin: 1FMYU60E32UD21799 ## Mail History Id: 28398579, Consumer Id: 154753, Address Id: 396884 => Updated with Vin: JTDDR32T930161287 ## Mail History Id: 28398359, Consumer Id: 193887, Address Id: 403406 => Updated with Vin: 1YVFP80C735M45531 ## Mail History Id: 28398441, Consumer Id: 631041, Address Id: 403042 => Updated with Vin: 2FTRF07333CB04873 ## Mail History Id: 28398501, Consumer Id: 631036, Address Id: 11771105 => Updated with Vin: 1FAFP45X13F317974 ## Mail History Id: 28398335, Consumer Id: 189433, Address Id: 401943 => Updated with Vin: JM1FE173040114880 ## Mail History Id: 28398547, Consumer Id: 187287, Address Id: 398072 => Updated with Vin: 2FMZA51453BA82020 ## Mail History Id: 28398461, Consumer Id: 193902, Address Id: 395209 => Updated with Vin: 1FTNW20L64EE03631 ## Mail History Id: 28398577, Consumer Id: 195415, Address Id: 404690 => Updated with Vin: 1FMCU04134KB19932 ## Mail History Id: 28398365, Consumer Id: 187808, Address Id: 398485 => Updated with Vin: 1FMZU63W14ZA96040 ## Mail History Id: 28398345, Consumer Id: 174103, Address Id: 445942 => Updated with Vin: 1G1YY24U055116192 ## Mail History Id: 28398353, Consumer Id: 631039, Address Id: 874645 => Updated with Vin: 1LNHM87A95Y633623 ## Mail History Id: 28398321, Consumer Id: 192906, Address Id: 402629 => Updated with Vin: JM1CR29L860107205 ## Mail History Id: 28398389, Consumer Id: 153751, Address Id: 395967 => Updated with Vin: JM1GG12LX61103310 ## Mail History Id: 28398387, Consumer Id: 152457, Address Id: 394784 => Updated with Vin: 1ZVHT82H765168187 ## Mail History Id: 28398263, Consumer Id: 196000, Address Id: 405299 => Updated with Vin: 1FTWW31PX6EB49033 ## Mail History Id: 28398381, Consumer Id: 152889, Address Id: 395186 => Updated with Vin: 1FMCU95H16KA52668 ## Mail History Id: 28398337, Consumer Id: 631032, Address Id: 11771101 => Updated with Vin: 3N1CB51D06L593606 ## Mail History Id: 28398247, Consumer Id: 629914, Address Id: 11770517 => Updated with Vin: 1FMFU205X6LA35931 ## Mail History Id: 28398403, Consumer Id: 154995, Address Id: 397088 => Updated with Vin: JM3TB28C070116706 ## Mail History Id: 28398453, Consumer Id: 154912, Address Id: 395320 => Updated with Vin: JM3ER29L270154117 ## Mail History Id: 28398377, Consumer Id: 154500, Address Id: 396656 => Updated with Vin: JM1FE173370212032 ## Mail History Id: 28398275, Consumer Id: 153533, Address Id: 395773 => Updated with Vin: JM1BK32G271622232 ## Mail History Id: 28398241, Consumer Id: 197444, Address Id: 405803 => Updated with Vin: JM1BK34M171653894 ## Mail History Id: 28398557, Consumer Id: 154495, Address Id: 394395 => Updated with Vin: 1YVHP82D975M36415 ## Mail History Id: 28398411, Consumer Id: 471301, Address Id: 9830109 => Updated with Vin: 2LMDU88C37BJ30656 ## Mail History Id: 28398407, Consumer Id: 195552, Address Id: 404888 => Updated with Vin: 1FMCU49H17KA36811 ## Mail History Id: 28398581, Consumer Id: 155464, Address Id: 397514 => Updated with Vin: 1FTPX12567KD45282 ## Mail History Id: 28398589, Consumer Id: 155805, Address Id: 397839 => Updated with Vin: JM1NC26F180146990 ## Mail History Id: 28398231, Consumer Id: 155695, Address Id: 397732 => Updated with Vin: JM1CR29L080303576 ## Mail History Id: 28398475, Consumer Id: 820039, Address Id: 11909516 => Updated with Vin: JM1BK32G481133655 ## Mail History Id: 28398457, Consumer Id: 820041, Address Id: 6902544 => Updated with Vin: JM1BK32G181135816 ## Mail History Id: 28398317, Consumer Id: 155102, Address Id: 397187 => Updated with Vin: JM1BK32G381779477 ## Mail History Id: 28398237, Consumer Id: 460253, Address Id: 6401279 => Updated with Vin: JM1BK32G581878737 ## Mail History Id: 28398297, Consumer Id: 189072, Address Id: 399322 => Updated with Vin: 1FMFU18L8YLB11484 ## Mail History Id: 28398443, Consumer Id: 196370, Address Id: 406184 => Updated with Vin: 4M2DU52P2XUJ28993 ## Mail History Id: 28398585, Consumer Id: 187493, Address Id: 398194 => Updated with Vin: 1FMFU17L03LB42206 ## Mail History Id: 28398549, Consumer Id: 460764, Address Id: 9819013 => Updated with Vin: 1ZVHT84N085183376 ## Mail History Id: 28398517, Consumer Id: 631035, Address Id: 11771104 => Updated with Vin: 1HGCP36798A004179 ## Mail History Id: 28398583, Consumer Id: 910268, Address Id: 11940557 => Updated with Vin: 2FMDK39CX8BA92668 ## Mail History Id: 28398539, Consumer Id: 910267, Address Id: 11940556 => Updated with Vin: 1FTYR10D68PA79792 ## Mail History Id: 28398361, Consumer Id: 460561, Address Id: 9818750 => Updated with Vin: 1NXBR32E18Z040242 ## Mail History Id: 28398497, Consumer Id: 194420, Address Id: 404796 => Updated with Vin: 2FMZA576X4BA52876 ## Mail History Id: 28398273, Consumer Id: 609710, Address Id: 11754565 => Updated with Vin: 1FALP62W6SH151657 ## Mail History Id: 28398331, Consumer Id: 196408, Address Id: 398920 => Updated with Vin: 1FMDU35P7VZC31795 ## Mail History Id: 28398465, Consumer Id: 194916, Address Id: 399479 => Updated with Vin: 1FMPU18L7WLB38726 ## Mail History Id: 28398559, Consumer Id: 193931, Address Id: 400087 => Updated with Vin: 5LMPU28L7WLJ53634 ## Mail History Id: 28398535, Consumer Id: 631034, Address Id: 11771103 => Updated with Vin: 2FMZA514XXBA13104 ## Mail History Id: 28398525, Consumer Id: 631033, Address Id: 11771102 => Updated with Vin: JTDBT1230Y0046324 ## Mail History Id: 28398333, Consumer Id: 631031, Address Id: 11771100 => Updated with Vin: 19UUA5666YA049511 ## Mail History Id: 28398329, Consumer Id: 496216, Address Id: 406549 => Updated with Vin: 1FTRX08L7YKA26225 ## Total mail_history records updated with vin numbers: 64 out of 65 ============================================================ ====== Tracking Id: 710 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-17 12:09:56') AND us2_order_type_id = 3 ## Order found: 926 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 926 AND product_id = 112 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3427 ## Mailing found: '12359' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395780, Consumer Id: 493419, Address Id: 9828782 => Updated with Vin: 1HGCG5540WA049429 ## Mail History Id: 28395782, Consumer Id: 511965, Address Id: 9844563 => Updated with Vin: 5FNRL38776B037803 ## Mail History Id: 28395784, Consumer Id: 500011, Address Id: 8540159 => Updated with Vin: SHSRD78864U226249 ## Mail History Id: 28395786, Consumer Id: 503321, Address Id: 9838950 => Updated with Vin: 5FNRL38705B016354 ## Mail History Id: 28395788, Consumer Id: 498796, Address Id: 9832686 => Updated with Vin: 2HKYF18754H543779 ## Mail History Id: 28395790, Consumer Id: 513945, Address Id: 9845708 => Updated with Vin: 1HGCD5669TA067724 ## Mail History Id: 28395792, Consumer Id: 472062, Address Id: 9833688 => Updated with Vin: 1HGCM56746A109925 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 711 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-17 12:10:08') AND us2_order_type_id = 3 ## Order found: 926 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 926 AND product_id = 113 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3427 ## Mailing found: '12359' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395812, Consumer Id: 518903, Address Id: 9828305 => Updated with Vin: JHLRE48727C036446 ## Mail History Id: 28395814, Consumer Id: 498079, Address Id: 9832170 => Updated with Vin: 1HGCG2258WA007425 ## Mail History Id: 28395816, Consumer Id: 504259, Address Id: 9839767 => Updated with Vin: JHMES96655S005950 ## Mail History Id: 28395820, Consumer Id: 475055, Address Id: 8195309 => Updated with Vin: 5J6RE48747L002063 ## Mail History Id: 28395822, Consumer Id: 483208, Address Id: 9837744 => Updated with Vin: 1FMZU73K95UA97485 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 712 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-17 12:10:14') AND us2_order_type_id = 3 ## Order found: 927 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 927 AND product_id = 143 ## Job Group Found: '396' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('396') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808001') AND customer_id = 3471 ## Mailing found: '12864' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28398055, Consumer Id: 802550, Address Id: 7415578 => Updated with Vin: 1GYEK63N82R321156 ## Mail History Id: 28397999, Consumer Id: 760358, Address Id: 10210678 => Updated with Vin: 1G6KD57Y57U161553 ## Mail History Id: 28398201, Consumer Id: 803045, Address Id: 11872232 => Updated with Vin: 1G6KD54Y8XU745336 ## Mail History Id: 28398151, Consumer Id: 760214, Address Id: 10216919 => Updated with Vin: 3GYEK62N74G267448 ## Mail History Id: 28398123, Consumer Id: 803874, Address Id: 10214928 => Updated with Vin: 1GYEK63N43R237109 ## Mail History Id: 28398139, Consumer Id: 803656, Address Id: 11872684 => Updated with Vin: 1G6KD52B4RU308466 ## Mail History Id: 28398217, Consumer Id: 804603, Address Id: 11873021 => Updated with Vin: 1GHDX13E01D238252 ## Mail History Id: 28398073, Consumer Id: 821583, Address Id: 7416032 => Updated with Vin: 1GYEK63N64R251806 ## Mail History Id: 28398067, Consumer Id: 821681, Address Id: 10214216 => Updated with Vin: 1GHDT13W1V2725983 ## Mail History Id: 28398223, Consumer Id: 821673, Address Id: 11878503 => Updated with Vin: 1GYEK63N55R195343 ## Mail History Id: 28398097, Consumer Id: 822141, Address Id: 11876330 => Updated with Vin: 1GYFK66857R242867 ## Mail History Id: 28397987, Consumer Id: 807018, Address Id: 11876723 => Updated with Vin: 1GYEK63N72R175302 ## Mail History Id: 28398155, Consumer Id: 806984, Address Id: 11876384 => Updated with Vin: 1GYEK63N75R191794 ## Mail History Id: 28398057, Consumer Id: 816884, Address Id: 7415627 => Updated with Vin: 1GYEK63N75R166037 ## Total mail_history records updated with vin numbers: 14 out of 17 ============================================================ ====== Tracking Id: 713 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-17 12:10:26') AND us2_order_type_id = 3 ## Order found: 926 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 926 AND product_id = 114 ## Job Group Found: '399' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('399') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm071808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm071808004') AND customer_id = 3427 ## Mailing found: '12359' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28395846, Consumer Id: 502177, Address Id: 9837808 => Updated with Vin: 2HKRL18642H515912 ## Mail History Id: 28395850, Consumer Id: 500854, Address Id: 9835635 => Updated with Vin: 1HGCD5621RA105596 ## Mail History Id: 28395852, Consumer Id: 491021, Address Id: 9826969 => Updated with Vin: 5FNRL18763B006381 ## Mail History Id: 28395854, Consumer Id: 482466, Address Id: 8539878 => Updated with Vin: 1HGCM56397A182142 ## Mail History Id: 28395856, Consumer Id: 482470, Address Id: 9827912 => Updated with Vin: 1HGES26721L045720 ## Total mail_history records updated with vin numbers: 5 out of 7 ============================================================ ====== Tracking Id: 714 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-17 19:06:35') AND us2_order_type_id = 3 ## Order found: 924 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 924 AND product_id = 55 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 715 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-18 08:06:53') AND us2_order_type_id = 3 ## Order found: 950 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 950 AND product_id = 55 ## Job Group Found: '407' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('407') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108002') AND customer_id = 3230 ## Mailing found: '12383' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 716 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-18 08:36:37') AND us2_order_type_id = 3 ## Order found: 950 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 950 AND product_id = 113 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3230 ## Mailing found: '12389' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783346, Consumer Id: 92837, Address Id: 51259 => Updated with Vin: 1FAHP24147G138273 ## Mail History Id: 28783350, Consumer Id: 64728, Address Id: 49399 => Updated with Vin: 1FTNF21595ED25363 ## Mail History Id: 28783352, Consumer Id: 93498, Address Id: 51986 => Updated with Vin: 1FMCU94198KC38739 ## Mail History Id: 28783354, Consumer Id: 67397, Address Id: 49976 => Updated with Vin: 1FTZR45E66PA02683 ## Mail History Id: 28783356, Consumer Id: 63603, Address Id: 48560 => Updated with Vin: 1FTRW08L53KA57131 ## Mail History Id: 28783358, Consumer Id: 103777, Address Id: 53839 => Updated with Vin: 1G3NL12F12C106785 ## Total mail_history records updated with vin numbers: 6 out of 9 ============================================================ ====== Tracking Id: 717 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-18 08:36:50') AND us2_order_type_id = 3 ## Order found: 950 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 950 AND product_id = 143 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3230 ## Mailing found: '12364' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783797, Consumer Id: 92884, Address Id: 48057 => Updated with Vin: 1FTZR45EX3PB10185 ## Mail History Id: 28783697, Consumer Id: 93499, Address Id: 50789 => Updated with Vin: 2FMDK49C17BA38745 ## Mail History Id: 28783595, Consumer Id: 283206, Address Id: 52492 => Updated with Vin: 1FTZR15E48PA74077 ## Mail History Id: 28783779, Consumer Id: 167601, Address Id: 47504 => Updated with Vin: 1MEFM50U52A651232 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 718 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-18 09:09:17') AND us2_order_type_id = 3 ## Order found: 951 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 951 AND product_id = 142 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3768 ## Mailing found: '12369' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783585, Consumer Id: 1050928, Address Id: 14954565 => Updated with Vin: W06VR54RXYR006818 ## Total mail_history records updated with vin numbers: 1 out of 4 ============================================================ ====== Tracking Id: 719 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-18 10:09:55') AND us2_order_type_id = 3 ## Order found: 952 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 952 AND product_id = 143 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3416 ## Mailing found: '12366' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783627, Consumer Id: 630819, Address Id: 11771032 => Updated with Vin: 1GYEE637X40162706 ## Mail History Id: 28783615, Consumer Id: 625722, Address Id: 1960521 => Updated with Vin: 1GYEE637740174652 ## Mail History Id: 28783683, Consumer Id: 625826, Address Id: 1969911 => Updated with Vin: 1G6DT57V780155487 ## Mail History Id: 28783645, Consumer Id: 630825, Address Id: 10934484 => Updated with Vin: 1GYEE437480180015 ## Mail History Id: 28783609, Consumer Id: 663170, Address Id: 11782876 => Updated with Vin: 1G6DT57V780189235 ## Mail History Id: 28783607, Consumer Id: 630811, Address Id: 11771028 => Updated with Vin: 1G6KD57Y66U134733 ## Mail History Id: 28783681, Consumer Id: 628682, Address Id: 11766258 => Updated with Vin: 1G6DW677450144716 ## Mail History Id: 28783629, Consumer Id: 630804, Address Id: 1963296 => Updated with Vin: 1GYEE63A360211680 ## Mail History Id: 28783637, Consumer Id: 630828, Address Id: 1964529 => Updated with Vin: 1G6KD54Y31U212866 ## Mail History Id: 28783649, Consumer Id: 630807, Address Id: 11771027 => Updated with Vin: 1G6KD54Y93U266319 ## Mail History Id: 28783677, Consumer Id: 626008, Address Id: 1969703 => Updated with Vin: 1G6KD57Y76U112482 ## Mail History Id: 28783695, Consumer Id: 630800, Address Id: 1970364 => Updated with Vin: 1G6DM57N530123949 ## Mail History Id: 28783661, Consumer Id: 630801, Address Id: 1969097 => Updated with Vin: 1G6KD54Y4YU355156 ## Mail History Id: 28783633, Consumer Id: 685573, Address Id: 1963765 => Updated with Vin: 1G6KF57942U266998 ## Mail History Id: 28783605, Consumer Id: 630808, Address Id: 1966387 => Updated with Vin: 1G6DM577640142979 ## Mail History Id: 28783621, Consumer Id: 630821, Address Id: 11771033 => Updated with Vin: 1G6DP567850228093 ## Mail History Id: 28783641, Consumer Id: 630806, Address Id: 4775283 => Updated with Vin: 1G6KS54Y13U242201 ## Mail History Id: 28783617, Consumer Id: 1006632, Address Id: 1960606 => Updated with Vin: 1G6KD57Y57U173055 ## Mail History Id: 28783589, Consumer Id: 630822, Address Id: 11771034 => Updated with Vin: 5GTDN136368294361 ## Mail History Id: 28783623, Consumer Id: 630805, Address Id: 6870547 => Updated with Vin: 1GYFK63877R244981 ## Mail History Id: 28783663, Consumer Id: 640970, Address Id: 11776685 => Updated with Vin: 5GTDN13E978121131 ## Mail History Id: 28783635, Consumer Id: 630803, Address Id: 11771026 => Updated with Vin: 4T1BE32K35U558205 ## Total mail_history records updated with vin numbers: 22 out of 56 ============================================================ ====== Tracking Id: 720 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-18 10:36:26') AND us2_order_type_id = 3 ## Order found: 950 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 950 AND product_id = 140 ## Job Group Found: '411' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('411') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108006') AND customer_id = 3230 ## Mailing found: '12396' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783316, Consumer Id: 604746, Address Id: 11754149 => Updated with Vin: 2FMDK49C38BA84949 ## Mail History Id: 28783318, Consumer Id: 92543, Address Id: 50879 => Updated with Vin: 1FMZK01186GA33736 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 721 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-18 11:09:59') AND us2_order_type_id = 3 ## Order found: 953 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 953 AND product_id = 144 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3705 ## Mailing found: '12368' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783708, Consumer Id: 973176, Address Id: 14836165 => Updated with Vin: 2G4WS52J341251415 ## Mail History Id: 28783716, Consumer Id: 975338, Address Id: 14843767 => Updated with Vin: 1G4HR54K84U231563 ## Mail History Id: 28783682, Consumer Id: 974990, Address Id: 14838587 => Updated with Vin: 3GNEC16Z55G181826 ## Mail History Id: 28783704, Consumer Id: 965803, Address Id: 14838005 => Updated with Vin: 1GKFC13087R140956 ## Mail History Id: 28783632, Consumer Id: 974919, Address Id: 14843491 => Updated with Vin: 2GTEC13T751204928 ## Mail History Id: 28783648, Consumer Id: 960356, Address Id: 14831868 => Updated with Vin: 2G2WC54C351323719 ## Mail History Id: 28783883, Consumer Id: 961414, Address Id: 10272075 => Updated with Vin: 3GKEC16Z25G191324 ## Mail History Id: 28783584, Consumer Id: 964620, Address Id: 14837119 => Updated with Vin: 1GTEC19X36Z251182 ## Mail History Id: 28783652, Consumer Id: 964619, Address Id: 10552071 => Updated with Vin: 3GCEC14X56G235895 ## Mail History Id: 28783702, Consumer Id: 966752, Address Id: 14838719 => Updated with Vin: 1G2ZM551864215223 ## Mail History Id: 28783656, Consumer Id: 967903, Address Id: 10552076 => Updated with Vin: 1GNFC13J57R345436 ## Mail History Id: 28783640, Consumer Id: 968574, Address Id: 14840079 => Updated with Vin: 3GNDA33P07S571989 ## Mail History Id: 28783620, Consumer Id: 968923, Address Id: 14840312 => Updated with Vin: 3GNDA23D17S601713 ## Mail History Id: 28783706, Consumer Id: 969352, Address Id: 14840610 => Updated with Vin: 1GKFK668X7J378632 ## Mail History Id: 28783724, Consumer Id: 969711, Address Id: 14840909 => Updated with Vin: 3GNDA13D88S518162 ## Mail History Id: 28783658, Consumer Id: 969704, Address Id: 14840904 => Updated with Vin: 2CKDL63F076088537 ## Mail History Id: 28783662, Consumer Id: 970368, Address Id: 14841365 => Updated with Vin: 3GNDA13D08S517250 ## Mail History Id: 28783672, Consumer Id: 970632, Address Id: 14841605 => Updated with Vin: 1GKFK66867J377462 ## Mail History Id: 28783588, Consumer Id: 970688, Address Id: 14841641 => Updated with Vin: 1GKFC13J77R330028 ## Mail History Id: 28783634, Consumer Id: 971050, Address Id: 14841879 => Updated with Vin: 3GNDA13D28S532963 ## Mail History Id: 28783606, Consumer Id: 971039, Address Id: 14841870 => Updated with Vin: 1GNFC13008R147338 ## Mail History Id: 28783660, Consumer Id: 971048, Address Id: 14841877 => Updated with Vin: 1G1AL15F677257849 ## Mail History Id: 28783680, Consumer Id: 971473, Address Id: 14842159 => Updated with Vin: KL1TG66626B650315 ## Mail History Id: 28783726, Consumer Id: 971045, Address Id: 14841874 => Updated with Vin: 1GTEC19JX8Z115906 ## Mail History Id: 28783642, Consumer Id: 971056, Address Id: 14841884 => Updated with Vin: 1GKER13788J176864 ## Mail History Id: 28783630, Consumer Id: 971608, Address Id: 8325986 => Updated with Vin: 3GCEC13J78G181886 ## Mail History Id: 28783636, Consumer Id: 971727, Address Id: 4942478 => Updated with Vin: 1GCEC14X28Z174850 ## Mail History Id: 28783666, Consumer Id: 971960, Address Id: 14842521 => Updated with Vin: 1G2ZG58N374143693 ## Mail History Id: 28783594, Consumer Id: 972159, Address Id: 14842662 => Updated with Vin: 1GKFC16048R150302 ## Mail History Id: 28783604, Consumer Id: 971989, Address Id: 14842534 => Updated with Vin: 1GNDV33107D204283 ## Mail History Id: 28783909, Consumer Id: 972004, Address Id: 14842547 => Updated with Vin: 1GKFK63848J146016 ## Mail History Id: 28783893, Consumer Id: 972587, Address Id: 14843019 => Updated with Vin: 1GKER23728J180950 ## Mail History Id: 28783722, Consumer Id: 972588, Address Id: 14835742 => Updated with Vin: 2G1WC583181248960 ## Mail History Id: 28783638, Consumer Id: 972609, Address Id: 14843035 => Updated with Vin: 5Y2SR67079Z412934 ## Mail History Id: 28783690, Consumer Id: 974567, Address Id: 9864023 => Updated with Vin: 1GNEC13Z94R265019 ## Mail History Id: 28783686, Consumer Id: 972738, Address Id: 14834759 => Updated with Vin: 2G4WE587481156791 ## Mail History Id: 28783897, Consumer Id: 972766, Address Id: 14843140 => Updated with Vin: 3GNDA23DX8S532893 ## Mail History Id: 28783674, Consumer Id: 972936, Address Id: 9672858 => Updated with Vin: 5Y2SP67849Z412935 ## Mail History Id: 28783885, Consumer Id: 975078, Address Id: 9169209 => Updated with Vin: 2G4WF5210X1585099 ## Mail History Id: 28783626, Consumer Id: 973196, Address Id: 14836180 => Updated with Vin: 1GTCS145918172761 ## Mail History Id: 28783895, Consumer Id: 980947, Address Id: 14846773 => Updated with Vin: 2G4WS52J421278555 ## Mail History Id: 28783624, Consumer Id: 982844, Address Id: 14846772 => Updated with Vin: 3GNEC13T62G105771 ## Mail History Id: 28783616, Consumer Id: 960872, Address Id: 14831576 => Updated with Vin: 1G4BN5374PR403304 ## Mail History Id: 28783887, Consumer Id: 980835, Address Id: 3079184 => Updated with Vin: 1GYEC63T43R112204 ## Mail History Id: 28783592, Consumer Id: 973585, Address Id: 14840005 => Updated with Vin: 1G1YY32G1W5112561 ## Mail History Id: 28783692, Consumer Id: 959810, Address Id: 11389239 => Updated with Vin: 1GTHC23G51F150618 ## Mail History Id: 28783889, Consumer Id: 960223, Address Id: 14831361 => Updated with Vin: 2GTEC19T211144350 ## Mail History Id: 28783694, Consumer Id: 973289, Address Id: 14836943 => Updated with Vin: 1G2WK52J92F173849 ## Mail History Id: 28783596, Consumer Id: 960839, Address Id: 14831549 => Updated with Vin: 1GNEC13Z83R106264 ## Mail History Id: 28783903, Consumer Id: 966003, Address Id: 14838146 => Updated with Vin: 1GCDS136168197708 ## Mail History Id: 28783696, Consumer Id: 975218, Address Id: 14843687 => Updated with Vin: 1G1ZT54864F110154 ## Mail History Id: 28783586, Consumer Id: 975344, Address Id: 14843770 => Updated with Vin: 2G2WR524941186875 ## Mail History Id: 28783720, Consumer Id: 975549, Address Id: 14843895 => Updated with Vin: 3GNEC16Z15G151268 ## Mail History Id: 28783714, Consumer Id: 977563, Address Id: 14845075 => Updated with Vin: 2GCEC13V261290202 ## Mail History Id: 28783700, Consumer Id: 977886, Address Id: 11389415 => Updated with Vin: 2GTEC13T461106067 ## Mail History Id: 28783622, Consumer Id: 979490, Address Id: 14846121 => Updated with Vin: 2G1WT58K669425797 ## Mail History Id: 28783590, Consumer Id: 979689, Address Id: 11386542 => Updated with Vin: 1GKEC13T16R128233 ## Mail History Id: 28783688, Consumer Id: 979846, Address Id: 14846326 => Updated with Vin: 3GNEC12017G118877 ## Mail History Id: 28783676, Consumer Id: 980183, Address Id: 14846530 => Updated with Vin: 1GKER23758J156447 ## Mail History Id: 28783877, Consumer Id: 982849, Address Id: 14846785 => Updated with Vin: 1GKEC13Z74R159214 ## Mail History Id: 28783628, Consumer Id: 982843, Address Id: 14846784 => Updated with Vin: 3GNEC12097G136611 ## Mail History Id: 28783664, Consumer Id: 982836, Address Id: 14846780 => Updated with Vin: 3GNDA23P26S601793 ## Mail History Id: 28783712, Consumer Id: 982834, Address Id: 14846782 => Updated with Vin: 1GKFC13JX7R132947 ## Mail History Id: 28783899, Consumer Id: 982784, Address Id: 10155045 => Updated with Vin: 1GCGC13U97F107484 ## Mail History Id: 28783698, Consumer Id: 982845, Address Id: 14846779 => Updated with Vin: 1GNDS13S222409419 ## Mail History Id: 28783684, Consumer Id: 982840, Address Id: 14846783 => Updated with Vin: 1G1AK55F277323615 ## Mail History Id: 28783670, Consumer Id: 982842, Address Id: 14846790 => Updated with Vin: 3GYEK62N65G271380 ## Mail History Id: 28783610, Consumer Id: 1027497, Address Id: 14941173 => Updated with Vin: 3GNFC16J07G115556 ## Mail History Id: 28783608, Consumer Id: 979072, Address Id: 14845889 => Updated with Vin: 3GNDA23D56S599253 ## Mail History Id: 28783646, Consumer Id: 982839, Address Id: 14846771 => Updated with Vin: 3GNDA33P37S570786 ## Mail History Id: 28783710, Consumer Id: 979502, Address Id: 14846130 => Updated with Vin: 3GNDA13D47S597067 ## Mail History Id: 28783891, Consumer Id: 982833, Address Id: 11481753 => Updated with Vin: 3GTEC13J08G267024 ## Mail History Id: 28783618, Consumer Id: 982838, Address Id: 9159977 => Updated with Vin: 1J4FY19S1WP800670 ## Total mail_history records updated with vin numbers: 73 out of 116 ============================================================ ====== Tracking Id: 722 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-18 11:10:12') AND us2_order_type_id = 3 ## Order found: 953 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 953 AND product_id = 112 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3705 ## Mailing found: '12394' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783374, Consumer Id: 975171, Address Id: 14843654 => Updated with Vin: 1GNEC13Z24R166218 ## Mail History Id: 28783376, Consumer Id: 975586, Address Id: 14843921 => Updated with Vin: 1GKEC16Z64R227269 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 723 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-18 11:10:25') AND us2_order_type_id = 3 ## Order found: 953 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 953 AND product_id = 106 ## Job Group Found: '409' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('409') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108004') AND customer_id = 3705 ## Mailing found: '12386' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783326, Consumer Id: 962231, Address Id: 14835141 => Updated with Vin: 5GADV33L75D175003 ## Mail History Id: 28783327, Consumer Id: 962230, Address Id: 14831966 => Updated with Vin: 1GCCS136758102661 ## Mail History Id: 28783328, Consumer Id: 970015, Address Id: 14841117 => Updated with Vin: 1GNEC13V15J239589 ## Mail History Id: 28783329, Consumer Id: 960763, Address Id: 14831488 => Updated with Vin: 1G4HR54K83U253349 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 724 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-18 11:36:42') AND us2_order_type_id = 3 ## Order found: 954 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 954 AND product_id = 142 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3357 ## Mailing found: '12365' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783904, Consumer Id: 640635, Address Id: 11776486 => Updated with Vin: JM1FE173670213028 ## Mail History Id: 28783878, Consumer Id: 640625, Address Id: 11776481 => Updated with Vin: 1HGCG22562A005909 ## Mail History Id: 28783906, Consumer Id: 640627, Address Id: 11776482 => Updated with Vin: 3D7MA48634G137827 ## Mail History Id: 28783874, Consumer Id: 152114, Address Id: 394470 => Updated with Vin: 4F2CZ94155KM23582 ## Mail History Id: 28783898, Consumer Id: 152600, Address Id: 394920 => Updated with Vin: 1YVHP80C865M03818 ## Mail History Id: 28783876, Consumer Id: 195746, Address Id: 405029 => Updated with Vin: JM1BK344271613405 ## Mail History Id: 28783872, Consumer Id: 197761, Address Id: 405821 => Updated with Vin: 1FAHP34N47W146517 ## Mail History Id: 28783870, Consumer Id: 191192, Address Id: 398544 => Updated with Vin: 1FAFP58S42A134828 ## Mail History Id: 28783858, Consumer Id: 197356, Address Id: 406504 => Updated with Vin: 1LNFM82WXWY716019 ## Mail History Id: 28783896, Consumer Id: 198745, Address Id: 406612 => Updated with Vin: 2FAFP74W5WX112838 ## Mail History Id: 28783880, Consumer Id: 187707, Address Id: 398277 => Updated with Vin: 1LNFM97V0WY675521 ## Total mail_history records updated with vin numbers: 11 out of 18 ============================================================ ====== Tracking Id: 725 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-18 12:09:16') AND us2_order_type_id = 3 ## Order found: 955 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 955 AND product_id = 112 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3427 ## Mailing found: '12391' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783386, Consumer Id: 494505, Address Id: 325610 => Updated with Vin: JHLRD1847YC012930 ## Mail History Id: 28783388, Consumer Id: 500598, Address Id: 9835508 => Updated with Vin: 2HGES15134H589328 ## Mail History Id: 28783390, Consumer Id: 491751, Address Id: 9827542 => Updated with Vin: JHMES95653S024075 ## Mail History Id: 28783392, Consumer Id: 496777, Address Id: 9831243 => Updated with Vin: 1HGCM56613A068186 ## Mail History Id: 28783394, Consumer Id: 510275, Address Id: 9835101 => Updated with Vin: 2HKRL186X2H560711 ## Mail History Id: 28783396, Consumer Id: 509062, Address Id: 9842737 => Updated with Vin: 5FNRL38425B418334 ## Mail History Id: 28783398, Consumer Id: 491409, Address Id: 8195606 => Updated with Vin: 1HGCM665X3A059483 ## Mail History Id: 28783400, Consumer Id: 507926, Address Id: 9842021 => Updated with Vin: 1HGCG16541A026650 ## Mail History Id: 28783402, Consumer Id: 501842, Address Id: 9829770 => Updated with Vin: 1HGCM56354A134231 ## Mail History Id: 28783404, Consumer Id: 509232, Address Id: 7555214 => Updated with Vin: 5FNYF18445B048642 ## Mail History Id: 28783406, Consumer Id: 471953, Address Id: 8194981 => Updated with Vin: SHSRD78856U422976 ## Mail History Id: 28783408, Consumer Id: 472886, Address Id: 9834463 => Updated with Vin: 1HGCM564X6A164269 ## Mail History Id: 28783410, Consumer Id: 514169, Address Id: 9845837 => Updated with Vin: JHLRD2848WC016861 ## Total mail_history records updated with vin numbers: 13 out of 16 ============================================================ ====== Tracking Id: 726 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-18 12:09:28') AND us2_order_type_id = 3 ## Order found: 955 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 955 AND product_id = 114 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3427 ## Mailing found: '12391' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783416, Consumer Id: 495578, Address Id: 9830379 => Updated with Vin: 1HGCG56672A170436 ## Mail History Id: 28783418, Consumer Id: 498393, Address Id: 9832392 => Updated with Vin: JHMAP11431T004551 ## Mail History Id: 28783420, Consumer Id: 515294, Address Id: 9846506 => Updated with Vin: 2HKRL1865XH549218 ## Mail History Id: 28783422, Consumer Id: 502257, Address Id: 9831534 => Updated with Vin: 2HGES16534H618795 ## Mail History Id: 28783424, Consumer Id: 504202, Address Id: 329403 => Updated with Vin: 5FNYF18645B009065 ## Mail History Id: 28783426, Consumer Id: 497961, Address Id: 327984 => Updated with Vin: 1HGCM72213A029208 ## Mail History Id: 28783428, Consumer Id: 507812, Address Id: 9841941 => Updated with Vin: 2HKYF18614H608523 ## Mail History Id: 28783430, Consumer Id: 495577, Address Id: 9830378 => Updated with Vin: 1HGES26731L042468 ## Mail History Id: 28783432, Consumer Id: 504542, Address Id: 8195584 => Updated with Vin: JNKCV51E34M612499 ## Mail History Id: 28783434, Consumer Id: 503355, Address Id: 9838959 => Updated with Vin: 1HGCM66504A054410 ## Mail History Id: 28783436, Consumer Id: 506578, Address Id: 327066 => Updated with Vin: 5FNYF18565B023914 ## Mail History Id: 28783438, Consumer Id: 517131, Address Id: 327782 => Updated with Vin: 1HGCM82603A036790 ## Total mail_history records updated with vin numbers: 12 out of 13 ============================================================ ====== Tracking Id: 727 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-18 12:09:31') AND us2_order_type_id = 3 ## Order found: 956 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 956 AND product_id = 143 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3471 ## Mailing found: '12367' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783804, Consumer Id: 806890, Address Id: 11876491 => Updated with Vin: 3GYFK62857G302670 ## Mail History Id: 28783828, Consumer Id: 823305, Address Id: 4553541 => Updated with Vin: 1GYFK668X7R375124 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 728 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-18 12:09:42') AND us2_order_type_id = 3 ## Order found: 956 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 956 AND product_id = 112 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3471 ## Mailing found: '12392' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783468, Consumer Id: 807427, Address Id: 11872484 => Updated with Vin: 1G6DC67A450133753 ## Mail History Id: 28783470, Consumer Id: 801422, Address Id: 10217117 => Updated with Vin: 1G6KE54Y0YU334379 ## Mail History Id: 28783472, Consumer Id: 800821, Address Id: 10218227 => Updated with Vin: 1G6KF57911U100260 ## Mail History Id: 28783474, Consumer Id: 820910, Address Id: 10216284 => Updated with Vin: 1GYEK63N75R270897 ## Mail History Id: 28783476, Consumer Id: 818133, Address Id: 10217138 => Updated with Vin: 1GYEK63N95R189268 ## Mail History Id: 28783478, Consumer Id: 773051, Address Id: 11871593 => Updated with Vin: 1G6DM57N930132458 ## Mail History Id: 28783480, Consumer Id: 798844, Address Id: 10216168 => Updated with Vin: 1GYEK63N93R275676 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 729 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3792 AND DATE(cart_created_date) = DATE('2008-07-18 14:55:30') AND us2_order_type_id = 3 ## Order found: 957 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 957 AND product_id = 54 ## Job Group Found: '404' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('404') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda070908001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda070908001a') AND customer_id = 3792 ## Mailing found: '12282' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 730 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-19 08:06:58') AND us2_order_type_id = 3 ## Order found: 959 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 959 AND product_id = 55 ## Job Group Found: '407' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('407') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108002') AND customer_id = 3230 ## Mailing found: '12383' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 731 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-19 08:36:39') AND us2_order_type_id = 3 ## Order found: 959 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 959 AND product_id = 113 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3230 ## Mailing found: '12389' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783496, Consumer Id: 63646, Address Id: 49043 => Updated with Vin: 1FMZU77E91UA33350 ## Mail History Id: 28783498, Consumer Id: 66125, Address Id: 53005 => Updated with Vin: 1FMYU93173KC26363 ## Mail History Id: 28783500, Consumer Id: 66172, Address Id: 49734 => Updated with Vin: 1FTPW14505FA77903 ## Mail History Id: 28783502, Consumer Id: 66826, Address Id: 50399 => Updated with Vin: 1FMEU73E26ZA28506 ## Total mail_history records updated with vin numbers: 4 out of 7 ============================================================ ====== Tracking Id: 732 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-19 08:36:52') AND us2_order_type_id = 3 ## Order found: 959 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 959 AND product_id = 143 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3230 ## Mailing found: '12364' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783745, Consumer Id: 103301, Address Id: 48247 => Updated with Vin: 1FMDU34X8SUA12757 ## Mail History Id: 28783807, Consumer Id: 65568, Address Id: 49863 => Updated with Vin: 1FTWW31P16EA66557 ## Mail History Id: 28783869, Consumer Id: 92580, Address Id: 50949 => Updated with Vin: 1FTPW14V96FB71389 ## Mail History Id: 28783719, Consumer Id: 38442, Address Id: 49107 => Updated with Vin: 1FTSX21P05EC38758 ## Mail History Id: 28783821, Consumer Id: 66915, Address Id: 50057 => Updated with Vin: 3FAHP081X6R103307 ## Mail History Id: 28783857, Consumer Id: 38534, Address Id: 51656 => Updated with Vin: 1FTPW14V27KC80141 ## Mail History Id: 28783861, Consumer Id: 92877, Address Id: 51293 => Updated with Vin: 1FTPX14V97FA22169 ## Mail History Id: 28783601, Consumer Id: 274608, Address Id: 53223 => Updated with Vin: 1FTPX145X6FB35160 ## Mail History Id: 28783597, Consumer Id: 63439, Address Id: 47237 => Updated with Vin: 1FTSW31F02EC61372 ## Mail History Id: 28783759, Consumer Id: 274607, Address Id: 52992 => Updated with Vin: 1FMZU73K13ZB02212 ## Mail History Id: 28783693, Consumer Id: 66108, Address Id: 52516 => Updated with Vin: 1FMCU94165KC09856 ## Mail History Id: 28783829, Consumer Id: 63540, Address Id: 47635 => Updated with Vin: 3FAHP39563R175670 ## Mail History Id: 28783843, Consumer Id: 63945, Address Id: 51371 => Updated with Vin: 1FMFU18L74LA76477 ## Mail History Id: 28783809, Consumer Id: 63482, Address Id: 48887 => Updated with Vin: 1FTNW21P84EB62186 ## Mail History Id: 28783813, Consumer Id: 93003, Address Id: 47855 => Updated with Vin: 1FTPW14V07FB04231 ## Mail History Id: 28783805, Consumer Id: 93031, Address Id: 51458 => Updated with Vin: 1FTSX21R48EB33274 ## Mail History Id: 28783803, Consumer Id: 63085, Address Id: 50181 => Updated with Vin: 1FMYU03164KA96170 ## Mail History Id: 28783691, Consumer Id: 67109, Address Id: 48179 => Updated with Vin: 1FAFP53264A215274 ## Mail History Id: 28783815, Consumer Id: 66564, Address Id: 48031 => Updated with Vin: 1FAFP53S8XG298367 ## Mail History Id: 28783775, Consumer Id: 100707, Address Id: 47867 => Updated with Vin: 1FTNX21F0XEE69974 ## Mail History Id: 28783827, Consumer Id: 63614, Address Id: 48536 => Updated with Vin: 1FTNX21P34EB18917 ## Mail History Id: 28783769, Consumer Id: 93257, Address Id: 48105 => Updated with Vin: 1FMCU93148KB47024 ## Mail History Id: 28783785, Consumer Id: 103050, Address Id: 53515 => Updated with Vin: 3FAFP07156R107161 ## Mail History Id: 28783773, Consumer Id: 103744, Address Id: 48033 => Updated with Vin: 1FTWW31R48EB53468 ## Mail History Id: 28783749, Consumer Id: 103730, Address Id: 51934 => Updated with Vin: 1MEFM53UXXA607309 ## Mail History Id: 28783755, Consumer Id: 64970, Address Id: 47884 => Updated with Vin: 1FAFP55U51G195915 ## Mail History Id: 28783753, Consumer Id: 63323, Address Id: 52482 => Updated with Vin: 1FTSW31F51EC68154 ## Mail History Id: 28783825, Consumer Id: 63489, Address Id: 47752 => Updated with Vin: 1FMZU73K64ZA06531 ## Mail History Id: 28783701, Consumer Id: 64471, Address Id: 47924 => Updated with Vin: 1LNLM83W9VY633567 ## Mail History Id: 28783709, Consumer Id: 93090, Address Id: 51519 => Updated with Vin: 1FAHP34N67W191071 ## Mail History Id: 28783867, Consumer Id: 93246, Address Id: 51740 => Updated with Vin: 1FTPW14V27FB39935 ## Total mail_history records updated with vin numbers: 31 out of 37 ============================================================ ====== Tracking Id: 733 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-19 09:09:25') AND us2_order_type_id = 3 ## Order found: 960 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 960 AND product_id = 142 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3768 ## Mailing found: '12369' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 734 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-19 10:09:21') AND us2_order_type_id = 3 ## Order found: 961 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 961 AND product_id = 143 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3416 ## Mailing found: '12366' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783659, Consumer Id: 640974, Address Id: 3763017 => Updated with Vin: 1GNDX03E93D174870 ## Mail History Id: 28783681, Consumer Id: 628682, Address Id: 11766258 => Updated with Vin: 1G6DW677450144716 ## Mail History Id: 28783677, Consumer Id: 626008, Address Id: 1969703 => Updated with Vin: 1G6KD57Y76U112482 ## Mail History Id: 28783613, Consumer Id: 662415, Address Id: 10933450 => Updated with Vin: 5GTEN13E888186333 ## Total mail_history records updated with vin numbers: 4 out of 11 ============================================================ ====== Tracking Id: 735 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-19 10:36:27') AND us2_order_type_id = 3 ## Order found: 959 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 959 AND product_id = 140 ## Job Group Found: '411' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('411') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108006') AND customer_id = 3230 ## Mailing found: '12396' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783320, Consumer Id: 92714, Address Id: 49646 => Updated with Vin: 1FAHP34N67W182547 ## Mail History Id: 28783322, Consumer Id: 103390, Address Id: 47275 => Updated with Vin: 1FAFP34N55W310636 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 736 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-19 11:06:41') AND us2_order_type_id = 3 ## Order found: 962 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 962 AND product_id = 112 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3486 ## Mailing found: '12393' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783520, Consumer Id: 463907, Address Id: 2001977 => Updated with Vin: 2G1WH52KX39425128 ## Mail History Id: 28783522, Consumer Id: 481154, Address Id: 1033925 => Updated with Vin: 1GNEC13Z44J234663 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 737 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-19 11:08:41') AND us2_order_type_id = 3 ## Order found: 963 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 963 AND product_id = 144 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3705 ## Mailing found: '12368' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783905, Consumer Id: 973357, Address Id: 14837658 => Updated with Vin: 1GNDS13S942323236 ## Mail History Id: 28783650, Consumer Id: 974730, Address Id: 14843363 => Updated with Vin: 1GNEC13T25R147696 ## Mail History Id: 28783612, Consumer Id: 966984, Address Id: 14838898 => Updated with Vin: 2CNDL63F966167352 ## Mail History Id: 28783728, Consumer Id: 968575, Address Id: 14840080 => Updated with Vin: 1G4HE57Y76U220004 ## Mail History Id: 28783678, Consumer Id: 968920, Address Id: 14840310 => Updated with Vin: 1GCHK23677F532832 ## Mail History Id: 28783614, Consumer Id: 968921, Address Id: 14840311 => Updated with Vin: 2GCEC13J771698872 ## Mail History Id: 28783600, Consumer Id: 970809, Address Id: 14831520 => Updated with Vin: 1G1ZS58F57F311236 ## Mail History Id: 28783644, Consumer Id: 970808, Address Id: 8065811 => Updated with Vin: 1G4HD57207U101050 ## Mail History Id: 28783722, Consumer Id: 972588, Address Id: 14835742 => Updated with Vin: 2G1WC583181248960 ## Mail History Id: 28783638, Consumer Id: 972609, Address Id: 14843035 => Updated with Vin: 5Y2SR67079Z412934 ## Mail History Id: 28783879, Consumer Id: 972610, Address Id: 14843036 => Updated with Vin: 1G1ZT68N47F121051 ## Mail History Id: 28783718, Consumer Id: 972794, Address Id: 14843160 => Updated with Vin: 2GTEC13J881252103 ## Mail History Id: 28783895, Consumer Id: 980947, Address Id: 14846773 => Updated with Vin: 2G4WS52J421278555 ## Mail History Id: 28783654, Consumer Id: 960720, Address Id: 14831454 => Updated with Vin: 1G4HP54K3Y4242983 ## Mail History Id: 28783881, Consumer Id: 973135, Address Id: 14835464 => Updated with Vin: 2G4WS52J131173151 ## Mail History Id: 28783598, Consumer Id: 982848, Address Id: 14846792 => Updated with Vin: 1GTGC29R0TE541429 ## Mail History Id: 28783602, Consumer Id: 982846, Address Id: 14835732 => Updated with Vin: 1FTRX07L5YKB30486 ## Mail History Id: 28783710, Consumer Id: 979502, Address Id: 14846130 => Updated with Vin: 3GNDA13D47S597067 ## Total mail_history records updated with vin numbers: 18 out of 40 ============================================================ ====== Tracking Id: 738 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-19 11:08:52') AND us2_order_type_id = 3 ## Order found: 963 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 963 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 739 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-19 11:36:39') AND us2_order_type_id = 3 ## Order found: 964 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 964 AND product_id = 142 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3357 ## Mailing found: '12365' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783882, Consumer Id: 192450, Address Id: 402206 => Updated with Vin: JM1BJ222910439876 ## Mail History Id: 28783884, Consumer Id: 187220, Address Id: 398008 => Updated with Vin: 1FMYU60E33UB47847 ## Mail History Id: 28783900, Consumer Id: 153877, Address Id: 396083 => Updated with Vin: JM1BK344871638776 ## Mail History Id: 28783872, Consumer Id: 197950, Address Id: 405821 => Updated with Vin: 1ZVHT85H875237272 ## Mail History Id: 28783902, Consumer Id: 199690, Address Id: 407798 => Updated with Vin: 1FMCU93178KC70168 ## Mail History Id: 28783890, Consumer Id: 193555, Address Id: 403346 => Updated with Vin: 2FMDA5149WBA34681 ## Mail History Id: 28783864, Consumer Id: 193608, Address Id: 403572 => Updated with Vin: 1FMZU35P1WZA67807 ## Mail History Id: 28783888, Consumer Id: 188223, Address Id: 400179 => Updated with Vin: 1FMPU18L8XLA34053 ## Total mail_history records updated with vin numbers: 8 out of 10 ============================================================ ====== Tracking Id: 740 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-19 11:36:42') AND us2_order_type_id = 3 ## Order found: 964 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 964 AND product_id = 112 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3357 ## Mailing found: '12390' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 741 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-19 12:09:03') AND us2_order_type_id = 3 ## Order found: 965 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 965 AND product_id = 112 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3427 ## Mailing found: '12391' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783347, Consumer Id: 517057, Address Id: 9836837 => Updated with Vin: SHSRD78966U436166 ## Mail History Id: 28783351, Consumer Id: 493605, Address Id: 9828902 => Updated with Vin: 2HKRL18551H585733 ## Mail History Id: 28783353, Consumer Id: 493589, Address Id: 9828891 => Updated with Vin: JHLRD18741C005708 ## Mail History Id: 28783355, Consumer Id: 505758, Address Id: 9840642 => Updated with Vin: 2HGES15145H552144 ## Mail History Id: 28783357, Consumer Id: 475253, Address Id: 8195329 => Updated with Vin: 1HGCM665X4A021589 ## Total mail_history records updated with vin numbers: 5 out of 7 ============================================================ ====== Tracking Id: 742 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-19 12:09:19') AND us2_order_type_id = 3 ## Order found: 966 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 966 AND product_id = 143 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3471 ## Mailing found: '12367' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783822, Consumer Id: 798396, Address Id: 10217587 => Updated with Vin: 1G6KE57Y81U139261 ## Mail History Id: 28783848, Consumer Id: 800120, Address Id: 11870719 => Updated with Vin: 1G6CD53B1M4207171 ## Mail History Id: 28783770, Consumer Id: 821499, Address Id: 7416593 => Updated with Vin: 1GYEE637460214690 ## Mail History Id: 28783734, Consumer Id: 798946, Address Id: 7877968 => Updated with Vin: 1G6KS54Y32U238942 ## Mail History Id: 28783778, Consumer Id: 803005, Address Id: 7416860 => Updated with Vin: 1G3WH52K8XF338753 ## Mail History Id: 28783776, Consumer Id: 798520, Address Id: 7416856 => Updated with Vin: 1G6KE57Y31U254267 ## Mail History Id: 28783768, Consumer Id: 807605, Address Id: 7416384 => Updated with Vin: 1GHDT13W6V2715109 ## Mail History Id: 28783816, Consumer Id: 799416, Address Id: 10217361 => Updated with Vin: 1G3WX52H82F100014 ## Mail History Id: 28783740, Consumer Id: 821862, Address Id: 7878127 => Updated with Vin: 1G6KY54992U249127 ## Mail History Id: 28783810, Consumer Id: 797935, Address Id: 10216884 => Updated with Vin: 1G6KD54Y2VU239496 ## Mail History Id: 28783784, Consumer Id: 800350, Address Id: 7416927 => Updated with Vin: 1GYEK63N22R224664 ## Mail History Id: 28783762, Consumer Id: 798329, Address Id: 7416205 => Updated with Vin: 1G6DM57N330167397 ## Mail History Id: 28783774, Consumer Id: 760256, Address Id: 7416727 => Updated with Vin: 1G6KD54Y43U255325 ## Mail History Id: 28783800, Consumer Id: 822158, Address Id: 11873967 => Updated with Vin: 1GYFK66877R308318 ## Mail History Id: 28783846, Consumer Id: 804610, Address Id: 11873023 => Updated with Vin: 1G6DM577240109722 ## Mail History Id: 28783780, Consumer Id: 1530260, Address Id: 15925563 => Updated with Vin: 1GYFK63877R259500 ## Mail History Id: 28783802, Consumer Id: 818122, Address Id: 10561806 => Updated with Vin: 1GYEK63N66R106817 ## Mail History Id: 28783812, Consumer Id: 760294, Address Id: 10216324 => Updated with Vin: 1G6KD54Y4WU721033 ## Mail History Id: 28783752, Consumer Id: 821721, Address Id: 11876302 => Updated with Vin: 1GYFK66847R248269 ## Mail History Id: 28783808, Consumer Id: 822766, Address Id: 10216784 => Updated with Vin: 1G6DM577240114550 ## Mail History Id: 28783742, Consumer Id: 804114, Address Id: 7878213 => Updated with Vin: 1G6KD54Y61U143509 ## Total mail_history records updated with vin numbers: 21 out of 32 ============================================================ ====== Tracking Id: 743 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-19 12:09:41') AND us2_order_type_id = 3 ## Order found: 966 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 966 AND product_id = 112 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3471 ## Mailing found: '12392' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783377, Consumer Id: 805051, Address Id: 10214818 => Updated with Vin: 1G6ET12901B102163 ## Mail History Id: 28783379, Consumer Id: 807228, Address Id: 11874364 => Updated with Vin: 1G6KD54Y72U176102 ## Mail History Id: 28783381, Consumer Id: 798091, Address Id: 11869711 => Updated with Vin: 1G6KY5492XU932875 ## Mail History Id: 28783383, Consumer Id: 820580, Address Id: 7878564 => Updated with Vin: 1G6KD57YX6U145668 ## Mail History Id: 28783385, Consumer Id: 804593, Address Id: 7416510 => Updated with Vin: 1G6KY54991U268615 ## Mail History Id: 28783387, Consumer Id: 805914, Address Id: 10214257 => Updated with Vin: 1G6KS54YX1U117579 ## Mail History Id: 28783389, Consumer Id: 817231, Address Id: 10217794 => Updated with Vin: 6G2VX12G34L287993 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 744 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-19 12:09:45') AND us2_order_type_id = 3 ## Order found: 965 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 965 AND product_id = 114 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3427 ## Mailing found: '12391' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783435, Consumer Id: 507376, Address Id: 9841651 => Updated with Vin: 2HGES26715H540414 ## Mail History Id: 28783437, Consumer Id: 493437, Address Id: 7555029 => Updated with Vin: 2HKRL1867YH593769 ## Mail History Id: 28783439, Consumer Id: 498001, Address Id: 9832112 => Updated with Vin: 1HGCM66584A016908 ## Mail History Id: 28783441, Consumer Id: 509080, Address Id: 9834221 => Updated with Vin: JHLRD1862YC042984 ## Mail History Id: 28783443, Consumer Id: 502003, Address Id: 9837317 => Updated with Vin: 1HGEG8652RL047143 ## Mail History Id: 28783445, Consumer Id: 499739, Address Id: 9834062 => Updated with Vin: 1HGCG1652WA077815 ## Mail History Id: 28783447, Consumer Id: 507979, Address Id: 9842055 => Updated with Vin: 2HKYF18553H580389 ## Mail History Id: 28783449, Consumer Id: 510309, Address Id: 326560 => Updated with Vin: 1HGEM21991L023099 ## Mail History Id: 28783451, Consumer Id: 492045, Address Id: 9827755 => Updated with Vin: 1HGCG56422A022497 ## Mail History Id: 28783453, Consumer Id: 505005, Address Id: 7552342 => Updated with Vin: 1HGEJ6678YL035102 ## Mail History Id: 28783455, Consumer Id: 513098, Address Id: 9845225 => Updated with Vin: 2HKRL18681H623447 ## Mail History Id: 28783457, Consumer Id: 475469, Address Id: 8195773 => Updated with Vin: 1HGFA16827L091017 ## Total mail_history records updated with vin numbers: 12 out of 12 ============================================================ ====== Tracking Id: 745 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-19 12:09:58') AND us2_order_type_id = 3 ## Order found: 965 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 965 AND product_id = 113 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3427 ## Mailing found: '12391' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783489, Consumer Id: 509759, Address Id: 7552727 => Updated with Vin: 5FNRL18993B089807 ## Mail History Id: 28783491, Consumer Id: 493242, Address Id: 9828648 => Updated with Vin: 2HKRL18692H527456 ## Mail History Id: 28783493, Consumer Id: 506736, Address Id: 325476 => Updated with Vin: SHSRD78815U323506 ## Mail History Id: 28783495, Consumer Id: 492517, Address Id: 9828108 => Updated with Vin: 1HGCG6695YA118716 ## Mail History Id: 28783497, Consumer Id: 497559, Address Id: 9829136 => Updated with Vin: 1HGCB7144PA004981 ## Mail History Id: 28783499, Consumer Id: 508013, Address Id: 9842075 => Updated with Vin: 5FNYF18465B032992 ## Mail History Id: 28783501, Consumer Id: 511262, Address Id: 9844131 => Updated with Vin: 1HGEG8649SL067323 ## Mail History Id: 28783503, Consumer Id: 504763, Address Id: 9840227 => Updated with Vin: 5FNYF18575B016261 ## Mail History Id: 28783505, Consumer Id: 508615, Address Id: 327869 => Updated with Vin: 1HGCM56435A138577 ## Mail History Id: 28783507, Consumer Id: 498934, Address Id: 9832785 => Updated with Vin: SHSRD78894U219067 ## Mail History Id: 28783509, Consumer Id: 491013, Address Id: 9826963 => Updated with Vin: 1HGCG6675YA036094 ## Mail History Id: 28783511, Consumer Id: 497104, Address Id: 9831478 => Updated with Vin: 1HGCG2248YA022761 ## Mail History Id: 28783513, Consumer Id: 473981, Address Id: 8194671 => Updated with Vin: 5FNRL38637B419030 ## Total mail_history records updated with vin numbers: 13 out of 14 ============================================================ ====== Tracking Id: 746 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-19 19:06:55') AND us2_order_type_id = 3 ## Order found: 964 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 964 AND product_id = 55 ## Job Group Found: '407' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('407') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108002') AND customer_id = 3357 ## Mailing found: '12384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783557, Consumer Id: 1389142, Address Id: 15678208 => Updated with Vin: 1FTYR44U48PB00070 ## Mail History Id: 28783559, Consumer Id: 1389613, Address Id: 397494 => Updated with Vin: 1FTYR10D28PB08222 ## Mail History Id: 28783561, Consumer Id: 1438930, Address Id: 15809874 => Updated with Vin: 1FMZU62E55ZA68686 ## Mail History Id: 28783563, Consumer Id: 1288059, Address Id: 396080 => Updated with Vin: JM1BK344181164431 ## Mail History Id: 28783565, Consumer Id: 1389615, Address Id: 15680342 => Updated with Vin: 1ZVHT82H975302702 ## Mail History Id: 28783567, Consumer Id: 1376209, Address Id: 15677916 => Updated with Vin: 1YVHP80C075M28696 ## Mail History Id: 28783569, Consumer Id: 1438928, Address Id: 15809873 => Updated with Vin: 3FAHP07Z67R189904 ## Mail History Id: 28783571, Consumer Id: 1291539, Address Id: 15534024 => Updated with Vin: 1FAFP34N77W207074 ## Mail History Id: 28783573, Consumer Id: 1290253, Address Id: 15533338 => Updated with Vin: JM3TB38V480145604 ## Mail History Id: 28783575, Consumer Id: 1345361, Address Id: 9818748 => Updated with Vin: JM3TB28V180147479 ## Mail History Id: 28783528, Consumer Id: 1414214, Address Id: 15706334 => Updated with Vin: JM3TB28V380147662 ## Mail History Id: 28783530, Consumer Id: 1266510, Address Id: 11715547 => Updated with Vin: JM1NC26F280153382 ## Mail History Id: 28783532, Consumer Id: 1310958, Address Id: 396445 => Updated with Vin: JM3TB28V680155741 ## Mail History Id: 28783534, Consumer Id: 1266508, Address Id: 15449883 => Updated with Vin: JM3TB38V980157781 ## Mail History Id: 28783536, Consumer Id: 1438926, Address Id: 397524 => Updated with Vin: JM1BK324481153782 ## Mail History Id: 28783538, Consumer Id: 1904295, Address Id: 15925594 => Updated with Vin: JM1FE173880214182 ## Mail History Id: 28783540, Consumer Id: 1345364, Address Id: 15620026 => Updated with Vin: JM1CR29L280323537 ## Mail History Id: 28783542, Consumer Id: 1389611, Address Id: 15680341 => Updated with Vin: JM1BK32G281117907 ## Mail History Id: 28783544, Consumer Id: 1310961, Address Id: 15560369 => Updated with Vin: JM1BK32G681140199 ## Mail History Id: 28783548, Consumer Id: 1290247, Address Id: 15533335 => Updated with Vin: JM1BK32G681159285 ## Mail History Id: 28783550, Consumer Id: 1266506, Address Id: 15449881 => Updated with Vin: JM1BK344581161659 ## Mail History Id: 28783552, Consumer Id: 1414216, Address Id: 405613 => Updated with Vin: JM1BK32G681164471 ## Mail History Id: 28783554, Consumer Id: 1266509, Address Id: 15449884 => Updated with Vin: JM1BK32G081165101 ## Mail History Id: 28783556, Consumer Id: 1288064, Address Id: 15465716 => Updated with Vin: JM1BK344281165264 ## Mail History Id: 28783558, Consumer Id: 1290249, Address Id: 10849251 => Updated with Vin: JM1BK344181168012 ## Mail History Id: 28783560, Consumer Id: 1310959, Address Id: 399288 => Updated with Vin: JM1BK344881168928 ## Mail History Id: 28783562, Consumer Id: 1376208, Address Id: 15677915 => Updated with Vin: JM1BK32GX81172377 ## Mail History Id: 28783564, Consumer Id: 1376213, Address Id: 6903945 => Updated with Vin: 1YVHP80C785M40779 ## Mail History Id: 28783566, Consumer Id: 1291538, Address Id: 15534023 => Updated with Vin: 1FTRX12W18FB78454 ## Mail History Id: 28783568, Consumer Id: 1669629, Address Id: 15925596 => Updated with Vin: 3FAHP06Z28R228961 ## Mail History Id: 28783570, Consumer Id: 1414215, Address Id: 15706335 => Updated with Vin: 3LNHM26T38R654969 ## Mail History Id: 28783572, Consumer Id: 1291531, Address Id: 15534016 => Updated with Vin: 1FAHP34N68W193680 ## Mail History Id: 28783574, Consumer Id: 1389612, Address Id: 11092794 => Updated with Vin: 1FAHP35N78W289171 ## Mail History Id: 28783576, Consumer Id: 1376212, Address Id: 15677919 => Updated with Vin: JM1FE172690400652 ## Total mail_history records updated with vin numbers: 34 out of 36 ============================================================ ====== Tracking Id: 747 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-20 08:36:41') AND us2_order_type_id = 3 ## Order found: 967 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 967 AND product_id = 113 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3230 ## Mailing found: '12389' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783360, Consumer Id: 103776, Address Id: 53838 => Updated with Vin: 1FTPX14V57FA56805 ## Mail History Id: 28783362, Consumer Id: 93456, Address Id: 50236 => Updated with Vin: 1FTPW14V28FA42168 ## Mail History Id: 28783364, Consumer Id: 101914, Address Id: 51169 => Updated with Vin: 1FAFP3432YW294141 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 748 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-20 08:36:54') AND us2_order_type_id = 3 ## Order found: 967 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 967 AND product_id = 143 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3230 ## Mailing found: '12364' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783727, Consumer Id: 65622, Address Id: 49742 => Updated with Vin: 1FTZR45E65PA43135 ## Mail History Id: 28783721, Consumer Id: 63499, Address Id: 47975 => Updated with Vin: 1FTRW08L03KC70049 ## Mail History Id: 28783599, Consumer Id: 66056, Address Id: 49651 => Updated with Vin: 1FTSW21P35EA70195 ## Mail History Id: 28783595, Consumer Id: 283206, Address Id: 52492 => Updated with Vin: 1FTZR15E48PA74077 ## Mail History Id: 28783863, Consumer Id: 66907, Address Id: 49287 => Updated with Vin: 1FAFP34N46W121705 ## Mail History Id: 28783725, Consumer Id: 93352, Address Id: 51837 => Updated with Vin: 1FALP5841SA275988 ## Mail History Id: 28783841, Consumer Id: 66504, Address Id: 53080 => Updated with Vin: 3FAFP31342R228303 ## Mail History Id: 28783591, Consumer Id: 93172, Address Id: 49735 => Updated with Vin: 1FTWX31R58EB63990 ## Mail History Id: 28783809, Consumer Id: 274587, Address Id: 48887 => Updated with Vin: 1FAHP35N38W175314 ## Mail History Id: 28783847, Consumer Id: 64860, Address Id: 50082 => Updated with Vin: 1FTPX14544NA36188 ## Mail History Id: 28783689, Consumer Id: 294630, Address Id: 4512301 => Updated with Vin: 2MELM75WXNX755736 ## Mail History Id: 28783869, Consumer Id: 92727, Address Id: 50949 => Updated with Vin: 2FMZA58244BA49709 ## Mail History Id: 28783779, Consumer Id: 64068, Address Id: 47504 => Updated with Vin: 1FAFP53S3XG169565 ## Mail History Id: 28783771, Consumer Id: 294639, Address Id: 47414 => Updated with Vin: 1MEFM50U13G613088 ## Mail History Id: 28783761, Consumer Id: 63730, Address Id: 52499 => Updated with Vin: 1FMZK05165GA10366 ## Mail History Id: 28783781, Consumer Id: 67062, Address Id: 50694 => Updated with Vin: 1FTWW31P06EA24722 ## Mail History Id: 28783751, Consumer Id: 92755, Address Id: 48891 => Updated with Vin: 1FMYU931X7KB87984 ## Mail History Id: 28783791, Consumer Id: 63292, Address Id: 48449 => Updated with Vin: 1FAFP55U04G113187 ## Mail History Id: 28783801, Consumer Id: 93129, Address Id: 51542 => Updated with Vin: 1ZVHT85H375356766 ## Mail History Id: 28783823, Consumer Id: 66782, Address Id: 50311 => Updated with Vin: 1FTPX14565NA37196 ## Mail History Id: 28783811, Consumer Id: 294631, Address Id: 4512309 => Updated with Vin: 1FTNW21F31EA51631 ## Mail History Id: 28783703, Consumer Id: 294656, Address Id: 50795 => Updated with Vin: 2G2WP522X51205164 ## Mail History Id: 28783705, Consumer Id: 103653, Address Id: 53773 => Updated with Vin: 1FAFP53205A161066 ## Mail History Id: 28783713, Consumer Id: 67715, Address Id: 50758 => Updated with Vin: 1FAFP24186G187952 ## Mail History Id: 28783707, Consumer Id: 93236, Address Id: 51733 => Updated with Vin: 2FMDK39C87BB35578 ## Mail History Id: 28783711, Consumer Id: 92981, Address Id: 51404 => Updated with Vin: 1FAHP24147G160385 ## Mail History Id: 28783717, Consumer Id: 66532, Address Id: 51139 => Updated with Vin: 1FAFP34N75W251508 ## Total mail_history records updated with vin numbers: 27 out of 34 ============================================================ ====== Tracking Id: 749 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-20 09:08:42') AND us2_order_type_id = 3 ## Order found: 968 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 968 AND product_id = 142 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3768 ## Mailing found: '12369' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783587, Consumer Id: 1116667, Address Id: 8829188 => Updated with Vin: 1G6KS53B9NU839743 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 750 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-20 10:08:13') AND us2_order_type_id = 3 ## Order found: 969 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 969 AND product_id = 143 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3416 ## Mailing found: '12366' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783681, Consumer Id: 628682, Address Id: 11766258 => Updated with Vin: 1G6DW677450144716 ## Mail History Id: 28783677, Consumer Id: 626008, Address Id: 1969703 => Updated with Vin: 1G6KD57Y76U112482 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 751 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-20 11:06:37') AND us2_order_type_id = 3 ## Order found: 970 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 970 AND product_id = 112 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3486 ## Mailing found: '12393' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783366, Consumer Id: 465539, Address Id: 9820900 => Updated with Vin: 2CNDL13F956085414 ## Mail History Id: 28783368, Consumer Id: 477119, Address Id: 8119657 => Updated with Vin: 3GNEC16Z24G112820 ## Mail History Id: 28783370, Consumer Id: 490107, Address Id: 4372479 => Updated with Vin: 1GNEC13V34J299601 ## Mail History Id: 28783372, Consumer Id: 466937, Address Id: 2461117 => Updated with Vin: 1G1JF524827240156 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 752 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-20 11:08:06') AND us2_order_type_id = 3 ## Order found: 971 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 971 AND product_id = 144 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3705 ## Mailing found: '12368' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 753 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-20 11:08:10') AND us2_order_type_id = 3 ## Order found: 971 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 971 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 754 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-20 11:36:40') AND us2_order_type_id = 3 ## Order found: 972 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 972 AND product_id = 112 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3357 ## Mailing found: '12390' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783412, Consumer Id: 198228, Address Id: 405971 => Updated with Vin: 1FTRW08L81KE64826 ## Mail History Id: 28783414, Consumer Id: 153307, Address Id: 395562 => Updated with Vin: 1FMEU62E36UA60065 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 755 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-20 12:08:07') AND us2_order_type_id = 3 ## Order found: 973 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 973 AND product_id = 113 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3427 ## Mailing found: '12391' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783440, Consumer Id: 496533, Address Id: 9830900 => Updated with Vin: 1HGCM56613A040680 ## Mail History Id: 28783442, Consumer Id: 512054, Address Id: 325279 => Updated with Vin: 2HGFG12846H517631 ## Mail History Id: 28783444, Consumer Id: 492905, Address Id: 9827247 => Updated with Vin: 4S6CK58V3V4403929 ## Mail History Id: 28783446, Consumer Id: 504460, Address Id: 9831626 => Updated with Vin: JHMES96655S004121 ## Mail History Id: 28783448, Consumer Id: 503839, Address Id: 9839654 => Updated with Vin: 5FNRL18004B130716 ## Mail History Id: 28783450, Consumer Id: 507890, Address Id: 9841994 => Updated with Vin: 5FNRL38725B048206 ## Mail History Id: 28783452, Consumer Id: 498356, Address Id: 9832366 => Updated with Vin: 1HGCG2251YA011920 ## Mail History Id: 28783454, Consumer Id: 492123, Address Id: 9827819 => Updated with Vin: JHMAP11471T000518 ## Mail History Id: 28783456, Consumer Id: 494919, Address Id: 326182 => Updated with Vin: 1HGCG6692YA135795 ## Mail History Id: 28783458, Consumer Id: 510412, Address Id: 327065 => Updated with Vin: 5FNRL38875B132949 ## Mail History Id: 28783460, Consumer Id: 491975, Address Id: 9827705 => Updated with Vin: SHSRD78883U137796 ## Mail History Id: 28783462, Consumer Id: 491015, Address Id: 7554612 => Updated with Vin: 1HGCG16402A058102 ## Mail History Id: 28783464, Consumer Id: 510500, Address Id: 9843652 => Updated with Vin: JHLRD78832C026613 ## Mail History Id: 28783466, Consumer Id: 474423, Address Id: 9835916 => Updated with Vin: 2HKYF18544H557347 ## Total mail_history records updated with vin numbers: 14 out of 16 ============================================================ ====== Tracking Id: 756 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-20 12:08:18') AND us2_order_type_id = 3 ## Order found: 974 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 974 AND product_id = 143 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3471 ## Mailing found: '12367' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783842, Consumer Id: 817835, Address Id: 10220775 => Updated with Vin: 1G6DP577960105080 ## Mail History Id: 28783840, Consumer Id: 817318, Address Id: 10220478 => Updated with Vin: 1G6DW677250226122 ## Mail History Id: 28783826, Consumer Id: 801649, Address Id: 10217713 => Updated with Vin: 1G6KD52B4SU250669 ## Mail History Id: 28783854, Consumer Id: 760522, Address Id: 11851068 => Updated with Vin: 1G6KY549X2U224110 ## Mail History Id: 28783756, Consumer Id: 802347, Address Id: 11871879 => Updated with Vin: 1G6KD54Y23U272673 ## Mail History Id: 28783824, Consumer Id: 821861, Address Id: 10217654 => Updated with Vin: 1G6KD57Y96U107851 ## Mail History Id: 28783818, Consumer Id: 821420, Address Id: 10217471 => Updated with Vin: 1G6KD57Y56U115963 ## Mail History Id: 28783790, Consumer Id: 797808, Address Id: 10214711 => Updated with Vin: 1G3HN52K3S4820505 ## Mail History Id: 28783832, Consumer Id: 806674, Address Id: 11870780 => Updated with Vin: 1GNFK16R8XJ444108 ## Mail History Id: 28783732, Consumer Id: 807572, Address Id: 10558061 => Updated with Vin: 1G6KF57991U176633 ## Mail History Id: 28783844, Consumer Id: 804419, Address Id: 11872914 => Updated with Vin: 1GYEK63N34R150934 ## Mail History Id: 28783766, Consumer Id: 823338, Address Id: 10214063 => Updated with Vin: 1FAPP64RXLH175616 ## Mail History Id: 28783748, Consumer Id: 801708, Address Id: 7878939 => Updated with Vin: 1G6DM57N430156201 ## Mail History Id: 28783764, Consumer Id: 823351, Address Id: 10214055 => Updated with Vin: 1G6KF549XXU749858 ## Mail History Id: 28783796, Consumer Id: 803751, Address Id: 11872714 => Updated with Vin: 3GYFK66N83G307761 ## Mail History Id: 28783758, Consumer Id: 799473, Address Id: 11870395 => Updated with Vin: 1G6ET12932B102191 ## Mail History Id: 28783850, Consumer Id: 822085, Address Id: 11876616 => Updated with Vin: 1GYEE637770142451 ## Mail History Id: 28783836, Consumer Id: 817641, Address Id: 4554038 => Updated with Vin: 3GYEK62N65G240811 ## Mail History Id: 28783798, Consumer Id: 821301, Address Id: 10215649 => Updated with Vin: 1G6DP567450184013 ## Mail History Id: 28783760, Consumer Id: 806031, Address Id: 7416074 => Updated with Vin: 1G6KD54Y33U261634 ## Total mail_history records updated with vin numbers: 20 out of 37 ============================================================ ====== Tracking Id: 757 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-20 12:08:19') AND us2_order_type_id = 3 ## Order found: 973 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 973 AND product_id = 114 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3427 ## Mailing found: '12391' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783482, Consumer Id: 499196, Address Id: 9833316 => Updated with Vin: 1HGCG1653YA070133 ## Mail History Id: 28783484, Consumer Id: 507267, Address Id: 9839684 => Updated with Vin: 1HGCM66574A073679 ## Mail History Id: 28783486, Consumer Id: 497543, Address Id: 328073 => Updated with Vin: 1HGCM56623A007929 ## Mail History Id: 28783488, Consumer Id: 500385, Address Id: 9834971 => Updated with Vin: 1HGEJ8641YL061090 ## Mail History Id: 28783490, Consumer Id: 493935, Address Id: 9829148 => Updated with Vin: 1HGCE189XSA011108 ## Mail History Id: 28783492, Consumer Id: 516220, Address Id: 9838204 => Updated with Vin: 1HGFA15547L002572 ## Mail History Id: 28783494, Consumer Id: 473883, Address Id: 9835320 => Updated with Vin: 1HGCM56485A139384 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 758 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-20 12:08:30') AND us2_order_type_id = 3 ## Order found: 974 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 974 AND product_id = 112 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3471 ## Mailing found: '12392' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783506, Consumer Id: 799815, Address Id: 10220375 => Updated with Vin: 1G6KD54Y41U217509 ## Mail History Id: 28783508, Consumer Id: 800962, Address Id: 7416042 => Updated with Vin: 1G3WX52H02F239893 ## Mail History Id: 28783510, Consumer Id: 803780, Address Id: 7416467 => Updated with Vin: 1GYEK63N52R328839 ## Mail History Id: 28783512, Consumer Id: 799568, Address Id: 10217357 => Updated with Vin: 1GYEK63N83R305038 ## Mail History Id: 28783514, Consumer Id: 804329, Address Id: 10218295 => Updated with Vin: 1G6DM577340143071 ## Mail History Id: 28783516, Consumer Id: 807311, Address Id: 7416619 => Updated with Vin: 1G6KE57Y21U159912 ## Mail History Id: 28783518, Consumer Id: 822464, Address Id: 11876554 => Updated with Vin: 1GYFK66847R208547 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 759 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-20 19:06:31') AND us2_order_type_id = 3 ## Order found: 972 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 972 AND product_id = 55 ## Job Group Found: '407' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('407') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108002') AND customer_id = 3357 ## Mailing found: '12384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783533, Consumer Id: 1438931, Address Id: 1153177 => Updated with Vin: 2FTRF07354CA08213 ## Mail History Id: 28783546, Consumer Id: 1568152, Address Id: 15925595 => Updated with Vin: JM1BK32G381166646 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 760 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-21 08:36:44') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 761 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-21 08:37:00') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 762 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-21 09:09:40') AND us2_order_type_id = 3 ## Order found: 975 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 975 AND product_id = 142 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3768 ## Mailing found: '12369' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783583, Consumer Id: 1110123, Address Id: 5990189 => Updated with Vin: 1G6KY54921U222916 ## Total mail_history records updated with vin numbers: 1 out of 3 ============================================================ ====== Tracking Id: 763 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3569 AND DATE(cart_created_date) = DATE('2008-07-21 09:58:19') AND us2_order_type_id = 3 ## Order found: 976 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 976 AND product_id = 54 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 764 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3792 AND DATE(cart_created_date) = DATE('2008-07-21 09:58:50') AND us2_order_type_id = 3 ## Order found: 977 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 977 AND product_id = 54 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 765 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-21 10:10:02') AND us2_order_type_id = 3 ## Order found: 978 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 978 AND product_id = 143 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3416 ## Mailing found: '12366' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783625, Consumer Id: 625645, Address Id: 11766058 => Updated with Vin: 1G6KD57Y17U117260 ## Mail History Id: 28783653, Consumer Id: 662927, Address Id: 11782643 => Updated with Vin: 1NXBR32E55Z441241 ## Mail History Id: 28783669, Consumer Id: 703616, Address Id: 11803605 => Updated with Vin: 2HKYF18746H554873 ## Mail History Id: 28783667, Consumer Id: 662930, Address Id: 11782645 => Updated with Vin: 4T1BE32K85U533655 ## Mail History Id: 28783643, Consumer Id: 662931, Address Id: 11782646 => Updated with Vin: 1G6DG577X80168823 ## Mail History Id: 28783603, Consumer Id: 663171, Address Id: 11782877 => Updated with Vin: 1G6KD57Y57U220262 ## Mail History Id: 28783651, Consumer Id: 663173, Address Id: 11782879 => Updated with Vin: 1G6KD54Y33U257096 ## Mail History Id: 28783657, Consumer Id: 662939, Address Id: 11782648 => Updated with Vin: 1G6KS52Y0VU821993 ## Mail History Id: 28783619, Consumer Id: 662947, Address Id: 1960650 => Updated with Vin: 1GYEE637040188439 ## Mail History Id: 28783673, Consumer Id: 662938, Address Id: 1969630 => Updated with Vin: 1G6KD57Y46U115145 ## Mail History Id: 28783631, Consumer Id: 662417, Address Id: 1963660 => Updated with Vin: 1GYFK66858R218117 ## Mail History Id: 28783655, Consumer Id: 625257, Address Id: 11765881 => Updated with Vin: 1G1JC524717414841 ## Mail History Id: 28783677, Consumer Id: 626008, Address Id: 1969703 => Updated with Vin: 1G6KD57Y76U112482 ## Mail History Id: 28783873, Consumer Id: 662955, Address Id: 11782656 => Updated with Vin: 1G6KD57Y66U119522 ## Mail History Id: 28783675, Consumer Id: 663169, Address Id: 1969674 => Updated with Vin: 1G6KD54Y24U247306 ## Mail History Id: 28783875, Consumer Id: 663172, Address Id: 11782878 => Updated with Vin: 1G6KD57Y86U107212 ## Mail History Id: 28783665, Consumer Id: 663174, Address Id: 1969271 => Updated with Vin: 1G6KD54Y95U236000 ## Mail History Id: 28783685, Consumer Id: 662934, Address Id: 1970019 => Updated with Vin: 1G6KD54Y92U274239 ## Mail History Id: 28783611, Consumer Id: 662940, Address Id: 11782649 => Updated with Vin: 1G6DP577760203170 ## Mail History Id: 28783679, Consumer Id: 662932, Address Id: 11782647 => Updated with Vin: 1G6KD54Y3XU748211 ## Mail History Id: 28783639, Consumer Id: 662935, Address Id: 7541818 => Updated with Vin: 1GYFK63897R283295 ## Total mail_history records updated with vin numbers: 21 out of 27 ============================================================ ====== Tracking Id: 766 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-21 11:06:56') AND us2_order_type_id = 3 ## Order found: 979 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 979 AND product_id = 112 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3486 ## Mailing found: '12393' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783378, Consumer Id: 475851, Address Id: 9823627 => Updated with Vin: 1GNEC13TX1J281963 ## Mail History Id: 28783382, Consumer Id: 464983, Address Id: 4372830 => Updated with Vin: 2GCEC13T741403900 ## Mail History Id: 28783384, Consumer Id: 470125, Address Id: 4376980 => Updated with Vin: 1G1YY26U375128479 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 767 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-21 11:09:43') AND us2_order_type_id = 3 ## Order found: 980 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 980 AND product_id = 144 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3705 ## Mailing found: '12368' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 11 ============================================================ ====== Tracking Id: 768 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-21 11:09:53') AND us2_order_type_id = 3 ## Order found: 980 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 980 AND product_id = 106 ## Job Group Found: '409' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('409') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108004') AND customer_id = 3705 ## Mailing found: '12386' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 769 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-21 11:10:10') AND us2_order_type_id = 3 ## Order found: 980 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 980 AND product_id = 112 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3705 ## Mailing found: '12394' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783341, Consumer Id: 961040, Address Id: 9254988 => Updated with Vin: 1G1NE52J73M633448 ## Mail History Id: 28783343, Consumer Id: 975320, Address Id: 14843756 => Updated with Vin: 1GCDS136048215502 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 770 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-21 11:36:48') AND us2_order_type_id = 3 ## Order found: 981 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 981 AND product_id = 142 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3357 ## Mailing found: '12365' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783886, Consumer Id: 689261, Address Id: 11797165 => Updated with Vin: 5FNRL18094B072315 ## Mail History Id: 28783860, Consumer Id: 192437, Address Id: 402522 => Updated with Vin: 1FTSW31P74EB34310 ## Mail History Id: 28783866, Consumer Id: 196911, Address Id: 406730 => Updated with Vin: 1ZVFT84N465206193 ## Mail History Id: 28783908, Consumer Id: 152248, Address Id: 394590 => Updated with Vin: 1FMFU19566LA44185 ## Mail History Id: 28783862, Consumer Id: 689260, Address Id: 399997 => Updated with Vin: 1FMEU73E06UA70587 ## Mail History Id: 28783894, Consumer Id: 154347, Address Id: 396515 => Updated with Vin: JM3TB28C570103031 ## Mail History Id: 28783892, Consumer Id: 194458, Address Id: 404147 => Updated with Vin: JM3LW28A920322487 ## Total mail_history records updated with vin numbers: 7 out of 14 ============================================================ ====== Tracking Id: 771 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-21 12:09:25') AND us2_order_type_id = 3 ## Order found: 982 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 982 AND product_id = 113 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3427 ## Mailing found: '12391' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783359, Consumer Id: 491977, Address Id: 9827706 => Updated with Vin: JHLRD18721S002814 ## Mail History Id: 28783361, Consumer Id: 498908, Address Id: 9832767 => Updated with Vin: 1HGCM56364A053934 ## Mail History Id: 28783363, Consumer Id: 518909, Address Id: 9838703 => Updated with Vin: 1HGCM56737A117855 ## Mail History Id: 28783365, Consumer Id: 493188, Address Id: 324699 => Updated with Vin: 1HGCM56693A110295 ## Mail History Id: 28783367, Consumer Id: 500252, Address Id: 9834874 => Updated with Vin: 5FNRL18084B085279 ## Mail History Id: 28783369, Consumer Id: 494611, Address Id: 9829651 => Updated with Vin: 1HGCM56663A118256 ## Mail History Id: 28783371, Consumer Id: 495405, Address Id: 9830252 => Updated with Vin: 5FNRL186X2B021570 ## Mail History Id: 28783373, Consumer Id: 472906, Address Id: 7552335 => Updated with Vin: JHLRD68846C013353 ## Mail History Id: 28783375, Consumer Id: 473235, Address Id: 7552440 => Updated with Vin: 5FNRL38276B119700 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 772 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-21 12:09:36') AND us2_order_type_id = 3 ## Order found: 982 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 982 AND product_id = 114 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3427 ## Mailing found: '12391' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783391, Consumer Id: 491321, Address Id: 9827196 => Updated with Vin: 1HGEJ8646YL020602 ## Mail History Id: 28783393, Consumer Id: 495663, Address Id: 9830442 => Updated with Vin: JH4DC445XWS008205 ## Mail History Id: 28783395, Consumer Id: 498458, Address Id: 9832438 => Updated with Vin: 1HGCE1899SA009334 ## Mail History Id: 28783397, Consumer Id: 502550, Address Id: 9837948 => Updated with Vin: 2HGES163X4H620168 ## Mail History Id: 28783399, Consumer Id: 500306, Address Id: 8195489 => Updated with Vin: 1HGCM665X4A062661 ## Mail History Id: 28783401, Consumer Id: 493438, Address Id: 9828795 => Updated with Vin: 1HGCD7255SA007091 ## Mail History Id: 28783403, Consumer Id: 499496, Address Id: 9833490 => Updated with Vin: JNRDR09Y12W251965 ## Mail History Id: 28783405, Consumer Id: 511899, Address Id: 9844519 => Updated with Vin: JHMES96605S004754 ## Mail History Id: 28783407, Consumer Id: 500896, Address Id: 9835668 => Updated with Vin: 1HGCM81754A012965 ## Mail History Id: 28783409, Consumer Id: 495267, Address Id: 9830161 => Updated with Vin: SHSRD78463U154867 ## Mail History Id: 28783411, Consumer Id: 490849, Address Id: 325900 => Updated with Vin: JHMES96623S022377 ## Mail History Id: 28783413, Consumer Id: 515319, Address Id: 9846519 => Updated with Vin: 1HGFA16876L029837 ## Mail History Id: 28783415, Consumer Id: 475365, Address Id: 8195405 => Updated with Vin: 1HGCM56467A148152 ## Total mail_history records updated with vin numbers: 13 out of 13 ============================================================ ====== Tracking Id: 773 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-21 12:09:45') AND us2_order_type_id = 3 ## Order found: 983 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 983 AND product_id = 143 ## Job Group Found: '406' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('406') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108001') AND customer_id = 3471 ## Mailing found: '12367' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783744, Consumer Id: 823347, Address Id: 10212516 => Updated with Vin: 1G6KD57Y47U229664 ## Mail History Id: 28783820, Consumer Id: 818520, Address Id: 10562620 => Updated with Vin: 1GYEE63A860151329 ## Mail History Id: 28783794, Consumer Id: 798565, Address Id: 10214929 => Updated with Vin: 1G6KS54Y71U160163 ## Mail History Id: 28783782, Consumer Id: 803807, Address Id: 7416925 => Updated with Vin: 1G3GR62C0T4123230 ## Mail History Id: 28783738, Consumer Id: 799926, Address Id: 10210791 => Updated with Vin: 1G3WH52H5XF346460 ## Mail History Id: 28783772, Consumer Id: 797930, Address Id: 7416631 => Updated with Vin: W06VR54R41R071184 ## Mail History Id: 28783792, Consumer Id: 800560, Address Id: 10214791 => Updated with Vin: 1G6KD54Y2WU802760 ## Mail History Id: 28783750, Consumer Id: 816547, Address Id: 11876283 => Updated with Vin: 1G6KY54902U212290 ## Mail History Id: 28783838, Consumer Id: 798024, Address Id: 11869674 => Updated with Vin: 1G6DM57N730170531 ## Mail History Id: 28783852, Consumer Id: 799856, Address Id: 11870561 => Updated with Vin: 1G6DM57N130174865 ## Mail History Id: 28783830, Consumer Id: 805302, Address Id: 10218068 => Updated with Vin: 1GYEK63N34R260320 ## Mail History Id: 28783754, Consumer Id: 806281, Address Id: 7415685 => Updated with Vin: 3GYFK66N14G297902 ## Mail History Id: 28783814, Consumer Id: 806194, Address Id: 10216411 => Updated with Vin: 1G6KY54901U199913 ## Mail History Id: 28783786, Consumer Id: 798564, Address Id: 10214667 => Updated with Vin: 1G6KD52Y5TU237628 ## Mail History Id: 28783806, Consumer Id: 818560, Address Id: 10562169 => Updated with Vin: 1G6KD57Y56U122458 ## Mail History Id: 28783746, Consumer Id: 804977, Address Id: 7878661 => Updated with Vin: 1GYEK63N14R186511 ## Mail History Id: 28783730, Consumer Id: 822639, Address Id: 7877944 => Updated with Vin: 1G6KD54Y63U188257 ## Mail History Id: 28783834, Consumer Id: 807071, Address Id: 4553862 => Updated with Vin: 3GYFK62848G232791 ## Mail History Id: 28783736, Consumer Id: 816752, Address Id: 7878041 => Updated with Vin: 3GYEK62N74G241285 ## Total mail_history records updated with vin numbers: 19 out of 27 ============================================================ ====== Tracking Id: 774 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-21 12:09:48') AND us2_order_type_id = 3 ## Order found: 982 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 982 AND product_id = 112 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3427 ## Mailing found: '12391' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783459, Consumer Id: 498026, Address Id: 9832128 => Updated with Vin: 1HGEJ6677YL002611 ## Mail History Id: 28783461, Consumer Id: 494045, Address Id: 9829228 => Updated with Vin: 5FNRL18683B114248 ## Mail History Id: 28783463, Consumer Id: 503460, Address Id: 9828531 => Updated with Vin: 2HKYF181X5H505350 ## Mail History Id: 28783465, Consumer Id: 509624, Address Id: 9843091 => Updated with Vin: JH4KA7661PC032103 ## Mail History Id: 28783467, Consumer Id: 502410, Address Id: 9837907 => Updated with Vin: 1HGCM566X4A087644 ## Mail History Id: 28783469, Consumer Id: 495563, Address Id: 9830369 => Updated with Vin: 1HGCG1650XA025472 ## Mail History Id: 28783471, Consumer Id: 516823, Address Id: 9847413 => Updated with Vin: JHMCN36465C000499 ## Mail History Id: 28783473, Consumer Id: 505579, Address Id: 324619 => Updated with Vin: 5FNRL38845B064027 ## Mail History Id: 28783475, Consumer Id: 491936, Address Id: 9827676 => Updated with Vin: 5FNRL186X2B016658 ## Mail History Id: 28783477, Consumer Id: 490662, Address Id: 9826691 => Updated with Vin: 1HGCM72623A010900 ## Mail History Id: 28783479, Consumer Id: 498973, Address Id: 324834 => Updated with Vin: 1HGCM66544A037884 ## Mail History Id: 28783481, Consumer Id: 491969, Address Id: 9827700 => Updated with Vin: 1HGCG6659XA158843 ## Mail History Id: 28783483, Consumer Id: 499407, Address Id: 329103 => Updated with Vin: 2HKRL18681H624100 ## Mail History Id: 28783485, Consumer Id: 512900, Address Id: 9845111 => Updated with Vin: 2HKYF186X4H535572 ## Mail History Id: 28783487, Consumer Id: 473194, Address Id: 9834617 => Updated with Vin: SHSRD78986U442101 ## Total mail_history records updated with vin numbers: 15 out of 15 ============================================================ ====== Tracking Id: 775 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-21 12:10:01') AND us2_order_type_id = 3 ## Order found: 983 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 983 AND product_id = 112 ## Job Group Found: '408' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('408') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072108003') AND customer_id = 3471 ## Mailing found: '12392' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28783515, Consumer Id: 803549, Address Id: 7415704 => Updated with Vin: 1G6KY54961U222515 ## Mail History Id: 28783517, Consumer Id: 802585, Address Id: 7415672 => Updated with Vin: 1GHDT13S722114574 ## Mail History Id: 28783519, Consumer Id: 803064, Address Id: 7878347 => Updated with Vin: 1G6KY54902U234998 ## Mail History Id: 28783521, Consumer Id: 800639, Address Id: 10215721 => Updated with Vin: 1GHDT13S022146637 ## Mail History Id: 28783340, Consumer Id: 819936, Address Id: 10216975 => Updated with Vin: 1G4HP54K12U302864 ## Mail History Id: 28783342, Consumer Id: 817154, Address Id: 11876689 => Updated with Vin: 1GYEE63A540172250 ## Mail History Id: 28783344, Consumer Id: 816859, Address Id: 11876736 => Updated with Vin: 1GYEK63N44R216455 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 776 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-22 08:06:55') AND us2_order_type_id = 3 ## Order found: 1020 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1020 AND product_id = 55 ## Job Group Found: '419' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('419') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408002') AND customer_id = 3230 ## Mailing found: '12440' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 777 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-22 08:36:56') AND us2_order_type_id = 3 ## Order found: 1020 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1020 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 778 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-22 10:09:19') AND us2_order_type_id = 3 ## Order found: 1021 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1021 AND product_id = 143 ## Job Group Found: '414' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('414') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408001') AND customer_id = 3416 ## Mailing found: '12430' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28863208, Consumer Id: 625201, Address Id: 10933296 => Updated with Vin: 1GYEE637340173143 ## Mail History Id: 28863188, Consumer Id: 663364, Address Id: 9659846 => Updated with Vin: 5GTDN136568106455 ## Mail History Id: 28863268, Consumer Id: 625617, Address Id: 1968348 => Updated with Vin: 1G6KD54Y65U163717 ## Mail History Id: 28863234, Consumer Id: 625809, Address Id: 3760690 => Updated with Vin: 5GTEN13E788160080 ## Mail History Id: 28863214, Consumer Id: 820386, Address Id: 11910008 => Updated with Vin: 1GYFK63878R231276 ## Mail History Id: 28863330, Consumer Id: 662929, Address Id: 11782644 => Updated with Vin: JH4DC530X3S004176 ## Mail History Id: 28863302, Consumer Id: 663351, Address Id: 1969264 => Updated with Vin: 1G1ZT53886F163023 ## Mail History Id: 28863262, Consumer Id: 663363, Address Id: 11782884 => Updated with Vin: 1G6KF5493XU739933 ## Mail History Id: 28863250, Consumer Id: 663360, Address Id: 1965494 => Updated with Vin: 1G6KD54Y61U192564 ## Mail History Id: 28863220, Consumer Id: 663353, Address Id: 1961737 => Updated with Vin: 1G6KE57Y6YU195919 ## Mail History Id: 28863256, Consumer Id: 663367, Address Id: 1967538 => Updated with Vin: 1G6KE54Y52U285266 ## Mail History Id: 28863202, Consumer Id: 663358, Address Id: 11782883 => Updated with Vin: 1G6EL12Y1SU604256 ## Mail History Id: 28863186, Consumer Id: 663369, Address Id: 3743194 => Updated with Vin: 1G6KY5295TU828961 ## Mail History Id: 28863218, Consumer Id: 663354, Address Id: 1961193 => Updated with Vin: W06VR52R3WR240153 ## Mail History Id: 28863286, Consumer Id: 663365, Address Id: 11581104 => Updated with Vin: 1G6KD54YX3U144259 ## Mail History Id: 28863194, Consumer Id: 663361, Address Id: 1966522 => Updated with Vin: 1G6KE57Y61U127013 ## Mail History Id: 28863282, Consumer Id: 686541, Address Id: 1968777 => Updated with Vin: 1GYEE637X70191210 ## Mail History Id: 28863230, Consumer Id: 663359, Address Id: 1963174 => Updated with Vin: 1G6KD54Y05U264848 ## Mail History Id: 28863288, Consumer Id: 686540, Address Id: 4789326 => Updated with Vin: 1G6KF57904U172099 ## Mail History Id: 28863232, Consumer Id: 662928, Address Id: 1963275 => Updated with Vin: 1GYEK63N02R106497 ## Mail History Id: 28863222, Consumer Id: 662949, Address Id: 1961988 => Updated with Vin: 1GHDT13W9Y2308728 ## Mail History Id: 28863242, Consumer Id: 663350, Address Id: 1964816 => Updated with Vin: 1G6KY54993U229316 ## Mail History Id: 28863272, Consumer Id: 663357, Address Id: 11782882 => Updated with Vin: 1G6DW677760171068 ## Mail History Id: 28863204, Consumer Id: 663368, Address Id: 3747224 => Updated with Vin: 1G6DN57U660164888 ## Mail History Id: 28863252, Consumer Id: 663366, Address Id: 1965776 => Updated with Vin: 1G6DM57N930136560 ## Mail History Id: 28863320, Consumer Id: 663356, Address Id: 11782881 => Updated with Vin: 5GTDN136568198957 ## Mail History Id: 28863210, Consumer Id: 663362, Address Id: 3754657 => Updated with Vin: 1GYDE637740121185 ## Total mail_history records updated with vin numbers: 27 out of 39 ============================================================ ====== Tracking Id: 779 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-22 10:36:30') AND us2_order_type_id = 3 ## Order found: 1020 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1020 AND product_id = 140 ## Job Group Found: '417' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('417') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408004') AND customer_id = 3230 ## Mailing found: '12421' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 780 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-22 11:06:55') AND us2_order_type_id = 3 ## Order found: 1022 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1022 AND product_id = 112 ## Job Group Found: '416' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('416') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408003') AND customer_id = 3486 ## Mailing found: '12419' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28863556, Consumer Id: 470777, Address Id: 9822147 => Updated with Vin: 2GCEC13J781170167 ## Mail History Id: 28863558, Consumer Id: 490084, Address Id: 4377578 => Updated with Vin: 1GKER23747J148449 ## Mail History Id: 28863560, Consumer Id: 479872, Address Id: 8119038 => Updated with Vin: 2CNDL63FX56154642 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 781 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-22 11:08:03') AND us2_order_type_id = 3 ## Order found: 1021 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1021 AND product_id = 114 ## Job Group Found: '416' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('416') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408003') AND customer_id = 3416 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 782 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-22 11:10:06') AND us2_order_type_id = 3 ## Order found: 1023 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1023 AND product_id = 144 ## Job Group Found: '414' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('414') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408001') AND customer_id = 3705 ## Mailing found: '12432' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28863382, Consumer Id: 975148, Address Id: 14843638 => Updated with Vin: 3GNEC16Z34G341104 ## Mail History Id: 28863388, Consumer Id: 961529, Address Id: 14834608 => Updated with Vin: 1GNEC13V35R270800 ## Mail History Id: 28863366, Consumer Id: 963693, Address Id: 14836383 => Updated with Vin: 3GNEC16Z26G124288 ## Mail History Id: 28863386, Consumer Id: 969348, Address Id: 14840607 => Updated with Vin: 1G1ZU57N27F177398 ## Mail History Id: 28863340, Consumer Id: 969929, Address Id: 9967031 => Updated with Vin: 3GCEC13C27G551772 ## Mail History Id: 28863360, Consumer Id: 969924, Address Id: 14841055 => Updated with Vin: 3GNDA33P27S608573 ## Mail History Id: 28863384, Consumer Id: 969927, Address Id: 14837891 => Updated with Vin: 1GNFC13017R305877 ## Mail History Id: 28863346, Consumer Id: 970689, Address Id: 9133158 => Updated with Vin: 1G1AK15F477383369 ## Mail History Id: 28863344, Consumer Id: 970807, Address Id: 14841717 => Updated with Vin: 5Y2SL65847Z438964 ## Mail History Id: 28863412, Consumer Id: 971054, Address Id: 14841883 => Updated with Vin: 1GCEC14X38Z100854 ## Mail History Id: 28863372, Consumer Id: 972161, Address Id: 14842663 => Updated with Vin: 2GCEC13J981172051 ## Mail History Id: 28863408, Consumer Id: 972160, Address Id: 8327064 => Updated with Vin: 3GNDA13D88S612591 ## Mail History Id: 28863338, Consumer Id: 972916, Address Id: 14843239 => Updated with Vin: 1GCEK14C47Z610015 ## Mail History Id: 28863370, Consumer Id: 972715, Address Id: 14837492 => Updated with Vin: 1G1ZH57B08F187696 ## Mail History Id: 28863374, Consumer Id: 972791, Address Id: 14843158 => Updated with Vin: 2GCEC19T521419226 ## Mail History Id: 28863358, Consumer Id: 972920, Address Id: 14843242 => Updated with Vin: 1G6DP567950105886 ## Mail History Id: 28863418, Consumer Id: 982551, Address Id: 14929904 => Updated with Vin: 1GNFC13088R135793 ## Mail History Id: 28863342, Consumer Id: 959882, Address Id: 11386663 => Updated with Vin: 1GNEC13T5YJ125369 ## Mail History Id: 28863400, Consumer Id: 976285, Address Id: 14844335 => Updated with Vin: 1GCEC19T62Z165081 ## Mail History Id: 28863348, Consumer Id: 977558, Address Id: 14845020 => Updated with Vin: 1G1JC52F047231478 ## Total mail_history records updated with vin numbers: 20 out of 42 ============================================================ ====== Tracking Id: 783 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-22 11:36:44') AND us2_order_type_id = 3 ## Order found: 1024 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1024 AND product_id = 142 ## Job Group Found: '414' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('414') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408001') AND customer_id = 3357 ## Mailing found: '12429' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28863321, Consumer Id: 198149, Address Id: 407669 => Updated with Vin: 1LNHM87AX3Y668569 ## Mail History Id: 28863343, Consumer Id: 189912, Address Id: 399940 => Updated with Vin: 2FDHP74W64X147476 ## Mail History Id: 28863377, Consumer Id: 742559, Address Id: 11767302 => Updated with Vin: JM1BJ221XY0259839 ## Mail History Id: 28863257, Consumer Id: 742568, Address Id: 11832206 => Updated with Vin: JM1BK343651271400 ## Mail History Id: 28863471, Consumer Id: 742567, Address Id: 397570 => Updated with Vin: 1LNMH86SX4Y616261 ## Mail History Id: 28863467, Consumer Id: 653285, Address Id: 11782436 => Updated with Vin: 2FMDK38C98BA99693 ## Mail History Id: 28863333, Consumer Id: 742564, Address Id: 11832204 => Updated with Vin: JM1GD2222J1507880 ## Mail History Id: 28863389, Consumer Id: 742565, Address Id: 11832205 => Updated with Vin: 2FAFP74W52X150242 ## Mail History Id: 28863295, Consumer Id: 742554, Address Id: 11766555 => Updated with Vin: 1YVGF22D615213784 ## Mail History Id: 28863239, Consumer Id: 199021, Address Id: 406908 => Updated with Vin: 1FMSU43FX1EA78113 ## Mail History Id: 28863475, Consumer Id: 189414, Address Id: 398219 => Updated with Vin: 1YVFP80D435M41039 ## Mail History Id: 28863443, Consumer Id: 742561, Address Id: 11832201 => Updated with Vin: 1FTRX07W02KC99297 ## Mail History Id: 28863331, Consumer Id: 194306, Address Id: 402100 => Updated with Vin: JM1BJ227430650093 ## Mail History Id: 28863375, Consumer Id: 197462, Address Id: 405602 => Updated with Vin: 3FAHP31383R120163 ## Mail History Id: 28863301, Consumer Id: 742553, Address Id: 11832198 => Updated with Vin: JTJGA31U040041925 ## Mail History Id: 28863319, Consumer Id: 199426, Address Id: 407142 => Updated with Vin: JM1FE173940137879 ## Mail History Id: 28863345, Consumer Id: 189468, Address Id: 400328 => Updated with Vin: 1FTYR14U24PA02986 ## Mail History Id: 28863261, Consumer Id: 742562, Address Id: 11832202 => Updated with Vin: 1ZVFT80N555219779 ## Mail History Id: 28863437, Consumer Id: 155618, Address Id: 397661 => Updated with Vin: 1ZVFT80N255185087 ## Mail History Id: 28863281, Consumer Id: 151580, Address Id: 393971 => Updated with Vin: 1FAFP27105G109479 ## Mail History Id: 28863385, Consumer Id: 155789, Address Id: 397823 => Updated with Vin: 1FTRX12W55NA54124 ## Mail History Id: 28863445, Consumer Id: 192845, Address Id: 402596 => Updated with Vin: JM3LW28J260557187 ## Mail History Id: 28863337, Consumer Id: 152034, Address Id: 394396 => Updated with Vin: 1ZVFT82H165108624 ## Mail History Id: 28863291, Consumer Id: 742560, Address Id: 11832200 => Updated with Vin: 1ZVFT82H865120608 ## Mail History Id: 28863267, Consumer Id: 152451, Address Id: 394778 => Updated with Vin: 1ZVFT80N665142230 ## Mail History Id: 28863463, Consumer Id: 198710, Address Id: 406866 => Updated with Vin: 1ZVFT80N465176103 ## Mail History Id: 28863487, Consumer Id: 155748, Address Id: 397783 => Updated with Vin: 1YVHP80D165M54411 ## Mail History Id: 28863393, Consumer Id: 742557, Address Id: 11715487 => Updated with Vin: 2MRDA22256BJ02553 ## Mail History Id: 28863361, Consumer Id: 155629, Address Id: 397670 => Updated with Vin: 1FTSW21506EB71615 ## Mail History Id: 28863451, Consumer Id: 195729, Address Id: 405020 => Updated with Vin: 1FMPU13586LA88007 ## Mail History Id: 28863407, Consumer Id: 153454, Address Id: 395701 => Updated with Vin: 3FAFP08Z66R128539 ## Mail History Id: 28863259, Consumer Id: 153444, Address Id: 395691 => Updated with Vin: 3FAFP07Z16R171400 ## Mail History Id: 28863481, Consumer Id: 152812, Address Id: 395113 => Updated with Vin: 1FMEU62E66UA76647 ## Mail History Id: 28863485, Consumer Id: 151978, Address Id: 394342 => Updated with Vin: 1FAFP34N36W128483 ## Mail History Id: 28863249, Consumer Id: 152944, Address Id: 395237 => Updated with Vin: 1FAFP31N66W198919 ## Mail History Id: 28863429, Consumer Id: 436551, Address Id: 404774 => Updated with Vin: JM3TB28C170107304 ## Mail History Id: 28863387, Consumer Id: 195195, Address Id: 401865 => Updated with Vin: JM1BK32G871618038 ## Mail History Id: 28863431, Consumer Id: 154051, Address Id: 396241 => Updated with Vin: JM1BK344571646303 ## Mail History Id: 28863241, Consumer Id: 154169, Address Id: 396350 => Updated with Vin: JM1BK124871682851 ## Mail History Id: 28863311, Consumer Id: 742558, Address Id: 10583690 => Updated with Vin: 1ZVHT85H275314654 ## Mail History Id: 28863277, Consumer Id: 154458, Address Id: 396618 => Updated with Vin: 1FMDK05197GA15090 ## Mail History Id: 28863351, Consumer Id: 199113, Address Id: 407543 => Updated with Vin: 1FMCU59H17KA51475 ## Mail History Id: 28863391, Consumer Id: 196756, Address Id: 399429 => Updated with Vin: 1FTPW14557KD01600 ## Mail History Id: 28863289, Consumer Id: 199159, Address Id: 407291 => Updated with Vin: 3FAHP07167R179786 ## Mail History Id: 28863461, Consumer Id: 742551, Address Id: 11832196 => Updated with Vin: 1FAHP37N77W164876 ## Mail History Id: 28863317, Consumer Id: 196743, Address Id: 405974 => Updated with Vin: 1FAHP34N57W273650 ## Mail History Id: 28863243, Consumer Id: 155358, Address Id: 397418 => Updated with Vin: JM3TB28V780125499 ## Mail History Id: 28863455, Consumer Id: 155252, Address Id: 397325 => Updated with Vin: JM1BK32G981798437 ## Mail History Id: 28863427, Consumer Id: 167723, Address Id: 434496 => Updated with Vin: JM1BK344681841389 ## Mail History Id: 28863245, Consumer Id: 155547, Address Id: 397592 => Updated with Vin: JM1BK344981841659 ## Mail History Id: 28863383, Consumer Id: 742570, Address Id: 11832207 => Updated with Vin: JM1BK344X81861807 ## Mail History Id: 28863271, Consumer Id: 436165, Address Id: 396530 => Updated with Vin: 1FTSW21R08ED68953 ## Mail History Id: 28863297, Consumer Id: 155816, Address Id: 397849 => Updated with Vin: 1FTRW12W28FA37394 ## Mail History Id: 28863479, Consumer Id: 155722, Address Id: 397758 => Updated with Vin: 1FTPW12528FA68207 ## Mail History Id: 28863433, Consumer Id: 742552, Address Id: 11832197 => Updated with Vin: 1FMCU031X8KA43181 ## Mail History Id: 28863469, Consumer Id: 155421, Address Id: 397474 => Updated with Vin: 1FMCU49H68KB85703 ## Mail History Id: 28863401, Consumer Id: 155784, Address Id: 397818 => Updated with Vin: 1FTYR10U68PA06437 ## Mail History Id: 28863235, Consumer Id: 820243, Address Id: 11909768 => Updated with Vin: 1FAHP32N68W233551 ## Mail History Id: 28863253, Consumer Id: 742571, Address Id: 2355534 => Updated with Vin: 1FALP62W6SH206785 ## Mail History Id: 28863459, Consumer Id: 197298, Address Id: 406496 => Updated with Vin: 1FBJS31G9SHB39693 ## Mail History Id: 28863323, Consumer Id: 742556, Address Id: 6482774 => Updated with Vin: 1LNLM82W3VY623411 ## Mail History Id: 28863315, Consumer Id: 742569, Address Id: 407597 => Updated with Vin: 1LNLM91V8VY662882 ## Mail History Id: 28863329, Consumer Id: 191734, Address Id: 402093 => Updated with Vin: 2FMDA5144WBA28478 ## Mail History Id: 28863275, Consumer Id: 742572, Address Id: 11832208 => Updated with Vin: 2FMZA5147WBC71398 ## Mail History Id: 28863347, Consumer Id: 742555, Address Id: 11832199 => Updated with Vin: 1FBSS31S0YHB31399 ## Mail History Id: 28863379, Consumer Id: 190847, Address Id: 400917 => Updated with Vin: 3N1CB51D7YL314123 ## Mail History Id: 28863365, Consumer Id: 190634, Address Id: 402338 => Updated with Vin: 1FTYR14X1YPA57266 ## Total mail_history records updated with vin numbers: 67 out of 96 ============================================================ ====== Tracking Id: 784 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-22 11:36:46') AND us2_order_type_id = 3 ## Order found: 1024 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1024 AND product_id = 112 ## Job Group Found: '416' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('416') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408003') AND customer_id = 3357 ## Mailing found: '12416' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 785 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-22 12:09:19') AND us2_order_type_id = 3 ## Order found: 1025 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1025 AND product_id = 114 ## Job Group Found: '416' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('416') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408003') AND customer_id = 3427 ## Mailing found: '12417' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28863503, Consumer Id: 510970, Address Id: 9843942 => Updated with Vin: SHSRD78515U344376 ## Mail History Id: 28863505, Consumer Id: 491104, Address Id: 9827033 => Updated with Vin: 1HGEJ667XWL016449 ## Mail History Id: 28863507, Consumer Id: 512053, Address Id: 9844616 => Updated with Vin: SHSRD78596U404597 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 786 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-22 12:09:31') AND us2_order_type_id = 3 ## Order found: 1025 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1025 AND product_id = 112 ## Job Group Found: '416' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('416') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408003') AND customer_id = 3427 ## Mailing found: '12417' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28863509, Consumer Id: 497332, Address Id: 8858368 => Updated with Vin: 2HGEJ1225SH578246 ## Mail History Id: 28863511, Consumer Id: 505708, Address Id: 9840635 => Updated with Vin: 2HGES16584H596969 ## Mail History Id: 28863513, Consumer Id: 498706, Address Id: 9832617 => Updated with Vin: JHMES96653S003774 ## Mail History Id: 28863515, Consumer Id: 498360, Address Id: 9832370 => Updated with Vin: 1HGCB9850MA018009 ## Mail History Id: 28863517, Consumer Id: 492035, Address Id: 9827748 => Updated with Vin: 1HGCM56363A036713 ## Mail History Id: 28863519, Consumer Id: 507294, Address Id: 9841599 => Updated with Vin: 1HGCG3176YA017382 ## Mail History Id: 28863521, Consumer Id: 499427, Address Id: 9833443 => Updated with Vin: 2HGES166X4H532764 ## Mail History Id: 28863523, Consumer Id: 497996, Address Id: 9832109 => Updated with Vin: JHMES96604S002971 ## Mail History Id: 28863525, Consumer Id: 499155, Address Id: 9833300 => Updated with Vin: 1HGCM55844A069045 ## Mail History Id: 28863527, Consumer Id: 500193, Address Id: 325804 => Updated with Vin: JHMEH6165SS006936 ## Mail History Id: 28863529, Consumer Id: 500549, Address Id: 9835083 => Updated with Vin: 2HKRL18672H556597 ## Mail History Id: 28863531, Consumer Id: 472885, Address Id: 9834462 => Updated with Vin: 2HGFG12606H567635 ## Mail History Id: 28863533, Consumer Id: 474625, Address Id: 8194922 => Updated with Vin: 5FNRL384X7B045143 ## Mail History Id: 28863535, Consumer Id: 500906, Address Id: 327583 => Updated with Vin: 2HGEJ6618XH530536 ## Total mail_history records updated with vin numbers: 14 out of 17 ============================================================ ====== Tracking Id: 787 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-22 12:09:36') AND us2_order_type_id = 3 ## Order found: 1026 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1026 AND product_id = 143 ## Job Group Found: '414' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('414') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408001') AND customer_id = 3471 ## Mailing found: '12431' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28863472, Consumer Id: 807421, Address Id: 7416530 => Updated with Vin: 1G3GR64H214281137 ## Mail History Id: 28863468, Consumer Id: 821532, Address Id: 7416234 => Updated with Vin: 1G6DP577460166787 ## Mail History Id: 28863454, Consumer Id: 772904, Address Id: 11873965 => Updated with Vin: 1G6DN57U470161392 ## Mail History Id: 28863420, Consumer Id: 800625, Address Id: 7877893 => Updated with Vin: 1G6KD54Y43U291063 ## Mail History Id: 28863424, Consumer Id: 772957, Address Id: 7415428 => Updated with Vin: 1G6KD57986U127677 ## Mail History Id: 28863442, Consumer Id: 804667, Address Id: 7878617 => Updated with Vin: 1G6KE57Y31U233399 ## Mail History Id: 28863478, Consumer Id: 804760, Address Id: 10214550 => Updated with Vin: 1G6KS54Y4XU902852 ## Mail History Id: 28863227, Consumer Id: 806032, Address Id: 11873675 => Updated with Vin: 1G6EL12YX2B104141 ## Mail History Id: 28863452, Consumer Id: 823344, Address Id: 7415673 => Updated with Vin: 1G6KD57Y67U111468 ## Mail History Id: 28863217, Consumer Id: 799385, Address Id: 10220264 => Updated with Vin: 1G6KS52Y1VU825972 ## Mail History Id: 28863444, Consumer Id: 820903, Address Id: 7878627 => Updated with Vin: 1G6KD54Y3YU271488 ## Mail History Id: 28863185, Consumer Id: 821502, Address Id: 10215723 => Updated with Vin: 1G6DP577370105416 ## Mail History Id: 28863462, Consumer Id: 822090, Address Id: 7416082 => Updated with Vin: 1GYFK63867R317208 ## Mail History Id: 28863215, Consumer Id: 798328, Address Id: 10220257 => Updated with Vin: 1GYEK63N12R226373 ## Mail History Id: 28863201, Consumer Id: 798915, Address Id: 10217302 => Updated with Vin: W06VR54RXYR009394 ## Mail History Id: 28863199, Consumer Id: 772860, Address Id: 10562444 => Updated with Vin: 1GYFK63818R128998 ## Mail History Id: 28863438, Consumer Id: 804297, Address Id: 7878509 => Updated with Vin: 1G6DM577540145064 ## Mail History Id: 28863209, Consumer Id: 760405, Address Id: 10219301 => Updated with Vin: 1G6KD54Y53U269265 ## Mail History Id: 28863486, Consumer Id: 772863, Address Id: 10215606 => Updated with Vin: 1GYFK63897R225218 ## Mail History Id: 28863189, Consumer Id: 806576, Address Id: 10216112 => Updated with Vin: 1GYEE637750113898 ## Mail History Id: 28863436, Consumer Id: 816173, Address Id: 7878427 => Updated with Vin: 1G6KE57Y64U176720 ## Mail History Id: 28863428, Consumer Id: 772861, Address Id: 10558403 => Updated with Vin: 1G6DW677470159400 ## Mail History Id: 28863426, Consumer Id: 817251, Address Id: 7415438 => Updated with Vin: 1G6DP567150145203 ## Mail History Id: 28863223, Consumer Id: 817680, Address Id: 11876606 => Updated with Vin: 1G6DP567150235709 ## Mail History Id: 28863484, Consumer Id: 817166, Address Id: 10215463 => Updated with Vin: 1G6DP567450236806 ## Mail History Id: 28863219, Consumer Id: 772944, Address Id: 11874182 => Updated with Vin: 1G6DP577560149223 ## Mail History Id: 28863229, Consumer Id: 820746, Address Id: 11876721 => Updated with Vin: 1GYEE637360194058 ## Mail History Id: 28863203, Consumer Id: 818377, Address Id: 10562633 => Updated with Vin: 1GYEE637660133495 ## Mail History Id: 28863183, Consumer Id: 820771, Address Id: 10215718 => Updated with Vin: 1G6DW677760204540 ## Mail History Id: 28863221, Consumer Id: 822080, Address Id: 11876604 => Updated with Vin: 1GYEE637550211313 ## Mail History Id: 28863434, Consumer Id: 821222, Address Id: 11876199 => Updated with Vin: 1G6DP577970105095 ## Mail History Id: 28863205, Consumer Id: 822412, Address Id: 10217516 => Updated with Vin: 1G6KD52Y9TU217172 ## Mail History Id: 28863446, Consumer Id: 822024, Address Id: 11876217 => Updated with Vin: 1G6DW677470131404 ## Mail History Id: 28863197, Consumer Id: 760500, Address Id: 10562033 => Updated with Vin: 3GYFK66N75G191830 ## Mail History Id: 28863488, Consumer Id: 822798, Address Id: 10215609 => Updated with Vin: 1G6KD54Y2XU719881 ## Mail History Id: 28863448, Consumer Id: 823346, Address Id: 11876223 => Updated with Vin: 1G6DP577870124317 ## Mail History Id: 28863332, Consumer Id: 807049, Address Id: 11876906 => Updated with Vin: 1G6DD67V380136552 ## Total mail_history records updated with vin numbers: 37 out of 80 ============================================================ ====== Tracking Id: 788 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-22 12:09:46') AND us2_order_type_id = 3 ## Order found: 1026 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1026 AND product_id = 112 ## Job Group Found: '416' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('416') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408003') AND customer_id = 3471 ## Mailing found: '12418' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28863537, Consumer Id: 806877, Address Id: 10214416 => Updated with Vin: 1G6KS54Y0XU935444 ## Mail History Id: 28863539, Consumer Id: 799549, Address Id: 10216431 => Updated with Vin: 1G6EL12Y7WU605367 ## Mail History Id: 28863541, Consumer Id: 799059, Address Id: 6530823 => Updated with Vin: 1G6KS54YX2U149465 ## Mail History Id: 28863543, Consumer Id: 803781, Address Id: 10218908 => Updated with Vin: 1GYEK63N12R203918 ## Mail History Id: 28863545, Consumer Id: 816272, Address Id: 10216337 => Updated with Vin: 1G6DP567650178942 ## Mail History Id: 28863547, Consumer Id: 772885, Address Id: 11873952 => Updated with Vin: 1GYFK638X7R423614 ## Mail History Id: 28863549, Consumer Id: 821959, Address Id: 11876608 => Updated with Vin: 3GYFK62827G214286 ## Mail History Id: 28863551, Consumer Id: 817035, Address Id: 7878490 => Updated with Vin: 3GYEK63N73G193039 ## Total mail_history records updated with vin numbers: 8 out of 11 ============================================================ ====== Tracking Id: 789 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3848 AND DATE(cart_created_date) = DATE('2008-07-22 15:48:33') AND us2_order_type_id = 3 ## Order found: 1027 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1027 AND product_id = 54 ## Job Group Found: '412' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('412') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda072108001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda072108001a') AND customer_id = 3848 ## Mailing found: '12377' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 790 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-23 08:06:51') AND us2_order_type_id = 3 ## Order found: 1029 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1029 AND product_id = 55 ## Job Group Found: '419' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('419') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408002') AND customer_id = 3230 ## Mailing found: '12440' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28893336, Consumer Id: 1525626, Address Id: 53844 => Updated with Vin: 3VWCC21C7YM468404 ## Mail History Id: 28893337, Consumer Id: 1525625, Address Id: 49551 => Updated with Vin: 1FTRF12268KE93435 ## Mail History Id: 28893338, Consumer Id: 1525624, Address Id: 9865066 => Updated with Vin: 1MEHM40W68G603300 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 791 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-23 08:36:58') AND us2_order_type_id = 3 ## Order found: 1029 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1029 AND product_id = 143 ## Job Group Found: '414' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('414') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408001') AND customer_id = 3230 ## Mailing found: '12428' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28863326, Consumer Id: 92300, Address Id: 50213 => Updated with Vin: 1FAHP34N56W174485 ## Mail History Id: 28863322, Consumer Id: 63561, Address Id: 50274 => Updated with Vin: 1FAFP38313W210412 ## Mail History Id: 28863324, Consumer Id: 64051, Address Id: 47962 => Updated with Vin: 1FAFP34312W249621 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 792 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-23 10:09:21') AND us2_order_type_id = 3 ## Order found: 1030 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1030 AND product_id = 143 ## Job Group Found: '414' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('414') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408001') AND customer_id = 3416 ## Mailing found: '12430' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28863292, Consumer Id: 625259, Address Id: 4789548 => Updated with Vin: 1G6DM57T470172922 ## Mail History Id: 28863294, Consumer Id: 692561, Address Id: 11798407 => Updated with Vin: 1G6KD57Y63U150698 ## Mail History Id: 28863260, Consumer Id: 692854, Address Id: 11798552 => Updated with Vin: 5GRGN23UX5H125685 ## Mail History Id: 28863190, Consumer Id: 692994, Address Id: 11798623 => Updated with Vin: 1G6KD57Y26U143476 ## Mail History Id: 28863274, Consumer Id: 625918, Address Id: 11766190 => Updated with Vin: 1G6KD57Y18U160319 ## Mail History Id: 28863280, Consumer Id: 703617, Address Id: 11803606 => Updated with Vin: 3G5DA03L16S552992 ## Mail History Id: 28863246, Consumer Id: 703619, Address Id: 9033916 => Updated with Vin: 2B3KA43G36H398848 ## Mail History Id: 28863284, Consumer Id: 703618, Address Id: 11803607 => Updated with Vin: 1G6KD52Y4TU255442 ## Mail History Id: 28863296, Consumer Id: 691193, Address Id: 11797865 => Updated with Vin: 1G6KY5293PU830505 ## Mail History Id: 28863254, Consumer Id: 612238, Address Id: 11755961 => Updated with Vin: 1G6DW677270143700 ## Mail History Id: 28863224, Consumer Id: 686543, Address Id: 11803556 => Updated with Vin: 1G6DT57V080197483 ## Mail History Id: 28863244, Consumer Id: 681688, Address Id: 1964920 => Updated with Vin: 1G6KD54Y61U134468 ## Mail History Id: 28863306, Consumer Id: 691146, Address Id: 1969429 => Updated with Vin: 1G6KD54Y74U129039 ## Mail History Id: 28863236, Consumer Id: 687024, Address Id: 1963449 => Updated with Vin: 1G6KS54Y13U149209 ## Mail History Id: 28863212, Consumer Id: 688539, Address Id: 1959714 => Updated with Vin: 1G6DP567950133641 ## Mail History Id: 28863266, Consumer Id: 688009, Address Id: 1968326 => Updated with Vin: 1G6DN56S350133189 ## Mail History Id: 28863240, Consumer Id: 625801, Address Id: 1964132 => Updated with Vin: 1G6KD54YX5U227161 ## Mail History Id: 28863318, Consumer Id: 686728, Address Id: 11796356 => Updated with Vin: 1G6KS54Y94U143787 ## Mail History Id: 28863300, Consumer Id: 684260, Address Id: 1969183 => Updated with Vin: 1G3GR62C4X4112706 ## Mail History Id: 28863270, Consumer Id: 682114, Address Id: 1968386 => Updated with Vin: 1G6DM57N130111667 ## Mail History Id: 28863316, Consumer Id: 693103, Address Id: 1969899 => Updated with Vin: 1G4HP54KXYU102039 ## Mail History Id: 28863310, Consumer Id: 689948, Address Id: 1969699 => Updated with Vin: 1G3WH52H51F249136 ## Mail History Id: 28863276, Consumer Id: 625720, Address Id: 1968595 => Updated with Vin: 1G6DW677360165784 ## Mail History Id: 28863304, Consumer Id: 686154, Address Id: 1969315 => Updated with Vin: 1GYEE63A840143812 ## Mail History Id: 28863192, Consumer Id: 689918, Address Id: 1966272 => Updated with Vin: 1G6DW677760114109 ## Mail History Id: 28863298, Consumer Id: 684751, Address Id: 1969181 => Updated with Vin: 1G6KS54Y72U302769 ## Mail History Id: 28863264, Consumer Id: 681617, Address Id: 1968278 => Updated with Vin: 1G6EL12Y0XU613778 ## Mail History Id: 28863314, Consumer Id: 686858, Address Id: 1969869 => Updated with Vin: 1G6KS54Y31U251897 ## Mail History Id: 28863238, Consumer Id: 688185, Address Id: 1963615 => Updated with Vin: 1G6KS54Y22U241153 ## Mail History Id: 28863216, Consumer Id: 691342, Address Id: 11796989 => Updated with Vin: 1G6KD54Y55U262478 ## Mail History Id: 28863278, Consumer Id: 689888, Address Id: 11797431 => Updated with Vin: 1G6DW677160116812 ## Mail History Id: 28863206, Consumer Id: 625429, Address Id: 3747569 => Updated with Vin: 5GTDN13E578242447 ## Mail History Id: 28863328, Consumer Id: 690459, Address Id: 8336984 => Updated with Vin: 5GTDN136668169855 ## Mail History Id: 28863248, Consumer Id: 625822, Address Id: 11766145 => Updated with Vin: 5GTEN13EX88174149 ## Mail History Id: 28863226, Consumer Id: 690747, Address Id: 3759268 => Updated with Vin: 1G6DW677560143446 ## Mail History Id: 28863228, Consumer Id: 690927, Address Id: 11797776 => Updated with Vin: 1G6DM57T560202895 ## Mail History Id: 28863200, Consumer Id: 686544, Address Id: 3744656 => Updated with Vin: 5GTEN13L888133811 ## Mail History Id: 28863198, Consumer Id: 673908, Address Id: 1958748 => Updated with Vin: 1G6DP577760108060 ## Mail History Id: 28863308, Consumer Id: 625993, Address Id: 4797975 => Updated with Vin: 5GTEN13E088183748 ## Mail History Id: 28863196, Consumer Id: 691457, Address Id: 10934270 => Updated with Vin: 1G6DW677560118417 ## Mail History Id: 28863290, Consumer Id: 691736, Address Id: 4789545 => Updated with Vin: 1GYEE637570131691 ## Mail History Id: 28863258, Consumer Id: 625501, Address Id: 1967808 => Updated with Vin: 1G6KD57Y57U230807 ## Total mail_history records updated with vin numbers: 42 out of 77 ============================================================ ====== Tracking Id: 793 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-23 11:06:59') AND us2_order_type_id = 3 ## Order found: 1031 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1031 AND product_id = 112 ## Job Group Found: '416' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('416') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408003') AND customer_id = 3486 ## Mailing found: '12419' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28863553, Consumer Id: 475671, Address Id: 9823585 => Updated with Vin: 1GCCS19Z3S8105148 ## Mail History Id: 28863555, Consumer Id: 464874, Address Id: 1035845 => Updated with Vin: 3GNEK12T34G316160 ## Mail History Id: 28863557, Consumer Id: 485538, Address Id: 8115997 => Updated with Vin: 3GNDA23D27S587675 ## Mail History Id: 28863559, Consumer Id: 465987, Address Id: 2009987 => Updated with Vin: 2GCEK13T651282457 ## Mail History Id: 28863502, Consumer Id: 481565, Address Id: 7540007 => Updated with Vin: 1GCEK19R4VE150596 ## Mail History Id: 28863504, Consumer Id: 468273, Address Id: 3904707 => Updated with Vin: 1GNFC13097R131220 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 794 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-23 11:09:25') AND us2_order_type_id = 3 ## Order found: 1032 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1032 AND product_id = 144 ## Job Group Found: '414' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('414') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408001') AND customer_id = 3705 ## Mailing found: '12432' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28863382, Consumer Id: 975148, Address Id: 14843638 => Updated with Vin: 3GNEC16Z34G341104 ## Mail History Id: 28863394, Consumer Id: 975183, Address Id: 14843663 => Updated with Vin: 2GCEC19V451265744 ## Mail History Id: 28863392, Consumer Id: 973234, Address Id: 9161878 => Updated with Vin: 2GTFK69U541259106 ## Mail History Id: 28863402, Consumer Id: 962706, Address Id: 14835554 => Updated with Vin: 2GCEC19VX61139261 ## Mail History Id: 28863364, Consumer Id: 965580, Address Id: 14837848 => Updated with Vin: 3GNEK12ZX6G203958 ## Mail History Id: 28863414, Consumer Id: 969708, Address Id: 14840907 => Updated with Vin: 1G4HD57217U226025 ## Mail History Id: 28863410, Consumer Id: 971051, Address Id: 14841880 => Updated with Vin: 5Y2SL65837Z435344 ## Mail History Id: 28863368, Consumer Id: 971615, Address Id: 14842289 => Updated with Vin: 1G1ZT68N07F104151 ## Mail History Id: 28863350, Consumer Id: 972787, Address Id: 14843156 => Updated with Vin: 2G1WB58K789200486 ## Mail History Id: 28863376, Consumer Id: 972776, Address Id: 14843149 => Updated with Vin: 3GNEC16Z65G135843 ## Mail History Id: 28863396, Consumer Id: 1173751, Address Id: 15032888 => Updated with Vin: 5TEGN92N24Z382597 ## Mail History Id: 28863380, Consumer Id: 973266, Address Id: 14836922 => Updated with Vin: 1GNEC13ZX2R232284 ## Mail History Id: 28863334, Consumer Id: 961256, Address Id: 2829518 => Updated with Vin: 1GNEC16Z62J330495 ## Mail History Id: 28863356, Consumer Id: 979622, Address Id: 14846201 => Updated with Vin: 1G1ND52F44M705156 ## Mail History Id: 28863390, Consumer Id: 976086, Address Id: 14844216 => Updated with Vin: 1GKDS13S032314551 ## Mail History Id: 28863378, Consumer Id: 978374, Address Id: 10726568 => Updated with Vin: 1G1YY22G225104263 ## Mail History Id: 28863362, Consumer Id: 978044, Address Id: 14845331 => Updated with Vin: 1G2WP52K73F131191 ## Mail History Id: 28863406, Consumer Id: 978813, Address Id: 14845737 => Updated with Vin: 3GTEK13M27G508044 ## Mail History Id: 28863336, Consumer Id: 979092, Address Id: 14845900 => Updated with Vin: 1GCHC23U17F196218 ## Mail History Id: 28863404, Consumer Id: 980834, Address Id: 14846793 => Updated with Vin: 1GKEC16Z16J131275 ## Mail History Id: 28863354, Consumer Id: 959920, Address Id: 14831126 => Updated with Vin: 1G3CX52L3R4322182 ## Mail History Id: 28863416, Consumer Id: 980837, Address Id: 14831466 => Updated with Vin: 1G2NF52F53C130592 ## Total mail_history records updated with vin numbers: 22 out of 40 ============================================================ ====== Tracking Id: 795 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-23 11:09:34') AND us2_order_type_id = 3 ## Order found: 1032 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1032 AND product_id = 112 ## Job Group Found: '416' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('416') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408003') AND customer_id = 3705 ## Mailing found: '12420' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28863506, Consumer Id: 974980, Address Id: 14843528 => Updated with Vin: 1GNEC13Z74R307798 ## Mail History Id: 28863508, Consumer Id: 980198, Address Id: 2620405 => Updated with Vin: 1GTEK19J97Z627223 ## Mail History Id: 28863510, Consumer Id: 975298, Address Id: 14837674 => Updated with Vin: 1GCEK19T83E116671 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 796 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-23 11:36:50') AND us2_order_type_id = 3 ## Order found: 1033 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1033 AND product_id = 142 ## Job Group Found: '414' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('414') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408001') AND customer_id = 3357 ## Mailing found: '12429' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28863413, Consumer Id: 196478, Address Id: 405736 => Updated with Vin: 2MEFM75W53X709600 ## Mail History Id: 28863285, Consumer Id: 189687, Address Id: 399927 => Updated with Vin: 3FAFP37Z44R128720 ## Mail History Id: 28863303, Consumer Id: 188914, Address Id: 400631 => Updated with Vin: 1FMDK06165GA59091 ## Mail History Id: 28863279, Consumer Id: 609850, Address Id: 394462 => Updated with Vin: 1FTPW145X8KC77974 ## Mail History Id: 28863453, Consumer Id: 628977, Address Id: 11769572 => Updated with Vin: 1FMFU18505LB06650 ## Mail History Id: 28863467, Consumer Id: 653285, Address Id: 11782436 => Updated with Vin: 2FMDK38C98BA99693 ## Mail History Id: 28863405, Consumer Id: 759811, Address Id: 11850515 => Updated with Vin: 1HGEM22511L011590 ## Mail History Id: 28863441, Consumer Id: 759805, Address Id: 11850512 => Updated with Vin: 3FTNW20F31MA28877 ## Mail History Id: 28863293, Consumer Id: 759806, Address Id: 879635 => Updated with Vin: 1FTYR14U31TA13420 ## Mail History Id: 28863309, Consumer Id: 759801, Address Id: 11850509 => Updated with Vin: 1FMZU73E51ZA36058 ## Mail History Id: 28863409, Consumer Id: 196755, Address Id: 405389 => Updated with Vin: JM1BJ245221556136 ## Mail History Id: 28863335, Consumer Id: 187693, Address Id: 399016 => Updated with Vin: 1FAFP53U94G135594 ## Mail History Id: 28863307, Consumer Id: 190159, Address Id: 399957 => Updated with Vin: 2FAFP74W64X120704 ## Mail History Id: 28863355, Consumer Id: 187392, Address Id: 398340 => Updated with Vin: 1FMDU74W35ZA29262 ## Mail History Id: 28863263, Consumer Id: 190089, Address Id: 400945 => Updated with Vin: 1YVHP80D755M14199 ## Mail History Id: 28863313, Consumer Id: 759798, Address Id: 11850506 => Updated with Vin: 1HGCG32702A027895 ## Mail History Id: 28863483, Consumer Id: 759808, Address Id: 11850513 => Updated with Vin: 1FMYU03162KB54419 ## Mail History Id: 28863371, Consumer Id: 199166, Address Id: 407292 => Updated with Vin: 1FTRW07642KC34455 ## Mail History Id: 28863443, Consumer Id: 742561, Address Id: 11832201 => Updated with Vin: 1FTRX07W02KC99297 ## Mail History Id: 28863357, Consumer Id: 187814, Address Id: 399041 => Updated with Vin: JM3LW28A230345997 ## Mail History Id: 28863373, Consumer Id: 759817, Address Id: 11092569 => Updated with Vin: 2FTRF17203CB02947 ## Mail History Id: 28863425, Consumer Id: 759804, Address Id: 11850511 => Updated with Vin: 1ZVHT80N585149309 ## Mail History Id: 28863299, Consumer Id: 759799, Address Id: 11850507 => Updated with Vin: 5TDZA23C44S036296 ## Mail History Id: 28863327, Consumer Id: 151985, Address Id: 394349 => Updated with Vin: 1YVHP82D855M56975 ## Mail History Id: 28863423, Consumer Id: 194340, Address Id: 403908 => Updated with Vin: 1FTWW31P25EC05271 ## Mail History Id: 28863363, Consumer Id: 759802, Address Id: 876707 => Updated with Vin: JM1BK12G461442298 ## Mail History Id: 28863447, Consumer Id: 197102, Address Id: 405572 => Updated with Vin: 1ZVFT82H865129759 ## Mail History Id: 28863237, Consumer Id: 152687, Address Id: 395001 => Updated with Vin: 1ZVFT85H565163878 ## Mail History Id: 28863457, Consumer Id: 152707, Address Id: 395019 => Updated with Vin: 1ZVHT82H365215716 ## Mail History Id: 28863449, Consumer Id: 198404, Address Id: 407528 => Updated with Vin: 1ZVFT80N365228790 ## Mail History Id: 28863349, Consumer Id: 154787, Address Id: 396914 => Updated with Vin: 1YVHP84C465M12378 ## Mail History Id: 28863339, Consumer Id: 196765, Address Id: 405770 => Updated with Vin: 1FBSS31L76DA44855 ## Mail History Id: 28863359, Consumer Id: 196226, Address Id: 405932 => Updated with Vin: 1FTSW21P56EA66537 ## Mail History Id: 28863399, Consumer Id: 759797, Address Id: 6901734 => Updated with Vin: 1FMYU03146KA74123 ## Mail History Id: 28863287, Consumer Id: 153285, Address Id: 395540 => Updated with Vin: 1FMPU16546LA39088 ## Mail History Id: 28863411, Consumer Id: 759807, Address Id: 404343 => Updated with Vin: 1FAFP4446YF251758 ## Mail History Id: 28863247, Consumer Id: 154429, Address Id: 396253 => Updated with Vin: 1ZVFT82H475307037 ## Mail History Id: 28863421, Consumer Id: 759803, Address Id: 11850510 => Updated with Vin: JHLRE38367C057162 ## Mail History Id: 28863369, Consumer Id: 154099, Address Id: 396286 => Updated with Vin: 1FAHP28187G142370 ## Mail History Id: 28863269, Consumer Id: 155480, Address Id: 397529 => Updated with Vin: 1FMDK06167GA08371 ## Mail History Id: 28863439, Consumer Id: 759813, Address Id: 6903417 => Updated with Vin: 1FMFU16597LA69913 ## Mail History Id: 28863477, Consumer Id: 154844, Address Id: 396961 => Updated with Vin: 3FAHP08197R247092 ## Mail History Id: 28863255, Consumer Id: 155599, Address Id: 397643 => Updated with Vin: JM3TB38V180130297 ## Mail History Id: 28863283, Consumer Id: 155300, Address Id: 397366 => Updated with Vin: JM1BK324581780524 ## Mail History Id: 28863403, Consumer Id: 155518, Address Id: 397566 => Updated with Vin: JM1BK32GX81838234 ## Mail History Id: 28863435, Consumer Id: 193872, Address Id: 403214 => Updated with Vin: 1FALP13P2VW333835 ## Mail History Id: 28863419, Consumer Id: 188653, Address Id: 394437 => Updated with Vin: 1FTSW31F8YED93451 ## Mail History Id: 28863305, Consumer Id: 193701, Address Id: 403375 => Updated with Vin: 1FMYU04122KA68491 ## Mail History Id: 28863415, Consumer Id: 759812, Address Id: 11850516 => Updated with Vin: 1ZVHT80N685163865 ## Mail History Id: 28863465, Consumer Id: 155602, Address Id: 397646 => Updated with Vin: 1FTWW33R78EA97135 ## Mail History Id: 28863235, Consumer Id: 820243, Address Id: 11909768 => Updated with Vin: 1FAHP32N68W233551 ## Mail History Id: 28863273, Consumer Id: 153297, Address Id: 395552 => Updated with Vin: 4F2YZ02Z86KM34409 ## Mail History Id: 28863417, Consumer Id: 151824, Address Id: 394198 => Updated with Vin: 1FMYU93115KC09657 ## Mail History Id: 28863325, Consumer Id: 759809, Address Id: 401134 => Updated with Vin: 1LNLM82WXPY765662 ## Mail History Id: 28863251, Consumer Id: 197466, Address Id: 406988 => Updated with Vin: 2MELM75W1TX629116 ## Mail History Id: 28863341, Consumer Id: 759800, Address Id: 11850508 => Updated with Vin: 1HGCD7269VA031892 ## Mail History Id: 28863353, Consumer Id: 192562, Address Id: 402240 => Updated with Vin: 1FTDX1767VKC44057 ## Mail History Id: 28863315, Consumer Id: 742569, Address Id: 407597 => Updated with Vin: 1LNLM91V8VY662882 ## Mail History Id: 28863265, Consumer Id: 759814, Address Id: 6405879 => Updated with Vin: 1LNLM81W7VY759641 ## Mail History Id: 28863182, Consumer Id: 759810, Address Id: 11850514 => Updated with Vin: 1FMPU18L4WLA80655 ## Mail History Id: 28863473, Consumer Id: 759816, Address Id: 11850517 => Updated with Vin: 1FTRX17W1XKA71497 ## Mail History Id: 28863367, Consumer Id: 759818, Address Id: 11850518 => Updated with Vin: 2FMZA5144YBC69904 ## Mail History Id: 28863381, Consumer Id: 197882, Address Id: 405841 => Updated with Vin: 1FAFP42X8YF208455 ## Total mail_history records updated with vin numbers: 63 out of 90 ============================================================ ====== Tracking Id: 797 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-23 12:09:27') AND us2_order_type_id = 3 ## Order found: 1034 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1034 AND product_id = 113 ## Job Group Found: '416' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('416') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408003') AND customer_id = 3427 ## Mailing found: '12417' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28863512, Consumer Id: 511355, Address Id: 7555325 => Updated with Vin: 1HGFA16806L015729 ## Mail History Id: 28863514, Consumer Id: 492906, Address Id: 327986 => Updated with Vin: SHSRD78833U137057 ## Mail History Id: 28863516, Consumer Id: 504698, Address Id: 3661805 => Updated with Vin: 1HGCM56775A062937 ## Mail History Id: 28863518, Consumer Id: 500565, Address Id: 9835495 => Updated with Vin: 2HKYF18574H578936 ## Mail History Id: 28863520, Consumer Id: 510369, Address Id: 9843573 => Updated with Vin: 1HGCM66885A034210 ## Mail History Id: 28863522, Consumer Id: 473649, Address Id: 9835187 => Updated with Vin: 5FNYF18516B019870 ## Mail History Id: 28863524, Consumer Id: 473986, Address Id: 9835382 => Updated with Vin: 5FNRL387X7B412990 ## Total mail_history records updated with vin numbers: 7 out of 9 ============================================================ ====== Tracking Id: 798 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-23 12:09:40') AND us2_order_type_id = 3 ## Order found: 1034 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1034 AND product_id = 112 ## Job Group Found: '416' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('416') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408003') AND customer_id = 3427 ## Mailing found: '12417' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28863526, Consumer Id: 491004, Address Id: 7552503 => Updated with Vin: 5FNRL18903B094121 ## Mail History Id: 28863528, Consumer Id: 496770, Address Id: 9831237 => Updated with Vin: 1HGCG16531A036182 ## Mail History Id: 28863532, Consumer Id: 502022, Address Id: 9828694 => Updated with Vin: 1HGCM66584A095576 ## Mail History Id: 28863534, Consumer Id: 495980, Address Id: 9830661 => Updated with Vin: 1HGCG1659WA066424 ## Mail History Id: 28863536, Consumer Id: 510506, Address Id: 3380070 => Updated with Vin: 2HJYK16596H534684 ## Mail History Id: 28863538, Consumer Id: 514706, Address Id: 330412 => Updated with Vin: 1HGCM56426A005178 ## Mail History Id: 28863540, Consumer Id: 510510, Address Id: 9843658 => Updated with Vin: 5FNRL384X6B001674 ## Mail History Id: 28863542, Consumer Id: 498568, Address Id: 9832519 => Updated with Vin: 2HGES267X4H527028 ## Mail History Id: 28863544, Consumer Id: 491732, Address Id: 9827527 => Updated with Vin: 5FNRL18013B034320 ## Mail History Id: 28863546, Consumer Id: 512907, Address Id: 7555245 => Updated with Vin: 1HGCM66553A093945 ## Mail History Id: 28863548, Consumer Id: 513627, Address Id: 9845521 => Updated with Vin: 1HGCD7151SA003623 ## Mail History Id: 28863550, Consumer Id: 473187, Address Id: 327970 => Updated with Vin: 5FNYF18716B030305 ## Mail History Id: 28863552, Consumer Id: 483309, Address Id: 9837783 => Updated with Vin: 1HGCM82784A002820 ## Total mail_history records updated with vin numbers: 13 out of 14 ============================================================ ====== Tracking Id: 799 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-23 12:09:44') AND us2_order_type_id = 3 ## Order found: 1035 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1035 AND product_id = 143 ## Job Group Found: '414' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('414') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408001') AND customer_id = 3471 ## Mailing found: '12431' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 28863422, Consumer Id: 800981, Address Id: 7877965 => Updated with Vin: 1G6VR3175HU101065 ## Mail History Id: 28863211, Consumer Id: 807169, Address Id: 10220032 => Updated with Vin: 1G6DP567950122056 ## Mail History Id: 28863482, Consumer Id: 799691, Address Id: 10215062 => Updated with Vin: 1G6ET1298YU134633 ## Mail History Id: 28863193, Consumer Id: 799372, Address Id: 10216867 => Updated with Vin: 1G6KE57Y51U278070 ## Mail History Id: 28863460, Consumer Id: 799553, Address Id: 10213740 => Updated with Vin: 1G6KS52Y7TU836911 ## Mail History Id: 28863432, Consumer Id: 799455, Address Id: 10211537 => Updated with Vin: 1G6EL12Y4RU622048 ## Mail History Id: 28863233, Consumer Id: 804016, Address Id: 9712034 => Updated with Vin: 1G6KD54Y6XU775466 ## Mail History Id: 28863456, Consumer Id: 798619, Address Id: 10214189 => Updated with Vin: 1G3WX52H4XF366508 ## Mail History Id: 28863430, Consumer Id: 818268, Address Id: 7878227 => Updated with Vin: 1G6DC67A360105086 ## Mail History Id: 28863464, Consumer Id: 821672, Address Id: 10213868 => Updated with Vin: 1G6KD54YX5U264520 ## Mail History Id: 28863187, Consumer Id: 799311, Address Id: 10216014 => Updated with Vin: 1G6KS54Y91U182813 ## Mail History Id: 28863466, Consumer Id: 820472, Address Id: 10213928 => Updated with Vin: 1G6KF57923U110329 ## Mail History Id: 28863225, Consumer Id: 798331, Address Id: 11869821 => Updated with Vin: 3GYFK66N53G277828 ## Mail History Id: 28863195, Consumer Id: 802230, Address Id: 10216389 => Updated with Vin: 2G4WB52K4V1420559 ## Mail History Id: 28863191, Consumer Id: 799373, Address Id: 10216293 => Updated with Vin: 1GYEK63N92R103730 ## Mail History Id: 28863213, Consumer Id: 806633, Address Id: 10220135 => Updated with Vin: 1G6KD54Y74U162736 ## Mail History Id: 28863474, Consumer Id: 816277, Address Id: 7416775 => Updated with Vin: 1GYEK63NX5R172060 ## Mail History Id: 28863476, Consumer Id: 818383, Address Id: 7416798 => Updated with Vin: 1G6KD57YX6U107700 ## Mail History Id: 28863458, Consumer Id: 760283, Address Id: 10560713 => Updated with Vin: 1GYFK638X7R211392 ## Mail History Id: 28863207, Consumer Id: 817291, Address Id: 11876605 => Updated with Vin: 3GYFK66NX5G242110 ## Mail History Id: 28863434, Consumer Id: 821222, Address Id: 11876199 => Updated with Vin: 1G6DP577970105095 ## Mail History Id: 28863440, Consumer Id: 760425, Address Id: 11851034 => Updated with Vin: 2GTEK19T6X1569761 ## Mail History Id: 28863450, Consumer Id: 820679, Address Id: 10212959 => Updated with Vin: 1G6KD54Y85U250969 ## Mail History Id: 28863480, Consumer Id: 807003, Address Id: 11876386 => Updated with Vin: 1G6DJ577X80167057 ## Mail History Id: 28863470, Consumer Id: 823353, Address Id: 11878885 => Updated with Vin: 1G6KD54Y2WU776953 ## Total mail_history records updated with vin numbers: 25 out of 46 ============================================================ ====== Tracking Id: 800 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-23 12:09:55') AND us2_order_type_id = 3 ## Order found: 1034 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1034 AND product_id = 114 ## Job Group Found: '416' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('416') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072408003') AND customer_id = 3427 ## Mailing found: '12417' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 801 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-24 08:08:17') AND us2_order_type_id = 3 ## Order found: 1051 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1051 AND product_id = 55 ## Job Group Found: '441' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('441') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808002') AND customer_id = 3230 ## Mailing found: '12483' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 802 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-24 08:38:25') AND us2_order_type_id = 3 ## Order found: 1051 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1051 AND product_id = 113 ## Job Group Found: '438' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('438') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808003') AND customer_id = 3230 ## Mailing found: '12495' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050439, Consumer Id: 103767, Address Id: 53831 => Updated with Vin: 1FMSU43F9YEA90389 ## Mail History Id: 29050441, Consumer Id: 103075, Address Id: 53528 => Updated with Vin: 1FTRX14W86FA15438 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 803 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-24 08:38:47') AND us2_order_type_id = 3 ## Order found: 1051 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1051 AND product_id = 143 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3230 ## Mailing found: '12487' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050139, Consumer Id: 65299, Address Id: 47630 => Updated with Vin: 2FTRX18L13CA43220 ## Mail History Id: 29050167, Consumer Id: 67390, Address Id: 50485 => Updated with Vin: 1FAHP25176G180868 ## Mail History Id: 29050149, Consumer Id: 38571, Address Id: 51512 => Updated with Vin: 1FMCU02Z68KA47459 ## Mail History Id: 29050267, Consumer Id: 92714, Address Id: 49646 => Updated with Vin: 1FAHP34N67W182547 ## Mail History Id: 29050129, Consumer Id: 66178, Address Id: 50111 => Updated with Vin: 1GNCT18XX3K110873 ## Mail History Id: 29050135, Consumer Id: 67648, Address Id: 50921 => Updated with Vin: 3FAHP07146R164086 ## Mail History Id: 29050071, Consumer Id: 38440, Address Id: 49105 => Updated with Vin: 1FAFP24145G157684 ## Mail History Id: 29050145, Consumer Id: 93545, Address Id: 48629 => Updated with Vin: 1FAHP25W08G135267 ## Mail History Id: 29050011, Consumer Id: 415117, Address Id: 9799939 => Updated with Vin: 1FMFU18L14LB04743 ## Mail History Id: 29050041, Consumer Id: 102668, Address Id: 51881 => Updated with Vin: 1FTNX21L2YEE43237 ## Mail History Id: 29050137, Consumer Id: 92845, Address Id: 49103 => Updated with Vin: 1FTPW14V07FA21981 ## Mail History Id: 29050103, Consumer Id: 63539, Address Id: 47458 => Updated with Vin: 1FMYU041X2KB66006 ## Mail History Id: 29050059, Consumer Id: 93130, Address Id: 51544 => Updated with Vin: 1FTYR44U07PA45082 ## Mail History Id: 29050053, Consumer Id: 93330, Address Id: 48668 => Updated with Vin: 1FAHP35N48W117163 ## Mail History Id: 29050061, Consumer Id: 93485, Address Id: 51120 => Updated with Vin: 1FAHP25W78G127828 ## Mail History Id: 29050095, Consumer Id: 65845, Address Id: 49714 => Updated with Vin: 1FMZK06135GA56249 ## Mail History Id: 29050093, Consumer Id: 435405, Address Id: 53869 => Updated with Vin: 1GCCS1941V8114746 ## Mail History Id: 29050055, Consumer Id: 339301, Address Id: 47457 => Updated with Vin: 1FAHP24W48G138500 ## Mail History Id: 29050113, Consumer Id: 93355, Address Id: 51840 => Updated with Vin: 1FTRX12W77FB78358 ## Mail History Id: 29050085, Consumer Id: 92490, Address Id: 50788 => Updated with Vin: 1FTPW145X6FB34514 ## Mail History Id: 29050131, Consumer Id: 103596, Address Id: 53743 => Updated with Vin: 1FAFP53U4XG212392 ## Mail History Id: 29050133, Consumer Id: 415116, Address Id: 9799938 => Updated with Vin: 1FTPX14545FA91798 ## Mail History Id: 29050153, Consumer Id: 92195, Address Id: 47300 => Updated with Vin: 1FMYU031X6KA13679 ## Mail History Id: 29050001, Consumer Id: 66442, Address Id: 51882 => Updated with Vin: 1FMYU031X6KA13679 ## Mail History Id: 29050033, Consumer Id: 65003, Address Id: 49372 => Updated with Vin: 1FTSW21P55EC61374 ## Mail History Id: 29050029, Consumer Id: 67720, Address Id: 50552 => Updated with Vin: 1FTPX14596FB23128 ## Mail History Id: 29050005, Consumer Id: 93229, Address Id: 51729 => Updated with Vin: 3FAHP06Z57R214194 ## Mail History Id: 29050039, Consumer Id: 320200, Address Id: 9607250 => Updated with Vin: 2FMDK38C78BA10364 ## Total mail_history records updated with vin numbers: 28 out of 37 ============================================================ ====== Tracking Id: 804 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-24 09:20:12') AND us2_order_type_id = 3 ## Order found: 1052 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1052 AND product_id = 142 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3768 ## Mailing found: '12492' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 805 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-24 10:17:47') AND us2_order_type_id = 3 ## Order found: 1053 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1053 AND product_id = 143 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3416 ## Mailing found: '12489' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29049941, Consumer Id: 692642, Address Id: 1968429 => Updated with Vin: 5GTDN13E778183966 ## Mail History Id: 29049945, Consumer Id: 692790, Address Id: 11798518 => Updated with Vin: 5GTDN13E078175126 ## Mail History Id: 29049917, Consumer Id: 693313, Address Id: 4772881 => Updated with Vin: 1G6DP57V680100808 ## Mail History Id: 29049885, Consumer Id: 625846, Address Id: 11766157 => Updated with Vin: 1G6DW677460158455 ## Mail History Id: 29049869, Consumer Id: 625884, Address Id: 11766174 => Updated with Vin: 1G6DW677370178066 ## Mail History Id: 29049867, Consumer Id: 693221, Address Id: 11798733 => Updated with Vin: 5GTDN13E378222228 ## Mail History Id: 29049919, Consumer Id: 732679, Address Id: 11849326 => Updated with Vin: 1G6KD54Y95U141971 ## Mail History Id: 29049939, Consumer Id: 686545, Address Id: 11803557 => Updated with Vin: 5GZCZ53485S827026 ## Mail History Id: 29050275, Consumer Id: 732680, Address Id: 11849327 => Updated with Vin: 1G6KD57Y86U114452 ## Mail History Id: 29049963, Consumer Id: 688204, Address Id: 11796785 => Updated with Vin: 1G6KD54Y3VU273043 ## Mail History Id: 29049899, Consumer Id: 684355, Address Id: 11795632 => Updated with Vin: 1G6KD54Y2YU355883 ## Mail History Id: 29049883, Consumer Id: 686404, Address Id: 1961801 => Updated with Vin: 1G6KS54Y6WU915195 ## Mail History Id: 29049857, Consumer Id: 685632, Address Id: 1966572 => Updated with Vin: 1G6KD54Y23U279722 ## Mail History Id: 29049965, Consumer Id: 627218, Address Id: 1969356 => Updated with Vin: 1G6DW5278PR700624 ## Mail History Id: 29049989, Consumer Id: 687563, Address Id: 11796591 => Updated with Vin: 1G6KD54Y1XU794927 ## Mail History Id: 29049969, Consumer Id: 627185, Address Id: 1969426 => Updated with Vin: 1G6KF579XYU335377 ## Mail History Id: 29049909, Consumer Id: 690666, Address Id: 11797691 => Updated with Vin: 1G6KD54Y75U245956 ## Mail History Id: 29049935, Consumer Id: 684617, Address Id: 1968293 => Updated with Vin: 1G6KD54Y72U279195 ## Mail History Id: 29049977, Consumer Id: 682905, Address Id: 1969648 => Updated with Vin: 1G6KD57Y02U139016 ## Mail History Id: 29049983, Consumer Id: 683876, Address Id: 1969788 => Updated with Vin: 1GYEK63NX3R226650 ## Mail History Id: 29050045, Consumer Id: 686542, Address Id: 11795982 => Updated with Vin: 1G6KD57Y48U170701 ## Mail History Id: 29049889, Consumer Id: 685812, Address Id: 1962323 => Updated with Vin: 5GRGN23U34H109486 ## Mail History Id: 29049951, Consumer Id: 688246, Address Id: 1969047 => Updated with Vin: 1G6KD54Y41U233435 ## Mail History Id: 29049921, Consumer Id: 625736, Address Id: 1965646 => Updated with Vin: 1GYEE437X80151232 ## Mail History Id: 29049877, Consumer Id: 688276, Address Id: 1961270 => Updated with Vin: 1G6KD54YX1U239983 ## Mail History Id: 29049887, Consumer Id: 691651, Address Id: 11798050 => Updated with Vin: 3GYFK62807G157702 ## Mail History Id: 29049981, Consumer Id: 758241, Address Id: 11797937 => Updated with Vin: 2GTEK190981194522 ## Mail History Id: 29049895, Consumer Id: 692133, Address Id: 11798225 => Updated with Vin: 1G6KD57Y96U219789 ## Mail History Id: 29049953, Consumer Id: 687177, Address Id: 11796481 => Updated with Vin: 1G6CD53B0M4347633 ## Mail History Id: 29049929, Consumer Id: 688008, Address Id: 11796728 => Updated with Vin: 1G6KD54Y34U107460 ## Total mail_history records updated with vin numbers: 30 out of 41 ============================================================ ====== Tracking Id: 806 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-24 10:43:53') AND us2_order_type_id = 3 ## Order found: 1051 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1051 AND product_id = 140 ## Job Group Found: '437' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('437') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808006') AND customer_id = 3230 ## Mailing found: '12501' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 807 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-24 11:14:23') AND us2_order_type_id = 3 ## Order found: 1054 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1054 AND product_id = 112 ## Job Group Found: '438' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('438') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808003') AND customer_id = 3486 ## Mailing found: '12499' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050447, Consumer Id: 476848, Address Id: 1567510 => Updated with Vin: 2GCEK19T321335070 ## Mail History Id: 29050449, Consumer Id: 485710, Address Id: 1566687 => Updated with Vin: 2G1WF52E429249370 ## Mail History Id: 29050451, Consumer Id: 478691, Address Id: 4374738 => Updated with Vin: 2G1WF52E649138340 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 808 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-24 11:17:43') AND us2_order_type_id = 3 ## Order found: 1055 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1055 AND product_id = 144 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3705 ## Mailing found: '12491' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29049922, Consumer Id: 967905, Address Id: 14839591 => Updated with Vin: 1GKFC13C67R331494 ## Mail History Id: 29049878, Consumer Id: 968508, Address Id: 14840040 => Updated with Vin: 1GKER13787J127873 ## Mail History Id: 29049926, Consumer Id: 968483, Address Id: 14840025 => Updated with Vin: 2GTEK13ZX71135016 ## Mail History Id: 29049932, Consumer Id: 969926, Address Id: 14841057 => Updated with Vin: 4T1BE46K67U523662 ## Mail History Id: 29049916, Consumer Id: 971047, Address Id: 14841876 => Updated with Vin: 2GTEC13C471726046 ## Mail History Id: 29049934, Consumer Id: 971053, Address Id: 14841882 => Updated with Vin: 2G2WR554371237738 ## Mail History Id: 29049884, Consumer Id: 972953, Address Id: 14843264 => Updated with Vin: 1GTCS149X88131214 ## Mail History Id: 29049936, Consumer Id: 972954, Address Id: 11771583 => Updated with Vin: 2G1WT58K789245733 ## Mail History Id: 29049914, Consumer Id: 976593, Address Id: 14844528 => Updated with Vin: 2G1WF55E1Y9133158 ## Mail History Id: 29049918, Consumer Id: 980844, Address Id: 14846797 => Updated with Vin: 3GNFC16J38G121935 ## Mail History Id: 29049886, Consumer Id: 978886, Address Id: 14845785 => Updated with Vin: 3GNDA13D47S620430 ## Total mail_history records updated with vin numbers: 11 out of 26 ============================================================ ====== Tracking Id: 809 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-24 11:17:54') AND us2_order_type_id = 3 ## Order found: 1055 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1055 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 810 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-24 11:18:14') AND us2_order_type_id = 3 ## Order found: 1055 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1055 AND product_id = 112 ## Job Group Found: '438' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('438') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808003') AND customer_id = 3705 ## Mailing found: '12500' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 811 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-24 11:44:16') AND us2_order_type_id = 3 ## Order found: 1056 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1056 AND product_id = 142 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3357 ## Mailing found: '12488' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050158, Consumer Id: 198834, Address Id: 407740 => Updated with Vin: 1FDSE35L48DA13901 ## Mail History Id: 29050218, Consumer Id: 461737, Address Id: 9819591 => Updated with Vin: JM1GG12LX71108301 ## Mail History Id: 29050052, Consumer Id: 774191, Address Id: 11851831 => Updated with Vin: JM1BK34M381817793 ## Mail History Id: 29050232, Consumer Id: 774200, Address Id: 885794 => Updated with Vin: 3FAHP39532R188021 ## Mail History Id: 29050220, Consumer Id: 774203, Address Id: 11851841 => Updated with Vin: 1FTRF27Z4WKB88198 ## Mail History Id: 29050108, Consumer Id: 774201, Address Id: 11851840 => Updated with Vin: JM1BK32G181815764 ## Mail History Id: 29050160, Consumer Id: 774195, Address Id: 11851835 => Updated with Vin: WDBJF70J21B241776 ## Mail History Id: 29050066, Consumer Id: 774198, Address Id: 11851838 => Updated with Vin: 1FTSW31F01EA06283 ## Mail History Id: 29050168, Consumer Id: 774206, Address Id: 6486088 => Updated with Vin: 1FMYU03101KB22967 ## Mail History Id: 29050262, Consumer Id: 435562, Address Id: 9800092 => Updated with Vin: 1FTYR14E11PA38415 ## Mail History Id: 29050064, Consumer Id: 774196, Address Id: 11851836 => Updated with Vin: 1LNHM87A21Y652458 ## Mail History Id: 29050212, Consumer Id: 774202, Address Id: 398700 => Updated with Vin: JM3ER29L270142680 ## Mail History Id: 29050276, Consumer Id: 187608, Address Id: 398389 => Updated with Vin: 1FTPW14595KB73570 ## Mail History Id: 29050056, Consumer Id: 461868, Address Id: 9819595 => Updated with Vin: 1FAHP555926210697 ## Mail History Id: 29050214, Consumer Id: 774190, Address Id: 11851830 => Updated with Vin: 4T3ZF13C92U470334 ## Mail History Id: 29050154, Consumer Id: 774207, Address Id: 875861 => Updated with Vin: 1FAHP60A22Y122136 ## Mail History Id: 29050252, Consumer Id: 774199, Address Id: 11851839 => Updated with Vin: 1FTRW08L93KD51437 ## Mail History Id: 29050136, Consumer Id: 196217, Address Id: 405330 => Updated with Vin: 2MRZA20294BJ02917 ## Mail History Id: 29050134, Consumer Id: 774193, Address Id: 11851833 => Updated with Vin: 1GNEC16T24J324806 ## Mail History Id: 29050144, Consumer Id: 151814, Address Id: 394188 => Updated with Vin: JM1BK143451300476 ## Mail History Id: 29050106, Consumer Id: 193478, Address Id: 403149 => Updated with Vin: 1YVHP84DX55M14627 ## Mail History Id: 29050124, Consumer Id: 196253, Address Id: 405124 => Updated with Vin: 1YVHP84C555M36297 ## Mail History Id: 29050098, Consumer Id: 774204, Address Id: 11851842 => Updated with Vin: 5LMFU28595LJ15477 ## Mail History Id: 29050086, Consumer Id: 774188, Address Id: 11851828 => Updated with Vin: JTDBR32E960086491 ## Mail History Id: 29050194, Consumer Id: 155798, Address Id: 397832 => Updated with Vin: 1ZVFT80N265127840 ## Mail History Id: 29050110, Consumer Id: 193607, Address Id: 403354 => Updated with Vin: 3FAHP31N65R121686 ## Mail History Id: 29050246, Consumer Id: 774192, Address Id: 404297 => Updated with Vin: WDBRF56H16F752052 ## Mail History Id: 29050178, Consumer Id: 774205, Address Id: 11851843 => Updated with Vin: 1FTPW14546FB41216 ## Mail History Id: 29050192, Consumer Id: 774208, Address Id: 11715698 => Updated with Vin: 1FAFP24116G113417 ## Mail History Id: 29050148, Consumer Id: 199068, Address Id: 407760 => Updated with Vin: 1FMDK06166GA04478 ## Mail History Id: 29050254, Consumer Id: 197869, Address Id: 407014 => Updated with Vin: 1FMEU73E86UB45164 ## Mail History Id: 29050126, Consumer Id: 155078, Address Id: 397164 => Updated with Vin: JM1FE173670208928 ## Mail History Id: 29050048, Consumer Id: 154768, Address Id: 396898 => Updated with Vin: JM1BK324971752434 ## Mail History Id: 29050250, Consumer Id: 155620, Address Id: 397662 => Updated with Vin: 1YVHP80D075M04875 ## Mail History Id: 29050176, Consumer Id: 155920, Address Id: 397936 => Updated with Vin: 1YVHP80D475M08833 ## Mail History Id: 29050062, Consumer Id: 155862, Address Id: 397893 => Updated with Vin: 1FTNE14W57DA38709 ## Mail History Id: 29050198, Consumer Id: 197174, Address Id: 406481 => Updated with Vin: 1FTRX12W87FA04458 ## Mail History Id: 29050200, Consumer Id: 154011, Address Id: 396201 => Updated with Vin: 1FMFK175X7LA22846 ## Mail History Id: 29050274, Consumer Id: 609273, Address Id: 395912 => Updated with Vin: JM3TB38V380145805 ## Mail History Id: 29050256, Consumer Id: 191399, Address Id: 398416 => Updated with Vin: 2FMDA5148VBD12386 ## Mail History Id: 29050130, Consumer Id: 187648, Address Id: 398439 => Updated with Vin: 1FMRU15L82LA56687 ## Mail History Id: 29050100, Consumer Id: 194222, Address Id: 400422 => Updated with Vin: 1NXBR32E83Z138757 ## Mail History Id: 29050226, Consumer Id: 189887, Address Id: 400124 => Updated with Vin: 1FAFP40482F217611 ## Mail History Id: 29050210, Consumer Id: 165932, Address Id: 425618 => Updated with Vin: 1ZVHT80N185149873 ## Mail History Id: 29050240, Consumer Id: 155926, Address Id: 397942 => Updated with Vin: 1ZVHT80N585171679 ## Mail History Id: 29050054, Consumer Id: 155621, Address Id: 397663 => Updated with Vin: 2FMDK48C08BA23429 ## Mail History Id: 29050260, Consumer Id: 774194, Address Id: 11851834 => Updated with Vin: 1FMCU49H88KA90544 ## Mail History Id: 29050060, Consumer Id: 653277, Address Id: 11782432 => Updated with Vin: 1FTPW14548KC19777 ## Mail History Id: 29050230, Consumer Id: 187531, Address Id: 398208 => Updated with Vin: 1FDEE14N1MHB38832 ## Mail History Id: 29050156, Consumer Id: 196855, Address Id: 405980 => Updated with Vin: 1LNLM81W0RY701554 ## Mail History Id: 29050190, Consumer Id: 774197, Address Id: 11851837 => Updated with Vin: 1FALP54P2RA212604 ## Mail History Id: 29050112, Consumer Id: 194086, Address Id: 403267 => Updated with Vin: 1FTHX25G1TEA48677 ## Mail History Id: 29050070, Consumer Id: 195392, Address Id: 404033 => Updated with Vin: 1FDKE30G8THB47516 ## Mail History Id: 29050202, Consumer Id: 190844, Address Id: 401660 => Updated with Vin: 1FASP10J6TW118158 ## Mail History Id: 29050058, Consumer Id: 653279, Address Id: 11782434 => Updated with Vin: 1G8ZK5276WZ314145 ## Mail History Id: 29050188, Consumer Id: 774187, Address Id: 399984 => Updated with Vin: 1FTDF076XVKB11354 ## Mail History Id: 29050076, Consumer Id: 774189, Address Id: 11851829 => Updated with Vin: 2HGEJ6614YH514142 ## Total mail_history records updated with vin numbers: 57 out of 80 ============================================================ ====== Tracking Id: 812 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-24 12:16:50') AND us2_order_type_id = 3 ## Order found: 1057 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1057 AND product_id = 112 ## Job Group Found: '438' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('438') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808003') AND customer_id = 3427 ## Mailing found: '12497' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050366, Consumer Id: 499841, Address Id: 9830449 => Updated with Vin: 2HKRL1854XH511423 ## Mail History Id: 29050368, Consumer Id: 494429, Address Id: 9829511 => Updated with Vin: JHMES966X3S003351 ## Mail History Id: 29050370, Consumer Id: 518097, Address Id: 324821 => Updated with Vin: JNRAS08W55X212978 ## Mail History Id: 29050372, Consumer Id: 498301, Address Id: 9832324 => Updated with Vin: 1HGES15552L041253 ## Mail History Id: 29050374, Consumer Id: 511315, Address Id: 9844155 => Updated with Vin: 5FNRL38745B099559 ## Mail History Id: 29050376, Consumer Id: 504977, Address Id: 9839921 => Updated with Vin: 1HGCM56825A011273 ## Mail History Id: 29050378, Consumer Id: 492121, Address Id: 9827817 => Updated with Vin: 5FNRL18793B035163 ## Mail History Id: 29050380, Consumer Id: 501946, Address Id: 9837299 => Updated with Vin: 2HKRL18042H551093 ## Mail History Id: 29050382, Consumer Id: 519264, Address Id: 9848882 => Updated with Vin: 2HJYK16506H543547 ## Mail History Id: 29050384, Consumer Id: 515228, Address Id: 325985 => Updated with Vin: JHLRD78842C008590 ## Total mail_history records updated with vin numbers: 10 out of 12 ============================================================ ====== Tracking Id: 813 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-24 12:17:02') AND us2_order_type_id = 3 ## Order found: 1057 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1057 AND product_id = 113 ## Job Group Found: '438' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('438') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808003') AND customer_id = 3427 ## Mailing found: '12497' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050406, Consumer Id: 493247, Address Id: 9828652 => Updated with Vin: 5J6YH27613L029232 ## Mail History Id: 29050408, Consumer Id: 496549, Address Id: 9831067 => Updated with Vin: 1HGCM56894A003024 ## Mail History Id: 29050410, Consumer Id: 502172, Address Id: 9837357 => Updated with Vin: 1HGCM56744A103894 ## Mail History Id: 29050412, Consumer Id: 502525, Address Id: 9837944 => Updated with Vin: 1HGCM566X4A167896 ## Mail History Id: 29050414, Consumer Id: 497189, Address Id: 9831531 => Updated with Vin: SHSRD78893U125186 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 814 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-24 12:17:14') AND us2_order_type_id = 3 ## Order found: 1058 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1058 AND product_id = 143 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3471 ## Mailing found: '12490' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050024, Consumer Id: 798919, Address Id: 10220484 => Updated with Vin: 1G6KF5793YU295434 ## Mail History Id: 29049994, Consumer Id: 799415, Address Id: 7416922 => Updated with Vin: 1GHDT13S122110052 ## Mail History Id: 29049968, Consumer Id: 797990, Address Id: 7415921 => Updated with Vin: 1G6KE54Y42U135326 ## Mail History Id: 29049980, Consumer Id: 800678, Address Id: 7416490 => Updated with Vin: 1G6KE54Y12U103661 ## Mail History Id: 29049966, Consumer Id: 804925, Address Id: 7416428 => Updated with Vin: 1GYEK63N14R235724 ## Mail History Id: 29049946, Consumer Id: 816546, Address Id: 7878040 => Updated with Vin: 1G6KE57Y85U140447 ## Mail History Id: 29050034, Consumer Id: 817491, Address Id: 11876650 => Updated with Vin: 1G6DP567250212147 ## Mail History Id: 29050000, Consumer Id: 760523, Address Id: 11851069 => Updated with Vin: 1GYFK66897R250356 ## Mail History Id: 29049964, Consumer Id: 807005, Address Id: 7415590 => Updated with Vin: 1G6DD67V280160244 ## Total mail_history records updated with vin numbers: 9 out of 17 ============================================================ ====== Tracking Id: 815 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-24 12:17:14') AND us2_order_type_id = 3 ## Order found: 1057 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1057 AND product_id = 114 ## Job Group Found: '438' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('438') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808003') AND customer_id = 3427 ## Mailing found: '12497' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050428, Consumer Id: 506185, Address Id: 330148 => Updated with Vin: JHMAP21485S002814 ## Mail History Id: 29050430, Consumer Id: 492901, Address Id: 9828402 => Updated with Vin: 2HKRL18671H527065 ## Mail History Id: 29050434, Consumer Id: 499454, Address Id: 9833461 => Updated with Vin: 5FNRL18003B029092 ## Mail History Id: 29050436, Consumer Id: 501357, Address Id: 328742 => Updated with Vin: 1HGCG165XYA024878 ## Mail History Id: 29050438, Consumer Id: 496266, Address Id: 9830864 => Updated with Vin: 1HGCD5631TA262660 ## Mail History Id: 29050440, Consumer Id: 499671, Address Id: 9834020 => Updated with Vin: 5FNRL18684B073444 ## Mail History Id: 29050442, Consumer Id: 515124, Address Id: 9828768 => Updated with Vin: 1HGCM56864A047935 ## Mail History Id: 29050444, Consumer Id: 512351, Address Id: 9844797 => Updated with Vin: 1HGCM56383A129555 ## Mail History Id: 29050446, Consumer Id: 494923, Address Id: 9829879 => Updated with Vin: 2HKYF18423H606292 ## Mail History Id: 29050448, Consumer Id: 496758, Address Id: 9831228 => Updated with Vin: 1HGCG5650WA040351 ## Mail History Id: 29050450, Consumer Id: 492279, Address Id: 9827935 => Updated with Vin: 1HGEJ8147WL099749 ## Mail History Id: 29050452, Consumer Id: 511447, Address Id: 9844241 => Updated with Vin: 2HGES16592H612500 ## Mail History Id: 29050454, Consumer Id: 482665, Address Id: 7554928 => Updated with Vin: 1HGCP36898A002957 ## Total mail_history records updated with vin numbers: 13 out of 15 ============================================================ ====== Tracking Id: 816 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3792 AND DATE(cart_created_date) = DATE('2008-07-24 12:43:59') AND us2_order_type_id = 3 ## Order found: 1059 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1059 AND product_id = 54 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 817 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3792 AND DATE(cart_created_date) = DATE('2008-07-24 12:44:26') AND us2_order_type_id = 3 ## Order found: 1059 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1059 AND product_id = 54 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 818 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3848 AND DATE(cart_created_date) = DATE('2008-07-24 12:45:00') AND us2_order_type_id = 3 ## Order found: 1061 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1061 AND product_id = 54 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 819 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 565 AND DATE(cart_created_date) = DATE('2008-07-24 16:31:09') AND us2_order_type_id = 3 ## Order found: 1062 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1062 AND product_id = 54 ## Job Group Found: '418' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('418') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'dht072408001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('dht072408001a') AND customer_id = 565 ## Mailing found: '12454' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 820 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-24 19:14:01') AND us2_order_type_id = 3 ## Order found: 1056 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1056 AND product_id = 55 ## Job Group Found: '441' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('441') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808002') AND customer_id = 3357 ## Mailing found: '12484' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29075115, Consumer Id: 1389143, Address Id: 15678209 => Updated with Vin: JN8DR09Y53W832262 ## Mail History Id: 29075119, Consumer Id: 1458747, Address Id: 15865369 => Updated with Vin: JM1CR29L780325946 ## Mail History Id: 29075121, Consumer Id: 1458749, Address Id: 15865371 => Updated with Vin: JM1BK32G381108357 ## Mail History Id: 29075123, Consumer Id: 1458744, Address Id: 15865366 => Updated with Vin: JM1BK344681127844 ## Mail History Id: 29075125, Consumer Id: 1458748, Address Id: 15865370 => Updated with Vin: JM1BK344081171287 ## Mail History Id: 29075127, Consumer Id: 1458746, Address Id: 15865368 => Updated with Vin: JM1BK344881147139 ## Mail History Id: 29075129, Consumer Id: 1525808, Address Id: 8403718 => Updated with Vin: JM1BK344481172670 ## Mail History Id: 29075131, Consumer Id: 1482396, Address Id: 15922597 => Updated with Vin: JM1BK32G181845492 ## Mail History Id: 29075133, Consumer Id: 1458745, Address Id: 15865367 => Updated with Vin: JM1BK324881863638 ## Mail History Id: 29075135, Consumer Id: 1525809, Address Id: 405345 => Updated with Vin: 1FTZR45E84PA99155 ## Mail History Id: 29075137, Consumer Id: 1459011, Address Id: 15865793 => Updated with Vin: 1ZVHT80N085161710 ## Mail History Id: 29075139, Consumer Id: 1291536, Address Id: 15534021 => Updated with Vin: 1YVHP80C085M19322 ## Mail History Id: 29075141, Consumer Id: 1548705, Address Id: 402423 => Updated with Vin: 1FTWW31R68ED82668 ## Mail History Id: 29075143, Consumer Id: 1482398, Address Id: 398043 => Updated with Vin: 1FMFK20538LA51994 ## Mail History Id: 29075145, Consumer Id: 1459010, Address Id: 15865792 => Updated with Vin: 1FAHP35N78W282561 ## Mail History Id: 29075147, Consumer Id: 1376210, Address Id: 15677917 => Updated with Vin: 1MEFM53SXWG606915 ## Total mail_history records updated with vin numbers: 16 out of 17 ============================================================ ====== Tracking Id: 821 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-25 08:14:13') AND us2_order_type_id = 3 ## Order found: 1078 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1078 AND product_id = 55 ## Job Group Found: '441' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('441') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808002') AND customer_id = 3230 ## Mailing found: '12483' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29075116, Consumer Id: 1438907, Address Id: 15809833 => Updated with Vin: 3FAHP07Z79R112798 ## Mail History Id: 29075118, Consumer Id: 1389075, Address Id: 15678172 => Updated with Vin: 1FAHP35N08W265665 ## Mail History Id: 29075120, Consumer Id: 1566501, Address Id: 48623 => Updated with Vin: 1FAHP35N28W243070 ## Mail History Id: 29075122, Consumer Id: 1438905, Address Id: 15809831 => Updated with Vin: 3FAHP08138R115401 ## Mail History Id: 29075124, Consumer Id: 1412828, Address Id: 15705421 => Updated with Vin: 1FTRW07682KD47485 ## Mail History Id: 29075126, Consumer Id: 1525622, Address Id: 15925902 => Updated with Vin: 1FAHP34N58W298629 ## Mail History Id: 29075128, Consumer Id: 1412827, Address Id: 15705420 => Updated with Vin: 1FMZU70E33UB26295 ## Mail History Id: 29075130, Consumer Id: 1310503, Address Id: 15560318 => Updated with Vin: 1FAFP53U94G107567 ## Mail History Id: 29075132, Consumer Id: 1358510, Address Id: 15631521 => Updated with Vin: 1FTPW14V78FC11214 ## Mail History Id: 29075134, Consumer Id: 1525623, Address Id: 15925903 => Updated with Vin: 1FTPX12V08KB37870 ## Mail History Id: 29075136, Consumer Id: 1438906, Address Id: 15809832 => Updated with Vin: 1FTPX14V28FB42963 ## Mail History Id: 29075138, Consumer Id: 1389583, Address Id: 15680289 => Updated with Vin: 1FMCU03Z78KD84575 ## Total mail_history records updated with vin numbers: 12 out of 13 ============================================================ ====== Tracking Id: 822 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-25 08:44:18') AND us2_order_type_id = 3 ## Order found: 1078 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1078 AND product_id = 143 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3230 ## Mailing found: '12487' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050171, Consumer Id: 274589, Address Id: 2496758 => Updated with Vin: 1FMCU03Z58KC92154 ## Mail History Id: 29050163, Consumer Id: 274380, Address Id: 2104335 => Updated with Vin: 1FMCU93Z68KC99778 ## Mail History Id: 29050041, Consumer Id: 93386, Address Id: 51881 => Updated with Vin: 2FMDK39C38BA18671 ## Mail History Id: 29050105, Consumer Id: 339303, Address Id: 47528 => Updated with Vin: 1FMCU04188KD07092 ## Mail History Id: 29050083, Consumer Id: 67694, Address Id: 50848 => Updated with Vin: 1FAFP28176G141636 ## Mail History Id: 29050063, Consumer Id: 415120, Address Id: 47972 => Updated with Vin: 1FMCU94158KC70457 ## Mail History Id: 29050029, Consumer Id: 339304, Address Id: 50552 => Updated with Vin: 1FTPX14V38FA72213 ## Mail History Id: 29050013, Consumer Id: 167715, Address Id: 434468 => Updated with Vin: 1FAHP25W88G161759 ## Mail History Id: 29050007, Consumer Id: 274588, Address Id: 52142 => Updated with Vin: 1FMYU93107KA02888 ## Mail History Id: 29050019, Consumer Id: 274378, Address Id: 2104334 => Updated with Vin: 3FAHP07Z68R213457 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 823 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-25 09:18:18') AND us2_order_type_id = 3 ## Order found: 1079 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1079 AND product_id = 142 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3768 ## Mailing found: '12492' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050185, Consumer Id: 1108651, Address Id: 2776542 => Updated with Vin: 3GYFK66N24G217006 ## Mail History Id: 29050227, Consumer Id: 1108743, Address Id: 14982253 => Updated with Vin: 1G6DM577040127667 ## Mail History Id: 29050237, Consumer Id: 1049855, Address Id: 14954313 => Updated with Vin: 1G6KD54Y53U253681 ## Mail History Id: 29050209, Consumer Id: 1108906, Address Id: 2851585 => Updated with Vin: 1G6DP577370102337 ## Mail History Id: 29050187, Consumer Id: 1107404, Address Id: 8130881 => Updated with Vin: 1G6KE57Y2YU247983 ## Mail History Id: 29050225, Consumer Id: 1109427, Address Id: 11666459 => Updated with Vin: 1G6DJ577280146218 ## Mail History Id: 29050253, Consumer Id: 1109551, Address Id: 14982649 => Updated with Vin: 1G6DP577870148598 ## Mail History Id: 29050203, Consumer Id: 1109526, Address Id: 14982638 => Updated with Vin: 3GYFK62808G102734 ## Mail History Id: 29050223, Consumer Id: 1109883, Address Id: 5985171 => Updated with Vin: 1G6EL12Y1VU600339 ## Mail History Id: 29050245, Consumer Id: 1048134, Address Id: 5989721 => Updated with Vin: 1G6KD57YX6U106112 ## Mail History Id: 29050261, Consumer Id: 1048198, Address Id: 12938483 => Updated with Vin: 1G6KE57Y91U286723 ## Mail History Id: 29050219, Consumer Id: 1049637, Address Id: 8826884 => Updated with Vin: 1G6KE57Y52U140594 ## Mail History Id: 29050221, Consumer Id: 1114511, Address Id: 8134781 => Updated with Vin: 1G6KE57Y42U219948 ## Mail History Id: 29050213, Consumer Id: 1047768, Address Id: 2853390 => Updated with Vin: 1G6DM57N230172042 ## Mail History Id: 29050183, Consumer Id: 1107123, Address Id: 14981982 => Updated with Vin: W06VR54R3YR009317 ## Mail History Id: 29050215, Consumer Id: 1109738, Address Id: 5984553 => Updated with Vin: 1G3HN52K3X4805008 ## Mail History Id: 29050195, Consumer Id: 1115490, Address Id: 11450118 => Updated with Vin: 1G6KF57913U119264 ## Mail History Id: 29050205, Consumer Id: 1109600, Address Id: 14982661 => Updated with Vin: 1GYEK63N95R192140 ## Mail History Id: 29050193, Consumer Id: 1050370, Address Id: 12272668 => Updated with Vin: 1G6KF57965U125709 ## Mail History Id: 29050259, Consumer Id: 1107140, Address Id: 8829418 => Updated with Vin: 1G6KF57994U145239 ## Mail History Id: 29050191, Consumer Id: 1110087, Address Id: 2778083 => Updated with Vin: 1G6KY54941U197260 ## Mail History Id: 29050249, Consumer Id: 1107894, Address Id: 5991303 => Updated with Vin: 1G6KD54Y5YU208134 ## Mail History Id: 29050201, Consumer Id: 1051942, Address Id: 3238757 => Updated with Vin: 1G6KD54Y32U217504 ## Mail History Id: 29050263, Consumer Id: 1113293, Address Id: 3598531 => Updated with Vin: 1G4HP54K924221501 ## Mail History Id: 29050251, Consumer Id: 1110274, Address Id: 8828570 => Updated with Vin: 1G6DM577640105284 ## Mail History Id: 29050241, Consumer Id: 1110220, Address Id: 5989906 => Updated with Vin: 1G6KD54Y34U255382 ## Mail History Id: 29050199, Consumer Id: 1109379, Address Id: 5979932 => Updated with Vin: 1G6DP577070148014 ## Mail History Id: 29050197, Consumer Id: 1110749, Address Id: 3237956 => Updated with Vin: 1G6DC67A250166671 ## Mail History Id: 29050239, Consumer Id: 1107958, Address Id: 5988378 => Updated with Vin: 1G6DM57NX30147826 ## Mail History Id: 29050231, Consumer Id: 1111184, Address Id: 8827501 => Updated with Vin: 1G6DP567150158341 ## Mail History Id: 29050255, Consumer Id: 1111221, Address Id: 8828732 => Updated with Vin: 1G6DW677550223232 ## Mail History Id: 29050189, Consumer Id: 1112914, Address Id: 2777993 => Updated with Vin: 1G6KD57996U114324 ## Mail History Id: 29050257, Consumer Id: 1107864, Address Id: 5993347 => Updated with Vin: 1G6KD54Y0VU247466 ## Mail History Id: 29050211, Consumer Id: 1114236, Address Id: 11451921 => Updated with Vin: 1G6KD54Y73U232010 ## Mail History Id: 29050233, Consumer Id: 1115197, Address Id: 1076597 => Updated with Vin: 1G6KD54Y0XU805030 ## Total mail_history records updated with vin numbers: 35 out of 38 ============================================================ ====== Tracking Id: 824 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-25 10:17:59') AND us2_order_type_id = 3 ## Order found: 1080 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1080 AND product_id = 143 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3416 ## Mailing found: '12489' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29049923, Consumer Id: 628688, Address Id: 11766260 => Updated with Vin: 1G6KD54Y81U226228 ## Mail History Id: 29050165, Consumer Id: 820390, Address Id: 11910009 => Updated with Vin: 1GNDT13S362238604 ## Mail History Id: 29049905, Consumer Id: 820391, Address Id: 11910010 => Updated with Vin: 2G4WE587971215851 ## Mail History Id: 29049985, Consumer Id: 625936, Address Id: 1969836 => Updated with Vin: 1GYDE637040153587 ## Mail History Id: 29049971, Consumer Id: 684237, Address Id: 11795605 => Updated with Vin: 1G6CD13B3P4206682 ## Mail History Id: 29049979, Consumer Id: 681690, Address Id: 1969670 => Updated with Vin: 1G6KD54Y91U271968 ## Mail History Id: 29049853, Consumer Id: 689435, Address Id: 1958635 => Updated with Vin: 1G6KS54YX3U121926 ## Mail History Id: 29049873, Consumer Id: 627126, Address Id: 1960528 => Updated with Vin: W06VR54R01R016828 ## Mail History Id: 29049907, Consumer Id: 820388, Address Id: 1963373 => Updated with Vin: 1G6DT57V080186659 ## Mail History Id: 29049967, Consumer Id: 692014, Address Id: 1969418 => Updated with Vin: 1G6KD57Y96U106151 ## Mail History Id: 29049943, Consumer Id: 689589, Address Id: 11797310 => Updated with Vin: 1G6DW677260105852 ## Mail History Id: 29049973, Consumer Id: 630812, Address Id: 1969512 => Updated with Vin: 1G6KD54Y13U156087 ## Mail History Id: 29049859, Consumer Id: 690116, Address Id: 4778308 => Updated with Vin: 5GTDN136668153767 ## Mail History Id: 29049957, Consumer Id: 686371, Address Id: 11796243 => Updated with Vin: 1G6KS54Y12U247882 ## Total mail_history records updated with vin numbers: 14 out of 20 ============================================================ ====== Tracking Id: 825 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-25 10:43:54') AND us2_order_type_id = 3 ## Order found: 1078 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1078 AND product_id = 140 ## Job Group Found: '437' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('437') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808006') AND customer_id = 3230 ## Mailing found: '12501' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050493, Consumer Id: 92663, Address Id: 48335 => Updated with Vin: 1FMEU74E97UA68577 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 826 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-25 11:16:55') AND us2_order_type_id = 3 ## Order found: 1081 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1081 AND product_id = 144 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3705 ## Mailing found: '12491' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29049892, Consumer Id: 973108, Address Id: 9159103 => Updated with Vin: 2GCEC19T041216926 ## Mail History Id: 29049890, Consumer Id: 962817, Address Id: 14835636 => Updated with Vin: 1G4HP52K95U250035 ## Mail History Id: 29049888, Consumer Id: 966988, Address Id: 14838901 => Updated with Vin: 2GCEC13VX71156622 ## Mail History Id: 29049866, Consumer Id: 968332, Address Id: 14839893 => Updated with Vin: 1G2ZH18N974138441 ## Mail History Id: 29049894, Consumer Id: 968693, Address Id: 8042750 => Updated with Vin: 1GTDT13E278216062 ## Mail History Id: 29049858, Consumer Id: 968927, Address Id: 14840314 => Updated with Vin: 2CNDL63F176020802 ## Mail History Id: 29049870, Consumer Id: 972404, Address Id: 14842820 => Updated with Vin: 1GNFC13068R127725 ## Mail History Id: 29049942, Consumer Id: 972679, Address Id: 14843080 => Updated with Vin: 1GCJK33658F200669 ## Mail History Id: 29049906, Consumer Id: 973033, Address Id: 2599857 => Updated with Vin: 1GTEC19V76Z234366 ## Mail History Id: 29049898, Consumer Id: 1173961, Address Id: 14839249 => Updated with Vin: 1G1ND52J816197987 ## Mail History Id: 29049940, Consumer Id: 960725, Address Id: 14831459 => Updated with Vin: 2G4WY55J111223408 ## Mail History Id: 29049896, Consumer Id: 974788, Address Id: 14843406 => Updated with Vin: 1G4HR54K02U218965 ## Mail History Id: 29049904, Consumer Id: 977323, Address Id: 14844940 => Updated with Vin: 1GCEC14V54Z190890 ## Mail History Id: 29049924, Consumer Id: 970369, Address Id: 14841366 => Updated with Vin: 1GCHK23637F560093 ## Mail History Id: 29049900, Consumer Id: 980854, Address Id: 14846803 => Updated with Vin: 1G1JC12F437211080 ## Mail History Id: 29049930, Consumer Id: 972964, Address Id: 14841177 => Updated with Vin: 1GCEC14W5YZ199250 ## Total mail_history records updated with vin numbers: 16 out of 31 ============================================================ ====== Tracking Id: 827 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-25 11:17:10') AND us2_order_type_id = 3 ## Order found: 1081 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1081 AND product_id = 112 ## Job Group Found: '438' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('438') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808003') AND customer_id = 3705 ## Mailing found: '12500' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050355, Consumer Id: 961310, Address Id: 14832188 => Updated with Vin: 1G2JB12F447233550 ## Mail History Id: 29050357, Consumer Id: 960530, Address Id: 14831997 => Updated with Vin: 1GKEK63U25J239038 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 828 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-25 11:17:22') AND us2_order_type_id = 3 ## Order found: 1081 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1081 AND product_id = 106 ## Job Group Found: '445' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('445') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808004') AND customer_id = 3705 ## Mailing found: '12485' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 829 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-25 11:44:17') AND us2_order_type_id = 3 ## Order found: 1082 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1082 AND product_id = 142 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3357 ## Mailing found: '12488' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050084, Consumer Id: 198793, Address Id: 406620 => Updated with Vin: 5LMFU28R43LJ01471 ## Mail History Id: 29050268, Consumer Id: 195417, Address Id: 404039 => Updated with Vin: 1FTSW31FX2EA54858 ## Mail History Id: 29050238, Consumer Id: 193641, Address Id: 403583 => Updated with Vin: 1FTYR44EX2PA84893 ## Mail History Id: 29050164, Consumer Id: 188189, Address Id: 399149 => Updated with Vin: 1FMDU74W63ZA70806 ## Mail History Id: 29050256, Consumer Id: 187574, Address Id: 398416 => Updated with Vin: 1FMFU18L34LB76236 ## Mail History Id: 29050174, Consumer Id: 188900, Address Id: 400769 => Updated with Vin: 1FMDU63E24ZB34814 ## Mail History Id: 29050224, Consumer Id: 191833, Address Id: 401096 => Updated with Vin: 1YVFP80D145N26969 ## Mail History Id: 29050114, Consumer Id: 870544, Address Id: 11909535 => Updated with Vin: JHMCG668X2C005084 ## Mail History Id: 29050116, Consumer Id: 194189, Address Id: 403646 => Updated with Vin: 1FDRE14W02HB82263 ## Mail History Id: 29050214, Consumer Id: 774190, Address Id: 11851830 => Updated with Vin: 4T3ZF13C92U470334 ## Mail History Id: 29050102, Consumer Id: 870533, Address Id: 11909529 => Updated with Vin: JTEEP21AX40047185 ## Mail History Id: 29050090, Consumer Id: 152080, Address Id: 394438 => Updated with Vin: 1FAFP446X4F163114 ## Mail History Id: 29050248, Consumer Id: 870539, Address Id: 8346207 => Updated with Vin: 1FTRX12W84NB25587 ## Mail History Id: 29050204, Consumer Id: 188507, Address Id: 399792 => Updated with Vin: 1FMFU18L83LA65261 ## Mail History Id: 29050216, Consumer Id: 870542, Address Id: 11909534 => Updated with Vin: JM1BK343851239368 ## Mail History Id: 29050170, Consumer Id: 189865, Address Id: 397982 => Updated with Vin: 1FAHP28115G143406 ## Mail History Id: 29050206, Consumer Id: 870530, Address Id: 11909527 => Updated with Vin: 2D4GP44L95R511308 ## Mail History Id: 29050272, Consumer Id: 152805, Address Id: 395108 => Updated with Vin: JM1BK324561469902 ## Mail History Id: 29050068, Consumer Id: 153081, Address Id: 395360 => Updated with Vin: 1FTPW14586FA95390 ## Mail History Id: 29050254, Consumer Id: 197869, Address Id: 407014 => Updated with Vin: 1FMEU73E86UB45164 ## Mail History Id: 29050222, Consumer Id: 870526, Address Id: 11909523 => Updated with Vin: JTDBT923571120201 ## Mail History Id: 29050138, Consumer Id: 154599, Address Id: 396743 => Updated with Vin: JM1BK144871720902 ## Mail History Id: 29050270, Consumer Id: 197931, Address Id: 404820 => Updated with Vin: JM1BK344971771773 ## Mail History Id: 29050208, Consumer Id: 155318, Address Id: 397382 => Updated with Vin: 1ZVFT80N775314881 ## Mail History Id: 29050092, Consumer Id: 154842, Address Id: 396959 => Updated with Vin: 1ZVFT80N475320380 ## Mail History Id: 29050062, Consumer Id: 155862, Address Id: 397893 => Updated with Vin: 1FTNE14W57DA38709 ## Mail History Id: 29050094, Consumer Id: 154361, Address Id: 396529 => Updated with Vin: 1FTYR10D07PA51811 ## Mail History Id: 29050228, Consumer Id: 153681, Address Id: 395904 => Updated with Vin: 1FAFP34N77W156868 ## Mail History Id: 29050186, Consumer Id: 870529, Address Id: 11909526 => Updated with Vin: 1FAHP31N67W164778 ## Mail History Id: 29050120, Consumer Id: 192447, Address Id: 401870 => Updated with Vin: 1FMDU34XXSZB40503 ## Mail History Id: 29050162, Consumer Id: 191595, Address Id: 400294 => Updated with Vin: 2FMZA51472BA57196 ## Mail History Id: 29050258, Consumer Id: 870531, Address Id: 396229 => Updated with Vin: 1FTRW07342KD45156 ## Mail History Id: 29050152, Consumer Id: 187310, Address Id: 398092 => Updated with Vin: JM3LW28A030377220 ## Mail History Id: 29050140, Consumer Id: 155485, Address Id: 397534 => Updated with Vin: 1ZVHT80N985122064 ## Mail History Id: 29050182, Consumer Id: 870540, Address Id: 395414 => Updated with Vin: 1FTRF12228KC59132 ## Mail History Id: 29050078, Consumer Id: 870528, Address Id: 11909525 => Updated with Vin: 1HGCM66503A027061 ## Mail History Id: 29050128, Consumer Id: 870532, Address Id: 11909528 => Updated with Vin: 1FAPP6042LH163759 ## Mail History Id: 29050118, Consumer Id: 197903, Address Id: 406820 => Updated with Vin: 1LNLM81W2NY730581 ## Mail History Id: 29050234, Consumer Id: 870535, Address Id: 11909531 => Updated with Vin: 1FALP52U9SG121681 ## Mail History Id: 29050112, Consumer Id: 194086, Address Id: 403267 => Updated with Vin: 1FTHX25G1TEA48677 ## Mail History Id: 29050132, Consumer Id: 198041, Address Id: 406582 => Updated with Vin: 1FMEE11H9THB14162 ## Mail History Id: 29050146, Consumer Id: 189448, Address Id: 401944 => Updated with Vin: 1FMFU18LXVLC17852 ## Mail History Id: 29050266, Consumer Id: 195423, Address Id: 404692 => Updated with Vin: JM1TA2225W1416214 ## Mail History Id: 29050180, Consumer Id: 870534, Address Id: 11909530 => Updated with Vin: 1FAFP66L8WK215168 ## Mail History Id: 29050080, Consumer Id: 870541, Address Id: 11909533 => Updated with Vin: 1FMPU18L5WLA20920 ## Mail History Id: 29050088, Consumer Id: 870543, Address Id: 871787 => Updated with Vin: 1FTWW33F2XED97640 ## Mail History Id: 29050150, Consumer Id: 188577, Address Id: 399802 => Updated with Vin: JM3LW28G1Y0157872 ## Mail History Id: 29050264, Consumer Id: 870536, Address Id: 11909532 => Updated with Vin: 1FTRF18W6YKA72308 ## Total mail_history records updated with vin numbers: 48 out of 55 ============================================================ ====== Tracking Id: 830 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-25 12:15:38') AND us2_order_type_id = 3 ## Order found: 1083 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1083 AND product_id = 114 ## Job Group Found: '438' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('438') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808003') AND customer_id = 3427 ## Mailing found: '12497' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050375, Consumer Id: 508917, Address Id: 325238 => Updated with Vin: SHSRD77804U234252 ## Mail History Id: 29050377, Consumer Id: 500287, Address Id: 329224 => Updated with Vin: 1HGCG1656YA068991 ## Mail History Id: 29050379, Consumer Id: 494860, Address Id: 8195667 => Updated with Vin: 1HGCG5646WA269401 ## Mail History Id: 29050381, Consumer Id: 499933, Address Id: 325344 => Updated with Vin: 2HKYF18633H617772 ## Mail History Id: 29050383, Consumer Id: 493571, Address Id: 9828878 => Updated with Vin: 1HGCG16502A074633 ## Mail History Id: 29050385, Consumer Id: 497919, Address Id: 326343 => Updated with Vin: 1HGES26702L015228 ## Mail History Id: 29050387, Consumer Id: 503430, Address Id: 9839001 => Updated with Vin: 5FNYF18624B009399 ## Mail History Id: 29050389, Consumer Id: 472923, Address Id: 8540198 => Updated with Vin: 5FNYF18496B014228 ## Mail History Id: 29050391, Consumer Id: 517058, Address Id: 9847550 => Updated with Vin: JNKCA21D3TT303492 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 831 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-25 12:15:51') AND us2_order_type_id = 3 ## Order found: 1083 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1083 AND product_id = 112 ## Job Group Found: '438' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('438') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808003') AND customer_id = 3427 ## Mailing found: '12497' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050393, Consumer Id: 499445, Address Id: 9833454 => Updated with Vin: 1HGES16544L011405 ## Mail History Id: 29050395, Consumer Id: 512118, Address Id: 9844654 => Updated with Vin: JHMFA362X6S000195 ## Mail History Id: 29050397, Consumer Id: 497031, Address Id: 328012 => Updated with Vin: JHMCM56603C045502 ## Mail History Id: 29050399, Consumer Id: 495891, Address Id: 9830601 => Updated with Vin: 5J6YH28583L006648 ## Mail History Id: 29050401, Consumer Id: 504500, Address Id: 9840175 => Updated with Vin: 1HGCM56804A023856 ## Mail History Id: 29050403, Consumer Id: 490646, Address Id: 5984336 => Updated with Vin: SHSRD78802U008319 ## Mail History Id: 29050405, Consumer Id: 498904, Address Id: 9832764 => Updated with Vin: 5FNRL18664B054715 ## Mail History Id: 29050407, Consumer Id: 497800, Address Id: 9831971 => Updated with Vin: 1HGCG1657XA007924 ## Mail History Id: 29050411, Consumer Id: 513241, Address Id: 9845295 => Updated with Vin: 2HKRL186XXH540420 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 832 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-25 12:15:57') AND us2_order_type_id = 3 ## Order found: 1085 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1085 AND product_id = 143 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3471 ## Mailing found: '12490' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29049958, Consumer Id: 807002, Address Id: 7878670 => Updated with Vin: 1GYFK63847R288663 ## Mail History Id: 29049960, Consumer Id: 760222, Address Id: 11850953 => Updated with Vin: 3GYFK66N55G257873 ## Mail History Id: 29050008, Consumer Id: 823234, Address Id: 11876365 => Updated with Vin: 1GYFK63887R425085 ## Mail History Id: 29049964, Consumer Id: 807005, Address Id: 7415590 => Updated with Vin: 1G6DD67V280160244 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 833 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-25 12:16:05') AND us2_order_type_id = 3 ## Order found: 1085 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1085 AND product_id = 112 ## Job Group Found: '438' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('438') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808003') AND customer_id = 3471 ## Mailing found: '12498' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050413, Consumer Id: 801642, Address Id: 10216118 => Updated with Vin: 1G6KF57911U184919 ## Mail History Id: 29050415, Consumer Id: 799475, Address Id: 7416907 => Updated with Vin: 1G6DM57N730157116 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 834 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-25 19:14:08') AND us2_order_type_id = 3 ## Order found: 1082 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1082 AND product_id = 55 ## Job Group Found: '441' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('441') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808002') AND customer_id = 3357 ## Mailing found: '12484' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29075144, Consumer Id: 1548704, Address Id: 15955103 => Updated with Vin: 5N1ED28Y41C568053 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 835 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-26 08:14:21') AND us2_order_type_id = 3 ## Order found: 1102 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1102 AND product_id = 55 ## Job Group Found: '441' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('441') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808002') AND customer_id = 3230 ## Mailing found: '12483' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 836 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-26 08:44:11') AND us2_order_type_id = 3 ## Order found: 1102 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1102 AND product_id = 113 ## Job Group Found: '438' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('438') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808003') AND customer_id = 3230 ## Mailing found: '12495' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050417, Consumer Id: 93460, Address Id: 51959 => Updated with Vin: 2FMDK38C47BB61144 ## Mail History Id: 29050419, Consumer Id: 103786, Address Id: 48272 => Updated with Vin: 1LNHM81WX1Y672462 ## Mail History Id: 29050421, Consumer Id: 103784, Address Id: 53842 => Updated with Vin: 1FAFP56S14G130660 ## Mail History Id: 29050423, Consumer Id: 93465, Address Id: 51961 => Updated with Vin: 1FAHP35N68W154747 ## Mail History Id: 29050425, Consumer Id: 103795, Address Id: 50916 => Updated with Vin: 1FMSU43F11EA39085 ## Mail History Id: 29050427, Consumer Id: 65254, Address Id: 50920 => Updated with Vin: 1FTSW21P96EA20791 ## Mail History Id: 29050429, Consumer Id: 66886, Address Id: 50248 => Updated with Vin: 1FTPW14596FA22982 ## Mail History Id: 29050431, Consumer Id: 103794, Address Id: 53847 => Updated with Vin: 1FMZU77E32UC24568 ## Mail History Id: 29050433, Consumer Id: 103792, Address Id: 53845 => Updated with Vin: 1FTNX21L32ED06461 ## Mail History Id: 29050435, Consumer Id: 93464, Address Id: 51146 => Updated with Vin: 3FAHP07ZX8R168734 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 837 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-26 08:44:32') AND us2_order_type_id = 3 ## Order found: 1102 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1102 AND product_id = 143 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3230 ## Mailing found: '12487' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050175, Consumer Id: 67096, Address Id: 49621 => Updated with Vin: 1FMZU73K55UB76491 ## Mail History Id: 29050269, Consumer Id: 67636, Address Id: 50786 => Updated with Vin: 1FTSW21P16EA98384 ## Mail History Id: 29050169, Consumer Id: 366931, Address Id: 9745575 => Updated with Vin: 1FMRU1666YLB25992 ## Mail History Id: 29050117, Consumer Id: 435671, Address Id: 9800222 => Updated with Vin: 1FMDK06186GA20326 ## Mail History Id: 29050123, Consumer Id: 63828, Address Id: 50978 => Updated with Vin: 2FAHP74W83X182368 ## Mail History Id: 29050121, Consumer Id: 92898, Address Id: 47882 => Updated with Vin: 1FAHP281X7G130625 ## Mail History Id: 29050077, Consumer Id: 66555, Address Id: 50259 => Updated with Vin: 1FMYU93176KA24224 ## Mail History Id: 29050147, Consumer Id: 67043, Address Id: 53189 => Updated with Vin: 1FTSW31P24EC86589 ## Mail History Id: 29050151, Consumer Id: 67360, Address Id: 50731 => Updated with Vin: 1FMYU94136KB56993 ## Mail History Id: 29050161, Consumer Id: 65708, Address Id: 49294 => Updated with Vin: 1FTRF14W44NB04543 ## Mail History Id: 29050157, Consumer Id: 366930, Address Id: 53755 => Updated with Vin: 2MELM74W8TX687953 ## Mail History Id: 29050153, Consumer Id: 65566, Address Id: 47300 => Updated with Vin: 1FAFP40482F176476 ## Mail History Id: 29050271, Consumer Id: 64579, Address Id: 49771 => Updated with Vin: 1FTSX21P15EA13412 ## Mail History Id: 29050115, Consumer Id: 102990, Address Id: 53481 => Updated with Vin: 1FTRF04555KB65890 ## Mail History Id: 29050027, Consumer Id: 93250, Address Id: 49396 => Updated with Vin: 1FMDK06W88GA14606 ## Mail History Id: 29050141, Consumer Id: 65699, Address Id: 49880 => Updated with Vin: 1FAFP57U9WG118047 ## Mail History Id: 29050079, Consumer Id: 63937, Address Id: 51031 => Updated with Vin: 1FAFP55U72A116426 ## Mail History Id: 29050075, Consumer Id: 63459, Address Id: 47505 => Updated with Vin: 1FAFP55U32G170173 ## Mail History Id: 29050073, Consumer Id: 38600, Address Id: 51699 => Updated with Vin: 1FTWW33RX8EA68423 ## Mail History Id: 29050051, Consumer Id: 366929, Address Id: 48906 => Updated with Vin: 1FAFP34P41W220292 ## Mail History Id: 29050087, Consumer Id: 65856, Address Id: 48557 => Updated with Vin: 1LNLM83W2VY743165 ## Mail History Id: 29050057, Consumer Id: 66981, Address Id: 53173 => Updated with Vin: 1LNHM86S13Y699462 ## Mail History Id: 29050067, Consumer Id: 63990, Address Id: 51319 => Updated with Vin: 1FTSW31P94EB39234 ## Mail History Id: 29050017, Consumer Id: 366932, Address Id: 9745576 => Updated with Vin: 1FTSW31F51EC34733 ## Mail History Id: 29050015, Consumer Id: 65192, Address Id: 47420 => Updated with Vin: 1FTRW08643KD52800 ## Mail History Id: 29050031, Consumer Id: 100545, Address Id: 47678 => Updated with Vin: 2FALP74W7RX178511 ## Mail History Id: 29050023, Consumer Id: 64468, Address Id: 48827 => Updated with Vin: 1FMDU34XXPUD06751 ## Total mail_history records updated with vin numbers: 27 out of 30 ============================================================ ====== Tracking Id: 838 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-26 09:17:58') AND us2_order_type_id = 3 ## Order found: 1103 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1103 AND product_id = 142 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3768 ## Mailing found: '12492' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050227, Consumer Id: 1108743, Address Id: 14982253 => Updated with Vin: 1G6DM577040127667 ## Mail History Id: 29050237, Consumer Id: 1049855, Address Id: 14954313 => Updated with Vin: 1G6KD54Y53U253681 ## Mail History Id: 29050181, Consumer Id: 1108902, Address Id: 2774782 => Updated with Vin: 1G6KD57Y77U109082 ## Mail History Id: 29050187, Consumer Id: 1107404, Address Id: 8130881 => Updated with Vin: 1G6KE57Y2YU247983 ## Mail History Id: 29050183, Consumer Id: 1107123, Address Id: 14981982 => Updated with Vin: W06VR54R3YR009317 ## Mail History Id: 29050217, Consumer Id: 1107057, Address Id: 14981959 => Updated with Vin: 1G6DW677050204264 ## Mail History Id: 29050247, Consumer Id: 1116714, Address Id: 8828142 => Updated with Vin: JN1CA21DXTT163834 ## Mail History Id: 29050199, Consumer Id: 1110156, Address Id: 5979932 => Updated with Vin: 1GYEE637740182105 ## Mail History Id: 29050197, Consumer Id: 1110749, Address Id: 3237956 => Updated with Vin: 1G6DC67A250166671 ## Mail History Id: 29050235, Consumer Id: 1116710, Address Id: 14984199 => Updated with Vin: 1GYEE637070137916 ## Total mail_history records updated with vin numbers: 10 out of 12 ============================================================ ====== Tracking Id: 839 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-26 10:17:18') AND us2_order_type_id = 3 ## Order found: 1104 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1104 AND product_id = 143 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3416 ## Mailing found: '12489' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29049925, Consumer Id: 625193, Address Id: 8333796 => Updated with Vin: 5GTDN13E978196976 ## Mail History Id: 29049855, Consumer Id: 625241, Address Id: 11765872 => Updated with Vin: 5GTDN13E178194350 ## Mail History Id: 29049927, Consumer Id: 625844, Address Id: 11766155 => Updated with Vin: 1G6KD57Y07U233257 ## Mail History Id: 29049897, Consumer Id: 625935, Address Id: 3758554 => Updated with Vin: 5GTEN13L388159913 ## Mail History Id: 29049949, Consumer Id: 759970, Address Id: 11850671 => Updated with Vin: 1GCCS195028256400 ## Mail History Id: 29049913, Consumer Id: 759971, Address Id: 11850672 => Updated with Vin: 1GCEK19Z76Z247785 ## Mail History Id: 29049961, Consumer Id: 759972, Address Id: 3764094 => Updated with Vin: 1GKDT13S832306100 ## Mail History Id: 29049903, Consumer Id: 681337, Address Id: 1963230 => Updated with Vin: 1G6KD54YXYU329967 ## Mail History Id: 29049987, Consumer Id: 688464, Address Id: 1969976 => Updated with Vin: 1G6DP567150109771 ## Mail History Id: 29049893, Consumer Id: 681334, Address Id: 11575365 => Updated with Vin: 1G6EL12Y6WU604422 ## Mail History Id: 29049993, Consumer Id: 688160, Address Id: 1970071 => Updated with Vin: 1G6KD57Y25U153830 ## Mail History Id: 29049997, Consumer Id: 687424, Address Id: 11796547 => Updated with Vin: 1GYEK63N44R299126 ## Mail History Id: 29049861, Consumer Id: 684804, Address Id: 1966753 => Updated with Vin: 1G6KY5491WU928220 ## Mail History Id: 29049871, Consumer Id: 681907, Address Id: 1960461 => Updated with Vin: 1GYEK63R8YR198678 ## Mail History Id: 29049915, Consumer Id: 691273, Address Id: 4771958 => Updated with Vin: 1D4HB48D74F232578 ## Mail History Id: 29049947, Consumer Id: 684031, Address Id: 1968915 => Updated with Vin: 1G6KE57Y6YU175119 ## Mail History Id: 29049881, Consumer Id: 683140, Address Id: 1961710 => Updated with Vin: 1G6KD54Y7YU302404 ## Mail History Id: 29049959, Consumer Id: 628652, Address Id: 1969119 => Updated with Vin: 1G6DC67A850179313 ## Mail History Id: 29049865, Consumer Id: 688439, Address Id: 1967320 => Updated with Vin: 1N4BA41E14C914176 ## Mail History Id: 29049999, Consumer Id: 684358, Address Id: 1970151 => Updated with Vin: 1G6KE54Y92U278840 ## Mail History Id: 29049955, Consumer Id: 683519, Address Id: 1969103 => Updated with Vin: 1G6KY54942U128747 ## Mail History Id: 29049995, Consumer Id: 682896, Address Id: 1970124 => Updated with Vin: 1G6KD54YX3U178346 ## Mail History Id: 29050045, Consumer Id: 685516, Address Id: 11795982 => Updated with Vin: 1G6KD54Y73U262804 ## Mail History Id: 29049879, Consumer Id: 625907, Address Id: 11766184 => Updated with Vin: 1G6KD54Y25U158093 ## Mail History Id: 29049901, Consumer Id: 625450, Address Id: 1963106 => Updated with Vin: 5GTDN13E778226220 ## Mail History Id: 29049933, Consumer Id: 690269, Address Id: 11765902 => Updated with Vin: 5GTDN136468189635 ## Mail History Id: 29050273, Consumer Id: 690785, Address Id: 11797733 => Updated with Vin: 5GTDN136168131885 ## Mail History Id: 29049863, Consumer Id: 681563, Address Id: 3747753 => Updated with Vin: 1G6KD57Y52U208413 ## Mail History Id: 29049937, Consumer Id: 690969, Address Id: 11797789 => Updated with Vin: 5GTDN136968281887 ## Mail History Id: 29049975, Consumer Id: 692254, Address Id: 11798275 => Updated with Vin: 1G6KD57Y87U102075 ## Mail History Id: 29049891, Consumer Id: 692276, Address Id: 11798282 => Updated with Vin: 1GYEE637840184395 ## Mail History Id: 29049875, Consumer Id: 691648, Address Id: 1961063 => Updated with Vin: 1G6DM57T270122083 ## Total mail_history records updated with vin numbers: 32 out of 51 ============================================================ ====== Tracking Id: 840 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-26 10:43:57') AND us2_order_type_id = 3 ## Order found: 1102 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1102 AND product_id = 140 ## Job Group Found: '437' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('437') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808006') AND customer_id = 3230 ## Mailing found: '12501' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050495, Consumer Id: 92877, Address Id: 51293 => Updated with Vin: 1FTPX14V97FA22169 ## Mail History Id: 29050492, Consumer Id: 65363, Address Id: 52439 => Updated with Vin: 1FTNW21P74EC20160 ## Mail History Id: 29050494, Consumer Id: 67276, Address Id: 51977 => Updated with Vin: 1FMYU93136KA72934 ## Mail History Id: 29050496, Consumer Id: 93571, Address Id: 48423 => Updated with Vin: 3FAHP02138R199955 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 841 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-26 11:16:39') AND us2_order_type_id = 3 ## Order found: 1105 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1105 AND product_id = 144 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3705 ## Mailing found: '12491' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29049928, Consumer Id: 975763, Address Id: 14832192 => Updated with Vin: 1G4HR54K55U207416 ## Mail History Id: 29049860, Consumer Id: 966237, Address Id: 14838300 => Updated with Vin: 2G4WC582771111286 ## Mail History Id: 29049872, Consumer Id: 965802, Address Id: 14838004 => Updated with Vin: 1GKEC13J37J146103 ## Mail History Id: 29049862, Consumer Id: 972966, Address Id: 14843269 => Updated with Vin: 1FAFP56U67A180186 ## Mail History Id: 29049938, Consumer Id: 972684, Address Id: 9865530 => Updated with Vin: 1G1AL58F287239790 ## Mail History Id: 29049908, Consumer Id: 972690, Address Id: 9273324 => Updated with Vin: 6G2EC57Y08L145580 ## Mail History Id: 29049876, Consumer Id: 972694, Address Id: 14843088 => Updated with Vin: 1G1AK58F187289809 ## Mail History Id: 29049920, Consumer Id: 972697, Address Id: 14843091 => Updated with Vin: 1N6AA07A47N230103 ## Mail History Id: 29049868, Consumer Id: 1231384, Address Id: 15417098 => Updated with Vin: 3GCEC13J78G112275 ## Mail History Id: 29049880, Consumer Id: 980850, Address Id: 14846802 => Updated with Vin: 2G1WH52K639273798 ## Mail History Id: 29049910, Consumer Id: 976685, Address Id: 14842272 => Updated with Vin: 6G2VX12G24L281859 ## Mail History Id: 29049912, Consumer Id: 977994, Address Id: 10447585 => Updated with Vin: 4A4MM31S34E010689 ## Mail History Id: 29049882, Consumer Id: 980886, Address Id: 14831777 => Updated with Vin: 1G4HP54K524185242 ## Mail History Id: 29049864, Consumer Id: 980874, Address Id: 14846815 => Updated with Vin: 1N4AL11D96C241619 ## Mail History Id: 29049874, Consumer Id: 980883, Address Id: 14846821 => Updated with Vin: 1GNEC16Z93J230327 ## Total mail_history records updated with vin numbers: 15 out of 25 ============================================================ ====== Tracking Id: 842 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-26 11:16:58') AND us2_order_type_id = 3 ## Order found: 1105 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1105 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 843 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-26 11:44:13') AND us2_order_type_id = 3 ## Order found: 1106 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1106 AND product_id = 142 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3357 ## Mailing found: '12488' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050084, Consumer Id: 198793, Address Id: 406620 => Updated with Vin: 5LMFU28R43LJ01471 ## Mail History Id: 29050236, Consumer Id: 197799, Address Id: 407203 => Updated with Vin: 1FMRU15W81LA89150 ## Mail History Id: 29050072, Consumer Id: 742563, Address Id: 11832203 => Updated with Vin: JNKCP11AX1T407215 ## Mail History Id: 29050238, Consumer Id: 193641, Address Id: 403583 => Updated with Vin: 1FTYR44EX2PA84893 ## Mail History Id: 29050184, Consumer Id: 194475, Address Id: 403657 => Updated with Vin: JM3LW28A830362626 ## Mail History Id: 29050166, Consumer Id: 193800, Address Id: 403601 => Updated with Vin: 1FAFP53U72G235609 ## Mail History Id: 29050142, Consumer Id: 195765, Address Id: 404957 => Updated with Vin: 1FMZU63E32ZB02750 ## Mail History Id: 29050104, Consumer Id: 193672, Address Id: 403192 => Updated with Vin: 1YVHP80D055M16988 ## Mail History Id: 29050082, Consumer Id: 192743, Address Id: 402905 => Updated with Vin: 1FMZU73E05UC00643 ## Mail History Id: 29050242, Consumer Id: 193394, Address Id: 403299 => Updated with Vin: JM1BK12G161466168 ## Mail History Id: 29050096, Consumer Id: 870800, Address Id: 398726 => Updated with Vin: JM1BK32G871660693 ## Mail History Id: 29050122, Consumer Id: 155061, Address Id: 397148 => Updated with Vin: JM1BK12G871764038 ## Mail History Id: 29050196, Consumer Id: 870801, Address Id: 11909771 => Updated with Vin: 1FAFP53U47A180921 ## Mail History Id: 29050140, Consumer Id: 155485, Address Id: 397534 => Updated with Vin: 1ZVHT80N985122064 ## Mail History Id: 29050078, Consumer Id: 870528, Address Id: 11909525 => Updated with Vin: 1HGCM66503A027061 ## Mail History Id: 29050172, Consumer Id: 870799, Address Id: 402791 => Updated with Vin: 1FTRW12W86KC96511 ## Total mail_history records updated with vin numbers: 16 out of 20 ============================================================ ====== Tracking Id: 844 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-26 11:44:16') AND us2_order_type_id = 3 ## Order found: 1106 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1106 AND product_id = 112 ## Job Group Found: '438' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('438') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808003') AND customer_id = 3357 ## Mailing found: '12496' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050443, Consumer Id: 196280, Address Id: 405344 => Updated with Vin: 1FMPU16515LA59118 ## Mail History Id: 29050445, Consumer Id: 198395, Address Id: 407841 => Updated with Vin: 1FAFP24196G167922 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 845 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-26 12:16:31') AND us2_order_type_id = 3 ## Order found: 1107 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1107 AND product_id = 112 ## Job Group Found: '438' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('438') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808003') AND customer_id = 3427 ## Mailing found: '12497' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050453, Consumer Id: 507328, Address Id: 325817 => Updated with Vin: 1HGCM56435A102372 ## Mail History Id: 29050455, Consumer Id: 503181, Address Id: 9838750 => Updated with Vin: 1HGCM66893A024332 ## Mail History Id: 29050457, Consumer Id: 511563, Address Id: 7556000 => Updated with Vin: 1HGFA16586L010297 ## Mail History Id: 29050459, Consumer Id: 490819, Address Id: 329086 => Updated with Vin: 2HGES16173H512068 ## Mail History Id: 29050461, Consumer Id: 499355, Address Id: 9833395 => Updated with Vin: SHSRD78883U111442 ## Mail History Id: 29050463, Consumer Id: 497257, Address Id: 7554613 => Updated with Vin: 2HKRL18601H523052 ## Mail History Id: 29050465, Consumer Id: 499380, Address Id: 9833410 => Updated with Vin: 2HKRL1861YH603728 ## Mail History Id: 29050320, Consumer Id: 498169, Address Id: 9832236 => Updated with Vin: 5FNRL18054B020728 ## Mail History Id: 29050322, Consumer Id: 493639, Address Id: 9828925 => Updated with Vin: JHMBB6159YC009739 ## Mail History Id: 29050324, Consumer Id: 493983, Address Id: 9829190 => Updated with Vin: 2HKRL18642H557724 ## Mail History Id: 29050326, Consumer Id: 494504, Address Id: 9829567 => Updated with Vin: 1HGEM22543L009531 ## Mail History Id: 29050328, Consumer Id: 508618, Address Id: 329211 => Updated with Vin: 5FNYF18585B040889 ## Mail History Id: 29050330, Consumer Id: 498035, Address Id: 9832136 => Updated with Vin: 1HGES16541L022092 ## Mail History Id: 29050332, Consumer Id: 472057, Address Id: 9833686 => Updated with Vin: 5FNRL38476B417858 ## Mail History Id: 29050334, Consumer Id: 475013, Address Id: 8195374 => Updated with Vin: JHMES96663S013472 ## Total mail_history records updated with vin numbers: 15 out of 16 ============================================================ ====== Tracking Id: 846 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-26 12:16:43') AND us2_order_type_id = 3 ## Order found: 1107 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1107 AND product_id = 114 ## Job Group Found: '438' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('438') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808003') AND customer_id = 3427 ## Mailing found: '12497' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050338, Consumer Id: 507254, Address Id: 9841577 => Updated with Vin: 5FNRL18964B047967 ## Mail History Id: 29050340, Consumer Id: 510841, Address Id: 324571 => Updated with Vin: 5FNRL38665B069874 ## Mail History Id: 29050342, Consumer Id: 496003, Address Id: 9830677 => Updated with Vin: 1HGCG5649WA010143 ## Mail History Id: 29050346, Consumer Id: 495870, Address Id: 9830586 => Updated with Vin: 4S6DM58W024402773 ## Mail History Id: 29050348, Consumer Id: 493206, Address Id: 9828482 => Updated with Vin: 1HGCG5558WA270446 ## Mail History Id: 29050350, Consumer Id: 494252, Address Id: 330142 => Updated with Vin: 1HGCM66543A058667 ## Mail History Id: 29050352, Consumer Id: 507709, Address Id: 326316 => Updated with Vin: SHSRD78565U330960 ## Mail History Id: 29050354, Consumer Id: 495709, Address Id: 9830473 => Updated with Vin: 1HGCG16542A018288 ## Mail History Id: 29050356, Consumer Id: 504937, Address Id: 327255 => Updated with Vin: 1HGCM556X3A083979 ## Mail History Id: 29050358, Consumer Id: 495037, Address Id: 9829967 => Updated with Vin: JHLRD78842C075156 ## Mail History Id: 29050360, Consumer Id: 496757, Address Id: 9831227 => Updated with Vin: JHMES96633S031699 ## Mail History Id: 29050362, Consumer Id: 513898, Address Id: 9845679 => Updated with Vin: 5FNLF18645B001869 ## Total mail_history records updated with vin numbers: 12 out of 13 ============================================================ ====== Tracking Id: 847 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-26 12:16:55') AND us2_order_type_id = 3 ## Order found: 1107 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1107 AND product_id = 113 ## Job Group Found: '438' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('438') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808003') AND customer_id = 3427 ## Mailing found: '12497' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050386, Consumer Id: 508564, Address Id: 9842418 => Updated with Vin: 5FNRL38835B087122 ## Mail History Id: 29050388, Consumer Id: 502833, Address Id: 582496 => Updated with Vin: SHSRD78853U101791 ## Mail History Id: 29050390, Consumer Id: 492427, Address Id: 3381138 => Updated with Vin: JHMES96613S007174 ## Mail History Id: 29050392, Consumer Id: 494462, Address Id: 9829535 => Updated with Vin: SHSRD77833U147363 ## Mail History Id: 29050394, Consumer Id: 494691, Address Id: 9829705 => Updated with Vin: 5FNRL18673B076818 ## Mail History Id: 29050396, Consumer Id: 511273, Address Id: 9844137 => Updated with Vin: 1HGCM56835A014120 ## Mail History Id: 29050398, Consumer Id: 494350, Address Id: 9829450 => Updated with Vin: 1HGCG16451A057719 ## Mail History Id: 29050400, Consumer Id: 494217, Address Id: 9829355 => Updated with Vin: 4S6CM58W0W4406811 ## Mail History Id: 29050402, Consumer Id: 517084, Address Id: 330050 => Updated with Vin: JNKCV54E36M718272 ## Mail History Id: 29050404, Consumer Id: 473648, Address Id: 9835186 => Updated with Vin: SHSRD78836U433118 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 848 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-26 12:16:56') AND us2_order_type_id = 3 ## Order found: 1108 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1108 AND product_id = 143 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3471 ## Mailing found: '12490' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050030, Consumer Id: 760502, Address Id: 11851064 => Updated with Vin: 1G6KS54YX4U153647 ## Mail History Id: 29050044, Consumer Id: 802044, Address Id: 11871698 => Updated with Vin: 1G6KS52Y8VU816069 ## Mail History Id: 29050028, Consumer Id: 797988, Address Id: 11869659 => Updated with Vin: 1G6ET1299WU616895 ## Mail History Id: 29049956, Consumer Id: 760347, Address Id: 7878558 => Updated with Vin: 1GYFK66868R170580 ## Mail History Id: 29049982, Consumer Id: 760442, Address Id: 10214260 => Updated with Vin: 1G6KD54Y5XU806058 ## Mail History Id: 29049988, Consumer Id: 760440, Address Id: 10214361 => Updated with Vin: 1G3HC52K5V4831211 ## Mail History Id: 29050020, Consumer Id: 801431, Address Id: 10218610 => Updated with Vin: 1G6KD54YXXU745600 ## Mail History Id: 29049976, Consumer Id: 800604, Address Id: 7416232 => Updated with Vin: 1G6KD54Y82U149751 ## Mail History Id: 29050040, Consumer Id: 802632, Address Id: 11871994 => Updated with Vin: 1G6KD54Y11U209464 ## Mail History Id: 29050036, Consumer Id: 807604, Address Id: 11876653 => Updated with Vin: 3GYEK62N95G134840 ## Mail History Id: 29049996, Consumer Id: 817571, Address Id: 11876398 => Updated with Vin: 1G6DW677650209453 ## Mail History Id: 29049960, Consumer Id: 760222, Address Id: 11850953 => Updated with Vin: 3GYFK66N55G257873 ## Mail History Id: 29049962, Consumer Id: 821470, Address Id: 7415524 => Updated with Vin: 3GYFK66N86G201900 ## Mail History Id: 29050022, Consumer Id: 821852, Address Id: 10218867 => Updated with Vin: 1G6KD54Y55U224734 ## Mail History Id: 29049986, Consumer Id: 821382, Address Id: 7416555 => Updated with Vin: 1GYEK63N95R114795 ## Mail History Id: 29049970, Consumer Id: 822658, Address Id: 7416005 => Updated with Vin: 1GYEE637560144813 ## Mail History Id: 29050042, Consumer Id: 822633, Address Id: 11876715 => Updated with Vin: 1G6DM57N930118804 ## Mail History Id: 29050038, Consumer Id: 803761, Address Id: 11872525 => Updated with Vin: 1G6KD54Y04U154963 ## Mail History Id: 29050006, Consumer Id: 802704, Address Id: 11872033 => Updated with Vin: 1G6ET1295WU615341 ## Total mail_history records updated with vin numbers: 19 out of 42 ============================================================ ====== Tracking Id: 849 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-27 08:14:16') AND us2_order_type_id = 3 ## Order found: 1116 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1116 AND product_id = 55 ## Job Group Found: '441' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('441') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808002') AND customer_id = 3230 ## Mailing found: '12483' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 850 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-27 08:44:09') AND us2_order_type_id = 3 ## Order found: 1116 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1116 AND product_id = 113 ## Job Group Found: '438' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('438') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808003') AND customer_id = 3230 ## Mailing found: '12495' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050416, Consumer Id: 93126, Address Id: 51540 => Updated with Vin: 1FTYR10D27PA07891 ## Mail History Id: 29050418, Consumer Id: 92604, Address Id: 51003 => Updated with Vin: 1FAHP34N67W153436 ## Mail History Id: 29050420, Consumer Id: 65634, Address Id: 48422 => Updated with Vin: 1FAFP53203G169422 ## Mail History Id: 29050422, Consumer Id: 103787, Address Id: 47965 => Updated with Vin: 3MEHM07Z28R609239 ## Mail History Id: 29050424, Consumer Id: 63158, Address Id: 49698 => Updated with Vin: 1FMYU04172KA15494 ## Mail History Id: 29050426, Consumer Id: 63296, Address Id: 51990 => Updated with Vin: 1FTSW31P44EA24301 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 851 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-27 08:44:30') AND us2_order_type_id = 3 ## Order found: 1116 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1116 AND product_id = 143 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3230 ## Mailing found: '12487' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050021, Consumer Id: 64616, Address Id: 49400 => Updated with Vin: 3VWBB61C4WM043161 ## Mail History Id: 29050065, Consumer Id: 435414, Address Id: 9799945 => Updated with Vin: 3GNDA23D17S517763 ## Mail History Id: 29050101, Consumer Id: 435410, Address Id: 52766 => Updated with Vin: 1FMFU18L34LB37534 ## Mail History Id: 29050043, Consumer Id: 64815, Address Id: 49415 => Updated with Vin: 1ZVFT82H155210276 ## Mail History Id: 29050173, Consumer Id: 435412, Address Id: 9799944 => Updated with Vin: 1FTSX21PX7EB14676 ## Mail History Id: 29050119, Consumer Id: 92524, Address Id: 50853 => Updated with Vin: 1FTWF31P46ED90960 ## Mail History Id: 29050177, Consumer Id: 63056, Address Id: 47335 => Updated with Vin: 1FTNX21F72ED46598 ## Mail History Id: 29050081, Consumer Id: 93305, Address Id: 47264 => Updated with Vin: 2FTZF172XWCA62011 ## Mail History Id: 29050159, Consumer Id: 93142, Address Id: 51550 => Updated with Vin: 1FAHP34NX7W314807 ## Mail History Id: 29050161, Consumer Id: 65935, Address Id: 49294 => Updated with Vin: 1FMZK06125GA49471 ## Mail History Id: 29050155, Consumer Id: 65615, Address Id: 51936 => Updated with Vin: 1FMFU18L54LB35252 ## Mail History Id: 29050125, Consumer Id: 103116, Address Id: 48049 => Updated with Vin: 1FAFP55UX4G136055 ## Mail History Id: 29050111, Consumer Id: 436149, Address Id: 48343 => Updated with Vin: 1FMCU03Z28KD56716 ## Mail History Id: 29050107, Consumer Id: 101060, Address Id: 48443 => Updated with Vin: 1FTNX21F51EB35057 ## Mail History Id: 29050143, Consumer Id: 63069, Address Id: 47432 => Updated with Vin: 2FTDX08W5VCA19763 ## Mail History Id: 29050127, Consumer Id: 65740, Address Id: 49374 => Updated with Vin: 1FMZU72E42ZB29866 ## Mail History Id: 29050025, Consumer Id: 435411, Address Id: 9799943 => Updated with Vin: 1GNEK13Z32R151128 ## Mail History Id: 29050099, Consumer Id: 103796, Address Id: 47554 => Updated with Vin: 1FMFU165X7LA59746 ## Mail History Id: 29050091, Consumer Id: 92538, Address Id: 48052 => Updated with Vin: 1FMZK06126GA26810 ## Mail History Id: 29050089, Consumer Id: 92909, Address Id: 47433 => Updated with Vin: 1FAHP24137G125627 ## Mail History Id: 29050097, Consumer Id: 64730, Address Id: 49736 => Updated with Vin: 1FMZU73K65UB55164 ## Mail History Id: 29050049, Consumer Id: 65963, Address Id: 49246 => Updated with Vin: 1FTSW21P15EA56196 ## Mail History Id: 29050069, Consumer Id: 435413, Address Id: 47597 => Updated with Vin: 1LNHM82W8XY631075 ## Mail History Id: 29050067, Consumer Id: 435415, Address Id: 51319 => Updated with Vin: 3B7HF16Y6XM535636 ## Mail History Id: 29050179, Consumer Id: 67347, Address Id: 49306 => Updated with Vin: 1FALP54N3VA150901 ## Mail History Id: 29050035, Consumer Id: 2051542, Address Id: 53686 => Updated with Vin: 1FMCU03128KD22124 ## Mail History Id: 29050009, Consumer Id: 93303, Address Id: 51806 => Updated with Vin: 1FTSW21R68EB56722 ## Mail History Id: 29050037, Consumer Id: 64325, Address Id: 47748 => Updated with Vin: 1FTNW21P23EB77961 ## Mail History Id: 29050003, Consumer Id: 73753, Address Id: 51543 => Updated with Vin: 3FAHP07177R254091 ## Mail History Id: 29050109, Consumer Id: 102890, Address Id: 53424 => Updated with Vin: 1FMCU93178KA56135 ## Total mail_history records updated with vin numbers: 30 out of 36 ============================================================ ====== Tracking Id: 852 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-27 09:17:08') AND us2_order_type_id = 3 ## Order found: 1117 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1117 AND product_id = 142 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3768 ## Mailing found: '12492' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050187, Consumer Id: 1107404, Address Id: 8130881 => Updated with Vin: 1G6KE57Y2YU247983 ## Mail History Id: 29050207, Consumer Id: 1110061, Address Id: 2850708 => Updated with Vin: 1G6DM577340165846 ## Total mail_history records updated with vin numbers: 2 out of 5 ============================================================ ====== Tracking Id: 853 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-27 10:16:31') AND us2_order_type_id = 3 ## Order found: 1118 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1118 AND product_id = 143 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3416 ## Mailing found: '12489' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29049903, Consumer Id: 820389, Address Id: 1963230 => Updated with Vin: 1G6DF577480197995 ## Mail History Id: 29049975, Consumer Id: 692254, Address Id: 11798275 => Updated with Vin: 1G6KD57Y87U102075 ## Mail History Id: 29049891, Consumer Id: 692276, Address Id: 11798282 => Updated with Vin: 1GYEE637840184395 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 854 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-27 11:14:07') AND us2_order_type_id = 3 ## Order found: 1119 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1119 AND product_id = 112 ## Job Group Found: '438' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('438') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808003') AND customer_id = 3486 ## Mailing found: '12499' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050456, Consumer Id: 465538, Address Id: 2002458 => Updated with Vin: 1GCGC13U92F177124 ## Mail History Id: 29050458, Consumer Id: 478258, Address Id: 5424484 => Updated with Vin: 1GCEK14T03Z193115 ## Mail History Id: 29050460, Consumer Id: 470251, Address Id: 9821964 => Updated with Vin: 2CNDL63F476246896 ## Mail History Id: 29050462, Consumer Id: 471047, Address Id: 8119775 => Updated with Vin: 3GNEC12J68G231508 ## Mail History Id: 29050464, Consumer Id: 470909, Address Id: 9823352 => Updated with Vin: 1HGCP26848A003606 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 855 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-27 11:16:10') AND us2_order_type_id = 3 ## Order found: 1120 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1120 AND product_id = 106 ## Job Group Found: '445' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('445') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808004') AND customer_id = 3705 ## Mailing found: '12485' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 856 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-27 11:16:21') AND us2_order_type_id = 3 ## Order found: 1120 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1120 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 857 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-27 11:44:05') AND us2_order_type_id = 3 ## Order found: 1121 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1121 AND product_id = 142 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3357 ## Mailing found: '12488' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 858 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-27 12:15:33') AND us2_order_type_id = 3 ## Order found: 1122 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1122 AND product_id = 114 ## Job Group Found: '438' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('438') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808003') AND customer_id = 3427 ## Mailing found: '12497' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050319, Consumer Id: 511012, Address Id: 9843964 => Updated with Vin: JHMES96664S000321 ## Mail History Id: 29050321, Consumer Id: 493277, Address Id: 9828676 => Updated with Vin: 2HKRL18601H604469 ## Mail History Id: 29050325, Consumer Id: 498183, Address Id: 7552606 => Updated with Vin: SHSRD78804U203842 ## Mail History Id: 29050327, Consumer Id: 507903, Address Id: 328263 => Updated with Vin: 1HGCM56613A032479 ## Mail History Id: 29050329, Consumer Id: 482678, Address Id: 7552631 => Updated with Vin: 1HGCM66897A011702 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 859 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-27 12:15:45') AND us2_order_type_id = 3 ## Order found: 1122 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1122 AND product_id = 113 ## Job Group Found: '438' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('438') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808003') AND customer_id = 3427 ## Mailing found: '12497' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050331, Consumer Id: 496548, Address Id: 9831066 => Updated with Vin: 1HGCM66804A003791 ## Mail History Id: 29050333, Consumer Id: 496620, Address Id: 9831122 => Updated with Vin: 1HGCG16582A014843 ## Mail History Id: 29050335, Consumer Id: 501209, Address Id: 328064 => Updated with Vin: 5J6YH28594L021371 ## Mail History Id: 29050337, Consumer Id: 497219, Address Id: 9831555 => Updated with Vin: 1HGCG56662A060896 ## Mail History Id: 29050339, Consumer Id: 495814, Address Id: 9830548 => Updated with Vin: JHLRD1762XC069215 ## Mail History Id: 29050341, Consumer Id: 490920, Address Id: 9826890 => Updated with Vin: 1HGCG22542A033255 ## Mail History Id: 29050343, Consumer Id: 494699, Address Id: 327309 => Updated with Vin: 5FNRL18702B007606 ## Mail History Id: 29050345, Consumer Id: 501528, Address Id: 327227 => Updated with Vin: 1HGEM22901L037262 ## Mail History Id: 29050347, Consumer Id: 494916, Address Id: 9829876 => Updated with Vin: 1HGCG6656YA046633 ## Mail History Id: 29050349, Consumer Id: 491750, Address Id: 9827541 => Updated with Vin: JHMES95693S024192 ## Mail History Id: 29050351, Consumer Id: 506477, Address Id: 329930 => Updated with Vin: JHMES96633S003465 ## Mail History Id: 29050353, Consumer Id: 500425, Address Id: 9835001 => Updated with Vin: 5FNRL18972B009483 ## Total mail_history records updated with vin numbers: 12 out of 14 ============================================================ ====== Tracking Id: 860 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-27 12:15:50') AND us2_order_type_id = 3 ## Order found: 1123 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1123 AND product_id = 143 ## Job Group Found: '439' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('439') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808001') AND customer_id = 3471 ## Mailing found: '12490' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29049950, Consumer Id: 806299, Address Id: 7878340 => Updated with Vin: 1G6DP567650104226 ## Mail History Id: 29049974, Consumer Id: 760381, Address Id: 7416093 => Updated with Vin: 1GHDX13E51D145730 ## Mail History Id: 29050010, Consumer Id: 799864, Address Id: 10216827 => Updated with Vin: 1GYEK13R1XR408295 ## Mail History Id: 29049954, Consumer Id: 816253, Address Id: 10212352 => Updated with Vin: 1G6KS52Y8VU844776 ## Mail History Id: 29050014, Consumer Id: 797903, Address Id: 10216603 => Updated with Vin: 1G3GR62C4V4115182 ## Mail History Id: 29050026, Consumer Id: 798820, Address Id: 11870045 => Updated with Vin: 1G6KE57Y5YU338553 ## Mail History Id: 29050032, Consumer Id: 816772, Address Id: 11876635 => Updated with Vin: 1GYEK63NX5R218518 ## Mail History Id: 29050046, Consumer Id: 800574, Address Id: 11870966 => Updated with Vin: 1GHDX03E31D192216 ## Mail History Id: 29050016, Consumer Id: 804345, Address Id: 10217659 => Updated with Vin: 1GYEK63NX2R126045 ## Mail History Id: 29049990, Consumer Id: 805366, Address Id: 7416630 => Updated with Vin: 1G6KD54Y2YU198761 ## Mail History Id: 29049972, Consumer Id: 805921, Address Id: 7416043 => Updated with Vin: 1GYEK63N14R120752 ## Mail History Id: 29050012, Consumer Id: 807804, Address Id: 10216492 => Updated with Vin: 1G6EL12Y21B107016 ## Mail History Id: 29050002, Consumer Id: 772956, Address Id: 11874192 => Updated with Vin: 1GYFK66898R113693 ## Mail History Id: 29049960, Consumer Id: 760222, Address Id: 11850953 => Updated with Vin: 3GYFK66N55G257873 ## Mail History Id: 29050018, Consumer Id: 806677, Address Id: 10217775 => Updated with Vin: 1GYEK63N94R316289 ## Mail History Id: 29049948, Consumer Id: 818058, Address Id: 10210525 => Updated with Vin: W06VR52R5VR925222 ## Mail History Id: 29049998, Consumer Id: 801656, Address Id: 10214922 => Updated with Vin: 1G6KS54Y8YU264154 ## Mail History Id: 29049944, Consumer Id: 821218, Address Id: 266167 => Updated with Vin: 1G6KD57Y16U245108 ## Mail History Id: 29049952, Consumer Id: 822146, Address Id: 6525071 => Updated with Vin: 1GYFK63857R335943 ## Mail History Id: 29049984, Consumer Id: 822610, Address Id: 7416511 => Updated with Vin: 1G6KD54Y62U142264 ## Mail History Id: 29050004, Consumer Id: 822709, Address Id: 10561662 => Updated with Vin: 1GYEE637160219846 ## Mail History Id: 29049978, Consumer Id: 823457, Address Id: 11876301 => Updated with Vin: 1GYEE637760128595 ## Total mail_history records updated with vin numbers: 22 out of 43 ============================================================ ====== Tracking Id: 861 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-27 12:16:00') AND us2_order_type_id = 3 ## Order found: 1123 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1123 AND product_id = 112 ## Job Group Found: '438' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('438') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808003') AND customer_id = 3471 ## Mailing found: '12498' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29050359, Consumer Id: 800908, Address Id: 7416259 => Updated with Vin: 1G6KD54Y71U213874 ## Mail History Id: 29050361, Consumer Id: 800960, Address Id: 10217101 => Updated with Vin: 1GHDX03E8WD338326 ## Mail History Id: 29050363, Consumer Id: 806034, Address Id: 7878750 => Updated with Vin: 1G6KF57982U280645 ## Mail History Id: 29050365, Consumer Id: 822268, Address Id: 11874073 => Updated with Vin: 1FMYU93105DA22849 ## Mail History Id: 29050367, Consumer Id: 806769, Address Id: 7416210 => Updated with Vin: 1GYEK63N94R254540 ## Mail History Id: 29050369, Consumer Id: 820780, Address Id: 7878690 => Updated with Vin: 1G6KD57916U159077 ## Mail History Id: 29050371, Consumer Id: 820592, Address Id: 11878172 => Updated with Vin: WAUDH68D11A002885 ## Mail History Id: 29050373, Consumer Id: 822068, Address Id: 11876393 => Updated with Vin: 1G6KD57Y56U158828 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 862 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-27 19:14:04') AND us2_order_type_id = 3 ## Order found: 1121 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1121 AND product_id = 55 ## Job Group Found: '441' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('441') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm072808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm072808002') AND customer_id = 3357 ## Mailing found: '12484' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 863 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-28 08:44:13') AND us2_order_type_id = 3 ## Order found: 1132 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1132 AND product_id = 113 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3230 ## Mailing found: '12617' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349635, Consumer Id: 92487, Address Id: 50784 => Updated with Vin: 1FMPU16596LA33447 ## Mail History Id: 29349639, Consumer Id: 93475, Address Id: 50506 => Updated with Vin: 1FTPW14V38FA41305 ## Mail History Id: 29349607, Consumer Id: 93472, Address Id: 49181 => Updated with Vin: 1FMCU94198KC24260 ## Mail History Id: 29349615, Consumer Id: 67264, Address Id: 47775 => Updated with Vin: 1FAFP53U72G260834 ## Mail History Id: 29349599, Consumer Id: 64243, Address Id: 50077 => Updated with Vin: 1MEFM50U62G642519 ## Mail History Id: 29349609, Consumer Id: 67646, Address Id: 53332 => Updated with Vin: 1FTRW08L61KF47249 ## Mail History Id: 29349605, Consumer Id: 93469, Address Id: 50586 => Updated with Vin: 1FAFP34N36W212612 ## Mail History Id: 29349621, Consumer Id: 38435, Address Id: 49102 => Updated with Vin: 3G2JB5245YS170147 ## Mail History Id: 29349601, Consumer Id: 63020, Address Id: 48669 => Updated with Vin: 1FAFP3438YW297643 ## Mail History Id: 29349633, Consumer Id: 93452, Address Id: 51956 => Updated with Vin: 1FTPW14V28FA01233 ## Total mail_history records updated with vin numbers: 10 out of 14 ============================================================ ====== Tracking Id: 864 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-28 08:44:25') AND us2_order_type_id = 3 ## Order found: 1132 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1132 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3230 ## Mailing found: '12608' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29348598, Consumer Id: 93359, Address Id: 47551 => Updated with Vin: 1FAFP53U23A273883 ## Mail History Id: 29348652, Consumer Id: 63910, Address Id: 52179 => Updated with Vin: 1FTSW31P84EB10419 ## Mail History Id: 29348712, Consumer Id: 65298, Address Id: 48128 => Updated with Vin: 1FTWW33F31ED08410 ## Mail History Id: 29348708, Consumer Id: 64197, Address Id: 49531 => Updated with Vin: 1FMZU72E52ZC20967 ## Mail History Id: 29348638, Consumer Id: 38396, Address Id: 49075 => Updated with Vin: 1FTWW31P15EB77186 ## Mail History Id: 29348640, Consumer Id: 435864, Address Id: 9800224 => Updated with Vin: 1FTRX14W35FA72001 ## Mail History Id: 29348644, Consumer Id: 63982, Address Id: 48979 => Updated with Vin: 1FTPX12535FA78995 ## Mail History Id: 29348718, Consumer Id: 460125, Address Id: 9818647 => Updated with Vin: 1FTPW14V48FB26931 ## Mail History Id: 29348480, Consumer Id: 64605, Address Id: 49404 => Updated with Vin: 1FTHX26F0TEA66495 ## Mail History Id: 29348454, Consumer Id: 92663, Address Id: 48335 => Updated with Vin: 1FMEU74E97UA68577 ## Mail History Id: 29348658, Consumer Id: 67479, Address Id: 47558 => Updated with Vin: 1FAFP23135G127576 ## Mail History Id: 29348518, Consumer Id: 435865, Address Id: 51781 => Updated with Vin: 1FTDF17W1VKA71347 ## Mail History Id: 29349000, Consumer Id: 92387, Address Id: 50567 => Updated with Vin: 1FAFP24176G169619 ## Mail History Id: 29348734, Consumer Id: 93561, Address Id: 49506 => Updated with Vin: 1FMDK06186GA23162 ## Mail History Id: 29348696, Consumer Id: 103380, Address Id: 51056 => Updated with Vin: 1FMZU74W23UC68611 ## Mail History Id: 29348506, Consumer Id: 64146, Address Id: 47784 => Updated with Vin: 1FTZR15E81PA67414 ## Mail History Id: 29348544, Consumer Id: 63299, Address Id: 52085 => Updated with Vin: 1FTNX21P24ED25153 ## Mail History Id: 29348560, Consumer Id: 66936, Address Id: 48858 => Updated with Vin: 1ZVFT84N455250290 ## Mail History Id: 29348714, Consumer Id: 93051, Address Id: 51468 => Updated with Vin: 2G2WP522941289038 ## Mail History Id: 29348616, Consumer Id: 103464, Address Id: 49672 => Updated with Vin: 1FTPW12596KB59446 ## Mail History Id: 29348666, Consumer Id: 64459, Address Id: 48126 => Updated with Vin: 3FAFP31341R223374 ## Mail History Id: 29348484, Consumer Id: 103639, Address Id: 53766 => Updated with Vin: 2MELM74W5NX760828 ## Mail History Id: 29348452, Consumer Id: 93478, Address Id: 51967 => Updated with Vin: 1FMDK02W18GA23928 ## Mail History Id: 29348654, Consumer Id: 92781, Address Id: 51202 => Updated with Vin: 2FMZA52433BB30631 ## Mail History Id: 29348710, Consumer Id: 66608, Address Id: 50117 => Updated with Vin: 1FTNX21S5YEC07060 ## Mail History Id: 29348490, Consumer Id: 67212, Address Id: 50400 => Updated with Vin: 3FAFP08Z96R163107 ## Total mail_history records updated with vin numbers: 26 out of 32 ============================================================ ====== Tracking Id: 865 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-28 09:17:40') AND us2_order_type_id = 3 ## Order found: 1133 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1133 AND product_id = 142 ## Job Group Found: '449' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('449') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm073108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm073108001') AND customer_id = 3768 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 866 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-28 10:17:35') AND us2_order_type_id = 3 ## Order found: 1134 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1134 AND product_id = 143 ## Job Group Found: '449' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('449') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm073108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm073108001') AND customer_id = 3416 ## Mailing found: '12534' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29234884, Consumer Id: 871364, Address Id: 11911894 => Updated with Vin: 1G6DW677660160577 ## Total mail_history records updated with vin numbers: 1 out of 15 ============================================================ ====== Tracking Id: 867 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-28 10:22:42') AND us2_order_type_id = 3 ## Order found: 1133 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1133 AND product_id = 140 ## Job Group Found: '453' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('453') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm073108005' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm073108005') AND customer_id = 3768 ## Mailing found: '12556' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29182868, Consumer Id: 1531023, Address Id: 15926433 => Updated with Vin: 1G6KD57Y93U118361 ## Mail History Id: 29182870, Consumer Id: 1049646, Address Id: 2849365 => Updated with Vin: 1GYEE637050201319 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 868 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-28 11:14:21') AND us2_order_type_id = 3 ## Order found: 1135 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1135 AND product_id = 112 ## Job Group Found: '450' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('450') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm073108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm073108002') AND customer_id = 3486 ## Mailing found: '12538' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29182795, Consumer Id: 465218, Address Id: 9820799 => Updated with Vin: 1GCEC19X34Z295387 ## Mail History Id: 29182797, Consumer Id: 471068, Address Id: 2216104 => Updated with Vin: 1G1AL58F987186716 ## Mail History Id: 29182799, Consumer Id: 470915, Address Id: 9823354 => Updated with Vin: 2GTEC13C471554651 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 869 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-28 11:17:08') AND us2_order_type_id = 3 ## Order found: 1136 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1136 AND product_id = 144 ## Job Group Found: '449' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('449') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm073108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm073108001') AND customer_id = 3705 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 10 ============================================================ ====== Tracking Id: 870 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-28 11:17:34') AND us2_order_type_id = 3 ## Order found: 1136 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1136 AND product_id = 106 ## Job Group Found: '451' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('451') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm073108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm073108003') AND customer_id = 3705 ## Mailing found: '12558' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29182846, Consumer Id: 973459, Address Id: 14838547 => Updated with Vin: 1G1JC52F547309687 ## Mail History Id: 29182847, Consumer Id: 970784, Address Id: 14838554 => Updated with Vin: 1GKDS13S822330575 ## Mail History Id: 29182848, Consumer Id: 960783, Address Id: 14831507 => Updated with Vin: 2GTEC19T931241712 ## Mail History Id: 29182849, Consumer Id: 974875, Address Id: 14835519 => Updated with Vin: 3GNEC16Z83G105806 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 871 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-28 11:17:46') AND us2_order_type_id = 3 ## Order found: 1136 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1136 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 872 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-28 11:17:58') AND us2_order_type_id = 3 ## Order found: 1136 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1136 AND product_id = 112 ## Job Group Found: '450' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('450') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm073108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm073108002') AND customer_id = 3705 ## Mailing found: '12539' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29182801, Consumer Id: 972270, Address Id: 14837312 => Updated with Vin: 1G1AL58F787182437 ## Mail History Id: 29182803, Consumer Id: 972273, Address Id: 9159744 => Updated with Vin: 1GNDS13S252142593 ## Mail History Id: 29182805, Consumer Id: 972278, Address Id: 14842218 => Updated with Vin: 1GTEC14XX3Z315303 ## Mail History Id: 29182807, Consumer Id: 961245, Address Id: 14832139 => Updated with Vin: 3GNEC13T62G175710 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 873 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-28 11:44:22') AND us2_order_type_id = 3 ## Order found: 1137 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1137 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3357 ## Mailing found: '12618' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 874 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-28 12:17:08') AND us2_order_type_id = 3 ## Order found: 1138 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1138 AND product_id = 112 ## Job Group Found: '450' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('450') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm073108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm073108002') AND customer_id = 3427 ## Mailing found: '12536' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29182809, Consumer Id: 517091, Address Id: 328493 => Updated with Vin: 1HGCG6653YA133308 ## Mail History Id: 29182811, Consumer Id: 491401, Address Id: 9827256 => Updated with Vin: 1HGCG22582A014255 ## Mail History Id: 29182813, Consumer Id: 501143, Address Id: 9836140 => Updated with Vin: 5FNRL18514B117646 ## Mail History Id: 29182815, Consumer Id: 500447, Address Id: 326044 => Updated with Vin: 1HGCM56374A093875 ## Mail History Id: 29182817, Consumer Id: 500889, Address Id: 9835664 => Updated with Vin: 1HGCM55324A104878 ## Mail History Id: 29182819, Consumer Id: 503524, Address Id: 9839031 => Updated with Vin: 1HGEM21945L010069 ## Mail History Id: 29182821, Consumer Id: 509498, Address Id: 9840971 => Updated with Vin: 5FNRL38785B126925 ## Mail History Id: 29182823, Consumer Id: 509132, Address Id: 9828721 => Updated with Vin: 1HGCG3151YA023525 ## Mail History Id: 29182825, Consumer Id: 502733, Address Id: 9838599 => Updated with Vin: 1HGCE1821VA000120 ## Mail History Id: 29182827, Consumer Id: 474620, Address Id: 9836005 => Updated with Vin: JHLRE48567C051644 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 875 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-28 12:17:20') AND us2_order_type_id = 3 ## Order found: 1138 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1138 AND product_id = 113 ## Job Group Found: '450' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('450') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm073108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm073108002') AND customer_id = 3427 ## Mailing found: '12536' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29182829, Consumer Id: 492127, Address Id: 9827822 => Updated with Vin: 1HGCD563XSA156187 ## Mail History Id: 29182831, Consumer Id: 499908, Address Id: 9834182 => Updated with Vin: 1HGCG6675XA089750 ## Mail History Id: 29182833, Consumer Id: 509114, Address Id: 9842772 => Updated with Vin: 5FNRL38815B115371 ## Mail History Id: 29182835, Consumer Id: 497150, Address Id: 329243 => Updated with Vin: JHMES96644S002195 ## Mail History Id: 29182839, Consumer Id: 506752, Address Id: 325679 => Updated with Vin: SHSRD78925U324916 ## Mail History Id: 29182841, Consumer Id: 506583, Address Id: 9841147 => Updated with Vin: 5FNRL38655B071678 ## Mail History Id: 29182843, Consumer Id: 515557, Address Id: 9846653 => Updated with Vin: 2HGFG12826H526084 ## Mail History Id: 29182845, Consumer Id: 472378, Address Id: 324887 => Updated with Vin: 5FNYF28586B013716 ## Total mail_history records updated with vin numbers: 8 out of 9 ============================================================ ====== Tracking Id: 876 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-28 12:17:32') AND us2_order_type_id = 3 ## Order found: 1138 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1138 AND product_id = 114 ## Job Group Found: '450' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('450') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm073108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm073108002') AND customer_id = 3427 ## Mailing found: '12536' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29182796, Consumer Id: 499909, Address Id: 9834183 => Updated with Vin: 1HGCG6676XA051962 ## Mail History Id: 29182798, Consumer Id: 496513, Address Id: 9831040 => Updated with Vin: 2HKYF18454H501604 ## Mail History Id: 29182800, Consumer Id: 510873, Address Id: 9843885 => Updated with Vin: 1HGCM66513A003979 ## Mail History Id: 29182802, Consumer Id: 500495, Address Id: 9835049 => Updated with Vin: SHSRD78874U230715 ## Mail History Id: 29182804, Consumer Id: 497491, Address Id: 9831737 => Updated with Vin: SHSRD77873U159757 ## Mail History Id: 29182806, Consumer Id: 510327, Address Id: 9843544 => Updated with Vin: 1HGCM55415A185835 ## Mail History Id: 29182808, Consumer Id: 497732, Address Id: 9831921 => Updated with Vin: 2HKRL18022H585808 ## Mail History Id: 29182810, Consumer Id: 498412, Address Id: 7554975 => Updated with Vin: 1HGCM56693A045223 ## Mail History Id: 29182812, Consumer Id: 510931, Address Id: 330406 => Updated with Vin: 1HGCG66881A060016 ## Mail History Id: 29182814, Consumer Id: 495662, Address Id: 9830441 => Updated with Vin: 1HGES165X3L015120 ## Mail History Id: 29182816, Consumer Id: 518306, Address Id: 328821 => Updated with Vin: JHLRD18431C050130 ## Mail History Id: 29182818, Consumer Id: 500400, Address Id: 9834982 => Updated with Vin: SHSRD78854U230700 ## Mail History Id: 29182820, Consumer Id: 491847, Address Id: 9827611 => Updated with Vin: 1HGCG16522A006592 ## Mail History Id: 29182822, Consumer Id: 505922, Address Id: 9840721 => Updated with Vin: 5FNRL38715B061108 ## Mail History Id: 29182824, Consumer Id: 492233, Address Id: 9827898 => Updated with Vin: SHHEP33552U306723 ## Mail History Id: 29182826, Consumer Id: 495231, Address Id: 9830131 => Updated with Vin: 1HGEG8552SL059400 ## Mail History Id: 29182828, Consumer Id: 491640, Address Id: 9827453 => Updated with Vin: 2HKYF18613H596162 ## Mail History Id: 29182830, Consumer Id: 516384, Address Id: 9847160 => Updated with Vin: JHMCD5643SC035253 ## Mail History Id: 29182832, Consumer Id: 516489, Address Id: 9847224 => Updated with Vin: JNKBV61EX7M711181 ## Mail History Id: 29182834, Consumer Id: 518335, Address Id: 9832243 => Updated with Vin: 1HGCM66583A103979 ## Mail History Id: 29182836, Consumer Id: 482713, Address Id: 9837554 => Updated with Vin: 1HGFA16807L046271 ## Total mail_history records updated with vin numbers: 21 out of 22 ============================================================ ====== Tracking Id: 877 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-28 12:17:33') AND us2_order_type_id = 3 ## Order found: 1139 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1139 AND product_id = 143 ## Job Group Found: '449' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('449') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm073108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm073108001') AND customer_id = 3471 ## Mailing found: '12535' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29234883, Consumer Id: 800984, Address Id: 10213985 => Updated with Vin: 1G6KS52Y4SU809079 ## Total mail_history records updated with vin numbers: 1 out of 43 ============================================================ ====== Tracking Id: 878 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-28 12:17:46') AND us2_order_type_id = 3 ## Order found: 1139 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1139 AND product_id = 112 ## Job Group Found: '450' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('450') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm073108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm073108002') AND customer_id = 3471 ## Mailing found: '12537' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29182838, Consumer Id: 802486, Address Id: 7877934 => Updated with Vin: 1G6KY5498YU226687 ## Mail History Id: 29182840, Consumer Id: 807777, Address Id: 7415646 => Updated with Vin: 3GYFK66N85G128039 ## Mail History Id: 29182842, Consumer Id: 806278, Address Id: 7416020 => Updated with Vin: 1G6KS54Y0YU139911 ## Mail History Id: 29182844, Consumer Id: 806886, Address Id: 11876854 => Updated with Vin: 1GYEK63N16R117420 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 879 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-29 08:44:25') AND us2_order_type_id = 3 ## Order found: 1163 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1163 AND product_id = 113 ## Job Group Found: '450' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('450') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm073108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm073108002') AND customer_id = 3230 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 880 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-29 08:44:38') AND us2_order_type_id = 3 ## Order found: 1163 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1163 AND product_id = 143 ## Job Group Found: '449' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('449') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm073108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm073108001') AND customer_id = 3230 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 35 ============================================================ ====== Tracking Id: 881 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-29 09:17:50') AND us2_order_type_id = 3 ## Order found: 1164 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1164 AND product_id = 142 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3768 ## Mailing found: '12616' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 882 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-29 10:17:07') AND us2_order_type_id = 3 ## Order found: 1165 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1165 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3416 ## Mailing found: '12610' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29348434, Consumer Id: 625273, Address Id: 1969888 => Updated with Vin: 1GYEE637370178332 ## Mail History Id: 29349351, Consumer Id: 682107, Address Id: 11794983 => Updated with Vin: 1G6KD57Y82U286779 ## Mail History Id: 29349409, Consumer Id: 625558, Address Id: 8330981 => Updated with Vin: 5GTDN13E578228192 ## Mail History Id: 29348382, Consumer Id: 683637, Address Id: 1969054 => Updated with Vin: 1G6KE54Y12U199002 ## Mail History Id: 29348378, Consumer Id: 871032, Address Id: 1968967 => Updated with Vin: 1G6DG577480132187 ## Mail History Id: 29349016, Consumer Id: 871371, Address Id: 11911896 => Updated with Vin: 1G1ZU57N17F138382 ## Mail History Id: 29349333, Consumer Id: 871370, Address Id: 11911895 => Updated with Vin: 1G6DT57V480201048 ## Mail History Id: 29349435, Consumer Id: 625353, Address Id: 1964335 => Updated with Vin: 1G6DP577070152998 ## Mail History Id: 29348672, Consumer Id: 625460, Address Id: 11765975 => Updated with Vin: 1G6DW677170184884 ## Mail History Id: 29349337, Consumer Id: 687216, Address Id: 1958938 => Updated with Vin: 1G6KD54Y0WU718789 ## Mail History Id: 29348416, Consumer Id: 871361, Address Id: 1969494 => Updated with Vin: 1G6KD57Y22U300465 ## Mail History Id: 29348284, Consumer Id: 625489, Address Id: 1966056 => Updated with Vin: 1G6KD57Y87U209255 ## Mail History Id: 29348426, Consumer Id: 872276, Address Id: 4798425 => Updated with Vin: 1G6KD57966U115866 ## Mail History Id: 29348472, Consumer Id: 625742, Address Id: 1970457 => Updated with Vin: 1GYEE637X70190882 ## Mail History Id: 29349361, Consumer Id: 682750, Address Id: 1960465 => Updated with Vin: W06VR54R5YR010307 ## Mail History Id: 29348442, Consumer Id: 689450, Address Id: 1970044 => Updated with Vin: 1GYEK63N45R252678 ## Mail History Id: 29348280, Consumer Id: 686091, Address Id: 1965792 => Updated with Vin: 1G6KE57Y62U147571 ## Mail History Id: 29349411, Consumer Id: 662416, Address Id: 1963218 => Updated with Vin: 1G6DG577980195673 ## Mail History Id: 29349381, Consumer Id: 681735, Address Id: 1961495 => Updated with Vin: 1G6KD54Y32U137992 ## Mail History Id: 29349447, Consumer Id: 683822, Address Id: 1964677 => Updated with Vin: 1G6KD54Y52U103780 ## Mail History Id: 29349323, Consumer Id: 690058, Address Id: 1966900 => Updated with Vin: 1G6KD57Y76U106973 ## Mail History Id: 29349399, Consumer Id: 625881, Address Id: 1962486 => Updated with Vin: 1G6DS57V180157304 ## Mail History Id: 29349419, Consumer Id: 681917, Address Id: 1963627 => Updated with Vin: 1G6KD54Y21U110703 ## Mail History Id: 29349357, Consumer Id: 685498, Address Id: 1960283 => Updated with Vin: 1G6KE57Y61U108817 ## Mail History Id: 29348290, Consumer Id: 687843, Address Id: 1967464 => Updated with Vin: 1G6DM577340110507 ## Mail History Id: 29348270, Consumer Id: 688463, Address Id: 11796874 => Updated with Vin: 1HGCG5655WA233093 ## Mail History Id: 29348690, Consumer Id: 690434, Address Id: 8338470 => Updated with Vin: 1GNEK13Z53J299684 ## Mail History Id: 29348342, Consumer Id: 625139, Address Id: 4783807 => Updated with Vin: 1GYEE637570156865 ## Mail History Id: 29348372, Consumer Id: 689308, Address Id: 11797189 => Updated with Vin: 1G1ZT548X4F150186 ## Mail History Id: 29348278, Consumer Id: 690454, Address Id: 11797623 => Updated with Vin: 1G6DM57T960160036 ## Mail History Id: 29348418, Consumer Id: 872277, Address Id: 1969503 => Updated with Vin: 1G6KE54Y25U217267 ## Mail History Id: 29349329, Consumer Id: 691472, Address Id: 10934308 => Updated with Vin: 1G6DW677560202933 ## Mail History Id: 29348396, Consumer Id: 685484, Address Id: 1969182 => Updated with Vin: 1G6KD54Y41U118317 ## Total mail_history records updated with vin numbers: 33 out of 52 ============================================================ ====== Tracking Id: 883 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-07-29 10:20:49') AND us2_order_type_id = 3 ## Order found: 1166 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1166 AND product_id = 142 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3697 ## Mailing found: '12613' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349195, Consumer Id: 1046898, Address Id: 14829450 => Updated with Vin: 1GYEE637650208968 ## Mail History Id: 29349135, Consumer Id: 1044003, Address Id: 8828548 => Updated with Vin: 1G1ZU53846F149214 ## Mail History Id: 29349223, Consumer Id: 1051901, Address Id: 14952708 => Updated with Vin: 1G6KF57923U213458 ## Mail History Id: 29349179, Consumer Id: 1044021, Address Id: 14828440 => Updated with Vin: 1G6KD57Y16U243097 ## Mail History Id: 29349133, Consumer Id: 1044346, Address Id: 5991160 => Updated with Vin: 1G6DP577870133177 ## Mail History Id: 29349141, Consumer Id: 1044338, Address Id: 5992736 => Updated with Vin: 1G6KD57Y57U136510 ## Mail History Id: 29349227, Consumer Id: 1044415, Address Id: 11665796 => Updated with Vin: 1G6KD57Y37U191540 ## Mail History Id: 29349103, Consumer Id: 1044582, Address Id: 14826324 => Updated with Vin: 1G6KF57984U147676 ## Mail History Id: 29349025, Consumer Id: 1044600, Address Id: 3240083 => Updated with Vin: 1G6KD54Y95U113961 ## Mail History Id: 29349011, Consumer Id: 1044672, Address Id: 2852110 => Updated with Vin: 1G6KD57Y07U155269 ## Mail History Id: 29349147, Consumer Id: 1044986, Address Id: 14952996 => Updated with Vin: 1GYFK63817R426899 ## Mail History Id: 29349107, Consumer Id: 1045237, Address Id: 1079104 => Updated with Vin: 1GYFK63818R108444 ## Mail History Id: 29349279, Consumer Id: 1045352, Address Id: 14952427 => Updated with Vin: 1G6DW677X70192207 ## Mail History Id: 29349173, Consumer Id: 1045302, Address Id: 14953098 => Updated with Vin: 1GYFK63817R341173 ## Mail History Id: 29349069, Consumer Id: 1045298, Address Id: 5986960 => Updated with Vin: 1G6KD57Y66U142055 ## Mail History Id: 29349165, Consumer Id: 1050462, Address Id: 14954456 => Updated with Vin: 1G6DM57TX70103345 ## Mail History Id: 29349259, Consumer Id: 1045681, Address Id: 11666037 => Updated with Vin: 1GYEE63A970153799 ## Mail History Id: 29349255, Consumer Id: 1051438, Address Id: 8719314 => Updated with Vin: 1G6DC67A650205570 ## Mail History Id: 29349197, Consumer Id: 1045741, Address Id: 12938032 => Updated with Vin: 1GYEC63837R275332 ## Mail History Id: 29349189, Consumer Id: 1045930, Address Id: 11949629 => Updated with Vin: 1G6DR57V380169949 ## Mail History Id: 29349213, Consumer Id: 1045942, Address Id: 11956744 => Updated with Vin: 1G6KD57966U144137 ## Mail History Id: 29349081, Consumer Id: 1042837, Address Id: 14952383 => Updated with Vin: 1G6CD5331L4357238 ## Mail History Id: 29349095, Consumer Id: 1041994, Address Id: 11959068 => Updated with Vin: 1G6KF5494VU241706 ## Mail History Id: 29349045, Consumer Id: 1043264, Address Id: 5984568 => Updated with Vin: 1GNEC13T51J145434 ## Mail History Id: 29349287, Consumer Id: 1042638, Address Id: 14952337 => Updated with Vin: 1G6KD54Y94U124246 ## Mail History Id: 29349041, Consumer Id: 1042313, Address Id: 5984301 => Updated with Vin: 1GYEK63N82R117733 ## Mail History Id: 29349083, Consumer Id: 1042311, Address Id: 5989123 => Updated with Vin: 1G6KD54Y9WU732772 ## Mail History Id: 29349295, Consumer Id: 1046354, Address Id: 5414300 => Updated with Vin: 2BCCZ813XJB513851 ## Mail History Id: 29349039, Consumer Id: 1044608, Address Id: 5983931 => Updated with Vin: 1G6KD57947U184783 ## Mail History Id: 29349231, Consumer Id: 1050897, Address Id: 800286 => Updated with Vin: 3GYFK62897G273187 ## Mail History Id: 29349151, Consumer Id: 1043320, Address Id: 14952499 => Updated with Vin: 2GCEK19T341227292 ## Mail History Id: 29349301, Consumer Id: 1042906, Address Id: 5414439 => Updated with Vin: 1G6DM57N630157379 ## Mail History Id: 29349205, Consumer Id: 1042896, Address Id: 14952363 => Updated with Vin: 1G6ET12961B105259 ## Mail History Id: 29349073, Consumer Id: 1044281, Address Id: 14952211 => Updated with Vin: 1GYFK63807R332092 ## Mail History Id: 29349211, Consumer Id: 1044983, Address Id: 5995053 => Updated with Vin: 1G6KE57YX1U154294 ## Mail History Id: 29349091, Consumer Id: 1050337, Address Id: 1078409 => Updated with Vin: 1GYFK638X7R239080 ## Mail History Id: 29349209, Consumer Id: 1043428, Address Id: 14952522 => Updated with Vin: 3GYFK66N94G226768 ## Mail History Id: 29349109, Consumer Id: 1043224, Address Id: 5990117 => Updated with Vin: 1G6KF57942U123310 ## Mail History Id: 29349207, Consumer Id: 1044599, Address Id: 5994894 => Updated with Vin: 1G6DP577270101471 ## Mail History Id: 29349047, Consumer Id: 1045323, Address Id: 5984634 => Updated with Vin: 1G6KD57Y98U148709 ## Mail History Id: 29349239, Consumer Id: 1044799, Address Id: 14829831 => Updated with Vin: 1GYEK63N64R308649 ## Mail History Id: 29349177, Consumer Id: 1046086, Address Id: 14953325 => Updated with Vin: 1G6KF57975U102262 ## Mail History Id: 29349049, Consumer Id: 1045438, Address Id: 5984335 => Updated with Vin: W06VR54R61R003288 ## Mail History Id: 29349193, Consumer Id: 1042904, Address Id: 8194121 => Updated with Vin: 1GYDE637740126354 ## Mail History Id: 29349033, Consumer Id: 1049059, Address Id: 14953409 => Updated with Vin: 1GYEE637560212155 ## Mail History Id: 29349283, Consumer Id: 1043028, Address Id: 14952423 => Updated with Vin: 1G6KD54Y64U171332 ## Mail History Id: 29349013, Consumer Id: 1041475, Address Id: 2852373 => Updated with Vin: 1G6KF579X1U116120 ## Mail History Id: 29349291, Consumer Id: 1043201, Address Id: 14952468 => Updated with Vin: 1G6KD54Y14U191018 ## Mail History Id: 29349143, Consumer Id: 1044377, Address Id: 5992260 => Updated with Vin: 1G6DM57T070170942 ## Mail History Id: 29349275, Consumer Id: 1043742, Address Id: 14952621 => Updated with Vin: 1G6KD54Y74U218903 ## Mail History Id: 29349277, Consumer Id: 1050842, Address Id: 14952859 => Updated with Vin: 1G1YY32G335105929 ## Mail History Id: 29349063, Consumer Id: 1045808, Address Id: 5986616 => Updated with Vin: 1G6KD54Y15U124825 ## Mail History Id: 29349087, Consumer Id: 1047023, Address Id: 5989611 => Updated with Vin: 1G6DM57N130109692 ## Mail History Id: 29349235, Consumer Id: 1044340, Address Id: 2778824 => Updated with Vin: 1G6KD57Y27U134276 ## Mail History Id: 29349139, Consumer Id: 1047701, Address Id: 5991990 => Updated with Vin: 1GYEE637650227584 ## Mail History Id: 29349281, Consumer Id: 1047364, Address Id: 14826109 => Updated with Vin: 1G6KD54Y95U257395 ## Mail History Id: 29349253, Consumer Id: 1045296, Address Id: 3239935 => Updated with Vin: 1G6DW677X70189064 ## Mail History Id: 29349055, Consumer Id: 1047737, Address Id: 8827116 => Updated with Vin: 1G6DP577560106646 ## Mail History Id: 29349225, Consumer Id: 1044088, Address Id: 2776292 => Updated with Vin: 1G6KD54Y12U305354 ## Mail History Id: 29349249, Consumer Id: 1048052, Address Id: 3239747 => Updated with Vin: 1G6DP577X60124267 ## Mail History Id: 29349235, Consumer Id: 1048921, Address Id: 2778824 => Updated with Vin: 1GYEK63N86R161799 ## Mail History Id: 29349183, Consumer Id: 1049442, Address Id: 14954205 => Updated with Vin: 1GYFK63837R162505 ## Mail History Id: 29349007, Consumer Id: 1048688, Address Id: 2849639 => Updated with Vin: 1GYFK638X7R127847 ## Mail History Id: 29349187, Consumer Id: 1042226, Address Id: 5994184 => Updated with Vin: W06VR54R91R079149 ## Mail History Id: 29349203, Consumer Id: 1051889, Address Id: 14952609 => Updated with Vin: 1G4HD57296U257070 ## Mail History Id: 29349171, Consumer Id: 1044342, Address Id: 14952793 => Updated with Vin: 1GYEE637750232096 ## Mail History Id: 29349019, Consumer Id: 1042698, Address Id: 3240036 => Updated with Vin: 1G3NF52E01C217137 ## Mail History Id: 29349035, Consumer Id: 1041988, Address Id: 5983862 => Updated with Vin: 1G6KE57Y6YU241622 ## Mail History Id: 29349157, Consumer Id: 1049686, Address Id: 14954263 => Updated with Vin: 1G6KE57Y02U243762 ## Mail History Id: 29349269, Consumer Id: 1048779, Address Id: 2849145 => Updated with Vin: 1GNEC16Z84R111543 ## Mail History Id: 29349297, Consumer Id: 1043519, Address Id: 14952556 => Updated with Vin: 1G6KF57913U223303 ## Mail History Id: 29349261, Consumer Id: 1047359, Address Id: 2848805 => Updated with Vin: 1GYEK63N15R263153 ## Mail History Id: 29349265, Consumer Id: 1051932, Address Id: 14954988 => Updated with Vin: 1GYEC63877R265127 ## Mail History Id: 29349247, Consumer Id: 1050143, Address Id: 11665943 => Updated with Vin: 1GYFK66897R268128 ## Mail History Id: 29349229, Consumer Id: 1043501, Address Id: 2777047 => Updated with Vin: 1G6KD54Y42U210870 ## Mail History Id: 29349167, Consumer Id: 1047856, Address Id: 14953795 => Updated with Vin: 1G6KD54Y1YU317108 ## Mail History Id: 29349309, Consumer Id: 1041794, Address Id: 14952154 => Updated with Vin: 1G6KF57903U201440 ## Mail History Id: 29349307, Consumer Id: 1043066, Address Id: 11949806 => Updated with Vin: 1G6KD54YX4U174122 ## Mail History Id: 29349199, Consumer Id: 1048223, Address Id: 5995054 => Updated with Vin: 1G6KD54Y23U127746 ## Mail History Id: 29349079, Consumer Id: 1043382, Address Id: 5989453 => Updated with Vin: 1G6KD54Y73U275844 ## Mail History Id: 29349023, Consumer Id: 1050884, Address Id: 3240075 => Updated with Vin: 1GYEK63N92R123167 ## Mail History Id: 29349009, Consumer Id: 1045092, Address Id: 2850205 => Updated with Vin: 1G6KS54Y24U159913 ## Mail History Id: 29349053, Consumer Id: 1045304, Address Id: 14953099 => Updated with Vin: 1G6DM577280119558 ## Mail History Id: 29349191, Consumer Id: 1044953, Address Id: 14952982 => Updated with Vin: 1G6KD54Y94U210267 ## Mail History Id: 29349005, Consumer Id: 1048179, Address Id: 2849627 => Updated with Vin: 1G6DM57N130124130 ## Mail History Id: 29349145, Consumer Id: 1041960, Address Id: 1150761 => Updated with Vin: 1G6KF57981U169334 ## Mail History Id: 29349125, Consumer Id: 1048534, Address Id: 12938887 => Updated with Vin: 1G6DN57U960153433 ## Mail History Id: 29349289, Consumer Id: 1049438, Address Id: 5978186 => Updated with Vin: 1G6KD57Y36U106484 ## Mail History Id: 29349113, Consumer Id: 1043105, Address Id: 14952442 => Updated with Vin: 1G3AG55M4R6366353 ## Mail History Id: 29349089, Consumer Id: 1044282, Address Id: 8827876 => Updated with Vin: 1GYEE637270138646 ## Mail History Id: 29348736, Consumer Id: 1051748, Address Id: 14954137 => Updated with Vin: 1GYFK66828R149824 ## Mail History Id: 29349263, Consumer Id: 1051923, Address Id: 2848991 => Updated with Vin: 2G1WK15K579145502 ## Mail History Id: 29349075, Consumer Id: 1048371, Address Id: 14953938 => Updated with Vin: 1GYEE637050142126 ## Mail History Id: 29349015, Consumer Id: 1042309, Address Id: 14952262 => Updated with Vin: 1G6KD54Y0WU710322 ## Mail History Id: 29349163, Consumer Id: 1042223, Address Id: 12938647 => Updated with Vin: 1GYEK63N03R181430 ## Mail History Id: 29349181, Consumer Id: 1049705, Address Id: 3597760 => Updated with Vin: 5GADV33L75D197423 ## Mail History Id: 29349071, Consumer Id: 1050338, Address Id: 8827663 => Updated with Vin: 1G6KD54Y7YU165982 ## Mail History Id: 29349031, Consumer Id: 1050967, Address Id: 14954578 => Updated with Vin: 1G6KF5494XU724261 ## Mail History Id: 29349293, Consumer Id: 1044275, Address Id: 11949125 => Updated with Vin: 1G6DW677970151325 ## Mail History Id: 29349221, Consumer Id: 1051115, Address Id: 14954495 => Updated with Vin: 1G6KS52YXTU820458 ## Mail History Id: 29349245, Consumer Id: 1051103, Address Id: 805849 => Updated with Vin: 1G2ZH36N474173970 ## Mail History Id: 29349305, Consumer Id: 1048532, Address Id: 14953981 => Updated with Vin: 1G6AW6986E9045500 ## Mail History Id: 29349175, Consumer Id: 1051669, Address Id: 14954859 => Updated with Vin: 1G6KD54Y02U208582 ## Mail History Id: 29349251, Consumer Id: 1048224, Address Id: 3239755 => Updated with Vin: 1GYEK63N13R101987 ## Mail History Id: 29349085, Consumer Id: 1044985, Address Id: 3594371 => Updated with Vin: 1G6KD54Y43U112861 ## Mail History Id: 29349021, Consumer Id: 1045611, Address Id: 3240038 => Updated with Vin: 1G6KD54Y55U102424 ## Mail History Id: 29349267, Consumer Id: 1044333, Address Id: 2849046 => Updated with Vin: 1G6KE54YX4U188504 ## Mail History Id: 29349153, Consumer Id: 1050441, Address Id: 12939187 => Updated with Vin: 1G6KY5299RU836909 ## Mail History Id: 29349093, Consumer Id: 1041616, Address Id: 5990141 => Updated with Vin: 1G6KY549XYU279309 ## Total mail_history records updated with vin numbers: 109 out of 117 ============================================================ ====== Tracking Id: 884 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-29 10:43:58') AND us2_order_type_id = 3 ## Order found: 1163 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1163 AND product_id = 140 ## Job Group Found: '453' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('453') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm073108005' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm073108005') AND customer_id = 3230 ## Mailing found: '12555' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29182871, Consumer Id: 92688, Address Id: 49155 => Updated with Vin: 1FMZK02157GA11516 ## Mail History Id: 29182873, Consumer Id: 93371, Address Id: 51850 => Updated with Vin: 3FAHP01187R168426 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 885 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-07-29 11:14:23') AND us2_order_type_id = 3 ## Order found: 1167 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1167 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3486 ## Mailing found: '12622' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349567, Consumer Id: 469185, Address Id: 1034942 => Updated with Vin: 1GYEC63T44R141557 ## Mail History Id: 29349579, Consumer Id: 466697, Address Id: 9821271 => Updated with Vin: 3GNEC12Z35G212755 ## Mail History Id: 29349569, Consumer Id: 470906, Address Id: 9821745 => Updated with Vin: 4NUDS13S682700334 ## Mail History Id: 29349581, Consumer Id: 470924, Address Id: 2014505 => Updated with Vin: 1B3LC46K68N628231 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 886 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-29 11:15:59') AND us2_order_type_id = 3 ## Order found: 1168 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1168 AND product_id = 144 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3705 ## Mailing found: '12614' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349184, Consumer Id: 974912, Address Id: 14843488 => Updated with Vin: 1G1AK52F357504014 ## Mail History Id: 29349154, Consumer Id: 961528, Address Id: 14834607 => Updated with Vin: 1GNDS13S652343848 ## Mail History Id: 29349092, Consumer Id: 965274, Address Id: 14837569 => Updated with Vin: 3GNDA23P76S650049 ## Mail History Id: 29349054, Consumer Id: 966749, Address Id: 14831386 => Updated with Vin: 2G1WT58K169298912 ## Mail History Id: 29349044, Consumer Id: 966234, Address Id: 14838299 => Updated with Vin: 1G2MB35B07Y106214 ## Mail History Id: 29349064, Consumer Id: 965801, Address Id: 14838003 => Updated with Vin: 2CNDL13F666180434 ## Mail History Id: 29349118, Consumer Id: 972719, Address Id: 9185604 => Updated with Vin: 1G1AL18F487286859 ## Mail History Id: 29349074, Consumer Id: 972723, Address Id: 14843109 => Updated with Vin: 1FTSX31P83ED89530 ## Mail History Id: 29349126, Consumer Id: 960832, Address Id: 14831088 => Updated with Vin: 2G4WB52LXS1498879 ## Mail History Id: 29349068, Consumer Id: 960851, Address Id: 9133056 => Updated with Vin: 2G1WH55K539151123 ## Mail History Id: 29349178, Consumer Id: 973224, Address Id: 14836205 => Updated with Vin: 1G1YY22G135128958 ## Mail History Id: 29349076, Consumer Id: 974479, Address Id: 14841551 => Updated with Vin: 1GTEC19T3XZ520702 ## Mail History Id: 29349136, Consumer Id: 980870, Address Id: 14846812 => Updated with Vin: 1G3WX52H5YF273403 ## Mail History Id: 29349060, Consumer Id: 978814, Address Id: 14845738 => Updated with Vin: 2GCEC19V131334208 ## Mail History Id: 29349040, Consumer Id: 979795, Address Id: 14846294 => Updated with Vin: 1GNFC13047R260059 ## Mail History Id: 29349138, Consumer Id: 973441, Address Id: 14838530 => Updated with Vin: 1GNDS13S532318890 ## Total mail_history records updated with vin numbers: 16 out of 25 ============================================================ ====== Tracking Id: 887 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-29 11:16:13') AND us2_order_type_id = 3 ## Order found: 1168 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1168 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 888 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-29 11:16:25') AND us2_order_type_id = 3 ## Order found: 1168 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1168 AND product_id = 106 ## Job Group Found: '462' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('462') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408005' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408005') AND customer_id = 3705 ## Mailing found: '12605' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 889 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-29 11:44:26') AND us2_order_type_id = 3 ## Order found: 1169 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1169 AND product_id = 142 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3357 ## Mailing found: '12609' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29348879, Consumer Id: 873347, Address Id: 11912832 => Updated with Vin: JM1BK324481867329 ## Mail History Id: 29348763, Consumer Id: 872117, Address Id: 11092919 => Updated with Vin: 4F2YZ02Z75KM57498 ## Mail History Id: 29349422, Consumer Id: 872120, Address Id: 11912276 => Updated with Vin: 1FMDU73E21ZA07594 ## Mail History Id: 29348823, Consumer Id: 872119, Address Id: 11912275 => Updated with Vin: 1ZVLT22B0T5125051 ## Mail History Id: 29348923, Consumer Id: 873367, Address Id: 881041 => Updated with Vin: 1FTYR10D28PA22862 ## Mail History Id: 29348937, Consumer Id: 873361, Address Id: 11767185 => Updated with Vin: 1GKFK16347J307269 ## Mail History Id: 29348933, Consumer Id: 873362, Address Id: 11912838 => Updated with Vin: JM3TB38C170114517 ## Mail History Id: 29348731, Consumer Id: 872113, Address Id: 11912272 => Updated with Vin: 1MEHM55S91A612965 ## Mail History Id: 29348887, Consumer Id: 872118, Address Id: 880349 => Updated with Vin: 1FMFU18L81LA06059 ## Mail History Id: 29348993, Consumer Id: 194728, Address Id: 402860 => Updated with Vin: 1FMZU73E31ZA68278 ## Mail History Id: 29348891, Consumer Id: 188214, Address Id: 400178 => Updated with Vin: JM3LW28J840518004 ## Mail History Id: 29348785, Consumer Id: 190269, Address Id: 399948 => Updated with Vin: 1FMYU03125DA13307 ## Mail History Id: 29348975, Consumer Id: 187957, Address Id: 398540 => Updated with Vin: 1FTZR45E65PA00284 ## Mail History Id: 29348941, Consumer Id: 188944, Address Id: 398742 => Updated with Vin: 1FTSW20P05EA64307 ## Mail History Id: 29349432, Consumer Id: 197982, Address Id: 406058 => Updated with Vin: 1FDSE34F82HA15792 ## Mail History Id: 29349448, Consumer Id: 873345, Address Id: 11912831 => Updated with Vin: 1FMZU73E92UB13237 ## Mail History Id: 29348855, Consumer Id: 195745, Address Id: 405028 => Updated with Vin: 4M2ZU66WX2ZJ25543 ## Mail History Id: 29349390, Consumer Id: 189928, Address Id: 402288 => Updated with Vin: 1FMFU15L54LB70961 ## Mail History Id: 29349400, Consumer Id: 152249, Address Id: 394591 => Updated with Vin: JM1FE17N350159539 ## Mail History Id: 29348981, Consumer Id: 151666, Address Id: 394052 => Updated with Vin: 1ZVFT84N455208136 ## Mail History Id: 29348949, Consumer Id: 194375, Address Id: 404133 => Updated with Vin: 1FTWX31P65EC95778 ## Mail History Id: 29348889, Consumer Id: 196430, Address Id: 403604 => Updated with Vin: 1FTPX14585NB54987 ## Mail History Id: 29348771, Consumer Id: 872112, Address Id: 406126 => Updated with Vin: JHMES96655S022909 ## Mail History Id: 29348791, Consumer Id: 873333, Address Id: 11912824 => Updated with Vin: JTDBR32E960059677 ## Mail History Id: 29348965, Consumer Id: 189279, Address Id: 400931 => Updated with Vin: JM1CR29L560101863 ## Mail History Id: 29348711, Consumer Id: 154057, Address Id: 396247 => Updated with Vin: 1YVHP80C365M58936 ## Mail History Id: 29348883, Consumer Id: 152883, Address Id: 395180 => Updated with Vin: 1FAFP56U86A144935 ## Mail History Id: 29348827, Consumer Id: 152242, Address Id: 394584 => Updated with Vin: 2FMDA52226BA09554 ## Mail History Id: 29348757, Consumer Id: 190438, Address Id: 401999 => Updated with Vin: 1FTRE14W36HA74469 ## Mail History Id: 29349394, Consumer Id: 152460, Address Id: 394787 => Updated with Vin: 1FMYU02Z16KB18733 ## Mail History Id: 29348693, Consumer Id: 872111, Address Id: 11912271 => Updated with Vin: 1FMYU95H26KB80178 ## Mail History Id: 29348781, Consumer Id: 153451, Address Id: 395698 => Updated with Vin: 1FMYU02Z96KB89212 ## Mail History Id: 29348997, Consumer Id: 153304, Address Id: 395559 => Updated with Vin: 1FTPW12556KC30979 ## Mail History Id: 29348809, Consumer Id: 196346, Address Id: 405788 => Updated with Vin: 1FTPW14596KC84721 ## Mail History Id: 29348961, Consumer Id: 153236, Address Id: 395499 => Updated with Vin: 1FTPW14576KD97289 ## Mail History Id: 29348907, Consumer Id: 152810, Address Id: 395111 => Updated with Vin: 3FAHP07Z26R192295 ## Mail History Id: 29348831, Consumer Id: 199224, Address Id: 406926 => Updated with Vin: 3LNHM26196R635340 ## Mail History Id: 29348829, Consumer Id: 873334, Address Id: 403586 => Updated with Vin: 5TBDT44176S551740 ## Mail History Id: 29348871, Consumer Id: 153210, Address Id: 395477 => Updated with Vin: JM3ER29L270101126 ## Mail History Id: 29349444, Consumer Id: 154923, Address Id: 397029 => Updated with Vin: JM1NC25F670130347 ## Mail History Id: 29348775, Consumer Id: 873346, Address Id: 402744 => Updated with Vin: 1ZVHT80N775235185 ## Mail History Id: 29348777, Consumer Id: 155447, Address Id: 397498 => Updated with Vin: 1ZVFT82H275350839 ## Mail History Id: 29348845, Consumer Id: 870537, Address Id: 11767033 => Updated with Vin: WAUDH78E17A126162 ## Mail History Id: 29348991, Consumer Id: 873342, Address Id: 401065 => Updated with Vin: 2HNYD282X7H533403 ## Mail History Id: 29348951, Consumer Id: 155446, Address Id: 397497 => Updated with Vin: 1FMFU18547LA59772 ## Mail History Id: 29348749, Consumer Id: 155466, Address Id: 397516 => Updated with Vin: 3FAHP07Z07R275600 ## Mail History Id: 29348725, Consumer Id: 420546, Address Id: 9800027 => Updated with Vin: 1FAFP34N47W203502 ## Mail History Id: 29349434, Consumer Id: 155405, Address Id: 397460 => Updated with Vin: JM3ER29L680176008 ## Mail History Id: 29348705, Consumer Id: 155533, Address Id: 397579 => Updated with Vin: JM3ER29L980188735 ## Mail History Id: 29348861, Consumer Id: 155483, Address Id: 397532 => Updated with Vin: JM1BK34M581794677 ## Mail History Id: 29349416, Consumer Id: 653280, Address Id: 11782435 => Updated with Vin: JM1BK32G081835827 ## Mail History Id: 29348801, Consumer Id: 190389, Address Id: 400431 => Updated with Vin: 1FMRU15W43LA21740 ## Mail History Id: 29348903, Consumer Id: 192504, Address Id: 402223 => Updated with Vin: 1FTNW21S42EC03916 ## Mail History Id: 29348857, Consumer Id: 155457, Address Id: 397508 => Updated with Vin: 1FTSW21R68EA97283 ## Mail History Id: 29348851, Consumer Id: 873351, Address Id: 401624 => Updated with Vin: 1FMCU03ZX8KB14658 ## Mail History Id: 29348729, Consumer Id: 155476, Address Id: 397526 => Updated with Vin: 1FAHP32N98W104073 ## Mail History Id: 29348927, Consumer Id: 872116, Address Id: 11715789 => Updated with Vin: 2MELM74W6VX716756 ## Mail History Id: 29348925, Consumer Id: 198493, Address Id: 407372 => Updated with Vin: 1FMCU59H68KB05516 ## Mail History Id: 29349392, Consumer Id: 873336, Address Id: 11912826 => Updated with Vin: 1FABP42E2KF127178 ## Mail History Id: 29348727, Consumer Id: 872114, Address Id: 11912273 => Updated with Vin: 2FALP74WXPX170318 ## Mail History Id: 29348919, Consumer Id: 225060, Address Id: 434497 => Updated with Vin: 1FDEE14N8RHB40200 ## Mail History Id: 29348843, Consumer Id: 871272, Address Id: 11911725 => Updated with Vin: 1FTEX15H6RKB96484 ## Mail History Id: 29348935, Consumer Id: 872109, Address Id: 11912269 => Updated with Vin: 1FASP11J4TW136608 ## Mail History Id: 29348803, Consumer Id: 872115, Address Id: 11912274 => Updated with Vin: 1FTHW26F2VEC88154 ## Mail History Id: 29348939, Consumer Id: 872110, Address Id: 11912270 => Updated with Vin: 1GTCS19X5W8538815 ## Mail History Id: 29349414, Consumer Id: 194561, Address Id: 403664 => Updated with Vin: 1FTYR10C4WUC71296 ## Mail History Id: 29348695, Consumer Id: 873369, Address Id: 11912840 => Updated with Vin: 1FTYR14X5XPB20481 ## Mail History Id: 29348917, Consumer Id: 672852, Address Id: 406463 => Updated with Vin: 1MEHM42WX8G608562 ## Total mail_history records updated with vin numbers: 68 out of 82 ============================================================ ====== Tracking Id: 890 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-29 11:44:28') AND us2_order_type_id = 3 ## Order found: 1169 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1169 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3357 ## Mailing found: '12618' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 891 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-29 12:15:44') AND us2_order_type_id = 3 ## Order found: 1170 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1170 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3427 ## Mailing found: '12620' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349512, Consumer Id: 490768, Address Id: 9826780 => Updated with Vin: 1HGES165X1L044341 ## Mail History Id: 29349702, Consumer Id: 501834, Address Id: 9836762 => Updated with Vin: 1HGCM66894A085732 ## Mail History Id: 29349678, Consumer Id: 497504, Address Id: 9831745 => Updated with Vin: 1HGCD5605VA108333 ## Mail History Id: 29349642, Consumer Id: 510246, Address Id: 9843495 => Updated with Vin: 5FNYF18645B066558 ## Mail History Id: 29349648, Consumer Id: 495348, Address Id: 328582 => Updated with Vin: 2HKRL1860YH606345 ## Mail History Id: 29349580, Consumer Id: 506731, Address Id: 9841237 => Updated with Vin: 5FNRL18014B009743 ## Mail History Id: 29349557, Consumer Id: 491992, Address Id: 9827716 => Updated with Vin: 1HGCG56692A108648 ## Mail History Id: 29349710, Consumer Id: 514390, Address Id: 9828056 => Updated with Vin: 1HGCM665X3A097148 ## Mail History Id: 29349594, Consumer Id: 493810, Address Id: 325171 => Updated with Vin: 1HGCG56651A064467 ## Mail History Id: 29349527, Consumer Id: 498082, Address Id: 9832172 => Updated with Vin: 5FNRL18062B011291 ## Mail History Id: 29349672, Consumer Id: 502883, Address Id: 9829915 => Updated with Vin: 1HGCM71673A032442 ## Mail History Id: 29349561, Consumer Id: 498654, Address Id: 9832578 => Updated with Vin: 1HGCG56681A022908 ## Mail History Id: 29349600, Consumer Id: 490839, Address Id: 9826830 => Updated with Vin: JHLRD1763WC042751 ## Mail History Id: 29349529, Consumer Id: 510343, Address Id: 9843554 => Updated with Vin: 5FNRL38706B004030 ## Mail History Id: 29349712, Consumer Id: 512856, Address Id: 9832092 => Updated with Vin: 1HGCM663X5A013251 ## Total mail_history records updated with vin numbers: 15 out of 18 ============================================================ ====== Tracking Id: 892 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-29 12:16:02') AND us2_order_type_id = 3 ## Order found: 1170 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1170 AND product_id = 113 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3427 ## Mailing found: '12620' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349646, Consumer Id: 495765, Address Id: 328550 => Updated with Vin: JHLRD1866YC030840 ## Mail History Id: 29349670, Consumer Id: 494525, Address Id: 9829585 => Updated with Vin: 1HGCD5629RA027701 ## Mail History Id: 29349618, Consumer Id: 494036, Address Id: 327067 => Updated with Vin: 1HGCG56601A092760 ## Mail History Id: 29349706, Consumer Id: 490818, Address Id: 9826814 => Updated with Vin: 5FNRL180X3B078011 ## Mail History Id: 29349554, Consumer Id: 498496, Address Id: 7552507 => Updated with Vin: JHMES96604S006132 ## Mail History Id: 29349724, Consumer Id: 498303, Address Id: 9832326 => Updated with Vin: 1HGCB7652LA022553 ## Total mail_history records updated with vin numbers: 6 out of 9 ============================================================ ====== Tracking Id: 893 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-29 12:16:06') AND us2_order_type_id = 3 ## Order found: 1171 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1171 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3471 ## Mailing found: '12612' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349254, Consumer Id: 802489, Address Id: 10214662 => Updated with Vin: 1G6KS533XLU823590 ## Mail History Id: 29349226, Consumer Id: 800825, Address Id: 7878785 => Updated with Vin: 1G6EL12Y4RU604990 ## Mail History Id: 29349216, Consumer Id: 808034, Address Id: 7878698 => Updated with Vin: 1GYEK63N55R167672 ## Mail History Id: 29349258, Consumer Id: 806678, Address Id: 7416952 => Updated with Vin: 1GYEE63AX50110747 ## Mail History Id: 29349332, Consumer Id: 801703, Address Id: 10218110 => Updated with Vin: 1G6KY5292VU815460 ## Mail History Id: 29349304, Consumer Id: 802404, Address Id: 10216394 => Updated with Vin: 1G3NL52E2YC345754 ## Mail History Id: 29349224, Consumer Id: 823050, Address Id: 7878783 => Updated with Vin: 1G6KD57Y37U227646 ## Mail History Id: 29349190, Consumer Id: 805155, Address Id: 10209720 => Updated with Vin: 1G1JC1446N7142231 ## Mail History Id: 29349344, Consumer Id: 801913, Address Id: 11871665 => Updated with Vin: 1G6KE54Y41U148088 ## Mail History Id: 29349210, Consumer Id: 817195, Address Id: 7878432 => Updated with Vin: 1GYEE637X50232917 ## Mail History Id: 29349382, Consumer Id: 805324, Address Id: 11873335 => Updated with Vin: 1GYEK63N82R295836 ## Mail History Id: 29349352, Consumer Id: 807418, Address Id: 10219680 => Updated with Vin: 1G3GR62C8S4121014 ## Mail History Id: 29349358, Consumer Id: 816227, Address Id: 11876526 => Updated with Vin: 3GYFK66NX3G298478 ## Mail History Id: 29349266, Consumer Id: 772856, Address Id: 11873936 => Updated with Vin: 3GYEK63N53G237667 ## Mail History Id: 29349248, Consumer Id: 817036, Address Id: 7416385 => Updated with Vin: 1G6KS54Y62U182463 ## Mail History Id: 29349222, Consumer Id: 823163, Address Id: 7878749 => Updated with Vin: 1G6KD57Y26U135619 ## Mail History Id: 29349220, Consumer Id: 820777, Address Id: 11876265 => Updated with Vin: 1GYEE63A960169239 ## Mail History Id: 29349312, Consumer Id: 820881, Address Id: 10217214 => Updated with Vin: 1GYFK63847R160374 ## Mail History Id: 29349202, Consumer Id: 822468, Address Id: 7878202 => Updated with Vin: 1G6KD54Y95U240385 ## Mail History Id: 29349364, Consumer Id: 822414, Address Id: 11876664 => Updated with Vin: 3GYFK62897G267163 ## Mail History Id: 29349384, Consumer Id: 817807, Address Id: 11877833 => Updated with Vin: 1GYEK63N34R216219 ## Mail History Id: 29349192, Consumer Id: 807004, Address Id: 11876738 => Updated with Vin: 1G6ET1299YU145446 ## Mail History Id: 29349268, Consumer Id: 807606, Address Id: 10214807 => Updated with Vin: 1G6CD53B2P4224050 ## Mail History Id: 29349290, Consumer Id: 806994, Address Id: 10216245 => Updated with Vin: 1G6DS57V080174661 ## Mail History Id: 29349232, Consumer Id: 807005, Address Id: 7415590 => Updated with Vin: 1G6DD67V280160244 ## Mail History Id: 29349302, Consumer Id: 806984, Address Id: 11876384 => Updated with Vin: 1GYEK63N75R191794 ## Total mail_history records updated with vin numbers: 26 out of 37 ============================================================ ====== Tracking Id: 894 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-29 12:16:16') AND us2_order_type_id = 3 ## Order found: 1171 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1171 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3471 ## Mailing found: '12621' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349689, Consumer Id: 805067, Address Id: 10217699 => Updated with Vin: 1GYEK63N73R279287 ## Mail History Id: 29349669, Consumer Id: 823164, Address Id: 7416058 => Updated with Vin: 1G6EL12Y02B100762 ## Mail History Id: 29349695, Consumer Id: 805284, Address Id: 4231562 => Updated with Vin: 1GYEK63N44R258253 ## Mail History Id: 29349677, Consumer Id: 817586, Address Id: 7416283 => Updated with Vin: 1G6KD54Y24U101973 ## Mail History Id: 29349707, Consumer Id: 816244, Address Id: 11876756 => Updated with Vin: 1GYEE637250181459 ## Mail History Id: 29349675, Consumer Id: 822797, Address Id: 10219414 => Updated with Vin: 1G6KD54Y83U172447 ## Mail History Id: 29349691, Consumer Id: 773056, Address Id: 11874259 => Updated with Vin: 3GYEK62N95G235070 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 895 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-29 19:14:16') AND us2_order_type_id = 3 ## Order found: 1169 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1169 AND product_id = 55 ## Job Group Found: '459' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('459') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408002') AND customer_id = 3357 ## Mailing found: '12599' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349455, Consumer Id: 1568061, Address Id: 403986 => Updated with Vin: 1FTYR14D08PB10383 ## Mail History Id: 29349457, Consumer Id: 1568063, Address Id: 394068 => Updated with Vin: 1FTRW12528FA83847 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 896 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-30 08:44:31') AND us2_order_type_id = 3 ## Order found: 1181 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1181 AND product_id = 143 ## Job Group Found: '449' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('449') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm073108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm073108001') AND customer_id = 3230 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 897 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-30 10:18:02') AND us2_order_type_id = 3 ## Order found: 1182 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1182 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3416 ## Mailing found: '12610' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349433, Consumer Id: 871626, Address Id: 10933974 => Updated with Vin: 1G6DP577270155322 ## Mail History Id: 29349417, Consumer Id: 681377, Address Id: 11794773 => Updated with Vin: 1G6KY5493YU133933 ## Mail History Id: 29348400, Consumer Id: 693325, Address Id: 11798788 => Updated with Vin: W06VR52R5VRO773O9 ## Mail History Id: 29349421, Consumer Id: 871627, Address Id: 11911897 => Updated with Vin: 1G6DP577160123315 ## Mail History Id: 29348340, Consumer Id: 871628, Address Id: 11911898 => Updated with Vin: 1G6KD54Y05U221577 ## Mail History Id: 29349371, Consumer Id: 686618, Address Id: 1961059 => Updated with Vin: 1G6KE57Y2YU351437 ## Mail History Id: 29349339, Consumer Id: 690300, Address Id: 1959119 => Updated with Vin: 1G6KD57Y06U115885 ## Mail History Id: 29349022, Consumer Id: 625927, Address Id: 11766196 => Updated with Vin: 1G6KE57Y14U218436 ## Mail History Id: 29348368, Consumer Id: 683828, Address Id: 11795484 => Updated with Vin: 1G6CD53B7M4274924 ## Mail History Id: 29349425, Consumer Id: 872275, Address Id: 11912527 => Updated with Vin: 1G6DW677X70175407 ## Mail History Id: 29349403, Consumer Id: 688265, Address Id: 11796805 => Updated with Vin: 1G6ET1297TU604966 ## Mail History Id: 29348394, Consumer Id: 688701, Address Id: 1969170 => Updated with Vin: 1G6KD54Y62U278913 ## Mail History Id: 29349341, Consumer Id: 871365, Address Id: 1959195 => Updated with Vin: 1G6DD67V680178276 ## Mail History Id: 29348426, Consumer Id: 872276, Address Id: 4798425 => Updated with Vin: 1G6KD57966U115866 ## Mail History Id: 29349317, Consumer Id: 687180, Address Id: 1966302 => Updated with Vin: 1G6KD57Y64U181449 ## Mail History Id: 29348440, Consumer Id: 691225, Address Id: 11797880 => Updated with Vin: 1G6KD57YX6U257046 ## Mail History Id: 29348390, Consumer Id: 683701, Address Id: 1969168 => Updated with Vin: 1G6KD54Y4WU718004 ## Mail History Id: 29349369, Consumer Id: 871366, Address Id: 1960980 => Updated with Vin: 1G6KD57Y67U233697 ## Mail History Id: 29349415, Consumer Id: 690808, Address Id: 1963510 => Updated with Vin: 1G6DW677860197808 ## Mail History Id: 29348364, Consumer Id: 684032, Address Id: 1968857 => Updated with Vin: 1G6KD57Y72U159683 ## Mail History Id: 29349395, Consumer Id: 872551, Address Id: 1962073 => Updated with Vin: 1GYFK63878R108030 ## Mail History Id: 29348316, Consumer Id: 689187, Address Id: 1968320 => Updated with Vin: 1G6DP567850109637 ## Mail History Id: 29349439, Consumer Id: 681313, Address Id: 1964521 => Updated with Vin: 1G6KD54Y42U253220 ## Mail History Id: 29348334, Consumer Id: 684097, Address Id: 1968661 => Updated with Vin: 1G6KD54Y73U250457 ## Mail History Id: 29348430, Consumer Id: 871367, Address Id: 1969817 => Updated with Vin: 1G6KD57Y88U150001 ## Mail History Id: 29348362, Consumer Id: 688718, Address Id: 4786510 => Updated with Vin: 1GKFK66U94J205385 ## Mail History Id: 29349327, Consumer Id: 689176, Address Id: 10934288 => Updated with Vin: 1GYEK63N95R102257 ## Mail History Id: 29348306, Consumer Id: 871369, Address Id: 10934436 => Updated with Vin: 1G6DW677060156878 ## Mail History Id: 29348412, Consumer Id: 625218, Address Id: 11765860 => Updated with Vin: 1GYEE637970177380 ## Mail History Id: 29348398, Consumer Id: 689870, Address Id: 11797421 => Updated with Vin: 1G6KY5498YU216905 ## Mail History Id: 29348288, Consumer Id: 872278, Address Id: 6878932 => Updated with Vin: 5GTEN13EX88166360 ## Mail History Id: 29348418, Consumer Id: 872277, Address Id: 1969503 => Updated with Vin: 1G6KE54Y25U217267 ## Mail History Id: 29349367, Consumer Id: 691941, Address Id: 11798154 => Updated with Vin: 5GTDN13EX78138391 ## Total mail_history records updated with vin numbers: 33 out of 54 ============================================================ ====== Tracking Id: 898 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-07-30 10:21:17') AND us2_order_type_id = 3 ## Order found: 1183 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1183 AND product_id = 142 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3697 ## Mailing found: '12613' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349179, Consumer Id: 1044025, Address Id: 14828440 => Updated with Vin: 1G6DW677260206440 ## Mail History Id: 29349227, Consumer Id: 1044415, Address Id: 11665796 => Updated with Vin: 1G6KD57Y37U191540 ## Mail History Id: 29349151, Consumer Id: 1047700, Address Id: 14952499 => Updated with Vin: 1G6DW677060100780 ## Mail History Id: 29349239, Consumer Id: 1051893, Address Id: 14829831 => Updated with Vin: 3C3HY75S86T315885 ## Mail History Id: 29349225, Consumer Id: 1044088, Address Id: 2776292 => Updated with Vin: 1G6KD54Y12U305354 ## Mail History Id: 29349199, Consumer Id: 1048223, Address Id: 5995054 => Updated with Vin: 1G6KD54Y23U127746 ## Mail History Id: 29349053, Consumer Id: 1045304, Address Id: 14953099 => Updated with Vin: 1G6DM577280119558 ## Mail History Id: 29349191, Consumer Id: 1044953, Address Id: 14952982 => Updated with Vin: 1G6KD54Y94U210267 ## Mail History Id: 29349293, Consumer Id: 1044275, Address Id: 11949125 => Updated with Vin: 1G6DW677970151325 ## Mail History Id: 29349175, Consumer Id: 1051669, Address Id: 14954859 => Updated with Vin: 1G6KD54Y02U208582 ## Mail History Id: 29349267, Consumer Id: 1044333, Address Id: 2849046 => Updated with Vin: 1G6KE54YX4U188504 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 899 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-07-30 10:21:21') AND us2_order_type_id = 3 ## Order found: 1183 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1183 AND product_id = 140 ## Job Group Found: '464' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('464') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408007') AND customer_id = 3697 ## Mailing found: '12603' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 900 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-30 10:43:55') AND us2_order_type_id = 3 ## Order found: 1181 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1181 AND product_id = 140 ## Job Group Found: '453' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('453') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm073108005' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm073108005') AND customer_id = 3230 ## Mailing found: '12555' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29182872, Consumer Id: 65695, Address Id: 47216 => Updated with Vin: 1FMYU93125KD87223 ## Mail History Id: 29182869, Consumer Id: 66399, Address Id: 48206 => Updated with Vin: 1FTSW21P96EC12504 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 901 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-30 11:16:26') AND us2_order_type_id = 3 ## Order found: 1184 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1184 AND product_id = 144 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3705 ## Mailing found: '12614' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349042, Consumer Id: 973148, Address Id: 14835475 => Updated with Vin: 3GKEC16R4WG515097 ## Mail History Id: 29349148, Consumer Id: 965463, Address Id: 14837762 => Updated with Vin: 1G1AK55F267839195 ## Mail History Id: 29349144, Consumer Id: 962203, Address Id: 10455897 => Updated with Vin: 2CNDL63F256167031 ## Mail History Id: 29349052, Consumer Id: 964618, Address Id: 14837118 => Updated with Vin: 6G2VX12G64L230512 ## Mail History Id: 29349094, Consumer Id: 967672, Address Id: 14839431 => Updated with Vin: 1G1AL55FX77250670 ## Mail History Id: 29349166, Consumer Id: 968327, Address Id: 9863626 => Updated with Vin: 3GNFK16377G224052 ## Mail History Id: 29349036, Consumer Id: 968513, Address Id: 14840043 => Updated with Vin: 3GNDA13D27S599867 ## Mail History Id: 29349050, Consumer Id: 969706, Address Id: 14840905 => Updated with Vin: 3GCEC13J97G506049 ## Mail History Id: 29349150, Consumer Id: 971044, Address Id: 14838144 => Updated with Vin: 1GBJC39658E133862 ## Mail History Id: 29349056, Consumer Id: 971533, Address Id: 14842232 => Updated with Vin: 2G4WE587781174637 ## Mail History Id: 29349120, Consumer Id: 971974, Address Id: 9185651 => Updated with Vin: 1GNFC13018R132900 ## Mail History Id: 29349032, Consumer Id: 972733, Address Id: 14841441 => Updated with Vin: 1GCHC24K58E102863 ## Mail History Id: 29349130, Consumer Id: 972737, Address Id: 14843117 => Updated with Vin: 6G2ER57718L144735 ## Mail History Id: 29349038, Consumer Id: 972740, Address Id: 14843118 => Updated with Vin: 2G1WT58K389266126 ## Mail History Id: 29349128, Consumer Id: 972743, Address Id: 14843120 => Updated with Vin: 1FTPX12535FA41493 ## Mail History Id: 29349080, Consumer Id: 972963, Address Id: 14834895 => Updated with Vin: 1B7GL22X3WS743146 ## Mail History Id: 29349140, Consumer Id: 960852, Address Id: 14831560 => Updated with Vin: 2G1FP22GX22153409 ## Mail History Id: 29349132, Consumer Id: 980865, Address Id: 14846809 => Updated with Vin: 5GTDN13E278248626 ## Mail History Id: 29349188, Consumer Id: 966980, Address Id: 14838894 => Updated with Vin: 2G1WC581169403505 ## Mail History Id: 29349114, Consumer Id: 977207, Address Id: 14844880 => Updated with Vin: 2G4WY55J811143166 ## Mail History Id: 29349186, Consumer Id: 980218, Address Id: 14846546 => Updated with Vin: 2GTEC19K9P1556622 ## Mail History Id: 29349088, Consumer Id: 980868, Address Id: 14846811 => Updated with Vin: 1GTGC13U83F131382 ## Mail History Id: 29349024, Consumer Id: 980884, Address Id: 14846822 => Updated with Vin: 2GCEC13Y971526727 ## Total mail_history records updated with vin numbers: 23 out of 42 ============================================================ ====== Tracking Id: 902 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-30 11:16:43') AND us2_order_type_id = 3 ## Order found: 1184 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1184 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3705 ## Mailing found: '12623' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349651, Consumer Id: 980213, Address Id: 14843880 => Updated with Vin: 1GCGK13U05F806549 ## Mail History Id: 29349649, Consumer Id: 969360, Address Id: 14840616 => Updated with Vin: 1G1YY34U555115898 ## Mail History Id: 29349653, Consumer Id: 975684, Address Id: 14843978 => Updated with Vin: 1G4HR54K31U262425 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 903 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-30 11:16:55') AND us2_order_type_id = 3 ## Order found: 1184 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1184 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 904 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-30 11:44:25') AND us2_order_type_id = 3 ## Order found: 1185 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1185 AND product_id = 142 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3357 ## Mailing found: '12609' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349450, Consumer Id: 196256, Address Id: 405566 => Updated with Vin: 4M2EU48887UJ00355 ## Mail History Id: 29349406, Consumer Id: 189469, Address Id: 401549 => Updated with Vin: JM1NB353610208115 ## Mail History Id: 29348985, Consumer Id: 873343, Address Id: 11912830 => Updated with Vin: 4F2YU07B81KM50676 ## Mail History Id: 29348765, Consumer Id: 873360, Address Id: 398701 => Updated with Vin: JM3ER29L670134596 ## Mail History Id: 29348689, Consumer Id: 188952, Address Id: 399303 => Updated with Vin: 1FMFU16L64LB57764 ## Mail History Id: 29348847, Consumer Id: 873363, Address Id: 10981470 => Updated with Vin: JM3LW28A440517268 ## Mail History Id: 29349418, Consumer Id: 190794, Address Id: 400098 => Updated with Vin: JM1BK343241209023 ## Mail History Id: 29348941, Consumer Id: 188944, Address Id: 398742 => Updated with Vin: 1FTSW20P05EA64307 ## Mail History Id: 29348807, Consumer Id: 188999, Address Id: 399311 => Updated with Vin: 1FAFP34N45W191820 ## Mail History Id: 29348955, Consumer Id: 188173, Address Id: 399706 => Updated with Vin: 1FTYR10D05PA66273 ## Mail History Id: 29349432, Consumer Id: 197982, Address Id: 406058 => Updated with Vin: 1FDSE34F82HA15792 ## Mail History Id: 29348699, Consumer Id: 193212, Address Id: 395114 => Updated with Vin: 1FTNX21P03EC75870 ## Mail History Id: 29348707, Consumer Id: 195545, Address Id: 404887 => Updated with Vin: JF1SG63623H733301 ## Mail History Id: 29348745, Consumer Id: 225508, Address Id: 434940 => Updated with Vin: 1FTRE14L73HA27754 ## Mail History Id: 29348869, Consumer Id: 873335, Address Id: 11912825 => Updated with Vin: 1NXBR32E13Z151897 ## Mail History Id: 29348753, Consumer Id: 198479, Address Id: 407540 => Updated with Vin: YV1RS59V442393406 ## Mail History Id: 29348697, Consumer Id: 873338, Address Id: 11912828 => Updated with Vin: 1HGCM82684A016787 ## Mail History Id: 29348835, Consumer Id: 873350, Address Id: 11912834 => Updated with Vin: 1FMPU15L54LB17469 ## Mail History Id: 29348723, Consumer Id: 191281, Address Id: 401703 => Updated with Vin: 1FMZU73E24UC15059 ## Mail History Id: 29348799, Consumer Id: 152119, Address Id: 394474 => Updated with Vin: 1FMYU931X5KD11085 ## Mail History Id: 29348915, Consumer Id: 873353, Address Id: 406975 => Updated with Vin: 1FTRX12W25NA20447 ## Mail History Id: 29348965, Consumer Id: 189279, Address Id: 400931 => Updated with Vin: JM1CR29L560101863 ## Mail History Id: 29348761, Consumer Id: 196322, Address Id: 405943 => Updated with Vin: JM1CR29L860129897 ## Mail History Id: 29348881, Consumer Id: 152606, Address Id: 394925 => Updated with Vin: 1ZVFT80N165164152 ## Mail History Id: 29348885, Consumer Id: 873368, Address Id: 6901716 => Updated with Vin: 1FTWW33P66EC97452 ## Mail History Id: 29348797, Consumer Id: 196824, Address Id: 405564 => Updated with Vin: 1FMCU94146KC72682 ## Mail History Id: 29348811, Consumer Id: 873364, Address Id: 404591 => Updated with Vin: 1FTPW12506KD72639 ## Mail History Id: 29348971, Consumer Id: 873349, Address Id: 406786 => Updated with Vin: JNKCV54E86M706358 ## Mail History Id: 29348931, Consumer Id: 197450, Address Id: 397476 => Updated with Vin: 1FTRF12206NB63219 ## Mail History Id: 29348969, Consumer Id: 153205, Address Id: 395472 => Updated with Vin: 3FAHP07156R232797 ## Mail History Id: 29348789, Consumer Id: 154280, Address Id: 396449 => Updated with Vin: JM3ER29L470133446 ## Mail History Id: 29348755, Consumer Id: 154742, Address Id: 396874 => Updated with Vin: 1YVHP80C475M26952 ## Mail History Id: 29348825, Consumer Id: 197221, Address Id: 400848 => Updated with Vin: 1FTPW14587KC51193 ## Mail History Id: 29348743, Consumer Id: 190405, Address Id: 401336 => Updated with Vin: 1FALP51U2TG238117 ## Mail History Id: 29349416, Consumer Id: 653280, Address Id: 11782435 => Updated with Vin: JM1BK32G081835827 ## Mail History Id: 29349438, Consumer Id: 187793, Address Id: 399037 => Updated with Vin: 1FTRW07L31KF66987 ## Mail History Id: 29348901, Consumer Id: 187456, Address Id: 398366 => Updated with Vin: 1FDSS34S91HB73286 ## Mail History Id: 29348801, Consumer Id: 190389, Address Id: 400431 => Updated with Vin: 1FMRU15W43LA21740 ## Mail History Id: 29348873, Consumer Id: 188426, Address Id: 399186 => Updated with Vin: JM1TA221511714925 ## Mail History Id: 29348995, Consumer Id: 190736, Address Id: 402344 => Updated with Vin: 2FMDA534X3BA53345 ## Mail History Id: 29348893, Consumer Id: 820242, Address Id: 880539 => Updated with Vin: 1FTSW21R98ED06290 ## Mail History Id: 29348733, Consumer Id: 155617, Address Id: 397660 => Updated with Vin: 1FMCU03138KC22596 ## Mail History Id: 29348895, Consumer Id: 155253, Address Id: 397276 => Updated with Vin: 1FTYR14U28PA09538 ## Mail History Id: 29348709, Consumer Id: 155887, Address Id: 397913 => Updated with Vin: 3FAHP06Z58R143161 ## Mail History Id: 29348843, Consumer Id: 871272, Address Id: 11911725 => Updated with Vin: 1FTEX15H6RKB96484 ## Mail History Id: 29348939, Consumer Id: 872110, Address Id: 11912270 => Updated with Vin: 1GTCS19X5W8538815 ## Mail History Id: 29348773, Consumer Id: 155467, Address Id: 397517 => Updated with Vin: JM1CR29L770154033 ## Mail History Id: 29348921, Consumer Id: 188373, Address Id: 400204 => Updated with Vin: 1FTYR14U6WPB07503 ## Mail History Id: 29349414, Consumer Id: 194561, Address Id: 403664 => Updated with Vin: 1FTYR10C4WUC71296 ## Mail History Id: 29349442, Consumer Id: 873352, Address Id: 11912835 => Updated with Vin: 1FTRX17W6XKB78061 ## Mail History Id: 29348897, Consumer Id: 873339, Address Id: 11766928 => Updated with Vin: 2G1WX12K6Y9215385 ## Mail History Id: 29349420, Consumer Id: 873340, Address Id: 11912829 => Updated with Vin: 3N1CB51D3YL317276 ## Total mail_history records updated with vin numbers: 52 out of 69 ============================================================ ====== Tracking Id: 905 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-30 12:15:51') AND us2_order_type_id = 3 ## Order found: 1186 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1186 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3427 ## Mailing found: '12620' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349692, Consumer Id: 471478, Address Id: 7554094 => Updated with Vin: 1HGCM66526A029933 ## Mail History Id: 29349644, Consumer Id: 516768, Address Id: 328503 => Updated with Vin: 1HGCG5653WA261233 ## Mail History Id: 29349690, Consumer Id: 519071, Address Id: 9848744 => Updated with Vin: 5FNRL38735B129599 ## Mail History Id: 29349540, Consumer Id: 502514, Address Id: 7552253 => Updated with Vin: 2HKYF18634H579302 ## Mail History Id: 29349536, Consumer Id: 501890, Address Id: 9829123 => Updated with Vin: 1HGEJ8245VL129201 ## Mail History Id: 29349620, Consumer Id: 502209, Address Id: 327126 => Updated with Vin: 2HKYF18664H520051 ## Mail History Id: 29349533, Consumer Id: 494658, Address Id: 9829684 => Updated with Vin: 1HGCD5666VA138476 ## Mail History Id: 29349524, Consumer Id: 496465, Address Id: 9831004 => Updated with Vin: 1HGCG16572A036185 ## Mail History Id: 29349658, Consumer Id: 503800, Address Id: 329235 => Updated with Vin: 1HGES16305L007979 ## Mail History Id: 29349549, Consumer Id: 493192, Address Id: 9828613 => Updated with Vin: 2HKYF18643H538353 ## Mail History Id: 29349525, Consumer Id: 495511, Address Id: 9830332 => Updated with Vin: 1HGCG32581A015815 ## Mail History Id: 29349543, Consumer Id: 512554, Address Id: 9844907 => Updated with Vin: 1HGFA15856L030549 ## Mail History Id: 29349562, Consumer Id: 491839, Address Id: 9827605 => Updated with Vin: 2HKYF18443H523303 ## Mail History Id: 29349568, Consumer Id: 495311, Address Id: 9830188 => Updated with Vin: 5FNRL18913B145156 ## Mail History Id: 29349522, Consumer Id: 497049, Address Id: 9831438 => Updated with Vin: 1HGEJ8641YL008745 ## Mail History Id: 29349636, Consumer Id: 491636, Address Id: 328144 => Updated with Vin: 1HGCM56613A035981 ## Mail History Id: 29349624, Consumer Id: 497369, Address Id: 9831651 => Updated with Vin: 1HGCM66803A038054 ## Mail History Id: 29349652, Consumer Id: 502243, Address Id: 6821662 => Updated with Vin: 1HGCD565XSA001303 ## Mail History Id: 29349720, Consumer Id: 503031, Address Id: 9838686 => Updated with Vin: JHLRD78894C058159 ## Mail History Id: 29349700, Consumer Id: 500416, Address Id: 9834992 => Updated with Vin: 1HGCG16501A009666 ## Mail History Id: 29349722, Consumer Id: 511850, Address Id: 9844488 => Updated with Vin: 1HGCG56662A111958 ## Mail History Id: 29349564, Consumer Id: 513628, Address Id: 9845522 => Updated with Vin: 1HGCM72325A009562 ## Mail History Id: 29349558, Consumer Id: 515532, Address Id: 9846638 => Updated with Vin: 1HGCM665X4A022144 ## Mail History Id: 29349505, Consumer Id: 472843, Address Id: 9834435 => Updated with Vin: JHLRD68806C013883 ## Mail History Id: 29349630, Consumer Id: 474618, Address Id: 8195162 => Updated with Vin: JHLRE48517C045850 ## Mail History Id: 29349650, Consumer Id: 474619, Address Id: 8195216 => Updated with Vin: JHLRE48537C057515 ## Mail History Id: 29349622, Consumer Id: 482429, Address Id: 327313 => Updated with Vin: 5FNRL18084B125490 ## Total mail_history records updated with vin numbers: 27 out of 32 ============================================================ ====== Tracking Id: 906 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-30 12:16:05') AND us2_order_type_id = 3 ## Order found: 1186 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1186 AND product_id = 113 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3427 ## Mailing found: '12620' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349508, Consumer Id: 517349, Address Id: 9847719 => Updated with Vin: JN1AZ34D63T108802 ## Mail History Id: 29349684, Consumer Id: 498805, Address Id: 9832695 => Updated with Vin: 2HKRL1860XH528244 ## Mail History Id: 29349576, Consumer Id: 500892, Address Id: 9835665 => Updated with Vin: 1HGCD5645RA033139 ## Mail History Id: 29349628, Consumer Id: 495520, Address Id: 327958 => Updated with Vin: 1HGCG564X2A052234 ## Mail History Id: 29349556, Consumer Id: 498173, Address Id: 7552570 => Updated with Vin: 3HGCM56373G712670 ## Mail History Id: 29349664, Consumer Id: 505941, Address Id: 329822 => Updated with Vin: 1HGEM21995L030866 ## Mail History Id: 29349517, Consumer Id: 490605, Address Id: 9826646 => Updated with Vin: 2HKRL1868YH560098 ## Mail History Id: 29349563, Consumer Id: 508512, Address Id: 9842397 => Updated with Vin: SHSRD68535U302351 ## Mail History Id: 29349696, Consumer Id: 492607, Address Id: 9828174 => Updated with Vin: 5FNRL186X3B098540 ## Mail History Id: 29349640, Consumer Id: 501068, Address Id: 328211 => Updated with Vin: JHMAP21404T004405 ## Mail History Id: 29349538, Consumer Id: 501759, Address Id: 9836715 => Updated with Vin: 2HKYF18404H594757 ## Mail History Id: 29349592, Consumer Id: 491887, Address Id: 325159 => Updated with Vin: 1HGCM665X3A044255 ## Mail History Id: 29349532, Consumer Id: 499974, Address Id: 8194498 => Updated with Vin: 1HGCM66574A052847 ## Mail History Id: 29349509, Consumer Id: 492369, Address Id: 9828003 => Updated with Vin: 1HGCD5530VA235700 ## Mail History Id: 29349515, Consumer Id: 496463, Address Id: 9831002 => Updated with Vin: JHMES96653S019666 ## Mail History Id: 29349537, Consumer Id: 471908, Address Id: 9833620 => Updated with Vin: 1HGFA16536L074330 ## Mail History Id: 29349530, Consumer Id: 471982, Address Id: 9833651 => Updated with Vin: 5J6YH18675L013712 ## Total mail_history records updated with vin numbers: 17 out of 17 ============================================================ ====== Tracking Id: 907 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-30 12:16:09') AND us2_order_type_id = 3 ## Order found: 1187 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1187 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3471 ## Mailing found: '12612' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 2 ============================================================ ====== Tracking Id: 908 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-07-30 12:16:18') AND us2_order_type_id = 3 ## Order found: 1187 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1187 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3471 ## Mailing found: '12621' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349667, Consumer Id: 805566, Address Id: 7878988 => Updated with Vin: 1G6EL12Y5YB703943 ## Mail History Id: 29349671, Consumer Id: 817208, Address Id: 10213870 => Updated with Vin: 1GHDT13W1V2714689 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 909 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3755 AND DATE(cart_created_date) = DATE('2008-07-30 18:44:13') AND us2_order_type_id = 3 ## Order found: 1188 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1188 AND product_id = 54 ## Job Group Found: '448' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('448') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda072808001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda072808001a') AND customer_id = 3755 ## Mailing found: '12524' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 910 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-31 08:44:23') AND us2_order_type_id = 3 ## Order found: 1196 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1196 AND product_id = 113 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3230 ## Mailing found: '12617' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349603, Consumer Id: 92905, Address Id: 51331 => Updated with Vin: 1FTRX12W77NA09186 ## Mail History Id: 29349623, Consumer Id: 103788, Address Id: 53843 => Updated with Vin: 1MEFM50U02G630625 ## Mail History Id: 29349619, Consumer Id: 92344, Address Id: 47653 => Updated with Vin: 1FTPX14596FA27404 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 911 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-31 08:44:46') AND us2_order_type_id = 3 ## Order found: 1196 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1196 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3230 ## Mailing found: '12608' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29348698, Consumer Id: 65006, Address Id: 49336 => Updated with Vin: 2FMZA5346YBA63187 ## Mail History Id: 29348664, Consumer Id: 64198, Address Id: 48136 => Updated with Vin: 1FTNX21F72EB29794 ## Mail History Id: 29348618, Consumer Id: 64191, Address Id: 47239 => Updated with Vin: 3FAKP1136YR108868 ## Mail History Id: 29348552, Consumer Id: 93291, Address Id: 51799 => Updated with Vin: 1FTSW21R88EB11619 ## Mail History Id: 29348592, Consumer Id: 93107, Address Id: 48616 => Updated with Vin: 1FAHP24197G134395 ## Mail History Id: 29348670, Consumer Id: 92564, Address Id: 47424 => Updated with Vin: 1FMZK06126GA25477 ## Mail History Id: 29348584, Consumer Id: 460873, Address Id: 47504 => Updated with Vin: 1FMZU73W85ZA18300 ## Mail History Id: 29348271, Consumer Id: 544301, Address Id: 10323226 => Updated with Vin: 1FMZU73W85ZA18300 ## Mail History Id: 29348486, Consumer Id: 460421, Address Id: 9818648 => Updated with Vin: 1FAFP53U6YG183527 ## Mail History Id: 29348502, Consumer Id: 460126, Address Id: 51547 => Updated with Vin: 1FAHP33NX8W224740 ## Mail History Id: 29348590, Consumer Id: 460699, Address Id: 50030 => Updated with Vin: 1FAHP35N58W196424 ## Mail History Id: 29348624, Consumer Id: 66474, Address Id: 47886 => Updated with Vin: 1FTRW07W31KA06784 ## Total mail_history records updated with vin numbers: 12 out of 13 ============================================================ ====== Tracking Id: 912 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-31 09:18:01') AND us2_order_type_id = 3 ## Order found: 1197 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1197 AND product_id = 142 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3768 ## Mailing found: '12616' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349137, Consumer Id: 1109630, Address Id: 14982675 => Updated with Vin: 1G6YX36D865600919 ## Total mail_history records updated with vin numbers: 1 out of 5 ============================================================ ====== Tracking Id: 913 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3920 AND DATE(cart_created_date) = DATE('2008-07-31 09:23:15') AND us2_order_type_id = 3 ## Order found: 1198 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1198 AND product_id = 54 ## Job Group Found: '455' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('455') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 914 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-07-31 10:17:32') AND us2_order_type_id = 3 ## Order found: 1199 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1199 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3416 ## Mailing found: '12610' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349425, Consumer Id: 872275, Address Id: 11912527 => Updated with Vin: 1G6DW677X70175407 ## Mail History Id: 29348418, Consumer Id: 872277, Address Id: 1969503 => Updated with Vin: 1G6KE54Y25U217267 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 915 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-07-31 10:20:35') AND us2_order_type_id = 3 ## Order found: 1200 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1200 AND product_id = 142 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3697 ## Mailing found: '12613' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349211, Consumer Id: 1044978, Address Id: 5995053 => Updated with Vin: 1G6KD54Y34U244060 ## Mail History Id: 29349149, Consumer Id: 1048368, Address Id: 5993164 => Updated with Vin: 1G6KD57986U136878 ## Mail History Id: 29349053, Consumer Id: 1045304, Address Id: 14953099 => Updated with Vin: 1G6DM577280119558 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 916 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-07-31 10:21:13') AND us2_order_type_id = 3 ## Order found: 1197 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1197 AND product_id = 140 ## Job Group Found: '464' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('464') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408007') AND customer_id = 3768 ## Mailing found: '12604' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349749, Consumer Id: 1107871, Address Id: 5990944 => Updated with Vin: 1G6KD54Y32U271594 ## Mail History Id: 29349751, Consumer Id: 1114517, Address Id: 14983549 => Updated with Vin: 1G6KF5494XU771676 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 917 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-07-31 10:23:02') AND us2_order_type_id = 3 ## Order found: 1201 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1201 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3815 ## Mailing found: '12714' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615104, Consumer Id: 1369022, Address Id: 15635620 => Updated with Vin: 5FNRL18013B090063 ## Mail History Id: 29614888, Consumer Id: 1377316, Address Id: 15631811 => Updated with Vin: 1HGCB765XMA013102 ## Mail History Id: 29615146, Consumer Id: 1365784, Address Id: 15637465 => Updated with Vin: 1HGFA15547L100744 ## Mail History Id: 29616232, Consumer Id: 1376706, Address Id: 15670528 => Updated with Vin: SHSRD78403U149969 ## Mail History Id: 29614664, Consumer Id: 1370689, Address Id: 15638339 => Updated with Vin: 1HGEJ1123SL025325 ## Mail History Id: 29614940, Consumer Id: 1372764, Address Id: 15639532 => Updated with Vin: JHMCD5650RC008031 ## Mail History Id: 29614988, Consumer Id: 1366745, Address Id: 9094160 => Updated with Vin: 5FNRL38747B463062 ## Mail History Id: 29614510, Consumer Id: 1360370, Address Id: 15631997 => Updated with Vin: SHSRD78884U241898 ## Mail History Id: 29616206, Consumer Id: 1369699, Address Id: 15636749 => Updated with Vin: JHLRD1848XC027645 ## Mail History Id: 29614712, Consumer Id: 1371790, Address Id: 15668662 => Updated with Vin: 5FNRL38788B051163 ## Mail History Id: 29615052, Consumer Id: 1379147, Address Id: 15632485 => Updated with Vin: 3GNEK13T82G235778 ## Mail History Id: 29614868, Consumer Id: 1372958, Address Id: 2569755 => Updated with Vin: 1HGCG555XYA105551 ## Mail History Id: 29615026, Consumer Id: 1364645, Address Id: 15637631 => Updated with Vin: 1HGCM56633A091730 ## Mail History Id: 29614902, Consumer Id: 1368036, Address Id: 15634672 => Updated with Vin: 1HGCG165X1A081992 ## Mail History Id: 29614582, Consumer Id: 1367619, Address Id: 15634039 => Updated with Vin: 2HKRL18682H523091 ## Mail History Id: 29614960, Consumer Id: 1378706, Address Id: 15634772 => Updated with Vin: 4T1VK12E7PU093838 ## Mail History Id: 29614562, Consumer Id: 1369327, Address Id: 15636145 => Updated with Vin: 2HGES26724H525774 ## Mail History Id: 29614494, Consumer Id: 1366739, Address Id: 15639478 => Updated with Vin: 5FNYF28798B007220 ## Mail History Id: 29615178, Consumer Id: 1360227, Address Id: 15632756 => Updated with Vin: SHSRD78834U226211 ## Mail History Id: 29616156, Consumer Id: 1367200, Address Id: 15632207 => Updated with Vin: 2HJYK16318H525480 ## Mail History Id: 29615154, Consumer Id: 1376080, Address Id: 15670104 => Updated with Vin: 1HGCG56722A085108 ## Mail History Id: 29615296, Consumer Id: 1369951, Address Id: 11308017 => Updated with Vin: 1HGCG55692A132157 ## Mail History Id: 29615088, Consumer Id: 1361544, Address Id: 2413455 => Updated with Vin: 5FNRL387X5B088436 ## Mail History Id: 29614726, Consumer Id: 1375867, Address Id: 15635850 => Updated with Vin: 2HGEJ6672WH624575 ## Mail History Id: 29614588, Consumer Id: 1367027, Address Id: 15632250 => Updated with Vin: 5FNYF28278B012324 ## Mail History Id: 29614606, Consumer Id: 1370460, Address Id: 15637867 => Updated with Vin: 5FNRL18682B018098 ## Mail History Id: 29614514, Consumer Id: 1377762, Address Id: 15635399 => Updated with Vin: SHSRD78886U435124 ## Mail History Id: 29616142, Consumer Id: 1366914, Address Id: 15639685 => Updated with Vin: 1HGFA15538L007490 ## Mail History Id: 29614634, Consumer Id: 1361542, Address Id: 15633712 => Updated with Vin: 5FNRL384X5B083808 ## Mail History Id: 29614860, Consumer Id: 1359317, Address Id: 2568578 => Updated with Vin: 1HGCM56313A145709 ## Mail History Id: 29614684, Consumer Id: 1368035, Address Id: 15634671 => Updated with Vin: 1HGCG56641A138462 ## Mail History Id: 29614816, Consumer Id: 1362763, Address Id: 15634459 => Updated with Vin: 2HJYK16526H539919 ## Mail History Id: 29614632, Consumer Id: 1359679, Address Id: 15632339 => Updated with Vin: 1HGCM56683A054429 ## Mail History Id: 29614760, Consumer Id: 1371766, Address Id: 15634647 => Updated with Vin: 2HJYK16428H530356 ## Mail History Id: 29615144, Consumer Id: 1359678, Address Id: 15632338 => Updated with Vin: 1HGCM66514A029998 ## Mail History Id: 29615194, Consumer Id: 1368031, Address Id: 15633689 => Updated with Vin: 19UUA56863A055254 ## Mail History Id: 29614618, Consumer Id: 1366930, Address Id: 15632470 => Updated with Vin: 5J6YH28605L029403 ## Mail History Id: 29615186, Consumer Id: 1359850, Address Id: 15632467 => Updated with Vin: 5J6YH28584L003492 ## Mail History Id: 29614812, Consumer Id: 1361181, Address Id: 15633448 => Updated with Vin: 5FNRL38735B049168 ## Mail History Id: 29614768, Consumer Id: 1359937, Address Id: 15632531 => Updated with Vin: 1HGCM56334A074790 ## Mail History Id: 29616112, Consumer Id: 1376777, Address Id: 15634345 => Updated with Vin: 1HGEJ8247YL103056 ## Mail History Id: 29616020, Consumer Id: 1360225, Address Id: 15632754 => Updated with Vin: 2HKRL18642H561367 ## Mail History Id: 29615200, Consumer Id: 1360231, Address Id: 15632759 => Updated with Vin: 1HGES16581L072610 ## Mail History Id: 29614918, Consumer Id: 1363053, Address Id: 15635844 => Updated with Vin: JH4CL96865C020151 ## Mail History Id: 29614694, Consumer Id: 1378596, Address Id: 6167449 => Updated with Vin: SHSRD78863U140907 ## Mail History Id: 29614852, Consumer Id: 1367221, Address Id: 15633150 => Updated with Vin: 1HGCP26468A019402 ## Mail History Id: 29615016, Consumer Id: 1379609, Address Id: 15669246 => Updated with Vin: 5FNRL18943B073207 ## Mail History Id: 29616102, Consumer Id: 1364977, Address Id: 15635169 => Updated with Vin: 5TESM92N92Z130551 ## Mail History Id: 29616088, Consumer Id: 1361301, Address Id: 15633524 => Updated with Vin: 1HGEM22541L069841 ## Mail History Id: 29616018, Consumer Id: 1361437, Address Id: 15633632 => Updated with Vin: 1HGCM56465A090380 ## Mail History Id: 29614714, Consumer Id: 1364293, Address Id: 15633644 => Updated with Vin: 1J4GL48K74W248777 ## Mail History Id: 29615014, Consumer Id: 1373312, Address Id: 6160611 => Updated with Vin: 2HGES26864H633324 ## Mail History Id: 29616056, Consumer Id: 1367127, Address Id: 15639896 => Updated with Vin: 5FNRL38657B415514 ## Mail History Id: 29614786, Consumer Id: 1361809, Address Id: 15633899 => Updated with Vin: 1HGCM56844A091996 ## Mail History Id: 29615174, Consumer Id: 1376843, Address Id: 15670451 => Updated with Vin: 5FNRL38705B044655 ## Mail History Id: 29616062, Consumer Id: 1362299, Address Id: 15634456 => Updated with Vin: JHMCN36495C014641 ## Mail History Id: 29614952, Consumer Id: 1378459, Address Id: 15635754 => Updated with Vin: 1HGCB7671NA122406 ## Mail History Id: 29616192, Consumer Id: 1363958, Address Id: 15636995 => Updated with Vin: 5FNRL38266B104217 ## Mail History Id: 29614744, Consumer Id: 1367174, Address Id: 15631829 => Updated with Vin: 5J6RE38327L001033 ## Mail History Id: 29615042, Consumer Id: 1363207, Address Id: 15635951 => Updated with Vin: 5FNRL38796B070706 ## Mail History Id: 29616050, Consumer Id: 1362891, Address Id: 15635740 => Updated with Vin: 5FNRL38686B407826 ## Mail History Id: 29614738, Consumer Id: 1377211, Address Id: 6159648 => Updated with Vin: 2HGFG11816H501968 ## Mail History Id: 29615098, Consumer Id: 1376298, Address Id: 11305518 => Updated with Vin: KNDJD733255358315 ## Mail History Id: 29614688, Consumer Id: 1363036, Address Id: 15635833 => Updated with Vin: 1HGCM56166A085431 ## Mail History Id: 29614570, Consumer Id: 1363243, Address Id: 15635973 => Updated with Vin: 2HKRL18601H558724 ## Mail History Id: 29614718, Consumer Id: 1363519, Address Id: 15636467 => Updated with Vin: 2HGFG21516H707447 ## Mail History Id: 29615258, Consumer Id: 1363706, Address Id: 6164952 => Updated with Vin: 5FNRL388X5B078305 ## Mail History Id: 29614822, Consumer Id: 1361552, Address Id: 15631873 => Updated with Vin: 5FNRL388X5B078305 ## Mail History Id: 29616220, Consumer Id: 1363708, Address Id: 15636581 => Updated with Vin: SHSRD78896U428716 ## Mail History Id: 29614900, Consumer Id: 1377024, Address Id: 15670654 => Updated with Vin: 2HKRL1852XH504275 ## Mail History Id: 29614616, Consumer Id: 1363981, Address Id: 15637011 => Updated with Vin: 5FNYF18756B025673 ## Mail History Id: 29614834, Consumer Id: 1378975, Address Id: 15638056 => Updated with Vin: 1HGFA16576L100220 ## Mail History Id: 29615112, Consumer Id: 1362796, Address Id: 15634578 => Updated with Vin: 2HJYK16496H538953 ## Mail History Id: 29615284, Consumer Id: 1379297, Address Id: 15638386 => Updated with Vin: 1HGCM56187A032294 ## Mail History Id: 29616126, Consumer Id: 1378460, Address Id: 15671383 => Updated with Vin: 1HGCG22571A026041 ## Mail History Id: 29614596, Consumer Id: 1366344, Address Id: 12938369 => Updated with Vin: 1HGCM56497A213205 ## Mail History Id: 29615078, Consumer Id: 1365541, Address Id: 15638581 => Updated with Vin: 1HGFA16587L103872 ## Mail History Id: 29614836, Consumer Id: 1378064, Address Id: 15671156 => Updated with Vin: 19UYA1245VL016742 ## Mail History Id: 29614662, Consumer Id: 1364793, Address Id: 15637731 => Updated with Vin: 5FNRL386X7B011608 ## Mail History Id: 29615290, Consumer Id: 1364976, Address Id: 15638048 => Updated with Vin: 5FNRL38237B027226 ## Mail History Id: 29614774, Consumer Id: 1364972, Address Id: 9400015 => Updated with Vin: 1HGCM66597A046827 ## Mail History Id: 29614978, Consumer Id: 1365047, Address Id: 15638088 => Updated with Vin: 5FNRL18834B114290 ## Mail History Id: 29614926, Consumer Id: 1367542, Address Id: 15640135 => Updated with Vin: 5FNYF28328B021506 ## Mail History Id: 29615226, Consumer Id: 1365063, Address Id: 11306457 => Updated with Vin: JHMGD38697S028955 ## Mail History Id: 29615156, Consumer Id: 1370040, Address Id: 15634133 => Updated with Vin: 1HGCB7664MA169578 ## Mail History Id: 29614576, Consumer Id: 1378525, Address Id: 15639264 => Updated with Vin: 4S6CM58W9X4422197 ## Mail History Id: 29614704, Consumer Id: 1378787, Address Id: 15638770 => Updated with Vin: 2HGFG21537H711226 ## Mail History Id: 29614710, Consumer Id: 1365845, Address Id: 15637102 => Updated with Vin: JHMGD38627S046617 ## Mail History Id: 29614594, Consumer Id: 1366041, Address Id: 15639039 => Updated with Vin: 2HGFG21537H703921 ## Mail History Id: 29615194, Consumer Id: 1365856, Address Id: 15633689 => Updated with Vin: JH4DC54813S000005 ## Mail History Id: 29615244, Consumer Id: 1366044, Address Id: 15639041 => Updated with Vin: 1HGFA155X7L124014 ## Mail History Id: 29614600, Consumer Id: 1366240, Address Id: 15636153 => Updated with Vin: 5J6YH28786L005585 ## Mail History Id: 29616092, Consumer Id: 1366209, Address Id: 15639139 => Updated with Vin: 5FNYF186X7B028769 ## Mail History Id: 29614816, Consumer Id: 1366340, Address Id: 15634459 => Updated with Vin: 1HGCM56827A213808 ## Mail History Id: 29615214, Consumer Id: 1366322, Address Id: 15639215 => Updated with Vin: 2HGFG11857H567747 ## Mail History Id: 29614532, Consumer Id: 1378906, Address Id: 15671643 => Updated with Vin: 2HGFG12896H572835 ## Mail History Id: 29614772, Consumer Id: 1366568, Address Id: 15639492 => Updated with Vin: 1HGCM56877A200391 ## Mail History Id: 29614498, Consumer Id: 1366974, Address Id: 15639715 => Updated with Vin: 1HGFA15898L010193 ## Mail History Id: 29614734, Consumer Id: 1366797, Address Id: 15639620 => Updated with Vin: 5FNRL38797B137869 ## Mail History Id: 29614586, Consumer Id: 1366931, Address Id: 15639696 => Updated with Vin: 2HGFA555X8H702957 ## Mail History Id: 29615004, Consumer Id: 1379290, Address Id: 15671802 => Updated with Vin: 1HGCG1653YA081214 ## Mail History Id: 29615090, Consumer Id: 1366966, Address Id: 9052065 => Updated with Vin: 1N4AL21E67C186269 ## Mail History Id: 29615142, Consumer Id: 1379428, Address Id: 15671880 => Updated with Vin: 1HGCM55407A001858 ## Mail History Id: 29616210, Consumer Id: 1367479, Address Id: 15635189 => Updated with Vin: 1D7HE42NX5S308282 ## Mail History Id: 29616022, Consumer Id: 1367470, Address Id: 15640097 => Updated with Vin: 5FNRL38846B047360 ## Mail History Id: 29615006, Consumer Id: 1367433, Address Id: 15634831 => Updated with Vin: 1HGFA16548L068295 ## Mail History Id: 29614702, Consumer Id: 1367528, Address Id: 6167093 => Updated with Vin: 5J6YH28796L004526 ## Mail History Id: 29616230, Consumer Id: 1379623, Address Id: 15671990 => Updated with Vin: JHMFA36277S026979 ## Mail History Id: 29614622, Consumer Id: 1367441, Address Id: 15640073 => Updated with Vin: 1HGFA15548L057136 ## Mail History Id: 29614550, Consumer Id: 1379647, Address Id: 15672005 => Updated with Vin: JTEBU11F870068509 ## Mail History Id: 29614864, Consumer Id: 1367377, Address Id: 15640040 => Updated with Vin: 5FNRL38875B031281 ## Mail History Id: 29614728, Consumer Id: 1379669, Address Id: 15672017 => Updated with Vin: 2HGFG11847H551457 ## Mail History Id: 29615070, Consumer Id: 1364698, Address Id: 15637666 => Updated with Vin: 1HGCM56137A018304 ## Mail History Id: 29616228, Consumer Id: 1371738, Address Id: 15668634 => Updated with Vin: 2HGFG12668H548204 ## Mail History Id: 29614850, Consumer Id: 1371763, Address Id: 15668648 => Updated with Vin: JHMGD384X8S029922 ## Mail History Id: 29616222, Consumer Id: 1368721, Address Id: 15635421 => Updated with Vin: 1HGEJ824XXL001393 ## Mail History Id: 29614660, Consumer Id: 1367260, Address Id: 15636227 => Updated with Vin: 5J6YH28708L008628 ## Total mail_history records updated with vin numbers: 117 out of 127 ============================================================ ====== Tracking Id: 918 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-07-31 10:43:58') AND us2_order_type_id = 3 ## Order found: 1196 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1196 AND product_id = 140 ## Job Group Found: '464' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('464') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408007') AND customer_id = 3230 ## Mailing found: '12602' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349753, Consumer Id: 1565661, Address Id: 15961953 => Updated with Vin: 1MEFM50U13A600263 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 919 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-31 11:16:33') AND us2_order_type_id = 3 ## Order found: 1202 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1202 AND product_id = 144 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3705 ## Mailing found: '12614' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 920 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-07-31 11:16:47') AND us2_order_type_id = 3 ## Order found: 1202 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1202 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3705 ## Mailing found: '12623' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349647, Consumer Id: 974512, Address Id: 14841575 => Updated with Vin: 1G1ZU64845F111968 ## Mail History Id: 29349641, Consumer Id: 976915, Address Id: 9169274 => Updated with Vin: 2GCEC13T351320546 ## Mail History Id: 29349643, Consumer Id: 973668, Address Id: 14840754 => Updated with Vin: 3GNEC16ZX3G287069 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 921 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-07-31 11:44:21') AND us2_order_type_id = 3 ## Order found: 1203 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1203 AND product_id = 142 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3357 ## Mailing found: '12609' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29348689, Consumer Id: 188952, Address Id: 399303 => Updated with Vin: 1FMFU16L64LB57764 ## Mail History Id: 29348955, Consumer Id: 188173, Address Id: 399706 => Updated with Vin: 1FTYR10D05PA66273 ## Mail History Id: 29348697, Consumer Id: 873338, Address Id: 11912828 => Updated with Vin: 1HGCM82684A016787 ## Mail History Id: 29348901, Consumer Id: 187456, Address Id: 398366 => Updated with Vin: 1FDSS34S91HB73286 ## Mail History Id: 29349442, Consumer Id: 873352, Address Id: 11912835 => Updated with Vin: 1FTRX17W6XKB78061 ## Total mail_history records updated with vin numbers: 5 out of 8 ============================================================ ====== Tracking Id: 922 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-07-31 12:15:59') AND us2_order_type_id = 3 ## Order found: 1204 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1204 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3427 ## Mailing found: '12620' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349590, Consumer Id: 499090, Address Id: 325147 => Updated with Vin: 1HGES16551L018035 ## Mail History Id: 29349680, Consumer Id: 492617, Address Id: 9828183 => Updated with Vin: 2HKRL1856YH546322 ## Mail History Id: 29349610, Consumer Id: 498525, Address Id: 326127 => Updated with Vin: 1HGEM22593L077582 ## Mail History Id: 29349608, Consumer Id: 491838, Address Id: 325988 => Updated with Vin: 1HGCG655XYA004564 ## Mail History Id: 29349531, Consumer Id: 519811, Address Id: 9828540 => Updated with Vin: JHLRE48568C031847 ## Mail History Id: 29349578, Consumer Id: 492674, Address Id: 9828231 => Updated with Vin: 2HKRL18561H586695 ## Mail History Id: 29349511, Consumer Id: 516422, Address Id: 9830585 => Updated with Vin: 1HGCM56866A141638 ## Mail History Id: 29349519, Consumer Id: 510136, Address Id: 9826809 => Updated with Vin: 2HGEJ6671WH552672 ## Mail History Id: 29349654, Consumer Id: 495022, Address Id: 328889 => Updated with Vin: 1HGCM66543A046440 ## Mail History Id: 29349686, Consumer Id: 494513, Address Id: 9829576 => Updated with Vin: 1HGCG165XYA027053 ## Mail History Id: 29349708, Consumer Id: 510937, Address Id: 9828941 => Updated with Vin: 2HNYD18935H511294 ## Mail History Id: 29349662, Consumer Id: 503021, Address Id: 329721 => Updated with Vin: 1HGCF86642A144798 ## Mail History Id: 29349521, Consumer Id: 498705, Address Id: 9832616 => Updated with Vin: 1HGCM56674A036926 ## Mail History Id: 29349688, Consumer Id: 512594, Address Id: 9844927 => Updated with Vin: 5FNYF18516B006018 ## Mail History Id: 29349570, Consumer Id: 511585, Address Id: 9844322 => Updated with Vin: 1HGCM56364A172910 ## Mail History Id: 29349582, Consumer Id: 506106, Address Id: 9840841 => Updated with Vin: JHMCN36495C003302 ## Mail History Id: 29349560, Consumer Id: 501267, Address Id: 7552625 => Updated with Vin: 5FNYF18584B000925 ## Mail History Id: 29349656, Consumer Id: 483501, Address Id: 9838160 => Updated with Vin: 1HGCP26818A047935 ## Total mail_history records updated with vin numbers: 18 out of 18 ============================================================ ====== Tracking Id: 923 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-01 08:45:14') AND us2_order_type_id = 3 ## Order found: 1212 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1212 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3230 ## Mailing found: '12608' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29348520, Consumer Id: 93365, Address Id: 51846 => Updated with Vin: 1FMFK20527LA90056 ## Mail History Id: 29348522, Consumer Id: 64518, Address Id: 49249 => Updated with Vin: 1FTWX31515EC66574 ## Mail History Id: 29348524, Consumer Id: 93165, Address Id: 51589 => Updated with Vin: 1FTWW31R28EB14457 ## Mail History Id: 29348399, Consumer Id: 103013, Address Id: 53496 => Updated with Vin: 2FMZA5143YBC92946 ## Mail History Id: 29348570, Consumer Id: 102924, Address Id: 52477 => Updated with Vin: 4M2YU57146KJ04128 ## Mail History Id: 29348564, Consumer Id: 63218, Address Id: 48336 => Updated with Vin: 1FTZX18W9WNB74517 ## Mail History Id: 29348636, Consumer Id: 91901, Address Id: 48748 => Updated with Vin: 1FMPU18L3XLA26619 ## Mail History Id: 29348628, Consumer Id: 103579, Address Id: 53734 => Updated with Vin: 1FAFP55U11G102808 ## Mail History Id: 29348462, Consumer Id: 92562, Address Id: 50930 => Updated with Vin: 1FMEU73E56UA18033 ## Mail History Id: 29348576, Consumer Id: 65386, Address Id: 48055 => Updated with Vin: 2FMZA53402BB22306 ## Mail History Id: 29348664, Consumer Id: 64414, Address Id: 48136 => Updated with Vin: 1FMYU041X2KB67205 ## Mail History Id: 29348676, Consumer Id: 93304, Address Id: 51807 => Updated with Vin: 1FTSX215X7EB30939 ## Mail History Id: 29348580, Consumer Id: 65865, Address Id: 48132 => Updated with Vin: 1FMZU34X9WUB58449 ## Mail History Id: 29348674, Consumer Id: 92431, Address Id: 50680 => Updated with Vin: 1ZVFT82H865165158 ## Mail History Id: 29348556, Consumer Id: 92603, Address Id: 49524 => Updated with Vin: 1FAFP34N87W183609 ## Mail History Id: 29348548, Consumer Id: 67207, Address Id: 47277 => Updated with Vin: 1FTZR45E33PB61768 ## Mail History Id: 29348586, Consumer Id: 38586, Address Id: 49357 => Updated with Vin: 1FAHP25W28G113397 ## Mail History Id: 29348594, Consumer Id: 65167, Address Id: 47933 => Updated with Vin: 1FAFP34P02W342942 ## Mail History Id: 29348578, Consumer Id: 103642, Address Id: 53769 => Updated with Vin: 2MELM74W0VX669563 ## Mail History Id: 29348558, Consumer Id: 65036, Address Id: 49716 => Updated with Vin: 1FMZU73K05UB79895 ## Mail History Id: 29348694, Consumer Id: 92560, Address Id: 49090 => Updated with Vin: 1FMYU59H67KA69881 ## Mail History Id: 29348668, Consumer Id: 63957, Address Id: 49469 => Updated with Vin: 1FMYU04162KA26051 ## Total mail_history records updated with vin numbers: 22 out of 36 ============================================================ ====== Tracking Id: 924 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-01 09:18:16') AND us2_order_type_id = 3 ## Order found: 1213 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1213 AND product_id = 142 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3768 ## Mailing found: '12616' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349127, Consumer Id: 1109228, Address Id: 14982494 => Updated with Vin: 1G6KD57Y37U109693 ## Mail History Id: 29349051, Consumer Id: 1108470, Address Id: 5985034 => Updated with Vin: 1G6KD54Y41U108144 ## Total mail_history records updated with vin numbers: 2 out of 5 ============================================================ ====== Tracking Id: 925 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3932 AND DATE(cart_created_date) = DATE('2008-08-01 09:21:53') AND us2_order_type_id = 3 ## Order found: 1214 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1214 AND product_id = 54 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 926 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3755 AND DATE(cart_created_date) = DATE('2008-08-01 09:46:52') AND us2_order_type_id = 3 ## Order found: 1215 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1215 AND product_id = 54 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 927 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-01 10:18:35') AND us2_order_type_id = 3 ## Order found: 1216 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1216 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3416 ## Mailing found: '12610' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29348820, Consumer Id: 625140, Address Id: 11049826 => Updated with Vin: 5GTDN13E878143833 ## Mail History Id: 29349413, Consumer Id: 625156, Address Id: 3760646 => Updated with Vin: 1G6KF57994U164406 ## Mail History Id: 29348392, Consumer Id: 693151, Address Id: 4791386 => Updated with Vin: 1GKDT13SX72237724 ## Mail History Id: 29349355, Consumer Id: 693128, Address Id: 11798693 => Updated with Vin: 1G6DW677260131965 ## Mail History Id: 29348354, Consumer Id: 625879, Address Id: 11766172 => Updated with Vin: 1G6DD67V080131437 ## Mail History Id: 29348402, Consumer Id: 693318, Address Id: 11795602 => Updated with Vin: 1G2ZG57N884111535 ## Mail History Id: 29348304, Consumer Id: 626013, Address Id: 1967832 => Updated with Vin: 1GYEK63N45R151981 ## Mail History Id: 29349389, Consumer Id: 872550, Address Id: 11912530 => Updated with Vin: 1FAFP34N57W158862 ## Mail History Id: 29349333, Consumer Id: 871370, Address Id: 11911895 => Updated with Vin: 1G6DT57V480201048 ## Mail History Id: 29348326, Consumer Id: 872553, Address Id: 11912531 => Updated with Vin: 1G6KD54Y31U281816 ## Mail History Id: 29349427, Consumer Id: 693216, Address Id: 11798729 => Updated with Vin: 3GCEK14Z46G240607 ## Mail History Id: 29348352, Consumer Id: 692023, Address Id: 11795661 => Updated with Vin: 1G6KD57Y96U103492 ## Mail History Id: 29349014, Consumer Id: 684199, Address Id: 11795599 => Updated with Vin: 1G6KD57Y5YU282276 ## Mail History Id: 29349321, Consumer Id: 688857, Address Id: 1966702 => Updated with Vin: 1G6KF54991U156662 ## Mail History Id: 29348436, Consumer Id: 691391, Address Id: 1969925 => Updated with Vin: 1GYFK63887R168719 ## Mail History Id: 29349405, Consumer Id: 689844, Address Id: 1963030 => Updated with Vin: 1G6KD57Y16U105270 ## Mail History Id: 29348358, Consumer Id: 682964, Address Id: 1968794 => Updated with Vin: 1G6KD54Y21U223602 ## Mail History Id: 29348438, Consumer Id: 692027, Address Id: 1969937 => Updated with Vin: 1GYFK66887R208132 ## Mail History Id: 29348336, Consumer Id: 689181, Address Id: 11795212 => Updated with Vin: 1GCHK23205F884127 ## Mail History Id: 29349419, Consumer Id: 682825, Address Id: 1963627 => Updated with Vin: 1G6KD54Y51U100425 ## Mail History Id: 29348320, Consumer Id: 691653, Address Id: 1968340 => Updated with Vin: 1G6DP577970122382 ## Mail History Id: 29348318, Consumer Id: 688247, Address Id: 1968331 => Updated with Vin: 1G6KD54Y83U145913 ## Mail History Id: 29348308, Consumer Id: 625316, Address Id: 11765907 => Updated with Vin: 5GTDN13E578230024 ## Mail History Id: 29348432, Consumer Id: 675293, Address Id: 11791213 => Updated with Vin: 1G6DW677160163418 ## Mail History Id: 29348344, Consumer Id: 625631, Address Id: 10934690 => Updated with Vin: 5GTEN13E188136714 ## Mail History Id: 29348306, Consumer Id: 871369, Address Id: 10934436 => Updated with Vin: 1G6DW677060156878 ## Mail History Id: 29348328, Consumer Id: 872552, Address Id: 11797620 => Updated with Vin: 1FTYR10C7YPB44141 ## Mail History Id: 29349443, Consumer Id: 690376, Address Id: 4772809 => Updated with Vin: 1G6DW677160168201 ## Mail History Id: 29348314, Consumer Id: 625941, Address Id: 11766203 => Updated with Vin: 5GTEN13E588161275 ## Mail History Id: 29348366, Consumer Id: 691088, Address Id: 11795306 => Updated with Vin: 5GTDN136168303591 ## Mail History Id: 29348292, Consumer Id: 691833, Address Id: 11798123 => Updated with Vin: 5GTDN13E078126220 ## Mail History Id: 29348688, Consumer Id: 691918, Address Id: 11798146 => Updated with Vin: 5GTDN13E378122419 ## Mail History Id: 29349012, Consumer Id: 692136, Address Id: 11798227 => Updated with Vin: 5GTDN13E578156247 ## Mail History Id: 29348814, Consumer Id: 679108, Address Id: 6608488 => Updated with Vin: 1G6KD57Y67U154417 ## Total mail_history records updated with vin numbers: 34 out of 53 ============================================================ ====== Tracking Id: 928 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3164 AND DATE(cart_created_date) = DATE('2008-08-01 10:22:34') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 929 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-01 10:22:56') AND us2_order_type_id = 3 ## Order found: 1218 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1218 AND product_id = 142 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3697 ## Mailing found: '12613' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349053, Consumer Id: 1045304, Address Id: 14953099 => Updated with Vin: 1G6DM577280119558 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 930 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-01 10:25:21') AND us2_order_type_id = 3 ## Order found: 1219 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1219 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3815 ## Mailing found: '12714' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29614888, Consumer Id: 1359059, Address Id: 15631811 => Updated with Vin: JHLRD1763WC055385 ## Mail History Id: 29614988, Consumer Id: 1367460, Address Id: 9094160 => Updated with Vin: JHLRD78402C015047 ## Mail History Id: 29615052, Consumer Id: 1379248, Address Id: 15632485 => Updated with Vin: 1N4BA41E05C843148 ## Mail History Id: 29614582, Consumer Id: 1376426, Address Id: 15634039 => Updated with Vin: 2HNYD18291H519431 ## Mail History Id: 29615136, Consumer Id: 1363702, Address Id: 15633450 => Updated with Vin: 1HGCM56366A127467 ## Mail History Id: 29614960, Consumer Id: 1368175, Address Id: 15634772 => Updated with Vin: 2HKRL18682H522278 ## Mail History Id: 29614494, Consumer Id: 1366739, Address Id: 15639478 => Updated with Vin: 5FNYF28798B007220 ## Mail History Id: 29614588, Consumer Id: 1367027, Address Id: 15632250 => Updated with Vin: 5FNYF28278B012324 ## Mail History Id: 29614816, Consumer Id: 1369953, Address Id: 15634459 => Updated with Vin: 1N6SD11S9NC377156 ## Mail History Id: 29614768, Consumer Id: 1359937, Address Id: 15632531 => Updated with Vin: 1HGCM56334A074790 ## Mail History Id: 29616112, Consumer Id: 1365446, Address Id: 15634345 => Updated with Vin: 3D7KR26C16G100789 ## Mail History Id: 29616088, Consumer Id: 1361288, Address Id: 15633524 => Updated with Vin: JHLRD78882C027093 ## Mail History Id: 29614952, Consumer Id: 1376889, Address Id: 15635754 => Updated with Vin: 4T1BG22K1XU872541 ## Mail History Id: 29614744, Consumer Id: 1379494, Address Id: 15631829 => Updated with Vin: JHMAP11473T001753 ## Mail History Id: 29614900, Consumer Id: 1377024, Address Id: 15670654 => Updated with Vin: 2HKRL1852XH504275 ## Mail History Id: 29614540, Consumer Id: 1379723, Address Id: 15637729 => Updated with Vin: 4C3AU52N9WE084140 ## Mail History Id: 29615022, Consumer Id: 1364527, Address Id: 15637565 => Updated with Vin: 2HKYF18423H519007 ## Mail History Id: 29614482, Consumer Id: 1377553, Address Id: 15670895 => Updated with Vin: 1HGFA16576L023445 ## Mail History Id: 29614932, Consumer Id: 1377791, Address Id: 15671031 => Updated with Vin: 2HGES15594H507976 ## Mail History Id: 29614926, Consumer Id: 1367549, Address Id: 15640135 => Updated with Vin: 2HGFA16548H318972 ## Mail History Id: 29615010, Consumer Id: 1365436, Address Id: 15636626 => Updated with Vin: 2HGFA55517H706846 ## Mail History Id: 29615156, Consumer Id: 1370032, Address Id: 15634133 => Updated with Vin: JHMCB7666LC099470 ## Mail History Id: 29614704, Consumer Id: 1378787, Address Id: 15638770 => Updated with Vin: 2HGFG21537H711226 ## Mail History Id: 29616122, Consumer Id: 1378564, Address Id: 15671466 => Updated with Vin: 5FNRL38686B076567 ## Mail History Id: 29614938, Consumer Id: 1359856, Address Id: 15632472 => Updated with Vin: 5FNRL18514B071493 ## Mail History Id: 29614668, Consumer Id: 1379424, Address Id: 15671877 => Updated with Vin: 4T1BE32K62U023283 ## Mail History Id: 29614702, Consumer Id: 1367528, Address Id: 6167093 => Updated with Vin: 5J6YH28796L004526 ## Mail History Id: 29614850, Consumer Id: 1371764, Address Id: 15668648 => Updated with Vin: 1HGFA16598L052965 ## Mail History Id: 29614660, Consumer Id: 1367260, Address Id: 15636227 => Updated with Vin: 5J6YH28708L008628 ## Total mail_history records updated with vin numbers: 29 out of 31 ============================================================ ====== Tracking Id: 931 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-01 10:44:01') AND us2_order_type_id = 3 ## Order found: 1212 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1212 AND product_id = 140 ## Job Group Found: '464' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('464') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408007') AND customer_id = 3230 ## Mailing found: '12602' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 932 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-01 11:14:30') AND us2_order_type_id = 3 ## Order found: 1220 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1220 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3486 ## Mailing found: '12622' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349577, Consumer Id: 476667, Address Id: 4377955 => Updated with Vin: 1GNEC16Z04J250242 ## Mail History Id: 29349571, Consumer Id: 469178, Address Id: 7540122 => Updated with Vin: 1GNEK13Z54R125102 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 933 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-01 11:17:07') AND us2_order_type_id = 3 ## Order found: 1221 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1221 AND product_id = 144 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3705 ## Mailing found: '12614' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349160, Consumer Id: 973487, Address Id: 14839225 => Updated with Vin: 3GNEC16Z23G281587 ## Mail History Id: 29349070, Consumer Id: 965799, Address Id: 14838001 => Updated with Vin: 3G5DA03L66S610420 ## Mail History Id: 29349122, Consumer Id: 966751, Address Id: 9253689 => Updated with Vin: 3GCEC14X47G204753 ## Mail History Id: 29349102, Consumer Id: 968919, Address Id: 14840309 => Updated with Vin: 1G2ZH558964193928 ## Mail History Id: 29349100, Consumer Id: 972724, Address Id: 14843110 => Updated with Vin: 3GNFC16028G112196 ## Mail History Id: 29349112, Consumer Id: 960262, Address Id: 14831393 => Updated with Vin: 2G1WF55E939180219 ## Mail History Id: 29349156, Consumer Id: 980184, Address Id: 14837774 => Updated with Vin: 1GCHK23205F924108 ## Mail History Id: 29349124, Consumer Id: 980924, Address Id: 14846845 => Updated with Vin: 1G1YY12G2Y5117162 ## Mail History Id: 29349180, Consumer Id: 980876, Address Id: 14846817 => Updated with Vin: 2G1WU581X69359937 ## Mail History Id: 29349152, Consumer Id: 980861, Address Id: 14846806 => Updated with Vin: 1G6KD54Y5YU219876 ## Total mail_history records updated with vin numbers: 10 out of 22 ============================================================ ====== Tracking Id: 934 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-01 11:17:20') AND us2_order_type_id = 3 ## Order found: 1221 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1221 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3705 ## Mailing found: '12623' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 935 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-01 11:44:25') AND us2_order_type_id = 3 ## Order found: 1222 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1222 AND product_id = 142 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3357 ## Mailing found: '12609' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349408, Consumer Id: 874376, Address Id: 11913622 => Updated with Vin: 4F4CR16A4TTM43111 ## Mail History Id: 29349001, Consumer Id: 874383, Address Id: 10555712 => Updated with Vin: JM1BK324X81102738 ## Mail History Id: 29349424, Consumer Id: 188162, Address Id: 398099 => Updated with Vin: 1FAFP40401F173750 ## Mail History Id: 29348805, Consumer Id: 874384, Address Id: 11913625 => Updated with Vin: 1FDWE35S11HA54607 ## Mail History Id: 29349404, Consumer Id: 195981, Address Id: 405481 => Updated with Vin: 1FMYU031X2KC61490 ## Mail History Id: 29349446, Consumer Id: 191378, Address Id: 402073 => Updated with Vin: 1HGEM22572L065994 ## Mail History Id: 29348867, Consumer Id: 874379, Address Id: 11767364 => Updated with Vin: 1LNHM81W14Y647390 ## Mail History Id: 29348769, Consumer Id: 194593, Address Id: 401151 => Updated with Vin: JM1CR29L860112517 ## Mail History Id: 29348967, Consumer Id: 874380, Address Id: 11913624 => Updated with Vin: 1FTPX04526KA90734 ## Mail History Id: 29348959, Consumer Id: 152247, Address Id: 394589 => Updated with Vin: 1FTVX14596NA42563 ## Mail History Id: 29348973, Consumer Id: 154956, Address Id: 397054 => Updated with Vin: JM1CR29L070158425 ## Mail History Id: 29348963, Consumer Id: 154911, Address Id: 397020 => Updated with Vin: JM1BK344X71689194 ## Mail History Id: 29349430, Consumer Id: 154628, Address Id: 396769 => Updated with Vin: 1ZVHT82H975296741 ## Mail History Id: 29348945, Consumer Id: 198250, Address Id: 407678 => Updated with Vin: 1FTSW21P87EA71023 ## Mail History Id: 29348687, Consumer Id: 198308, Address Id: 405879 => Updated with Vin: 4M2CU81147KJ16740 ## Mail History Id: 29348875, Consumer Id: 874385, Address Id: 11913626 => Updated with Vin: 1FTRF12227NA69120 ## Mail History Id: 29348783, Consumer Id: 191251, Address Id: 401373 => Updated with Vin: 1FTPX12524NB60964 ## Mail History Id: 29348737, Consumer Id: 190860, Address Id: 400469 => Updated with Vin: 2FTDF15Y2RCA73302 ## Mail History Id: 29348815, Consumer Id: 874378, Address Id: 2359566 => Updated with Vin: 4M2DV11W3SDJ35569 ## Mail History Id: 29349398, Consumer Id: 874377, Address Id: 11913623 => Updated with Vin: 1FMDA41X2SZA77626 ## Mail History Id: 29348909, Consumer Id: 194737, Address Id: 404166 => Updated with Vin: JM3LW28G0Y0161363 ## Mail History Id: 29349436, Consumer Id: 188990, Address Id: 399308 => Updated with Vin: 1FMRU1566YLB66527 ## Mail History Id: 29348983, Consumer Id: 196248, Address Id: 405709 => Updated with Vin: 1FMZU62X4YUB49083 ## Total mail_history records updated with vin numbers: 23 out of 31 ============================================================ ====== Tracking Id: 936 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-01 11:44:28') AND us2_order_type_id = 3 ## Order found: 1222 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1222 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3357 ## Mailing found: '12618' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 937 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 11:45:52') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 938 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 11:50:12') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 939 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 11:52:25') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 940 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 11:53:41') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 941 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 11:54:08') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 942 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 11:54:26') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 943 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 11:54:58') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 944 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 11:55:12') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 945 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 11:55:31') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 946 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 11:59:03') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 947 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 11:59:28') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 948 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 11:59:36') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 949 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 11:59:45') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 950 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 12:00:05') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 951 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 12:02:48') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 952 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 12:03:43') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 953 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 12:04:58') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 954 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 12:07:14') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 955 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 12:09:19') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 956 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-01 12:16:40') AND us2_order_type_id = 3 ## Order found: 1228 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1228 AND product_id = 113 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3427 ## Mailing found: '12620' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349614, Consumer Id: 506554, Address Id: 326945 => Updated with Vin: 2HKYF181X5H546402 ## Mail History Id: 29349626, Consumer Id: 511242, Address Id: 327857 => Updated with Vin: 1HGCM66866A012496 ## Mail History Id: 29349555, Consumer Id: 501527, Address Id: 9836591 => Updated with Vin: 5FNYF185X4B002594 ## Mail History Id: 29349559, Consumer Id: 493414, Address Id: 9828779 => Updated with Vin: 2HGEJ6677WH505047 ## Mail History Id: 29349552, Consumer Id: 494320, Address Id: 7552504 => Updated with Vin: 1HGES16251L065488 ## Mail History Id: 29349660, Consumer Id: 498784, Address Id: 329321 => Updated with Vin: 1HGEJ8644YL024695 ## Mail History Id: 29349634, Consumer Id: 497249, Address Id: 328081 => Updated with Vin: JHMEJ6627VS029360 ## Mail History Id: 29349713, Consumer Id: 512853, Address Id: 9845087 => Updated with Vin: 2HKYF18545H540338 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 957 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-01 12:16:52') AND us2_order_type_id = 3 ## Order found: 1228 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1228 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3427 ## Mailing found: '12620' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349550, Consumer Id: 508954, Address Id: 7552482 => Updated with Vin: 1HGCM663X5A070890 ## Mail History Id: 29349539, Consumer Id: 506652, Address Id: 9841192 => Updated with Vin: 5FNRL18084B066781 ## Mail History Id: 29349638, Consumer Id: 505441, Address Id: 328158 => Updated with Vin: JHMCN36465C000972 ## Mail History Id: 29349668, Consumer Id: 507034, Address Id: 9841434 => Updated with Vin: 2HJYK16546H509630 ## Mail History Id: 29349542, Consumer Id: 494511, Address Id: 9829574 => Updated with Vin: 2HGEJ8641WH570879 ## Mail History Id: 29349534, Consumer Id: 515381, Address Id: 9832054 => Updated with Vin: 1HGFA16526L081155 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 958 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-01 12:17:05') AND us2_order_type_id = 3 ## Order found: 1229 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1229 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3471 ## Mailing found: '12612' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349322, Consumer Id: 823180, Address Id: 10217743 => Updated with Vin: 1G6KD54Y65U175835 ## Mail History Id: 29349342, Consumer Id: 800983, Address Id: 10218670 => Updated with Vin: 1G6KD54Y8VU255900 ## Mail History Id: 29349292, Consumer Id: 822508, Address Id: 10216730 => Updated with Vin: 1G6KF57962U128265 ## Mail History Id: 29349270, Consumer Id: 816805, Address Id: 10214832 => Updated with Vin: 1G6KE57Y81U148557 ## Mail History Id: 29349256, Consumer Id: 800924, Address Id: 10214673 => Updated with Vin: 1G6KY5292PU810021 ## Mail History Id: 29349348, Consumer Id: 823458, Address Id: 10219011 => Updated with Vin: 2G1WH55K929113635 ## Mail History Id: 29349230, Consumer Id: 807189, Address Id: 7878935 => Updated with Vin: 1G6KD54Y25U121495 ## Mail History Id: 29349236, Consumer Id: 822442, Address Id: 7415713 => Updated with Vin: 1GYFK63867R152129 ## Mail History Id: 29349264, Consumer Id: 798182, Address Id: 10214698 => Updated with Vin: 1G6KF5292TU252798 ## Mail History Id: 29349308, Consumer Id: 798525, Address Id: 11869889 => Updated with Vin: 1G6KD54Y43U154916 ## Mail History Id: 29349356, Consumer Id: 799804, Address Id: 10220836 => Updated with Vin: 1G6ET12941B106314 ## Mail History Id: 29349204, Consumer Id: 806772, Address Id: 7878275 => Updated with Vin: 1G6KS54Y34U171794 ## Mail History Id: 29349242, Consumer Id: 822708, Address Id: 10213853 => Updated with Vin: 1G6CD5155J4294176 ## Mail History Id: 29349372, Consumer Id: 798187, Address Id: 11869749 => Updated with Vin: 1G6DM57N630115777 ## Mail History Id: 29349386, Consumer Id: 802633, Address Id: 11871995 => Updated with Vin: 1G6KE57Y81U166623 ## Mail History Id: 29349206, Consumer Id: 805583, Address Id: 10213241 => Updated with Vin: 1G6EL12Y2VU619451 ## Mail History Id: 29349370, Consumer Id: 816759, Address Id: 11869900 => Updated with Vin: 1G6KD54YX3U216481 ## Mail History Id: 29349346, Consumer Id: 806332, Address Id: 11873812 => Updated with Vin: 1GYEK63N34R236423 ## Mail History Id: 29349368, Consumer Id: 816352, Address Id: 11876701 => Updated with Vin: 3GYEK62N84G254689 ## Mail History Id: 29349228, Consumer Id: 816550, Address Id: 11877406 => Updated with Vin: 1G3NL52E02C189916 ## Mail History Id: 29349380, Consumer Id: 772830, Address Id: 11873916 => Updated with Vin: 1GYEE63A470179727 ## Mail History Id: 29349284, Consumer Id: 817201, Address Id: 10216109 => Updated with Vin: 1GYEK63N54R277992 ## Mail History Id: 29349376, Consumer Id: 823052, Address Id: 11876724 => Updated with Vin: 1GYEK63R8YR199944 ## Mail History Id: 29349214, Consumer Id: 818583, Address Id: 7878677 => Updated with Vin: 1GYEE63A550194511 ## Mail History Id: 29349296, Consumer Id: 819890, Address Id: 10562293 => Updated with Vin: 1GYEK63N96R159902 ## Mail History Id: 29349218, Consumer Id: 772984, Address Id: 11874211 => Updated with Vin: 1GYFK66837R431033 ## Mail History Id: 29349314, Consumer Id: 821872, Address Id: 10217318 => Updated with Vin: 1G6KY5495YU217316 ## Mail History Id: 29349316, Consumer Id: 818382, Address Id: 11878027 => Updated with Vin: 1GKDT13S152281429 ## Mail History Id: 29349326, Consumer Id: 797989, Address Id: 10217939 => Updated with Vin: 3GYEK63NX2G327623 ## Mail History Id: 29349340, Consumer Id: 822768, Address Id: 10218642 => Updated with Vin: 1G6KS53B4NU840704 ## Mail History Id: 29349200, Consumer Id: 822940, Address Id: 7878141 => Updated with Vin: 1GYEE637240162358 ## Mail History Id: 29349350, Consumer Id: 806899, Address Id: 11876432 => Updated with Vin: 3GYFK62897G129896 ## Mail History Id: 29349280, Consumer Id: 823427, Address Id: 10215761 => Updated with Vin: 1GYFK63867R299518 ## Mail History Id: 29349290, Consumer Id: 806994, Address Id: 10216245 => Updated with Vin: 1G6DS57V080174661 ## Mail History Id: 29349286, Consumer Id: 806965, Address Id: 10216150 => Updated with Vin: 1G6KD57Y38U112806 ## Mail History Id: 29349274, Consumer Id: 807097, Address Id: 10561488 => Updated with Vin: 1G6DC67AX50214126 ## Total mail_history records updated with vin numbers: 36 out of 60 ============================================================ ====== Tracking Id: 959 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-01 12:17:10') AND us2_order_type_id = 3 ## Order found: 1229 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1229 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3471 ## Mailing found: '12621' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349685, Consumer Id: 807211, Address Id: 10216022 => Updated with Vin: 1G6KY54901U191827 ## Mail History Id: 29349701, Consumer Id: 817178, Address Id: 11869902 => Updated with Vin: 1G6KY54962U266600 ## Mail History Id: 29349693, Consumer Id: 816776, Address Id: 10218619 => Updated with Vin: 1GYEK63N02R283261 ## Mail History Id: 29349665, Consumer Id: 802105, Address Id: 7878767 => Updated with Vin: 1G6DM577X40108527 ## Mail History Id: 29349673, Consumer Id: 798522, Address Id: 6529479 => Updated with Vin: 3GYFK66N63G223860 ## Mail History Id: 29349699, Consumer Id: 806770, Address Id: 11874001 => Updated with Vin: 3GYFK66N54G183613 ## Mail History Id: 29349697, Consumer Id: 817669, Address Id: 10219312 => Updated with Vin: 1GYEK63N64R290735 ## Mail History Id: 29349703, Consumer Id: 801639, Address Id: 11871591 => Updated with Vin: 1GHDT13W812192718 ## Total mail_history records updated with vin numbers: 8 out of 9 ============================================================ ====== Tracking Id: 960 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 12:18:19') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 961 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 12:21:47') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 962 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 12:23:52') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 963 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 12:24:30') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 964 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 12:44:18') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 965 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3504 AND DATE(cart_created_date) = DATE('2008-08-01 13:01:25') AND us2_order_type_id = 3 ## Order found: 1235 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1235 AND product_id = 54 ## Job Group Found: '457' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('457') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080108004') AND customer_id = 3504 ## Mailing found: '12580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 966 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3932 AND DATE(cart_created_date) = DATE('2008-08-01 15:33:38') AND us2_order_type_id = 3 ## Order found: 1214 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1214 AND product_id = 54 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 967 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3755 AND DATE(cart_created_date) = DATE('2008-08-01 17:28:04') AND us2_order_type_id = 3 ## Order found: 1215 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1215 AND product_id = 54 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 968 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-02 08:07:20') AND us2_order_type_id = 3 ## Order found: 1247 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1247 AND product_id = 55 ## Job Group Found: '459' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('459') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408002') AND customer_id = 3230 ## Mailing found: '12598' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349459, Consumer Id: 1569107, Address Id: 8336472 => Updated with Vin: 1FMSU45P73ED13477 ## Mail History Id: 29349461, Consumer Id: 1570198, Address Id: 16041756 => Updated with Vin: 1FTPX14556FB09646 ## Mail History Id: 29349463, Consumer Id: 1570197, Address Id: 7538380 => Updated with Vin: 1FTPX14V17FA14079 ## Mail History Id: 29349465, Consumer Id: 1628553, Address Id: 16108408 => Updated with Vin: 2FAFP74V38X121354 ## Mail History Id: 29349467, Consumer Id: 1628558, Address Id: 51745 => Updated with Vin: 1FMCU03709KA15511 ## Mail History Id: 29349469, Consumer Id: 1628551, Address Id: 16056410 => Updated with Vin: 1FTRX14W08FC21744 ## Mail History Id: 29349471, Consumer Id: 1580107, Address Id: 16056405 => Updated with Vin: 2FMEK62C69BA11540 ## Mail History Id: 29349473, Consumer Id: 1592389, Address Id: 16080881 => Updated with Vin: 1FTYR44UX5PA48519 ## Mail History Id: 29349475, Consumer Id: 1580108, Address Id: 16056406 => Updated with Vin: 1FAFP53U27A209493 ## Mail History Id: 29349477, Consumer Id: 1628556, Address Id: 47553 => Updated with Vin: 1FMCU03769KA08451 ## Mail History Id: 29349479, Consumer Id: 1570199, Address Id: 16041757 => Updated with Vin: 1FTPX145X5NA76454 ## Mail History Id: 29349481, Consumer Id: 1628549, Address Id: 16108405 => Updated with Vin: 1FAFP53203G280892 ## Total mail_history records updated with vin numbers: 12 out of 12 ============================================================ ====== Tracking Id: 969 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-02 08:37:05') AND us2_order_type_id = 3 ## Order found: 1247 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1247 AND product_id = 113 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3230 ## Mailing found: '12617' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349589, Consumer Id: 93224, Address Id: 51727 => Updated with Vin: 1G1ZT62825F274138 ## Mail History Id: 29349627, Consumer Id: 38399, Address Id: 49077 => Updated with Vin: 1FMYU93165KD28255 ## Mail History Id: 29349637, Consumer Id: 63428, Address Id: 52252 => Updated with Vin: 1FTSW31P74ED91273 ## Mail History Id: 29349575, Consumer Id: 103812, Address Id: 53857 => Updated with Vin: 1FMRU17W74LB05663 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 970 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-02 08:37:32') AND us2_order_type_id = 3 ## Order found: 1247 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1247 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3230 ## Mailing found: '12608' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29348686, Consumer Id: 64574, Address Id: 48312 => Updated with Vin: 1FMZU72K03ZB11744 ## Mail History Id: 29348325, Consumer Id: 63738, Address Id: 47598 => Updated with Vin: 2FMZA53422BA01132 ## Mail History Id: 29348650, Consumer Id: 67635, Address Id: 50474 => Updated with Vin: 1FTWF33PX6EC49517 ## Mail History Id: 29348474, Consumer Id: 92761, Address Id: 48386 => Updated with Vin: 2GCEK13T551242693 ## Mail History Id: 29348612, Consumer Id: 103563, Address Id: 53725 => Updated with Vin: 1FTSX21575ED00087 ## Mail History Id: 29348632, Consumer Id: 102408, Address Id: 52360 => Updated with Vin: 1FALP54P7SA186071 ## Mail History Id: 29348642, Consumer Id: 64931, Address Id: 47242 => Updated with Vin: 1FMZK02145GA67377 ## Mail History Id: 29348456, Consumer Id: 460872, Address Id: 51439 => Updated with Vin: 5GTDN13E478111333 ## Mail History Id: 29348482, Consumer Id: 65331, Address Id: 49377 => Updated with Vin: 1FAFP231X5G133584 ## Mail History Id: 29348648, Consumer Id: 93484, Address Id: 51971 => Updated with Vin: 1FTRF14W48KC36709 ## Mail History Id: 29348678, Consumer Id: 64524, Address Id: 48280 => Updated with Vin: 1FTNX20F91EB04900 ## Mail History Id: 29348584, Consumer Id: 460873, Address Id: 47504 => Updated with Vin: 1FMZU73W85ZA18300 ## Mail History Id: 29348271, Consumer Id: 544301, Address Id: 10323226 => Updated with Vin: 1FMZU73W85ZA18300 ## Mail History Id: 29348526, Consumer Id: 64221, Address Id: 47340 => Updated with Vin: 1FAFP58S8YG100784 ## Mail History Id: 29348532, Consumer Id: 92636, Address Id: 51030 => Updated with Vin: 1FTNX20S74EA81568 ## Mail History Id: 29348554, Consumer Id: 65222, Address Id: 50129 => Updated with Vin: 1FMYU94126KA28051 ## Mail History Id: 29348530, Consumer Id: 66475, Address Id: 53075 => Updated with Vin: 4F2YZ94154KM32223 ## Mail History Id: 29348529, Consumer Id: 461340, Address Id: 52852 => Updated with Vin: 1FMCU03Z68KC66047 ## Mail History Id: 29348614, Consumer Id: 63683, Address Id: 47873 => Updated with Vin: 1FTYR10U63PB72210 ## Mail History Id: 29348458, Consumer Id: 63532, Address Id: 47548 => Updated with Vin: 1G2NE52T0WM504498 ## Mail History Id: 29348500, Consumer Id: 93096, Address Id: 51525 => Updated with Vin: 2FMDK38CX7BA86109 ## Mail History Id: 29348504, Consumer Id: 92397, Address Id: 50588 => Updated with Vin: 3FAFP07156R193569 ## Total mail_history records updated with vin numbers: 22 out of 27 ============================================================ ====== Tracking Id: 971 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-02 09:11:20') AND us2_order_type_id = 3 ## Order found: 1248 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1248 AND product_id = 142 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3768 ## Mailing found: '12616' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349241, Consumer Id: 1042664, Address Id: 11450755 => Updated with Vin: 1G6DM57N430159079 ## Mail History Id: 29349061, Consumer Id: 1046238, Address Id: 8827235 => Updated with Vin: 1G6DW677250149266 ## Mail History Id: 29349161, Consumer Id: 1109623, Address Id: 14982672 => Updated with Vin: 1G6DW677350190389 ## Mail History Id: 29349131, Consumer Id: 1108505, Address Id: 1080344 => Updated with Vin: 1G6CD13B6N4266467 ## Mail History Id: 29349129, Consumer Id: 1050857, Address Id: 5991740 => Updated with Vin: 1G6KD54Y44U118192 ## Mail History Id: 29349067, Consumer Id: 1050322, Address Id: 6356911 => Updated with Vin: 1G6KD54Y21U130739 ## Mail History Id: 29349051, Consumer Id: 1108470, Address Id: 5985034 => Updated with Vin: 1G6KD54Y41U108144 ## Mail History Id: 29349059, Consumer Id: 1049445, Address Id: 14954207 => Updated with Vin: 1G6KD54Y1VU272702 ## Total mail_history records updated with vin numbers: 8 out of 9 ============================================================ ====== Tracking Id: 972 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-02 10:10:37') AND us2_order_type_id = 3 ## Order found: 1249 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1249 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3416 ## Mailing found: '12610' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349315, Consumer Id: 692853, Address Id: 11798551 => Updated with Vin: 5GTDN136468107497 ## Mail History Id: 29349345, Consumer Id: 625572, Address Id: 1959296 => Updated with Vin: 1GYEK63N65R190992 ## Mail History Id: 29349385, Consumer Id: 692834, Address Id: 11798540 => Updated with Vin: 1G6DC67A050228925 ## Mail History Id: 29349445, Consumer Id: 625803, Address Id: 11766138 => Updated with Vin: 1GYEK63N65R120568 ## Mail History Id: 29348380, Consumer Id: 625914, Address Id: 6887645 => Updated with Vin: 1GYEK63N83R130631 ## Mail History Id: 29348276, Consumer Id: 623660, Address Id: 11764676 => Updated with Vin: 3G5DA03L46S531862 ## Mail History Id: 29349397, Consumer Id: 909881, Address Id: 11796901 => Updated with Vin: 1G6DT57V280189062 ## Mail History Id: 29348428, Consumer Id: 691177, Address Id: 11797859 => Updated with Vin: 1G6KD57Y76U179566 ## Mail History Id: 29348322, Consumer Id: 625959, Address Id: 1968378 => Updated with Vin: 1G6DW67VX80119807 ## Mail History Id: 29348370, Consumer Id: 682105, Address Id: 11794982 => Updated with Vin: 1G6EL12Y4RU624883 ## Mail History Id: 29348384, Consumer Id: 682102, Address Id: 1969061 => Updated with Vin: 1G6EL12Y72B100404 ## Mail History Id: 29348330, Consumer Id: 909882, Address Id: 1968572 => Updated with Vin: 3GYFK66N34G310729 ## Mail History Id: 29349429, Consumer Id: 909883, Address Id: 10933956 => Updated with Vin: 1G4HP54K624121730 ## Mail History Id: 29349391, Consumer Id: 690393, Address Id: 11797603 => Updated with Vin: 1G6KD57Y56U142578 ## Mail History Id: 29348446, Consumer Id: 685265, Address Id: 11795911 => Updated with Vin: 1G6ET12922B104885 ## Mail History Id: 29348424, Consumer Id: 625618, Address Id: 1969643 => Updated with Vin: 1G6KD579X8U131703 ## Mail History Id: 29348388, Consumer Id: 683715, Address Id: 1969141 => Updated with Vin: 1G6DM57N430108682 ## Mail History Id: 29348420, Consumer Id: 662956, Address Id: 1969553 => Updated with Vin: 1G6KF57923U168022 ## Mail History Id: 29349353, Consumer Id: 682987, Address Id: 1959958 => Updated with Vin: 1G6KD54Y72U261098 ## Mail History Id: 29348414, Consumer Id: 909885, Address Id: 1969459 => Updated with Vin: 1G6DT57V880135362 ## Mail History Id: 29348332, Consumer Id: 686113, Address Id: 1968579 => Updated with Vin: 1G6KY54933U149543 ## Mail History Id: 29348404, Consumer Id: 690513, Address Id: 1969377 => Updated with Vin: 1G6DP577X60172559 ## Mail History Id: 29349377, Consumer Id: 685555, Address Id: 1961301 => Updated with Vin: 1G6KF57983U288634 ## Mail History Id: 29348274, Consumer Id: 687584, Address Id: 1965443 => Updated with Vin: 1GYEE637240172291 ## Mail History Id: 29348306, Consumer Id: 871369, Address Id: 10934436 => Updated with Vin: 1G6DW677060156878 ## Mail History Id: 29349441, Consumer Id: 625176, Address Id: 11765844 => Updated with Vin: 1G6KD54Y54U190051 ## Mail History Id: 29348356, Consumer Id: 691745, Address Id: 1968785 => Updated with Vin: 1G6KE54Y32U145295 ## Mail History Id: 29349373, Consumer Id: 684419, Address Id: 1961138 => Updated with Vin: 1G6DM57NX30100571 ## Total mail_history records updated with vin numbers: 28 out of 42 ============================================================ ====== Tracking Id: 973 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-02 10:14:02') AND us2_order_type_id = 3 ## Order found: 1250 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1250 AND product_id = 142 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3697 ## Mailing found: '12613' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349105, Consumer Id: 1044279, Address Id: 14952770 => Updated with Vin: 1G6DW677960222151 ## Mail History Id: 29349119, Consumer Id: 1044998, Address Id: 5989705 => Updated with Vin: 1G6KD57Y37U228148 ## Mail History Id: 29349299, Consumer Id: 1044981, Address Id: 14952995 => Updated with Vin: 1GYEE637X40144691 ## Mail History Id: 29349213, Consumer Id: 1045942, Address Id: 11956744 => Updated with Vin: 1G6KD57966U144137 ## Mail History Id: 29349159, Consumer Id: 1041959, Address Id: 14952114 => Updated with Vin: 1G6KD54Y92U238972 ## Mail History Id: 29349043, Consumer Id: 1041969, Address Id: 5984882 => Updated with Vin: 1G6KD54Y6WU745253 ## Mail History Id: 29349115, Consumer Id: 1042486, Address Id: 5990234 => Updated with Vin: 1G6KE54YXWU797403 ## Mail History Id: 29349155, Consumer Id: 1051956, Address Id: 12935651 => Updated with Vin: 1GNEK13T15R249767 ## Mail History Id: 29349169, Consumer Id: 1044980, Address Id: 5994989 => Updated with Vin: 1GYEC638X8R104238 ## Mail History Id: 29349185, Consumer Id: 1044545, Address Id: 9876223 => Updated with Vin: 1GYEK63N14R241703 ## Mail History Id: 29349217, Consumer Id: 1043779, Address Id: 2775392 => Updated with Vin: 1G6YV34A545601988 ## Mail History Id: 29349215, Consumer Id: 1044330, Address Id: 14952786 => Updated with Vin: 1G6KF57954U156870 ## Mail History Id: 29349271, Consumer Id: 1047734, Address Id: 2849211 => Updated with Vin: 1GYEK63N16R115487 ## Mail History Id: 29349027, Consumer Id: 1042314, Address Id: 3240093 => Updated with Vin: 1G6KD54Y2WU767900 ## Mail History Id: 29349201, Consumer Id: 1045746, Address Id: 10725272 => Updated with Vin: 1GYFK63817R268709 ## Mail History Id: 29349111, Consumer Id: 1045385, Address Id: 14953120 => Updated with Vin: 1G6KD54Y95U122739 ## Mail History Id: 29349037, Consumer Id: 1050438, Address Id: 14954453 => Updated with Vin: 1G6CD5339L4339540 ## Mail History Id: 29349003, Consumer Id: 1046628, Address Id: 2849613 => Updated with Vin: 1G6KF57971U126197 ## Mail History Id: 29349257, Consumer Id: 1045891, Address Id: 2848541 => Updated with Vin: 1GYEE637040182575 ## Total mail_history records updated with vin numbers: 19 out of 20 ============================================================ ====== Tracking Id: 974 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-02 10:16:42') AND us2_order_type_id = 3 ## Order found: 1251 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1251 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3815 ## Mailing found: '12714' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29614822, Consumer Id: 1363722, Address Id: 15631873 => Updated with Vin: 3GNFK16T31G195320 ## Mail History Id: 29614986, Consumer Id: 1362613, Address Id: 15635152 => Updated with Vin: 1HGFA16526L021876 ## Mail History Id: 29614592, Consumer Id: 1366831, Address Id: 15634881 => Updated with Vin: 1HGCP36888A014050 ## Mail History Id: 29614528, Consumer Id: 1368090, Address Id: 3451532 => Updated with Vin: 1HGEM22702L077695 ## Mail History Id: 29614934, Consumer Id: 1372483, Address Id: 2570256 => Updated with Vin: 2HKRL18912H535075 ## Mail History Id: 29614830, Consumer Id: 1369567, Address Id: 15636307 => Updated with Vin: 1HGCG5653WA153646 ## Mail History Id: 29615136, Consumer Id: 1379593, Address Id: 15633450 => Updated with Vin: 1FAFP34N26W118981 ## Mail History Id: 29614650, Consumer Id: 1369204, Address Id: 15636065 => Updated with Vin: 2HKRL189X2H570813 ## Mail History Id: 29615044, Consumer Id: 1368520, Address Id: 15635011 => Updated with Vin: 1HGCG56542A071757 ## Mail History Id: 29616054, Consumer Id: 1369131, Address Id: 1348746 => Updated with Vin: 1HGCG56642A068639 ## Mail History Id: 29615058, Consumer Id: 1364049, Address Id: 15634123 => Updated with Vin: 1HGCM72396A023802 ## Mail History Id: 29614556, Consumer Id: 1363061, Address Id: 15635846 => Updated with Vin: 5FNRL38786B071474 ## Mail History Id: 29615124, Consumer Id: 1365088, Address Id: 15631837 => Updated with Vin: 2HJYK16537H532219 ## Mail History Id: 29614604, Consumer Id: 1368555, Address Id: 15635030 => Updated with Vin: 1HGCM56603A022039 ## Mail History Id: 29616052, Consumer Id: 1367070, Address Id: 15636356 => Updated with Vin: JHMCP26408C000152 ## Mail History Id: 29615028, Consumer Id: 1359184, Address Id: 9050254 => Updated with Vin: 2HKYF18543H609414 ## Mail History Id: 29616190, Consumer Id: 1364813, Address Id: 3450686 => Updated with Vin: 1HGFA16897L028349 ## Mail History Id: 29615274, Consumer Id: 1363248, Address Id: 11361995 => Updated with Vin: 5FNYF18416B013896 ## Mail History Id: 29614768, Consumer Id: 1359937, Address Id: 15632531 => Updated with Vin: 1HGCM56334A074790 ## Mail History Id: 29615248, Consumer Id: 1370325, Address Id: 15637504 => Updated with Vin: SHSRD78874U228768 ## Mail History Id: 29616112, Consumer Id: 1376504, Address Id: 15634345 => Updated with Vin: 2GTEK19V241275979 ## Mail History Id: 29615050, Consumer Id: 1360209, Address Id: 6166449 => Updated with Vin: 2HKRL18601H609512 ## Mail History Id: 29614944, Consumer Id: 1366743, Address Id: 15634435 => Updated with Vin: 5FNRL387X7B459422 ## Mail History Id: 29614876, Consumer Id: 1360477, Address Id: 15632949 => Updated with Vin: 1HGCM56884A034751 ## Mail History Id: 29614740, Consumer Id: 1363548, Address Id: 15633484 => Updated with Vin: 1HGCM55846A100183 ## Mail History Id: 29614980, Consumer Id: 1365421, Address Id: 15638254 => Updated with Vin: 2HKYF18633H517753 ## Mail History Id: 29616182, Consumer Id: 1361266, Address Id: 1781717 => Updated with Vin: 5FNYF18615B021027 ## Mail History Id: 29616042, Consumer Id: 1367476, Address Id: 15634464 => Updated with Vin: 2HJYK16588H518642 ## Mail History Id: 29614820, Consumer Id: 1367518, Address Id: 6167180 => Updated with Vin: 2HJYK16338H513055 ## Mail History Id: 29616192, Consumer Id: 1366308, Address Id: 15636995 => Updated with Vin: 3HGCM56477G707662 ## Mail History Id: 29614626, Consumer Id: 1376438, Address Id: 15639042 => Updated with Vin: 5FNRL38616B029042 ## Mail History Id: 29614996, Consumer Id: 1362617, Address Id: 15634821 => Updated with Vin: 5FNRL38806B028935 ## Mail History Id: 29616016, Consumer Id: 1364229, Address Id: 9261086 => Updated with Vin: 5J6YH27766L025416 ## Mail History Id: 29614644, Consumer Id: 1369024, Address Id: 6158649 => Updated with Vin: JHLRD1867XC078913 ## Mail History Id: 29615232, Consumer Id: 1363944, Address Id: 11306715 => Updated with Vin: 1HGCM563X6A170208 ## Mail History Id: 29614908, Consumer Id: 1378068, Address Id: 15671159 => Updated with Vin: 1HGFA16836L134584 ## Mail History Id: 29615102, Consumer Id: 1364297, Address Id: 15637203 => Updated with Vin: 5J6YH28757L000426 ## Mail History Id: 29614564, Consumer Id: 1637072, Address Id: 16143137 => Updated with Vin: JHMES96684S013121 ## Mail History Id: 29616030, Consumer Id: 1365463, Address Id: 8423097 => Updated with Vin: 5FNRL18073B102006 ## Mail History Id: 29614924, Consumer Id: 1365838, Address Id: 15638761 => Updated with Vin: 5FNRL18924B067374 ## Mail History Id: 29615156, Consumer Id: 1368294, Address Id: 15634133 => Updated with Vin: 1GKEK13R2XJ801568 ## Mail History Id: 29614576, Consumer Id: 1366419, Address Id: 15639264 => Updated with Vin: 1HGCM56845A056845 ## Mail History Id: 29614506, Consumer Id: 1365993, Address Id: 15639010 => Updated with Vin: 1HGCG5646YA130260 ## Mail History Id: 29614724, Consumer Id: 1379714, Address Id: 15671552 => Updated with Vin: 1HGCM66534A069855 ## Mail History Id: 29616094, Consumer Id: 1366741, Address Id: 15637885 => Updated with Vin: 1HGCM66524A000090 ## Mail History Id: 29614904, Consumer Id: 1379720, Address Id: 15672047 => Updated with Vin: 1HGFA16538L012381 ## Mail History Id: 29615070, Consumer Id: 1367428, Address Id: 15637666 => Updated with Vin: 1HGCP26748A079401 ## Mail History Id: 29614982, Consumer Id: 1367400, Address Id: 15640053 => Updated with Vin: 1HGCP36868A040839 ## Mail History Id: 29615046, Consumer Id: 1367532, Address Id: 15640130 => Updated with Vin: 1HGCM66866A011123 ## Mail History Id: 29614912, Consumer Id: 1367449, Address Id: 15640081 => Updated with Vin: 5J6RE38708L001858 ## Total mail_history records updated with vin numbers: 50 out of 52 ============================================================ ====== Tracking Id: 975 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-02 10:36:47') AND us2_order_type_id = 3 ## Order found: 1247 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1247 AND product_id = 140 ## Job Group Found: '464' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('464') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408007') AND customer_id = 3230 ## Mailing found: '12602' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349750, Consumer Id: 65732, Address Id: 48984 => Updated with Vin: 1FMCU94145KD28103 ## Mail History Id: 29349752, Consumer Id: 1567376, Address Id: 48759 => Updated with Vin: 3FAHP08157R242858 ## Mail History Id: 29349754, Consumer Id: 93540, Address Id: 52038 => Updated with Vin: 1FMEU74E88UA27214 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 976 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-02 11:07:14') AND us2_order_type_id = 3 ## Order found: 1252 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1252 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3486 ## Mailing found: '12622' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349565, Consumer Id: 479465, Address Id: 815084 => Updated with Vin: 1GCHK23133F208890 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 977 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-02 11:10:13') AND us2_order_type_id = 3 ## Order found: 1253 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1253 AND product_id = 144 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3705 ## Mailing found: '12614' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349174, Consumer Id: 961759, Address Id: 14834782 => Updated with Vin: 2G2WS522351185998 ## Mail History Id: 29349086, Consumer Id: 979712, Address Id: 14837143 => Updated with Vin: 1GBJC34607E573266 ## Mail History Id: 29349158, Consumer Id: 966750, Address Id: 14838718 => Updated with Vin: 2GCEC13J571514044 ## Mail History Id: 29349104, Consumer Id: 971042, Address Id: 14841873 => Updated with Vin: 2G1WU58R979369303 ## Mail History Id: 29349062, Consumer Id: 970804, Address Id: 14841714 => Updated with Vin: 2GTEK13M181175913 ## Mail History Id: 29349146, Consumer Id: 972894, Address Id: 14843223 => Updated with Vin: 2GTEC19JX81262607 ## Mail History Id: 29349170, Consumer Id: 972754, Address Id: 14843130 => Updated with Vin: KL5JD56Z47K538863 ## Mail History Id: 29349084, Consumer Id: 972761, Address Id: 14843135 => Updated with Vin: 1GNDS13S562280081 ## Mail History Id: 29349134, Consumer Id: 972764, Address Id: 14843138 => Updated with Vin: 1G1YY25W185128534 ## Mail History Id: 29349098, Consumer Id: 976784, Address Id: 14844646 => Updated with Vin: 3GNEC16Z72G330815 ## Mail History Id: 29349164, Consumer Id: 980910, Address Id: 14835666 => Updated with Vin: 3GNFC16J07G119543 ## Total mail_history records updated with vin numbers: 11 out of 17 ============================================================ ====== Tracking Id: 978 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-02 11:10:31') AND us2_order_type_id = 3 ## Order found: 1253 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1253 AND product_id = 106 ## Job Group Found: '462' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('462') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408005' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408005') AND customer_id = 3705 ## Mailing found: '12605' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 979 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-02 11:11:41') AND us2_order_type_id = 3 ## Order found: 1254 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1254 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3721 ## Mailing found: '12615' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29348760, Consumer Id: 1016065, Address Id: 14933135 => Updated with Vin: JM3TB28YX70103859 ## Mail History Id: 29348740, Consumer Id: 1017057, Address Id: 6659382 => Updated with Vin: JM1FE173550152042 ## Mail History Id: 29348756, Consumer Id: 1017371, Address Id: 14933455 => Updated with Vin: 4F4YR16V1XTM25244 ## Mail History Id: 29348778, Consumer Id: 1008829, Address Id: 6667247 => Updated with Vin: 4F2YZ04173KM06247 ## Mail History Id: 29348776, Consumer Id: 1014962, Address Id: 14930374 => Updated with Vin: 1YVHP80C765M68465 ## Mail History Id: 29348780, Consumer Id: 1013384, Address Id: 6667628 => Updated with Vin: JM1BK12F051308913 ## Mail History Id: 29348762, Consumer Id: 1010339, Address Id: 6662085 => Updated with Vin: 4F2YZ04164KM00747 ## Mail History Id: 29348752, Consumer Id: 1015381, Address Id: 6660109 => Updated with Vin: JM3ER293670125073 ## Mail History Id: 29348758, Consumer Id: 1013049, Address Id: 6661067 => Updated with Vin: JM1BK123151255418 ## Mail History Id: 29348770, Consumer Id: 1013608, Address Id: 6664151 => Updated with Vin: JM1BK12F151281902 ## Mail History Id: 29348772, Consumer Id: 1012937, Address Id: 6664282 => Updated with Vin: 1NXBR32E93Z124169 ## Mail History Id: 29348786, Consumer Id: 1014074, Address Id: 14932596 => Updated with Vin: JM1FE173140111504 ## Mail History Id: 29348744, Consumer Id: 1014410, Address Id: 6659414 => Updated with Vin: 1YVHP80C355M56098 ## Mail History Id: 29348754, Consumer Id: 1014935, Address Id: 11562296 => Updated with Vin: JM3ER293470108675 ## Mail History Id: 29348748, Consumer Id: 1014874, Address Id: 1635274 => Updated with Vin: JM3ER293070107216 ## Mail History Id: 29348784, Consumer Id: 1014960, Address Id: 14932806 => Updated with Vin: 1YVHP80C865M62335 ## Mail History Id: 29348768, Consumer Id: 1012256, Address Id: 6663405 => Updated with Vin: JM1NB353450412756 ## Mail History Id: 29348750, Consumer Id: 1013550, Address Id: 6659993 => Updated with Vin: 1YVHP84D565M01334 ## Mail History Id: 29348742, Consumer Id: 1010111, Address Id: 1635155 => Updated with Vin: JM1BK12F481866252 ## Mail History Id: 29348782, Consumer Id: 1010187, Address Id: 14931854 => Updated with Vin: 1YVHP80C575M32162 ## Mail History Id: 29348792, Consumer Id: 1010194, Address Id: 9849974 => Updated with Vin: JM1BK32F881118924 ## Mail History Id: 29348766, Consumer Id: 1017369, Address Id: 6662607 => Updated with Vin: JM3ER293670162477 ## Mail History Id: 29349026, Consumer Id: 1016073, Address Id: 14933137 => Updated with Vin: JM1BK32F371651181 ## Mail History Id: 29348774, Consumer Id: 1016071, Address Id: 6665215 => Updated with Vin: 1YVHP80D365M39926 ## Mail History Id: 29348790, Consumer Id: 1015382, Address Id: 14932904 => Updated with Vin: JM1NC25FX70122929 ## Mail History Id: 29348746, Consumer Id: 1016003, Address Id: 14933090 => Updated with Vin: 1YVHP80C875M35931 ## Total mail_history records updated with vin numbers: 26 out of 28 ============================================================ ====== Tracking Id: 980 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-02 11:37:10') AND us2_order_type_id = 3 ## Order found: 1255 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1255 AND product_id = 142 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3357 ## Mailing found: '12609' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29348989, Consumer Id: 198199, Address Id: 407224 => Updated with Vin: 2MEFM75WX3X702822 ## Mail History Id: 29348943, Consumer Id: 909516, Address Id: 406188 => Updated with Vin: 2MEFM75W23X673221 ## Mail History Id: 29349450, Consumer Id: 196256, Address Id: 405566 => Updated with Vin: 4M2EU48887UJ00355 ## Mail History Id: 29348819, Consumer Id: 663028, Address Id: 11782724 => Updated with Vin: 1FTPW12598FA92441 ## Mail History Id: 29348865, Consumer Id: 909517, Address Id: 878492 => Updated with Vin: 1FAFP40674F133882 ## Mail History Id: 29348821, Consumer Id: 909514, Address Id: 11766739 => Updated with Vin: 1FMZU73E4YZA93426 ## Mail History Id: 29348905, Consumer Id: 909515, Address Id: 11939836 => Updated with Vin: 4F2YU08112KM26484 ## Mail History Id: 29349396, Consumer Id: 909513, Address Id: 2354990 => Updated with Vin: 1YVHP82D545N75789 ## Mail History Id: 29348747, Consumer Id: 197402, Address Id: 405592 => Updated with Vin: 3FAFP37Z93R169522 ## Mail History Id: 29348859, Consumer Id: 188156, Address Id: 398658 => Updated with Vin: 1FTPW12505FA26565 ## Mail History Id: 29348741, Consumer Id: 187293, Address Id: 398078 => Updated with Vin: 1ZVFT80N755159990 ## Mail History Id: 29348979, Consumer Id: 199989, Address Id: 407812 => Updated with Vin: 4M2ZU86W82ZJ17176 ## Mail History Id: 29348717, Consumer Id: 909509, Address Id: 11939832 => Updated with Vin: 1HGCM72673A002792 ## Mail History Id: 29348701, Consumer Id: 194753, Address Id: 403696 => Updated with Vin: 1FMFU18L63LA66926 ## Mail History Id: 29348863, Consumer Id: 190461, Address Id: 399544 => Updated with Vin: 1FMFU17L23LC59253 ## Mail History Id: 29348713, Consumer Id: 909512, Address Id: 11939835 => Updated with Vin: 1FTRF17273NB28410 ## Mail History Id: 29348947, Consumer Id: 153698, Address Id: 254130 => Updated with Vin: 1FAFP33Z13W240473 ## Mail History Id: 29348867, Consumer Id: 874379, Address Id: 11767364 => Updated with Vin: 1LNHM81W14Y647390 ## Mail History Id: 29348813, Consumer Id: 193279, Address Id: 402807 => Updated with Vin: JM1FE17NX50142396 ## Mail History Id: 29348841, Consumer Id: 151542, Address Id: 393935 => Updated with Vin: JM1FE17N550148686 ## Mail History Id: 29348751, Consumer Id: 151834, Address Id: 394208 => Updated with Vin: JM1FE173750152298 ## Mail History Id: 29348953, Consumer Id: 197838, Address Id: 405832 => Updated with Vin: 2GCEC19V451281894 ## Mail History Id: 29348715, Consumer Id: 190991, Address Id: 401352 => Updated with Vin: JM1BK323X51329110 ## Mail History Id: 29348913, Consumer Id: 193698, Address Id: 403374 => Updated with Vin: 1YVHP82D155M67378 ## Mail History Id: 29348817, Consumer Id: 152444, Address Id: 394771 => Updated with Vin: JM1CR29L460113339 ## Mail History Id: 29348759, Consumer Id: 198298, Address Id: 405654 => Updated with Vin: JM1BK344761520586 ## Mail History Id: 29349412, Consumer Id: 152343, Address Id: 394679 => Updated with Vin: 1FTRW12W46KB16635 ## Mail History Id: 29348959, Consumer Id: 152247, Address Id: 394589 => Updated with Vin: 1FTVX14596NA42563 ## Mail History Id: 29349410, Consumer Id: 193328, Address Id: 403096 => Updated with Vin: 1FMEU74886UA33506 ## Mail History Id: 29348739, Consumer Id: 196980, Address Id: 405804 => Updated with Vin: 1FAFP34N96W135745 ## Mail History Id: 29348833, Consumer Id: 155842, Address Id: 397874 => Updated with Vin: 1FMDK06147GA15982 ## Mail History Id: 29348849, Consumer Id: 155052, Address Id: 397141 => Updated with Vin: 1FMFU18507LA71093 ## Mail History Id: 29348899, Consumer Id: 154689, Address Id: 396827 => Updated with Vin: 1FAHP34N37W261660 ## Mail History Id: 29348987, Consumer Id: 155811, Address Id: 397844 => Updated with Vin: 1FAHP34N57W350629 ## Mail History Id: 29348787, Consumer Id: 193457, Address Id: 398196 => Updated with Vin: 1FTSW31S71EC07014 ## Mail History Id: 29348995, Consumer Id: 190736, Address Id: 402344 => Updated with Vin: 2FMDA534X3BA53345 ## Mail History Id: 29348795, Consumer Id: 909511, Address Id: 11939834 => Updated with Vin: 19UUA66218A005595 ## Mail History Id: 29349440, Consumer Id: 154967, Address Id: 397064 => Updated with Vin: 1FTSW21R38EA40099 ## Mail History Id: 29348977, Consumer Id: 909510, Address Id: 11939833 => Updated with Vin: 1FMPU18L9XLA64565 ## Mail History Id: 29348719, Consumer Id: 198368, Address Id: 407688 => Updated with Vin: 3FAKP1131XR114091 ## Mail History Id: 29348839, Consumer Id: 191861, Address Id: 401100 => Updated with Vin: JM3LW28G8Y0152717 ## Total mail_history records updated with vin numbers: 41 out of 49 ============================================================ ====== Tracking Id: 981 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-02 12:09:44') AND us2_order_type_id = 3 ## Order found: 1256 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1256 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3427 ## Mailing found: '12620' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349674, Consumer Id: 498655, Address Id: 9832579 => Updated with Vin: SHSRD78864U209841 ## Mail History Id: 29349704, Consumer Id: 495464, Address Id: 9830302 => Updated with Vin: 1HGCM66513A098754 ## Mail History Id: 29349694, Consumer Id: 510928, Address Id: 9832292 => Updated with Vin: 1HGCM66515A054370 ## Mail History Id: 29349507, Consumer Id: 497084, Address Id: 9831464 => Updated with Vin: 5FNRL18654B018627 ## Mail History Id: 29349518, Consumer Id: 491403, Address Id: 9827258 => Updated with Vin: 1HGCG16512A062068 ## Mail History Id: 29349526, Consumer Id: 490838, Address Id: 9826829 => Updated with Vin: 2HKRL18023H505859 ## Mail History Id: 29349586, Consumer Id: 495375, Address Id: 9830231 => Updated with Vin: 1HGCD5630VA052196 ## Mail History Id: 29349553, Consumer Id: 510505, Address Id: 9843655 => Updated with Vin: 1HGES16335L010004 ## Mail History Id: 29349612, Consumer Id: 495302, Address Id: 326695 => Updated with Vin: 1HGCM56683A138525 ## Mail History Id: 29349616, Consumer Id: 506360, Address Id: 327012 => Updated with Vin: 5FNYF18665B022545 ## Mail History Id: 29349584, Consumer Id: 506536, Address Id: 9841117 => Updated with Vin: 5FNRL38485B409153 ## Mail History Id: 29349596, Consumer Id: 472339, Address Id: 325530 => Updated with Vin: 1HGCM56446A140873 ## Mail History Id: 29349541, Consumer Id: 484044, Address Id: 9838512 => Updated with Vin: JTLKT334554010432 ## Total mail_history records updated with vin numbers: 13 out of 13 ============================================================ ====== Tracking Id: 982 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-02 12:09:56') AND us2_order_type_id = 3 ## Order found: 1256 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1256 AND product_id = 113 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3427 ## Mailing found: '12620' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 983 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-02 12:10:14') AND us2_order_type_id = 3 ## Order found: 1257 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1257 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3471 ## Mailing found: '12612' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349276, Consumer Id: 807420, Address Id: 10215451 => Updated with Vin: 1G3NB52M2X6322806 ## Mail History Id: 29349310, Consumer Id: 760400, Address Id: 10217091 => Updated with Vin: 1G6KF57952U184617 ## Mail History Id: 29349262, Consumer Id: 760429, Address Id: 7416969 => Updated with Vin: 1G6KD57Y97U131696 ## Mail History Id: 29349198, Consumer Id: 805426, Address Id: 10210795 => Updated with Vin: 1G6KF5294TU236487 ## Mail History Id: 29349278, Consumer Id: 801501, Address Id: 10215549 => Updated with Vin: 3GYEK63NX3G306904 ## Mail History Id: 29349334, Consumer Id: 822073, Address Id: 11876692 => Updated with Vin: 1GYFK63817R317973 ## Mail History Id: 29349212, Consumer Id: 807043, Address Id: 11876902 => Updated with Vin: 1GKDT13S022423944 ## Mail History Id: 29349290, Consumer Id: 806994, Address Id: 10216245 => Updated with Vin: 1G6DS57V080174661 ## Mail History Id: 29349030, Consumer Id: 807066, Address Id: 9894498 => Updated with Vin: 1GYEE637X50101227 ## Total mail_history records updated with vin numbers: 9 out of 11 ============================================================ ====== Tracking Id: 984 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-02 19:07:16') AND us2_order_type_id = 3 ## Order found: 1255 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1255 AND product_id = 55 ## Job Group Found: '459' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('459') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408002') AND customer_id = 3357 ## Mailing found: '12599' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349487, Consumer Id: 1565604, Address Id: 12681077 => Updated with Vin: 1FAHP24WX8G181559 ## Mail History Id: 29349489, Consumer Id: 1569150, Address Id: 16038359 => Updated with Vin: 1FTYR14U78PA95736 ## Mail History Id: 29349491, Consumer Id: 1569151, Address Id: 16038360 => Updated with Vin: 2HGES15581H544237 ## Mail History Id: 29349493, Consumer Id: 1580154, Address Id: 16056467 => Updated with Vin: 1YVFP80D245N30500 ## Mail History Id: 29349495, Consumer Id: 1291540, Address Id: 15534025 => Updated with Vin: 1FAFP42X73F317790 ## Mail History Id: 29349497, Consumer Id: 1570240, Address Id: 16041813 => Updated with Vin: 1FMDU74W55UA33651 ## Mail History Id: 29349499, Consumer Id: 1580156, Address Id: 16056468 => Updated with Vin: 1FTWW31R68EA83231 ## Mail History Id: 29349456, Consumer Id: 1567337, Address Id: 16007413 => Updated with Vin: 1FAFP53U56A247931 ## Mail History Id: 29349458, Consumer Id: 1567338, Address Id: 16007414 => Updated with Vin: 1ZVFT80N975273380 ## Mail History Id: 29349460, Consumer Id: 1568058, Address Id: 16022167 => Updated with Vin: 1YVHP80C475M42424 ## Mail History Id: 29349462, Consumer Id: 1570235, Address Id: 395379 => Updated with Vin: 1FTNE14W48DB29987 ## Mail History Id: 29349464, Consumer Id: 1570239, Address Id: 11913623 => Updated with Vin: 3GYFK628X7G258794 ## Mail History Id: 29349466, Consumer Id: 1570236, Address Id: 6486721 => Updated with Vin: 1FAFP34N37W255218 ## Mail History Id: 29349468, Consumer Id: 1570238, Address Id: 16041812 => Updated with Vin: JM3TB38V780153650 ## Mail History Id: 29349472, Consumer Id: 1570237, Address Id: 16041811 => Updated with Vin: JM1CR29L780324120 ## Mail History Id: 29349474, Consumer Id: 1567333, Address Id: 16007410 => Updated with Vin: JM1BK32G081130199 ## Mail History Id: 29349476, Consumer Id: 1567334, Address Id: 400516 => Updated with Vin: JM1BK32G781157089 ## Mail History Id: 29349478, Consumer Id: 1567336, Address Id: 16007412 => Updated with Vin: JM1BK344X81169207 ## Mail History Id: 29349480, Consumer Id: 1568691, Address Id: 11826629 => Updated with Vin: JM1BK344481176539 ## Mail History Id: 29349482, Consumer Id: 1568690, Address Id: 16022642 => Updated with Vin: JM1BK324081180364 ## Mail History Id: 29349484, Consumer Id: 1568059, Address Id: 16022168 => Updated with Vin: JM1BK32G881182759 ## Mail History Id: 29349486, Consumer Id: 1580155, Address Id: 9544934 => Updated with Vin: 2FMDK38C38BA81996 ## Mail History Id: 29349488, Consumer Id: 1570234, Address Id: 16041810 => Updated with Vin: 2LMDU68C08BJ32533 ## Mail History Id: 29349490, Consumer Id: 1569148, Address Id: 16038356 => Updated with Vin: 2LMDU68C98BJ33048 ## Mail History Id: 29349492, Consumer Id: 1569149, Address Id: 16038357 => Updated with Vin: 1FMCU931X8KA74273 ## Mail History Id: 29349494, Consumer Id: 1568062, Address Id: 16022170 => Updated with Vin: 4F2CZ02Z28KM16016 ## Mail History Id: 29349496, Consumer Id: 1288063, Address Id: 15465715 => Updated with Vin: 1FAHP35N98W268239 ## Total mail_history records updated with vin numbers: 27 out of 32 ============================================================ ====== Tracking Id: 985 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-03 08:08:14') AND us2_order_type_id = 3 ## Order found: 1268 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1268 AND product_id = 55 ## Job Group Found: '459' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('459') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408002') AND customer_id = 3230 ## Mailing found: '12598' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 986 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-03 08:37:09') AND us2_order_type_id = 3 ## Order found: 1268 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1268 AND product_id = 113 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3230 ## Mailing found: '12617' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349591, Consumer Id: 38300, Address Id: 48852 => Updated with Vin: 1FTWW31P85EA70071 ## Mail History Id: 29349617, Consumer Id: 92675, Address Id: 51084 => Updated with Vin: 1FTPX14V16NB46067 ## Mail History Id: 29349587, Consumer Id: 100864, Address Id: 48129 => Updated with Vin: 1FTZR15E31PA83536 ## Mail History Id: 29349597, Consumer Id: 103799, Address Id: 53849 => Updated with Vin: 1FTNW20F11EC82108 ## Mail History Id: 29349629, Consumer Id: 64461, Address Id: 49248 => Updated with Vin: 1FTWW31P45EC58912 ## Total mail_history records updated with vin numbers: 5 out of 7 ============================================================ ====== Tracking Id: 987 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-03 08:37:21') AND us2_order_type_id = 3 ## Order found: 1268 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1268 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3230 ## Mailing found: '12608' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29348568, Consumer Id: 102903, Address Id: 47796 => Updated with Vin: 1FARP11JXRW229348 ## Mail History Id: 29348726, Consumer Id: 63392, Address Id: 47738 => Updated with Vin: 1FTWX32FX2EC26996 ## Mail History Id: 29348397, Consumer Id: 93347, Address Id: 51833 => Updated with Vin: 1FAHP33NX8W125643 ## Mail History Id: 29348730, Consumer Id: 66760, Address Id: 50409 => Updated with Vin: 1FABP2738GF227756 ## Mail History Id: 29348692, Consumer Id: 93239, Address Id: 50177 => Updated with Vin: 1FTYR14U88PA05610 ## Mail History Id: 29348702, Consumer Id: 92876, Address Id: 51292 => Updated with Vin: 1FAHP34N07W133909 ## Mail History Id: 29348716, Consumer Id: 38433, Address Id: 47631 => Updated with Vin: 1FMZK05175GA48009 ## Mail History Id: 29349020, Consumer Id: 93173, Address Id: 51592 => Updated with Vin: 1ZVFT80N875341782 ## Mail History Id: 29348620, Consumer Id: 65037, Address Id: 50871 => Updated with Vin: 1FMYU93176KA12042 ## Mail History Id: 29348656, Consumer Id: 93420, Address Id: 51904 => Updated with Vin: 2FMZA57451BA96486 ## Mail History Id: 29348608, Consumer Id: 103761, Address Id: 53827 => Updated with Vin: 1FTNF21L63EC22090 ## Mail History Id: 29348634, Consumer Id: 461342, Address Id: 53522 => Updated with Vin: 1FAHP35N28W121986 ## Mail History Id: 29348604, Consumer Id: 65956, Address Id: 49766 => Updated with Vin: 1FMYU93116KA37230 ## Mail History Id: 29348516, Consumer Id: 67500, Address Id: 50802 => Updated with Vin: 1FTPW14586FA16297 ## Mail History Id: 29348542, Consumer Id: 67016, Address Id: 48092 => Updated with Vin: 1FAHP34N26W190563 ## Mail History Id: 29348574, Consumer Id: 63726, Address Id: 48919 => Updated with Vin: 1FTZR15E34TA14664 ## Mail History Id: 29348526, Consumer Id: 65353, Address Id: 47340 => Updated with Vin: 1FMYU02Z25KD62986 ## Mail History Id: 29348546, Consumer Id: 65156, Address Id: 50964 => Updated with Vin: 1FAHP34384W164707 ## Mail History Id: 29348540, Consumer Id: 63566, Address Id: 49401 => Updated with Vin: 1FMYU94155KC93125 ## Mail History Id: 29348596, Consumer Id: 65451, Address Id: 49183 => Updated with Vin: 1MELM6531WK603624 ## Mail History Id: 29348536, Consumer Id: 102989, Address Id: 53480 => Updated with Vin: 2MEFM75W41X603930 ## Mail History Id: 29348682, Consumer Id: 38601, Address Id: 51417 => Updated with Vin: 1FMEU63E17UB61962 ## Mail History Id: 29348662, Consumer Id: 65636, Address Id: 48583 => Updated with Vin: 1FTNX21FX2EC97767 ## Mail History Id: 29348670, Consumer Id: 67342, Address Id: 47424 => Updated with Vin: 1FTPX14VX6FB64058 ## Mail History Id: 29348512, Consumer Id: 63963, Address Id: 49461 => Updated with Vin: 1FTNX21P84EA33894 ## Mail History Id: 29348496, Consumer Id: 461343, Address Id: 9819340 => Updated with Vin: 1FAFP34N97W287896 ## Mail History Id: 29348460, Consumer Id: 103014, Address Id: 53497 => Updated with Vin: 1FTPX12505FB17204 ## Mail History Id: 29348478, Consumer Id: 103693, Address Id: 53793 => Updated with Vin: 2MELM74W4RX698876 ## Mail History Id: 29348680, Consumer Id: 461341, Address Id: 9819339 => Updated with Vin: 1FTYR44U58PA77298 ## Mail History Id: 29348468, Consumer Id: 73748, Address Id: 67442 => Updated with Vin: 1FAFP53U47A166162 ## Mail History Id: 29348498, Consumer Id: 461155, Address Id: 9819143 => Updated with Vin: 2FMZA51463BA76534 ## Mail History Id: 29348464, Consumer Id: 461159, Address Id: 52278 => Updated with Vin: 1FMDK06195GA00911 ## Mail History Id: 29348660, Consumer Id: 38530, Address Id: 51652 => Updated with Vin: 1FMEU73E07UB43409 ## Mail History Id: 29348492, Consumer Id: 461344, Address Id: 9819341 => Updated with Vin: JM1BK12FX51321068 ## Mail History Id: 29348504, Consumer Id: 67528, Address Id: 50588 => Updated with Vin: 1FTPX14554NA54408 ## Mail History Id: 29348450, Consumer Id: 92425, Address Id: 50672 => Updated with Vin: 1ZVFT80N065261021 ## Mail History Id: 29348466, Consumer Id: 92846, Address Id: 51264 => Updated with Vin: 1FAHP34N17W230830 ## Mail History Id: 29348513, Consumer Id: 64253, Address Id: 49488 => Updated with Vin: 1FTNX21P74EA11515 ## Total mail_history records updated with vin numbers: 38 out of 41 ============================================================ ====== Tracking Id: 988 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-03 09:11:04') AND us2_order_type_id = 3 ## Order found: 1269 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1269 AND product_id = 142 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3768 ## Mailing found: '12616' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349161, Consumer Id: 1109623, Address Id: 14982672 => Updated with Vin: 1G6DW677350190389 ## Mail History Id: 29349059, Consumer Id: 1049445, Address Id: 14954207 => Updated with Vin: 1G6KD54Y1VU272702 ## Total mail_history records updated with vin numbers: 2 out of 4 ============================================================ ====== Tracking Id: 989 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-03 10:10:18') AND us2_order_type_id = 3 ## Order found: 1270 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1270 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3416 ## Mailing found: '12610' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349383, Consumer Id: 625198, Address Id: 11765853 => Updated with Vin: 1G6KD54Y55U130286 ## Mail History Id: 29349331, Consumer Id: 692551, Address Id: 11798400 => Updated with Vin: 5GTDN13E678182484 ## Mail History Id: 29349359, Consumer Id: 625589, Address Id: 11766029 => Updated with Vin: 1G6KD54Y44U102753 ## Mail History Id: 29349437, Consumer Id: 625599, Address Id: 11766037 => Updated with Vin: 1G6KD57Y07U137953 ## Mail History Id: 29349385, Consumer Id: 692834, Address Id: 11798540 => Updated with Vin: 1G6DC67A050228925 ## Mail History Id: 29348312, Consumer Id: 625880, Address Id: 1968155 => Updated with Vin: 1G6KD54Y25U159826 ## Mail History Id: 29349387, Consumer Id: 682912, Address Id: 11795224 => Updated with Vin: W06VR52R2WR175571 ## Mail History Id: 29348310, Consumer Id: 911066, Address Id: 11941023 => Updated with Vin: 1G6DW677660209065 ## Mail History Id: 29348677, Consumer Id: 1646819, Address Id: 16151328 => Updated with Vin: 1G6DW677650171450 ## Mail History Id: 29349431, Consumer Id: 909886, Address Id: 11940190 => Updated with Vin: 1GYEE637350231723 ## Mail History Id: 29348422, Consumer Id: 684765, Address Id: 1969600 => Updated with Vin: 1G6KD54Y31U291102 ## Mail History Id: 29348348, Consumer Id: 691156, Address Id: 1968764 => Updated with Vin: 1G6KD57Y86U131056 ## Mail History Id: 29348338, Consumer Id: 682790, Address Id: 1968713 => Updated with Vin: 1G6KY5493WU925626 ## Mail History Id: 29349375, Consumer Id: 682126, Address Id: 1961200 => Updated with Vin: 1G6KE57Y0YU313169 ## Mail History Id: 29349319, Consumer Id: 683639, Address Id: 1966649 => Updated with Vin: 1G6KY549XXU906539 ## Mail History Id: 29348324, Consumer Id: 681521, Address Id: 1968426 => Updated with Vin: 1G6KE54Y1XU804157 ## Mail History Id: 29348408, Consumer Id: 690647, Address Id: 1969410 => Updated with Vin: 1GYFK63857R127710 ## Mail History Id: 29349365, Consumer Id: 692592, Address Id: 1960892 => Updated with Vin: 1G6KD57Y26U131912 ## Mail History Id: 29348444, Consumer Id: 691789, Address Id: 1970132 => Updated with Vin: 5GTDN13E478124129 ## Mail History Id: 29348296, Consumer Id: 687974, Address Id: 9042585 => Updated with Vin: 1G6KD54Y42U198896 ## Mail History Id: 29348346, Consumer Id: 682744, Address Id: 1968739 => Updated with Vin: 1G6KD54Y3XU774582 ## Mail History Id: 29349347, Consumer Id: 625262, Address Id: 1959470 => Updated with Vin: 1G6DP577270117783 ## Mail History Id: 29348302, Consumer Id: 685513, Address Id: 1967816 => Updated with Vin: 1G6EL12Y71B109280 ## Mail History Id: 29348406, Consumer Id: 938466, Address Id: 1969384 => Updated with Vin: 1G6KD54Y85U116169 ## Mail History Id: 29349349, Consumer Id: 625804, Address Id: 1959778 => Updated with Vin: 1GYEE637380143386 ## Mail History Id: 29348298, Consumer Id: 625613, Address Id: 9042816 => Updated with Vin: 1G6DW677770159620 ## Mail History Id: 29349004, Consumer Id: 692036, Address Id: 1970254 => Updated with Vin: 5GRGN23U57H102785 ## Mail History Id: 29349407, Consumer Id: 686448, Address Id: 1963036 => Updated with Vin: 1G6DM57N030145602 ## Mail History Id: 29348374, Consumer Id: 687169, Address Id: 11796477 => Updated with Vin: 1G6KS52Y9SU811832 ## Mail History Id: 29349449, Consumer Id: 687672, Address Id: 1964695 => Updated with Vin: 1G6KD54Y52U132356 ## Mail History Id: 29349423, Consumer Id: 689377, Address Id: 10933897 => Updated with Vin: 1GYEE63A850122072 ## Mail History Id: 29348306, Consumer Id: 871369, Address Id: 10934436 => Updated with Vin: 1G6DW677060156878 ## Mail History Id: 29349343, Consumer Id: 625559, Address Id: 3754891 => Updated with Vin: 5GTDN13EX78196386 ## Mail History Id: 29348360, Consumer Id: 690115, Address Id: 11797516 => Updated with Vin: 1G6KD54Y45U209674 ## Mail History Id: 29349401, Consumer Id: 691348, Address Id: 3759427 => Updated with Vin: 1G6DP577X60165031 ## Mail History Id: 29349379, Consumer Id: 938464, Address Id: 1961338 => Updated with Vin: 1G6KD54Y7XU724610 ## Total mail_history records updated with vin numbers: 36 out of 54 ============================================================ ====== Tracking Id: 990 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-03 10:13:38') AND us2_order_type_id = 3 ## Order found: 1271 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1271 AND product_id = 142 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3697 ## Mailing found: '12613' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349213, Consumer Id: 1046631, Address Id: 11956744 => Updated with Vin: 1G6KD54Y55U126707 ## Mail History Id: 29349219, Consumer Id: 1048633, Address Id: 2775906 => Updated with Vin: 1G3NL52T01C121306 ## Mail History Id: 29349101, Consumer Id: 1044581, Address Id: 5990346 => Updated with Vin: 1GYFK66827R355319 ## Mail History Id: 29349271, Consumer Id: 1047516, Address Id: 2849211 => Updated with Vin: 1G6DP577360104667 ## Mail History Id: 29349117, Consumer Id: 1043600, Address Id: 5989921 => Updated with Vin: 1G6KD57Y76U152058 ## Mail History Id: 29349077, Consumer Id: 1048920, Address Id: 1939185 => Updated with Vin: 3GKEC16T01G124758 ## Mail History Id: 29349097, Consumer Id: 1051993, Address Id: 5990461 => Updated with Vin: 1G6KD52B2RU284474 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 991 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-03 10:13:45') AND us2_order_type_id = 3 ## Order found: 1271 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1271 AND product_id = 140 ## Job Group Found: '464' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('464') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408007') AND customer_id = 3697 ## Mailing found: '12603' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 992 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-03 10:16:07') AND us2_order_type_id = 3 ## Order found: 1272 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1272 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3815 ## Mailing found: '12714' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616190, Consumer Id: 1359325, Address Id: 3450686 => Updated with Vin: 1HGCM82623A036757 ## Mail History Id: 29615014, Consumer Id: 1373312, Address Id: 6160611 => Updated with Vin: 2HGES26864H633324 ## Mail History Id: 29614738, Consumer Id: 1377211, Address Id: 6159648 => Updated with Vin: 2HGFG11816H501968 ## Mail History Id: 29616016, Consumer Id: 1364229, Address Id: 9261086 => Updated with Vin: 5J6YH27766L025416 ## Mail History Id: 29614802, Consumer Id: 1364822, Address Id: 15635341 => Updated with Vin: 1HGCM66527A037855 ## Mail History Id: 29615100, Consumer Id: 1366798, Address Id: 15639621 => Updated with Vin: 1HGFA16888L020440 ## Mail History Id: 29616230, Consumer Id: 1379623, Address Id: 15671990 => Updated with Vin: JHMFA36277S026979 ## Mail History Id: 29614832, Consumer Id: 1378555, Address Id: 15634776 => Updated with Vin: SHSRD78895U322992 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 993 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-03 11:08:07') AND us2_order_type_id = 3 ## Order found: 1270 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1270 AND product_id = 113 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3416 ## Mailing found: '12619' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 994 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-03 11:10:01') AND us2_order_type_id = 3 ## Order found: 1273 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1273 AND product_id = 144 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3705 ## Mailing found: '12614' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349182, Consumer Id: 973604, Address Id: 11485909 => Updated with Vin: 1GKEC16Z04R252538 ## Mail History Id: 29349034, Consumer Id: 975461, Address Id: 14843841 => Updated with Vin: 1G4HP52K75U243827 ## Mail History Id: 29349142, Consumer Id: 963577, Address Id: 14836297 => Updated with Vin: 2G1WF52E759203178 ## Mail History Id: 29349176, Consumer Id: 968329, Address Id: 14834674 => Updated with Vin: 1GNCS13W312231405 ## Mail History Id: 29349116, Consumer Id: 972765, Address Id: 14843139 => Updated with Vin: 1GCHK23295F804808 ## Mail History Id: 29349096, Consumer Id: 972767, Address Id: 14843141 => Updated with Vin: 1GCDS13E788165811 ## Mail History Id: 29349058, Consumer Id: 972769, Address Id: 14843143 => Updated with Vin: 1GCEC14X78Z228479 ## Mail History Id: 29349168, Consumer Id: 972770, Address Id: 14839240 => Updated with Vin: 3GNCA13D18S683501 ## Mail History Id: 29349046, Consumer Id: 972771, Address Id: 14843144 => Updated with Vin: 2G1WT58N179293902 ## Mail History Id: 29349078, Consumer Id: 973944, Address Id: 14903205 => Updated with Vin: 1FAHP25WX8G104432 ## Mail History Id: 29349172, Consumer Id: 975922, Address Id: 11389401 => Updated with Vin: 1GKEC16Z85J182917 ## Mail History Id: 29349108, Consumer Id: 976204, Address Id: 14844288 => Updated with Vin: 2G1WH52K359339212 ## Mail History Id: 29349082, Consumer Id: 976493, Address Id: 14844463 => Updated with Vin: 1GNDX03EX1D152714 ## Mail History Id: 29349106, Consumer Id: 978028, Address Id: 14845323 => Updated with Vin: 1GNFC130X7R317686 ## Mail History Id: 29349066, Consumer Id: 980938, Address Id: 14846850 => Updated with Vin: 1GNFC13037R239543 ## Mail History Id: 29349072, Consumer Id: 980937, Address Id: 11386719 => Updated with Vin: 1FAFP55U81A146386 ## Mail History Id: 29349090, Consumer Id: 980942, Address Id: 14846855 => Updated with Vin: 2G2FS22K322171197 ## Total mail_history records updated with vin numbers: 17 out of 30 ============================================================ ====== Tracking Id: 995 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-03 11:10:19') AND us2_order_type_id = 3 ## Order found: 1273 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1273 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 996 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-03 11:11:25') AND us2_order_type_id = 3 ## Order found: 1274 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1274 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3721 ## Mailing found: '12615' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29348740, Consumer Id: 1017057, Address Id: 6659382 => Updated with Vin: JM1FE173550152042 ## Mail History Id: 29348766, Consumer Id: 1017369, Address Id: 6662607 => Updated with Vin: JM3ER293670162477 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 997 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-03 11:37:04') AND us2_order_type_id = 3 ## Order found: 1275 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1275 AND product_id = 142 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3357 ## Mailing found: '12609' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29348877, Consumer Id: 909805, Address Id: 11940035 => Updated with Vin: 1FTZR44V93PA39028 ## Mail History Id: 29348821, Consumer Id: 909514, Address Id: 11766739 => Updated with Vin: 1FMZU73E4YZA93426 ## Mail History Id: 29348999, Consumer Id: 153600, Address Id: 395834 => Updated with Vin: JM1BK124261428616 ## Mail History Id: 29348779, Consumer Id: 194750, Address Id: 404823 => Updated with Vin: 1FAFP42X31F239389 ## Mail History Id: 29348691, Consumer Id: 197358, Address Id: 406505 => Updated with Vin: 1LNHM87A11Y671356 ## Mail History Id: 29349426, Consumer Id: 188505, Address Id: 398682 => Updated with Vin: 1FTPW12564KC44080 ## Mail History Id: 29348853, Consumer Id: 197677, Address Id: 406792 => Updated with Vin: JM1FE173040109419 ## Mail History Id: 29348793, Consumer Id: 188299, Address Id: 398639 => Updated with Vin: 1FMYU02Z25KC30018 ## Mail History Id: 29348717, Consumer Id: 909509, Address Id: 11939832 => Updated with Vin: 1HGCM72673A002792 ## Mail History Id: 29348947, Consumer Id: 153698, Address Id: 254130 => Updated with Vin: 1FAFP33Z13W240473 ## Mail History Id: 29348929, Consumer Id: 188878, Address Id: 397995 => Updated with Vin: 1FAFP34Z24W103865 ## Mail History Id: 29348685, Consumer Id: 190075, Address Id: 401969 => Updated with Vin: 1YVHP84D455M17894 ## Mail History Id: 29348911, Consumer Id: 152448, Address Id: 394775 => Updated with Vin: JM1BK12GX61469330 ## Mail History Id: 29348735, Consumer Id: 909804, Address Id: 401040 => Updated with Vin: 1FTWX30Y56EA58985 ## Mail History Id: 29349402, Consumer Id: 154396, Address Id: 396561 => Updated with Vin: 1ZVHT82H575267172 ## Mail History Id: 29348957, Consumer Id: 195816, Address Id: 405053 => Updated with Vin: 1FAFP42X2XF194129 ## Mail History Id: 29348721, Consumer Id: 187860, Address Id: 398511 => Updated with Vin: 1FAFP53S4WA106461 ## Mail History Id: 29348995, Consumer Id: 190736, Address Id: 402344 => Updated with Vin: 2FMDA534X3BA53345 ## Mail History Id: 29348837, Consumer Id: 189795, Address Id: 400639 => Updated with Vin: JM3LW28A430342907 ## Mail History Id: 29349392, Consumer Id: 873336, Address Id: 11912826 => Updated with Vin: 1FABP42E2KF127178 ## Mail History Id: 29348703, Consumer Id: 191247, Address Id: 402378 => Updated with Vin: 1YVGF22C4Y5163095 ## Total mail_history records updated with vin numbers: 21 out of 21 ============================================================ ====== Tracking Id: 998 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-03 11:37:08') AND us2_order_type_id = 3 ## Order found: 1275 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1275 AND product_id = 114 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3357 ## Mailing found: '12618' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 999 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-03 12:09:10') AND us2_order_type_id = 3 ## Order found: 1276 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1276 AND product_id = 113 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3427 ## Mailing found: '12620' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349716, Consumer Id: 498415, Address Id: 9832407 => Updated with Vin: 1HGCM716X3A000309 ## Mail History Id: 29349566, Consumer Id: 505669, Address Id: 9840629 => Updated with Vin: 1HGCM56465L002433 ## Mail History Id: 29349545, Consumer Id: 495265, Address Id: 9830159 => Updated with Vin: JHMCB7677NC007648 ## Mail History Id: 29349548, Consumer Id: 510971, Address Id: 9828884 => Updated with Vin: 5FNRL38755B063170 ## Mail History Id: 29349682, Consumer Id: 505080, Address Id: 9839948 => Updated with Vin: 1HGES16315L010292 ## Mail History Id: 29349510, Consumer Id: 491412, Address Id: 9827265 => Updated with Vin: 1HGCG668X1A002523 ## Mail History Id: 29349544, Consumer Id: 491645, Address Id: 9827455 => Updated with Vin: 1HGCG3151WA017432 ## Mail History Id: 29349598, Consumer Id: 504454, Address Id: 9827566 => Updated with Vin: JHMES96684S018707 ## Mail History Id: 29349676, Consumer Id: 494405, Address Id: 9829495 => Updated with Vin: 1HGCG16582A048815 ## Mail History Id: 29349718, Consumer Id: 512877, Address Id: 9845096 => Updated with Vin: 1HGEJ8241XL074104 ## Mail History Id: 29349572, Consumer Id: 473970, Address Id: 9835370 => Updated with Vin: 5FNYF18657B004914 ## Mail History Id: 29349514, Consumer Id: 474261, Address Id: 8194283 => Updated with Vin: 1HGFA168X7L030076 ## Mail History Id: 29349606, Consumer Id: 475077, Address Id: 8195133 => Updated with Vin: 1HGCM56307A139597 ## Total mail_history records updated with vin numbers: 13 out of 13 ============================================================ ====== Tracking Id: 1000 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-03 12:09:21') AND us2_order_type_id = 3 ## Order found: 1276 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1276 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3427 ## Mailing found: '12620' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1001 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-03 12:09:35') AND us2_order_type_id = 3 ## Order found: 1277 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1277 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3471 ## Mailing found: '12612' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349030, Consumer Id: 807066, Address Id: 9894498 => Updated with Vin: 1GYEE637X50101227 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 1002 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-03 12:09:43') AND us2_order_type_id = 3 ## Order found: 1277 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1277 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3471 ## Mailing found: '12621' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349687, Consumer Id: 800567, Address Id: 10216440 => Updated with Vin: 1G6ET1297VU606865 ## Mail History Id: 29349705, Consumer Id: 802216, Address Id: 11871753 => Updated with Vin: 1G6KD54Y9YU342094 ## Mail History Id: 29349659, Consumer Id: 800553, Address Id: 7878147 => Updated with Vin: 3GYEK63NX3G156163 ## Mail History Id: 29349663, Consumer Id: 773039, Address Id: 11874247 => Updated with Vin: 1GYFK63887R419366 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1003 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-03 19:07:25') AND us2_order_type_id = 3 ## Order found: 1275 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1275 AND product_id = 55 ## Job Group Found: '459' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('459') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408002') AND customer_id = 3357 ## Mailing found: '12599' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349483, Consumer Id: 194265, Address Id: 403903 => Updated with Vin: 1FAFP44481F140831 ## Mail History Id: 29349497, Consumer Id: 1570241, Address Id: 16041813 => Updated with Vin: 1FAFP53U37A107880 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1004 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-04 08:08:07') AND us2_order_type_id = 3 ## Order found: 1287 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1287 AND product_id = 55 ## Job Group Found: '459' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('459') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408002') AND customer_id = 3230 ## Mailing found: '12598' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1005 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-04 08:37:18') AND us2_order_type_id = 3 ## Order found: 1287 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1287 AND product_id = 113 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3230 ## Mailing found: '12617' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349613, Consumer Id: 67754, Address Id: 50929 => Updated with Vin: 1FAHP24167G123936 ## Mail History Id: 29349585, Consumer Id: 103810, Address Id: 53856 => Updated with Vin: 1FTWW33F82EC41272 ## Mail History Id: 29349611, Consumer Id: 92393, Address Id: 50581 => Updated with Vin: 1FTSW21596EC79862 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1006 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-04 08:37:31') AND us2_order_type_id = 3 ## Order found: 1287 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1287 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3230 ## Mailing found: '12608' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349008, Consumer Id: 486850, Address Id: 9826136 => Updated with Vin: 1FTEF14N8TLA50342 ## Mail History Id: 29348646, Consumer Id: 67248, Address Id: 53105 => Updated with Vin: 1FMZU73W13UC38212 ## Mail History Id: 29348728, Consumer Id: 63287, Address Id: 50820 => Updated with Vin: 1FTNX21P54EB60764 ## Mail History Id: 29348724, Consumer Id: 93081, Address Id: 51511 => Updated with Vin: 1FTPW14V67KC91854 ## Mail History Id: 29348517, Consumer Id: 102650, Address Id: 52646 => Updated with Vin: 1FTNW21PX4EA36671 ## Mail History Id: 29348732, Consumer Id: 461722, Address Id: 9819546 => Updated with Vin: 3FAHP071X8R222432 ## Mail History Id: 29348572, Consumer Id: 67182, Address Id: 52346 => Updated with Vin: 1FAFP55U82G145222 ## Mail History Id: 29348700, Consumer Id: 92630, Address Id: 51024 => Updated with Vin: 1B3EL46R14N286851 ## Mail History Id: 29348706, Consumer Id: 66233, Address Id: 51641 => Updated with Vin: 1FTNX21F92EA29941 ## Mail History Id: 29348704, Consumer Id: 93544, Address Id: 52041 => Updated with Vin: 2FMDK38C08BA07483 ## Mail History Id: 29348562, Consumer Id: 67464, Address Id: 49658 => Updated with Vin: 2FMZA52225BA86624 ## Mail History Id: 29349010, Consumer Id: 486851, Address Id: 9826137 => Updated with Vin: 1LNLM81W9NY682576 ## Mail History Id: 29348488, Consumer Id: 92729, Address Id: 51142 => Updated with Vin: 1FAFP55U7YA270661 ## Mail History Id: 29348630, Consumer Id: 436301, Address Id: 53383 => Updated with Vin: 1FMRU1868XLB19591 ## Mail History Id: 29348550, Consumer Id: 63984, Address Id: 52323 => Updated with Vin: 1FTPX14544NB22746 ## Mail History Id: 29348510, Consumer Id: 102932, Address Id: 53444 => Updated with Vin: 1LNHM97V71Y714168 ## Mail History Id: 29348622, Consumer Id: 64712, Address Id: 47968 => Updated with Vin: 2FAFP74W32X159604 ## Mail History Id: 29348514, Consumer Id: 461539, Address Id: 9819342 => Updated with Vin: 1FTRW08632KA01830 ## Mail History Id: 29348720, Consumer Id: 65513, Address Id: 50148 => Updated with Vin: 1FTSW21PX6EA50513 ## Mail History Id: 29348584, Consumer Id: 460873, Address Id: 47504 => Updated with Vin: 1FMZU73W85ZA18300 ## Mail History Id: 29348271, Consumer Id: 544301, Address Id: 10323226 => Updated with Vin: 1FMZU73W85ZA18300 ## Mail History Id: 29348588, Consumer Id: 461720, Address Id: 50439 => Updated with Vin: 1FTPW14V28FA71198 ## Mail History Id: 29348566, Consumer Id: 63821, Address Id: 48983 => Updated with Vin: 1ZVFT80N255146385 ## Mail History Id: 29348602, Consumer Id: 461540, Address Id: 49736 => Updated with Vin: 1FTWX31P26EA80108 ## Mail History Id: 29348534, Consumer Id: 103406, Address Id: 53650 => Updated with Vin: 1FMEU33827UA24604 ## Mail History Id: 29348582, Consumer Id: 67114, Address Id: 51615 => Updated with Vin: 1FMDK041X5GA65964 ## Mail History Id: 29348600, Consumer Id: 38397, Address Id: 48086 => Updated with Vin: 1FAFP53205A153498 ## Mail History Id: 29348722, Consumer Id: 64409, Address Id: 52699 => Updated with Vin: 1FAFP55U63G247801 ## Mail History Id: 29348476, Consumer Id: 63824, Address Id: 48255 => Updated with Vin: 1FMYU01132KC84127 ## Mail History Id: 29348494, Consumer Id: 174073, Address Id: 445899 => Updated with Vin: 1FTPX14V88FB07196 ## Mail History Id: 29348508, Consumer Id: 92541, Address Id: 50876 => Updated with Vin: 1FTYR44E57PA19103 ## Mail History Id: 29348528, Consumer Id: 461541, Address Id: 9819344 => Updated with Vin: 1FTRX18L2YNB61567 ## Mail History Id: 29349002, Consumer Id: 461721, Address Id: 9819545 => Updated with Vin: 1FTPW12V38FB08505 ## Total mail_history records updated with vin numbers: 33 out of 34 ============================================================ ====== Tracking Id: 1007 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-04 09:11:17') AND us2_order_type_id = 3 ## Order found: 1288 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1288 AND product_id = 142 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3768 ## Mailing found: '12616' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349065, Consumer Id: 1107152, Address Id: 14953049 => Updated with Vin: 1GYFK66837R230555 ## Mail History Id: 29349273, Consumer Id: 1109660, Address Id: 2849562 => Updated with Vin: 1GYEE637380122084 ## Mail History Id: 29349059, Consumer Id: 1049445, Address Id: 14954207 => Updated with Vin: 1G6KD54Y1VU272702 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1008 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-04 10:11:15') AND us2_order_type_id = 3 ## Order found: 1289 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1289 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3416 ## Mailing found: '12610' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1009 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-04 10:15:17') AND us2_order_type_id = 3 ## Order found: 1290 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1290 AND product_id = 142 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3697 ## Mailing found: '12613' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349029, Consumer Id: 1044614, Address Id: 3240098 => Updated with Vin: 1GYFK66877R289222 ## Mail History Id: 29349311, Consumer Id: 1044900, Address Id: 14952964 => Updated with Vin: 1GYEK63N94R229914 ## Mail History Id: 29349017, Consumer Id: 1044974, Address Id: 6906170 => Updated with Vin: 1G6KE54Y53U198954 ## Mail History Id: 29349285, Consumer Id: 1045215, Address Id: 163305 => Updated with Vin: 1G6DW67V780121529 ## Mail History Id: 29349099, Consumer Id: 1048003, Address Id: 5989785 => Updated with Vin: 1G6DP567350214490 ## Mail History Id: 29349123, Consumer Id: 1045890, Address Id: 14953261 => Updated with Vin: 1G6DC67A650135018 ## Mail History Id: 29349243, Consumer Id: 1042145, Address Id: 3238842 => Updated with Vin: 1G6KD52Y8TU269764 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 1010 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-04 10:18:07') AND us2_order_type_id = 3 ## Order found: 1291 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1291 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3815 ## Mailing found: '12714' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29614794, Consumer Id: 1369118, Address Id: 15635686 => Updated with Vin: 5FNRL18933B024760 ## Mail History Id: 29616106, Consumer Id: 1363063, Address Id: 15635848 => Updated with Vin: 1HGCM56346A066670 ## Mail History Id: 29614626, Consumer Id: 1366045, Address Id: 15639042 => Updated with Vin: 5FNYF18597B026700 ## Mail History Id: 29614952, Consumer Id: 1371796, Address Id: 15635754 => Updated with Vin: 1HGCM66507A045985 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1011 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-04 11:07:26') AND us2_order_type_id = 3 ## Order found: 1292 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1292 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3486 ## Mailing found: '12622' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1012 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-04 11:12:11') AND us2_order_type_id = 3 ## Order found: 1293 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1293 AND product_id = 144 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3705 ## Mailing found: '12614' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1013 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-04 11:12:40') AND us2_order_type_id = 3 ## Order found: 1293 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1293 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3705 ## Mailing found: '12623' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1014 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-04 11:12:52') AND us2_order_type_id = 3 ## Order found: 1293 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1293 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1015 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-04 11:14:04') AND us2_order_type_id = 3 ## Order found: 1294 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1294 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3721 ## Mailing found: '12615' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29348764, Consumer Id: 1017501, Address Id: 6662409 => Updated with Vin: 4F4YR12UX1TM29930 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 1016 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-04 11:37:26') AND us2_order_type_id = 3 ## Order found: 1295 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1295 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3357 ## Mailing found: '12618' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349723, Consumer Id: 167628, Address Id: 434011 => Updated with Vin: JTJBT20X740033847 ## Mail History Id: 29349715, Consumer Id: 167627, Address Id: 434010 => Updated with Vin: 3FAHP08Z38R215763 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1017 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-04 12:10:17') AND us2_order_type_id = 3 ## Order found: 1296 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1296 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3427 ## Mailing found: '12620' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349588, Consumer Id: 502696, Address Id: 324743 => Updated with Vin: 5FNYF18464B006147 ## Mail History Id: 29349513, Consumer Id: 497404, Address Id: 9831677 => Updated with Vin: 1HGCG16571A010037 ## Mail History Id: 29349535, Consumer Id: 502662, Address Id: 9838585 => Updated with Vin: 2HGES16503H616632 ## Mail History Id: 29349520, Consumer Id: 491805, Address Id: 9827580 => Updated with Vin: JHLRD1840YC008332 ## Mail History Id: 29349547, Consumer Id: 491970, Address Id: 9827701 => Updated with Vin: JHLRD18451S007883 ## Mail History Id: 29349523, Consumer Id: 508654, Address Id: 9842473 => Updated with Vin: 2HKRL1854YH531298 ## Mail History Id: 29349516, Consumer Id: 496656, Address Id: 9831153 => Updated with Vin: 1HGCM66563A100806 ## Mail History Id: 29349574, Consumer Id: 474621, Address Id: 9836006 => Updated with Vin: 1HGFA16547L069266 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 1018 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-04 12:10:29') AND us2_order_type_id = 3 ## Order found: 1296 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1296 AND product_id = 113 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3427 ## Mailing found: '12620' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349602, Consumer Id: 500700, Address Id: 325851 => Updated with Vin: 2HKYF186X4H575666 ## Mail History Id: 29349604, Consumer Id: 491067, Address Id: 325868 => Updated with Vin: 1HGCG1656WA066395 ## Mail History Id: 29349698, Consumer Id: 498443, Address Id: 9827756 => Updated with Vin: 1HGCM66514A028947 ## Mail History Id: 29349632, Consumer Id: 495363, Address Id: 328003 => Updated with Vin: SHSRD78403U153682 ## Mail History Id: 29349666, Consumer Id: 495659, Address Id: 329958 => Updated with Vin: JHMES966X3S030193 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 1019 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-04 12:10:48') AND us2_order_type_id = 3 ## Order found: 1297 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1297 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3471 ## Mailing found: '12612' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349246, Consumer Id: 804397, Address Id: 7416245 => Updated with Vin: 1G6KD54Y54U146602 ## Mail History Id: 29349208, Consumer Id: 760441, Address Id: 7878390 => Updated with Vin: 1GYEK63N62R166042 ## Mail History Id: 29349366, Consumer Id: 804091, Address Id: 11872633 => Updated with Vin: 1G3HN52K6V4823029 ## Mail History Id: 29349298, Consumer Id: 799372, Address Id: 10216867 => Updated with Vin: 1G6KE57Y51U278070 ## Mail History Id: 29349244, Consumer Id: 799457, Address Id: 7416137 => Updated with Vin: 1G6KD54Y73U138273 ## Mail History Id: 29349282, Consumer Id: 798001, Address Id: 10216079 => Updated with Vin: 1G6KD54Y03U270274 ## Mail History Id: 29349294, Consumer Id: 807114, Address Id: 10216742 => Updated with Vin: 1G6KD57Y66U130956 ## Mail History Id: 29349250, Consumer Id: 800724, Address Id: 7416830 => Updated with Vin: 1G3WX52H42F201664 ## Mail History Id: 29349320, Consumer Id: 803875, Address Id: 10217722 => Updated with Vin: 1G6ET12911B104536 ## Mail History Id: 29349306, Consumer Id: 822893, Address Id: 10216457 => Updated with Vin: 1GYFK63827R348567 ## Mail History Id: 29349234, Consumer Id: 807999, Address Id: 7415665 => Updated with Vin: 1GYEK63N45R160924 ## Mail History Id: 29349262, Consumer Id: 760429, Address Id: 7416969 => Updated with Vin: 1G6KD57Y97U131696 ## Mail History Id: 29349378, Consumer Id: 801083, Address Id: 11871473 => Updated with Vin: 1GHDT13SX22215432 ## Mail History Id: 29349362, Consumer Id: 798842, Address Id: 11870064 => Updated with Vin: 1G6KD54Y83U142980 ## Mail History Id: 29349272, Consumer Id: 821978, Address Id: 10214911 => Updated with Vin: 1G6DW677770139464 ## Mail History Id: 29349324, Consumer Id: 806230, Address Id: 10217744 => Updated with Vin: 1GYEK63N14R318523 ## Mail History Id: 29349300, Consumer Id: 807484, Address Id: 10216920 => Updated with Vin: 1G6KD54Y64U196487 ## Mail History Id: 29349338, Consumer Id: 818069, Address Id: 10218443 => Updated with Vin: 3GYFK66N75G213602 ## Mail History Id: 29349328, Consumer Id: 807942, Address Id: 10217986 => Updated with Vin: 1GYEK63N93R158471 ## Mail History Id: 29349252, Consumer Id: 1530260, Address Id: 15925563 => Updated with Vin: 1GYFK63877R259500 ## Mail History Id: 29349196, Consumer Id: 822415, Address Id: 7878018 => Updated with Vin: 1G6KE57Y81U232992 ## Mail History Id: 29349360, Consumer Id: 822752, Address Id: 11876546 => Updated with Vin: 3GYFK62817G203585 ## Mail History Id: 29349354, Consumer Id: 806905, Address Id: 11876484 => Updated with Vin: 1GYFK63868R169479 ## Mail History Id: 29349290, Consumer Id: 806994, Address Id: 10216245 => Updated with Vin: 1G6DS57V080174661 ## Mail History Id: 29349232, Consumer Id: 807005, Address Id: 7415590 => Updated with Vin: 1G6DD67V280160244 ## Mail History Id: 29349374, Consumer Id: 807681, Address Id: 11877074 => Updated with Vin: 1G6EL13B4NU630171 ## Mail History Id: 29349238, Consumer Id: 823456, Address Id: 10559981 => Updated with Vin: 3GYFK66N56G129120 ## Mail History Id: 29349318, Consumer Id: 823441, Address Id: 11876595 => Updated with Vin: 1GYEK63N56R145916 ## Mail History Id: 29349330, Consumer Id: 804221, Address Id: 11872866 => Updated with Vin: 1GYEK63N34R218844 ## Mail History Id: 29349194, Consumer Id: 806962, Address Id: 10210046 => Updated with Vin: 1GNDX33L85D289088 ## Mail History Id: 29349302, Consumer Id: 806984, Address Id: 11876384 => Updated with Vin: 1GYEK63N75R191794 ## Mail History Id: 29349030, Consumer Id: 807066, Address Id: 9894498 => Updated with Vin: 1GYEE637X50101227 ## Mail History Id: 29349336, Consumer Id: 821995, Address Id: 10218298 => Updated with Vin: 1G6DW677670137219 ## Total mail_history records updated with vin numbers: 33 out of 35 ============================================================ ====== Tracking Id: 1020 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-04 12:10:58') AND us2_order_type_id = 3 ## Order found: 1297 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1297 AND product_id = 112 ## Job Group Found: '461' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('461') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408004') AND customer_id = 3471 ## Mailing found: '12621' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29349683, Consumer Id: 799388, Address Id: 10214780 => Updated with Vin: 1G3WX52H2XF356558 ## Mail History Id: 29349679, Consumer Id: 806635, Address Id: 7416589 => Updated with Vin: 1GYEK63N64R318890 ## Mail History Id: 29349681, Consumer Id: 798122, Address Id: 7416996 => Updated with Vin: 1G6KE57Y01U150285 ## Mail History Id: 29349657, Consumer Id: 802485, Address Id: 7877943 => Updated with Vin: 1G6DM577640111313 ## Mail History Id: 29349661, Consumer Id: 808008, Address Id: 7878683 => Updated with Vin: 3GYFK66N03G255798 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 1021 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-04 14:08:46') AND us2_order_type_id = 3 ## Order found: 1298 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1298 AND product_id = 143 ## Job Group Found: '458' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('458') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm080408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm080408001') AND customer_id = 3418 ## Mailing found: '12611' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29348663, Consumer Id: 680816, Address Id: 11794462 => Updated with Vin: 4M2CU91127KJ09002 ## Mail History Id: 29348435, Consumer Id: 610980, Address Id: 11755625 => Updated with Vin: 1G6KD57Y58U119613 ## Mail History Id: 29348509, Consumer Id: 626881, Address Id: 11764546 => Updated with Vin: 1G6KD54Y64U241069 ## Mail History Id: 29348395, Consumer Id: 630780, Address Id: 11771007 => Updated with Vin: 1G6DC67AX60123469 ## Mail History Id: 29348281, Consumer Id: 610433, Address Id: 11755160 => Updated with Vin: 1G6KD57956U133128 ## Mail History Id: 29348429, Consumer Id: 610472, Address Id: 6914323 => Updated with Vin: 1G6KD57938U147600 ## Mail History Id: 29348828, Consumer Id: 611019, Address Id: 11755658 => Updated with Vin: 1G6DW677050197283 ## Mail History Id: 29348633, Consumer Id: 610518, Address Id: 11755233 => Updated with Vin: 1G6DW67V380119034 ## Mail History Id: 29348800, Consumer Id: 610471, Address Id: 11755192 => Updated with Vin: 1G6DT57V180148633 ## Mail History Id: 29348363, Consumer Id: 610525, Address Id: 11755239 => Updated with Vin: 1G6KD57916U113510 ## Mail History Id: 29348667, Consumer Id: 680905, Address Id: 11794512 => Updated with Vin: 3GYEK63N13G216654 ## Mail History Id: 29348830, Consumer Id: 664146, Address Id: 11783474 => Updated with Vin: 1G6KF579X2U137602 ## Mail History Id: 29348463, Consumer Id: 612221, Address Id: 11755948 => Updated with Vin: 1G6DM57T760185467 ## Mail History Id: 29348337, Consumer Id: 611009, Address Id: 6608875 => Updated with Vin: 3GYFK62848G192289 ## Mail History Id: 29348401, Consumer Id: 674680, Address Id: 11790782 => Updated with Vin: 1G6DW677260146059 ## Mail History Id: 29348950, Consumer Id: 630744, Address Id: 11770978 => Updated with Vin: 1G6DP577570154634 ## Mail History Id: 29348389, Consumer Id: 665186, Address Id: 11784284 => Updated with Vin: 1G6KF57942U228798 ## Mail History Id: 29348367, Consumer Id: 674433, Address Id: 11790614 => Updated with Vin: 1G6DM57T560132363 ## Mail History Id: 29348535, Consumer Id: 610681, Address Id: 11755370 => Updated with Vin: 1G6DV57V680158388 ## Mail History Id: 29348347, Consumer Id: 611025, Address Id: 11755664 => Updated with Vin: 1GYEE637680102640 ## Mail History Id: 29348385, Consumer Id: 664453, Address Id: 11783711 => Updated with Vin: 1G6DM57N930155352 ## Mail History Id: 29348391, Consumer Id: 610986, Address Id: 11755630 => Updated with Vin: 1GYEE637880103417 ## Mail History Id: 29348681, Consumer Id: 610741, Address Id: 11755419 => Updated with Vin: 1G6DF577680150354 ## Mail History Id: 29348469, Consumer Id: 681112, Address Id: 11786880 => Updated with Vin: 2G2FV22G4Y2166232 ## Mail History Id: 29348932, Consumer Id: 610767, Address Id: 11755444 => Updated with Vin: 3GYFK62848G196052 ## Mail History Id: 29348587, Consumer Id: 612246, Address Id: 11755969 => Updated with Vin: 1G6DM577640138432 ## Mail History Id: 29348357, Consumer Id: 610778, Address Id: 11014445 => Updated with Vin: 1GYEE63A440172403 ## Mail History Id: 29348615, Consumer Id: 626901, Address Id: 11764561 => Updated with Vin: 1G6DP57V680124879 ## Mail History Id: 29348559, Consumer Id: 681129, Address Id: 8873834 => Updated with Vin: 1G6DP577560101446 ## Mail History Id: 29348593, Consumer Id: 680090, Address Id: 11794006 => Updated with Vin: 1G6DM57N630160461 ## Mail History Id: 29348307, Consumer Id: 610766, Address Id: 11755443 => Updated with Vin: 1G6DT57V080169957 ## Mail History Id: 29348353, Consumer Id: 681246, Address Id: 11794722 => Updated with Vin: 1D4HD38K75F588792 ## Mail History Id: 29348872, Consumer Id: 610782, Address Id: 11755457 => Updated with Vin: 1G6DJ577680167203 ## Mail History Id: 29348351, Consumer Id: 611013, Address Id: 11755652 => Updated with Vin: 1G6DF577580172667 ## Mail History Id: 29348904, Consumer Id: 681228, Address Id: 6609239 => Updated with Vin: 1G6DW677760183639 ## Mail History Id: 29348561, Consumer Id: 681072, Address Id: 11794616 => Updated with Vin: 1G6DM57T260168883 ## Mail History Id: 29348647, Consumer Id: 665851, Address Id: 11755947 => Updated with Vin: 1G6DM57N730160176 ## Mail History Id: 29348313, Consumer Id: 667854, Address Id: 6608681 => Updated with Vin: 1G6DM57N730101550 ## Mail History Id: 29348669, Consumer Id: 610366, Address Id: 11755098 => Updated with Vin: 1G6DW67V780118887 ## Mail History Id: 29348457, Consumer Id: 630743, Address Id: 6914464 => Updated with Vin: 1G6DW677470133315 ## Mail History Id: 29348896, Consumer Id: 681092, Address Id: 11794628 => Updated with Vin: 1G6DT57V680143623 ## Mail History Id: 29348960, Consumer Id: 676410, Address Id: 6772483 => Updated with Vin: 1G6KD57Y46U223507 ## Mail History Id: 29348627, Consumer Id: 674649, Address Id: 11790767 => Updated with Vin: 1G6DW677260145333 ## Mail History Id: 29348565, Consumer Id: 611057, Address Id: 11755689 => Updated with Vin: 1G6DT57V580174782 ## Mail History Id: 29348317, Consumer Id: 610982, Address Id: 11755627 => Updated with Vin: 1G6DF577780175487 ## Mail History Id: 29348599, Consumer Id: 663330, Address Id: 8873879 => Updated with Vin: 1G6DM577X40166699 ## Mail History Id: 29348379, Consumer Id: 681231, Address Id: 11794711 => Updated with Vin: 1G6KD57Y97U159689 ## Mail History Id: 29348501, Consumer Id: 610324, Address Id: 11755059 => Updated with Vin: 1GYFK66897R305002 ## Mail History Id: 29348617, Consumer Id: 610950, Address Id: 11755599 => Updated with Vin: 1G6DK67V180168342 ## Mail History Id: 29348852, Consumer Id: 611032, Address Id: 11755670 => Updated with Vin: 1G6DD67V580168953 ## Mail History Id: 29348309, Consumer Id: 611040, Address Id: 11755677 => Updated with Vin: 1G6DW67V080119007 ## Mail History Id: 29348637, Consumer Id: 679673, Address Id: 11784550 => Updated with Vin: 1G6DP577870174747 ## Mail History Id: 29348838, Consumer Id: 610976, Address Id: 11755622 => Updated with Vin: 1GYFK63878R107413 ## Mail History Id: 29348515, Consumer Id: 663318, Address Id: 11782852 => Updated with Vin: 1G6KD54Y55U234261 ## Mail History Id: 29348846, Consumer Id: 610998, Address Id: 11755641 => Updated with Vin: 1GYFK63818R192670 ## Mail History Id: 29348359, Consumer Id: 611050, Address Id: 11755684 => Updated with Vin: 1G6DS57V780177637 ## Mail History Id: 29348655, Consumer Id: 611169, Address Id: 11418271 => Updated with Vin: 1G6KD57YX8U164577 ## Mail History Id: 29348407, Consumer Id: 610912, Address Id: 11755569 => Updated with Vin: 1G6DW677160114199 ## Mail History Id: 29348431, Consumer Id: 630241, Address Id: 6914326 => Updated with Vin: 1G6KD57966U113194 ## Mail History Id: 29348888, Consumer Id: 681079, Address Id: 11794623 => Updated with Vin: 1GNFK13058R155888 ## Mail History Id: 29348447, Consumer Id: 676198, Address Id: 11791739 => Updated with Vin: 1G6DW677960189247 ## Mail History Id: 29348826, Consumer Id: 677228, Address Id: 11755147 => Updated with Vin: 1GYEE637460219453 ## Mail History Id: 29348491, Consumer Id: 611091, Address Id: 11755721 => Updated with Vin: 1G6DC67A750165189 ## Mail History Id: 29348796, Consumer Id: 611086, Address Id: 11755716 => Updated with Vin: 1GYDE637140155364 ## Mail History Id: 29348573, Consumer Id: 679655, Address Id: 11793747 => Updated with Vin: 1G6DW677870146990 ## Mail History Id: 29348884, Consumer Id: 611157, Address Id: 11755771 => Updated with Vin: 3GYFK66N15G201123 ## Mail History Id: 29348533, Consumer Id: 668265, Address Id: 11786525 => Updated with Vin: 1G6KD54Y23U172363 ## Mail History Id: 29348577, Consumer Id: 678627, Address Id: 11770028 => Updated with Vin: 1G6DP577570141253 ## Mail History Id: 29348794, Consumer Id: 629138, Address Id: 11769703 => Updated with Vin: 1G6DW677950185214 ## Mail History Id: 29348980, Consumer Id: 629137, Address Id: 11769702 => Updated with Vin: 1GYEE63A060157318 ## Mail History Id: 29348962, Consumer Id: 670709, Address Id: 8876894 => Updated with Vin: 1G6KE54Y0XU700355 ## Mail History Id: 29348954, Consumer Id: 663337, Address Id: 11782865 => Updated with Vin: 1G6KD57Y17U129179 ## Mail History Id: 29348419, Consumer Id: 669177, Address Id: 11787150 => Updated with Vin: 1GYEE637240161999 ## Mail History Id: 29348952, Consumer Id: 611005, Address Id: 8876537 => Updated with Vin: 1G6DF577880174915 ## Mail History Id: 29348858, Consumer Id: 670065, Address Id: 11787760 => Updated with Vin: 1G6DM577840189107 ## Mail History Id: 29348499, Consumer Id: 669310, Address Id: 11787239 => Updated with Vin: 3GYFK66N04G214797 ## Mail History Id: 29348483, Consumer Id: 669596, Address Id: 11787457 => Updated with Vin: 1G6KD54Y04U226809 ## Mail History Id: 29348982, Consumer Id: 678967, Address Id: 11372895 => Updated with Vin: 1GYEE637170156796 ## Mail History Id: 29348567, Consumer Id: 630773, Address Id: 11771001 => Updated with Vin: 1G6KD57916U145809 ## Mail History Id: 29348541, Consumer Id: 679599, Address Id: 11793711 => Updated with Vin: 1G6DP577970175194 ## Mail History Id: 29348671, Consumer Id: 671184, Address Id: 11788503 => Updated with Vin: 1GYEE637240157743 ## Mail History Id: 29348413, Consumer Id: 610913, Address Id: 11755570 => Updated with Vin: 1GYFK63878R217040 ## Mail History Id: 29348495, Consumer Id: 663339, Address Id: 11782867 => Updated with Vin: 1G6DP567950115415 ## Mail History Id: 29348581, Consumer Id: 670328, Address Id: 11787931 => Updated with Vin: 3GYEK62NX4G290917 ## Mail History Id: 29348473, Consumer Id: 680001, Address Id: 11418074 => Updated with Vin: 1GYEE637170165806 ## Mail History Id: 29348956, Consumer Id: 610079, Address Id: 8876710 => Updated with Vin: 1G6DM577080107196 ## Mail History Id: 29348635, Consumer Id: 671439, Address Id: 11785341 => Updated with Vin: 1G6KD54Y55U153535 ## Mail History Id: 29348285, Consumer Id: 677867, Address Id: 11782845 => Updated with Vin: 1GYFK63837R282014 ## Mail History Id: 29348539, Consumer Id: 663946, Address Id: 11783334 => Updated with Vin: 1G3GS64C524238227 ## Mail History Id: 29348610, Consumer Id: 677973, Address Id: 11792752 => Updated with Vin: 1G6DW677370129336 ## Mail History Id: 29348611, Consumer Id: 679202, Address Id: 11789173 => Updated with Vin: 1G6DW677670167269 ## Mail History Id: 29348631, Consumer Id: 612367, Address Id: 8873910 => Updated with Vin: 1G6DW677260204073 ## Mail History Id: 29348946, Consumer Id: 679400, Address Id: 11793586 => Updated with Vin: 1GYFK63807R375007 ## Mail History Id: 29348417, Consumer Id: 630250, Address Id: 11770687 => Updated with Vin: 1G6DW677560137890 ## Mail History Id: 29348437, Consumer Id: 671762, Address Id: 11788868 => Updated with Vin: 1G6DP567950143375 ## Mail History Id: 29348479, Consumer Id: 671731, Address Id: 11785926 => Updated with Vin: 1G6DC67A550163246 ## Mail History Id: 29348321, Consumer Id: 670385, Address Id: 10326580 => Updated with Vin: 1G6KD54Y65U103517 ## Mail History Id: 29348519, Consumer Id: 612355, Address Id: 11756054 => Updated with Vin: 1GYDE637140131291 ## Mail History Id: 29348507, Consumer Id: 672394, Address Id: 11789297 => Updated with Vin: 1G6DC67A050194453 ## Mail History Id: 29349006, Consumer Id: 611044, Address Id: 11755680 => Updated with Vin: 1GYEE637580104900 ## Mail History Id: 29348331, Consumer Id: 629781, Address Id: 11770001 => Updated with Vin: 1G6DW677270160271 ## Mail History Id: 29348804, Consumer Id: 676479, Address Id: 8872007 => Updated with Vin: 1G6KD57Y56U214380 ## Mail History Id: 29348475, Consumer Id: 677400, Address Id: 11789909 => Updated with Vin: 1G6DW677170115094 ## Mail History Id: 29348874, Consumer Id: 612240, Address Id: 11755963 => Updated with Vin: 1G6KF57962U269756 ## Mail History Id: 29348537, Consumer Id: 673392, Address Id: 11789917 => Updated with Vin: 1G6DP567X50232677 ## Mail History Id: 29348906, Consumer Id: 676408, Address Id: 11418309 => Updated with Vin: 1G6KD57Y46U223698 ## Mail History Id: 29348295, Consumer Id: 681088, Address Id: 11790050 => Updated with Vin: 2G1WF55E129377044 ## Mail History Id: 29348886, Consumer Id: 668622, Address Id: 11786125 => Updated with Vin: 1G1JC1242TM129879 ## Mail History Id: 29348942, Consumer Id: 673630, Address Id: 11790092 => Updated with Vin: 1G6DC67A160101487 ## Mail History Id: 29348812, Consumer Id: 677907, Address Id: 11792707 => Updated with Vin: 1G6DW677970127820 ## Mail History Id: 29348591, Consumer Id: 612388, Address Id: 11756081 => Updated with Vin: 1G6KD54Y05U240923 ## Mail History Id: 29348563, Consumer Id: 680887, Address Id: 11785505 => Updated with Vin: 1GYEE637270178760 ## Mail History Id: 29348405, Consumer Id: 611034, Address Id: 11755672 => Updated with Vin: 1G6DT57V580175883 ## Mail History Id: 29348964, Consumer Id: 630239, Address Id: 11770679 => Updated with Vin: 1G6KF57942U238067 ## Mail History Id: 29348930, Consumer Id: 663338, Address Id: 11782866 => Updated with Vin: 1G6EL12Y4VU615143 ## Mail History Id: 29348425, Consumer Id: 679653, Address Id: 11793746 => Updated with Vin: 1GYFK66827R280654 ## Mail History Id: 29348547, Consumer Id: 673395, Address Id: 11789919 => Updated with Vin: 1G6DC67A750230221 ## Mail History Id: 29348816, Consumer Id: 610949, Address Id: 8872478 => Updated with Vin: 1G6DW67V780122292 ## Mail History Id: 29348822, Consumer Id: 674096, Address Id: 11790391 => Updated with Vin: 1G6KF57964U126115 ## Mail History Id: 29348471, Consumer Id: 610240, Address Id: 11754985 => Updated with Vin: 3GYFK62897G310447 ## Mail History Id: 29348860, Consumer Id: 626886, Address Id: 11764550 => Updated with Vin: 1G6DN57S140189872 ## Mail History Id: 29348467, Consumer Id: 630797, Address Id: 6914531 => Updated with Vin: 1G6DP577870161500 ## Mail History Id: 29348272, Consumer Id: 630741, Address Id: 11770976 => Updated with Vin: 1G6KF57973U123609 ## Mail History Id: 29348972, Consumer Id: 612187, Address Id: 11755926 => Updated with Vin: 1GYEK63N93R107116 ## Mail History Id: 29348443, Consumer Id: 673919, Address Id: 8873517 => Updated with Vin: 1GYEK63N76R103151 ## Mail History Id: 29348327, Consumer Id: 663334, Address Id: 10326678 => Updated with Vin: 1G6DP577360170698 ## Mail History Id: 29348301, Consumer Id: 611048, Address Id: 11755683 => Updated with Vin: 1G6DW67V580172009 ## Mail History Id: 29348818, Consumer Id: 610260, Address Id: 8872616 => Updated with Vin: 1G6DM577080125813 ## Mail History Id: 29348938, Consumer Id: 674441, Address Id: 6771917 => Updated with Vin: 1G6KD57Y86U111650 ## Mail History Id: 29348940, Consumer Id: 612340, Address Id: 11418378 => Updated with Vin: 1G6DW677270141302 ## Mail History Id: 29348287, Consumer Id: 612218, Address Id: 10326298 => Updated with Vin: 1G6DW677X60200918 ## Mail History Id: 29348421, Consumer Id: 675536, Address Id: 11791368 => Updated with Vin: 1G6DP577460148709 ## Mail History Id: 29348870, Consumer Id: 626928, Address Id: 11764582 => Updated with Vin: W06VR54R2YR081481 ## Mail History Id: 29348978, Consumer Id: 675523, Address Id: 6773177 => Updated with Vin: 1G6DP577X60174683 ## Mail History Id: 29348609, Consumer Id: 675457, Address Id: 11791326 => Updated with Vin: 1G6DP577860126275 ## Mail History Id: 29348595, Consumer Id: 610746, Address Id: 11755424 => Updated with Vin: 1G6KD57938U136581 ## Mail History Id: 29348299, Consumer Id: 676995, Address Id: 11755531 => Updated with Vin: 3GYFK628X7G117112 ## Mail History Id: 29348607, Consumer Id: 675817, Address Id: 11791514 => Updated with Vin: 1G6DP577260182406 ## Mail History Id: 29348315, Consumer Id: 630786, Address Id: 11771013 => Updated with Vin: 1G6KD57YX6U180520 ## Mail History Id: 29348415, Consumer Id: 675879, Address Id: 11015889 => Updated with Vin: 1G6DM57T860180214 ## Mail History Id: 29348856, Consumer Id: 610951, Address Id: 11755600 => Updated with Vin: 1G6KD57YX8U168757 ## Mail History Id: 29348966, Consumer Id: 679008, Address Id: 11755976 => Updated with Vin: 1G6KD57Y47U180112 ## Mail History Id: 29348810, Consumer Id: 676142, Address Id: 11791707 => Updated with Vin: 1G6DP577260181661 ## Mail History Id: 29348625, Consumer Id: 676091, Address Id: 11050401 => Updated with Vin: 1G6DP567450174193 ## Mail History Id: 29348623, Consumer Id: 677024, Address Id: 11792205 => Updated with Vin: 1G6DP577760105532 ## Mail History Id: 29348808, Consumer Id: 665714, Address Id: 11784679 => Updated with Vin: 1G6DM577840101446 ## Mail History Id: 29348876, Consumer Id: 677229, Address Id: 11792325 => Updated with Vin: 1G6DW677160219180 ## Mail History Id: 29348673, Consumer Id: 676375, Address Id: 11791842 => Updated with Vin: 1G6DM57T360200921 ## Mail History Id: 29348657, Consumer Id: 666500, Address Id: 8873978 => Updated with Vin: 1G6KE54YX3U206594 ## Mail History Id: 29348878, Consumer Id: 676080, Address Id: 11791674 => Updated with Vin: 1G6DW677X60191640 ## Mail History Id: 29348485, Consumer Id: 676857, Address Id: 11792116 => Updated with Vin: 1G6DW677760135767 ## Mail History Id: 29348850, Consumer Id: 679519, Address Id: 11793655 => Updated with Vin: 1GYEE637660208261 ## Mail History Id: 29348487, Consumer Id: 676883, Address Id: 8873561 => Updated with Vin: 1G6DW677460217780 ## Mail History Id: 29348910, Consumer Id: 675841, Address Id: 11791529 => Updated with Vin: 1G6KD57YX6U178203 ## Mail History Id: 29348675, Consumer Id: 676682, Address Id: 11792021 => Updated with Vin: 1G6DP577160212849 ## Mail History Id: 29348343, Consumer Id: 674102, Address Id: 11790394 => Updated with Vin: 1G6DM57T760124829 ## Mail History Id: 29348641, Consumer Id: 663887, Address Id: 11783290 => Updated with Vin: 1G6DM57N430114501 ## Mail History Id: 29348968, Consumer Id: 629266, Address Id: 11769712 => Updated with Vin: 1G6KD54Y15U235309 ## Mail History Id: 29348441, Consumer Id: 676469, Address Id: 11791898 => Updated with Vin: 1GYEE637060202021 ## Mail History Id: 29348371, Consumer Id: 673849, Address Id: 11790228 => Updated with Vin: 1G6DW677760108634 ## Mail History Id: 29348798, Consumer Id: 674737, Address Id: 11790821 => Updated with Vin: 1G6KD57996U117224 ## Mail History Id: 29348341, Consumer Id: 676591, Address Id: 11791970 => Updated with Vin: 1G6DP577360213758 ## Mail History Id: 29348854, Consumer Id: 676993, Address Id: 11792189 => Updated with Vin: 1G6DM57T470105155 ## Mail History Id: 29348916, Consumer Id: 676590, Address Id: 11791969 => Updated with Vin: 1G6DM577X40110097 ## Mail History Id: 29348603, Consumer Id: 630257, Address Id: 11770693 => Updated with Vin: 1G6KD57997U124305 ## Mail History Id: 29348936, Consumer Id: 677371, Address Id: 11792401 => Updated with Vin: 1G6DP577670118953 ## Mail History Id: 29348848, Consumer Id: 678408, Address Id: 11793006 => Updated with Vin: 1G6DW677560215312 ## Mail History Id: 29348643, Consumer Id: 673931, Address Id: 11418249 => Updated with Vin: 1G6DW677660104428 ## Mail History Id: 29348605, Consumer Id: 629258, Address Id: 11769706 => Updated with Vin: 1GYEE637160217059 ## Mail History Id: 29348585, Consumer Id: 678261, Address Id: 11792921 => Updated with Vin: 1G6DM57T660198050 ## Mail History Id: 29348928, Consumer Id: 667732, Address Id: 10127633 => Updated with Vin: 1G6DM57N230127781 ## Mail History Id: 29348339, Consumer Id: 612287, Address Id: 11755999 => Updated with Vin: 1G6KD54Y14U181850 ## Mail History Id: 29348551, Consumer Id: 678306, Address Id: 11792947 => Updated with Vin: 1G6DP577170133022 ## Mail History Id: 29348545, Consumer Id: 678786, Address Id: 11793221 => Updated with Vin: 1GYFK63847R220315 ## Mail History Id: 29348824, Consumer Id: 678551, Address Id: 11755914 => Updated with Vin: 1G6DW677570142136 ## Mail History Id: 29348918, Consumer Id: 662917, Address Id: 11782635 => Updated with Vin: 1G6DW677960160962 ## Mail History Id: 29348645, Consumer Id: 677866, Address Id: 11792683 => Updated with Vin: 1G6DW677070129164 ## Mail History Id: 29348361, Consumer Id: 678554, Address Id: 11764547 => Updated with Vin: 1GYEE637270145757 ## Mail History Id: 29348503, Consumer Id: 678626, Address Id: 11793136 => Updated with Vin: 1GYFK63887R306226 ## Mail History Id: 29348613, Consumer Id: 610978, Address Id: 11755556 => Updated with Vin: 1G6DC67A170130909 ## Mail History Id: 29348948, Consumer Id: 677913, Address Id: 11792710 => Updated with Vin: 1G6DW677X70126630 ## Mail History Id: 29348477, Consumer Id: 678686, Address Id: 11793164 => Updated with Vin: 1GYFK66817R332484 ## Mail History Id: 29348984, Consumer Id: 612310, Address Id: 11756018 => Updated with Vin: 1GYEK13R9XR417603 ## Mail History Id: 29348583, Consumer Id: 678989, Address Id: 11793341 => Updated with Vin: 1G6KD57Y96U131292 ## Mail History Id: 29348319, Consumer Id: 662913, Address Id: 11782632 => Updated with Vin: 1GYEE637370133469 ## Mail History Id: 29348653, Consumer Id: 674374, Address Id: 11790578 => Updated with Vin: 1G6KD57Y46U112021 ## Mail History Id: 29348908, Consumer Id: 610279, Address Id: 6609301 => Updated with Vin: 1G6KD57Y68U124383 ## Mail History Id: 29348639, Consumer Id: 679693, Address Id: 11793765 => Updated with Vin: 1GYEE637170144812 ## Mail History Id: 29348525, Consumer Id: 662901, Address Id: 11782624 => Updated with Vin: 1GYEE637870166600 ## Mail History Id: 29348511, Consumer Id: 674664, Address Id: 11790775 => Updated with Vin: 1G6KD579X6U122366 ## Mail History Id: 29348890, Consumer Id: 678441, Address Id: 11793026 => Updated with Vin: 1G6DM577640170698 ## Mail History Id: 29348323, Consumer Id: 671844, Address Id: 8873042 => Updated with Vin: 1GYEE63A550137693 ## Mail History Id: 29348505, Consumer Id: 678537, Address Id: 11418108 => Updated with Vin: 1G6DM57T770145603 ## Mail History Id: 29348423, Consumer Id: 679621, Address Id: 6609016 => Updated with Vin: 1GYEE637540183446 ## Mail History Id: 29348375, Consumer Id: 679199, Address Id: 11793468 => Updated with Vin: 1G6DP577070166836 ## Mail History Id: 29348922, Consumer Id: 679527, Address Id: 11793661 => Updated with Vin: 1G6DP577970166785 ## Mail History Id: 29348433, Consumer Id: 662893, Address Id: 11782616 => Updated with Vin: 1G6KS54Y9XU940397 ## Mail History Id: 29348279, Consumer Id: 679501, Address Id: 10326233 => Updated with Vin: 1G6DP577470179850 ## Mail History Id: 29348836, Consumer Id: 677730, Address Id: 8878493 => Updated with Vin: 1G6DW677X70120276 ## Mail History Id: 29348998, Consumer Id: 679600, Address Id: 11793712 => Updated with Vin: 1GYEE637270175289 ## Mail History Id: 29348297, Consumer Id: 680635, Address Id: 11794355 => Updated with Vin: 1GYEE637370172711 ## Mail History Id: 29348832, Consumer Id: 680348, Address Id: 6773351 => Updated with Vin: 1G6YV36A775600620 ## Mail History Id: 29348383, Consumer Id: 610431, Address Id: 11755158 => Updated with Vin: 1G6DF577680142254 ## Mail History Id: 29348451, Consumer Id: 610195, Address Id: 6914430 => Updated with Vin: 1G6KD57Y58U109406 ## Mail History Id: 29348381, Consumer Id: 679753, Address Id: 11793807 => Updated with Vin: 1GYEE637170182699 ## Mail History Id: 29348493, Consumer Id: 612258, Address Id: 11755977 => Updated with Vin: 1G1ZU64804F240241 ## Mail History Id: 29348996, Consumer Id: 610992, Address Id: 11755636 => Updated with Vin: 1G6KF57971U297371 ## Mail History Id: 29348629, Consumer Id: 679912, Address Id: 11793901 => Updated with Vin: 1G6DM57T160163481 ## Mail History Id: 29348349, Consumer Id: 679672, Address Id: 11793753 => Updated with Vin: 1G6DC67A770155927 ## Mail History Id: 29348465, Consumer Id: 612350, Address Id: 11756049 => Updated with Vin: 1G6DP577870180533 ## Mail History Id: 29348571, Consumer Id: 663760, Address Id: 11783190 => Updated with Vin: 1G6KY54933U172093 ## Mail History Id: 29348976, Consumer Id: 679395, Address Id: 11418427 => Updated with Vin: 1G6DP577470180397 ## Mail History Id: 29348880, Consumer Id: 679630, Address Id: 11793730 => Updated with Vin: 1GYEE637870146816 ## Mail History Id: 29348958, Consumer Id: 679264, Address Id: 11793504 => Updated with Vin: 1G6DP577270164151 ## Mail History Id: 29348289, Consumer Id: 680691, Address Id: 11788413 => Updated with Vin: 1G6KS54Y84U130528 ## Mail History Id: 29348277, Consumer Id: 610997, Address Id: 11755640 => Updated with Vin: 1G6DF577280177552 ## Mail History Id: 29348293, Consumer Id: 679827, Address Id: 11793863 => Updated with Vin: 1G6DX67D370149704 ## Mail History Id: 29348579, Consumer Id: 670649, Address Id: 11788149 => Updated with Vin: 1GYEE63A240151825 ## Mail History Id: 29348659, Consumer Id: 679005, Address Id: 11793352 => Updated with Vin: 1G6DP577570161096 ## Mail History Id: 29348665, Consumer Id: 612297, Address Id: 11756008 => Updated with Vin: 1G6KD54Y22U200905 ## Mail History Id: 29348900, Consumer Id: 626904, Address Id: 11764564 => Updated with Vin: 1G6YX36D465603932 ## Mail History Id: 29348992, Consumer Id: 680057, Address Id: 11793984 => Updated with Vin: 1G6KD54Y84U126442 ## Mail History Id: 29348866, Consumer Id: 680154, Address Id: 11794043 => Updated with Vin: 1G6DP577X70195597 ## Mail History Id: 29348914, Consumer Id: 667855, Address Id: 11786231 => Updated with Vin: 1G6KD52B7SU270687 ## Mail History Id: 29348283, Consumer Id: 680313, Address Id: 11794147 => Updated with Vin: 1G6KF579X3U282124 ## Mail History Id: 29348589, Consumer Id: 665678, Address Id: 11783555 => Updated with Vin: 1G6KE57YX1U174061 ## Mail History Id: 29348882, Consumer Id: 680440, Address Id: 11794235 => Updated with Vin: 1G6DW677950221953 ## Mail History Id: 29348924, Consumer Id: 674404, Address Id: 11790597 => Updated with Vin: 1G6KD57Y26U108680 ## Mail History Id: 29348844, Consumer Id: 680038, Address Id: 11755011 => Updated with Vin: 1G6DP577770197565 ## Mail History Id: 29348393, Consumer Id: 626899, Address Id: 8873434 => Updated with Vin: 1G6DW677760217241 ## Mail History Id: 29348994, Consumer Id: 680155, Address Id: 11794044 => Updated with Vin: 1G6DP577970196272 ## Mail History Id: 29348403, Consumer Id: 612178, Address Id: 11755919 => Updated with Vin: 1GYEE63A840150470 ## Mail History Id: 29348333, Consumer Id: 680315, Address Id: 11794149 => Updated with Vin: 1G6DP577470161266 ## Mail History Id: 29348679, Consumer Id: 667837, Address Id: 11786222 => Updated with Vin: 1G6KE57Y61U256563 ## Mail History Id: 29348455, Consumer Id: 678629, Address Id: 11793137 => Updated with Vin: 1G6DW677470142659 ## Mail History Id: 29348553, Consumer Id: 664141, Address Id: 11783469 => Updated with Vin: 1G6KE54Y82U263861 ## Mail History Id: 29348990, Consumer Id: 610793, Address Id: 6773259 => Updated with Vin: 1G6KD57Y08U138859 ## Mail History Id: 29348683, Consumer Id: 669215, Address Id: 11787176 => Updated with Vin: 1G6KD54Y34U215805 ## Mail History Id: 29348926, Consumer Id: 677403, Address Id: 6771770 => Updated with Vin: 1G6DW677070115409 ## Mail History Id: 29348944, Consumer Id: 664379, Address Id: 6772097 => Updated with Vin: 1G6KD54YX3U266569 ## Mail History Id: 29348912, Consumer Id: 677969, Address Id: 11784574 => Updated with Vin: 1G6DX67D770118147 ## Mail History Id: 29348305, Consumer Id: 630756, Address Id: 11770988 => Updated with Vin: 1G6KD54Y9YU283323 ## Mail History Id: 29348894, Consumer Id: 674787, Address Id: 11790856 => Updated with Vin: 1G6DW677360142098 ## Mail History Id: 29348373, Consumer Id: 678750, Address Id: 6913215 => Updated with Vin: 1G6DC67A370112928 ## Mail History Id: 29348569, Consumer Id: 630752, Address Id: 11770984 => Updated with Vin: 1G6KD57907U186563 ## Mail History Id: 29348453, Consumer Id: 674645, Address Id: 11790764 => Updated with Vin: 1G6DW677460143714 ## Mail History Id: 29348902, Consumer Id: 610660, Address Id: 11755355 => Updated with Vin: 1GYFK66898R157385 ## Mail History Id: 29348387, Consumer Id: 679417, Address Id: 11784751 => Updated with Vin: 1G6DP577270131778 ## Mail History Id: 29348449, Consumer Id: 676204, Address Id: 11791742 => Updated with Vin: 1G6DW677760190235 ## Mail History Id: 29348970, Consumer Id: 669461, Address Id: 11787353 => Updated with Vin: 1GYEE637040175609 ## Mail History Id: 29348988, Consumer Id: 629259, Address Id: 11418437 => Updated with Vin: 1G6KD57906U127964 ## Mail History Id: 29348291, Consumer Id: 665852, Address Id: 11784780 => Updated with Vin: 1G6KD54Y63U175055 ## Mail History Id: 29348661, Consumer Id: 672408, Address Id: 11782847 => Updated with Vin: 1G6DW677250192389 ## Mail History Id: 29348459, Consumer Id: 678631, Address Id: 11793138 => Updated with Vin: 1G6DC67A270141031 ## Mail History Id: 29348521, Consumer Id: 612270, Address Id: 11755986 => Updated with Vin: 1G6KF57942U263762 ## Mail History Id: 29348549, Consumer Id: 664452, Address Id: 11783710 => Updated with Vin: 1G6KF52Y2SU271065 ## Mail History Id: 29348557, Consumer Id: 612202, Address Id: 11755937 => Updated with Vin: 1G6KD54Y42U147415 ## Mail History Id: 29348365, Consumer Id: 678514, Address Id: 11417937 => Updated with Vin: 1GYEE637870140045 ## Mail History Id: 29348489, Consumer Id: 666207, Address Id: 11785046 => Updated with Vin: 1G6KS54YXXU900927 ## Mail History Id: 29348445, Consumer Id: 679654, Address Id: 11755406 => Updated with Vin: 1GYFK63817R253031 ## Mail History Id: 29349325, Consumer Id: 610952, Address Id: 11755601 => Updated with Vin: 1GYFK63878R108030 ## Mail History Id: 29348974, Consumer Id: 666379, Address Id: 11785166 => Updated with Vin: 1G6KD54Y91U174169 ## Mail History Id: 29348275, Consumer Id: 675710, Address Id: 11784097 => Updated with Vin: 1G6KD54Y9XU809495 ## Mail History Id: 29348497, Consumer Id: 676636, Address Id: 11755528 => Updated with Vin: 1G6DP577960211285 ## Mail History Id: 29348543, Consumer Id: 610545, Address Id: 11755255 => Updated with Vin: 1GYFK63808R157506 ## Mail History Id: 29348934, Consumer Id: 612211, Address Id: 11755944 => Updated with Vin: 1GYEE637650116193 ## Mail History Id: 29348269, Consumer Id: 680503, Address Id: 10323781 => Updated with Vin: 1G6DC67AX60120958 ## Mail History Id: 29348864, Consumer Id: 676987, Address Id: 11792183 => Updated with Vin: 1G6KD57Y16U243374 ## Mail History Id: 29348461, Consumer Id: 664293, Address Id: 11783592 => Updated with Vin: 1G6KY54922U104608 ## Mail History Id: 29348649, Consumer Id: 663333, Address Id: 11782862 => Updated with Vin: 1GYEE637940158212 ## Mail History Id: 29348311, Consumer Id: 666765, Address Id: 11785443 => Updated with Vin: 1G6CB5150J4215535 ## Mail History Id: 29348806, Consumer Id: 611023, Address Id: 11755662 => Updated with Vin: 1G6KD57YX8U114052 ## Mail History Id: 29348355, Consumer Id: 665002, Address Id: 11784145 => Updated with Vin: 1G6KE54Y32U145314 ## Mail History Id: 29348986, Consumer Id: 662886, Address Id: 11782610 => Updated with Vin: 1GKFK66827J198528 ## Mail History Id: 29348329, Consumer Id: 610953, Address Id: 11755602 => Updated with Vin: 1J4FA44S76P700781 ## Mail History Id: 29348920, Consumer Id: 610051, Address Id: 6609629 => Updated with Vin: 1GYFK66877R368776 ## Mail History Id: 29348531, Consumer Id: 679869, Address Id: 11787746 => Updated with Vin: 1G6YV34A155602539 ## Mail History Id: 29348892, Consumer Id: 681200, Address Id: 11785062 => Updated with Vin: 1GYFK63837R397955 ## Mail History Id: 29348481, Consumer Id: 610771, Address Id: 11755448 => Updated with Vin: 1G6DR57V680166429 ## Mail History Id: 29348619, Consumer Id: 610096, Address Id: 11754857 => Updated with Vin: 1GYFK668X7R410809 ## Mail History Id: 29348411, Consumer Id: 678281, Address Id: 11784385 => Updated with Vin: 1GCHK23U25F888102 ## Mail History Id: 29348427, Consumer Id: 680604, Address Id: 11794334 => Updated with Vin: 1G6KD54Y71U210585 ## Mail History Id: 29348369, Consumer Id: 610202, Address Id: 11754952 => Updated with Vin: 1G6DM577X80116830 ## Mail History Id: 29348377, Consumer Id: 610204, Address Id: 11754954 => Updated with Vin: 1G6DM577X80113491 ## Mail History Id: 29348273, Consumer Id: 610245, Address Id: 11754990 => Updated with Vin: 1G6DH577980129282 ## Mail History Id: 29348345, Consumer Id: 680710, Address Id: 11790818 => Updated with Vin: 1G6DP577270116374 ## Mail History Id: 29348335, Consumer Id: 680749, Address Id: 6608866 => Updated with Vin: 1G6DW677X60182288 ## Mail History Id: 29348303, Consumer Id: 669733, Address Id: 11783473 => Updated with Vin: 1G2JB12F237201808 ## Mail History Id: 29348868, Consumer Id: 612230, Address Id: 11755954 => Updated with Vin: 1G6DC67A550220738 ## Mail History Id: 29348651, Consumer Id: 680729, Address Id: 11794412 => Updated with Vin: 3GKFK16ZX6G218276 ## Mail History Id: 29348523, Consumer Id: 610367, Address Id: 11755099 => Updated with Vin: 1G6DR57V480135891 ## Mail History Id: 29348409, Consumer Id: 668819, Address Id: 11770985 => Updated with Vin: 1G6KS52Y5SU837442 ## Mail History Id: 29348834, Consumer Id: 667524, Address Id: 11783461 => Updated with Vin: 1G6KE57Y02U160512 ## Mail History Id: 29348597, Consumer Id: 677648, Address Id: 11418222 => Updated with Vin: 1G6DP577770124566 ## Mail History Id: 29348842, Consumer Id: 610356, Address Id: 11755088 => Updated with Vin: 1G6DP57V480122824 ## Mail History Id: 29348862, Consumer Id: 677944, Address Id: 11792728 => Updated with Vin: 1G6DW677560216198 ## Mail History Id: 29348439, Consumer Id: 612375, Address Id: 11756070 => Updated with Vin: 1GYEE637250187973 ## Mail History Id: 29348555, Consumer Id: 663336, Address Id: 11782864 => Updated with Vin: 1G6EL12Y62B101849 ## Mail History Id: 29348527, Consumer Id: 626894, Address Id: 11764557 => Updated with Vin: 1G6KF579X2U298306 ## Total mail_history records updated with vin numbers: 299 out of 310 ============================================================ ====== Tracking Id: 1022 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3920 AND DATE(cart_created_date) = DATE('2008-08-05 08:12:04') AND us2_order_type_id = 3 ## Order found: 1312 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1312 AND product_id = 54 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 1023 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-05 08:14:35') AND us2_order_type_id = 3 ## Order found: 1325 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1325 AND product_id = 55 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1024 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-05 08:43:40') AND us2_order_type_id = 3 ## Order found: 1325 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1325 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1025 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-05 09:17:15') AND us2_order_type_id = 3 ## Order found: 1314 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1314 AND product_id = 142 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3768 ## Mailing found: '12712' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1026 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-05 10:16:15') AND us2_order_type_id = 3 ## Order found: 1315 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1315 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3416 ## Mailing found: '12706' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615337, Consumer Id: 627231, Address Id: 11764771 => Updated with Vin: 1G6KD54Y93U256454 ## Mail History Id: 29614583, Consumer Id: 910093, Address Id: 11940192 => Updated with Vin: 1FMZU75W932ZA6310 ## Mail History Id: 29616384, Consumer Id: 909884, Address Id: 1961933 => Updated with Vin: 1G6DD67V080185045 ## Mail History Id: 29614739, Consumer Id: 689734, Address Id: 11795214 => Updated with Vin: 1G6DW677X60110474 ## Mail History Id: 29616320, Consumer Id: 630815, Address Id: 1967353 => Updated with Vin: 1G6KD54YX2U269373 ## Mail History Id: 29616338, Consumer Id: 684431, Address Id: 1960382 => Updated with Vin: 1G6KS54Y11U148770 ## Mail History Id: 29614629, Consumer Id: 693121, Address Id: 1969450 => Updated with Vin: 1G6KD54Y35U172763 ## Mail History Id: 29616368, Consumer Id: 909887, Address Id: 11797202 => Updated with Vin: 1G6DG577780191217 ## Mail History Id: 29615411, Consumer Id: 690378, Address Id: 8337044 => Updated with Vin: 1G6DM57N730163014 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 1027 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-05 10:19:49') AND us2_order_type_id = 3 ## Order found: 1316 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1316 AND product_id = 142 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3697 ## Mailing found: '12709' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616242, Consumer Id: 1044592, Address Id: 11666032 => Updated with Vin: 1GYFK63847R354029 ## Mail History Id: 29615970, Consumer Id: 1044273, Address Id: 12938257 => Updated with Vin: 1G6DW677170121753 ## Mail History Id: 29616186, Consumer Id: 1041612, Address Id: 3239469 => Updated with Vin: 1GYEK63N52R231608 ## Mail History Id: 29615784, Consumer Id: 1044492, Address Id: 11666205 => Updated with Vin: 1G6KD54Y3XU751237 ## Mail History Id: 29615968, Consumer Id: 1044987, Address Id: 5993998 => Updated with Vin: 1GYFK63807R419166 ## Mail History Id: 29616004, Consumer Id: 1049708, Address Id: 12185248 => Updated with Vin: 1G6YV34A645603734 ## Mail History Id: 29615886, Consumer Id: 1051705, Address Id: 14954873 => Updated with Vin: W06VR52R1WR222833 ## Mail History Id: 29616258, Consumer Id: 1045437, Address Id: 2849225 => Updated with Vin: 3GYFK66N74G335875 ## Mail History Id: 29615992, Consumer Id: 1051750, Address Id: 1088019 => Updated with Vin: 1G6ET1299VU610805 ## Mail History Id: 29616008, Consumer Id: 1047232, Address Id: 5995187 => Updated with Vin: 1G6KF52Y7SU294521 ## Total mail_history records updated with vin numbers: 10 out of 13 ============================================================ ====== Tracking Id: 1028 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-05 10:22:04') AND us2_order_type_id = 3 ## Order found: 1317 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1317 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3815 ## Mailing found: '12714' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29614554, Consumer Id: 1367166, Address Id: 15639920 => Updated with Vin: 1HGCS128X8A003060 ## Mail History Id: 29614886, Consumer Id: 1367257, Address Id: 9049733 => Updated with Vin: 5FNRL38898B012476 ## Mail History Id: 29614866, Consumer Id: 1363251, Address Id: 2569502 => Updated with Vin: 5FNRL38666B080584 ## Mail History Id: 29615218, Consumer Id: 1367832, Address Id: 3455364 => Updated with Vin: 1HGEJ8248YL041733 ## Mail History Id: 29614906, Consumer Id: 1376942, Address Id: 15669754 => Updated with Vin: JACDJ58X0X7902760 ## Mail History Id: 29615066, Consumer Id: 1359214, Address Id: 15631985 => Updated with Vin: 5J6YH28503L035593 ## Mail History Id: 29614536, Consumer Id: 1359322, Address Id: 15632064 => Updated with Vin: 5J6YH28203L011834 ## Mail History Id: 29615254, Consumer Id: 1377801, Address Id: 15670278 => Updated with Vin: 1HGCG16572A060342 ## Mail History Id: 29614610, Consumer Id: 1367396, Address Id: 15640050 => Updated with Vin: 5FNRL38778B040705 ## Mail History Id: 29616204, Consumer Id: 1362760, Address Id: 15633692 => Updated with Vin: 5FNRL38726B414599 ## Mail History Id: 29614954, Consumer Id: 1376374, Address Id: 15670306 => Updated with Vin: 2HGES16591H586611 ## Mail History Id: 29615172, Consumer Id: 1363020, Address Id: 15635824 => Updated with Vin: 1HGFA16506L051409 ## Mail History Id: 29614620, Consumer Id: 1364497, Address Id: 15637543 => Updated with Vin: JHLRE48327C005775 ## Mail History Id: 29614560, Consumer Id: 1379695, Address Id: 15672033 => Updated with Vin: 5FNYF18507B007355 ## Mail History Id: 29615082, Consumer Id: 1378082, Address Id: 8182986 => Updated with Vin: JHMCM56643C050640 ## Mail History Id: 29615040, Consumer Id: 1366027, Address Id: 15639031 => Updated with Vin: 5FNYF28437B035874 ## Mail History Id: 29615080, Consumer Id: 1366909, Address Id: 6166814 => Updated with Vin: 1HGCM56715A084075 ## Mail History Id: 29616202, Consumer Id: 1379462, Address Id: 15671902 => Updated with Vin: JNRAS08UX5X100918 ## Mail History Id: 29614720, Consumer Id: 1367412, Address Id: 15640057 => Updated with Vin: 2HGFG21567H703170 ## Mail History Id: 29615246, Consumer Id: 1360107, Address Id: 11361787 => Updated with Vin: 1HGCM56373A017975 ## Total mail_history records updated with vin numbers: 20 out of 20 ============================================================ ====== Tracking Id: 1029 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-05 10:42:56') AND us2_order_type_id = 3 ## Order found: 1325 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1325 AND product_id = 140 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1030 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-05 11:13:24') AND us2_order_type_id = 3 ## Order found: 1318 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1318 AND product_id = 112 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3486 ## Mailing found: '12699' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616687, Consumer Id: 478170, Address Id: 1035472 => Updated with Vin: 1GNDX03EXWD227337 ## Mail History Id: 29616689, Consumer Id: 468269, Address Id: 2520906 => Updated with Vin: 1GCGG25V561153759 ## Mail History Id: 29616691, Consumer Id: 479791, Address Id: 8119703 => Updated with Vin: 1GCHC29D76E190709 ## Mail History Id: 29616693, Consumer Id: 485269, Address Id: 9825425 => Updated with Vin: 1G1YY24U355114503 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1031 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-05 11:16:27') AND us2_order_type_id = 3 ## Order found: 1319 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1319 AND product_id = 144 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3705 ## Mailing found: '12710' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615845, Consumer Id: 972731, Address Id: 14843114 => Updated with Vin: 1GKFC13058R217560 ## Mail History Id: 29615769, Consumer Id: 972748, Address Id: 14843124 => Updated with Vin: 3GTEC13J28G272239 ## Mail History Id: 29615759, Consumer Id: 972780, Address Id: 11387166 => Updated with Vin: 1G2MB35B08Y104593 ## Mail History Id: 29615761, Consumer Id: 972781, Address Id: 14835750 => Updated with Vin: 2GCEC13J781186532 ## Mail History Id: 29615805, Consumer Id: 972784, Address Id: 14843154 => Updated with Vin: 1GKER13788J273157 ## Mail History Id: 29615777, Consumer Id: 972785, Address Id: 14843155 => Updated with Vin: 1GTEK14T2YZ211007 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 1032 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-05 11:16:44') AND us2_order_type_id = 3 ## Order found: 1319 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1319 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1033 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-05 11:17:28') AND us2_order_type_id = 3 ## Order found: 1320 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1320 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3721 ## Mailing found: '12711' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615001, Consumer Id: 1009858, Address Id: 14931727 => Updated with Vin: JM1NC26F580148953 ## Mail History Id: 29614941, Consumer Id: 1011752, Address Id: 6657452 => Updated with Vin: 4F2CZ06135KM21984 ## Mail History Id: 29615015, Consumer Id: 1008141, Address Id: 6662395 => Updated with Vin: JM1TA221021729463 ## Mail History Id: 29614977, Consumer Id: 1017580, Address Id: 14933534 => Updated with Vin: JM1BK323871735194 ## Total mail_history records updated with vin numbers: 4 out of 6 ============================================================ ====== Tracking Id: 1034 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-05 11:43:09') AND us2_order_type_id = 3 ## Order found: 1326 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1326 AND product_id = 142 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1035 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-05 12:15:51') AND us2_order_type_id = 3 ## Order found: 1321 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1321 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1036 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-05 12:16:08') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 1037 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-05 12:16:59') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 1038 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-05 12:17:58') AND us2_order_type_id = 3 ## Order found: 1321 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1321 AND product_id = 113 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3427 ## Mailing found: '12697' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616731, Consumer Id: 496646, Address Id: 325877 => Updated with Vin: JNKCV51E73M010820 ## Mail History Id: 29616733, Consumer Id: 512970, Address Id: 9829790 => Updated with Vin: 1HGCM56476A028181 ## Mail History Id: 29616735, Consumer Id: 495499, Address Id: 326992 => Updated with Vin: 1HGES26732L027387 ## Mail History Id: 29616737, Consumer Id: 502381, Address Id: 9837889 => Updated with Vin: 2HGES26714H634856 ## Mail History Id: 29616739, Consumer Id: 472370, Address Id: 8194866 => Updated with Vin: 1HGCM66583A072524 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 1039 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-05 14:13:03') AND us2_order_type_id = 3 ## Order found: 1322 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1322 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3418 ## Mailing found: '12707' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615267, Consumer Id: 611035, Address Id: 11755673 => Updated with Vin: 1G6DR57V680173204 ## Mail History Id: 29615123, Consumer Id: 681214, Address Id: 6921942 => Updated with Vin: 1GYEE637660217347 ## Mail History Id: 29615309, Consumer Id: 610907, Address Id: 11755567 => Updated with Vin: 1G6KD54Y04U226762 ## Mail History Id: 29615403, Consumer Id: 629136, Address Id: 11769701 => Updated with Vin: 2C3KA53G67H658590 ## Mail History Id: 29615253, Consumer Id: 666902, Address Id: 11785542 => Updated with Vin: 1G6KS54Y54U120006 ## Mail History Id: 29615133, Consumer Id: 671763, Address Id: 11788869 => Updated with Vin: 1G6DP567650145827 ## Mail History Id: 29615147, Consumer Id: 672313, Address Id: 11789243 => Updated with Vin: 1G6DP567850174715 ## Mail History Id: 29615095, Consumer Id: 678552, Address Id: 6608478 => Updated with Vin: 1G6DW677470143780 ## Mail History Id: 29615183, Consumer Id: 629791, Address Id: 11770008 => Updated with Vin: 1GCDT136848143588 ## Mail History Id: 29615269, Consumer Id: 677851, Address Id: 11792669 => Updated with Vin: 1G6DP577970131146 ## Mail History Id: 29615257, Consumer Id: 610094, Address Id: 11754856 => Updated with Vin: 1G6DW677670165909 ## Mail History Id: 29615135, Consumer Id: 664144, Address Id: 11783472 => Updated with Vin: 1G6KD54Y0XU735643 ## Mail History Id: 29615259, Consumer Id: 676849, Address Id: 11792112 => Updated with Vin: 1GYEE637460191878 ## Mail History Id: 29615103, Consumer Id: 676467, Address Id: 11791896 => Updated with Vin: 1G6DP577660202222 ## Mail History Id: 29615373, Consumer Id: 677162, Address Id: 11792288 => Updated with Vin: 1GYEE637160194866 ## Mail History Id: 29615207, Consumer Id: 677729, Address Id: 11792597 => Updated with Vin: 1G6DW677370117400 ## Mail History Id: 29615149, Consumer Id: 678309, Address Id: 11792948 => Updated with Vin: 1G6DP577270137192 ## Mail History Id: 29615335, Consumer Id: 678418, Address Id: 11793012 => Updated with Vin: 1G6DM57N730138775 ## Mail History Id: 29615299, Consumer Id: 679142, Address Id: 11793431 => Updated with Vin: 1G6DP577770163433 ## Mail History Id: 29615271, Consumer Id: 680015, Address Id: 11418072 => Updated with Vin: 1G6DP577170197867 ## Mail History Id: 29615117, Consumer Id: 678695, Address Id: 11786745 => Updated with Vin: 1GYFK66887R329971 ## Mail History Id: 29615357, Consumer Id: 668156, Address Id: 11783275 => Updated with Vin: 1G6KY54931U132643 ## Mail History Id: 29615355, Consumer Id: 664045, Address Id: 11783403 => Updated with Vin: 1G6DW52PXSR710175 ## Mail History Id: 29615349, Consumer Id: 677145, Address Id: 11787197 => Updated with Vin: 1GYEE637560166908 ## Mail History Id: 29615317, Consumer Id: 675503, Address Id: 11791351 => Updated with Vin: 1G6DP577960116046 ## Mail History Id: 29615191, Consumer Id: 612405, Address Id: 6608851 => Updated with Vin: 1G6DP567050107042 ## Total mail_history records updated with vin numbers: 26 out of 95 ============================================================ ====== Tracking Id: 1040 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-05 16:12:09') AND us2_order_type_id = 3 ## Order found: 1325 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '10' AND store_id = 2 ## Product Id found: 60 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1325 AND product_id = 60 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1041 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-05 16:13:48') AND us2_order_type_id = 3 ## Order found: 1325 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '10' AND store_id = 2 ## Product Id found: 60 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1325 AND product_id = 60 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1042 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-05 16:15:24') AND us2_order_type_id = 3 ## Order found: 1325 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '10' AND store_id = 2 ## Product Id found: 60 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1325 AND product_id = 60 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1043 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-05 16:17:50') AND us2_order_type_id = 3 ## Order found: 1325 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '36' AND store_id = 2 ## Product Id found: 104 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1325 AND product_id = 104 ## Job Group Found: '466' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('466') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'dam080408001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('dam080408001a') AND customer_id = 3230 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 1044 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-05 19:13:11') AND us2_order_type_id = 3 ## Order found: 1326 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1326 AND product_id = 55 ## Job Group Found: '475' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('475') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108002') AND customer_id = 3357 ## Mailing found: '12703' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616761, Consumer Id: 1628589, Address Id: 16108449 => Updated with Vin: 1FTPW14566FA69774 ## Mail History Id: 29616763, Consumer Id: 1566539, Address Id: 15968027 => Updated with Vin: 2MEFM75WX1X659998 ## Mail History Id: 29616765, Consumer Id: 1637184, Address Id: 16143288 => Updated with Vin: 1G4HP52K13U115113 ## Mail History Id: 29616767, Consumer Id: 1636439, Address Id: 16142791 => Updated with Vin: 2B3HD46RX2H216121 ## Mail History Id: 29616769, Consumer Id: 1628592, Address Id: 16108452 => Updated with Vin: 1YVHP80C385M48569 ## Mail History Id: 29616771, Consumer Id: 1628591, Address Id: 16108451 => Updated with Vin: WDBSK75F93F018831 ## Mail History Id: 29616773, Consumer Id: 1637179, Address Id: 16143283 => Updated with Vin: 1FAFP45XX4F194483 ## Mail History Id: 29616775, Consumer Id: 1592453, Address Id: 11829425 => Updated with Vin: 1FTWW31P95EA22563 ## Mail History Id: 29616777, Consumer Id: 1176021, Address Id: 15037671 => Updated with Vin: 1FTRX12505KB21642 ## Mail History Id: 29616779, Consumer Id: 1637178, Address Id: 16143282 => Updated with Vin: 1FTPW14526FA10544 ## Mail History Id: 29616781, Consumer Id: 1592456, Address Id: 16081196 => Updated with Vin: 5LMFL275X7LJ09629 ## Mail History Id: 29616783, Consumer Id: 1592457, Address Id: 16081197 => Updated with Vin: JM1CR29L080322712 ## Mail History Id: 29616785, Consumer Id: 1644235, Address Id: 16178500 => Updated with Vin: JM1CR29L180323903 ## Mail History Id: 29616787, Consumer Id: 1637183, Address Id: 16143287 => Updated with Vin: JM1CR29L180324582 ## Mail History Id: 29616789, Consumer Id: 1592455, Address Id: 16081195 => Updated with Vin: JM1BK344781153403 ## Mail History Id: 29616791, Consumer Id: 1628588, Address Id: 6902999 => Updated with Vin: JM1BK344181169340 ## Mail History Id: 29616793, Consumer Id: 1628590, Address Id: 16108450 => Updated with Vin: JM1BK324881186784 ## Mail History Id: 29616795, Consumer Id: 1637185, Address Id: 11839176 => Updated with Vin: 1YVHP80C185M38817 ## Mail History Id: 29616797, Consumer Id: 1636442, Address Id: 16142794 => Updated with Vin: JM1BK324781866529 ## Mail History Id: 29616799, Consumer Id: 1568060, Address Id: 16022169 => Updated with Vin: 1FAHP25W38G175990 ## Mail History Id: 29616801, Consumer Id: 1636441, Address Id: 16142793 => Updated with Vin: 1FTYR14DX8PB03909 ## Mail History Id: 29616803, Consumer Id: 1636440, Address Id: 16142792 => Updated with Vin: 3FAHP07Z58R263217 ## Mail History Id: 29616805, Consumer Id: 1592454, Address Id: 16081194 => Updated with Vin: 2FMDK52C19BA10124 ## Total mail_history records updated with vin numbers: 23 out of 23 ============================================================ ====== Tracking Id: 1045 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-06 08:13:56') AND us2_order_type_id = 3 ## Order found: 1338 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1338 AND product_id = 55 ## Job Group Found: '475' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('475') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108002') AND customer_id = 3230 ## Mailing found: '12702' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616809, Consumer Id: 1628550, Address Id: 16108406 => Updated with Vin: 1FTRF12258KF03632 ## Mail History Id: 29616811, Consumer Id: 1637165, Address Id: 16143265 => Updated with Vin: 1GKET16M656175715 ## Mail History Id: 29616813, Consumer Id: 1638385, Address Id: 52324 => Updated with Vin: 3FAHP07Z39R117092 ## Mail History Id: 29616815, Consumer Id: 1566503, Address Id: 14986427 => Updated with Vin: 1ZVHT84N085124652 ## Mail History Id: 29616817, Consumer Id: 1628560, Address Id: 16108413 => Updated with Vin: 2D4GP44L67R254854 ## Mail History Id: 29616819, Consumer Id: 1628554, Address Id: 16108409 => Updated with Vin: 1FTRX14W58FC23750 ## Mail History Id: 29616821, Consumer Id: 1638386, Address Id: 51142 => Updated with Vin: 1FMZU73KX5ZA00684 ## Mail History Id: 29616823, Consumer Id: 1565578, Address Id: 51596 => Updated with Vin: 1FTRF12208KE91857 ## Mail History Id: 29616825, Consumer Id: 1636423, Address Id: 16142767 => Updated with Vin: 1FAFP34N37W272794 ## Mail History Id: 29616827, Consumer Id: 1628552, Address Id: 16108407 => Updated with Vin: 1FAHP33NX8W217366 ## Mail History Id: 29616829, Consumer Id: 1628559, Address Id: 16108412 => Updated with Vin: 1GCDT136648153889 ## Mail History Id: 29616762, Consumer Id: 1566500, Address Id: 15967974 => Updated with Vin: 1FTPX14566NB51605 ## Mail History Id: 29616764, Consumer Id: 1628557, Address Id: 16108411 => Updated with Vin: 1J4GZ58S4RC339714 ## Mail History Id: 29616766, Consumer Id: 1637163, Address Id: 16143264 => Updated with Vin: 1FTPX14VX8FA01235 ## Mail History Id: 29616768, Consumer Id: 1628555, Address Id: 16108410 => Updated with Vin: 2G1WB55K669218916 ## Mail History Id: 29616770, Consumer Id: 1637166, Address Id: 16143266 => Updated with Vin: 1FAHP53U95A215023 ## Mail History Id: 29616772, Consumer Id: 1566502, Address Id: 15967975 => Updated with Vin: 1FAFP34N95W155797 ## Total mail_history records updated with vin numbers: 17 out of 18 ============================================================ ====== Tracking Id: 1046 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-06 08:43:51') AND us2_order_type_id = 3 ## Order found: 1338 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1338 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3230 ## Mailing found: '12704' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29614837, Consumer Id: 174129, Address Id: 49373 => Updated with Vin: 2FMDK36C38BA01888 ## Mail History Id: 29614837, Consumer Id: 174129, Address Id: 49373 => Updated with Vin: 2FMDK36C38BA01888 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1047 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-06 10:13:14') AND us2_order_type_id = 3 ## Order found: 1339 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1339 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3416 ## Mailing found: '12706' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616322, Consumer Id: 625336, Address Id: 11765917 => Updated with Vin: 1G6DW677X50224442 ## Mail History Id: 29614579, Consumer Id: 625639, Address Id: 11764713 => Updated with Vin: 1G6DM57N530136264 ## Mail History Id: 29614673, Consumer Id: 625834, Address Id: 11766149 => Updated with Vin: 1G6DW677X70194510 ## Mail History Id: 29616296, Consumer Id: 910926, Address Id: 1966857 => Updated with Vin: 1G6DG577280202477 ## Mail History Id: 29614669, Consumer Id: 692986, Address Id: 11798120 => Updated with Vin: 1G6KD57Y27U189360 ## Mail History Id: 29614635, Consumer Id: 910092, Address Id: 11940191 => Updated with Vin: 1G6CD1150K4274380 ## Mail History Id: 29616342, Consumer Id: 690809, Address Id: 1960416 => Updated with Vin: 1GYEE637060199217 ## Mail History Id: 29616380, Consumer Id: 691379, Address Id: 1961840 => Updated with Vin: 1G6KD54Y53U212192 ## Mail History Id: 29614521, Consumer Id: 683642, Address Id: 1963491 => Updated with Vin: 1G6KF5792YU331419 ## Mail History Id: 29614655, Consumer Id: 625537, Address Id: 1969799 => Updated with Vin: 1GYEE637970190243 ## Mail History Id: 29616354, Consumer Id: 690873, Address Id: 1960918 => Updated with Vin: 1GYFK63857R150274 ## Mail History Id: 29614581, Consumer Id: 687627, Address Id: 1968665 => Updated with Vin: 1G6KD54Y14U127559 ## Mail History Id: 29614563, Consumer Id: 687174, Address Id: 1966095 => Updated with Vin: 1GYEK63N42R106003 ## Mail History Id: 29614757, Consumer Id: 681944, Address Id: 11794949 => Updated with Vin: 1G6KD57Y02U200557 ## Mail History Id: 29616300, Consumer Id: 687440, Address Id: 1967004 => Updated with Vin: 1G6KY5498XU931858 ## Mail History Id: 29614597, Consumer Id: 687025, Address Id: 1968931 => Updated with Vin: 1G6YV34A745600213 ## Mail History Id: 29614877, Consumer Id: 630827, Address Id: 11771036 => Updated with Vin: 1G6KD54Y53U155850 ## Mail History Id: 29614505, Consumer Id: 681716, Address Id: 1963001 => Updated with Vin: 1G6KD57Y8YU328781 ## Mail History Id: 29614533, Consumer Id: 630824, Address Id: 1963849 => Updated with Vin: 5GRGN23U53H148806 ## Mail History Id: 29616314, Consumer Id: 683878, Address Id: 1959067 => Updated with Vin: 1G6KF57963U277888 ## Mail History Id: 29615265, Consumer Id: 627134, Address Id: 1958120 => Updated with Vin: 5GRGN23U04H102592 ## Mail History Id: 29616294, Consumer Id: 625181, Address Id: 1966735 => Updated with Vin: 1GYFK63847R213719 ## Mail History Id: 29614529, Consumer Id: 686921, Address Id: 1963685 => Updated with Vin: 1GYEE63A040173466 ## Mail History Id: 29616336, Consumer Id: 625221, Address Id: 3756292 => Updated with Vin: 5GTDN13E778114985 ## Mail History Id: 29614879, Consumer Id: 625482, Address Id: 11765985 => Updated with Vin: 1G6DW677670135518 ## Mail History Id: 29614631, Consumer Id: 662943, Address Id: 11782651 => Updated with Vin: 1G6KD54Y05U176284 ## Total mail_history records updated with vin numbers: 26 out of 36 ============================================================ ====== Tracking Id: 1048 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-06 10:17:04') AND us2_order_type_id = 3 ## Order found: 1340 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1340 AND product_id = 142 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3697 ## Mailing found: '12709' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616238, Consumer Id: 1051991, Address Id: 14955013 => Updated with Vin: 1GYFK66857R430840 ## Mail History Id: 29615976, Consumer Id: 1043596, Address Id: 1086380 => Updated with Vin: 1GYEE637460214074 ## Mail History Id: 29615932, Consumer Id: 1044278, Address Id: 8828356 => Updated with Vin: 1GYEE637860181032 ## Mail History Id: 29616250, Consumer Id: 1044588, Address Id: 11451462 => Updated with Vin: 1GYFK66897R332443 ## Mail History Id: 29616270, Consumer Id: 1041864, Address Id: 12938283 => Updated with Vin: 1G6KY54951U285962 ## Mail History Id: 29615882, Consumer Id: 1043431, Address Id: 12938046 => Updated with Vin: 3GYFK66N84G231217 ## Mail History Id: 29615786, Consumer Id: 1045954, Address Id: 14952487 => Updated with Vin: 1G6DW677170195884 ## Mail History Id: 29616060, Consumer Id: 1045473, Address Id: 2776045 => Updated with Vin: 1G6KE57Y31U296678 ## Mail History Id: 29615796, Consumer Id: 1041614, Address Id: 5983628 => Updated with Vin: 1G6KD54YX3U138302 ## Mail History Id: 29615776, Consumer Id: 1043386, Address Id: 2852459 => Updated with Vin: 1G6CD53B6P4239540 ## Mail History Id: 29615838, Consumer Id: 1045435, Address Id: 6908147 => Updated with Vin: 1G6DP567550116691 ## Mail History Id: 29615842, Consumer Id: 1042437, Address Id: 5984542 => Updated with Vin: 1G6KS54Y1YU164042 ## Mail History Id: 29615842, Consumer Id: 1042437, Address Id: 5984542 => Updated with Vin: 1G6KS54Y1YU164042 ## Mail History Id: 29615912, Consumer Id: 1042909, Address Id: 5989865 => Updated with Vin: 1G6KY549XYU297244 ## Mail History Id: 29615970, Consumer Id: 1044273, Address Id: 12938257 => Updated with Vin: 1G6DW677170121753 ## Mail History Id: 29615910, Consumer Id: 1041791, Address Id: 5989732 => Updated with Vin: 1G6KS54Y92U239979 ## Mail History Id: 29615892, Consumer Id: 1043701, Address Id: 5989590 => Updated with Vin: 1G6KD54Y44U116510 ## Mail History Id: 29615892, Consumer Id: 1043701, Address Id: 5989590 => Updated with Vin: 1G6KD54Y44U116510 ## Mail History Id: 29615858, Consumer Id: 1046087, Address Id: 14953326 => Updated with Vin: 1G6DM57N430121268 ## Mail History Id: 29615972, Consumer Id: 1046602, Address Id: 5994501 => Updated with Vin: 1G6KD54Y1XU752094 ## Mail History Id: 29615898, Consumer Id: 1043434, Address Id: 3594257 => Updated with Vin: 1G6KD54Y74U211532 ## Mail History Id: 29615876, Consumer Id: 1042905, Address Id: 14952399 => Updated with Vin: 1G6DM57N130154602 ## Mail History Id: 29615870, Consumer Id: 1046785, Address Id: 5988315 => Updated with Vin: 1GYEK63N12R209895 ## Mail History Id: 29615968, Consumer Id: 1044987, Address Id: 5993998 => Updated with Vin: 1GYFK63807R419166 ## Mail History Id: 29616272, Consumer Id: 1048364, Address Id: 14953934 => Updated with Vin: 1G6KD57926U133166 ## Mail History Id: 29616004, Consumer Id: 1049708, Address Id: 12185248 => Updated with Vin: 1G6YV34A645603734 ## Mail History Id: 29616254, Consumer Id: 1047288, Address Id: 2849023 => Updated with Vin: 1G6DP567650188029 ## Mail History Id: 29616254, Consumer Id: 1047288, Address Id: 2849023 => Updated with Vin: 1G6DP567650188029 ## Mail History Id: 29615944, Consumer Id: 1042548, Address Id: 14952317 => Updated with Vin: 1G3NL52E01C253094 ## Mail History Id: 29615962, Consumer Id: 1041989, Address Id: 5993195 => Updated with Vin: 1G6KD54Y71U287795 ## Mail History Id: 29615924, Consumer Id: 1045230, Address Id: 1079753 => Updated with Vin: 1G6KD54Y64U247258 ## Mail History Id: 29615886, Consumer Id: 1051705, Address Id: 14954873 => Updated with Vin: W06VR52R1WR222833 ## Mail History Id: 29615980, Consumer Id: 1050564, Address Id: 432384 => Updated with Vin: 1G6KE54Y32U262424 ## Mail History Id: 29615896, Consumer Id: 1051981, Address Id: 14955011 => Updated with Vin: 1GYEC63T02R142492 ## Mail History Id: 29616244, Consumer Id: 1043387, Address Id: 2848698 => Updated with Vin: 1GYEC63T24R192345 ## Mail History Id: 29616170, Consumer Id: 1049232, Address Id: 9707677 => Updated with Vin: 1GYFK66837R209513 ## Mail History Id: 29615978, Consumer Id: 1049608, Address Id: 14954245 => Updated with Vin: 5GTDN136168206133 ## Mail History Id: 29616248, Consumer Id: 1050014, Address Id: 5981706 => Updated with Vin: 1GYEK63NX4R245829 ## Mail History Id: 29616280, Consumer Id: 1049674, Address Id: 14954260 => Updated with Vin: 1G6KD54Y04U126807 ## Mail History Id: 29616282, Consumer Id: 1046741, Address Id: 163660 => Updated with Vin: 1G6DM57N730119238 ## Mail History Id: 29615872, Consumer Id: 1042147, Address Id: 1147864 => Updated with Vin: 1G6KY5299TU830857 ## Mail History Id: 29615988, Consumer Id: 1047773, Address Id: 14824914 => Updated with Vin: 1G6KS54Y6XU923279 ## Mail History Id: 29615988, Consumer Id: 1049061, Address Id: 14824914 => Updated with Vin: 1G6YV36AX65600870 ## Mail History Id: 29615974, Consumer Id: 1050761, Address Id: 14954528 => Updated with Vin: 1G4HP52K83U132944 ## Total mail_history records updated with vin numbers: 44 out of 44 ============================================================ ====== Tracking Id: 1049 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-06 10:18:10') AND us2_order_type_id = 3 ## Order found: 1341 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1341 AND product_id = 140 ## Job Group Found: '479' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('479') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108006') AND customer_id = 3768 ## Mailing found: '12692' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616879, Consumer Id: 1050227, Address Id: 8828259 => Updated with Vin: 1G6KS54Y42U243647 ## Mail History Id: 29616868, Consumer Id: 1049542, Address Id: 5988122 => Updated with Vin: 1G6KD54Y9YU275500 ## Mail History Id: 29616870, Consumer Id: 1584243, Address Id: 16074979 => Updated with Vin: 1GYEC63T14R216232 ## Mail History Id: 29616872, Consumer Id: 1115156, Address Id: 11450819 => Updated with Vin: 1GYEE63A850168615 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1050 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-06 10:19:33') AND us2_order_type_id = 3 ## Order found: 1342 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1342 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3815 ## Mailing found: '12714' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615068, Consumer Id: 1366033, Address Id: 11304864 => Updated with Vin: 1HGCM56754A039283 ## Mail History Id: 29615202, Consumer Id: 1367589, Address Id: 9424574 => Updated with Vin: 1HGCD5660VA009391 ## Mail History Id: 29616024, Consumer Id: 1362791, Address Id: 15632515 => Updated with Vin: SHSRD78976U406660 ## Mail History Id: 29614964, Consumer Id: 1367819, Address Id: 15634182 => Updated with Vin: 1HGCG56642A059732 ## Mail History Id: 29614936, Consumer Id: 1360567, Address Id: 15633011 => Updated with Vin: 2HGES16561H530495 ## Mail History Id: 29614798, Consumer Id: 1377244, Address Id: 6160355 => Updated with Vin: 1HGCG3271YA010838 ## Mail History Id: 29614798, Consumer Id: 1363909, Address Id: 6160355 => Updated with Vin: JHLRD68826C021337 ## Mail History Id: 29615264, Consumer Id: 1370766, Address Id: 15636719 => Updated with Vin: 2HKRL1861YH541859 ## Mail History Id: 29615220, Consumer Id: 1364802, Address Id: 15637735 => Updated with Vin: 1HGCM82666A005760 ## Mail History Id: 29614510, Consumer Id: 1362110, Address Id: 15631997 => Updated with Vin: JHMAP21465S007073 ## Mail History Id: 29615218, Consumer Id: 1367832, Address Id: 3455364 => Updated with Vin: 1HGEJ8248YL041733 ## Mail History Id: 29615024, Consumer Id: 1373560, Address Id: 15669712 => Updated with Vin: 1HGCG5658XA102743 ## Mail History Id: 29614580, Consumer Id: 1366029, Address Id: 15636190 => Updated with Vin: 1HGCM72667A017306 ## Mail History Id: 29614578, Consumer Id: 1376946, Address Id: 15638977 => Updated with Vin: 5J6YH28696L011130 ## Mail History Id: 29616234, Consumer Id: 1366122, Address Id: 15639084 => Updated with Vin: 1HGFA16887L131522 ## Mail History Id: 29614736, Consumer Id: 1368085, Address Id: 15634709 => Updated with Vin: 1FTCR14U8TPA25925 ## Mail History Id: 29614972, Consumer Id: 1365452, Address Id: 15634664 => Updated with Vin: 5FNRL38627B440225 ## Mail History Id: 29615272, Consumer Id: 1377743, Address Id: 15634873 => Updated with Vin: 5FNRL38756B050890 ## Mail History Id: 29615188, Consumer Id: 1370184, Address Id: 3455125 => Updated with Vin: 1HGCG56421A135865 ## Mail History Id: 29615210, Consumer Id: 1368102, Address Id: 15634718 => Updated with Vin: 1HGCG56462A017268 ## Mail History Id: 29615210, Consumer Id: 1368102, Address Id: 15634718 => Updated with Vin: 1HGCG56462A017268 ## Mail History Id: 29615160, Consumer Id: 1370024, Address Id: 15636956 => Updated with Vin: 1HGCG22572A026154 ## Mail History Id: 29615160, Consumer Id: 1370024, Address Id: 15636956 => Updated with Vin: 1HGCG22572A026154 ## Mail History Id: 29614874, Consumer Id: 1366034, Address Id: 2569829 => Updated with Vin: 1HGCM665X3A077112 ## Mail History Id: 29614542, Consumer Id: 1378344, Address Id: 7714312 => Updated with Vin: JTHBK262372037547 ## Mail History Id: 29616104, Consumer Id: 1377967, Address Id: 15636621 => Updated with Vin: 1HGCG5648XA119095 ## Mail History Id: 29614654, Consumer Id: 1373232, Address Id: 15634433 => Updated with Vin: 5FNRL38635B405061 ## Mail History Id: 29614654, Consumer Id: 1362270, Address Id: 15634433 => Updated with Vin: 5FNYF18535B054750 ## Mail History Id: 29614994, Consumer Id: 1369761, Address Id: 15636790 => Updated with Vin: 3HGCG56492G707842 ## Mail History Id: 29615222, Consumer Id: 1363057, Address Id: 3455662 => Updated with Vin: 1HGCM56876A075536 ## Mail History Id: 29614568, Consumer Id: 1367602, Address Id: 15634025 => Updated with Vin: JHMCM56663C003304 ## Mail History Id: 29614732, Consumer Id: 1367987, Address Id: 15634637 => Updated with Vin: 2HKRL18042H503769 ## Mail History Id: 29616014, Consumer Id: 1369636, Address Id: 15636357 => Updated with Vin: JHLRD788X2C051489 ## Mail History Id: 29614920, Consumer Id: 1368270, Address Id: 15634842 => Updated with Vin: 1HGES26723L011957 ## Mail History Id: 29615094, Consumer Id: 1367621, Address Id: 15634041 => Updated with Vin: 1HGCG566X1A128213 ## Mail History Id: 29616046, Consumer Id: 1361471, Address Id: 15632194 => Updated with Vin: 5FNRL38715B077891 ## Mail History Id: 29614546, Consumer Id: 1377210, Address Id: 15637430 => Updated with Vin: 1G8JS54F82Y545551 ## Mail History Id: 29614682, Consumer Id: 1378746, Address Id: 15670789 => Updated with Vin: JHMAP1149YT008565 ## Mail History Id: 29614572, Consumer Id: 1359219, Address Id: 15631989 => Updated with Vin: 1HGEJ8249YL102135 ## Mail History Id: 29615066, Consumer Id: 1359214, Address Id: 15631985 => Updated with Vin: 5J6YH28503L035593 ## Mail History Id: 29614548, Consumer Id: 1365288, Address Id: 15633541 => Updated with Vin: 2HKYF18675H529424 ## Mail History Id: 29614958, Consumer Id: 1365470, Address Id: 15632275 => Updated with Vin: 1HGCM56877A136921 ## Mail History Id: 29615092, Consumer Id: 1368912, Address Id: 15635544 => Updated with Vin: 1HGCM566X3A007886 ## Mail History Id: 29614764, Consumer Id: 1378296, Address Id: 15636108 => Updated with Vin: 5TDZK23C27S011706 ## Mail History Id: 29614522, Consumer Id: 1370063, Address Id: 15634591 => Updated with Vin: 1HGCG56612A005076 ## Mail History Id: 29615204, Consumer Id: 1366172, Address Id: 15632542 => Updated with Vin: JHMBB6244XC008938 ## Mail History Id: 29614950, Consumer Id: 1366361, Address Id: 15632734 => Updated with Vin: 2G1WH52K239425186 ## Mail History Id: 29614504, Consumer Id: 1360204, Address Id: 15632736 => Updated with Vin: 5FNRL180X4B116130 ## Mail History Id: 29614504, Consumer Id: 1365589, Address Id: 15632736 => Updated with Vin: 5FNRL38787B438228 ## Mail History Id: 29614504, Consumer Id: 1365589, Address Id: 15632736 => Updated with Vin: 5FNRL38787B438228 ## Mail History Id: 29616218, Consumer Id: 1363933, Address Id: 15632778 => Updated with Vin: 1HGFA158X6L114897 ## Mail History Id: 29615132, Consumer Id: 1379725, Address Id: 15636495 => Updated with Vin: JNKCV54E95M418279 ## Mail History Id: 29614488, Consumer Id: 1379638, Address Id: 15636009 => Updated with Vin: 1N4BA41E55C804636 ## Mail History Id: 29614488, Consumer Id: 1379638, Address Id: 15636009 => Updated with Vin: 1N4BA41E55C804636 ## Mail History Id: 29614674, Consumer Id: 1360956, Address Id: 15633290 => Updated with Vin: 5FNYF18645B006876 ## Mail History Id: 29616212, Consumer Id: 1366643, Address Id: 15639533 => Updated with Vin: 2HJYK16597H543810 ## Mail History Id: 29614856, Consumer Id: 1370979, Address Id: 15638869 => Updated with Vin: 1HGCB7654PA053566 ## Mail History Id: 29615826, Consumer Id: 1379512, Address Id: 15640206 => Updated with Vin: JHMFA36297S005079 ## Mail History Id: 29614680, Consumer Id: 1371648, Address Id: 15640192 => Updated with Vin: 19UUA66284A041424 ## Mail History Id: 29614910, Consumer Id: 1364629, Address Id: 15637623 => Updated with Vin: 1HGCM56307A004152 ## Mail History Id: 29616090, Consumer Id: 1361169, Address Id: 15633438 => Updated with Vin: 5FNRL38405B018305 ## Mail History Id: 29616154, Consumer Id: 1362282, Address Id: 15633521 => Updated with Vin: JHMCN36455C013860 ## Mail History Id: 29614800, Consumer Id: 1669491, Address Id: 15633794 => Updated with Vin: 1HGCP36818A008297 ## Mail History Id: 29614810, Consumer Id: 1379112, Address Id: 15636025 => Updated with Vin: 1HGCP36818A008297 ## Mail History Id: 29614810, Consumer Id: 1371772, Address Id: 15636025 => Updated with Vin: 2HJYK16568H501015 ## Mail History Id: 29614810, Consumer Id: 1365481, Address Id: 15636025 => Updated with Vin: 2HJYK16587H509731 ## Mail History Id: 29615152, Consumer Id: 1378148, Address Id: 15669589 => Updated with Vin: JHLRE48727C055398 ## Mail History Id: 29615184, Consumer Id: 1364097, Address Id: 15637085 => Updated with Vin: 1HGCM71326A020967 ## Mail History Id: 29614590, Consumer Id: 1366197, Address Id: 15633852 => Updated with Vin: 5FNYF28727B029185 ## Mail History Id: 29614998, Consumer Id: 1361805, Address Id: 15633895 => Updated with Vin: SHSRD78805U334982 ## Mail History Id: 29616214, Consumer Id: 1361815, Address Id: 15633903 => Updated with Vin: 5FNYF185X5B048718 ## Mail History Id: 29615002, Consumer Id: 1362011, Address Id: 15634269 => Updated with Vin: 1HGCM56125A156798 ## Mail History Id: 29615002, Consumer Id: 1362011, Address Id: 15634269 => Updated with Vin: 1HGCM56125A156798 ## Mail History Id: 29614530, Consumer Id: 1375929, Address Id: 15670017 => Updated with Vin: 1HGCD5653SA032005 ## Mail History Id: 29615032, Consumer Id: 1367445, Address Id: 15640077 => Updated with Vin: 5FNYF18538B002958 ## Mail History Id: 29615076, Consumer Id: 1362280, Address Id: 15634442 => Updated with Vin: JHMCN36415C016190 ## Mail History Id: 29614722, Consumer Id: 1363239, Address Id: 15635970 => Updated with Vin: JHMCN36455C016564 ## Mail History Id: 29614770, Consumer Id: 1362277, Address Id: 6159702 => Updated with Vin: 1HGCM665X6A001913 ## Mail History Id: 29614492, Consumer Id: 1375884, Address Id: 15669996 => Updated with Vin: 5FNRL38405B106299 ## Mail History Id: 29614844, Consumer Id: 1365090, Address Id: 15633727 => Updated with Vin: 2HJYK16527H508641 ## Mail History Id: 29614678, Consumer Id: 1376115, Address Id: 15670128 => Updated with Vin: 5FNRL38795B121362 ## Mail History Id: 29615294, Consumer Id: 1362614, Address Id: 15635153 => Updated with Vin: SHSRD78936U403805 ## Mail History Id: 29614692, Consumer Id: 1362776, Address Id: 15635252 => Updated with Vin: 5FNRL38436B412902 ## Mail History Id: 29614692, Consumer Id: 1379619, Address Id: 15635252 => Updated with Vin: JT3HN86R4X0254527 ## Mail History Id: 29615084, Consumer Id: 1363070, Address Id: 15635854 => Updated with Vin: 5J6YH28796L009080 ## Mail History Id: 29615774, Consumer Id: 1376745, Address Id: 15670478 => Updated with Vin: 1HGCM668X6A011061 ## Mail History Id: 29614884, Consumer Id: 1379337, Address Id: 15638452 => Updated with Vin: 2HGFG126X6H509001 ## Mail History Id: 29614884, Consumer Id: 1370870, Address Id: 15638452 => Updated with Vin: JH4KA9648TC013505 ## Mail History Id: 29614884, Consumer Id: 1370870, Address Id: 15638452 => Updated with Vin: JH4KA9648TC013505 ## Mail History Id: 29614946, Consumer Id: 1379689, Address Id: 15670262 => Updated with Vin: 1HGCG1653XA048177 ## Mail History Id: 29614624, Consumer Id: 1362930, Address Id: 15635765 => Updated with Vin: JHMFA36246S007739 ## Mail History Id: 29614640, Consumer Id: 1363197, Address Id: 15635943 => Updated with Vin: 1HGFA16826L050210 ## Mail History Id: 29616138, Consumer Id: 1365289, Address Id: 15638245 => Updated with Vin: 1HGCM56897A111177 ## Mail History Id: 29614928, Consumer Id: 1363417, Address Id: 15636395 => Updated with Vin: 1HGFA16836L079697 ## Mail History Id: 29614962, Consumer Id: 1365988, Address Id: 15639006 => Updated with Vin: 5FNRL38787B035060 ## Mail History Id: 29615240, Consumer Id: 1376876, Address Id: 15670503 => Updated with Vin: 1HGCG5641WA122015 ## Mail History Id: 29615240, Consumer Id: 1376876, Address Id: 15670503 => Updated with Vin: 1HGCG5641WA122015 ## Mail History Id: 29616118, Consumer Id: 1365293, Address Id: 15638247 => Updated with Vin: 1HGCM56787A093519 ## Mail History Id: 29614792, Consumer Id: 1366996, Address Id: 15639726 => Updated with Vin: 5FNRL38787B139211 ## Mail History Id: 29614890, Consumer Id: 1364094, Address Id: 15637083 => Updated with Vin: 5FNRL38436B453515 ## Mail History Id: 29615148, Consumer Id: 1364064, Address Id: 14959101 => Updated with Vin: 5J6YH18766L015168 ## Mail History Id: 29614842, Consumer Id: 1364091, Address Id: 15637081 => Updated with Vin: 5FNYF18496B012639 ## Mail History Id: 29615164, Consumer Id: 1378510, Address Id: 15671410 => Updated with Vin: 1HGCM56317A010865 ## Mail History Id: 29615164, Consumer Id: 1378510, Address Id: 15671410 => Updated with Vin: 1HGCM56317A010865 ## Mail History Id: 29615282, Consumer Id: 1379068, Address Id: 15671712 => Updated with Vin: 5J6YH28766L007755 ## Mail History Id: 29615130, Consumer Id: 1364542, Address Id: 9095945 => Updated with Vin: 5FNRL38826B125425 ## Mail History Id: 29614574, Consumer Id: 1377588, Address Id: 15635632 => Updated with Vin: 1HGCM56356A182198 ## Mail History Id: 29615190, Consumer Id: 1368425, Address Id: 15634944 => Updated with Vin: 1HGCD5654TA006501 ## Mail History Id: 29615262, Consumer Id: 1360116, Address Id: 15632672 => Updated with Vin: 2HGES16534H576399 ## Mail History Id: 29614630, Consumer Id: 1365287, Address Id: 15638244 => Updated with Vin: JHLRE48577C053404 ## Mail History Id: 29614630, Consumer Id: 1365287, Address Id: 15638244 => Updated with Vin: JHLRE48577C053404 ## Mail History Id: 29614508, Consumer Id: 1366042, Address Id: 15636315 => Updated with Vin: 1HGFA16836L109541 ## Mail History Id: 29616236, Consumer Id: 1373729, Address Id: 8718723 => Updated with Vin: 19UUA5669YA045369 ## Mail History Id: 29616084, Consumer Id: 1364663, Address Id: 15637633 => Updated with Vin: JHLRE38547C012612 ## Mail History Id: 29615030, Consumer Id: 1367545, Address Id: 15638112 => Updated with Vin: 5FNRL38768B021739 ## Mail History Id: 29615060, Consumer Id: 1365054, Address Id: 15638091 => Updated with Vin: 5FNRL18633B119261 ## Mail History Id: 29615234, Consumer Id: 1365294, Address Id: 15638248 => Updated with Vin: 2HGFG12867H541074 ## Mail History Id: 29614642, Consumer Id: 1365253, Address Id: 15638221 => Updated with Vin: 1HGFA16586L057684 ## Mail History Id: 29614742, Consumer Id: 1365431, Address Id: 15638518 => Updated with Vin: 1HGCM56887A111851 ## Mail History Id: 29614598, Consumer Id: 1365482, Address Id: 7920475 => Updated with Vin: 1HGCM66807A030493 ## Mail History Id: 29615064, Consumer Id: 1365583, Address Id: 15638604 => Updated with Vin: 5FNRL38797B066673 ## Mail History Id: 29615116, Consumer Id: 1365750, Address Id: 9400519 => Updated with Vin: JHMGD384X7S045469 ## Mail History Id: 29614608, Consumer Id: 1365793, Address Id: 15638735 => Updated with Vin: 5FNRL38427B049753 ## Mail History Id: 29614862, Consumer Id: 1365771, Address Id: 15638723 => Updated with Vin: 5J6YH28717L013531 ## Mail History Id: 29616136, Consumer Id: 1365739, Address Id: 15638703 => Updated with Vin: 1HGFA16507L104742 ## Mail History Id: 29616152, Consumer Id: 1366149, Address Id: 15638773 => Updated with Vin: 1HGFA16567L126874 ## Mail History Id: 29614942, Consumer Id: 1365747, Address Id: 15638708 => Updated with Vin: 1HGCM56643A097360 ## Mail History Id: 29615118, Consumer Id: 1365745, Address Id: 15638706 => Updated with Vin: 1HGCG56602A097281 ## Mail History Id: 29614716, Consumer Id: 1378542, Address Id: 15671429 => Updated with Vin: 1HGCM66576A030804 ## Mail History Id: 29614896, Consumer Id: 1366050, Address Id: 15639044 => Updated with Vin: 1HGFA16587L120641 ## Mail History Id: 29616146, Consumer Id: 1366032, Address Id: 15639035 => Updated with Vin: 1HGFA16527L124796 ## Mail History Id: 29615080, Consumer Id: 1366909, Address Id: 6166814 => Updated with Vin: 1HGCM56715A084075 ## Mail History Id: 29614672, Consumer Id: 1366169, Address Id: 15639118 => Updated with Vin: 5FNYF28667B035319 ## Mail History Id: 29614552, Consumer Id: 1366208, Address Id: 15639138 => Updated with Vin: JHLRE38737C053136 ## Mail History Id: 29615150, Consumer Id: 1366216, Address Id: 15639122 => Updated with Vin: 1HGCM567X7A156619 ## Mail History Id: 29614846, Consumer Id: 1366171, Address Id: 15639119 => Updated with Vin: 5J6RE48567L001673 ## Mail History Id: 29615170, Consumer Id: 1366474, Address Id: 15639290 => Updated with Vin: 5FNRL384X7B106278 ## Mail History Id: 29614686, Consumer Id: 1366421, Address Id: 15639266 => Updated with Vin: 1HGCM56877A084688 ## Mail History Id: 29615260, Consumer Id: 1378793, Address Id: 15671612 => Updated with Vin: 1HGCM56815A176179 ## Mail History Id: 29615278, Consumer Id: 1366585, Address Id: 15639501 => Updated with Vin: 5FNRL38606B411529 ## Mail History Id: 29614776, Consumer Id: 1379016, Address Id: 15671701 => Updated with Vin: 1FAFP55272A232515 ## Mail History Id: 29614854, Consumer Id: 1366623, Address Id: 15639525 => Updated with Vin: 1HGFA165X6L003318 ## Mail History Id: 29614588, Consumer Id: 1360131, Address Id: 15632250 => Updated with Vin: SHSRD78804U221581 ## Mail History Id: 29614892, Consumer Id: 1366916, Address Id: 15639686 => Updated with Vin: 1HGFA16518L038204 ## Mail History Id: 29616202, Consumer Id: 1379461, Address Id: 15671902 => Updated with Vin: 1J4GK48K17W507867 ## Mail History Id: 29614780, Consumer Id: 1367256, Address Id: 15639975 => Updated with Vin: 5FNYF18606B001272 ## Mail History Id: 29614780, Consumer Id: 1367256, Address Id: 15639975 => Updated with Vin: 5FNYF18606B001272 ## Mail History Id: 29614746, Consumer Id: 1367347, Address Id: 15640019 => Updated with Vin: JHMGD38688S026549 ## Mail History Id: 29615034, Consumer Id: 1367207, Address Id: 15639947 => Updated with Vin: 5FNRL38705B057132 ## Mail History Id: 29616140, Consumer Id: 1367481, Address Id: 15640101 => Updated with Vin: 5FNYF28268B011410 ## Mail History Id: 29615242, Consumer Id: 1371815, Address Id: 15668673 => Updated with Vin: 1HGFA16878L078622 ## Mail History Id: 29614720, Consumer Id: 1367412, Address Id: 15640057 => Updated with Vin: 2HGFG21567H703170 ## Mail History Id: 29614720, Consumer Id: 1367412, Address Id: 15640057 => Updated with Vin: 2HGFG21567H703170 ## Mail History Id: 29616208, Consumer Id: 1379628, Address Id: 15671993 => Updated with Vin: 2HJYK16496H566106 ## Mail History Id: 29616148, Consumer Id: 1367448, Address Id: 15640080 => Updated with Vin: 1HGCP26818A102612 ## Mail History Id: 29614930, Consumer Id: 1367446, Address Id: 15640078 => Updated with Vin: SHSRD78823U112845 ## Mail History Id: 29615790, Consumer Id: 1379686, Address Id: 15672026 => Updated with Vin: 19UUA76568A024398 ## Mail History Id: 29616114, Consumer Id: 1371751, Address Id: 8131856 => Updated with Vin: 1HGFA16868L012224 ## Mail History Id: 29616058, Consumer Id: 1371771, Address Id: 15668652 => Updated with Vin: 5J6RE38738L001983 ## Mail History Id: 29614526, Consumer Id: 1371857, Address Id: 15668696 => Updated with Vin: 1HGCM66587A088874 ## Mail History Id: 29616226, Consumer Id: 1371839, Address Id: 15668685 => Updated with Vin: 1HGCP368X8A049124 ## Mail History Id: 29616196, Consumer Id: 1371852, Address Id: 15633875 => Updated with Vin: 2HGFA16588H316075 ## Mail History Id: 29616124, Consumer Id: 1371867, Address Id: 15668705 => Updated with Vin: JHLRD78925C011193 ## Total mail_history records updated with vin numbers: 163 out of 174 ============================================================ ====== Tracking Id: 1051 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-06 10:39:23') AND us2_order_type_id = 3 ## Order found: 1338 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1338 AND product_id = 140 ## Job Group Found: '479' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('479') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108006') AND customer_id = 3230 ## Mailing found: '12690' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616874, Consumer Id: 63005, Address Id: 48050 => Updated with Vin: 1FAFP55S84G126901 ## Mail History Id: 29616876, Consumer Id: 92731, Address Id: 51145 => Updated with Vin: 1FTZR45E65PA32944 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1052 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-06 11:09:45') AND us2_order_type_id = 3 ## Order found: 1343 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1343 AND product_id = 112 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3486 ## Mailing found: '12699' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616634, Consumer Id: 466430, Address Id: 9821179 => Updated with Vin: 2CNBE634X46910484 ## Mail History Id: 29616636, Consumer Id: 468270, Address Id: 1036616 => Updated with Vin: 2GCEK13TX61103242 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1053 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-06 11:10:01') AND us2_order_type_id = 3 ## Order found: 1343 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1343 AND product_id = 113 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3486 ## Mailing found: '12699' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1054 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-06 11:12:55') AND us2_order_type_id = 3 ## Order found: 1344 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1344 AND product_id = 144 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3705 ## Mailing found: '12710' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615713, Consumer Id: 973192, Address Id: 14836176 => Updated with Vin: 1GNEC13Z94R169584 ## Mail History Id: 29615799, Consumer Id: 975206, Address Id: 9185599 => Updated with Vin: 1GKES16S346196456 ## Mail History Id: 29615779, Consumer Id: 974665, Address Id: 12056534 => Updated with Vin: 1G1JC12F757178143 ## Mail History Id: 29615801, Consumer Id: 961527, Address Id: 14831446 => Updated with Vin: 1GTDL19X45B502813 ## Mail History Id: 29615753, Consumer Id: 962201, Address Id: 14835120 => Updated with Vin: 1GNEC16Z75J249459 ## Mail History Id: 29615671, Consumer Id: 964614, Address Id: 14837115 => Updated with Vin: 2GTEC13V861313630 ## Mail History Id: 29615811, Consumer Id: 965575, Address Id: 14837843 => Updated with Vin: 1GMDV33L56D122456 ## Mail History Id: 29615737, Consumer Id: 966970, Address Id: 14838886 => Updated with Vin: 1GYEC63T55R178571 ## Mail History Id: 29615785, Consumer Id: 969536, Address Id: 9184686 => Updated with Vin: 1GKFC13JX7R240310 ## Mail History Id: 29615661, Consumer Id: 969594, Address Id: 14840825 => Updated with Vin: 2G4WC582971208974 ## Mail History Id: 29615653, Consumer Id: 969919, Address Id: 9482253 => Updated with Vin: 2GTEC19T731224875 ## Mail History Id: 29615691, Consumer Id: 971027, Address Id: 14841861 => Updated with Vin: 3GNDA23D36S526687 ## Mail History Id: 29615729, Consumer Id: 971606, Address Id: 14838539 => Updated with Vin: 1G2ZF57B684163674 ## Mail History Id: 29615667, Consumer Id: 972774, Address Id: 14843147 => Updated with Vin: 1GNEC13J87J108644 ## Mail History Id: 29615647, Consumer Id: 972795, Address Id: 14843161 => Updated with Vin: 1G1YY26W185130413 ## Mail History Id: 29615655, Consumer Id: 961150, Address Id: 14831801 => Updated with Vin: 1G2WP52K4XF238432 ## Mail History Id: 29615715, Consumer Id: 979169, Address Id: 14845942 => Updated with Vin: 2CNDL63F066159236 ## Mail History Id: 29615767, Consumer Id: 980934, Address Id: 14842665 => Updated with Vin: 1GCHC23295F855755 ## Mail History Id: 29615651, Consumer Id: 1173962, Address Id: 15032905 => Updated with Vin: 3GNEC16Z43G334600 ## Mail History Id: 29615657, Consumer Id: 980921, Address Id: 14831249 => Updated with Vin: 1G4NV54U3MM259769 ## Mail History Id: 29615731, Consumer Id: 980926, Address Id: 14846847 => Updated with Vin: 1G3NK52T71C253630 ## Total mail_history records updated with vin numbers: 21 out of 37 ============================================================ ====== Tracking Id: 1055 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-06 11:14:04') AND us2_order_type_id = 3 ## Order found: 1345 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1345 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3721 ## Mailing found: '12711' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29614979, Consumer Id: 1017004, Address Id: 14933314 => Updated with Vin: JM3ER293X70118224 ## Mail History Id: 29614983, Consumer Id: 1015962, Address Id: 14932081 => Updated with Vin: 5J6YH28665L021855 ## Mail History Id: 29614985, Consumer Id: 1013811, Address Id: 6659651 => Updated with Vin: JM1GG12L761100798 ## Mail History Id: 29615013, Consumer Id: 1016082, Address Id: 14933101 => Updated with Vin: JM3TB28Y970101438 ## Mail History Id: 29615065, Consumer Id: 1011396, Address Id: 6667631 => Updated with Vin: JM1BK123941198464 ## Mail History Id: 29615007, Consumer Id: 1011615, Address Id: 6662005 => Updated with Vin: 1YVHP80C145N97623 ## Mail History Id: 29615001, Consumer Id: 1009858, Address Id: 14931727 => Updated with Vin: JM1NC26F580148953 ## Mail History Id: 29615001, Consumer Id: 1009858, Address Id: 14931727 => Updated with Vin: JM1NC26F580148953 ## Mail History Id: 29615047, Consumer Id: 1011614, Address Id: 6665381 => Updated with Vin: 1YVFP80C845N17791 ## Mail History Id: 29615045, Consumer Id: 1007324, Address Id: 6665364 => Updated with Vin: 4F2YU09162KM51332 ## Mail History Id: 29615003, Consumer Id: 1014440, Address Id: 6661900 => Updated with Vin: JM1BK12F761457997 ## Mail History Id: 29615021, Consumer Id: 1008408, Address Id: 6662575 => Updated with Vin: JM3LW28G6Y0140131 ## Mail History Id: 29615037, Consumer Id: 1015574, Address Id: 6664220 => Updated with Vin: JM3LW28A260557898 ## Mail History Id: 29615043, Consumer Id: 1011557, Address Id: 6665358 => Updated with Vin: 4F2CZ04125KM19291 ## Mail History Id: 29615049, Consumer Id: 1009676, Address Id: 14930414 => Updated with Vin: 4F2CZ06108KM17265 ## Mail History Id: 29614947, Consumer Id: 1009669, Address Id: 14931556 => Updated with Vin: JM3ER293780185154 ## Mail History Id: 29615033, Consumer Id: 1009718, Address Id: 14931590 => Updated with Vin: 4F2CZ02Z58KM17757 ## Mail History Id: 29615033, Consumer Id: 1009718, Address Id: 14931590 => Updated with Vin: 4F2CZ02Z58KM17757 ## Mail History Id: 29615029, Consumer Id: 1010117, Address Id: 14931804 => Updated with Vin: JM1CR293580304898 ## Mail History Id: 29615029, Consumer Id: 1010117, Address Id: 14931804 => Updated with Vin: JM1CR293580304898 ## Mail History Id: 29614961, Consumer Id: 1010128, Address Id: 14931810 => Updated with Vin: 1YVHP80C785M38823 ## Mail History Id: 29614961, Consumer Id: 1010128, Address Id: 14931810 => Updated with Vin: 1YVHP80C785M38823 ## Mail History Id: 29614961, Consumer Id: 1010128, Address Id: 14931810 => Updated with Vin: 1YVHP80C785M38823 ## Mail History Id: 29614949, Consumer Id: 1010227, Address Id: 14931884 => Updated with Vin: 1YVHP80C385M39905 ## Mail History Id: 29615005, Consumer Id: 1010251, Address Id: 6661985 => Updated with Vin: 1YVHP80D785M08956 ## Mail History Id: 29614973, Consumer Id: 1009845, Address Id: 14931716 => Updated with Vin: 1YVHP80C175M40680 ## Mail History Id: 29614973, Consumer Id: 1009845, Address Id: 14931716 => Updated with Vin: 1YVHP80C175M40680 ## Mail History Id: 29614973, Consumer Id: 1009845, Address Id: 14931716 => Updated with Vin: 1YVHP80C175M40680 ## Mail History Id: 29614991, Consumer Id: 1011941, Address Id: 6660228 => Updated with Vin: 1FTYR14VX3PA58889 ## Mail History Id: 29614991, Consumer Id: 1008733, Address Id: 6660228 => Updated with Vin: JM1TA2226X1503752 ## Mail History Id: 29615011, Consumer Id: 1016418, Address Id: 14933176 => Updated with Vin: JM1BK32F871714744 ## Mail History Id: 29615075, Consumer Id: 1015486, Address Id: 10088168 => Updated with Vin: JM3ER293470131373 ## Mail History Id: 29615019, Consumer Id: 1016070, Address Id: 14933136 => Updated with Vin: JM3ER293X70128865 ## Mail History Id: 29615059, Consumer Id: 1017165, Address Id: 14933364 => Updated with Vin: JM3ER293870107027 ## Mail History Id: 29615039, Consumer Id: 1015839, Address Id: 14933045 => Updated with Vin: 1YVHP80C775M24919 ## Total mail_history records updated with vin numbers: 35 out of 37 ============================================================ ====== Tracking Id: 1056 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-06 11:39:34') AND us2_order_type_id = 3 ## Order found: 1346 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1346 AND product_id = 142 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3357 ## Mailing found: '12705' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616239, Consumer Id: 820040, Address Id: 11909517 => Updated with Vin: 1FMZU73W75ZA18952 ## Mail History Id: 29616335, Consumer Id: 922760, Address Id: 394516 => Updated with Vin: 1ZVFT84N355253505 ## Mail History Id: 29616361, Consumer Id: 922758, Address Id: 11950514 => Updated with Vin: JTDKB20U783352097 ## Mail History Id: 29616221, Consumer Id: 188152, Address Id: 398599 => Updated with Vin: JM3LW28A720303713 ## Mail History Id: 29616225, Consumer Id: 188187, Address Id: 399713 => Updated with Vin: 3FAFP37N85R112826 ## Mail History Id: 29616289, Consumer Id: 193477, Address Id: 403537 => Updated with Vin: 2FTZF07372CA74467 ## Mail History Id: 29616251, Consumer Id: 922755, Address Id: 878022 => Updated with Vin: 1FMEU15L12LA31841 ## Mail History Id: 29616297, Consumer Id: 200192, Address Id: 407472 => Updated with Vin: 1FTYR14U17PA17290 ## Mail History Id: 29616161, Consumer Id: 922754, Address Id: 404151 => Updated with Vin: 1FTYR10U62PB67796 ## Mail History Id: 29616301, Consumer Id: 820042, Address Id: 11909518 => Updated with Vin: JM1BK32G181116568 ## Mail History Id: 29615083, Consumer Id: 188307, Address Id: 398642 => Updated with Vin: 1FAFP55U43A251218 ## Mail History Id: 29616331, Consumer Id: 910825, Address Id: 11940883 => Updated with Vin: 1FAFP34Z53W281932 ## Mail History Id: 29616175, Consumer Id: 198692, Address Id: 407260 => Updated with Vin: JM1FE17N040130904 ## Mail History Id: 29616127, Consumer Id: 195911, Address Id: 405474 => Updated with Vin: 1YVFP80C745N96922 ## Mail History Id: 29616383, Consumer Id: 910829, Address Id: 11940885 => Updated with Vin: 1FTRX12W84NA18572 ## Mail History Id: 29616201, Consumer Id: 151820, Address Id: 394194 => Updated with Vin: JM1BK323751295336 ## Mail History Id: 29616345, Consumer Id: 152250, Address Id: 394592 => Updated with Vin: 1FMPU13545LA50241 ## Mail History Id: 29616171, Consumer Id: 154173, Address Id: 396353 => Updated with Vin: JM1BK144961435978 ## Mail History Id: 29616125, Consumer Id: 192762, Address Id: 402915 => Updated with Vin: 1FTWW31P66EA73441 ## Mail History Id: 29616371, Consumer Id: 155919, Address Id: 397935 => Updated with Vin: 1FMYU93156KA57092 ## Mail History Id: 29616151, Consumer Id: 153119, Address Id: 395395 => Updated with Vin: 1FTYR10D76PA57085 ## Mail History Id: 29616305, Consumer Id: 153744, Address Id: 395960 => Updated with Vin: 3FAFP07146R103487 ## Mail History Id: 29616177, Consumer Id: 194909, Address Id: 401044 => Updated with Vin: JM3ER29L470117683 ## Mail History Id: 29616107, Consumer Id: 155611, Address Id: 397655 => Updated with Vin: JM1FE173070208262 ## Mail History Id: 29616187, Consumer Id: 196336, Address Id: 405128 => Updated with Vin: JM1BK324371613397 ## Mail History Id: 29616213, Consumer Id: 155826, Address Id: 395957 => Updated with Vin: 1ZVFT80N775299668 ## Mail History Id: 29616179, Consumer Id: 420545, Address Id: 9800026 => Updated with Vin: 1YVHP80C475M37935 ## Mail History Id: 29616123, Consumer Id: 155462, Address Id: 397512 => Updated with Vin: 1FAHP37N77W218712 ## Mail History Id: 29616367, Consumer Id: 583553, Address Id: 10863245 => Updated with Vin: JM1BK344081114555 ## Mail History Id: 29616295, Consumer Id: 189777, Address Id: 398908 => Updated with Vin: 1FTNF20LXXEC05719 ## Mail History Id: 29616307, Consumer Id: 872915, Address Id: 11912821 => Updated with Vin: JM1BK324181866574 ## Mail History Id: 29616359, Consumer Id: 155809, Address Id: 397842 => Updated with Vin: JM1BK34M181876597 ## Mail History Id: 29616197, Consumer Id: 189153, Address Id: 400402 => Updated with Vin: 1FAFP40402F202004 ## Mail History Id: 29616141, Consumer Id: 155696, Address Id: 397733 => Updated with Vin: 1FAHP34N28W141124 ## Mail History Id: 29616191, Consumer Id: 187899, Address Id: 399079 => Updated with Vin: 3FASP11J3TR150258 ## Mail History Id: 29616149, Consumer Id: 922753, Address Id: 11950511 => Updated with Vin: 1LNLM81W8PY765225 ## Mail History Id: 29616347, Consumer Id: 922756, Address Id: 11950512 => Updated with Vin: 1FDKE37G6MHA85508 ## Mail History Id: 29616111, Consumer Id: 155922, Address Id: 397938 => Updated with Vin: JHLRD1843VC028134 ## Mail History Id: 29616205, Consumer Id: 198276, Address Id: 395872 => Updated with Vin: 1MEFM53S5XG611456 ## Mail History Id: 29616189, Consumer Id: 190057, Address Id: 401968 => Updated with Vin: 1FMRE11L3YHA49421 ## Total mail_history records updated with vin numbers: 40 out of 48 ============================================================ ====== Tracking Id: 1057 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-06 12:12:03') AND us2_order_type_id = 3 ## Order found: 1347 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1347 AND product_id = 113 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3427 ## Mailing found: '12697' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616692, Consumer Id: 499327, Address Id: 9833375 => Updated with Vin: 1HGCM56854A066508 ## Mail History Id: 29616694, Consumer Id: 511540, Address Id: 327796 => Updated with Vin: 2HGFG128X6H508545 ## Mail History Id: 29616696, Consumer Id: 491414, Address Id: 9827267 => Updated with Vin: 5FNRL18993B037383 ## Mail History Id: 29616698, Consumer Id: 511423, Address Id: 9844229 => Updated with Vin: 1HGCM72544A011085 ## Mail History Id: 29616700, Consumer Id: 502325, Address Id: 9837865 => Updated with Vin: 2HKYF18434H615066 ## Mail History Id: 29616702, Consumer Id: 474658, Address Id: 9836022 => Updated with Vin: 1HGCM56447A093281 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 1058 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-06 12:12:21') AND us2_order_type_id = 3 ## Order found: 1348 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1348 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3471 ## Mailing found: '12708' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615997, Consumer Id: 822657, Address Id: 10214850 => Updated with Vin: 1GYFK63867R230666 ## Mail History Id: 29616099, Consumer Id: 797922, Address Id: 11869629 => Updated with Vin: 1GYEK63N72R116220 ## Mail History Id: 29615937, Consumer Id: 772908, Address Id: 11873968 => Updated with Vin: 1GYEE63A870180704 ## Mail History Id: 29615961, Consumer Id: 798625, Address Id: 7416172 => Updated with Vin: 1GHDT13S022142989 ## Mail History Id: 29615897, Consumer Id: 799810, Address Id: 6525008 => Updated with Vin: 1GYEK63N52R154531 ## Mail History Id: 29615979, Consumer Id: 804978, Address Id: 7416704 => Updated with Vin: 1GYEE63A540158400 ## Mail History Id: 29616051, Consumer Id: 760380, Address Id: 10217241 => Updated with Vin: 1GYFK66877R296302 ## Mail History Id: 29615913, Consumer Id: 806634, Address Id: 7415463 => Updated with Vin: 1G4HP52K34U107306 ## Mail History Id: 29616037, Consumer Id: 820583, Address Id: 11876372 => Updated with Vin: 1G6KD54YX5U240413 ## Mail History Id: 29616003, Consumer Id: 821887, Address Id: 10215374 => Updated with Vin: 1GYFK638X7R272676 ## Mail History Id: 29615901, Consumer Id: 816531, Address Id: 7878513 => Updated with Vin: 1GYEE63AX50129380 ## Mail History Id: 29615927, Consumer Id: 760437, Address Id: 7878934 => Updated with Vin: 1GYDE63A640124266 ## Mail History Id: 29616005, Consumer Id: 773133, Address Id: 10215408 => Updated with Vin: 1G6YV34A055601124 ## Mail History Id: 29615947, Consumer Id: 806953, Address Id: 11876306 => Updated with Vin: 1G6DP57V080123940 ## Mail History Id: 29616053, Consumer Id: 807033, Address Id: 10217515 => Updated with Vin: 1GYEE437180132293 ## Mail History Id: 29616069, Consumer Id: 806938, Address Id: 11876457 => Updated with Vin: 1G6DM57N130152932 ## Mail History Id: 29616069, Consumer Id: 806938, Address Id: 11876457 => Updated with Vin: 1G6DM57N130152932 ## Mail History Id: 29615891, Consumer Id: 760261, Address Id: 7878449 => Updated with Vin: 1GYFK66828R221573 ## Total mail_history records updated with vin numbers: 18 out of 31 ============================================================ ====== Tracking Id: 1059 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-06 12:12:29') AND us2_order_type_id = 3 ## Order found: 1347 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1347 AND product_id = 112 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3427 ## Mailing found: '12697' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616704, Consumer Id: 512097, Address Id: 9844643 => Updated with Vin: 5FNRL38896B031638 ## Mail History Id: 29616706, Consumer Id: 499840, Address Id: 9834140 => Updated with Vin: SHSRD78814U226191 ## Mail History Id: 29616708, Consumer Id: 492915, Address Id: 9828411 => Updated with Vin: 1HGCG16571A036640 ## Mail History Id: 29616710, Consumer Id: 505944, Address Id: 9840733 => Updated with Vin: 2HKYF18574H584851 ## Mail History Id: 29616712, Consumer Id: 491730, Address Id: 9827525 => Updated with Vin: 2HGES26763H582722 ## Mail History Id: 29616714, Consumer Id: 499777, Address Id: 9834089 => Updated with Vin: 5J6YH28574L008117 ## Mail History Id: 29616716, Consumer Id: 493739, Address Id: 9828999 => Updated with Vin: 1HGEJ6622TL016574 ## Mail History Id: 29616718, Consumer Id: 492382, Address Id: 328497 => Updated with Vin: JHMES95603S022931 ## Mail History Id: 29616720, Consumer Id: 511998, Address Id: 329427 => Updated with Vin: JHMAP21475S003243 ## Mail History Id: 29616722, Consumer Id: 491404, Address Id: 9827259 => Updated with Vin: 1HGCG56641A090123 ## Mail History Id: 29616724, Consumer Id: 494296, Address Id: 326373 => Updated with Vin: SHSRD78872U010844 ## Mail History Id: 29616726, Consumer Id: 496700, Address Id: 9831183 => Updated with Vin: SHSRD77862U012988 ## Mail History Id: 29616728, Consumer Id: 512495, Address Id: 9830419 => Updated with Vin: 5FNRL38455B037819 ## Mail History Id: 29616730, Consumer Id: 497774, Address Id: 327544 => Updated with Vin: JHLRD1869XC023217 ## Mail History Id: 29616732, Consumer Id: 513742, Address Id: 9845592 => Updated with Vin: 5FNRL38845B011554 ## Mail History Id: 29616734, Consumer Id: 505593, Address Id: 329785 => Updated with Vin: JHMCN36585C003770 ## Mail History Id: 29616736, Consumer Id: 505442, Address Id: 9840389 => Updated with Vin: 5FNYF184X5B015208 ## Mail History Id: 29616738, Consumer Id: 472334, Address Id: 9827853 => Updated with Vin: JHMFA36296S018655 ## Mail History Id: 29616740, Consumer Id: 483600, Address Id: 327443 => Updated with Vin: 1HGCM56613A002706 ## Total mail_history records updated with vin numbers: 19 out of 19 ============================================================ ====== Tracking Id: 1060 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-06 14:09:27') AND us2_order_type_id = 3 ## Order found: 1349 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1349 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3418 ## Mailing found: '12707' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615215, Consumer Id: 680908, Address Id: 11794514 => Updated with Vin: 1GYFK63868R136398 ## Mail History Id: 29615107, Consumer Id: 610626, Address Id: 11755325 => Updated with Vin: 1GYFK63878R153873 ## Mail History Id: 29615193, Consumer Id: 612288, Address Id: 8873194 => Updated with Vin: 1G6KY5494YU310084 ## Mail History Id: 29615181, Consumer Id: 664451, Address Id: 11783709 => Updated with Vin: 1G6KY54911U174650 ## Mail History Id: 29615285, Consumer Id: 610809, Address Id: 11755481 => Updated with Vin: 1G6DW67V680119464 ## Mail History Id: 29615285, Consumer Id: 610809, Address Id: 11755481 => Updated with Vin: 1G6DW67V680119464 ## Mail History Id: 29615375, Consumer Id: 610876, Address Id: 10125790 => Updated with Vin: 1GYEE637950133263 ## Mail History Id: 29615199, Consumer Id: 667354, Address Id: 11785865 => Updated with Vin: 2G1WX15K029359551 ## Mail History Id: 29615213, Consumer Id: 678300, Address Id: 11792942 => Updated with Vin: 1G6DP577470137534 ## Mail History Id: 29615089, Consumer Id: 629604, Address Id: 11770000 => Updated with Vin: 2A4GP54L96R671557 ## Mail History Id: 29615227, Consumer Id: 664143, Address Id: 11783471 => Updated with Vin: 1G6KY5491WU934101 ## Mail History Id: 29615163, Consumer Id: 610796, Address Id: 11755469 => Updated with Vin: 1GYEE637X50139752 ## Mail History Id: 29615183, Consumer Id: 663850, Address Id: 11770008 => Updated with Vin: 1G3NK52TXXC337577 ## Mail History Id: 29615279, Consumer Id: 680088, Address Id: 11782964 => Updated with Vin: 1G6DP577870196747 ## Mail History Id: 29615269, Consumer Id: 677851, Address Id: 11792669 => Updated with Vin: 1G6DP577970131146 ## Mail History Id: 29615315, Consumer Id: 677377, Address Id: 11792404 => Updated with Vin: 1GYFK63837R215753 ## Mail History Id: 29615125, Consumer Id: 674935, Address Id: 11784269 => Updated with Vin: 1G6DM57N530157292 ## Mail History Id: 29615243, Consumer Id: 675349, Address Id: 11016351 => Updated with Vin: 1G6DM57N630103046 ## Mail History Id: 29615311, Consumer Id: 675449, Address Id: 11791319 => Updated with Vin: 1G6KY54943U156226 ## Mail History Id: 29615371, Consumer Id: 610779, Address Id: 11755455 => Updated with Vin: 1GYEE637480125947 ## Mail History Id: 29615371, Consumer Id: 610779, Address Id: 11755455 => Updated with Vin: 1GYEE637480125947 ## Mail History Id: 29615087, Consumer Id: 675739, Address Id: 8871143 => Updated with Vin: 1G6DW677060185944 ## Mail History Id: 29615109, Consumer Id: 673862, Address Id: 11790236 => Updated with Vin: 1G6DP577X60114550 ## Mail History Id: 29615261, Consumer Id: 677156, Address Id: 11792283 => Updated with Vin: 1G6YX36D265604092 ## Mail History Id: 29615249, Consumer Id: 677905, Address Id: 11792705 => Updated with Vin: 1G6DW677270129120 ## Mail History Id: 29615131, Consumer Id: 678740, Address Id: 11793198 => Updated with Vin: 1G6DW677170151058 ## Mail History Id: 29614939, Consumer Id: 629818, Address Id: 11770032 => Updated with Vin: 1GYFK66857R388735 ## Mail History Id: 29615173, Consumer Id: 679193, Address Id: 11417860 => Updated with Vin: 1GYEE637970167299 ## Mail History Id: 29615287, Consumer Id: 679436, Address Id: 6609065 => Updated with Vin: 1G6DM57T770101410 ## Mail History Id: 29615239, Consumer Id: 678546, Address Id: 11793087 => Updated with Vin: 1GYEE637770144247 ## Mail History Id: 29615275, Consumer Id: 612395, Address Id: 11756087 => Updated with Vin: 1G6KF57934U253193 ## Mail History Id: 29615225, Consumer Id: 668515, Address Id: 11786712 => Updated with Vin: 1G6KE57Y51U217897 ## Mail History Id: 29615117, Consumer Id: 678695, Address Id: 11786745 => Updated with Vin: 1GYFK66887R329971 ## Mail History Id: 29615159, Consumer Id: 680292, Address Id: 11794133 => Updated with Vin: 1G6DM57T870164175 ## Mail History Id: 29615139, Consumer Id: 680469, Address Id: 11794254 => Updated with Vin: 1G6KD57Y57U235876 ## Mail History Id: 29615189, Consumer Id: 665855, Address Id: 11784783 => Updated with Vin: 1G6KD54Y01U216101 ## Mail History Id: 29615177, Consumer Id: 669516, Address Id: 10326590 => Updated with Vin: 1G6KD54Y64U227611 ## Mail History Id: 29615121, Consumer Id: 675482, Address Id: 11418641 => Updated with Vin: 1G6KD57936U129451 ## Mail History Id: 29615137, Consumer Id: 629794, Address Id: 11770011 => Updated with Vin: 1G6KD54Y7XU784743 ## Mail History Id: 29615303, Consumer Id: 670910, Address Id: 11788322 => Updated with Vin: 1G6YV34A055600300 ## Mail History Id: 29615113, Consumer Id: 674945, Address Id: 11790975 => Updated with Vin: 1G6DW677260152430 ## Mail History Id: 29615113, Consumer Id: 674945, Address Id: 11790975 => Updated with Vin: 1G6DW677260152430 ## Mail History Id: 29615091, Consumer Id: 610368, Address Id: 11755100 => Updated with Vin: 1G6DP567950128911 ## Mail History Id: 29615169, Consumer Id: 679258, Address Id: 10326483 => Updated with Vin: 1G6DW677370165222 ## Total mail_history records updated with vin numbers: 44 out of 71 ============================================================ ====== Tracking Id: 1061 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-06 19:09:34') AND us2_order_type_id = 3 ## Order found: 1346 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1346 AND product_id = 55 ## Job Group Found: '475' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('475') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108002') AND customer_id = 3357 ## Mailing found: '12703' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616786, Consumer Id: 1637182, Address Id: 16143286 => Updated with Vin: 1FMEU74E67UB84741 ## Mail History Id: 29616788, Consumer Id: 1565603, Address Id: 15962004 => Updated with Vin: 1G1ZT52855F292014 ## Mail History Id: 29616761, Consumer Id: 1628589, Address Id: 16108449 => Updated with Vin: 1FTPW14566FA69774 ## Mail History Id: 29616790, Consumer Id: 1567335, Address Id: 16007411 => Updated with Vin: 5Y2SL65877Z424069 ## Mail History Id: 29616792, Consumer Id: 1637683, Address Id: 16145838 => Updated with Vin: JM1BK32G181123892 ## Mail History Id: 29616794, Consumer Id: 1637181, Address Id: 16143285 => Updated with Vin: JM1BK344X81152634 ## Mail History Id: 29616796, Consumer Id: 1637180, Address Id: 16143284 => Updated with Vin: JM1BK12GX81168382 ## Mail History Id: 29616798, Consumer Id: 1565602, Address Id: 15962003 => Updated with Vin: 1FTSW21568EA41731 ## Mail History Id: 29616800, Consumer Id: 1637677, Address Id: 16145833 => Updated with Vin: 2FMEK63C39BA15415 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 1062 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-07 08:10:01') AND us2_order_type_id = 3 ## Order found: 1361 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1361 AND product_id = 55 ## Job Group Found: '475' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('475') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108002') AND customer_id = 3230 ## Mailing found: '12702' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616802, Consumer Id: 1345329, Address Id: 51838 => Updated with Vin: 1FAHP35N98W293223 ## Mail History Id: 29616804, Consumer Id: 1291561, Address Id: 48897 => Updated with Vin: 1FAFP56U57A217857 ## Mail History Id: 29616806, Consumer Id: 1310502, Address Id: 14846904 => Updated with Vin: 2FMDK36C28BB32259 ## Mail History Id: 29616808, Consumer Id: 1357779, Address Id: 15620462 => Updated with Vin: 3FAHP07Z09R110813 ## Mail History Id: 29616810, Consumer Id: 1638387, Address Id: 16151429 => Updated with Vin: 2FMZA57634BA63654 ## Mail History Id: 29616812, Consumer Id: 1358509, Address Id: 52272 => Updated with Vin: 1FTPW14536FA57386 ## Mail History Id: 29616814, Consumer Id: 1389586, Address Id: 49392 => Updated with Vin: 1ZVHT84N985104531 ## Mail History Id: 29616816, Consumer Id: 1389074, Address Id: 49134 => Updated with Vin: 1FAHP35N58W259893 ## Mail History Id: 29616818, Consumer Id: 1412829, Address Id: 49459 => Updated with Vin: 1FAHP25W68G181833 ## Mail History Id: 29616820, Consumer Id: 1389584, Address Id: 47830 => Updated with Vin: 1FTYR14DX8PB01979 ## Mail History Id: 29616822, Consumer Id: 1389585, Address Id: 15680290 => Updated with Vin: 2FMDK53C09BA09562 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 1063 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-07 08:39:54') AND us2_order_type_id = 3 ## Order found: 1361 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1361 AND product_id = 113 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3230 ## Mailing found: '12694' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616577, Consumer Id: 93153, Address Id: 51584 => Updated with Vin: 1FTPX14VX7FB40134 ## Mail History Id: 29616579, Consumer Id: 64189, Address Id: 47301 => Updated with Vin: 1FTSX31F92EC30635 ## Mail History Id: 29616581, Consumer Id: 66401, Address Id: 53064 => Updated with Vin: 1FTRX17213NB89359 ## Mail History Id: 29616583, Consumer Id: 103800, Address Id: 53850 => Updated with Vin: 1G1ZT51896F186992 ## Mail History Id: 29616587, Consumer Id: 93511, Address Id: 52016 => Updated with Vin: 1FMEU73E98UA57954 ## Mail History Id: 29616589, Consumer Id: 93203, Address Id: 51616 => Updated with Vin: 1FTWW31R38EA93215 ## Mail History Id: 29616591, Consumer Id: 103806, Address Id: 53854 => Updated with Vin: 1FMRE11LX6DA40073 ## Total mail_history records updated with vin numbers: 7 out of 9 ============================================================ ====== Tracking Id: 1064 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-07 08:40:02') AND us2_order_type_id = 3 ## Order found: 1361 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1361 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3230 ## Mailing found: '12704' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29614691, Consumer Id: 101750, Address Id: 49149 => Updated with Vin: 1FAFP38Z94W121600 ## Mail History Id: 29614715, Consumer Id: 628944, Address Id: 11766288 => Updated with Vin: 1FTPX14516KC50995 ## Mail History Id: 29614709, Consumer Id: 64022, Address Id: 50811 => Updated with Vin: 1FMZU73K64UA80433 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 1065 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-07 09:13:27') AND us2_order_type_id = 3 ## Order found: 1362 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1362 AND product_id = 142 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3768 ## Mailing found: '12712' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615922, Consumer Id: 1108659, Address Id: 14982275 => Updated with Vin: 1G6DW677660216713 ## Mail History Id: 29616184, Consumer Id: 1108737, Address Id: 14982306 => Updated with Vin: 1G6KD57Y16U195245 ## Mail History Id: 29615850, Consumer Id: 1108820, Address Id: 5984556 => Updated with Vin: 1GYEC63817R317092 ## Mail History Id: 29616262, Consumer Id: 1109123, Address Id: 14982440 => Updated with Vin: 1GYEE637370183594 ## Mail History Id: 29616194, Consumer Id: 1049537, Address Id: 14954229 => Updated with Vin: 1G6KD57YX7U118620 ## Mail History Id: 29615852, Consumer Id: 1107171, Address Id: 5985895 => Updated with Vin: 1GYEK63N02R184102 ## Mail History Id: 29615954, Consumer Id: 1107406, Address Id: 5992433 => Updated with Vin: 1G6KY54951U104794 ## Mail History Id: 29615954, Consumer Id: 1107406, Address Id: 5992433 => Updated with Vin: 1G6KY54951U104794 ## Mail History Id: 29616064, Consumer Id: 1041724, Address Id: 11449576 => Updated with Vin: 1G6DM57N230144600 ## Mail History Id: 29616044, Consumer Id: 1046446, Address Id: 2775225 => Updated with Vin: 1G6KF57912U221372 ## Mail History Id: 29616082, Consumer Id: 1047585, Address Id: 4660353 => Updated with Vin: 3GYFK66N65G282751 ## Mail History Id: 29615884, Consumer Id: 1115847, Address Id: 8827761 => Updated with Vin: 1GYEK63N62R244397 ## Mail History Id: 29614929, Consumer Id: 1107187, Address Id: 14982000 => Updated with Vin: 1G6KE57Y03U132677 ## Mail History Id: 29616180, Consumer Id: 1112358, Address Id: 3239155 => Updated with Vin: JH4DC435XXS004271 ## Mail History Id: 29615804, Consumer Id: 1043213, Address Id: 14952470 => Updated with Vin: 1G6KS54Y3WU922265 ## Mail History Id: 29615848, Consumer Id: 1043352, Address Id: 8826771 => Updated with Vin: 1G6KE57Y8YU197722 ## Mail History Id: 29615848, Consumer Id: 1045555, Address Id: 8826771 => Updated with Vin: 1GYEK63N35R100908 ## Mail History Id: 29616178, Consumer Id: 1107479, Address Id: 3238990 => Updated with Vin: 1G6KE54Y9WU803496 ## Mail History Id: 29615998, Consumer Id: 1107186, Address Id: 14981999 => Updated with Vin: 1G6DP567X50123779 ## Mail History Id: 29615998, Consumer Id: 1107186, Address Id: 14981999 => Updated with Vin: 1G6DP567X50123779 ## Mail History Id: 29616040, Consumer Id: 1109641, Address Id: 7340763 => Updated with Vin: 1G6DM577840161162 ## Mail History Id: 29616040, Consumer Id: 1109641, Address Id: 7340763 => Updated with Vin: 1G6DM577840161162 ## Mail History Id: 29616040, Consumer Id: 1109641, Address Id: 7340763 => Updated with Vin: 1G6DM577840161162 ## Mail History Id: 29615914, Consumer Id: 1107357, Address Id: 5990512 => Updated with Vin: 1G6KD54Y3VU235828 ## Mail History Id: 29615930, Consumer Id: 1108224, Address Id: 14982174 => Updated with Vin: 1G6CD53B3M4242407 ## Mail History Id: 29615960, Consumer Id: 1107227, Address Id: 5993032 => Updated with Vin: 1G6KS54Y3YU147159 ## Mail History Id: 29615864, Consumer Id: 1111199, Address Id: 5987422 => Updated with Vin: 1G6KY5494YU141930 ## Mail History Id: 29615770, Consumer Id: 1107197, Address Id: 2850642 => Updated with Vin: 1GTCS195X18162023 ## Mail History Id: 29616066, Consumer Id: 1110085, Address Id: 2776713 => Updated with Vin: 1G6KS54Y63U257762 ## Mail History Id: 29615860, Consumer Id: 1114079, Address Id: 8827362 => Updated with Vin: 1G6KF5792YU337821 ## Mail History Id: 29615880, Consumer Id: 1107356, Address Id: 5988233 => Updated with Vin: 1G6KD54Y2VU299195 ## Mail History Id: 29615880, Consumer Id: 1107356, Address Id: 5988233 => Updated with Vin: 1G6KD54Y2VU299195 ## Mail History Id: 29616168, Consumer Id: 1108508, Address Id: 3238423 => Updated with Vin: 1G6KD54Y04U158012 ## Mail History Id: 29615942, Consumer Id: 1107085, Address Id: 5991556 => Updated with Vin: 1G6KE57Y73U140453 ## Mail History Id: 29615942, Consumer Id: 1107085, Address Id: 5991556 => Updated with Vin: 1G6KE57Y73U140453 ## Mail History Id: 29615942, Consumer Id: 1107085, Address Id: 5991556 => Updated with Vin: 1G6KE57Y73U140453 ## Mail History Id: 29615856, Consumer Id: 1110626, Address Id: 8827218 => Updated with Vin: 1G6DW677350140964 ## Mail History Id: 29615854, Consumer Id: 1110529, Address Id: 5985815 => Updated with Vin: 1G6DM57N930134274 ## Mail History Id: 29615948, Consumer Id: 1050122, Address Id: 8828774 => Updated with Vin: 1G6DM57T860105013 ## Mail History Id: 29615794, Consumer Id: 1041591, Address Id: 2853583 => Updated with Vin: 1G6KD54Y5WU769432 ## Mail History Id: 29615794, Consumer Id: 1041591, Address Id: 2853583 => Updated with Vin: 1G6KD54Y5WU769432 ## Mail History Id: 29615772, Consumer Id: 1111987, Address Id: 2851381 => Updated with Vin: 1GYEK63N63R119353 ## Mail History Id: 29616162, Consumer Id: 1111991, Address Id: 10720359 => Updated with Vin: 1G6DM57T660132176 ## Mail History Id: 29616032, Consumer Id: 1112530, Address Id: 2774716 => Updated with Vin: 1G6DW677260186724 ## Mail History Id: 29615928, Consumer Id: 1109579, Address Id: 14826216 => Updated with Vin: 1G6KD57978U168935 ## Mail History Id: 29616174, Consumer Id: 1112605, Address Id: 3238929 => Updated with Vin: 1GYEE63A960193038 ## Mail History Id: 29616174, Consumer Id: 1112605, Address Id: 3238929 => Updated with Vin: 1GYEE63A960193038 ## Mail History Id: 29615788, Consumer Id: 1050747, Address Id: 2853479 => Updated with Vin: 1GYEE637160144033 ## Mail History Id: 29615866, Consumer Id: 1116743, Address Id: 14984217 => Updated with Vin: 1G6DM577X40156514 ## Mail History Id: 29615780, Consumer Id: 1116669, Address Id: 2852475 => Updated with Vin: 1G6KD54Y44U168509 ## Mail History Id: 29615780, Consumer Id: 1116669, Address Id: 2852475 => Updated with Vin: 1G6KD54Y44U168509 ## Mail History Id: 29615862, Consumer Id: 1048567, Address Id: 5987197 => Updated with Vin: 1G6KF57951U205139 ## Mail History Id: 29615782, Consumer Id: 1042282, Address Id: 2852838 => Updated with Vin: 1G6KS52Y7TU826315 ## Mail History Id: 29616256, Consumer Id: 1115846, Address Id: 8427107 => Updated with Vin: 1G6KD57Y37U110035 ## Mail History Id: 29615946, Consumer Id: 1116019, Address Id: 14983944 => Updated with Vin: 1G6KD57Y87U150059 ## Mail History Id: 29616034, Consumer Id: 1115654, Address Id: 14983608 => Updated with Vin: 1D8GT58K97W637471 ## Mail History Id: 29614935, Consumer Id: 1047099, Address Id: 14953588 => Updated with Vin: 1GYEK63N25R189581 ## Mail History Id: 29616080, Consumer Id: 1458579, Address Id: 2777319 => Updated with Vin: 1GYEE637640185108 ## Total mail_history records updated with vin numbers: 58 out of 67 ============================================================ ====== Tracking Id: 1066 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-07 10:12:17') AND us2_order_type_id = 3 ## Order found: 1363 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1363 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3416 ## Mailing found: '12706' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29614511, Consumer Id: 625165, Address Id: 11765839 => Updated with Vin: 1G6KD54Y05U168427 ## Mail History Id: 29614567, Consumer Id: 682805, Address Id: 11795194 => Updated with Vin: 1G6DM57N430120928 ## Mail History Id: 29614625, Consumer Id: 689858, Address Id: 4795740 => Updated with Vin: 1G6DP577160106501 ## Mail History Id: 29614649, Consumer Id: 625531, Address Id: 6895144 => Updated with Vin: 1G6KF57935U142810 ## Mail History Id: 29616362, Consumer Id: 625557, Address Id: 4761348 => Updated with Vin: 1G6DP57V380110146 ## Mail History Id: 29614607, Consumer Id: 625913, Address Id: 11766188 => Updated with Vin: 1G6KD57Y27U138506 ## Mail History Id: 29614605, Consumer Id: 626009, Address Id: 11766236 => Updated with Vin: 5GTEN63L488182971 ## Mail History Id: 29616332, Consumer Id: 626034, Address Id: 11766246 => Updated with Vin: 1G6DW677460157533 ## Mail History Id: 29614491, Consumer Id: 627222, Address Id: 11764768 => Updated with Vin: 1G6DM57N730154040 ## Mail History Id: 29616302, Consumer Id: 910927, Address Id: 6880334 => Updated with Vin: 1G6DM577280201709 ## Mail History Id: 29614647, Consumer Id: 691883, Address Id: 1969738 => Updated with Vin: 1G6KD57926U199202 ## Mail History Id: 29614575, Consumer Id: 629842, Address Id: 1968424 => Updated with Vin: 1G6KD54Y7XU751287 ## Mail History Id: 29614645, Consumer Id: 682797, Address Id: 1969707 => Updated with Vin: 1G6KD54Y33U168872 ## Mail History Id: 29614483, Consumer Id: 684019, Address Id: 1962069 => Updated with Vin: 1G6ET129XYB705325 ## Mail History Id: 29614623, Consumer Id: 681920, Address Id: 1969355 => Updated with Vin: 1GYEK13R9XR418671 ## Mail History Id: 29614637, Consumer Id: 684134, Address Id: 1969585 => Updated with Vin: 1G6KE57Y51U289490 ## Mail History Id: 29614659, Consumer Id: 691117, Address Id: 4800375 => Updated with Vin: 1G6CD6989F4371823 ## Mail History Id: 29616384, Consumer Id: 909884, Address Id: 1961933 => Updated with Vin: 1G6DD67V080185045 ## Mail History Id: 29614627, Consumer Id: 681918, Address Id: 1969444 => Updated with Vin: 1G6KD54Y7XU758224 ## Mail History Id: 29614937, Consumer Id: 682526, Address Id: 11795112 => Updated with Vin: 1G6KS52Y8TU817137 ## Mail History Id: 29616364, Consumer Id: 685154, Address Id: 1961130 => Updated with Vin: 1G6KD54Y3WU751513 ## Mail History Id: 29614515, Consumer Id: 682918, Address Id: 1963302 => Updated with Vin: 1G6KD54Y4XU748279 ## Mail History Id: 29616352, Consumer Id: 689921, Address Id: 1960915 => Updated with Vin: 1G6KD54Y54U243329 ## Mail History Id: 29614519, Consumer Id: 689008, Address Id: 1963445 => Updated with Vin: 1G6KF57932U140826 ## Mail History Id: 29614661, Consumer Id: 684842, Address Id: 1969876 => Updated with Vin: 1GYEK13R5XR407778 ## Mail History Id: 29614595, Consumer Id: 627230, Address Id: 4787529 => Updated with Vin: 1G6KS52Y6VU829967 ## Mail History Id: 29614639, Consumer Id: 682962, Address Id: 11795239 => Updated with Vin: W06VR54R71R000836 ## Mail History Id: 29616374, Consumer Id: 629835, Address Id: 1961782 => Updated with Vin: 1G6KY549X3U269422 ## Mail History Id: 29614501, Consumer Id: 690315, Address Id: 11797577 => Updated with Vin: 1G6DM577440100391 ## Total mail_history records updated with vin numbers: 29 out of 34 ============================================================ ====== Tracking Id: 1067 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-07 10:15:07') AND us2_order_type_id = 3 ## Order found: 1364 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1364 AND product_id = 142 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3697 ## Mailing found: '12709' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615868, Consumer Id: 1044416, Address Id: 14952821 => Updated with Vin: 1G6DM57T670106808 ## Mail History Id: 29615812, Consumer Id: 1044618, Address Id: 14952880 => Updated with Vin: 1GYFK63817R250985 ## Mail History Id: 29615900, Consumer Id: 1045753, Address Id: 1077905 => Updated with Vin: 1G6KD57Y38U169281 ## Mail History Id: 29615966, Consumer Id: 1045286, Address Id: 1085394 => Updated with Vin: 1GYFK66858R104263 ## Mail History Id: 29616264, Consumer Id: 1045679, Address Id: 12937942 => Updated with Vin: 1G6KD57Y85U187805 ## Mail History Id: 29616286, Consumer Id: 1042435, Address Id: 14952289 => Updated with Vin: 1GYEC63T94R124771 ## Mail History Id: 29616158, Consumer Id: 1045750, Address Id: 6122319 => Updated with Vin: 1G6KD57YX8U171710 ## Mail History Id: 29615828, Consumer Id: 1041792, Address Id: 5984195 => Updated with Vin: 1G6KE57YX1U106942 ## Mail History Id: 29616000, Consumer Id: 1042697, Address Id: 5994986 => Updated with Vin: 1G6KD54Y73U230354 ## Mail History Id: 29615982, Consumer Id: 1045439, Address Id: 14953130 => Updated with Vin: 3GYFK66N24G332673 ## Mail History Id: 29615894, Consumer Id: 1046196, Address Id: 5989174 => Updated with Vin: 1G6DW677550147544 ## Mail History Id: 29615844, Consumer Id: 1041987, Address Id: 3593780 => Updated with Vin: 1G3NG52M8X6325680 ## Mail History Id: 29616068, Consumer Id: 1050260, Address Id: 14954268 => Updated with Vin: 1GYEK63N24R106634 ## Mail History Id: 29615832, Consumer Id: 1043029, Address Id: 14952424 => Updated with Vin: 1G6CD53B0N4278797 ## Mail History Id: 29615832, Consumer Id: 1043029, Address Id: 14952424 => Updated with Vin: 1G6CD53B0N4278797 ## Mail History Id: 29615808, Consumer Id: 1048055, Address Id: 3240109 => Updated with Vin: 1G6KD54Y44U186931 ## Mail History Id: 29616240, Consumer Id: 1041796, Address Id: 2848559 => Updated with Vin: 1G6KS54Y4XU901796 ## Mail History Id: 29615798, Consumer Id: 1045056, Address Id: 8826455 => Updated with Vin: 1G6KD54Y54U179471 ## Total mail_history records updated with vin numbers: 18 out of 18 ============================================================ ====== Tracking Id: 1068 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-07 10:16:02') AND us2_order_type_id = 3 ## Order found: 1362 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1362 AND product_id = 140 ## Job Group Found: '479' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('479') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108006') AND customer_id = 3768 ## Mailing found: '12692' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616878, Consumer Id: 1177836, Address Id: 9429495 => Updated with Vin: 1G6KD57Y26U195853 ## Mail History Id: 29616880, Consumer Id: 1046628, Address Id: 2849613 => Updated with Vin: 1G6KF57971U126197 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1069 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-07 10:17:56') AND us2_order_type_id = 3 ## Order found: 1365 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1365 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3815 ## Mailing found: '12714' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615268, Consumer Id: 1369762, Address Id: 15635324 => Updated with Vin: 2HKYF18534H513209 ## Mail History Id: 29615126, Consumer Id: 1368522, Address Id: 15635012 => Updated with Vin: 1HGCG5652XA114113 ## Mail History Id: 29614670, Consumer Id: 1359944, Address Id: 15632537 => Updated with Vin: 1HGCE6668SA013140 ## Mail History Id: 29614538, Consumer Id: 1363068, Address Id: 15635852 => Updated with Vin: 5FNRL38786B070552 ## Mail History Id: 29614708, Consumer Id: 1365296, Address Id: 15632741 => Updated with Vin: 1HGCM665X3A068412 ## Mail History Id: 29616138, Consumer Id: 1376493, Address Id: 15638245 => Updated with Vin: 1HGCM665X3A068412 ## Mail History Id: 29614708, Consumer Id: 1360210, Address Id: 15632741 => Updated with Vin: 5FNRL18624B056011 ## Mail History Id: 29614848, Consumer Id: 1368263, Address Id: 15634835 => Updated with Vin: 2HKYF18493H513124 ## Mail History Id: 29614872, Consumer Id: 1361663, Address Id: 15633796 => Updated with Vin: 1HGEM22105L061321 ## Mail History Id: 29614700, Consumer Id: 1361631, Address Id: 9421818 => Updated with Vin: 5FNRL38495B416581 ## Mail History Id: 29616224, Consumer Id: 1369468, Address Id: 15636238 => Updated with Vin: 1HGCG56641A119877 ## Mail History Id: 29615276, Consumer Id: 1367875, Address Id: 11307612 => Updated with Vin: 1HGES25752L002167 ## Mail History Id: 29615166, Consumer Id: 1364288, Address Id: 15637199 => Updated with Vin: 1HGCM56427A011516 ## Mail History Id: 29614800, Consumer Id: 1361661, Address Id: 15633794 => Updated with Vin: 5FNRL38775B098051 ## Mail History Id: 29615286, Consumer Id: 1373311, Address Id: 15635554 => Updated with Vin: 1HGCB7676NA086535 ## Mail History Id: 29614968, Consumer Id: 1363247, Address Id: 15634004 => Updated with Vin: 5J6YH28766L006170 ## Mail History Id: 29614870, Consumer Id: 1370108, Address Id: 2569769 => Updated with Vin: 1HGEJ8141YL086871 ## Mail History Id: 29615086, Consumer Id: 1368429, Address Id: 15634947 => Updated with Vin: JHMCG567XYC003362 ## Mail History Id: 29614898, Consumer Id: 1366884, Address Id: 2570138 => Updated with Vin: 1HGCP36878A008739 ## Mail History Id: 29615020, Consumer Id: 1363391, Address Id: 15636068 => Updated with Vin: 5FNRL386X6B422571 ## Mail History Id: 29615054, Consumer Id: 1359487, Address Id: 15632188 => Updated with Vin: 2HKYF18424H503178 ## Mail History Id: 29615036, Consumer Id: 1359486, Address Id: 9422920 => Updated with Vin: SHSRD78463U158207 ## Mail History Id: 29614766, Consumer Id: 1369315, Address Id: 15636139 => Updated with Vin: 5FNRL18092B036296 ## Mail History Id: 29614826, Consumer Id: 1364942, Address Id: 15636903 => Updated with Vin: 5FNRL38797B423950 ## Mail History Id: 29616120, Consumer Id: 1366668, Address Id: 15632575 => Updated with Vin: JHLRE38707C082089 ## Mail History Id: 29614782, Consumer Id: 1360961, Address Id: 15633293 => Updated with Vin: 1HGCM56455A043051 ## Mail History Id: 29614602, Consumer Id: 1360084, Address Id: 15632645 => Updated with Vin: JHMES95633S025502 ## Mail History Id: 29616096, Consumer Id: 1360435, Address Id: 15632914 => Updated with Vin: 5FNRL186X4B072358 ## Mail History Id: 29615216, Consumer Id: 1361130, Address Id: 15633412 => Updated with Vin: SHSRD78965U308914 ## Mail History Id: 29614496, Consumer Id: 1373037, Address Id: 15669382 => Updated with Vin: 2HGEJ6520WH606968 ## Mail History Id: 29614544, Consumer Id: 1361273, Address Id: 15633513 => Updated with Vin: 5FNYF18505B016697 ## Mail History Id: 29615206, Consumer Id: 1363241, Address Id: 15635971 => Updated with Vin: 1HGCM56386A094990 ## Mail History Id: 29614784, Consumer Id: 1373765, Address Id: 15669819 => Updated with Vin: 2HGEJ6675VH556853 ## Mail History Id: 29615056, Consumer Id: 1365830, Address Id: 15634375 => Updated with Vin: 1HGCM56797A134899 ## Mail History Id: 29614828, Consumer Id: 1366638, Address Id: 15635093 => Updated with Vin: 1HGCP26788A014924 ## Mail History Id: 29614756, Consumer Id: 1362610, Address Id: 15635151 => Updated with Vin: JS3TY92V444107247 ## Mail History Id: 29614490, Consumer Id: 1362800, Address Id: 15635268 => Updated with Vin: 1HGCM56386A055509 ## Mail History Id: 29616108, Consumer Id: 1362789, Address Id: 15635262 => Updated with Vin: JA4MW51R12J015348 ## Mail History Id: 29614966, Consumer Id: 1362798, Address Id: 15635266 => Updated with Vin: SHSRD78556U403687 ## Mail History Id: 29615018, Consumer Id: 1363039, Address Id: 8298737 => Updated with Vin: 1HGCM56364A152415 ## Mail History Id: 29615074, Consumer Id: 1363384, Address Id: 15636377 => Updated with Vin: 5FNRL38726B428650 ## Mail History Id: 29614804, Consumer Id: 1364266, Address Id: 15636585 => Updated with Vin: 5J6YH18736L015645 ## Mail History Id: 29615096, Consumer Id: 1364051, Address Id: 9423740 => Updated with Vin: 1HGFA16816L128265 ## Mail History Id: 29614931, Consumer Id: 1364089, Address Id: 15637079 => Updated with Vin: 1HGCM72774A018761 ## Mail History Id: 29614696, Consumer Id: 1364251, Address Id: 15637180 => Updated with Vin: 5FNRL38716B078489 ## Mail History Id: 29615292, Consumer Id: 1378028, Address Id: 15637542 => Updated with Vin: 5J6YH28606L003482 ## Mail History Id: 29615196, Consumer Id: 1364544, Address Id: 15637573 => Updated with Vin: JHLRE38367C005935 ## Mail History Id: 29614566, Consumer Id: 1364543, Address Id: 15637572 => Updated with Vin: YV1CZ592751213219 ## Mail History Id: 29615106, Consumer Id: 1364642, Address Id: 15637629 => Updated with Vin: 1HGCM665X3A028833 ## Mail History Id: 29614914, Consumer Id: 1378549, Address Id: 15671464 => Updated with Vin: 5FNRL38725B067841 ## Mail History Id: 29614730, Consumer Id: 1366310, Address Id: 15639208 => Updated with Vin: 1HGCP36878A001340 ## Mail History Id: 29615038, Consumer Id: 1364659, Address Id: 8298759 => Updated with Vin: 1HGCM56317A036074 ## Mail History Id: 29614658, Consumer Id: 1364804, Address Id: 15637737 => Updated with Vin: 5FNRL38777B420142 ## Mail History Id: 29614658, Consumer Id: 1364804, Address Id: 15637737 => Updated with Vin: 5FNRL38777B420142 ## Mail History Id: 29616134, Consumer Id: 1378593, Address Id: 15639563 => Updated with Vin: 2HNYD18812H520689 ## Mail History Id: 29616134, Consumer Id: 1378593, Address Id: 15639563 => Updated with Vin: 2HNYD18812H520689 ## Mail History Id: 29616134, Consumer Id: 1378593, Address Id: 15639563 => Updated with Vin: 2HNYD18812H520689 ## Mail History Id: 29616134, Consumer Id: 1378593, Address Id: 15639563 => Updated with Vin: 2HNYD18812H520689 ## Mail History Id: 29616216, Consumer Id: 1365045, Address Id: 15638087 => Updated with Vin: 1HGFA16877L047515 ## Mail History Id: 29614824, Consumer Id: 1378044, Address Id: 15671151 => Updated with Vin: 5FNRL38465B035934 ## Mail History Id: 29614894, Consumer Id: 1365234, Address Id: 8298368 => Updated with Vin: 2HGFG12896H534604 ## Mail History Id: 29614520, Consumer Id: 1362590, Address Id: 15635138 => Updated with Vin: 1HGCG5657YA010718 ## Mail History Id: 29614520, Consumer Id: 1365418, Address Id: 15635138 => Updated with Vin: 1HGEJ8644TL057544 ## Mail History Id: 29614744, Consumer Id: 1366339, Address Id: 15631829 => Updated with Vin: 1HGCP36828A003240 ## Mail History Id: 29614744, Consumer Id: 1366339, Address Id: 15631829 => Updated with Vin: 1HGCP36828A003240 ## Mail History Id: 29616110, Consumer Id: 1376144, Address Id: 15669158 => Updated with Vin: 5FNRL38425B085732 ## Mail History Id: 29615168, Consumer Id: 1365837, Address Id: 15638760 => Updated with Vin: 1HGCM66584A024376 ## Mail History Id: 29614614, Consumer Id: 1365840, Address Id: 15638763 => Updated with Vin: 1HGCM56407A177890 ## Mail History Id: 29616100, Consumer Id: 1378668, Address Id: 15671492 => Updated with Vin: 1HGFA16536L021711 ## Mail History Id: 29616100, Consumer Id: 1378668, Address Id: 15671492 => Updated with Vin: 1HGFA16536L021711 ## Mail History Id: 29616048, Consumer Id: 1366205, Address Id: 15639136 => Updated with Vin: 1HGCM56327A201999 ## Mail History Id: 29615120, Consumer Id: 1366204, Address Id: 9052656 => Updated with Vin: 4USBT53413LU02442 ## Mail History Id: 29615236, Consumer Id: 1366346, Address Id: 15639225 => Updated with Vin: 1HGFA16507L133240 ## Mail History Id: 29615280, Consumer Id: 1366514, Address Id: 15639317 => Updated with Vin: 5FNRL18814B113249 ## Mail History Id: 29615256, Consumer Id: 1378976, Address Id: 15671686 => Updated with Vin: 1HGFA16856L028010 ## Mail History Id: 29616028, Consumer Id: 1366629, Address Id: 15639527 => Updated with Vin: 1HGCM56364A061550 ## Mail History Id: 29615012, Consumer Id: 1366839, Address Id: 15639638 => Updated with Vin: 5FNYF18268B003351 ## Mail History Id: 29615224, Consumer Id: 1366749, Address Id: 15639590 => Updated with Vin: 1HGCP368X8A014034 ## Mail History Id: 29615230, Consumer Id: 1367046, Address Id: 15639751 => Updated with Vin: 1HGCM56885A001296 ## Mail History Id: 29615062, Consumer Id: 1367153, Address Id: 15639911 => Updated with Vin: 1HGCP268X8A052650 ## Mail History Id: 29614648, Consumer Id: 1367502, Address Id: 15640113 => Updated with Vin: 2HJYK16468H531249 ## Mail History Id: 29615140, Consumer Id: 1367394, Address Id: 9424396 => Updated with Vin: SHSRD78844U238075 ## Mail History Id: 29615140, Consumer Id: 1367394, Address Id: 9424396 => Updated with Vin: SHSRD78844U238075 ## Mail History Id: 29615228, Consumer Id: 1371745, Address Id: 15668636 => Updated with Vin: 1HGCM56356A079363 ## Mail History Id: 29614818, Consumer Id: 1371802, Address Id: 15668665 => Updated with Vin: 1HGCP36898A046621 ## Mail History Id: 29614976, Consumer Id: 1371842, Address Id: 15668687 => Updated with Vin: 1HGCP26458A063066 ## Mail History Id: 29614976, Consumer Id: 1371842, Address Id: 15668687 => Updated with Vin: 1HGCP26458A063066 ## Mail History Id: 29615114, Consumer Id: 1371854, Address Id: 15668693 => Updated with Vin: 1HGCM56846A006979 ## Total mail_history records updated with vin numbers: 88 out of 93 ============================================================ ====== Tracking Id: 1070 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-07 10:18:05') AND us2_order_type_id = 3 ## Order found: 1365 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1365 AND product_id = 2147 ## Job Group Found: '551' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('551') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082908002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082908002') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1071 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-07 10:39:22') AND us2_order_type_id = 3 ## Order found: 1361 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1361 AND product_id = 140 ## Job Group Found: '479' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('479') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108006') AND customer_id = 3230 ## Mailing found: '12690' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1072 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-07 11:09:56') AND us2_order_type_id = 3 ## Order found: 1366 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1366 AND product_id = 112 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3486 ## Mailing found: '12699' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616669, Consumer Id: 490417, Address Id: 1036060 => Updated with Vin: 3GNEC12J37G156944 ## Mail History Id: 29616671, Consumer Id: 476587, Address Id: 4378050 => Updated with Vin: 1GNDX03E53D202924 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1073 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-07 11:13:17') AND us2_order_type_id = 3 ## Order found: 1367 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1367 AND product_id = 144 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3705 ## Mailing found: '12710' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615685, Consumer Id: 975560, Address Id: 14843902 => Updated with Vin: 3GNEC12Z55G240346 ## Mail History Id: 29615837, Consumer Id: 964616, Address Id: 11389261 => Updated with Vin: 3GNFC16JX7G110249 ## Mail History Id: 29615791, Consumer Id: 965795, Address Id: 14837998 => Updated with Vin: 5GADT13S662281425 ## Mail History Id: 29615833, Consumer Id: 972751, Address Id: 14843127 => Updated with Vin: 1GKFC13C18R155875 ## Mail History Id: 29615819, Consumer Id: 972783, Address Id: 14843153 => Updated with Vin: 2GTEC19JX81101741 ## Mail History Id: 29615669, Consumer Id: 972797, Address Id: 14840067 => Updated with Vin: 1LNHM81V27Y623014 ## Mail History Id: 29615843, Consumer Id: 972798, Address Id: 14843163 => Updated with Vin: 1G8AL55F07Z158750 ## Mail History Id: 29615675, Consumer Id: 972799, Address Id: 14843164 => Updated with Vin: 2GTEC638381197781 ## Mail History Id: 29615841, Consumer Id: 976096, Address Id: 14844223 => Updated with Vin: 1GCEC14V52Z219043 ## Mail History Id: 29615851, Consumer Id: 978812, Address Id: 14845736 => Updated with Vin: 1GBFG15R5X1057287 ## Mail History Id: 29615795, Consumer Id: 979745, Address Id: 9253319 => Updated with Vin: 1GCEK19J27Z593383 ## Mail History Id: 29615853, Consumer Id: 980920, Address Id: 14846842 => Updated with Vin: 1GCCS14H738205995 ## Mail History Id: 29615857, Consumer Id: 980916, Address Id: 14846840 => Updated with Vin: 1G1AK55F177134910 ## Mail History Id: 29615751, Consumer Id: 980900, Address Id: 9159880 => Updated with Vin: 1G2HX54K514249609 ## Mail History Id: 29615709, Consumer Id: 980889, Address Id: 14846825 => Updated with Vin: 1GNDU06E6VD105402 ## Total mail_history records updated with vin numbers: 15 out of 26 ============================================================ ====== Tracking Id: 1074 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-07 11:13:23') AND us2_order_type_id = 3 ## Order found: 1367 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1367 AND product_id = 112 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3705 ## Mailing found: '12700' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616681, Consumer Id: 974803, Address Id: 9185801 => Updated with Vin: 3GNEC16Z15G137466 ## Mail History Id: 29616683, Consumer Id: 974465, Address Id: 9159145 => Updated with Vin: 2GCEK19T041240307 ## Mail History Id: 29616685, Consumer Id: 980284, Address Id: 9160111 => Updated with Vin: 2G4WC582X61251458 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 1075 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-07 11:13:36') AND us2_order_type_id = 3 ## Order found: 1367 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1367 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1076 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-07 11:14:33') AND us2_order_type_id = 3 ## Order found: 1368 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1368 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3721 ## Mailing found: '12711' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29614987, Consumer Id: 1014806, Address Id: 6659878 => Updated with Vin: JM1NC25F160116998 ## Mail History Id: 29615041, Consumer Id: 1008730, Address Id: 6665148 => Updated with Vin: 1YVGE31C1T5560623 ## Mail History Id: 29614963, Consumer Id: 1012818, Address Id: 6658454 => Updated with Vin: 1YVHP84D155M58919 ## Mail History Id: 29614995, Consumer Id: 1013551, Address Id: 529186 => Updated with Vin: 1YVHP80D565M10217 ## Mail History Id: 29615017, Consumer Id: 1013547, Address Id: 6662468 => Updated with Vin: 1YVHP84D465M02717 ## Mail History Id: 29615057, Consumer Id: 1014823, Address Id: 6666631 => Updated with Vin: 4F2YZ02Z16KM28919 ## Mail History Id: 29614999, Consumer Id: 1009733, Address Id: 14931597 => Updated with Vin: JM1BK323881782873 ## Mail History Id: 29614953, Consumer Id: 1009717, Address Id: 6658155 => Updated with Vin: 1YVHP80C375M60235 ## Mail History Id: 29615009, Consumer Id: 1009764, Address Id: 14931661 => Updated with Vin: JM1BK32F781803352 ## Mail History Id: 29615069, Consumer Id: 1017494, Address Id: 6668336 => Updated with Vin: JM1FE173440119998 ## Mail History Id: 29615025, Consumer Id: 1017503, Address Id: 14933485 => Updated with Vin: JM1BK143371742779 ## Mail History Id: 29614981, Consumer Id: 1009790, Address Id: 14931677 => Updated with Vin: JM1BK343481867030 ## Mail History Id: 29615063, Consumer Id: 1009843, Address Id: 14931714 => Updated with Vin: JM1BK32F781786732 ## Mail History Id: 29615063, Consumer Id: 1009843, Address Id: 14931714 => Updated with Vin: JM1BK32F781786732 ## Mail History Id: 29615053, Consumer Id: 1010109, Address Id: 14931798 => Updated with Vin: JM1GG12L061104997 ## Mail History Id: 29615053, Consumer Id: 1010109, Address Id: 14931798 => Updated with Vin: JM1GG12L061104997 ## Mail History Id: 29614967, Consumer Id: 1009866, Address Id: 14931733 => Updated with Vin: 4F2CZ06158KM19917 ## Mail History Id: 29614967, Consumer Id: 1009866, Address Id: 14931733 => Updated with Vin: 4F2CZ06158KM19917 ## Mail History Id: 29615067, Consumer Id: 1009868, Address Id: 14931735 => Updated with Vin: JM1BK32F981869160 ## Total mail_history records updated with vin numbers: 19 out of 20 ============================================================ ====== Tracking Id: 1077 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-07 11:39:33') AND us2_order_type_id = 3 ## Order found: 1369 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1369 AND product_id = 142 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3357 ## Mailing found: '12705' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616231, Consumer Id: 188397, Address Id: 399180 => Updated with Vin: 1FMCU95H05KD90710 ## Mail History Id: 29616231, Consumer Id: 188397, Address Id: 399180 => Updated with Vin: 1FMCU95H05KD90710 ## Mail History Id: 29616333, Consumer Id: 663026, Address Id: 398435 => Updated with Vin: 2FMDK49C58BA86055 ## Mail History Id: 29616255, Consumer Id: 910270, Address Id: 6485890 => Updated with Vin: 1FMPU18L51LA45552 ## Mail History Id: 29616283, Consumer Id: 910269, Address Id: 11940558 => Updated with Vin: 1FTRX17W4XNA07436 ## Mail History Id: 29616159, Consumer Id: 192474, Address Id: 394713 => Updated with Vin: 1FTYR14U71PA89053 ## Mail History Id: 29616291, Consumer Id: 195486, Address Id: 398358 => Updated with Vin: 1FMYU03101KF78662 ## Mail History Id: 29616247, Consumer Id: 937147, Address Id: 11959572 => Updated with Vin: 1FMZU77E61UB91306 ## Mail History Id: 29616247, Consumer Id: 937147, Address Id: 11959572 => Updated with Vin: 1FMZU77E61UB91306 ## Mail History Id: 29616339, Consumer Id: 188547, Address Id: 400230 => Updated with Vin: 1FMDU73K44ZA25654 ## Mail History Id: 29616119, Consumer Id: 188663, Address Id: 398702 => Updated with Vin: 1FTRW07L91KC29787 ## Mail History Id: 29616241, Consumer Id: 937153, Address Id: 6486533 => Updated with Vin: 1FTNS24L86HA10768 ## Mail History Id: 29616287, Consumer Id: 195895, Address Id: 405117 => Updated with Vin: 1LNHM87AX2Y613411 ## Mail History Id: 29616265, Consumer Id: 233431, Address Id: 445947 => Updated with Vin: 1LNLM82W3RY718024 ## Mail History Id: 29616329, Consumer Id: 937156, Address Id: 11959579 => Updated with Vin: 1FMZU62KX3UC61660 ## Mail History Id: 29616363, Consumer Id: 155882, Address Id: 397908 => Updated with Vin: 1FAFP44654F219525 ## Mail History Id: 29616279, Consumer Id: 194681, Address Id: 400598 => Updated with Vin: JM1CR29L760113559 ## Mail History Id: 29616227, Consumer Id: 195150, Address Id: 404531 => Updated with Vin: 1ZVFT80N165131801 ## Mail History Id: 29616293, Consumer Id: 194439, Address Id: 404797 => Updated with Vin: 1FTNE24W56DB26373 ## Mail History Id: 29616133, Consumer Id: 152929, Address Id: 395223 => Updated with Vin: 1FAFP25196G152142 ## Mail History Id: 29616121, Consumer Id: 937149, Address Id: 11959574 => Updated with Vin: 3FAFP08Z86R223748 ## Mail History Id: 29616281, Consumer Id: 151967, Address Id: 394332 => Updated with Vin: 1FAHP34N16W122934 ## Mail History Id: 29616317, Consumer Id: 152803, Address Id: 395106 => Updated with Vin: 1FAFP34N06W204600 ## Mail History Id: 29616203, Consumer Id: 154861, Address Id: 396975 => Updated with Vin: 1ZVFT80N675350786 ## Mail History Id: 29616369, Consumer Id: 200543, Address Id: 407664 => Updated with Vin: 1FAFP53U97A104403 ## Mail History Id: 29616365, Consumer Id: 154745, Address Id: 396877 => Updated with Vin: 1FTPW14537KC52901 ## Mail History Id: 29616267, Consumer Id: 155614, Address Id: 397657 => Updated with Vin: 1FTRW12W67KD21293 ## Mail History Id: 29616351, Consumer Id: 199473, Address Id: 407145 => Updated with Vin: 1FMFU19537LA98724 ## Mail History Id: 29616139, Consumer Id: 154834, Address Id: 396953 => Updated with Vin: 3FAHP08Z37R251046 ## Mail History Id: 29616259, Consumer Id: 153284, Address Id: 395539 => Updated with Vin: 1FAHP34N37W137999 ## Mail History Id: 29616105, Consumer Id: 871174, Address Id: 11911724 => Updated with Vin: JM1CR29LX80316500 ## Mail History Id: 29616313, Consumer Id: 155512, Address Id: 397560 => Updated with Vin: 1ZVHT80N185122320 ## Mail History Id: 29616313, Consumer Id: 155512, Address Id: 397560 => Updated with Vin: 1ZVHT80N185122320 ## Mail History Id: 29616299, Consumer Id: 937151, Address Id: 11959576 => Updated with Vin: 1FMCU94108KD64648 ## Mail History Id: 29616195, Consumer Id: 151585, Address Id: 393976 => Updated with Vin: 1FMFU15545LA07625 ## Mail History Id: 29616173, Consumer Id: 197092, Address Id: 406475 => Updated with Vin: 1FTEF15N1RKA49501 ## Mail History Id: 29616215, Consumer Id: 937152, Address Id: 11959577 => Updated with Vin: 2C3HD46J6WH136740 ## Mail History Id: 29616145, Consumer Id: 199154, Address Id: 407114 => Updated with Vin: 1FDWE30S6WHB95056 ## Mail History Id: 29616211, Consumer Id: 910271, Address Id: 11940559 => Updated with Vin: 1FMRU17L3XLB85103 ## Mail History Id: 29616271, Consumer Id: 196739, Address Id: 405384 => Updated with Vin: 5LMRU27A9YLJ08304 ## Total mail_history records updated with vin numbers: 40 out of 55 ============================================================ ====== Tracking Id: 1078 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-07 11:39:39') AND us2_order_type_id = 3 ## Order found: 1369 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1369 AND product_id = 112 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3357 ## Mailing found: '12695' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1079 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-07 12:11:15') AND us2_order_type_id = 3 ## Order found: 1370 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1370 AND product_id = 113 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3427 ## Mailing found: '12697' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616705, Consumer Id: 512632, Address Id: 9844950 => Updated with Vin: 1YVFP80D445N31244 ## Mail History Id: 29616707, Consumer Id: 491007, Address Id: 9826960 => Updated with Vin: 1HGCM66513A031331 ## Mail History Id: 29616709, Consumer Id: 501548, Address Id: 326335 => Updated with Vin: 2HGES16613H543862 ## Mail History Id: 29616711, Consumer Id: 500834, Address Id: 327210 => Updated with Vin: 1HGCG6688YA097867 ## Mail History Id: 29616713, Consumer Id: 491183, Address Id: 9827094 => Updated with Vin: 2HKRL1852YH544065 ## Mail History Id: 29616715, Consumer Id: 493819, Address Id: 9829061 => Updated with Vin: 2HGES16563H531908 ## Mail History Id: 29616717, Consumer Id: 500449, Address Id: 328782 => Updated with Vin: 1HGEM225X1L050727 ## Mail History Id: 29616719, Consumer Id: 491242, Address Id: 7554748 => Updated with Vin: JHMRA3842WC001167 ## Mail History Id: 29616721, Consumer Id: 515902, Address Id: 9846874 => Updated with Vin: JNKCV54E93M226485 ## Mail History Id: 29616723, Consumer Id: 473749, Address Id: 9835257 => Updated with Vin: 5FNYF18626B004531 ## Total mail_history records updated with vin numbers: 10 out of 12 ============================================================ ====== Tracking Id: 1080 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-07 12:11:27') AND us2_order_type_id = 3 ## Order found: 1370 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1370 AND product_id = 112 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3427 ## Mailing found: '12697' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616741, Consumer Id: 491171, Address Id: 9827086 => Updated with Vin: JHMBB6244XC007045 ## Mail History Id: 29616743, Consumer Id: 502829, Address Id: 9838626 => Updated with Vin: 1HGCM82615A001114 ## Mail History Id: 29616745, Consumer Id: 499523, Address Id: 328748 => Updated with Vin: 1HGCM56634A063850 ## Mail History Id: 29616747, Consumer Id: 492139, Address Id: 327852 => Updated with Vin: JHLRD788X2C059642 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1081 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-07 12:11:29') AND us2_order_type_id = 3 ## Order found: 1371 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1371 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3471 ## Mailing found: '12708' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615983, Consumer Id: 802548, Address Id: 7416788 => Updated with Vin: 1G3CX52L9R4315351 ## Mail History Id: 29616057, Consumer Id: 822438, Address Id: 11876611 => Updated with Vin: 1GKEK63U63J263243 ## Mail History Id: 29615911, Consumer Id: 798337, Address Id: 7878589 => Updated with Vin: 1G6EL12Y5WU617873 ## Mail History Id: 29615895, Consumer Id: 816386, Address Id: 7878464 => Updated with Vin: 1G6KD57Y23U248806 ## Mail History Id: 29615925, Consumer Id: 823213, Address Id: 11878846 => Updated with Vin: 4T1GK13E5RU028397 ## Mail History Id: 29615925, Consumer Id: 823213, Address Id: 11878846 => Updated with Vin: 4T1GK13E5RU028397 ## Mail History Id: 29615985, Consumer Id: 804296, Address Id: 7416949 => Updated with Vin: 1G6KD57YX4U185651 ## Mail History Id: 29616089, Consumer Id: 797801, Address Id: 11869584 => Updated with Vin: 1G6KD54Y7WU768797 ## Mail History Id: 29615975, Consumer Id: 801744, Address Id: 7416649 => Updated with Vin: 1G3WX52HXYF182370 ## Mail History Id: 29615965, Consumer Id: 816620, Address Id: 7416309 => Updated with Vin: 1GYEE63A040180546 ## Mail History Id: 29615871, Consumer Id: 821017, Address Id: 7415429 => Updated with Vin: 1G6DC67A560196426 ## Mail History Id: 29616029, Consumer Id: 801653, Address Id: 10216089 => Updated with Vin: 1GYEK63N42R310901 ## Mail History Id: 29616083, Consumer Id: 798002, Address Id: 11869665 => Updated with Vin: 1G6KY54961U159643 ## Mail History Id: 29615921, Consumer Id: 801430, Address Id: 7878848 => Updated with Vin: 1G6KS54Y34U105651 ## Mail History Id: 29615955, Consumer Id: 822872, Address Id: 7416474 => Updated with Vin: 3GYFK66N83G294719 ## Mail History Id: 29615881, Consumer Id: 772907, Address Id: 7415439 => Updated with Vin: 1GYEK63N74R251295 ## Mail History Id: 29615879, Consumer Id: 822713, Address Id: 7415434 => Updated with Vin: 1GYEK63N53R227091 ## Mail History Id: 29616065, Consumer Id: 823224, Address Id: 11876456 => Updated with Vin: 1GYEE637X40158610 ## Mail History Id: 29615927, Consumer Id: 760437, Address Id: 7878934 => Updated with Vin: 1GYDE63A640124266 ## Mail History Id: 29615891, Consumer Id: 760261, Address Id: 7878449 => Updated with Vin: 1GYFK66828R221573 ## Total mail_history records updated with vin numbers: 20 out of 29 ============================================================ ====== Tracking Id: 1082 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-07 14:09:51') AND us2_order_type_id = 3 ## Order found: 1372 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1372 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3418 ## Mailing found: '12707' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615247, Consumer Id: 674934, Address Id: 11016515 => Updated with Vin: 1GYEE637750233054 ## Mail History Id: 29615115, Consumer Id: 676639, Address Id: 11784122 => Updated with Vin: 1G6KD54Y33U271726 ## Mail History Id: 29615291, Consumer Id: 610853, Address Id: 11755519 => Updated with Vin: 1GYFK638X8R134766 ## Mail History Id: 29615323, Consumer Id: 667828, Address Id: 11786217 => Updated with Vin: 1G6DM577040124977 ## Mail History Id: 29615323, Consumer Id: 667828, Address Id: 11786217 => Updated with Vin: 1G6DM577040124977 ## Mail History Id: 29615323, Consumer Id: 667828, Address Id: 11786217 => Updated with Vin: 1G6DM577040124977 ## Mail History Id: 29615341, Consumer Id: 670040, Address Id: 11787744 => Updated with Vin: 2G1WX12K4Y9350882 ## Mail History Id: 29615203, Consumer Id: 668734, Address Id: 11786851 => Updated with Vin: 1G6DW5279PR710319 ## Mail History Id: 29615327, Consumer Id: 677915, Address Id: 11792712 => Updated with Vin: 1G6DP577670131296 ## Mail History Id: 29615327, Consumer Id: 677915, Address Id: 11792712 => Updated with Vin: 1G6DP577670131296 ## Mail History Id: 29615379, Consumer Id: 668240, Address Id: 6771789 => Updated with Vin: 1GYDE63A240135507 ## Mail History Id: 29615379, Consumer Id: 668240, Address Id: 6771789 => Updated with Vin: 1GYDE63A240135507 ## Mail History Id: 29615393, Consumer Id: 670697, Address Id: 11788180 => Updated with Vin: 1G6DP567X50115584 ## Mail History Id: 29615393, Consumer Id: 670697, Address Id: 11788180 => Updated with Vin: 1G6DP567X50115584 ## Mail History Id: 29615315, Consumer Id: 677377, Address Id: 11792404 => Updated with Vin: 1GYFK63837R215753 ## Mail History Id: 29615145, Consumer Id: 674508, Address Id: 11790665 => Updated with Vin: 1G6DP577960125409 ## Mail History Id: 29614755, Consumer Id: 675179, Address Id: 11791134 => Updated with Vin: 1G6DW677860167515 ## Mail History Id: 29615399, Consumer Id: 612363, Address Id: 11756060 => Updated with Vin: 1GYEE637460206959 ## Mail History Id: 29615143, Consumer Id: 678301, Address Id: 6925565 => Updated with Vin: 1GYFK66887R298222 ## Mail History Id: 29615141, Consumer Id: 612311, Address Id: 8879892 => Updated with Vin: 1G6DP577560125908 ## Mail History Id: 29615343, Consumer Id: 677960, Address Id: 11792743 => Updated with Vin: 1G6DP577470131538 ## Mail History Id: 29615387, Consumer Id: 663430, Address Id: 11782929 => Updated with Vin: 1G6EL12Y1XU603325 ## Mail History Id: 29615273, Consumer Id: 665597, Address Id: 11784590 => Updated with Vin: 1G6KD54Y31U110872 ## Mail History Id: 29615217, Consumer Id: 679687, Address Id: 11793760 => Updated with Vin: 1GYEE637770184022 ## Mail History Id: 29615099, Consumer Id: 610045, Address Id: 11754822 => Updated with Vin: 1G6KD57Y17U217276 ## Mail History Id: 29615099, Consumer Id: 610045, Address Id: 11754822 => Updated with Vin: 1G6KD57Y17U217276 ## Mail History Id: 29615397, Consumer Id: 677726, Address Id: 6772675 => Updated with Vin: 1G6DW677370120037 ## Mail History Id: 29615281, Consumer Id: 675818, Address Id: 11783033 => Updated with Vin: 1G6DW677860183830 ## Mail History Id: 29615085, Consumer Id: 626877, Address Id: 11764543 => Updated with Vin: 1G6DP577070161278 ## Mail History Id: 29615211, Consumer Id: 678702, Address Id: 11786309 => Updated with Vin: 1G6DC67A670144157 ## Mail History Id: 29615385, Consumer Id: 674442, Address Id: 11785167 => Updated with Vin: 1G6DP577960132702 ## Mail History Id: 29615295, Consumer Id: 678630, Address Id: 11418149 => Updated with Vin: 1GYEE637470144397 ## Mail History Id: 29615209, Consumer Id: 681185, Address Id: 11788192 => Updated with Vin: 1G6DW677770186588 ## Mail History Id: 29615197, Consumer Id: 667047, Address Id: 10326853 => Updated with Vin: 1G6KD57Y12U143642 ## Mail History Id: 29615197, Consumer Id: 667047, Address Id: 10326853 => Updated with Vin: 1G6KD57Y12U143642 ## Mail History Id: 29615161, Consumer Id: 670397, Address Id: 10326292 => Updated with Vin: 1G6EL12Y0YU165835 ## Mail History Id: 29615347, Consumer Id: 612341, Address Id: 11756043 => Updated with Vin: 1G6KS54Y3YU301059 ## Mail History Id: 29615347, Consumer Id: 612341, Address Id: 11756043 => Updated with Vin: 1G6KS54Y3YU301059 ## Mail History Id: 29615359, Consumer Id: 662904, Address Id: 11782626 => Updated with Vin: 1G6KD54YXYU179049 ## Mail History Id: 29615277, Consumer Id: 665596, Address Id: 11784589 => Updated with Vin: 1G6DM57N230111211 ## Mail History Id: 29615313, Consumer Id: 629805, Address Id: 11770020 => Updated with Vin: 1G6KD54Y02U260598 ## Total mail_history records updated with vin numbers: 41 out of 48 ============================================================ ====== Tracking Id: 1083 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-07 19:15:36') AND us2_order_type_id = 3 ## Order found: 1369 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1369 AND product_id = 55 ## Job Group Found: '475' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('475') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108002') AND customer_id = 3357 ## Mailing found: '12703' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616774, Consumer Id: 1637682, Address Id: 16145837 => Updated with Vin: 1FAFP42R34F189518 ## Mail History Id: 29616776, Consumer Id: 1638418, Address Id: 11374110 => Updated with Vin: 1FTYR44U95PA83018 ## Mail History Id: 29616778, Consumer Id: 1637679, Address Id: 16145834 => Updated with Vin: JM1NC25F360116808 ## Mail History Id: 29616780, Consumer Id: 1637681, Address Id: 16145836 => Updated with Vin: 5LMFU28586LJ15763 ## Mail History Id: 29616782, Consumer Id: 1637680, Address Id: 16145835 => Updated with Vin: 1ZVHT82H995119707 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 1084 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-08 08:14:17') AND us2_order_type_id = 3 ## Order found: 1384 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1384 AND product_id = 55 ## Job Group Found: '475' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('475') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108002') AND customer_id = 3230 ## Mailing found: '12702' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1085 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-08 08:44:13') AND us2_order_type_id = 3 ## Order found: 1384 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1384 AND product_id = 113 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3230 ## Mailing found: '12694' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616574, Consumer Id: 103802, Address Id: 53851 => Updated with Vin: 3FTSW31F81MA75801 ## Mail History Id: 29616576, Consumer Id: 64535, Address Id: 48776 => Updated with Vin: 1FTRX04WX5KB54728 ## Mail History Id: 29616578, Consumer Id: 103809, Address Id: 53855 => Updated with Vin: 1FTYR10CXYPA10644 ## Mail History Id: 29616580, Consumer Id: 103803, Address Id: 53852 => Updated with Vin: 1FAFP53204G176145 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1086 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-08 08:44:20') AND us2_order_type_id = 3 ## Order found: 1384 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1384 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3230 ## Mailing found: '12704' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29614861, Consumer Id: 103356, Address Id: 53643 => Updated with Vin: 1FMSU43F21EA19251 ## Mail History Id: 29614727, Consumer Id: 67437, Address Id: 53272 => Updated with Vin: 3FAFP08126R113790 ## Mail History Id: 29614849, Consumer Id: 584038, Address Id: 50524 => Updated with Vin: 1FTPX14V98FB19017 ## Mail History Id: 29614927, Consumer Id: 92664, Address Id: 49275 => Updated with Vin: 1FMDK02147GA17172 ## Mail History Id: 29614925, Consumer Id: 583533, Address Id: 48953 => Updated with Vin: 1FAHP35N28W153031 ## Mail History Id: 29615237, Consumer Id: 62930, Address Id: 47877 => Updated with Vin: 2FMZA51442BB04815 ## Mail History Id: 29614899, Consumer Id: 63722, Address Id: 47613 => Updated with Vin: 1FTNX21F32EB02527 ## Mail History Id: 29614847, Consumer Id: 67677, Address Id: 49636 => Updated with Vin: 3FAHP08137R116496 ## Mail History Id: 29614825, Consumer Id: 103556, Address Id: 53561 => Updated with Vin: 2A4GP54L06R703635 ## Mail History Id: 29614851, Consumer Id: 65207, Address Id: 50699 => Updated with Vin: 1FTPW14514KC58000 ## Mail History Id: 29614681, Consumer Id: 63648, Address Id: 51625 => Updated with Vin: 1FTWW33P74EC63548 ## Mail History Id: 29614693, Consumer Id: 93389, Address Id: 50915 => Updated with Vin: 1FAHP33N18W114434 ## Mail History Id: 29614773, Consumer Id: 64925, Address Id: 47238 => Updated with Vin: 1FTNX21F41EA98230 ## Mail History Id: 29614883, Consumer Id: 67588, Address Id: 50602 => Updated with Vin: 1FMZK03176GA47673 ## Mail History Id: 29614855, Consumer Id: 63959, Address Id: 52084 => Updated with Vin: 1FTRW14W94KC92560 ## Mail History Id: 29614833, Consumer Id: 67078, Address Id: 50398 => Updated with Vin: 1FMZK02196GA26616 ## Mail History Id: 29614765, Consumer Id: 93006, Address Id: 47633 => Updated with Vin: 1FMCU03198KA06154 ## Mail History Id: 29614779, Consumer Id: 100610, Address Id: 47789 => Updated with Vin: 1FTYR10U91PA90520 ## Mail History Id: 29614819, Consumer Id: 103355, Address Id: 53546 => Updated with Vin: 2C3JA53GX5H609756 ## Mail History Id: 29614821, Consumer Id: 67551, Address Id: 48212 => Updated with Vin: 1FMEU64E66UB25200 ## Mail History Id: 29614781, Consumer Id: 67161, Address Id: 50336 => Updated with Vin: 1FMCU93106KC13811 ## Mail History Id: 29614769, Consumer Id: 66394, Address Id: 52363 => Updated with Vin: 1FTWW33F9XEE97931 ## Mail History Id: 29614829, Consumer Id: 38446, Address Id: 47595 => Updated with Vin: 1ZVFT80N655145661 ## Mail History Id: 29614885, Consumer Id: 38536, Address Id: 51657 => Updated with Vin: 1FTPW14556FA14510 ## Mail History Id: 29614811, Consumer Id: 528036, Address Id: 50188 => Updated with Vin: 1FTPX14564NB90191 ## Mail History Id: 29614873, Consumer Id: 528047, Address Id: 9865229 => Updated with Vin: 1ZVFT80N375221386 ## Mail History Id: 29614697, Consumer Id: 63460, Address Id: 48317 => Updated with Vin: 1FAFP53253G146587 ## Mail History Id: 29614689, Consumer Id: 100338, Address Id: 47331 => Updated with Vin: 1FAFP53213G190683 ## Mail History Id: 29614685, Consumer Id: 64265, Address Id: 48217 => Updated with Vin: 1FMPU18L62LA88590 ## Mail History Id: 29614713, Consumer Id: 63049, Address Id: 48333 => Updated with Vin: 1FTRW08L03KD67624 ## Mail History Id: 29614731, Consumer Id: 92347, Address Id: 50408 => Updated with Vin: 1ZVHT80N765204940 ## Mail History Id: 29614745, Consumer Id: 67250, Address Id: 49567 => Updated with Vin: 1FAFP36N96W131465 ## Total mail_history records updated with vin numbers: 32 out of 44 ============================================================ ====== Tracking Id: 1087 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-08 09:16:55') AND us2_order_type_id = 3 ## Order found: 1385 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1385 AND product_id = 142 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3768 ## Mailing found: '12712' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615888, Consumer Id: 1109106, Address Id: 12938821 => Updated with Vin: 1GYEC63837R305493 ## Mail History Id: 29615950, Consumer Id: 1108577, Address Id: 8828808 => Updated with Vin: 1GYEK63N34R235952 ## Mail History Id: 29615926, Consumer Id: 1047924, Address Id: 8828150 => Updated with Vin: 1G6KD57YX6U109477 ## Mail History Id: 29615934, Consumer Id: 1116399, Address Id: 9431379 => Updated with Vin: 1G6KF57955U174187 ## Mail History Id: 29616002, Consumer Id: 1051306, Address Id: 5994592 => Updated with Vin: 1FALP62W1TH130765 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 1088 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-08 10:16:10') AND us2_order_type_id = 3 ## Order found: 1386 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1386 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3416 ## Mailing found: '12706' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29614539, Consumer Id: 692139, Address Id: 11798229 => Updated with Vin: 1GYEE637240191505 ## Mail History Id: 29616350, Consumer Id: 625374, Address Id: 1960904 => Updated with Vin: 1G6KD57Y27U156939 ## Mail History Id: 29614485, Consumer Id: 625431, Address Id: 6871681 => Updated with Vin: 1G6KD54Y75U117149 ## Mail History Id: 29615405, Consumer Id: 625502, Address Id: 3775260 => Updated with Vin: 5GTDN13E378201153 ## Mail History Id: 29614497, Consumer Id: 625569, Address Id: 3758472 => Updated with Vin: 1G6DW677250174894 ## Mail History Id: 29616334, Consumer Id: 625540, Address Id: 1959877 => Updated with Vin: 1G6KD57Y17U235812 ## Mail History Id: 29616308, Consumer Id: 625723, Address Id: 1959030 => Updated with Vin: 1G6DW67V580107824 ## Mail History Id: 29616376, Consumer Id: 911065, Address Id: 11941022 => Updated with Vin: 1G6DN57U070154178 ## Mail History Id: 29616302, Consumer Id: 910927, Address Id: 6880334 => Updated with Vin: 1G6DM577280201709 ## Mail History Id: 29614611, Consumer Id: 911069, Address Id: 11941025 => Updated with Vin: 1G3GR62CXX4118185 ## Mail History Id: 29616296, Consumer Id: 910926, Address Id: 1966857 => Updated with Vin: 1G6DG577280202477 ## Mail History Id: 29616296, Consumer Id: 910926, Address Id: 1966857 => Updated with Vin: 1G6DG577280202477 ## Mail History Id: 29616360, Consumer Id: 685612, Address Id: 11796006 => Updated with Vin: 1G6KD54Y8VU276553 ## Mail History Id: 29614557, Consumer Id: 681932, Address Id: 3761112 => Updated with Vin: 1G6KD52Y5TU262402 ## Mail History Id: 29616372, Consumer Id: 911068, Address Id: 10933622 => Updated with Vin: 2G4WS52J1Y1243626 ## Mail History Id: 29614593, Consumer Id: 682903, Address Id: 1968812 => Updated with Vin: W06VR52R9WR197843 ## Mail History Id: 29614587, Consumer Id: 625995, Address Id: 11766227 => Updated with Vin: 5GTEN43E788184641 ## Mail History Id: 29616358, Consumer Id: 686194, Address Id: 1960939 => Updated with Vin: 2G1WH55K519162720 ## Mail History Id: 29614541, Consumer Id: 681832, Address Id: 11794919 => Updated with Vin: 1G6KE54Y9WU777529 ## Mail History Id: 29614545, Consumer Id: 682945, Address Id: 1964724 => Updated with Vin: 1G6KE57Y7YU247297 ## Mail History Id: 29616384, Consumer Id: 911064, Address Id: 1961933 => Updated with Vin: 1G6DW677760200990 ## Mail History Id: 29614603, Consumer Id: 625781, Address Id: 1969101 => Updated with Vin: 1G6KD54Y65U197706 ## Mail History Id: 29614523, Consumer Id: 682258, Address Id: 1963529 => Updated with Vin: 1G6KY549X2U290706 ## Mail History Id: 29616328, Consumer Id: 625314, Address Id: 1959717 => Updated with Vin: 1GYEE63A770151775 ## Mail History Id: 29614489, Consumer Id: 692756, Address Id: 1962253 => Updated with Vin: 1G6DP577X70153236 ## Mail History Id: 29616318, Consumer Id: 689653, Address Id: 1959243 => Updated with Vin: 1G6DW677450199117 ## Mail History Id: 29616350, Consumer Id: 684742, Address Id: 1960904 => Updated with Vin: W06VR54R0YR096478 ## Mail History Id: 29614569, Consumer Id: 690060, Address Id: 10934466 => Updated with Vin: 1G6DP577460126886 ## Mail History Id: 29616340, Consumer Id: 691261, Address Id: 11796727 => Updated with Vin: 1G6KY5299VU840307 ## Mail History Id: 29614571, Consumer Id: 911067, Address Id: 1968087 => Updated with Vin: 1G6DM577280125506 ## Mail History Id: 29614665, Consumer Id: 691460, Address Id: 1969956 => Updated with Vin: 1GYFK63837R171883 ## Mail History Id: 29614517, Consumer Id: 689280, Address Id: 11795738 => Updated with Vin: 1G6KD57Y85U240602 ## Mail History Id: 29614499, Consumer Id: 627079, Address Id: 1962670 => Updated with Vin: 1GYEK63N73R164592 ## Mail History Id: 29615413, Consumer Id: 689746, Address Id: 11795174 => Updated with Vin: 3GYEK62N95G144199 ## Mail History Id: 29616300, Consumer Id: 687440, Address Id: 1967004 => Updated with Vin: 1G6KY5498XU931858 ## Mail History Id: 29614553, Consumer Id: 690412, Address Id: 11797608 => Updated with Vin: 1G6KD54Y23U134602 ## Mail History Id: 29614573, Consumer Id: 690782, Address Id: 11796357 => Updated with Vin: 1G6DM57T660118987 ## Mail History Id: 29614613, Consumer Id: 692037, Address Id: 4791178 => Updated with Vin: 1G6DP577670119682 ## Mail History Id: 29614585, Consumer Id: 690446, Address Id: 4784336 => Updated with Vin: 1G6DW677260158938 ## Mail History Id: 29616346, Consumer Id: 690592, Address Id: 11795539 => Updated with Vin: 1G6DW677760169997 ## Mail History Id: 29616298, Consumer Id: 625796, Address Id: 1966949 => Updated with Vin: 1G6DT57V580144469 ## Mail History Id: 29614675, Consumer Id: 691923, Address Id: 11795433 => Updated with Vin: 1GYEE637660167405 ## Mail History Id: 29614529, Consumer Id: 686921, Address Id: 1963685 => Updated with Vin: 1GYEE63A040173466 ## Mail History Id: 29616370, Consumer Id: 691633, Address Id: 11796725 => Updated with Vin: 1G6KD57Y57U120596 ## Mail History Id: 29616304, Consumer Id: 689003, Address Id: 10933248 => Updated with Vin: 1G6KY54943U212245 ## Mail History Id: 29614555, Consumer Id: 689578, Address Id: 11797303 => Updated with Vin: 1G6DP577660105991 ## Mail History Id: 29614549, Consumer Id: 689768, Address Id: 11797378 => Updated with Vin: 1G6CD53B2P4248901 ## Mail History Id: 29615407, Consumer Id: 625730, Address Id: 11766105 => Updated with Vin: 5GTEN13E888141795 ## Mail History Id: 29616312, Consumer Id: 689894, Address Id: 3748517 => Updated with Vin: 5GTDN136568125913 ## Mail History Id: 29614509, Consumer Id: 692323, Address Id: 10933815 => Updated with Vin: 1G6DW677360200839 ## Mail History Id: 29614671, Consumer Id: 689753, Address Id: 1970077 => Updated with Vin: 1G6KY54963U159113 ## Mail History Id: 29614619, Consumer Id: 691577, Address Id: 8335768 => Updated with Vin: 1G6DP577070122075 ## Mail History Id: 29614543, Consumer Id: 691721, Address Id: 4771963 => Updated with Vin: 5GTDN13EX78114687 ## Total mail_history records updated with vin numbers: 53 out of 72 ============================================================ ====== Tracking Id: 1089 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-08 10:18:25') AND us2_order_type_id = 3 ## Order found: 1387 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1387 AND product_id = 142 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3697 ## Mailing found: '12709' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615908, Consumer Id: 1044328, Address Id: 5990147 => Updated with Vin: 1G6DW677670164517 ## Mail History Id: 29615908, Consumer Id: 1044328, Address Id: 5990147 => Updated with Vin: 1G6DW677670164517 ## Mail History Id: 29616276, Consumer Id: 1045980, Address Id: 14953288 => Updated with Vin: 1GYEK63N06R113374 ## Mail History Id: 29615824, Consumer Id: 1042204, Address Id: 5983827 => Updated with Vin: 1G6KS54Y91U225451 ## Mail History Id: 29615800, Consumer Id: 1043543, Address Id: 2854106 => Updated with Vin: 1G6DM57T760210965 ## Mail History Id: 29615920, Consumer Id: 1044794, Address Id: 14952935 => Updated with Vin: 1GYEE637540182085 ## Mail History Id: 29615920, Consumer Id: 1044794, Address Id: 14952935 => Updated with Vin: 1GYEE637540182085 ## Mail History Id: 29615902, Consumer Id: 1041601, Address Id: 5989272 => Updated with Vin: 1G6KF5797YU328497 ## Mail History Id: 29616284, Consumer Id: 1051962, Address Id: 14953402 => Updated with Vin: 1G6KF57964U229678 ## Mail History Id: 29616260, Consumer Id: 1050011, Address Id: 14954350 => Updated with Vin: 1G6KD54Y85U218992 ## Mail History Id: 29615810, Consumer Id: 1048149, Address Id: 3240130 => Updated with Vin: 1G6KD54Y53U160854 ## Mail History Id: 29616198, Consumer Id: 1045966, Address Id: 11451267 => Updated with Vin: 1G6KD57Y78U107561 ## Total mail_history records updated with vin numbers: 12 out of 14 ============================================================ ====== Tracking Id: 1090 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-08 10:19:36') AND us2_order_type_id = 3 ## Order found: 1388 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1388 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3815 ## Mailing found: '12714' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615180, Consumer Id: 1364545, Address Id: 15636193 => Updated with Vin: 1HGCM567X7A025965 ## Mail History Id: 29615270, Consumer Id: 1366835, Address Id: 15634115 => Updated with Vin: 1HGCP36888A013853 ## Mail History Id: 29614666, Consumer Id: 1369244, Address Id: 15636088 => Updated with Vin: 1HGCG16581A071784 ## Mail History Id: 29615020, Consumer Id: 1363391, Address Id: 15636068 => Updated with Vin: 5FNRL386X6B422571 ## Mail History Id: 29614878, Consumer Id: 1368873, Address Id: 15635521 => Updated with Vin: 2HGEH2358RH510754 ## Mail History Id: 29614584, Consumer Id: 1379771, Address Id: 15672075 => Updated with Vin: 1HGCM72283A010476 ## Mail History Id: 29616116, Consumer Id: 1360224, Address Id: 15632753 => Updated with Vin: 1HGCM56814A115283 ## Mail History Id: 29614754, Consumer Id: 1373211, Address Id: 15669502 => Updated with Vin: 2HKYF184X5H527391 ## Mail History Id: 29614754, Consumer Id: 1373211, Address Id: 15669502 => Updated with Vin: 2HKYF184X5H527391 ## Mail History Id: 29614636, Consumer Id: 1367235, Address Id: 15639962 => Updated with Vin: JHLRE48748C034361 ## Mail History Id: 29614484, Consumer Id: 1362294, Address Id: 15634452 => Updated with Vin: 1HGEM22135L069882 ## Mail History Id: 29615048, Consumer Id: 1362293, Address Id: 15634451 => Updated with Vin: 1HGCM56466A005779 ## Mail History Id: 29614970, Consumer Id: 1362883, Address Id: 15635734 => Updated with Vin: 1HGFA16856L038004 ## Mail History Id: 29616026, Consumer Id: 1365537, Address Id: 15634914 => Updated with Vin: JHLRE48377C062571 ## Mail History Id: 29614933, Consumer Id: 1377074, Address Id: 2810593 => Updated with Vin: JHMCG566X2C015123 ## Mail History Id: 29614984, Consumer Id: 1377414, Address Id: 15670815 => Updated with Vin: 2HNYD18402H535911 ## Mail History Id: 29615190, Consumer Id: 1368605, Address Id: 15634944 => Updated with Vin: 1HGCB7658NA054460 ## Mail History Id: 29615128, Consumer Id: 1366790, Address Id: 15638040 => Updated with Vin: JHLRE38368C003569 ## Mail History Id: 29614788, Consumer Id: 1365604, Address Id: 15638617 => Updated with Vin: 5FNRL38447B425319 ## Mail History Id: 29615156, Consumer Id: 1376685, Address Id: 15634133 => Updated with Vin: 1FTCR14A4HPB15280 ## Mail History Id: 29616138, Consumer Id: 1379779, Address Id: 15638245 => Updated with Vin: 1FTCR14A4HPB15280 ## Mail History Id: 29615134, Consumer Id: 1378912, Address Id: 15639513 => Updated with Vin: 4T1BG22KXWU269070 ## Mail History Id: 29614524, Consumer Id: 1378761, Address Id: 15671519 => Updated with Vin: JHLRE48537C029858 ## Mail History Id: 29614698, Consumer Id: 1366353, Address Id: 15639231 => Updated with Vin: 1HGCM56774A088209 ## Mail History Id: 29615288, Consumer Id: 1366564, Address Id: 15639488 => Updated with Vin: 5FNRL38797B075146 ## Mail History Id: 29614638, Consumer Id: 1366763, Address Id: 15639600 => Updated with Vin: KL5VJ56L55B152570 ## Mail History Id: 29614990, Consumer Id: 1367071, Address Id: 15639860 => Updated with Vin: JHLRE38328C013161 ## Mail History Id: 29615198, Consumer Id: 1371835, Address Id: 15668682 => Updated with Vin: 1HGFA16558L035841 ## Total mail_history records updated with vin numbers: 28 out of 31 ============================================================ ====== Tracking Id: 1091 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-08 11:14:10') AND us2_order_type_id = 3 ## Order found: 1389 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1389 AND product_id = 112 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3486 ## Mailing found: '12699' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616638, Consumer Id: 462305, Address Id: 9602126 => Updated with Vin: 2G1WF52E839345469 ## Mail History Id: 29616640, Consumer Id: 480732, Address Id: 4865007 => Updated with Vin: 3GNEC16Z93G120864 ## Mail History Id: 29616642, Consumer Id: 466929, Address Id: 4372492 => Updated with Vin: 1GNDS13SX52376268 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1092 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-08 11:16:21') AND us2_order_type_id = 3 ## Order found: 1390 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1390 AND product_id = 144 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3705 ## Mailing found: '12710' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615815, Consumer Id: 963894, Address Id: 14836532 => Updated with Vin: 3G5DB03L66S542827 ## Mail History Id: 29615763, Consumer Id: 965573, Address Id: 14837841 => Updated with Vin: 5Y2SL65806Z429144 ## Mail History Id: 29615703, Consumer Id: 965794, Address Id: 14837997 => Updated with Vin: 3GNFC16J87G129690 ## Mail History Id: 29615705, Consumer Id: 968905, Address Id: 14840301 => Updated with Vin: 1GKER13747J162992 ## Mail History Id: 29615711, Consumer Id: 969521, Address Id: 14840775 => Updated with Vin: 2GCEC19J071703319 ## Mail History Id: 29615695, Consumer Id: 971605, Address Id: 14842284 => Updated with Vin: 1GKFC13C48R162898 ## Mail History Id: 29615721, Consumer Id: 971604, Address Id: 14841004 => Updated with Vin: 1G2ZG558964143596 ## Mail History Id: 29615863, Consumer Id: 972989, Address Id: 14843284 => Updated with Vin: 1GBHG31V871156595 ## Mail History Id: 29615701, Consumer Id: 972800, Address Id: 14843165 => Updated with Vin: 1GCJK33668F204603 ## Mail History Id: 29615637, Consumer Id: 972801, Address Id: 9235466 => Updated with Vin: 1G1YY26W085119029 ## Mail History Id: 29615679, Consumer Id: 972802, Address Id: 8063367 => Updated with Vin: 2HKRL1864YH553830 ## Mail History Id: 29615793, Consumer Id: 972803, Address Id: 14843166 => Updated with Vin: 2G2WC54C551312740 ## Mail History Id: 29615725, Consumer Id: 961284, Address Id: 14832170 => Updated with Vin: 1G4HP54K714214402 ## Mail History Id: 29615723, Consumer Id: 960238, Address Id: 14831375 => Updated with Vin: 1G4CW54K824235337 ## Mail History Id: 29615635, Consumer Id: 978801, Address Id: 9480895 => Updated with Vin: 1GCHK29224E316022 ## Mail History Id: 29615787, Consumer Id: 979274, Address Id: 9184882 => Updated with Vin: 2CNDL63F866193313 ## Mail History Id: 29615839, Consumer Id: 980945, Address Id: 14846858 => Updated with Vin: 1G1YY26W085101761 ## Mail History Id: 29615797, Consumer Id: 980911, Address Id: 14846836 => Updated with Vin: 1GNEC13Z23R146789 ## Mail History Id: 29615803, Consumer Id: 980930, Address Id: 8473004 => Updated with Vin: 1G4CW54K014157974 ## Mail History Id: 29615719, Consumer Id: 961242, Address Id: 9133081 => Updated with Vin: 2GCEC19T541188881 ## Total mail_history records updated with vin numbers: 20 out of 26 ============================================================ ====== Tracking Id: 1093 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-08 11:16:27') AND us2_order_type_id = 3 ## Order found: 1390 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1390 AND product_id = 106 ## Job Group Found: '477' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('477') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108004') AND customer_id = 3705 ## Mailing found: '12727' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616831, Consumer Id: 960874, Address Id: 14831578 => Updated with Vin: 1GKDS13SX32284474 ## Mail History Id: 29616832, Consumer Id: 965880, Address Id: 14832174 => Updated with Vin: KL1TD56697B050640 ## Mail History Id: 29616833, Consumer Id: 961028, Address Id: 14831697 => Updated with Vin: 1GNFK16Z73R235230 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1094 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-08 11:16:38') AND us2_order_type_id = 3 ## Order found: 1390 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1390 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1095 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-08 11:17:19') AND us2_order_type_id = 3 ## Order found: 1391 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1391 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3721 ## Mailing found: '12711' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615035, Consumer Id: 1010151, Address Id: 14931827 => Updated with Vin: JM3ER293680206172 ## Mail History Id: 29614951, Consumer Id: 1010269, Address Id: 12018543 => Updated with Vin: JM1BK32F981117409 ## Mail History Id: 29615079, Consumer Id: 1015783, Address Id: 3579426 => Updated with Vin: JM1NC25F460108362 ## Mail History Id: 29614993, Consumer Id: 1015781, Address Id: 14933023 => Updated with Vin: JM1BK143071663652 ## Total mail_history records updated with vin numbers: 4 out of 7 ============================================================ ====== Tracking Id: 1096 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-08 11:44:01') AND us2_order_type_id = 3 ## Order found: 1392 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1392 AND product_id = 142 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3357 ## Mailing found: '12705' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616147, Consumer Id: 937464, Address Id: 11959869 => Updated with Vin: 5LMPU28A7XLJ22738 ## Mail History Id: 29616159, Consumer Id: 192474, Address Id: 394713 => Updated with Vin: 1FTYR14U71PA89053 ## Mail History Id: 29616117, Consumer Id: 937465, Address Id: 2355583 => Updated with Vin: 1FTRW07L41KF91476 ## Mail History Id: 29616167, Consumer Id: 191582, Address Id: 400624 => Updated with Vin: 1FAFP52UX3G257591 ## Mail History Id: 29616155, Consumer Id: 189145, Address Id: 397568 => Updated with Vin: JM1BK12F941161053 ## Mail History Id: 29616209, Consumer Id: 190471, Address Id: 401615 => Updated with Vin: 1FMCU03182KD68158 ## Mail History Id: 29616243, Consumer Id: 937469, Address Id: 11959873 => Updated with Vin: 1FAFP55U73A155938 ## Mail History Id: 29616385, Consumer Id: 196257, Address Id: 402390 => Updated with Vin: 1FTRX172X3NB79655 ## Mail History Id: 29616129, Consumer Id: 189909, Address Id: 401255 => Updated with Vin: 1FTYR14UX3PB73080 ## Mail History Id: 29616381, Consumer Id: 194348, Address Id: 403433 => Updated with Vin: 1FTNX20L1XEC94979 ## Mail History Id: 29616381, Consumer Id: 194348, Address Id: 403433 => Updated with Vin: 1FTNX20L1XEC94979 ## Mail History Id: 29616127, Consumer Id: 195911, Address Id: 405474 => Updated with Vin: 1YVFP80C745N96922 ## Mail History Id: 29616131, Consumer Id: 194546, Address Id: 404480 => Updated with Vin: 1FAFP40604F196919 ## Mail History Id: 29616233, Consumer Id: 435602, Address Id: 9800118 => Updated with Vin: 4T1BE32K24U281755 ## Mail History Id: 29616373, Consumer Id: 190872, Address Id: 402015 => Updated with Vin: 1FMZU73K04UB11871 ## Mail History Id: 29616185, Consumer Id: 190926, Address Id: 400941 => Updated with Vin: JM1FE17N750144459 ## Mail History Id: 29616337, Consumer Id: 193642, Address Id: 403358 => Updated with Vin: JM1FE173660205008 ## Mail History Id: 29616227, Consumer Id: 195150, Address Id: 404531 => Updated with Vin: 1ZVFT80N165131801 ## Mail History Id: 29616355, Consumer Id: 937466, Address Id: 11959870 => Updated with Vin: 1FMZK01126GA54582 ## Mail History Id: 29616137, Consumer Id: 153634, Address Id: 394558 => Updated with Vin: 1ZVHT82H375232601 ## Mail History Id: 29616349, Consumer Id: 420543, Address Id: 9800024 => Updated with Vin: 1ZVHT82H475337440 ## Mail History Id: 29616103, Consumer Id: 758596, Address Id: 11850503 => Updated with Vin: 1YVHP80CX75M29869 ## Mail History Id: 29616357, Consumer Id: 155867, Address Id: 397896 => Updated with Vin: JM1BK34M481859602 ## Mail History Id: 29616325, Consumer Id: 193261, Address Id: 402790 => Updated with Vin: 1FTRX07W41KF11505 ## Mail History Id: 29616343, Consumer Id: 937471, Address Id: 11919628 => Updated with Vin: JM1BJ226X10420191 ## Mail History Id: 29616375, Consumer Id: 155622, Address Id: 397664 => Updated with Vin: 1ZVHT80N485156249 ## Mail History Id: 29616173, Consumer Id: 197092, Address Id: 406475 => Updated with Vin: 1FTEF15N1RKA49501 ## Mail History Id: 29616153, Consumer Id: 937472, Address Id: 2357311 => Updated with Vin: 1MEFM50S1XG664496 ## Mail History Id: 29616319, Consumer Id: 937467, Address Id: 11959871 => Updated with Vin: SALPF1641YA429644 ## Mail History Id: 29616237, Consumer Id: 224963, Address Id: 434405 => Updated with Vin: 1FTNX21F1YEA07537 ## Mail History Id: 29616183, Consumer Id: 197390, Address Id: 405800 => Updated with Vin: 1FAFP4046YF163041 ## Total mail_history records updated with vin numbers: 31 out of 44 ============================================================ ====== Tracking Id: 1097 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-08 12:15:45') AND us2_order_type_id = 3 ## Order found: 1393 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1393 AND product_id = 113 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3427 ## Mailing found: '12697' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616742, Consumer Id: 491010, Address Id: 9826962 => Updated with Vin: 1HGCD5608VA190655 ## Mail History Id: 29616744, Consumer Id: 513150, Address Id: 326278 => Updated with Vin: SHSRD78945U311665 ## Mail History Id: 29616746, Consumer Id: 504131, Address Id: 9839406 => Updated with Vin: 2HGES26743H524981 ## Mail History Id: 29616748, Consumer Id: 495347, Address Id: 9830212 => Updated with Vin: 1HGCD5632TA170599 ## Mail History Id: 29616750, Consumer Id: 490784, Address Id: 327768 => Updated with Vin: 1HGCM66543A051251 ## Mail History Id: 29616752, Consumer Id: 498814, Address Id: 9832702 => Updated with Vin: SHSRD78434U219353 ## Mail History Id: 29616754, Consumer Id: 510139, Address Id: 9843432 => Updated with Vin: 5FNRL38706B000429 ## Mail History Id: 29616756, Consumer Id: 472365, Address Id: 9833842 => Updated with Vin: SHSRD78826U425771 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 1098 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-08 12:15:55') AND us2_order_type_id = 3 ## Order found: 1394 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1394 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3471 ## Mailing found: '12708' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615963, Consumer Id: 817370, Address Id: 7416247 => Updated with Vin: 1G6KD54Y03U115370 ## Mail History Id: 29616073, Consumer Id: 803809, Address Id: 10221255 => Updated with Vin: 1G6KS52YXSU810575 ## Mail History Id: 29616059, Consumer Id: 799538, Address Id: 10218500 => Updated with Vin: 1G6KS54Y9YU316472 ## Mail History Id: 29616001, Consumer Id: 797999, Address Id: 10215341 => Updated with Vin: 1G6KD54Y83U270300 ## Mail History Id: 29616007, Consumer Id: 816804, Address Id: 10219442 => Updated with Vin: 1G6KD54YX4U261955 ## Mail History Id: 29615867, Consumer Id: 798818, Address Id: 7877937 => Updated with Vin: 1G6KE57Y03U181040 ## Mail History Id: 29615873, Consumer Id: 820503, Address Id: 7415431 => Updated with Vin: 1GYEE637X60156276 ## Mail History Id: 29616039, Consumer Id: 798455, Address Id: 10216716 => Updated with Vin: 1G6KF549XXU741078 ## Mail History Id: 29616041, Consumer Id: 798947, Address Id: 10216739 => Updated with Vin: 1G6KS54Y7YU176163 ## Mail History Id: 29616085, Consumer Id: 798333, Address Id: 11869822 => Updated with Vin: 1G6KF579X1U219019 ## Mail History Id: 29616071, Consumer Id: 760521, Address Id: 10220093 => Updated with Vin: 1G6KE57Y71U195417 ## Mail History Id: 29615967, Consumer Id: 804323, Address Id: 7416526 => Updated with Vin: 1GYDE637340128778 ## Mail History Id: 29615953, Consumer Id: 804018, Address Id: 7416422 => Updated with Vin: 1GYEK63N74R190367 ## Mail History Id: 29616063, Consumer Id: 807481, Address Id: 11876414 => Updated with Vin: 1G6DP567950129864 ## Mail History Id: 29615957, Consumer Id: 816264, Address Id: 7415882 => Updated with Vin: 3GYFK66N15G121966 ## Mail History Id: 29615929, Consumer Id: 772828, Address Id: 11873914 => Updated with Vin: 1GYEE637450178451 ## Mail History Id: 29615887, Consumer Id: 817319, Address Id: 7878322 => Updated with Vin: 1G6DM57N930103350 ## Mail History Id: 29615877, Consumer Id: 817834, Address Id: 7878057 => Updated with Vin: 1G3GR64H724200022 ## Mail History Id: 29616009, Consumer Id: 818247, Address Id: 10561537 => Updated with Vin: 1G6DC67A660123579 ## Mail History Id: 29615869, Consumer Id: 818011, Address Id: 10558148 => Updated with Vin: 1G6DP577660119938 ## Mail History Id: 29615875, Consumer Id: 805915, Address Id: 11873629 => Updated with Vin: 1G6EL12Y8WU610142 ## Mail History Id: 29616061, Consumer Id: 807085, Address Id: 11874381 => Updated with Vin: 1FTPW14536FA89223 ## Mail History Id: 29615905, Consumer Id: 807000, Address Id: 11876234 => Updated with Vin: 1G6DT57V980166023 ## Mail History Id: 29615905, Consumer Id: 807000, Address Id: 11876234 => Updated with Vin: 1G6DT57V980166023 ## Mail History Id: 29616021, Consumer Id: 806976, Address Id: 10215681 => Updated with Vin: 1G6DT57V380176630 ## Mail History Id: 29615995, Consumer Id: 807088, Address Id: 11877043 => Updated with Vin: 1J4FA29134P793249 ## Mail History Id: 29616033, Consumer Id: 807111, Address Id: 11877052 => Updated with Vin: 1FMDK06156GA38430 ## Total mail_history records updated with vin numbers: 27 out of 39 ============================================================ ====== Tracking Id: 1099 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-08 12:15:57') AND us2_order_type_id = 3 ## Order found: 1393 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1393 AND product_id = 112 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3427 ## Mailing found: '12697' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616593, Consumer Id: 498358, Address Id: 9832368 => Updated with Vin: 5FNRL18624B042142 ## Mail History Id: 29616595, Consumer Id: 493249, Address Id: 9828654 => Updated with Vin: 2HKRL18651H595302 ## Mail History Id: 29616597, Consumer Id: 491231, Address Id: 9827135 => Updated with Vin: 1HGEM21923L012559 ## Mail History Id: 29616599, Consumer Id: 513135, Address Id: 330394 => Updated with Vin: JHMAP21445S006729 ## Mail History Id: 29616601, Consumer Id: 471477, Address Id: 9833072 => Updated with Vin: 5FNRL38895B131415 ## Mail History Id: 29616603, Consumer Id: 512964, Address Id: 9845149 => Updated with Vin: JHMFA36266S005961 ## Mail History Id: 29616605, Consumer Id: 498462, Address Id: 9832442 => Updated with Vin: 2HKYF18444H533489 ## Mail History Id: 29616607, Consumer Id: 493380, Address Id: 327315 => Updated with Vin: 2HKYF18413H569090 ## Mail History Id: 29616609, Consumer Id: 491232, Address Id: 9827136 => Updated with Vin: JHMES96673S017496 ## Mail History Id: 29616611, Consumer Id: 498354, Address Id: 327548 => Updated with Vin: 5FNRL18644B046516 ## Mail History Id: 29616613, Consumer Id: 509087, Address Id: 9842752 => Updated with Vin: JHLRD78884C010555 ## Mail History Id: 29616615, Consumer Id: 483232, Address Id: 9835649 => Updated with Vin: 1HGCM66503A031501 ## Total mail_history records updated with vin numbers: 12 out of 12 ============================================================ ====== Tracking Id: 1100 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-08 12:16:09') AND us2_order_type_id = 3 ## Order found: 1394 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1394 AND product_id = 112 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3471 ## Mailing found: '12698' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616617, Consumer Id: 797856, Address Id: 10214680 => Updated with Vin: 1G6KY5495WU933761 ## Mail History Id: 29616619, Consumer Id: 804249, Address Id: 10215853 => Updated with Vin: 1GHDT13S522394575 ## Mail History Id: 29616621, Consumer Id: 821419, Address Id: 7416284 => Updated with Vin: 1G6KD54Y85U267321 ## Mail History Id: 29616623, Consumer Id: 800964, Address Id: 10219340 => Updated with Vin: 1G6DM57N130165213 ## Mail History Id: 29616625, Consumer Id: 802337, Address Id: 11871878 => Updated with Vin: 1G3HN52K9W4820045 ## Mail History Id: 29616627, Consumer Id: 802953, Address Id: 10219336 => Updated with Vin: 1GYEK63N34R141229 ## Mail History Id: 29616629, Consumer Id: 816349, Address Id: 10217350 => Updated with Vin: 1GYEK63N55R162794 ## Mail History Id: 29616631, Consumer Id: 798846, Address Id: 10216743 => Updated with Vin: 1GYEK63N73R245687 ## Mail History Id: 29616633, Consumer Id: 773053, Address Id: 10218913 => Updated with Vin: 1GYFK66848R147847 ## Mail History Id: 29616635, Consumer Id: 822614, Address Id: 11876548 => Updated with Vin: 1G6DM57N030144241 ## Total mail_history records updated with vin numbers: 10 out of 12 ============================================================ ====== Tracking Id: 1101 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-08 14:13:52') AND us2_order_type_id = 3 ## Order found: 1396 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1396 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3418 ## Mailing found: '12707' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615119, Consumer Id: 678213, Address Id: 11782975 => Updated with Vin: 1G6DM57T360178578 ## Mail History Id: 29615365, Consumer Id: 674948, Address Id: 11790977 => Updated with Vin: 1G6DW677760150804 ## Mail History Id: 29615127, Consumer Id: 612196, Address Id: 11418646 => Updated with Vin: 1G6KD54Y44U217692 ## Mail History Id: 29615395, Consumer Id: 672170, Address Id: 11789145 => Updated with Vin: 1GYEE637150177676 ## Mail History Id: 29615163, Consumer Id: 610796, Address Id: 11755469 => Updated with Vin: 1GYEE637X50139752 ## Mail History Id: 29615383, Consumer Id: 674505, Address Id: 11755723 => Updated with Vin: 1G6DW677260127902 ## Mail History Id: 29615307, Consumer Id: 665854, Address Id: 11784782 => Updated with Vin: 1G6DM57N330135520 ## Mail History Id: 29615153, Consumer Id: 678246, Address Id: 6931903 => Updated with Vin: 1G6DP577370138027 ## Mail History Id: 29615155, Consumer Id: 675726, Address Id: 3872504 => Updated with Vin: 1G6DW677360129528 ## Mail History Id: 29615401, Consumer Id: 630243, Address Id: 11770682 => Updated with Vin: 1G6DM57N130167978 ## Mail History Id: 29615297, Consumer Id: 677226, Address Id: 11792324 => Updated with Vin: 1G6DW677260219852 ## Mail History Id: 29615167, Consumer Id: 668511, Address Id: 11755603 => Updated with Vin: 1G6DM577340144981 ## Mail History Id: 29615167, Consumer Id: 610954, Address Id: 11755603 => Updated with Vin: 1G6DW67V680119674 ## Mail History Id: 29615175, Consumer Id: 673180, Address Id: 10326586 => Updated with Vin: 1GYEE637150215391 ## Mail History Id: 29615223, Consumer Id: 610761, Address Id: 11755438 => Updated with Vin: 1G6DT57V280167952 ## Mail History Id: 29615223, Consumer Id: 610761, Address Id: 11755438 => Updated with Vin: 1G6DT57V280167952 ## Mail History Id: 29615223, Consumer Id: 610761, Address Id: 11755438 => Updated with Vin: 1G6DT57V280167952 ## Mail History Id: 29615255, Consumer Id: 677863, Address Id: 11792680 => Updated with Vin: 1G6DW677070128984 ## Mail History Id: 29615251, Consumer Id: 610589, Address Id: 11755294 => Updated with Vin: 1GYFK638X8R107096 ## Mail History Id: 29615093, Consumer Id: 670648, Address Id: 11049518 => Updated with Vin: 1G6DM577340173803 ## Mail History Id: 29615211, Consumer Id: 678702, Address Id: 11786309 => Updated with Vin: 1G6DC67A670144157 ## Mail History Id: 29615105, Consumer Id: 610647, Address Id: 11755344 => Updated with Vin: 1GYFK63898R185434 ## Mail History Id: 29615329, Consumer Id: 664310, Address Id: 11783606 => Updated with Vin: 1G6DM57N530117732 ## Mail History Id: 29615191, Consumer Id: 612405, Address Id: 6608851 => Updated with Vin: 1G6DP567050107042 ## Total mail_history records updated with vin numbers: 24 out of 33 ============================================================ ====== Tracking Id: 1102 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-08 19:14:12') AND us2_order_type_id = 3 ## Order found: 1392 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1392 AND product_id = 55 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1103 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-09 08:14:28') AND us2_order_type_id = 3 ## Order found: 1424 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1424 AND product_id = 55 ## Job Group Found: '475' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('475') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108002') AND customer_id = 3230 ## Mailing found: '12702' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1104 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-09 08:44:19') AND us2_order_type_id = 3 ## Order found: 1424 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1424 AND product_id = 113 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3230 ## Mailing found: '12694' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616659, Consumer Id: 67148, Address Id: 53206 => Updated with Vin: 1FTRW08LX2KB71561 ## Mail History Id: 29616661, Consumer Id: 66443, Address Id: 50028 => Updated with Vin: 1FTPX145X5NB57034 ## Mail History Id: 29616663, Consumer Id: 528035, Address Id: 48676 => Updated with Vin: 1FAHP53422G143882 ## Mail History Id: 29616665, Consumer Id: 528037, Address Id: 9865089 => Updated with Vin: 1FMYU93136KD56743 ## Mail History Id: 29616667, Consumer Id: 67160, Address Id: 50604 => Updated with Vin: 1FAHP34N16W253605 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 1105 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-09 08:44:26') AND us2_order_type_id = 3 ## Order found: 1424 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1424 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3230 ## Mailing found: '12704' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29614751, Consumer Id: 92940, Address Id: 51373 => Updated with Vin: 1FTWX31R18EA59948 ## Mail History Id: 29614749, Consumer Id: 583861, Address Id: 10857715 => Updated with Vin: 2MEFM74W75X610913 ## Mail History Id: 29614895, Consumer Id: 93528, Address Id: 52028 => Updated with Vin: 1FMZU77K04UA38902 ## Mail History Id: 29615241, Consumer Id: 93308, Address Id: 51810 => Updated with Vin: 1FTPX14V08FA07741 ## Mail History Id: 29614903, Consumer Id: 583863, Address Id: 10857716 => Updated with Vin: 1FTDF15Y3MLA76059 ## Mail History Id: 29614911, Consumer Id: 92906, Address Id: 48051 => Updated with Vin: 1FTXW43R68EA49975 ## Mail History Id: 29615179, Consumer Id: 93414, Address Id: 51901 => Updated with Vin: 1FTPW14V18FA41495 ## Mail History Id: 29615233, Consumer Id: 93016, Address Id: 51445 => Updated with Vin: 1FAFP34N37W179533 ## Mail History Id: 29614815, Consumer Id: 64193, Address Id: 47517 => Updated with Vin: 1FMZU77E91UC44063 ## Mail History Id: 29614887, Consumer Id: 64250, Address Id: 52296 => Updated with Vin: 2FMZA58284BB18143 ## Mail History Id: 29615363, Consumer Id: 65495, Address Id: 52842 => Updated with Vin: 1FTRW07653KC67482 ## Mail History Id: 29614701, Consumer Id: 103726, Address Id: 53811 => Updated with Vin: 1FTYR10C21PA07596 ## Mail History Id: 29614843, Consumer Id: 38572, Address Id: 51682 => Updated with Vin: 1FMCU93Z88KA95760 ## Mail History Id: 29614703, Consumer Id: 66020, Address Id: 49728 => Updated with Vin: 1FTSW21P85EC60333 ## Mail History Id: 29614909, Consumer Id: 38382, Address Id: 49065 => Updated with Vin: 1FTPW145X5KD22889 ## Mail History Id: 29614875, Consumer Id: 103126, Address Id: 48061 => Updated with Vin: 1FAHP38361W275603 ## Mail History Id: 29614807, Consumer Id: 65053, Address Id: 51717 => Updated with Vin: 1FTRW08L12KC96514 ## Mail History Id: 29614783, Consumer Id: 93103, Address Id: 51528 => Updated with Vin: 2FMDK39C57BB26417 ## Mail History Id: 29614813, Consumer Id: 92526, Address Id: 48534 => Updated with Vin: 1ZVFT80N675209930 ## Mail History Id: 29614803, Consumer Id: 66704, Address Id: 53119 => Updated with Vin: 1FAFP53S9XA330519 ## Mail History Id: 29614817, Consumer Id: 64633, Address Id: 47653 => Updated with Vin: 1FTYR14V5XPA34540 ## Mail History Id: 29614805, Consumer Id: 64059, Address Id: 48418 => Updated with Vin: 1FAFP55U82G269992 ## Mail History Id: 29614785, Consumer Id: 583860, Address Id: 7538385 => Updated with Vin: 1FMZU73EX2UB45629 ## Mail History Id: 29614809, Consumer Id: 63385, Address Id: 52261 => Updated with Vin: 1FAFP53295A191165 ## Mail History Id: 29615289, Consumer Id: 93171, Address Id: 51591 => Updated with Vin: 3FAHP07187R211315 ## Mail History Id: 29614865, Consumer Id: 67164, Address Id: 48781 => Updated with Vin: 1FTPX14526NB51729 ## Mail History Id: 29614857, Consumer Id: 63483, Address Id: 51240 => Updated with Vin: 1FAFP53224G148850 ## Mail History Id: 29614827, Consumer Id: 65209, Address Id: 49618 => Updated with Vin: 1FAFP28125G197451 ## Mail History Id: 29614919, Consumer Id: 67740, Address Id: 50782 => Updated with Vin: 1FTSX21P66EC87559 ## Mail History Id: 29614687, Consumer Id: 103393, Address Id: 47510 => Updated with Vin: 1FAFP38343W244019 ## Mail History Id: 29614711, Consumer Id: 103328, Address Id: 53634 => Updated with Vin: 1FTSX30FXXED55636 ## Total mail_history records updated with vin numbers: 31 out of 37 ============================================================ ====== Tracking Id: 1106 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-09 10:17:14') AND us2_order_type_id = 3 ## Order found: 1425 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1425 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3416 ## Mailing found: '12706' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29614513, Consumer Id: 625238, Address Id: 1963199 => Updated with Vin: 1G6DP577770176764 ## Mail History Id: 29614559, Consumer Id: 690509, Address Id: 11794862 => Updated with Vin: 1G6DX67D160170548 ## Mail History Id: 29616326, Consumer Id: 625877, Address Id: 11766171 => Updated with Vin: 1J8HR58P17C667362 ## Mail History Id: 29614503, Consumer Id: 932920, Address Id: 11957701 => Updated with Vin: 1G6KF5496YU261511 ## Mail History Id: 29616290, Consumer Id: 932919, Address Id: 4778227 => Updated with Vin: 1G6KD54Y03U252485 ## Mail History Id: 29614601, Consumer Id: 921877, Address Id: 3763409 => Updated with Vin: 1G6KD54Y14U195151 ## Mail History Id: 29616382, Consumer Id: 921875, Address Id: 11960254 => Updated with Vin: 1G6DG577180185543 ## Mail History Id: 29614633, Consumer Id: 681740, Address Id: 11794892 => Updated with Vin: 1G6KY5298SU836678 ## Mail History Id: 29616378, Consumer Id: 625448, Address Id: 1961822 => Updated with Vin: 1G6DW677750226925 ## Mail History Id: 29616356, Consumer Id: 628707, Address Id: 4761268 => Updated with Vin: 1GYEK63N54R172594 ## Mail History Id: 29614577, Consumer Id: 684308, Address Id: 1968448 => Updated with Vin: 1GYEK63N92R145394 ## Mail History Id: 29614537, Consumer Id: 689492, Address Id: 1964045 => Updated with Vin: 1G6KD54Y63U285152 ## Mail History Id: 29614527, Consumer Id: 625445, Address Id: 1963651 => Updated with Vin: 1GYFK63857R352242 ## Mail History Id: 29616330, Consumer Id: 682826, Address Id: 1959782 => Updated with Vin: 1G6KD54Y11U263685 ## Mail History Id: 29614531, Consumer Id: 682824, Address Id: 1963836 => Updated with Vin: 1G6KD54Y2WU709656 ## Mail History Id: 29614653, Consumer Id: 685613, Address Id: 1969795 => Updated with Vin: 1G6KS54Y12U305019 ## Mail History Id: 29616366, Consumer Id: 687757, Address Id: 4761410 => Updated with Vin: 1GYEK63N93R227661 ## Mail History Id: 29616306, Consumer Id: 690235, Address Id: 10933263 => Updated with Vin: 1G6DW677260140858 ## Mail History Id: 29614621, Consumer Id: 685461, Address Id: 1969348 => Updated with Vin: 1G6DM577640109691 ## Mail History Id: 29614487, Consumer Id: 689236, Address Id: 11797153 => Updated with Vin: 1G6KE57Y25U223095 ## Mail History Id: 29614507, Consumer Id: 625518, Address Id: 8330944 => Updated with Vin: 1G6KD57Y28U132920 ## Mail History Id: 29616324, Consumer Id: 692229, Address Id: 1959513 => Updated with Vin: 1G6DW677450235193 ## Mail History Id: 29614733, Consumer Id: 691485, Address Id: 11797975 => Updated with Vin: 1G6DP577960207639 ## Mail History Id: 29614551, Consumer Id: 627076, Address Id: 11764695 => Updated with Vin: 1G6DP577X60162307 ## Total mail_history records updated with vin numbers: 24 out of 31 ============================================================ ====== Tracking Id: 1107 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-09 10:20:26') AND us2_order_type_id = 3 ## Order found: 1426 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1426 AND product_id = 142 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3697 ## Mailing found: '12709' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616144, Consumer Id: 1045386, Address Id: 14953121 => Updated with Vin: 1G6DM56TX50172440 ## Mail History Id: 29616006, Consumer Id: 1047858, Address Id: 5995338 => Updated with Vin: 2C8GM68414R642136 ## Mail History Id: 29615820, Consumer Id: 1052011, Address Id: 5983723 => Updated with Vin: 1G6KD57Y67U202613 ## Mail History Id: 29615836, Consumer Id: 1043197, Address Id: 14952466 => Updated with Vin: 1G6KD54Y14U190953 ## Mail History Id: 29616246, Consumer Id: 1043432, Address Id: 2848759 => Updated with Vin: 1G6KD54Y24U211891 ## Mail History Id: 29615984, Consumer Id: 1044332, Address Id: 11959113 => Updated with Vin: 1G6DP567X50192343 ## Mail History Id: 29615818, Consumer Id: 1115291, Address Id: 12938050 => Updated with Vin: 1G6KD57947U227146 ## Mail History Id: 29615990, Consumer Id: 1052017, Address Id: 14826731 => Updated with Vin: 1GTCS138368279369 ## Total mail_history records updated with vin numbers: 8 out of 12 ============================================================ ====== Tracking Id: 1108 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-09 10:20:34') AND us2_order_type_id = 3 ## Order found: 1426 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1426 AND product_id = 140 ## Job Group Found: '479' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('479') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108006') AND customer_id = 3697 ## Mailing found: '12691' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1109 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-09 10:21:38') AND us2_order_type_id = 3 ## Order found: 1427 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1427 AND product_id = 140 ## Job Group Found: '479' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('479') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108006') AND customer_id = 3768 ## Mailing found: '12692' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1110 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-09 10:22:39') AND us2_order_type_id = 3 ## Order found: 1428 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1428 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3815 ## Mailing found: '12714' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29614940, Consumer Id: 1366642, Address Id: 15639532 => Updated with Vin: 2HGFA16598H503969 ## Mail History Id: 29615176, Consumer Id: 1367572, Address Id: 15634002 => Updated with Vin: JHLRD78852C029318 ## Mail History Id: 29615250, Consumer Id: 1369281, Address Id: 15636110 => Updated with Vin: 5FNRL18553B018214 ## Mail History Id: 29614992, Consumer Id: 1369861, Address Id: 2572437 => Updated with Vin: 2HKRL18691H549004 ## Mail History Id: 29616188, Consumer Id: 1362942, Address Id: 15635051 => Updated with Vin: 1HGFA16836L036722 ## Mail History Id: 29614582, Consumer Id: 1379761, Address Id: 15634039 => Updated with Vin: JH4CL96806C020244 ## Mail History Id: 29614790, Consumer Id: 1360222, Address Id: 15632751 => Updated with Vin: JHMAP21414T004669 ## Mail History Id: 29614906, Consumer Id: 1376942, Address Id: 15669754 => Updated with Vin: JACDJ58X0X7902760 ## Mail History Id: 29614906, Consumer Id: 1376942, Address Id: 15669754 => Updated with Vin: JACDJ58X0X7902760 ## Mail History Id: 29614758, Consumer Id: 1365607, Address Id: 6159776 => Updated with Vin: 5FNRL38667B048462 ## Mail History Id: 29614646, Consumer Id: 1359814, Address Id: 15632440 => Updated with Vin: 5FNRL18014B054472 ## Mail History Id: 29614640, Consumer Id: 1373115, Address Id: 15635943 => Updated with Vin: JHMES96604S006664 ## Mail History Id: 29615302, Consumer Id: 1366424, Address Id: 15639267 => Updated with Vin: 5J6RE48597L014028 ## Mail History Id: 29616030, Consumer Id: 1365463, Address Id: 8423097 => Updated with Vin: 5FNRL18073B102006 ## Mail History Id: 29615122, Consumer Id: 1365609, Address Id: 15638621 => Updated with Vin: 1HGCM56857A142524 ## Mail History Id: 29614956, Consumer Id: 1366001, Address Id: 15639015 => Updated with Vin: JHMFA36237S009760 ## Mail History Id: 29615266, Consumer Id: 1366125, Address Id: 15639087 => Updated with Vin: 1HGCM56447A204444 ## Mail History Id: 29614720, Consumer Id: 1367412, Address Id: 15640057 => Updated with Vin: 2HGFG21567H703170 ## Total mail_history records updated with vin numbers: 18 out of 20 ============================================================ ====== Tracking Id: 1111 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-09 10:44:23') AND us2_order_type_id = 3 ## Order found: 1429 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1429 AND product_id = 140 ## Job Group Found: '479' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('479') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108006') AND customer_id = 3808 ## Mailing found: '12693' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1112 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-09 11:14:09') AND us2_order_type_id = 3 ## Order found: 1430 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1430 AND product_id = 112 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3486 ## Mailing found: '12699' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616697, Consumer Id: 466925, Address Id: 1039037 => Updated with Vin: 1GCEC14T64Z102279 ## Mail History Id: 29616699, Consumer Id: 486249, Address Id: 5416175 => Updated with Vin: 1GDFG15R421196648 ## Mail History Id: 29616701, Consumer Id: 478780, Address Id: 1037839 => Updated with Vin: 1GNEC13TX1R121163 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 1113 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-09 11:14:54') AND us2_order_type_id = 3 ## Order found: 1425 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1425 AND product_id = 112 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3416 ## Mailing found: '12696' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1114 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-09 11:16:30') AND us2_order_type_id = 3 ## Order found: 1431 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1431 AND product_id = 144 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3705 ## Mailing found: '12710' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615755, Consumer Id: 961200, Address Id: 14831841 => Updated with Vin: 2GCEC19T241176770 ## Mail History Id: 29615825, Consumer Id: 962815, Address Id: 9862520 => Updated with Vin: 2GTEC13T761103115 ## Mail History Id: 29615781, Consumer Id: 964834, Address Id: 12056871 => Updated with Vin: 1GCHC23D56F248433 ## Mail History Id: 29615743, Consumer Id: 966969, Address Id: 9159578 => Updated with Vin: 1GCHC23U37F106860 ## Mail History Id: 29615717, Consumer Id: 968908, Address Id: 14840303 => Updated with Vin: 5GADV23157D109111 ## Mail History Id: 29615831, Consumer Id: 970359, Address Id: 14841358 => Updated with Vin: 2GTEK13M671689397 ## Mail History Id: 29615735, Consumer Id: 969920, Address Id: 14841051 => Updated with Vin: 3GCEC13C57G537428 ## Mail History Id: 29615665, Consumer Id: 971028, Address Id: 10273994 => Updated with Vin: 1G1YY25W985105745 ## Mail History Id: 29615863, Consumer Id: 972989, Address Id: 14843284 => Updated with Vin: 1GBHG31V871156595 ## Mail History Id: 29615739, Consumer Id: 972804, Address Id: 14839453 => Updated with Vin: 3GNEC16Z96G110663 ## Mail History Id: 29615821, Consumer Id: 972806, Address Id: 11388775 => Updated with Vin: 1GKFC13J58R189008 ## Mail History Id: 29615859, Consumer Id: 972902, Address Id: 14843229 => Updated with Vin: 1GKFC13C98R206765 ## Mail History Id: 29615733, Consumer Id: 972906, Address Id: 14843233 => Updated with Vin: 1LNHM82W2XY691305 ## Mail History Id: 29615689, Consumer Id: 972911, Address Id: 11026877 => Updated with Vin: 1GNCS13W012231281 ## Mail History Id: 29615707, Consumer Id: 972912, Address Id: 14843236 => Updated with Vin: 1FTWW31P85EA77652 ## Mail History Id: 29615683, Consumer Id: 972914, Address Id: 4939137 => Updated with Vin: JN1AZ34D35M608154 ## Mail History Id: 29615861, Consumer Id: 972915, Address Id: 14843238 => Updated with Vin: 1GNEK13R1YR164503 ## Mail History Id: 29615643, Consumer Id: 972971, Address Id: 654341 => Updated with Vin: 3GNDA13D67S516280 ## Mail History Id: 29615673, Consumer Id: 1026925, Address Id: 14940838 => Updated with Vin: 3GNDA23D07S552584 ## Mail History Id: 29615741, Consumer Id: 1231400, Address Id: 15417108 => Updated with Vin: 3GNDA23D87S536519 ## Mail History Id: 29615849, Consumer Id: 1265651, Address Id: 15437295 => Updated with Vin: 3GCEC13J78G252651 ## Mail History Id: 29615645, Consumer Id: 1265719, Address Id: 15437333 => Updated with Vin: 3GTEC13008G259223 ## Mail History Id: 29615835, Consumer Id: 974468, Address Id: 14841545 => Updated with Vin: 1G4HP52K3WH411585 ## Mail History Id: 29615725, Consumer Id: 961284, Address Id: 14832170 => Updated with Vin: 1G4HP54K714214402 ## Mail History Id: 29615789, Consumer Id: 960325, Address Id: 9185344 => Updated with Vin: 2G2FV22G022102101 ## Mail History Id: 29615659, Consumer Id: 973315, Address Id: 14836964 => Updated with Vin: 1G3WX52H32F129968 ## Mail History Id: 29615663, Consumer Id: 960159, Address Id: 14831312 => Updated with Vin: 2G1WF52EX19180490 ## Mail History Id: 29615855, Consumer Id: 977024, Address Id: 14837490 => Updated with Vin: 1FMNU4255YED08601 ## Mail History Id: 29615681, Consumer Id: 980909, Address Id: 4932728 => Updated with Vin: 3GCEK13M67G506426 ## Mail History Id: 29615829, Consumer Id: 980922, Address Id: 14846843 => Updated with Vin: 1GKFC13C27R415845 ## Mail History Id: 29615757, Consumer Id: 980933, Address Id: 14846852 => Updated with Vin: 4TAVN73FXSZ026678 ## Mail History Id: 29615649, Consumer Id: 980908, Address Id: 14846835 => Updated with Vin: 1G2WR5217XF340504 ## Total mail_history records updated with vin numbers: 32 out of 42 ============================================================ ====== Tracking Id: 1115 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-09 11:16:41') AND us2_order_type_id = 3 ## Order found: 1431 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1431 AND product_id = 106 ## Job Group Found: '477' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('477') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108004') AND customer_id = 3705 ## Mailing found: '12727' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616834, Consumer Id: 960359, Address Id: 12056440 => Updated with Vin: 1GTDS196058129230 ## Mail History Id: 29616835, Consumer Id: 968520, Address Id: 14834476 => Updated with Vin: 3GCEC13067G510826 ## Mail History Id: 29616836, Consumer Id: 959812, Address Id: 14831038 => Updated with Vin: 1GNDS13S522487841 ## Mail History Id: 29616837, Consumer Id: 960025, Address Id: 14831210 => Updated with Vin: 1GKEC13Z03R308545 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 1116 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-09 11:17:22') AND us2_order_type_id = 3 ## Order found: 1429 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1429 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3808 ## Mailing found: '12713' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615547, Consumer Id: 1171713, Address Id: 15029860 => Updated with Vin: 3GCEK14ZX6G177805 ## Mail History Id: 29615510, Consumer Id: 1171905, Address Id: 15030026 => Updated with Vin: 1GNDS13S262127710 ## Mail History Id: 29615336, Consumer Id: 1171613, Address Id: 15029777 => Updated with Vin: 1GCFG15T771219346 ## Mail History Id: 29615465, Consumer Id: 1170858, Address Id: 15029096 => Updated with Vin: 1G1AK18F587132003 ## Mail History Id: 29615604, Consumer Id: 1171877, Address Id: 4509448 => Updated with Vin: 2GCEC13T361226636 ## Mail History Id: 29615471, Consumer Id: 1171534, Address Id: 6111112 => Updated with Vin: 3GNEC12Z05G261654 ## Mail History Id: 29615545, Consumer Id: 1171970, Address Id: 15030086 => Updated with Vin: 2G1WD58C269304710 ## Mail History Id: 29615563, Consumer Id: 1171641, Address Id: 15029801 => Updated with Vin: 3GNEC12JX7G141518 ## Mail History Id: 29615332, Consumer Id: 1171430, Address Id: 15028957 => Updated with Vin: 1GCHC24U96E282220 ## Mail History Id: 29615664, Consumer Id: 1172133, Address Id: 15030224 => Updated with Vin: 2GCEC13Y171523725 ## Mail History Id: 29615504, Consumer Id: 1171677, Address Id: 15029832 => Updated with Vin: 2GCEK13Y071535965 ## Mail History Id: 29615688, Consumer Id: 1171868, Address Id: 15029995 => Updated with Vin: 1GNFK13047R161454 ## Mail History Id: 29615551, Consumer Id: 1171580, Address Id: 15029748 => Updated with Vin: 1GCEC19TX6Z156339 ## Mail History Id: 29615601, Consumer Id: 1171708, Address Id: 15029855 => Updated with Vin: 2GCEC19J571588037 ## Mail History Id: 29615601, Consumer Id: 1171708, Address Id: 15029855 => Updated with Vin: 2GCEC19J571588037 ## Mail History Id: 29615591, Consumer Id: 1171400, Address Id: 15029591 => Updated with Vin: 1G1ZT51F26F163133 ## Mail History Id: 29615497, Consumer Id: 1171939, Address Id: 15030057 => Updated with Vin: 1GNFC13C27R331267 ## Mail History Id: 29615424, Consumer Id: 1171508, Address Id: 15029294 => Updated with Vin: 1GNFC13J27R372044 ## Mail History Id: 29615456, Consumer Id: 1170868, Address Id: 15029106 => Updated with Vin: 1GNDV23L55D264455 ## Mail History Id: 29615740, Consumer Id: 1171661, Address Id: 15029817 => Updated with Vin: 2G1WH55K859100038 ## Mail History Id: 29615442, Consumer Id: 1171687, Address Id: 15029839 => Updated with Vin: 1GNDV23L55D223629 ## Mail History Id: 29615344, Consumer Id: 1171859, Address Id: 15029988 => Updated with Vin: 2G1WZ121349363585 ## Mail History Id: 29615609, Consumer Id: 1171875, Address Id: 15030002 => Updated with Vin: 3GNFK12357G291402 ## Mail History Id: 29615708, Consumer Id: 1171876, Address Id: 15030003 => Updated with Vin: 2CNDL13F076034662 ## Mail History Id: 29615623, Consumer Id: 1171698, Address Id: 15029848 => Updated with Vin: 1G1AK55FX67604799 ## Mail History Id: 29615720, Consumer Id: 1171872, Address Id: 15029999 => Updated with Vin: 1G1ZT54855F182786 ## Mail History Id: 29615430, Consumer Id: 1171855, Address Id: 15029984 => Updated with Vin: 3GNEK12Z55G103412 ## Mail History Id: 29615433, Consumer Id: 1171418, Address Id: 15029606 => Updated with Vin: 2GCEK13T651295998 ## Mail History Id: 29615520, Consumer Id: 1171365, Address Id: 15029558 => Updated with Vin: 3GNDA23D36S668277 ## Mail History Id: 29615520, Consumer Id: 1171365, Address Id: 15029558 => Updated with Vin: 3GNDA23D36S668277 ## Mail History Id: 29615520, Consumer Id: 1171365, Address Id: 15029558 => Updated with Vin: 3GNDA23D36S668277 ## Mail History Id: 29615532, Consumer Id: 1171874, Address Id: 15030001 => Updated with Vin: 2GCEC19K3S1261993 ## Mail History Id: 29615400, Consumer Id: 1171565, Address Id: 15029735 => Updated with Vin: 2GCEC13Z461299096 ## Mail History Id: 29615586, Consumer Id: 1171805, Address Id: 15029944 => Updated with Vin: 1GCEC19J07Z608346 ## Mail History Id: 29615586, Consumer Id: 1171805, Address Id: 15029944 => Updated with Vin: 1GCEC19J07Z608346 ## Mail History Id: 29615462, Consumer Id: 1172074, Address Id: 15030174 => Updated with Vin: 2G1WT58K579146911 ## Mail History Id: 29615692, Consumer Id: 1171885, Address Id: 15030009 => Updated with Vin: 1GNEC13J87R170336 ## Mail History Id: 29615684, Consumer Id: 1171401, Address Id: 15029592 => Updated with Vin: 3GNFK16328G176820 ## Mail History Id: 29615503, Consumer Id: 1171573, Address Id: 15029743 => Updated with Vin: 1GNEK13T95R103701 ## Mail History Id: 29615627, Consumer Id: 1171679, Address Id: 15029834 => Updated with Vin: 1G1YY24U455113229 ## Mail History Id: 29615627, Consumer Id: 1171679, Address Id: 15029834 => Updated with Vin: 1G1YY24U455113229 ## Mail History Id: 29615354, Consumer Id: 1171518, Address Id: 15029694 => Updated with Vin: 1G1AK55F367763292 ## Mail History Id: 29615354, Consumer Id: 1171518, Address Id: 15029694 => Updated with Vin: 1G1AK55F367763292 ## Mail History Id: 29615712, Consumer Id: 1170926, Address Id: 11609469 => Updated with Vin: 1GKDS13S632171654 ## Mail History Id: 29615426, Consumer Id: 1171807, Address Id: 15029946 => Updated with Vin: 1G1ZT62825F133201 ## Mail History Id: 29615678, Consumer Id: 1171514, Address Id: 5229337 => Updated with Vin: 2G1WT58K579142244 ## Mail History Id: 29615754, Consumer Id: 1171216, Address Id: 15029427 => Updated with Vin: 2GCEK13M571689391 ## Mail History Id: 29615580, Consumer Id: 1171730, Address Id: 15029876 => Updated with Vin: 1GNFK13008R151120 ## Mail History Id: 29615519, Consumer Id: 1171681, Address Id: 15029836 => Updated with Vin: 2G1WC58R679137289 ## Mail History Id: 29615622, Consumer Id: 1170936, Address Id: 15029169 => Updated with Vin: 1G1AK58F987167151 ## Mail History Id: 29615621, Consumer Id: 1171644, Address Id: 15029804 => Updated with Vin: 2G1WF52E919233180 ## Mail History Id: 29615632, Consumer Id: 1171752, Address Id: 15029896 => Updated with Vin: 3GCEK13Y47G552405 ## Mail History Id: 29615414, Consumer Id: 1171505, Address Id: 15029683 => Updated with Vin: 1GCCS199588136913 ## Mail History Id: 29615694, Consumer Id: 1172120, Address Id: 15030213 => Updated with Vin: 2GCEC13J771732986 ## Mail History Id: 29615766, Consumer Id: 1171684, Address Id: 11579717 => Updated with Vin: 2GCEC13J671542161 ## Mail History Id: 29615358, Consumer Id: 1171701, Address Id: 15029851 => Updated with Vin: 1GCEC19X76Z239102 ## Mail History Id: 29615696, Consumer Id: 1171218, Address Id: 15029428 => Updated with Vin: 2GCEC13V771132245 ## Mail History Id: 29615638, Consumer Id: 1170833, Address Id: 15029077 => Updated with Vin: 3GNEC12Z06G104644 ## Mail History Id: 29615346, Consumer Id: 1171771, Address Id: 11883448 => Updated with Vin: 3GNFK16Z72G139595 ## Mail History Id: 29615483, Consumer Id: 1171033, Address Id: 15029258 => Updated with Vin: 3GNFC16098G209525 ## Mail History Id: 29615502, Consumer Id: 1171810, Address Id: 15029949 => Updated with Vin: 1G1YY22G515112825 ## Mail History Id: 29615499, Consumer Id: 1171369, Address Id: 15029561 => Updated with Vin: 1G1ZT58N87F185815 ## Mail History Id: 29615398, Consumer Id: 1171686, Address Id: 15029838 => Updated with Vin: 1GTEC19T33Z134341 ## Mail History Id: 29615718, Consumer Id: 1171924, Address Id: 15030043 => Updated with Vin: 1G2ZG58BX74197174 ## Mail History Id: 29615560, Consumer Id: 1172116, Address Id: 15030209 => Updated with Vin: 3GNDA13D08S559420 ## Mail History Id: 29615560, Consumer Id: 1172116, Address Id: 15030209 => Updated with Vin: 3GNDA13D08S559420 ## Mail History Id: 29615571, Consumer Id: 1171366, Address Id: 4508085 => Updated with Vin: 1G1YY32G8X5114969 ## Mail History Id: 29615517, Consumer Id: 1170793, Address Id: 15029038 => Updated with Vin: 2G1WD58C189123925 ## Mail History Id: 29615618, Consumer Id: 1171693, Address Id: 15029844 => Updated with Vin: 2G1WK15N979232460 ## Mail History Id: 29615602, Consumer Id: 1171865, Address Id: 15029992 => Updated with Vin: 1G1AK18F087127677 ## Mail History Id: 29615619, Consumer Id: 1171996, Address Id: 15029198 => Updated with Vin: 2GCEC19N871111573 ## Mail History Id: 29615698, Consumer Id: 1171449, Address Id: 15029633 => Updated with Vin: 2GCEC19T951246167 ## Mail History Id: 29615364, Consumer Id: 1171481, Address Id: 15029664 => Updated with Vin: KL1TD526X5B321515 ## Mail History Id: 29615552, Consumer Id: 1171521, Address Id: 15029697 => Updated with Vin: KL1TD56667B188815 ## Mail History Id: 29615360, Consumer Id: 1171851, Address Id: 11609217 => Updated with Vin: 2GTEK19K2R1588009 ## Mail History Id: 29615640, Consumer Id: 1171932, Address Id: 15030050 => Updated with Vin: 1GCDC14K2LE211640 ## Mail History Id: 29615569, Consumer Id: 1171913, Address Id: 15030034 => Updated with Vin: 1GCEC14W02Z165594 ## Mail History Id: 29615491, Consumer Id: 1171928, Address Id: 15030047 => Updated with Vin: 1GCGC33J9WF064619 ## Mail History Id: 29615525, Consumer Id: 1171841, Address Id: 15029974 => Updated with Vin: 2GCEK13Z571165184 ## Mail History Id: 29615460, Consumer Id: 1171909, Address Id: 15030030 => Updated with Vin: 1GNES13H372252922 ## Mail History Id: 29615630, Consumer Id: 1172017, Address Id: 15030129 => Updated with Vin: 2CNBJ18C236920973 ## Mail History Id: 29615461, Consumer Id: 1172075, Address Id: 15030175 => Updated with Vin: 3GNDA13D67S631767 ## Mail History Id: 29615445, Consumer Id: 1171758, Address Id: 15029902 => Updated with Vin: 1GNDT13W8X2112727 ## Mail History Id: 29615496, Consumer Id: 1171652, Address Id: 15029811 => Updated with Vin: 1GCEK14W7XE179879 ## Mail History Id: 29615616, Consumer Id: 1170859, Address Id: 15029097 => Updated with Vin: 1G1NE52M6XY126940 ## Mail History Id: 29615566, Consumer Id: 1172144, Address Id: 15030232 => Updated with Vin: 1GNES16S436138017 ## Mail History Id: 29615579, Consumer Id: 1171441, Address Id: 15029627 => Updated with Vin: 3GNEC16R9XG145950 ## Mail History Id: 29615534, Consumer Id: 1171440, Address Id: 15029626 => Updated with Vin: 2GCEC19T2X1148911 ## Mail History Id: 29615500, Consumer Id: 1170856, Address Id: 15029094 => Updated with Vin: 2CNDL13F386023222 ## Mail History Id: 29615605, Consumer Id: 1171955, Address Id: 15030072 => Updated with Vin: 3GNEK13T33G205122 ## Mail History Id: 29615572, Consumer Id: 1171844, Address Id: 15029976 => Updated with Vin: 2GCEC19T441266339 ## Mail History Id: 29615572, Consumer Id: 1171844, Address Id: 15029976 => Updated with Vin: 2GCEC19T441266339 ## Mail History Id: 29615529, Consumer Id: 1172051, Address Id: 15029615 => Updated with Vin: 1GNFC13J37J392916 ## Mail History Id: 29615529, Consumer Id: 1171427, Address Id: 15029615 => Updated with Vin: 3GNEC12Z96G132572 ## Mail History Id: 29615668, Consumer Id: 1172068, Address Id: 15030169 => Updated with Vin: 3GNFK16327G148188 ## Mail History Id: 29615628, Consumer Id: 1172011, Address Id: 15030124 => Updated with Vin: 1GNCS18W6XK198126 ## Mail History Id: 29615338, Consumer Id: 1171410, Address Id: 15029599 => Updated with Vin: 1GNCT18R9J8144346 ## Mail History Id: 29615340, Consumer Id: 1171710, Address Id: 15029857 => Updated with Vin: 1GBKP37N4M3310085 ## Mail History Id: 29615732, Consumer Id: 1171745, Address Id: 15029889 => Updated with Vin: 2G4WY52M9V1479543 ## Mail History Id: 29615380, Consumer Id: 1171500, Address Id: 15029680 => Updated with Vin: 1G1ND52J83M633316 ## Mail History Id: 29615432, Consumer Id: 1171028, Address Id: 15029253 => Updated with Vin: 1GNGK16F6VJ399726 ## Mail History Id: 29615555, Consumer Id: 1171956, Address Id: 15030073 => Updated with Vin: 1G1ZT52875F313722 ## Mail History Id: 29615606, Consumer Id: 1171847, Address Id: 15029978 => Updated with Vin: 2GCEC19K2S1271804 ## Mail History Id: 29615567, Consumer Id: 1172041, Address Id: 15030053 => Updated with Vin: 1GCJK33113F165626 ## Mail History Id: 29615554, Consumer Id: 1171409, Address Id: 15029598 => Updated with Vin: 1GCEC19XX3Z361741 ## Mail History Id: 29615561, Consumer Id: 1171861, Address Id: 15029477 => Updated with Vin: 1G1JH12T427171976 ## Mail History Id: 29615561, Consumer Id: 1171842, Address Id: 15029477 => Updated with Vin: JT3HN86R1W0145618 ## Mail History Id: 29615561, Consumer Id: 1171839, Address Id: 15029477 => Updated with Vin: JTEBU14R378106056 ## Mail History Id: 29615585, Consumer Id: 1171660, Address Id: 15029816 => Updated with Vin: 1GCGG25U841239989 ## Mail History Id: 29615585, Consumer Id: 1171998, Address Id: 15029816 => Updated with Vin: 2GCFC13Y971726589 ## Mail History Id: 29615593, Consumer Id: 1171656, Address Id: 15029814 => Updated with Vin: 2GCEC19R4W1178155 ## Mail History Id: 29615670, Consumer Id: 1172028, Address Id: 15030136 => Updated with Vin: 1GKFK16ZX3J112856 ## Mail History Id: 29615750, Consumer Id: 1171829, Address Id: 15029963 => Updated with Vin: 1GNES16S036108769 ## Mail History Id: 29615498, Consumer Id: 1171658, Address Id: 4512396 => Updated with Vin: 2G2FS22K3W2228939 ## Mail History Id: 29615470, Consumer Id: 1171953, Address Id: 15030070 => Updated with Vin: 1GNEC13R2XJ401672 ## Mail History Id: 29615469, Consumer Id: 1172112, Address Id: 15030206 => Updated with Vin: 1GDEG25K2SF509834 ## Mail History Id: 29615427, Consumer Id: 1171524, Address Id: 15029700 => Updated with Vin: 1GCDC14H0EJ190883 ## Mail History Id: 29615576, Consumer Id: 1172117, Address Id: 15030210 => Updated with Vin: 1GTEC14T0XZ505789 ## Mail History Id: 29615410, Consumer Id: 1171838, Address Id: 15029972 => Updated with Vin: 1G4HR54K93U245941 ## Mail History Id: 29615410, Consumer Id: 1171838, Address Id: 15029972 => Updated with Vin: 1G4HR54K93U245941 ## Mail History Id: 29615493, Consumer Id: 1170719, Address Id: 15028968 => Updated with Vin: 1G1JF12F837327910 ## Mail History Id: 29615588, Consumer Id: 1171526, Address Id: 15029701 => Updated with Vin: 1GCEC19R7VE240872 ## Mail History Id: 29615654, Consumer Id: 1172092, Address Id: 15030191 => Updated with Vin: 1GCEC19S3RE166679 ## Mail History Id: 29615674, Consumer Id: 1171555, Address Id: 11579742 => Updated with Vin: 1GKDT13W1V2521811 ## Mail History Id: 29615724, Consumer Id: 1171099, Address Id: 15029319 => Updated with Vin: 2G1WH55K249334500 ## Mail History Id: 29615501, Consumer Id: 1171428, Address Id: 15029616 => Updated with Vin: 1GCEK19B27E180539 ## Mail History Id: 29615350, Consumer Id: 1171756, Address Id: 15029900 => Updated with Vin: 2GCEC19M6W1208843 ## Mail History Id: 29615736, Consumer Id: 1171276, Address Id: 15029480 => Updated with Vin: 1GCCS19W5T8178058 ## Mail History Id: 29615404, Consumer Id: 1171860, Address Id: 15029813 => Updated with Vin: 1G2NW12EX3C195261 ## Mail History Id: 29615404, Consumer Id: 1171655, Address Id: 15029813 => Updated with Vin: 1G3WH14T7PD330587 ## Mail History Id: 29615728, Consumer Id: 1172023, Address Id: 15030133 => Updated with Vin: 1GNCS13W2X2245479 ## Mail History Id: 29615648, Consumer Id: 1172094, Address Id: 15030192 => Updated with Vin: 1GNDM19X63B127699 ## Mail History Id: 29615710, Consumer Id: 1171517, Address Id: 15029693 => Updated with Vin: 1GKEL19W21B505879 ## Mail History Id: 29615342, Consumer Id: 1171709, Address Id: 15029856 => Updated with Vin: 1GCJK33D47F156158 ## Mail History Id: 29615388, Consumer Id: 1171848, Address Id: 15029979 => Updated with Vin: 2GCEC19T331353891 ## Mail History Id: 29615556, Consumer Id: 1171576, Address Id: 15029746 => Updated with Vin: 2G1WL52M2W1132973 ## Mail History Id: 29615436, Consumer Id: 1171787, Address Id: 15029929 => Updated with Vin: 1G6KD57Y76U227521 ## Mail History Id: 29615394, Consumer Id: 1171413, Address Id: 15029601 => Updated with Vin: 1G6KD54Y25U108813 ## Mail History Id: 29615394, Consumer Id: 1171413, Address Id: 15029601 => Updated with Vin: 1G6KD54Y25U108813 ## Mail History Id: 29615443, Consumer Id: 1172142, Address Id: 15030161 => Updated with Vin: 1GCHK29421E225698 ## Mail History Id: 29615443, Consumer Id: 1172059, Address Id: 15030161 => Updated with Vin: 2GCEC19T7X1119873 ## Mail History Id: 29615568, Consumer Id: 1171507, Address Id: 15029685 => Updated with Vin: 1GCCS196468144942 ## Mail History Id: 29615378, Consumer Id: 1171925, Address Id: 15030044 => Updated with Vin: 2G4WB54T6N1509247 ## Mail History Id: 29615348, Consumer Id: 1171808, Address Id: 15029947 => Updated with Vin: 1G2NE52T7XC556900 ## Mail History Id: 29615422, Consumer Id: 1171264, Address Id: 15029470 => Updated with Vin: 2G1WH55K229119910 ## Mail History Id: 29615485, Consumer Id: 1172087, Address Id: 15030187 => Updated with Vin: 1GCEC14W0XZ129900 ## Mail History Id: 29615526, Consumer Id: 1171775, Address Id: 15029918 => Updated with Vin: 1GCHK23647F516961 ## Mail History Id: 29615526, Consumer Id: 1171775, Address Id: 15029918 => Updated with Vin: 1GCHK23647F516961 ## Mail History Id: 29615567, Consumer Id: 1171935, Address Id: 15030053 => Updated with Vin: 1GCJK33192F131447 ## Mail History Id: 29615446, Consumer Id: 1171804, Address Id: 15029943 => Updated with Vin: 2GCEC13T761247411 ## Mail History Id: 29615690, Consumer Id: 1266354, Address Id: 4512639 => Updated with Vin: 1GNDS13S922235056 ## Mail History Id: 29615513, Consumer Id: 1170952, Address Id: 15029184 => Updated with Vin: 2CNBE13C316909375 ## Mail History Id: 29615631, Consumer Id: 1171532, Address Id: 15029707 => Updated with Vin: 2G1WW12E129344512 ## Mail History Id: 29615758, Consumer Id: 1171095, Address Id: 15029315 => Updated with Vin: 1GCJK33DX7F160117 ## Mail History Id: 29615758, Consumer Id: 1171095, Address Id: 15029315 => Updated with Vin: 1GCJK33DX7F160117 ## Mail History Id: 29615438, Consumer Id: 1172105, Address Id: 15030201 => Updated with Vin: 1GKFK16R9XJ725539 ## Mail History Id: 29615550, Consumer Id: 1172064, Address Id: 15030166 => Updated with Vin: 1G1NE52M8W6122740 ## Mail History Id: 29615550, Consumer Id: 1172064, Address Id: 15030166 => Updated with Vin: 1G1NE52M8W6122740 ## Mail History Id: 29615528, Consumer Id: 1172010, Address Id: 15030123 => Updated with Vin: 1GNDT13S822358215 ## Mail History Id: 29615600, Consumer Id: 1286704, Address Id: 15451125 => Updated with Vin: 1G1YY26WX85102142 ## Mail History Id: 29615484, Consumer Id: 1171605, Address Id: 15029770 => Updated with Vin: 2G1WL52M0V9170850 ## Mail History Id: 29615484, Consumer Id: 1171605, Address Id: 15029770 => Updated with Vin: 2G1WL52M0V9170850 ## Mail History Id: 29615672, Consumer Id: 1171768, Address Id: 15029912 => Updated with Vin: 1GNEC13Z22R189477 ## Mail History Id: 29615425, Consumer Id: 1171783, Address Id: 15029925 => Updated with Vin: 2G1WF52E729124945 ## Mail History Id: 29615744, Consumer Id: 1171712, Address Id: 15029859 => Updated with Vin: 1G2NF12EX2C293723 ## Mail History Id: 29615646, Consumer Id: 1171728, Address Id: 15029874 => Updated with Vin: 1GCEC19V35Z112618 ## Mail History Id: 29615646, Consumer Id: 1171728, Address Id: 15029874 => Updated with Vin: 1GCEC19V35Z112618 ## Mail History Id: 29615488, Consumer Id: 1171882, Address Id: 15030007 => Updated with Vin: 1GCCS19W028207853 ## Mail History Id: 29615454, Consumer Id: 1266095, Address Id: 15437655 => Updated with Vin: 3GNEC13T82G316020 ## Mail History Id: 29615421, Consumer Id: 1171567, Address Id: 15029737 => Updated with Vin: 1GCHK23143F122908 ## Mail History Id: 29615612, Consumer Id: 1282191, Address Id: 15437880 => Updated with Vin: 3GNEC12T34G330184 ## Mail History Id: 29615473, Consumer Id: 1171016, Address Id: 15029242 => Updated with Vin: 2G1WC581X69168375 ## Mail History Id: 29615582, Consumer Id: 1170827, Address Id: 15029071 => Updated with Vin: 1G1NE52J8Y6299040 ## Mail History Id: 29615434, Consumer Id: 1171711, Address Id: 15029858 => Updated with Vin: 1G1JC1247Y7238067 ## Mail History Id: 29615650, Consumer Id: 1172030, Address Id: 15030137 => Updated with Vin: 1GCEC14W91Z318486 ## Mail History Id: 29615607, Consumer Id: 1171568, Address Id: 15029738 => Updated with Vin: 1GNDT13S032203238 ## Mail History Id: 29615634, Consumer Id: 1265750, Address Id: 15437348 => Updated with Vin: 2G1WC581X69105874 ## Mail History Id: 29615716, Consumer Id: 1171702, Address Id: 15029573 => Updated with Vin: 1GNEK13ZX2R310243 ## Mail History Id: 29615597, Consumer Id: 1171822, Address Id: 15029959 => Updated with Vin: 2GTEK19T1X1562426 ## Mail History Id: 29615372, Consumer Id: 1171720, Address Id: 15029867 => Updated with Vin: 2G2FV22G0W2232935 ## Mail History Id: 29615372, Consumer Id: 1171720, Address Id: 15029867 => Updated with Vin: 2G2FV22G0W2232935 ## Mail History Id: 29615642, Consumer Id: 1171680, Address Id: 15029835 => Updated with Vin: 1GCCS1446YK117611 ## Mail History Id: 29615494, Consumer Id: 1171802, Address Id: 15029941 => Updated with Vin: 3GNEC12037G191913 ## Mail History Id: 29615505, Consumer Id: 1171614, Address Id: 15029778 => Updated with Vin: 3GCEC14Z06G223493 ## Mail History Id: 29615598, Consumer Id: 1172054, Address Id: 15029224 => Updated with Vin: 2G1WU58R879409239 ## Mail History Id: 29615598, Consumer Id: 1172025, Address Id: 15029224 => Updated with Vin: 2GCEC19K1S1215420 ## Mail History Id: 29615714, Consumer Id: 1171423, Address Id: 15029611 => Updated with Vin: 2GCEC19T731408987 ## Mail History Id: 29615656, Consumer Id: 1171533, Address Id: 15029708 => Updated with Vin: 2GTEC19T431363880 ## Mail History Id: 29615468, Consumer Id: 1171668, Address Id: 15029823 => Updated with Vin: 1GNEC13T61R175673 ## Mail History Id: 29615507, Consumer Id: 1171696, Address Id: 15029847 => Updated with Vin: 2G1WH55K029167907 ## Mail History Id: 29615748, Consumer Id: 1172109, Address Id: 15030204 => Updated with Vin: 1GNDT13W4Y2331492 ## Mail History Id: 29615738, Consumer Id: 1170935, Address Id: 15029168 => Updated with Vin: 2GCEC13T751219459 ## Mail History Id: 29615428, Consumer Id: 1171941, Address Id: 15030059 => Updated with Vin: 1G3WX52H41F133459 ## Mail History Id: 29615390, Consumer Id: 1171812, Address Id: 15029951 => Updated with Vin: 2GCEC19K0S1152777 ## Mail History Id: 29615419, Consumer Id: 1171529, Address Id: 15029704 => Updated with Vin: 3GNEC16T7YG221369 ## Mail History Id: 29615530, Consumer Id: 1171724, Address Id: 15028984 => Updated with Vin: 1GNEK13RXWR136566 ## Mail History Id: 29615439, Consumer Id: 1171694, Address Id: 15029845 => Updated with Vin: 1G1NE52M8X6138230 ## Mail History Id: 29615420, Consumer Id: 1171747, Address Id: 15029891 => Updated with Vin: 2G1WU58R879154561 ## Mail History Id: 29615376, Consumer Id: 1171645, Address Id: 15029805 => Updated with Vin: 1GCEC14VX2Z189148 ## Mail History Id: 29615531, Consumer Id: 1171908, Address Id: 15030029 => Updated with Vin: 3GNEC13T72G350529 ## Mail History Id: 29615577, Consumer Id: 1171414, Address Id: 15029602 => Updated with Vin: 5GADT13S242198393 ## Mail History Id: 29615577, Consumer Id: 1171414, Address Id: 15029602 => Updated with Vin: 5GADT13S242198393 ## Mail History Id: 29615662, Consumer Id: 1171512, Address Id: 15029689 => Updated with Vin: 1GNEC13V04R247716 ## Mail History Id: 29615457, Consumer Id: 1171870, Address Id: 15029997 => Updated with Vin: 2G1WX12K649127723 ## Mail History Id: 29615374, Consumer Id: 1171506, Address Id: 15029684 => Updated with Vin: 1GCEC14W5YZ301601 ## Mail History Id: 29615658, Consumer Id: 1170801, Address Id: 15029046 => Updated with Vin: 2GCEK13T641406175 ## Mail History Id: 29615603, Consumer Id: 1171519, Address Id: 15029695 => Updated with Vin: 2G1WF52E619331258 ## Mail History Id: 29615492, Consumer Id: 1171801, Address Id: 15029940 => Updated with Vin: 1GNEC13Z84J312653 ## Mail History Id: 29615480, Consumer Id: 1171416, Address Id: 15029604 => Updated with Vin: 1GCEC19X15Z248361 ## Mail History Id: 29615595, Consumer Id: 1171511, Address Id: 15029688 => Updated with Vin: 1G1ZT54835F174749 ## Mail History Id: 29615686, Consumer Id: 1172071, Address Id: 15030171 => Updated with Vin: 1GKEK13T55R229938 ## Mail History Id: 29615587, Consumer Id: 1172015, Address Id: 15030128 => Updated with Vin: 1G1ZU54844F212226 ## Mail History Id: 29615589, Consumer Id: 1171834, Address Id: 15029968 => Updated with Vin: 1GCEC19T94E390234 ## Mail History Id: 29615562, Consumer Id: 1287624, Address Id: 15437575 => Updated with Vin: 3VWCK21C33M427067 ## Mail History Id: 29615418, Consumer Id: 1172132, Address Id: 15030176 => Updated with Vin: 1G4HR54K55U241548 ## Mail History Id: 29615418, Consumer Id: 1172076, Address Id: 15030176 => Updated with Vin: 1GNDX03E3XD135424 ## Mail History Id: 29615543, Consumer Id: 1171356, Address Id: 15029551 => Updated with Vin: 1G1ND52T6W6172515 ## Mail History Id: 29615543, Consumer Id: 1171356, Address Id: 15029551 => Updated with Vin: 1G1ND52T6W6172515 ## Mail History Id: 29615474, Consumer Id: 1187318, Address Id: 15388413 => Updated with Vin: 1GNFK13027J340252 ## Mail History Id: 29615522, Consumer Id: 1170756, Address Id: 15029002 => Updated with Vin: 2C1MR2269Y6703259 ## Mail History Id: 29615549, Consumer Id: 1171894, Address Id: 15030017 => Updated with Vin: 2GCEC19T5Y1153571 ## Mail History Id: 29615542, Consumer Id: 1171583, Address Id: 15029751 => Updated with Vin: 1G1NE52M7W6164137 ## Mail History Id: 29615542, Consumer Id: 1171583, Address Id: 15029751 => Updated with Vin: 1G1NE52M7W6164137 ## Mail History Id: 29615722, Consumer Id: 1171760, Address Id: 15029904 => Updated with Vin: 1GCEC19T7YZ187051 ## Mail History Id: 29615356, Consumer Id: 1171751, Address Id: 15029895 => Updated with Vin: 2G1WH55K0Y9226432 ## Mail History Id: 29615537, Consumer Id: 1171582, Address Id: 15029750 => Updated with Vin: 1GBE4E3255F512608 ## Mail History Id: 29615537, Consumer Id: 1171582, Address Id: 15029750 => Updated with Vin: 1GBE4E3255F512608 ## Mail History Id: 29615478, Consumer Id: 1172012, Address Id: 15030125 => Updated with Vin: 2G1WH55K2Y9305536 ## Mail History Id: 29615702, Consumer Id: 1171692, Address Id: 15029843 => Updated with Vin: 2GCEC19T131223849 ## Mail History Id: 29615762, Consumer Id: 1171590, Address Id: 15029757 => Updated with Vin: 1G1ZS52FX5F322576 ## Mail History Id: 29615479, Consumer Id: 1172013, Address Id: 15030126 => Updated with Vin: 2G1WH55K5Y9297996 ## Mail History Id: 29615514, Consumer Id: 1171786, Address Id: 15029928 => Updated with Vin: 1GNDS13S042180659 ## Mail History Id: 29615437, Consumer Id: 1172147, Address Id: 15030235 => Updated with Vin: 2GCEC19T0Y1374107 ## Mail History Id: 29615431, Consumer Id: 1172088, Address Id: 15030188 => Updated with Vin: 1GCEK19T1YZ171639 ## Mail History Id: 29615546, Consumer Id: 1171917, Address Id: 15029710 => Updated with Vin: 1G2NF52E34M516432 ## Mail History Id: 29615415, Consumer Id: 1171611, Address Id: 15029775 => Updated with Vin: 2G1WW12E319145010 ## Mail History Id: 29615706, Consumer Id: 1171502, Address Id: 15029542 => Updated with Vin: 2G1WF52EX59384776 ## Mail History Id: 29615472, Consumer Id: 1171426, Address Id: 15029614 => Updated with Vin: 2GCEC19K2S1300248 ## Mail History Id: 29615486, Consumer Id: 1171523, Address Id: 15029699 => Updated with Vin: 2G1WX15K319204068 ## Mail History Id: 29615616, Consumer Id: 1172070, Address Id: 15029097 => Updated with Vin: 1G1NE52J316239818 ## Mail History Id: 29615734, Consumer Id: 1171722, Address Id: 15029869 => Updated with Vin: 2G1WP521959284744 ## Mail History Id: 29615511, Consumer Id: 1172002, Address Id: 15030116 => Updated with Vin: 1GCEC14WX2Z128214 ## Mail History Id: 29615624, Consumer Id: 1171718, Address Id: 15029865 => Updated with Vin: 1GNDS13S132253133 ## Mail History Id: 29615458, Consumer Id: 1170759, Address Id: 15029004 => Updated with Vin: 1GBKC34J8YF431672 ## Mail History Id: 29615590, Consumer Id: 1171769, Address Id: 15029913 => Updated with Vin: 1GNFC16027R209106 ## Mail History Id: 29615523, Consumer Id: 1281530, Address Id: 15029931 => Updated with Vin: 1GCEK19T74Z296803 ## Mail History Id: 29615523, Consumer Id: 1171791, Address Id: 15029931 => Updated with Vin: 1GNEK13Z92R229668 ## Mail History Id: 29615406, Consumer Id: 1171849, Address Id: 15029980 => Updated with Vin: 1GNEC13ZX2R152211 ## Mail History Id: 29615574, Consumer Id: 1171723, Address Id: 15029870 => Updated with Vin: 1GCEC14X86Z233994 ## Mail History Id: 29615398, Consumer Id: 1171697, Address Id: 15029838 => Updated with Vin: 2GCEC13J171534176 ## Mail History Id: 29615447, Consumer Id: 1171866, Address Id: 15029993 => Updated with Vin: 2G1WF52E429353891 ## Mail History Id: 29615660, Consumer Id: 1284395, Address Id: 15462514 => Updated with Vin: 2G1WH55K3Y9252653 ## Mail History Id: 29615490, Consumer Id: 1172055, Address Id: 15030157 => Updated with Vin: 2G1WF55K429368666 ## Mail History Id: 29615544, Consumer Id: 1172027, Address Id: 15030135 => Updated with Vin: 1GCEC14XX3Z109298 ## Mail History Id: 29615682, Consumer Id: 1171817, Address Id: 15029955 => Updated with Vin: 2G1WX15K119329344 ## Mail History Id: 29615682, Consumer Id: 1171817, Address Id: 15029955 => Updated with Vin: 2G1WX15K119329344 ## Mail History Id: 29615564, Consumer Id: 1171888, Address Id: 15030012 => Updated with Vin: 2GCEC19T121395622 ## Mail History Id: 29615463, Consumer Id: 1171515, Address Id: 15029691 => Updated with Vin: 2GCEC19T721390439 ## Mail History Id: 29615440, Consumer Id: 1171531, Address Id: 15029706 => Updated with Vin: 3GNEC13T43G162391 ## Mail History Id: 29615450, Consumer Id: 1172106, Address Id: 11573849 => Updated with Vin: 1GNDS13S432175205 ## Mail History Id: 29615742, Consumer Id: 1171570, Address Id: 15029740 => Updated with Vin: 2G1WC58R279134776 ## Mail History Id: 29615760, Consumer Id: 1171910, Address Id: 15030031 => Updated with Vin: 1GCEC19T73Z126565 ## Mail History Id: 29615495, Consumer Id: 1171782, Address Id: 15029924 => Updated with Vin: 2GCEC19T431254867 ## Mail History Id: 29615449, Consumer Id: 1171581, Address Id: 15029749 => Updated with Vin: 1G1NE52M4W6212645 ## Mail History Id: 29615452, Consumer Id: 1171736, Address Id: 15029880 => Updated with Vin: 1GCEC14X93Z227729 ## Mail History Id: 29615332, Consumer Id: 1171852, Address Id: 15028957 => Updated with Vin: 1GNHG35U431173294 ## Mail History Id: 29615581, Consumer Id: 1171778, Address Id: 15029920 => Updated with Vin: 1GCHK23123F136080 ## Mail History Id: 29615594, Consumer Id: 1171811, Address Id: 15029950 => Updated with Vin: 2GCEC19V031249487 ## Mail History Id: 29615594, Consumer Id: 1171811, Address Id: 15029950 => Updated with Vin: 2GCEC19V031249487 ## Mail History Id: 29615538, Consumer Id: 1171438, Address Id: 15029624 => Updated with Vin: 2GCEC19X631269406 ## Mail History Id: 29615611, Consumer Id: 1171615, Address Id: 15029779 => Updated with Vin: 1GCEC14XX3Z264711 ## Mail History Id: 29615578, Consumer Id: 1172157, Address Id: 15030243 => Updated with Vin: 1GNEK13Z73J238322 ## Mail History Id: 29615515, Consumer Id: 1567934, Address Id: 15030122 => Updated with Vin: 5GADS13S462245655 ## Mail History Id: 29615726, Consumer Id: 1171949, Address Id: 15030066 => Updated with Vin: 2G1WF52KX39264558 ## Mail History Id: 29615608, Consumer Id: 1171398, Address Id: 15029589 => Updated with Vin: 1G1JH52F837324409 ## Mail History Id: 29615466, Consumer Id: 1266391, Address Id: 15437881 => Updated with Vin: 1GCEC19TX6E128600 ## Mail History Id: 29615453, Consumer Id: 1172099, Address Id: 15030195 => Updated with Vin: 3GNEC16Z14G312670 ## Mail History Id: 29615423, Consumer Id: 1171408, Address Id: 15029588 => Updated with Vin: 3GNFK12397G241120 ## Mail History Id: 29615362, Consumer Id: 1171919, Address Id: 15030038 => Updated with Vin: 2G1WF52E439303865 ## Mail History Id: 29615652, Consumer Id: 1171437, Address Id: 15029623 => Updated with Vin: 2GCEC19V531409394 ## Mail History Id: 29615533, Consumer Id: 1171825, Address Id: 15029763 => Updated with Vin: 1GNDT13W11K216483 ## Mail History Id: 29615610, Consumer Id: 1171610, Address Id: 4509537 => Updated with Vin: 2G1WF52E139410436 ## Mail History Id: 29615752, Consumer Id: 1171699, Address Id: 15029849 => Updated with Vin: 1GNEC13T05R252527 ## Mail History Id: 29615704, Consumer Id: 1171737, Address Id: 15029881 => Updated with Vin: 1GCEC14X34Z116062 ## Mail History Id: 29615455, Consumer Id: 1172047, Address Id: 15030151 => Updated with Vin: 2GCEC19T621201876 ## Mail History Id: 29615700, Consumer Id: 1171688, Address Id: 11578615 => Updated with Vin: 1GCEC14W71Z160360 ## Mail History Id: 29615573, Consumer Id: 1171664, Address Id: 15029820 => Updated with Vin: 1GNEC13Z64J129848 ## Mail History Id: 29615613, Consumer Id: 1171448, Address Id: 15029632 => Updated with Vin: 1GTEC14X03Z184432 ## Mail History Id: 29615536, Consumer Id: 1171579, Address Id: 12125977 => Updated with Vin: 1GCEC14C77Z560580 ## Mail History Id: 29615666, Consumer Id: 1172141, Address Id: 15030231 => Updated with Vin: 1GCEC19T35Z229212 ## Mail History Id: 29615459, Consumer Id: 1171750, Address Id: 15029894 => Updated with Vin: 1GNDM19X93B151477 ## Mail History Id: 29615435, Consumer Id: 1170714, Address Id: 15028963 => Updated with Vin: 1GCCS148648135231 ## Mail History Id: 29615332, Consumer Id: 1171897, Address Id: 15028957 => Updated with Vin: 1GCEC14J68Z251361 ## Mail History Id: 29615332, Consumer Id: 1171896, Address Id: 15028957 => Updated with Vin: 1GCEC14J88Z252141 ## Mail History Id: 29615332, Consumer Id: 1172029, Address Id: 15028957 => Updated with Vin: 1GCEC14J98Z255971 ## Mail History Id: 29615332, Consumer Id: 1171800, Address Id: 15028957 => Updated with Vin: 1GCEC14JX8Z253890 ## Mail History Id: 29615332, Consumer Id: 1171790, Address Id: 15028957 => Updated with Vin: 1GCEC14T4YE382099 ## Mail History Id: 29615332, Consumer Id: 1171879, Address Id: 15028957 => Updated with Vin: 1GCEC19J28Z256453 ## Mail History Id: 29615332, Consumer Id: 1172016, Address Id: 15028957 => Updated with Vin: 1GCEC19J88Z256523 ## Mail History Id: 29615332, Consumer Id: 1172026, Address Id: 15028957 => Updated with Vin: 1GCEC19J98Z256529 ## Mail History Id: 29615332, Consumer Id: 1171444, Address Id: 15028957 => Updated with Vin: 1GNDT13S442347778 ## Mail History Id: 29615332, Consumer Id: 1171789, Address Id: 15028957 => Updated with Vin: 1GNDV23W08D132136 ## Mail History Id: 29615332, Consumer Id: 1171657, Address Id: 15028957 => Updated with Vin: 1GNDX03E44D238878 ## Mail History Id: 29615332, Consumer Id: 1171412, Address Id: 15028957 => Updated with Vin: 1GTHC24U95E326425 ## Mail History Id: 29615332, Consumer Id: 1171412, Address Id: 15028957 => Updated with Vin: 1GTHC24U95E326425 ## Mail History Id: 29615553, Consumer Id: 1171884, Address Id: 15030008 => Updated with Vin: 2GCEC19T241283933 ## Mail History Id: 29615451, Consumer Id: 1276915, Address Id: 15437854 => Updated with Vin: 2G2WS522841122538 ## Mail History Id: 29615617, Consumer Id: 1171266, Address Id: 15029472 => Updated with Vin: 2G1WF52E249379635 ## Mail History Id: 29615617, Consumer Id: 1171266, Address Id: 15029472 => Updated with Vin: 2G1WF52E249379635 ## Mail History Id: 29615512, Consumer Id: 1171857, Address Id: 15029986 => Updated with Vin: 1G1YY22G145133952 ## Mail History Id: 29615384, Consumer Id: 1171729, Address Id: 15029875 => Updated with Vin: 1GCHC29U45E209781 ## Mail History Id: 29615384, Consumer Id: 1171729, Address Id: 15029875 => Updated with Vin: 1GCHC29U45E209781 ## Mail History Id: 29615368, Consumer Id: 1171089, Address Id: 15029309 => Updated with Vin: 1GNEC13V64R216938 ## Mail History Id: 29615368, Consumer Id: 1171089, Address Id: 15029309 => Updated with Vin: 1GNEC13V64R216938 ## Mail History Id: 29615489, Consumer Id: 1171889, Address Id: 15029936 => Updated with Vin: 1GCEC14J08Z251212 ## Mail History Id: 29615489, Consumer Id: 1171796, Address Id: 15029936 => Updated with Vin: 1GCEC14J88Z251068 ## Mail History Id: 29615334, Consumer Id: 1171731, Address Id: 15029435 => Updated with Vin: 1GCEC19V15Z293783 ## Mail History Id: 29615508, Consumer Id: 1171643, Address Id: 15029803 => Updated with Vin: 2G1WF52E259364943 ## Mail History Id: 29615464, Consumer Id: 1171931, Address Id: 15029718 => Updated with Vin: 1GBKC34J4WF039561 ## Total mail_history records updated with vin numbers: 319 out of 346 ============================================================ ====== Tracking Id: 1117 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-09 11:17:24') AND us2_order_type_id = 3 ## Order found: 1429 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1429 AND product_id = 112 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3808 ## Mailing found: '12701' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616582, Consumer Id: 1170725, Address Id: 15028974 => Updated with Vin: 1G3NL52T91C127766 ## Mail History Id: 29616584, Consumer Id: 1170845, Address Id: 4510231 => Updated with Vin: 2G1WX12K439215524 ## Mail History Id: 29616586, Consumer Id: 1170826, Address Id: 15029070 => Updated with Vin: 1GCCS1948WK256838 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1118 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-09 11:17:41') AND us2_order_type_id = 3 ## Order found: 1432 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1432 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3721 ## Mailing found: '12711' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615073, Consumer Id: 1013669, Address Id: 6668471 => Updated with Vin: 4F2CZ06105KM25619 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 1119 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-09 11:44:01') AND us2_order_type_id = 3 ## Order found: 1433 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1433 AND product_id = 142 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3357 ## Mailing found: '12705' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616181, Consumer Id: 197437, Address Id: 405598 => Updated with Vin: 4M2YU57165DJ15845 ## Mail History Id: 29616235, Consumer Id: 937632, Address Id: 11766977 => Updated with Vin: JM3LW28G3Y0132990 ## Mail History Id: 29616199, Consumer Id: 190600, Address Id: 400920 => Updated with Vin: 1FMCU03144KA41954 ## Mail History Id: 29616269, Consumer Id: 190841, Address Id: 401343 => Updated with Vin: 1ZVFT80N855171713 ## Mail History Id: 29616241, Consumer Id: 937153, Address Id: 6486533 => Updated with Vin: 1FTNS24L86HA10768 ## Mail History Id: 29616163, Consumer Id: 937634, Address Id: 11941889 => Updated with Vin: 2C4GP44322R656294 ## Mail History Id: 29616193, Consumer Id: 192008, Address Id: 401798 => Updated with Vin: 1FMZU73E12ZA70502 ## Mail History Id: 29616257, Consumer Id: 195759, Address Id: 405036 => Updated with Vin: 1FMNU44P23EB44760 ## Mail History Id: 29616323, Consumer Id: 189530, Address Id: 401222 => Updated with Vin: 1FAFP55S54G182357 ## Mail History Id: 29616323, Consumer Id: 189530, Address Id: 401222 => Updated with Vin: 1FAFP55S54G182357 ## Mail History Id: 29616249, Consumer Id: 188607, Address Id: 398696 => Updated with Vin: 4F4YR12D14TM12874 ## Mail History Id: 29616135, Consumer Id: 937626, Address Id: 403224 => Updated with Vin: WDBRF61J15F707997 ## Mail History Id: 29616143, Consumer Id: 191831, Address Id: 400645 => Updated with Vin: 1FMPU16525LA42084 ## Mail History Id: 29616303, Consumer Id: 937635, Address Id: 407273 => Updated with Vin: 1FTPW14556KD96643 ## Mail History Id: 29616315, Consumer Id: 194299, Address Id: 404320 => Updated with Vin: 1FMFU20546LB00580 ## Mail History Id: 29616115, Consumer Id: 937630, Address Id: 11941887 => Updated with Vin: 5LMFU28586LJ25936 ## Mail History Id: 29616285, Consumer Id: 188284, Address Id: 399165 => Updated with Vin: 1ZVFT80N955162695 ## Mail History Id: 29616109, Consumer Id: 155092, Address Id: 397177 => Updated with Vin: 1FTPW14517KC38544 ## Mail History Id: 29616261, Consumer Id: 155499, Address Id: 397548 => Updated with Vin: 1FAHP31N97W335362 ## Mail History Id: 29616223, Consumer Id: 194337, Address Id: 399949 => Updated with Vin: 4F2YU08122KM23402 ## Mail History Id: 29616217, Consumer Id: 188707, Address Id: 399265 => Updated with Vin: 1YVFP80D935M14287 ## Mail History Id: 29616263, Consumer Id: 155854, Address Id: 397886 => Updated with Vin: 1FMEU74E18UA65450 ## Mail History Id: 29616157, Consumer Id: 198360, Address Id: 407362 => Updated with Vin: 1FTHX26G4PKA46511 ## Mail History Id: 29616169, Consumer Id: 937625, Address Id: 398922 => Updated with Vin: 1FAFPP624NH177776 ## Total mail_history records updated with vin numbers: 24 out of 36 ============================================================ ====== Tracking Id: 1120 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-09 12:16:12') AND us2_order_type_id = 3 ## Order found: 1434 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1434 AND product_id = 112 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3427 ## Mailing found: '12697' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616590, Consumer Id: 500005, Address Id: 9834248 => Updated with Vin: 2HKYF18544H551273 ## Mail History Id: 29616592, Consumer Id: 494048, Address Id: 9829229 => Updated with Vin: 2HGES16543H585448 ## Mail History Id: 29616594, Consumer Id: 500179, Address Id: 9834818 => Updated with Vin: SHSRD78844U229635 ## Mail History Id: 29616596, Consumer Id: 512123, Address Id: 329394 => Updated with Vin: SHSRD78556U404211 ## Mail History Id: 29616598, Consumer Id: 495623, Address Id: 9830412 => Updated with Vin: JHLRD1863YC006043 ## Mail History Id: 29616600, Consumer Id: 495805, Address Id: 329537 => Updated with Vin: 1HGCM66553A093797 ## Mail History Id: 29616602, Consumer Id: 500479, Address Id: 9835034 => Updated with Vin: 1HGCG1652YA026785 ## Mail History Id: 29616604, Consumer Id: 490547, Address Id: 3376018 => Updated with Vin: 1HGCG1644WA021043 ## Mail History Id: 29616606, Consumer Id: 500721, Address Id: 9835547 => Updated with Vin: 1HGCM55874A113572 ## Mail History Id: 29616608, Consumer Id: 503679, Address Id: 9839068 => Updated with Vin: 2HGEJ1137SH521931 ## Mail History Id: 29616610, Consumer Id: 515312, Address Id: 9846515 => Updated with Vin: 1HGC666831A010981 ## Mail History Id: 29616612, Consumer Id: 473175, Address Id: 330360 => Updated with Vin: 1HGCM56736A152698 ## Total mail_history records updated with vin numbers: 12 out of 13 ============================================================ ====== Tracking Id: 1121 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-09 12:16:24') AND us2_order_type_id = 3 ## Order found: 1435 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1435 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3471 ## Mailing found: '12708' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615889, Consumer Id: 799603, Address Id: 10212026 => Updated with Vin: 1GHDT13WXW2716538 ## Mail History Id: 29615973, Consumer Id: 822316, Address Id: 11876326 => Updated with Vin: 1GYFK63847R160584 ## Mail History Id: 29616081, Consumer Id: 816174, Address Id: 11877267 => Updated with Vin: 1G6KS52YXVU842608 ## Mail History Id: 29615971, Consumer Id: 803593, Address Id: 10214347 => Updated with Vin: 1G6KD52Y2VU214021 ## Mail History Id: 29616043, Consumer Id: 803628, Address Id: 10216800 => Updated with Vin: 1G6KY5496WU918654 ## Mail History Id: 29615885, Consumer Id: 801700, Address Id: 7878290 => Updated with Vin: 1G6KD54Y22U105129 ## Mail History Id: 29615917, Consumer Id: 760519, Address Id: 7878789 => Updated with Vin: 1GYDE637440135979 ## Mail History Id: 29615893, Consumer Id: 799060, Address Id: 7878452 => Updated with Vin: 1G6DM57N430102767 ## Mail History Id: 29615883, Consumer Id: 820775, Address Id: 7878148 => Updated with Vin: 1G6KF57943U195206 ## Mail History Id: 29615977, Consumer Id: 821300, Address Id: 11876329 => Updated with Vin: 1G6DN57U870102345 ## Mail History Id: 29616075, Consumer Id: 820798, Address Id: 11876512 => Updated with Vin: 1GYFK63847R163484 ## Mail History Id: 29616025, Consumer Id: 818582, Address Id: 11876449 => Updated with Vin: 1GYEK63N46R159404 ## Mail History Id: 29616055, Consumer Id: 817267, Address Id: 11876603 => Updated with Vin: 1GYEK63N85R237049 ## Total mail_history records updated with vin numbers: 13 out of 17 ============================================================ ====== Tracking Id: 1122 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-09 12:16:34') AND us2_order_type_id = 3 ## Order found: 1435 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1435 AND product_id = 112 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3471 ## Mailing found: '12698' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616644, Consumer Id: 798324, Address Id: 11869817 => Updated with Vin: 1G6KD54YX1U291663 ## Mail History Id: 29616646, Consumer Id: 798467, Address Id: 10212638 => Updated with Vin: 1G6KE54Y5XU805540 ## Mail History Id: 29616648, Consumer Id: 800953, Address Id: 7416416 => Updated with Vin: 1G6KS54Y43U100988 ## Mail History Id: 29616650, Consumer Id: 816203, Address Id: 11876793 => Updated with Vin: 3GYFK66N45G131309 ## Mail History Id: 29616652, Consumer Id: 820991, Address Id: 10562467 => Updated with Vin: 1GYFK66867R189063 ## Mail History Id: 29616654, Consumer Id: 822786, Address Id: 11876528 => Updated with Vin: 1G6KY54921U198584 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 1123 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-10 08:14:22') AND us2_order_type_id = 3 ## Order found: 1448 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1448 AND product_id = 55 ## Job Group Found: '475' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('475') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108002') AND customer_id = 3230 ## Mailing found: '12702' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1124 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-10 08:44:09') AND us2_order_type_id = 3 ## Order found: 1448 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1448 AND product_id = 113 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3230 ## Mailing found: '12694' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616678, Consumer Id: 92470, Address Id: 50761 => Updated with Vin: 3FAFP07136R226343 ## Mail History Id: 29616680, Consumer Id: 66905, Address Id: 51145 => Updated with Vin: 1FMEU738X6UA05305 ## Mail History Id: 29616682, Consumer Id: 63216, Address Id: 48104 => Updated with Vin: 1FTPF18L7YNA09228 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1125 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-10 08:44:16') AND us2_order_type_id = 3 ## Order found: 1448 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1448 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3230 ## Mailing found: '12704' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29614717, Consumer Id: 63718, Address Id: 48710 => Updated with Vin: 1FALP53U9SG116298 ## Mail History Id: 29615235, Consumer Id: 604746, Address Id: 11754149 => Updated with Vin: 2FMDK49C38BA84949 ## Mail History Id: 29614923, Consumer Id: 609247, Address Id: 11754352 => Updated with Vin: 1FAHP35N38W236550 ## Mail History Id: 29614859, Consumer Id: 67545, Address Id: 50397 => Updated with Vin: 1FAFP34N26W175942 ## Mail History Id: 29614775, Consumer Id: 103458, Address Id: 48481 => Updated with Vin: 4M2EU48877UJ01173 ## Mail History Id: 29614707, Consumer Id: 64781, Address Id: 48187 => Updated with Vin: 1FTNX21P93ED02922 ## Mail History Id: 29614839, Consumer Id: 38503, Address Id: 49152 => Updated with Vin: 1FMZU73K35UA19008 ## Mail History Id: 29614841, Consumer Id: 63647, Address Id: 47879 => Updated with Vin: 2FTRX18L03CA46397 ## Mail History Id: 29614907, Consumer Id: 609244, Address Id: 11754350 => Updated with Vin: 1ZVHT85H785185196 ## Mail History Id: 29614683, Consumer Id: 609245, Address Id: 11754351 => Updated with Vin: 1FTRX14W98FB42489 ## Mail History Id: 29614853, Consumer Id: 584192, Address Id: 7538693 => Updated with Vin: 2FALP73W2SX208697 ## Mail History Id: 29614747, Consumer Id: 66719, Address Id: 48270 => Updated with Vin: 1FAFP55UX4A160214 ## Mail History Id: 29614845, Consumer Id: 64056, Address Id: 49503 => Updated with Vin: 3FAFP37N25R141948 ## Mail History Id: 29614761, Consumer Id: 65287, Address Id: 52578 => Updated with Vin: 1MEFM55S21G605960 ## Mail History Id: 29614767, Consumer Id: 584191, Address Id: 11372475 => Updated with Vin: 1FTHX26F8VEA83256 ## Mail History Id: 29614799, Consumer Id: 584190, Address Id: 48211 => Updated with Vin: 1FAFP24196G149050 ## Mail History Id: 29614797, Consumer Id: 92716, Address Id: 49063 => Updated with Vin: 1FMEU73847UA68398 ## Mail History Id: 29614817, Consumer Id: 64715, Address Id: 47653 => Updated with Vin: 2FMZA5241YBA51546 ## Mail History Id: 29614865, Consumer Id: 609249, Address Id: 48781 => Updated with Vin: 1FTRX14W48FB75741 ## Mail History Id: 29614867, Consumer Id: 93334, Address Id: 47515 => Updated with Vin: 2FMDK38C07BB52019 ## Mail History Id: 29614917, Consumer Id: 73746, Address Id: 51097 => Updated with Vin: 1ZVHT80N875246003 ## Mail History Id: 29614705, Consumer Id: 64523, Address Id: 47388 => Updated with Vin: 1FTNW21F42EB67213 ## Mail History Id: 29614699, Consumer Id: 64151, Address Id: 49823 => Updated with Vin: 1FTYR10D64PA16427 ## Mail History Id: 29614725, Consumer Id: 93436, Address Id: 51945 => Updated with Vin: 1GNCS18X83K112964 ## Mail History Id: 29614723, Consumer Id: 609248, Address Id: 11754353 => Updated with Vin: 1FMEU74E86UA34080 ## Mail History Id: 29614695, Consumer Id: 102102, Address Id: 52003 => Updated with Vin: 1FTJW35F2VEA16566 ## Mail History Id: 29614771, Consumer Id: 103491, Address Id: 48337 => Updated with Vin: 3FAKP1139YR151598 ## Total mail_history records updated with vin numbers: 27 out of 35 ============================================================ ====== Tracking Id: 1126 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-10 09:17:51') AND us2_order_type_id = 3 ## Order found: 1449 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1449 AND product_id = 142 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3768 ## Mailing found: '12712' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615930, Consumer Id: 1108224, Address Id: 14982174 => Updated with Vin: 1G6CD53B3M4242407 ## Mail History Id: 29616160, Consumer Id: 1116761, Address Id: 5978449 => Updated with Vin: 4T1BF28B0YU064662 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 1127 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-10 10:16:53') AND us2_order_type_id = 3 ## Order found: 1450 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1450 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3416 ## Mailing found: '12706' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616344, Consumer Id: 684440, Address Id: 11795658 => Updated with Vin: 1G6DM57N230102735 ## Mail History Id: 29614535, Consumer Id: 625435, Address Id: 8332330 => Updated with Vin: 1G6DP577970140882 ## Mail History Id: 29616316, Consumer Id: 937294, Address Id: 3752463 => Updated with Vin: 2C4GM48L25R554730 ## Mail History Id: 29616386, Consumer Id: 937292, Address Id: 11959724 => Updated with Vin: 1G6DM577440179982 ## Mail History Id: 29614913, Consumer Id: 937293, Address Id: 11959725 => Updated with Vin: 5GRGN23UX3H114764 ## Mail History Id: 29614651, Consumer Id: 921876, Address Id: 11960255 => Updated with Vin: 5GTEN13E088179795 ## Mail History Id: 29614667, Consumer Id: 625391, Address Id: 1969965 => Updated with Vin: 1G6KD57Y46U234586 ## Mail History Id: 29614493, Consumer Id: 625762, Address Id: 1962434 => Updated with Vin: 1G6KD54Y95U104788 ## Mail History Id: 29614617, Consumer Id: 690588, Address Id: 1969320 => Updated with Vin: 1G6DP577060171436 ## Mail History Id: 29614587, Consumer Id: 625995, Address Id: 11766227 => Updated with Vin: 5GTEN43E788184641 ## Mail History Id: 29616356, Consumer Id: 628707, Address Id: 4761268 => Updated with Vin: 1GYEK63N54R172594 ## Mail History Id: 29616380, Consumer Id: 691379, Address Id: 1961840 => Updated with Vin: 1G6KD54Y53U212192 ## Mail History Id: 29614643, Consumer Id: 627157, Address Id: 11764743 => Updated with Vin: W06VR52R7VR965284 ## Mail History Id: 29614599, Consumer Id: 683489, Address Id: 1968969 => Updated with Vin: 1G6KF57981U155191 ## Mail History Id: 29614615, Consumer Id: 686447, Address Id: 1969156 => Updated with Vin: 1G6KS54Y11U266544 ## Mail History Id: 29614589, Consumer Id: 692705, Address Id: 11796455 => Updated with Vin: 1G3CX52K0T4302874 ## Mail History Id: 29616310, Consumer Id: 625468, Address Id: 1959032 => Updated with Vin: 1G6KD57Y07U220198 ## Mail History Id: 29614609, Consumer Id: 684713, Address Id: 1969129 => Updated with Vin: 1G6KE54Y82U213364 ## Mail History Id: 29614657, Consumer Id: 690153, Address Id: 1969824 => Updated with Vin: 1G6KD57Y06U105325 ## Mail History Id: 29614499, Consumer Id: 627079, Address Id: 1962670 => Updated with Vin: 1GYEK63N73R164592 ## Mail History Id: 29614547, Consumer Id: 691178, Address Id: 11797860 => Updated with Vin: 1GYEE637160214081 ## Mail History Id: 29614561, Consumer Id: 625805, Address Id: 10934159 => Updated with Vin: 1G6KD54Y85U162715 ## Mail History Id: 29614641, Consumer Id: 689421, Address Id: 11797250 => Updated with Vin: 1G6DW677950169479 ## Mail History Id: 29614591, Consumer Id: 691230, Address Id: 11797881 => Updated with Vin: 1G6KD57Y86U139738 ## Mail History Id: 29614663, Consumer Id: 690966, Address Id: 11797788 => Updated with Vin: 5GTDN136468286320 ## Mail History Id: 29616292, Consumer Id: 691258, Address Id: 10934240 => Updated with Vin: 1G6DW677060154757 ## Mail History Id: 29614565, Consumer Id: 687807, Address Id: 1967838 => Updated with Vin: 1G6KD54Y62U178231 ## Total mail_history records updated with vin numbers: 27 out of 42 ============================================================ ====== Tracking Id: 1128 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-10 10:19:54') AND us2_order_type_id = 3 ## Order found: 1451 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1451 AND product_id = 142 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3697 ## Mailing found: '12709' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615976, Consumer Id: 1043596, Address Id: 1086380 => Updated with Vin: 1GYEE637460214074 ## Mail History Id: 29616288, Consumer Id: 1044329, Address Id: 14952785 => Updated with Vin: 1GYEE637350123800 ## Mail History Id: 29616268, Consumer Id: 1045987, Address Id: 14953290 => Updated with Vin: 1G6DW677X60181304 ## Mail History Id: 29616268, Consumer Id: 1045985, Address Id: 14953290 => Updated with Vin: 1GYFK63868R172429 ## Mail History Id: 29615822, Consumer Id: 1041600, Address Id: 5983327 => Updated with Vin: 1G6KD54Y22U220927 ## Mail History Id: 29615806, Consumer Id: 1041480, Address Id: 3240090 => Updated with Vin: 1GHDT13S222107631 ## Mail History Id: 29616274, Consumer Id: 1050528, Address Id: 14954470 => Updated with Vin: 1G6KD54Y25U190302 ## Mail History Id: 29616278, Consumer Id: 1042485, Address Id: 14952302 => Updated with Vin: 1G6ET1293YU190737 ## Mail History Id: 29615874, Consumer Id: 1042483, Address Id: 14952301 => Updated with Vin: 1GYEK63N94R122653 ## Mail History Id: 29616176, Consumer Id: 1044744, Address Id: 8700847 => Updated with Vin: 1G6DP577X70125419 ## Total mail_history records updated with vin numbers: 10 out of 12 ============================================================ ====== Tracking Id: 1129 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-10 10:21:47') AND us2_order_type_id = 3 ## Order found: 1452 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1452 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3815 ## Mailing found: '12714' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29614840, Consumer Id: 1366342, Address Id: 15639224 => Updated with Vin: 5J6RE48397L014898 ## Mail History Id: 29614558, Consumer Id: 1367822, Address Id: 15634185 => Updated with Vin: 2HNYD18611H519328 ## Mail History Id: 29614712, Consumer Id: 1371790, Address Id: 15668662 => Updated with Vin: 5FNRL38788B051163 ## Mail History Id: 29615008, Consumer Id: 1362085, Address Id: 15634316 => Updated with Vin: 5FNRL38475B420516 ## Mail History Id: 29615212, Consumer Id: 1378849, Address Id: 15671533 => Updated with Vin: 5FNRL38607B001816 ## Mail History Id: 29615182, Consumer Id: 1368699, Address Id: 15635405 => Updated with Vin: 1HGED3658JA070969 ## Mail History Id: 29614512, Consumer Id: 1367095, Address Id: 15639875 => Updated with Vin: 1HGCP26788A056719 ## Mail History Id: 29614916, Consumer Id: 1378158, Address Id: 15671216 => Updated with Vin: JHLRD1862XC075403 ## Mail History Id: 29614532, Consumer Id: 1378906, Address Id: 15671643 => Updated with Vin: 2HGFG12896H572835 ## Mail History Id: 29616200, Consumer Id: 1637547, Address Id: 16143458 => Updated with Vin: 1HGCP26848A095848 ## Total mail_history records updated with vin numbers: 10 out of 13 ============================================================ ====== Tracking Id: 1130 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-10 10:22:06') AND us2_order_type_id = 3 ## Order found: 1452 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1452 AND product_id = 2150 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3815 ## Mailing found: '12714' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29614948, Consumer Id: 1369772, Address Id: 15636799 => Updated with Vin: 1HGCM56384A006212 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 1131 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-10 10:22:18') AND us2_order_type_id = 3 ## Order found: 1452 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1452 AND product_id = 2153 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1132 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-10 10:22:30') AND us2_order_type_id = 3 ## Order found: 1452 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1452 AND product_id = 2152 ## Job Group Found: '479' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('479') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108006') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1133 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-10 10:22:42') AND us2_order_type_id = 3 ## Order found: 1452 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1452 AND product_id = 2147 ## Job Group Found: '551' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('551') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082908002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082908002') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1134 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-10 11:16:36') AND us2_order_type_id = 3 ## Order found: 1453 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1453 AND product_id = 144 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3705 ## Mailing found: '12710' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615749, Consumer Id: 968687, Address Id: 14840154 => Updated with Vin: 1GKFC13J87R255906 ## Mail History Id: 29615749, Consumer Id: 968687, Address Id: 14840154 => Updated with Vin: 1GKFC13J87R255906 ## Mail History Id: 29615687, Consumer Id: 970362, Address Id: 14838874 => Updated with Vin: 1G2ZH18NX74202650 ## Mail History Id: 29615775, Consumer Id: 971603, Address Id: 14836279 => Updated with Vin: 3GTEC13C87G544535 ## Mail History Id: 29615813, Consumer Id: 972701, Address Id: 14843093 => Updated with Vin: 5GTDN136X68126006 ## Mail History Id: 29615821, Consumer Id: 972806, Address Id: 11388775 => Updated with Vin: 1GKFC13J58R189008 ## Mail History Id: 29615847, Consumer Id: 972922, Address Id: 14843244 => Updated with Vin: 2GTEC19C581235641 ## Mail History Id: 29615783, Consumer Id: 972923, Address Id: 14843245 => Updated with Vin: 2CNDL33F486316445 ## Mail History Id: 29615633, Consumer Id: 972925, Address Id: 14843247 => Updated with Vin: 2GCEC13J781280765 ## Mail History Id: 29615771, Consumer Id: 972927, Address Id: 14843248 => Updated with Vin: 1GCCS136958243733 ## Mail History Id: 29615641, Consumer Id: 972928, Address Id: 14843249 => Updated with Vin: 1GTEC14X88Z206555 ## Mail History Id: 29615693, Consumer Id: 972931, Address Id: 11248370 => Updated with Vin: 2GTEK13J181253533 ## Mail History Id: 29615765, Consumer Id: 972933, Address Id: 14843253 => Updated with Vin: 1GCEC19X68Z228515 ## Mail History Id: 29615827, Consumer Id: 972935, Address Id: 14843254 => Updated with Vin: 1GNFC13JX8R186494 ## Mail History Id: 29615807, Consumer Id: 972937, Address Id: 14843255 => Updated with Vin: 1G2ZH57N584128970 ## Mail History Id: 29615809, Consumer Id: 972938, Address Id: 14843256 => Updated with Vin: 5Y2SP67849Z414443 ## Mail History Id: 29615773, Consumer Id: 972940, Address Id: 14843258 => Updated with Vin: 2GCEC13V671155001 ## Mail History Id: 29615677, Consumer Id: 959938, Address Id: 14831140 => Updated with Vin: 1GKFK66U82J315325 ## Mail History Id: 29615697, Consumer Id: 979986, Address Id: 14831661 => Updated with Vin: 1GCHK236X8F139439 ## Mail History Id: 29615719, Consumer Id: 973329, Address Id: 9133081 => Updated with Vin: 2GCEK19R1W1138862 ## Mail History Id: 29615699, Consumer Id: 961244, Address Id: 14832138 => Updated with Vin: 2GTEC19V021108515 ## Mail History Id: 29615823, Consumer Id: 977714, Address Id: 14845147 => Updated with Vin: 1NXBR12E4XZ213402 ## Mail History Id: 29615865, Consumer Id: 980929, Address Id: 14846849 => Updated with Vin: 3GNDA13D07S610929 ## Mail History Id: 29615745, Consumer Id: 548477, Address Id: 9159687 => Updated with Vin: 1G4HP54K524139698 ## Mail History Id: 29615727, Consumer Id: 980927, Address Id: 14846848 => Updated with Vin: 1GNFK16K7SJ300514 ## Total mail_history records updated with vin numbers: 25 out of 38 ============================================================ ====== Tracking Id: 1135 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-10 11:17:22') AND us2_order_type_id = 3 ## Order found: 1454 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1454 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3808 ## Mailing found: '12713' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615448, Consumer Id: 1172123, Address Id: 15030216 => Updated with Vin: 1GNFC13087R340240 ## Mail History Id: 29615417, Consumer Id: 1171403, Address Id: 15029593 => Updated with Vin: 1GNDT13X84K146946 ## Mail History Id: 29615730, Consumer Id: 1172135, Address Id: 15030226 => Updated with Vin: 1GNFC13J77R147991 ## Mail History Id: 29615476, Consumer Id: 1171983, Address Id: 15030099 => Updated with Vin: 1GNFK13037R375951 ## Mail History Id: 29615506, Consumer Id: 1171101, Address Id: 15029321 => Updated with Vin: 1GNCS13WXT2104220 ## Mail History Id: 29615554, Consumer Id: 1171409, Address Id: 15029598 => Updated with Vin: 1GCEC19XX3Z361741 ## Mail History Id: 29615746, Consumer Id: 1172049, Address Id: 15030153 => Updated with Vin: 2G1WL52M1T9140950 ## Mail History Id: 29615764, Consumer Id: 1172125, Address Id: 15030218 => Updated with Vin: 1GNDS13S272259626 ## Mail History Id: 29615626, Consumer Id: 1171993, Address Id: 15030109 => Updated with Vin: 1GNDX03E2WD130424 ## Mail History Id: 29615386, Consumer Id: 1171984, Address Id: 15030100 => Updated with Vin: 1GCEC14R3TZ204576 ## Mail History Id: 29615429, Consumer Id: 1171510, Address Id: 15029687 => Updated with Vin: 1G1ND52J33M582811 ## Mail History Id: 29615509, Consumer Id: 1172043, Address Id: 15029577 => Updated with Vin: 1GCGG29R4X1142122 ## Mail History Id: 29615620, Consumer Id: 1170830, Address Id: 15029074 => Updated with Vin: 2GCEC19T111376549 ## Mail History Id: 29615444, Consumer Id: 1171965, Address Id: 15030082 => Updated with Vin: 1GNDT13W712168780 ## Mail History Id: 29615539, Consumer Id: 1171195, Address Id: 5228365 => Updated with Vin: 1G1AL58F787152449 ## Total mail_history records updated with vin numbers: 15 out of 17 ============================================================ ====== Tracking Id: 1136 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-10 11:17:29') AND us2_order_type_id = 3 ## Order found: 1455 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1455 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3721 ## Mailing found: '12711' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29614983, Consumer Id: 1014073, Address Id: 14932081 => Updated with Vin: 1YVHP80CX65M25772 ## Mail History Id: 29614943, Consumer Id: 1012562, Address Id: 6657508 => Updated with Vin: JM1BK323341207218 ## Mail History Id: 29615023, Consumer Id: 1010223, Address Id: 12020461 => Updated with Vin: JM1BK32FX81846423 ## Mail History Id: 29614955, Consumer Id: 1010245, Address Id: 1168459 => Updated with Vin: 1YVHP80C775M22541 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 1137 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-10 11:44:01') AND us2_order_type_id = 3 ## Order found: 1456 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1456 AND product_id = 142 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3357 ## Mailing found: '12705' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616231, Consumer Id: 188397, Address Id: 399180 => Updated with Vin: 1FMCU95H05KD90710 ## Mail History Id: 29616327, Consumer Id: 194668, Address Id: 403934 => Updated with Vin: 1FAFP55S01G184819 ## Mail History Id: 29616165, Consumer Id: 188744, Address Id: 399945 => Updated with Vin: 2FMZA50413BB01132 ## Mail History Id: 29616101, Consumer Id: 193996, Address Id: 404095 => Updated with Vin: 1FMFU20505LA04704 ## Mail History Id: 29616377, Consumer Id: 189863, Address Id: 402284 => Updated with Vin: 1FAHP38362W139988 ## Mail History Id: 29616309, Consumer Id: 873337, Address Id: 11912827 => Updated with Vin: 4M2ZU86W92ZJ15811 ## Mail History Id: 29616207, Consumer Id: 155321, Address Id: 397385 => Updated with Vin: 1ZVHT84N185118794 ## Mail History Id: 29616113, Consumer Id: 198991, Address Id: 403195 => Updated with Vin: 5LMFU28R31LJ17951 ## Mail History Id: 29616253, Consumer Id: 496227, Address Id: 9830835 => Updated with Vin: 1FMDU34X3RUD91452 ## Mail History Id: 29616341, Consumer Id: 190453, Address Id: 400989 => Updated with Vin: 3FASP11J9TR124313 ## Mail History Id: 29616219, Consumer Id: 197225, Address Id: 406486 => Updated with Vin: 1FTZR15X3XPA89976 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 1138 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-10 12:16:25') AND us2_order_type_id = 3 ## Order found: 1457 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1457 AND product_id = 113 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3427 ## Mailing found: '12697' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616637, Consumer Id: 499442, Address Id: 9833453 => Updated with Vin: JHLRD1875YS011369 ## Mail History Id: 29616639, Consumer Id: 498357, Address Id: 9832367 => Updated with Vin: 1HGCM72674A007069 ## Mail History Id: 29616641, Consumer Id: 502154, Address Id: 9837354 => Updated with Vin: 2HKYF18534H592266 ## Mail History Id: 29616643, Consumer Id: 494358, Address Id: 9829458 => Updated with Vin: JHMBB6248XC004391 ## Mail History Id: 29616645, Consumer Id: 494769, Address Id: 7552627 => Updated with Vin: 5FNRL18082B036418 ## Mail History Id: 29616647, Consumer Id: 494138, Address Id: 9829295 => Updated with Vin: 2HKRL1867YH519302 ## Mail History Id: 29616649, Consumer Id: 497409, Address Id: 9831681 => Updated with Vin: 1HGCD5632TA181022 ## Mail History Id: 29616651, Consumer Id: 492125, Address Id: 9827820 => Updated with Vin: 1HGCG56621A134961 ## Mail History Id: 29616653, Consumer Id: 513384, Address Id: 324567 => Updated with Vin: SHSRD78833U159544 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 1139 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-10 12:16:50') AND us2_order_type_id = 3 ## Order found: 1458 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1458 AND product_id = 112 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3471 ## Mailing found: '12698' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616655, Consumer Id: 801201, Address Id: 10217234 => Updated with Vin: 1G6KD54Y83U101538 ## Mail History Id: 29616657, Consumer Id: 818337, Address Id: 7879083 => Updated with Vin: 1GYEK63N96R119657 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 1140 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-11 08:44:17') AND us2_order_type_id = 3 ## Order found: 1471 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1471 AND product_id = 113 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3230 ## Mailing found: '12694' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616673, Consumer Id: 38522, Address Id: 51649 => Updated with Vin: 1FMCU03158KA82762 ## Mail History Id: 29616675, Consumer Id: 103081, Address Id: 53531 => Updated with Vin: 1FMPU16W13LB16505 ## Mail History Id: 29616677, Consumer Id: 93517, Address Id: 48015 => Updated with Vin: 1FMCU94188KC83638 ## Mail History Id: 29616679, Consumer Id: 64070, Address Id: 47612 => Updated with Vin: 2FTRF17272CA59075 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 1141 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-11 08:44:23') AND us2_order_type_id = 3 ## Order found: 1471 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1471 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3230 ## Mailing found: '12704' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29614789, Consumer Id: 92960, Address Id: 51390 => Updated with Vin: 1G1AL15FX77123300 ## Mail History Id: 29614753, Consumer Id: 93591, Address Id: 67806 => Updated with Vin: 1FMCU03128KC01660 ## Mail History Id: 29614911, Consumer Id: 63164, Address Id: 48051 => Updated with Vin: 1FTSW31F9YED10934 ## Mail History Id: 29614881, Consumer Id: 93079, Address Id: 51509 => Updated with Vin: 1FMEU73E07UB46360 ## Mail History Id: 29615351, Consumer Id: 67571, Address Id: 50208 => Updated with Vin: 1FMZK06146GA32334 ## Mail History Id: 29614889, Consumer Id: 64217, Address Id: 48465 => Updated with Vin: 1FMYU93173KD08206 ## Mail History Id: 29614777, Consumer Id: 609032, Address Id: 54085 => Updated with Vin: 1FTNX21FXYEE53802 ## Mail History Id: 29614787, Consumer Id: 609030, Address Id: 47411 => Updated with Vin: 1FBNE31F1YHA21288 ## Mail History Id: 29614905, Consumer Id: 66537, Address Id: 50054 => Updated with Vin: 1FMPU15555LA79177 ## Mail History Id: 29615231, Consumer Id: 609243, Address Id: 50350 => Updated with Vin: 1FTPW14V88FB68499 ## Mail History Id: 29614795, Consumer Id: 609251, Address Id: 50572 => Updated with Vin: 1FTPX14V88FB08753 ## Mail History Id: 29614719, Consumer Id: 66742, Address Id: 50218 => Updated with Vin: 1FAHP34N46W174719 ## Mail History Id: 29614915, Consumer Id: 92907, Address Id: 51332 => Updated with Vin: 1FTSX21P27EA27810 ## Mail History Id: 29614823, Consumer Id: 103741, Address Id: 48298 => Updated with Vin: 1LNHM81WX6Y650579 ## Mail History Id: 29614791, Consumer Id: 102795, Address Id: 47652 => Updated with Vin: 2MEFM74W74X695377 ## Mail History Id: 29614793, Consumer Id: 64182, Address Id: 52239 => Updated with Vin: 1FAFP55U9YG260064 ## Mail History Id: 29614831, Consumer Id: 609027, Address Id: 11754151 => Updated with Vin: 2MELM75W2VX661883 ## Mail History Id: 29614801, Consumer Id: 64975, Address Id: 51197 => Updated with Vin: 1FAFP13P3WW199965 ## Mail History Id: 29614901, Consumer Id: 92673, Address Id: 51083 => Updated with Vin: 1FMYU03157KA85357 ## Mail History Id: 29614871, Consumer Id: 66202, Address Id: 50582 => Updated with Vin: 1FAFP28156G138394 ## Mail History Id: 29614869, Consumer Id: 609028, Address Id: 11754152 => Updated with Vin: 1B3ES46C1YD851609 ## Mail History Id: 29614729, Consumer Id: 93240, Address Id: 51735 => Updated with Vin: 1G1ZT51F76F293246 ## Mail History Id: 29614919, Consumer Id: 103612, Address Id: 50782 => Updated with Vin: 2MELM74W4VX623671 ## Mail History Id: 29614735, Consumer Id: 64458, Address Id: 48376 => Updated with Vin: 1FMYU02182KB76567 ## Mail History Id: 29614891, Consumer Id: 609031, Address Id: 11754153 => Updated with Vin: 1FAFP34331W199206 ## Mail History Id: 29614737, Consumer Id: 609029, Address Id: 52400 => Updated with Vin: 1FMEU74E27UA85155 ## Mail History Id: 29614679, Consumer Id: 93397, Address Id: 51888 => Updated with Vin: 3A4FY58B57T514164 ## Mail History Id: 29614741, Consumer Id: 64150, Address Id: 52517 => Updated with Vin: 1FTZF1723WNB57150 ## Mail History Id: 29614743, Consumer Id: 63212, Address Id: 47872 => Updated with Vin: 1FTNW21F02EA92493 ## Mail History Id: 29614721, Consumer Id: 609250, Address Id: 11754354 => Updated with Vin: 2FMDK39C98BA90037 ## Mail History Id: 29614921, Consumer Id: 103481, Address Id: 47464 => Updated with Vin: 1FAFP53U9YG225222 ## Mail History Id: 29615409, Consumer Id: 73752, Address Id: 51749 => Updated with Vin: 1FTXW43R78EC37761 ## Mail History Id: 29614863, Consumer Id: 93238, Address Id: 51734 => Updated with Vin: 1GNDX03E73D323972 ## Mail History Id: 29614759, Consumer Id: 65277, Address Id: 50493 => Updated with Vin: 1FTSX21P76EA43399 ## Total mail_history records updated with vin numbers: 34 out of 39 ============================================================ ====== Tracking Id: 1142 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-11 09:18:06') AND us2_order_type_id = 3 ## Order found: 1472 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1472 AND product_id = 142 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3768 ## Mailing found: '12712' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616166, Consumer Id: 1107953, Address Id: 3238190 => Updated with Vin: 1G3WS52H12F174275 ## Total mail_history records updated with vin numbers: 1 out of 4 ============================================================ ====== Tracking Id: 1143 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-11 10:19:55') AND us2_order_type_id = 3 ## Order found: 1474 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1474 AND product_id = 142 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3697 ## Mailing found: '12709' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616086, Consumer Id: 1044612, Address Id: 11665829 => Updated with Vin: 3GYFK62807G245875 ## Mail History Id: 29615958, Consumer Id: 1043188, Address Id: 1083111 => Updated with Vin: 1GYEE637540147109 ## Mail History Id: 29616276, Consumer Id: 1045980, Address Id: 14953288 => Updated with Vin: 1GYEK63N06R113374 ## Mail History Id: 29615994, Consumer Id: 1042304, Address Id: 14952261 => Updated with Vin: 1G6KD54Y51U101672 ## Mail History Id: 29615802, Consumer Id: 1042150, Address Id: 3240006 => Updated with Vin: 1G3GR64H414122815 ## Mail History Id: 29615964, Consumer Id: 1045988, Address Id: 14952787 => Updated with Vin: 1G6KD54Y11U266800 ## Mail History Id: 29615816, Consumer Id: 1041530, Address Id: 3240207 => Updated with Vin: 1G6KD54Y11U261581 ## Mail History Id: 29615916, Consumer Id: 1041859, Address Id: 9430553 => Updated with Vin: 1G6KD54Y32U280036 ## Mail History Id: 29615768, Consumer Id: 1051668, Address Id: 14954022 => Updated with Vin: 1GYFK63817R219526 ## Mail History Id: 29615956, Consumer Id: 1047228, Address Id: 8828964 => Updated with Vin: 1GYEK63N04R317704 ## Mail History Id: 29615814, Consumer Id: 1049836, Address Id: 14952865 => Updated with Vin: 1G6DP567450205264 ## Total mail_history records updated with vin numbers: 11 out of 13 ============================================================ ====== Tracking Id: 1144 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-11 10:20:34') AND us2_order_type_id = 3 ## Order found: 1472 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1472 AND product_id = 140 ## Job Group Found: '479' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('479') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108006') AND customer_id = 3768 ## Mailing found: '12692' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616875, Consumer Id: 1051437, Address Id: 14954743 => Updated with Vin: 1G6KS54Y61U228677 ## Mail History Id: 29616877, Consumer Id: 1638206, Address Id: 14982494 => Updated with Vin: 2G1FP22K4W2118701 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1145 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-11 10:21:35') AND us2_order_type_id = 3 ## Order found: 1475 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1475 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3815 ## Mailing found: '12714' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29614922, Consumer Id: 1371991, Address Id: 15668776 => Updated with Vin: 1HGCM82654A009327 ## Mail History Id: 29614676, Consumer Id: 1363699, Address Id: 15636579 => Updated with Vin: 2HGFG12616H552481 ## Mail History Id: 29615222, Consumer Id: 1363057, Address Id: 3455662 => Updated with Vin: 1HGCM56876A075536 ## Mail History Id: 29614612, Consumer Id: 1379558, Address Id: 15636116 => Updated with Vin: 1HGFA16568L010981 ## Mail History Id: 29614944, Consumer Id: 1362272, Address Id: 15634435 => Updated with Vin: 2HGES16525H626937 ## Mail History Id: 29614910, Consumer Id: 1364629, Address Id: 15637623 => Updated with Vin: 1HGCM56307A004152 ## Mail History Id: 29614750, Consumer Id: 1371795, Address Id: 15632926 => Updated with Vin: 5FNRL38468B042550 ## Mail History Id: 29615110, Consumer Id: 1361119, Address Id: 15633403 => Updated with Vin: 2HKRL18651H571632 ## Mail History Id: 29616150, Consumer Id: 1365081, Address Id: 15635745 => Updated with Vin: 1HGCM66577A054358 ## Mail History Id: 29615098, Consumer Id: 1377388, Address Id: 11305518 => Updated with Vin: 1HGEM22982L002177 ## Mail History Id: 29614858, Consumer Id: 1363533, Address Id: 15636475 => Updated with Vin: JHMGD37617S003761 ## Mail History Id: 29615252, Consumer Id: 1364940, Address Id: 15638027 => Updated with Vin: 1HGCM66583A006300 ## Mail History Id: 29615300, Consumer Id: 1365277, Address Id: 15638238 => Updated with Vin: JHLRE487X7C049042 ## Mail History Id: 29615300, Consumer Id: 1365277, Address Id: 15638238 => Updated with Vin: JHLRE487X7C049042 ## Mail History Id: 29614516, Consumer Id: 1378111, Address Id: 15671187 => Updated with Vin: 5FNRL38617B013098 ## Mail History Id: 29615010, Consumer Id: 1365436, Address Id: 15636626 => Updated with Vin: 2HGFA55517H706846 ## Mail History Id: 29614762, Consumer Id: 1367472, Address Id: 15640098 => Updated with Vin: 5FNRL38628B023401 ## Mail History Id: 29615108, Consumer Id: 1371997, Address Id: 15668781 => Updated with Vin: 5J6RE383X8L002982 ## Mail History Id: 29615072, Consumer Id: 1371994, Address Id: 15668778 => Updated with Vin: 1HGCG56722A121234 ## Total mail_history records updated with vin numbers: 19 out of 20 ============================================================ ====== Tracking Id: 1146 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-11 11:17:05') AND us2_order_type_id = 3 ## Order found: 1476 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1476 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1147 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-11 11:17:20') AND us2_order_type_id = 3 ## Order found: 1476 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1476 AND product_id = 112 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3705 ## Mailing found: '12700' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1148 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-11 11:17:49') AND us2_order_type_id = 3 ## Order found: 1477 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1477 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3808 ## Mailing found: '12713' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615563, Consumer Id: 1171641, Address Id: 15029801 => Updated with Vin: 3GNEC12JX7G141518 ## Mail History Id: 29615500, Consumer Id: 1170856, Address Id: 15029094 => Updated with Vin: 2CNDL13F386023222 ## Mail History Id: 29615636, Consumer Id: 1171961, Address Id: 15030078 => Updated with Vin: 1GNEC13V43R306989 ## Mail History Id: 29615481, Consumer Id: 1171106, Address Id: 15029303 => Updated with Vin: 2G1WX12KXY9276514 ## Mail History Id: 29615676, Consumer Id: 1171979, Address Id: 15030095 => Updated with Vin: 1GTHK23U14F267884 ## Mail History Id: 29615467, Consumer Id: 1171599, Address Id: 15029765 => Updated with Vin: 2G1WF52E739402468 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 1149 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-11 11:17:51') AND us2_order_type_id = 3 ## Order found: 1477 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1477 AND product_id = 112 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3808 ## Mailing found: '12701' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616727, Consumer Id: 1170917, Address Id: 15029151 => Updated with Vin: 1GNEK13RXWR108430 ## Mail History Id: 29616729, Consumer Id: 1170887, Address Id: 15029122 => Updated with Vin: 1GCJK39161E324408 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1150 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-11 11:18:00') AND us2_order_type_id = 3 ## Order found: 1478 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1478 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3721 ## Mailing found: '12711' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29614975, Consumer Id: 1009716, Address Id: 6658743 => Updated with Vin: JM3TB28A880132233 ## Mail History Id: 29615033, Consumer Id: 1009718, Address Id: 14931590 => Updated with Vin: 4F2CZ02Z58KM17757 ## Mail History Id: 29614997, Consumer Id: 1010217, Address Id: 14931877 => Updated with Vin: 1YVHP80C185M40129 ## Total mail_history records updated with vin numbers: 3 out of 6 ============================================================ ====== Tracking Id: 1151 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-11 11:44:06') AND us2_order_type_id = 3 ## Order found: 1479 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1479 AND product_id = 112 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3357 ## Mailing found: '12695' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616749, Consumer Id: 187308, Address Id: 398090 => Updated with Vin: 1FAFP40444F123714 ## Mail History Id: 29616751, Consumer Id: 189446, Address Id: 399920 => Updated with Vin: 1FTNE24L95HA43784 ## Mail History Id: 29616753, Consumer Id: 187226, Address Id: 395620 => Updated with Vin: 1ZVFT80N355126033 ## Mail History Id: 29616755, Consumer Id: 191337, Address Id: 401377 => Updated with Vin: 1FAFP45X0WF111100 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 1152 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-11 11:44:18') AND us2_order_type_id = 3 ## Order found: 1479 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1479 AND product_id = 113 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3357 ## Mailing found: '12695' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1153 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-11 12:15:58') AND us2_order_type_id = 3 ## Order found: 1480 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1480 AND product_id = 112 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3427 ## Mailing found: '12697' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616614, Consumer Id: 516750, Address Id: 9847373 => Updated with Vin: 1HGCM65587A017756 ## Mail History Id: 29616616, Consumer Id: 496537, Address Id: 7554050 => Updated with Vin: 1HGCM56623A014508 ## Mail History Id: 29616618, Consumer Id: 506688, Address Id: 9841215 => Updated with Vin: 1HGCM567X5A082244 ## Mail History Id: 29616620, Consumer Id: 498511, Address Id: 9832478 => Updated with Vin: 1HGCG6677XA094786 ## Mail History Id: 29616622, Consumer Id: 504168, Address Id: 9839742 => Updated with Vin: 1HGCD5637VA112507 ## Mail History Id: 29616624, Consumer Id: 511584, Address Id: 9844321 => Updated with Vin: 5FNYF18576B001583 ## Mail History Id: 29616626, Consumer Id: 500227, Address Id: 9834851 => Updated with Vin: JHMES96694S011717 ## Mail History Id: 29616628, Consumer Id: 516503, Address Id: 328479 => Updated with Vin: 1HGCM56876A100001 ## Mail History Id: 29616630, Consumer Id: 514912, Address Id: 325457 => Updated with Vin: 1HGCM56405A151710 ## Mail History Id: 29616632, Consumer Id: 483918, Address Id: 9838404 => Updated with Vin: 2HGFG11828H538160 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 1154 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-11 12:16:10') AND us2_order_type_id = 3 ## Order found: 1480 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1480 AND product_id = 113 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3427 ## Mailing found: '12697' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616656, Consumer Id: 493500, Address Id: 7555086 => Updated with Vin: 3HGCG564X2G707817 ## Mail History Id: 29616658, Consumer Id: 499560, Address Id: 9833531 => Updated with Vin: 1HGCG55611A108711 ## Mail History Id: 29616660, Consumer Id: 502735, Address Id: 330198 => Updated with Vin: 1HGEM21965L003849 ## Mail History Id: 29616662, Consumer Id: 492426, Address Id: 327283 => Updated with Vin: 1HGES16582L062693 ## Mail History Id: 29616664, Consumer Id: 497995, Address Id: 9832108 => Updated with Vin: 1HGCM56384A030171 ## Mail History Id: 29616666, Consumer Id: 519282, Address Id: 327724 => Updated with Vin: 1HGCM72687A019512 ## Mail History Id: 29616668, Consumer Id: 506523, Address Id: 9841109 => Updated with Vin: 19UUA56693A088747 ## Mail History Id: 29616670, Consumer Id: 490782, Address Id: 9826790 => Updated with Vin: 1HGCM566X3A006592 ## Mail History Id: 29616672, Consumer Id: 495320, Address Id: 9830192 => Updated with Vin: 2HKYF18683H618979 ## Mail History Id: 29616674, Consumer Id: 482356, Address Id: 9827579 => Updated with Vin: 1HGCM82673A030095 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 1155 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-11 12:16:18') AND us2_order_type_id = 3 ## Order found: 1481 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1481 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3471 ## Mailing found: '12708' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615945, Consumer Id: 803128, Address Id: 7415642 => Updated with Vin: 1G6EL12Y62B102032 ## Mail History Id: 29615949, Consumer Id: 760504, Address Id: 7415695 => Updated with Vin: 1GYEE637850189484 ## Mail History Id: 29615933, Consumer Id: 798354, Address Id: 7879024 => Updated with Vin: 1G6KD54Y62U123682 ## Mail History Id: 29615991, Consumer Id: 817575, Address Id: 7416987 => Updated with Vin: 1G6DN56S850172294 ## Mail History Id: 29615991, Consumer Id: 817575, Address Id: 7416987 => Updated with Vin: 1G6DN56S850172294 ## Mail History Id: 29615959, Consumer Id: 800195, Address Id: 10213904 => Updated with Vin: 1G6KS54YXXU904878 ## Mail History Id: 29615899, Consumer Id: 798003, Address Id: 10212229 => Updated with Vin: 1G6KS52YXSU828378 ## Mail History Id: 29615951, Consumer Id: 817593, Address Id: 7415740 => Updated with Vin: 1GYEK63N65R176185 ## Mail History Id: 29616079, Consumer Id: 821235, Address Id: 11876569 => Updated with Vin: 1GYEK63NX6R157432 ## Mail History Id: 29615919, Consumer Id: 800624, Address Id: 10558838 => Updated with Vin: 1G6KD52B3SU239792 ## Mail History Id: 29616047, Consumer Id: 806960, Address Id: 10216999 => Updated with Vin: 1G6KD57Y68U120186 ## Mail History Id: 29616011, Consumer Id: 799328, Address Id: 10215580 => Updated with Vin: 1GHDT13S222229468 ## Mail History Id: 29615981, Consumer Id: 800985, Address Id: 11871090 => Updated with Vin: 1G6KY5490XU931949 ## Mail History Id: 29616045, Consumer Id: 800888, Address Id: 10216433 => Updated with Vin: 1G6ET1293YU151758 ## Mail History Id: 29616049, Consumer Id: 805003, Address Id: 11873182 => Updated with Vin: 1G3NL52T01C152247 ## Mail History Id: 29616093, Consumer Id: 797875, Address Id: 11850954 => Updated with Vin: 1G6KD54Y8VU277654 ## Mail History Id: 29616091, Consumer Id: 801518, Address Id: 11871576 => Updated with Vin: 1G6KY5293SU813700 ## Mail History Id: 29616097, Consumer Id: 804197, Address Id: 11872816 => Updated with Vin: 1GYDE637140130710 ## Mail History Id: 29615909, Consumer Id: 804384, Address Id: 6526421 => Updated with Vin: 1G6KD54Y01U222786 ## Mail History Id: 29615629, Consumer Id: 816158, Address Id: 11877265 => Updated with Vin: 3GYEK62N94G175175 ## Mail History Id: 29615943, Consumer Id: 822947, Address Id: 7415579 => Updated with Vin: 1G6KD57Y86U171749 ## Mail History Id: 29615941, Consumer Id: 772857, Address Id: 11873937 => Updated with Vin: 1G6DP577460122157 ## Mail History Id: 29615993, Consumer Id: 772941, Address Id: 11874179 => Updated with Vin: 1GYEE63A080119669 ## Mail History Id: 29615907, Consumer Id: 822648, Address Id: 7878561 => Updated with Vin: 1G6DN57U060151280 ## Mail History Id: 29616023, Consumer Id: 820774, Address Id: 10215737 => Updated with Vin: 1GYEE637560125095 ## Mail History Id: 29615969, Consumer Id: 821157, Address Id: 7416559 => Updated with Vin: 1G6DP577160151437 ## Mail History Id: 29615939, Consumer Id: 822908, Address Id: 7879082 => Updated with Vin: 1GYEE637770169035 ## Mail History Id: 29616031, Consumer Id: 821237, Address Id: 10216167 => Updated with Vin: 3GYFK66N46G141825 ## Mail History Id: 29615935, Consumer Id: 807901, Address Id: 7415515 => Updated with Vin: 1GYEK63NX5R170714 ## Mail History Id: 29615931, Consumer Id: 760510, Address Id: 7879012 => Updated with Vin: 1G6KD57Y86U104326 ## Mail History Id: 29616077, Consumer Id: 822504, Address Id: 11876544 => Updated with Vin: 1G6DM57T860204236 ## Mail History Id: 29615987, Consumer Id: 806993, Address Id: 10214678 => Updated with Vin: 1G6DN56S650199476 ## Mail History Id: 29616027, Consumer Id: 822684, Address Id: 11876450 => Updated with Vin: 1GYEE637570179501 ## Mail History Id: 29616095, Consumer Id: 760367, Address Id: 11851009 => Updated with Vin: 1GYFK63858R191988 ## Mail History Id: 29616021, Consumer Id: 806976, Address Id: 10215681 => Updated with Vin: 1G6DT57V380176630 ## Mail History Id: 29616021, Consumer Id: 806976, Address Id: 10215681 => Updated with Vin: 1G6DT57V380176630 ## Mail History Id: 29616021, Consumer Id: 806976, Address Id: 10215681 => Updated with Vin: 1G6DT57V380176630 ## Mail History Id: 29616021, Consumer Id: 816571, Address Id: 10215681 => Updated with Vin: 1G6DW677650190970 ## Mail History Id: 29616021, Consumer Id: 816571, Address Id: 10215681 => Updated with Vin: 1G6DW677650190970 ## Mail History Id: 29615915, Consumer Id: 760436, Address Id: 6527304 => Updated with Vin: 3GYFK66N94G178463 ## Mail History Id: 29615995, Consumer Id: 807088, Address Id: 11877043 => Updated with Vin: 1J4FA29134P793249 ## Mail History Id: 29616035, Consumer Id: 803691, Address Id: 10215869 => Updated with Vin: 1G6KD54Y1YU284028 ## Total mail_history records updated with vin numbers: 42 out of 64 ============================================================ ====== Tracking Id: 1156 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-11 12:16:31') AND us2_order_type_id = 3 ## Order found: 1481 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1481 AND product_id = 112 ## Job Group Found: '476' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('476') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108003') AND customer_id = 3471 ## Mailing found: '12698' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29616684, Consumer Id: 798093, Address Id: 7415988 => Updated with Vin: 1GYEK63R1YR191409 ## Mail History Id: 29616686, Consumer Id: 800869, Address Id: 7878109 => Updated with Vin: 1G6KY54962U193146 ## Mail History Id: 29616688, Consumer Id: 804410, Address Id: 11872910 => Updated with Vin: 1G6KY54972U267724 ## Mail History Id: 29616690, Consumer Id: 805547, Address Id: 10562419 => Updated with Vin: 1G6KD54Y3WU744299 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1157 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-11 14:14:22') AND us2_order_type_id = 3 ## Order found: 1482 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1482 AND product_id = 143 ## Job Group Found: '474' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('474') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081108001') AND customer_id = 3418 ## Mailing found: '12707' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 29615381, Consumer Id: 628759, Address Id: 8875845 => Updated with Vin: 1G6DW677760184659 ## Mail History Id: 29615263, Consumer Id: 610604, Address Id: 11755307 => Updated with Vin: 1G6DT57V480152398 ## Mail History Id: 29615333, Consumer Id: 612296, Address Id: 11756007 => Updated with Vin: 1G6KY54972U262622 ## Mail History Id: 29615375, Consumer Id: 610876, Address Id: 10125790 => Updated with Vin: 1GYEE637950133263 ## Mail History Id: 29615403, Consumer Id: 629136, Address Id: 11769701 => Updated with Vin: 2C3KA53G67H658590 ## Mail History Id: 29615089, Consumer Id: 629604, Address Id: 11770000 => Updated with Vin: 2A4GP54L96R671557 ## Mail History Id: 29615293, Consumer Id: 671101, Address Id: 11788454 => Updated with Vin: 1G6KD54Y05U144967 ## Mail History Id: 29615361, Consumer Id: 623834, Address Id: 11764511 => Updated with Vin: 1G6DP567550159881 ## Mail History Id: 29615101, Consumer Id: 612394, Address Id: 8878818 => Updated with Vin: 1GYEE63A840142241 ## Mail History Id: 29615301, Consumer Id: 674445, Address Id: 11790620 => Updated with Vin: 1G6KD57Y26U100451 ## Mail History Id: 29615187, Consumer Id: 610866, Address Id: 11755530 => Updated with Vin: 1G6DF577380176183 ## Mail History Id: 29615171, Consumer Id: 677121, Address Id: 11792265 => Updated with Vin: 1GYFK66857R218262 ## Mail History Id: 29615245, Consumer Id: 678079, Address Id: 11792810 => Updated with Vin: 1G6KD54Y83U279904 ## Mail History Id: 29615185, Consumer Id: 678466, Address Id: 11793041 => Updated with Vin: 1G6DP577570143360 ## Mail History Id: 29615205, Consumer Id: 670303, Address Id: 6608924 => Updated with Vin: 1G6KD54Y71U111331 ## Mail History Id: 29615353, Consumer Id: 678950, Address Id: 11793322 => Updated with Vin: 1G6DM57T070158547 ## Mail History Id: 29615157, Consumer Id: 679502, Address Id: 11793646 => Updated with Vin: 1G6KD57917U186149 ## Mail History Id: 29615229, Consumer Id: 680045, Address Id: 11793979 => Updated with Vin: 1GYEE637270186289 ## Mail History Id: 29615367, Consumer Id: 664823, Address Id: 6609638 => Updated with Vin: 1GYEK63N12R161685 ## Mail History Id: 29615081, Consumer Id: 663323, Address Id: 11782856 => Updated with Vin: 1G6KD57917U156617 ## Mail History Id: 29615129, Consumer Id: 610877, Address Id: 11755539 => Updated with Vin: 1GYFK63878R163660 ## Total mail_history records updated with vin numbers: 21 out of 29 ============================================================ ====== Tracking Id: 1158 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3121 AND DATE(cart_created_date) = DATE('2008-08-11 17:12:38') AND us2_order_type_id = 3 ## Order found: 1494 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1494 AND product_id = 54 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 1159 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-12 08:44:20') AND us2_order_type_id = 3 ## Order found: 1495 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1495 AND product_id = 143 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3230 ## Mailing found: '12823' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079809, Consumer Id: 38592, Address Id: 51694 => Updated with Vin: 1FTPX14VX7FB86899 ## Mail History Id: 30079857, Consumer Id: 38593, Address Id: 51695 => Updated with Vin: 1FMYU02153KC17576 ## Mail History Id: 30079823, Consumer Id: 103190, Address Id: 53581 => Updated with Vin: 1FTSW31F32EB52095 ## Mail History Id: 30079817, Consumer Id: 609352, Address Id: 11754355 => Updated with Vin: 2CNDL73F076116250 ## Mail History Id: 30079667, Consumer Id: 67440, Address Id: 47780 => Updated with Vin: 1G4HD57236U132288 ## Mail History Id: 30079659, Consumer Id: 65659, Address Id: 49768 => Updated with Vin: 1FTWW31PX6EA72406 ## Mail History Id: 30079859, Consumer Id: 66900, Address Id: 49907 => Updated with Vin: 1FTRF18W81NA96517 ## Mail History Id: 30079861, Consumer Id: 63356, Address Id: 49700 => Updated with Vin: 1FTWW32P64EA46431 ## Mail History Id: 30079839, Consumer Id: 66850, Address Id: 48603 => Updated with Vin: 1FMZU73W52ZB52032 ## Mail History Id: 30079839, Consumer Id: 93132, Address Id: 48603 => Updated with Vin: 3FAFP13P5YR232132 ## Mail History Id: 30079843, Consumer Id: 65089, Address Id: 52777 => Updated with Vin: 3FAHP37363R139897 ## Mail History Id: 30079793, Consumer Id: 63453, Address Id: 47614 => Updated with Vin: 1FAFP34PXYW192458 ## Mail History Id: 30079841, Consumer Id: 38404, Address Id: 49081 => Updated with Vin: 1FTSX21P95EC34062 ## Mail History Id: 30079795, Consumer Id: 63427, Address Id: 48316 => Updated with Vin: 1FMSU45P73ED13477 ## Mail History Id: 30079821, Consumer Id: 609574, Address Id: 52625 => Updated with Vin: 1FAHP35N98W200944 ## Mail History Id: 30079787, Consumer Id: 629882, Address Id: 50109 => Updated with Vin: 1FTRX14W68FB42563 ## Mail History Id: 30079811, Consumer Id: 102962, Address Id: 53466 => Updated with Vin: 1FDRE14WXXHC18970 ## Mail History Id: 30079825, Consumer Id: 66282, Address Id: 50979 => Updated with Vin: 1FMCU24XXSUB48636 ## Mail History Id: 30079815, Consumer Id: 67680, Address Id: 52662 => Updated with Vin: 1MEFM41115G625789 ## Mail History Id: 30079813, Consumer Id: 64631, Address Id: 49397 => Updated with Vin: 1FAFP24155G174784 ## Mail History Id: 30079831, Consumer Id: 63452, Address Id: 51924 => Updated with Vin: 2FMZA51684BA55588 ## Mail History Id: 30079849, Consumer Id: 92424, Address Id: 50671 => Updated with Vin: 1FMYU03176KD26382 ## Mail History Id: 30079847, Consumer Id: 93095, Address Id: 51524 => Updated with Vin: 1FAFP241X7G120836 ## Mail History Id: 30079855, Consumer Id: 67607, Address Id: 49157 => Updated with Vin: 1FTSW21P86EC89218 ## Mail History Id: 30079819, Consumer Id: 65213, Address Id: 49835 => Updated with Vin: 1FBSS31F7WHA72416 ## Mail History Id: 30079789, Consumer Id: 92895, Address Id: 49892 => Updated with Vin: 1FAFP24107G103978 ## Mail History Id: 30079785, Consumer Id: 66645, Address Id: 50219 => Updated with Vin: 1ZVFT80N365143724 ## Mail History Id: 30079791, Consumer Id: 92818, Address Id: 51232 => Updated with Vin: 1ZVFT82HX75218668 ## Mail History Id: 30079851, Consumer Id: 64515, Address Id: 49244 => Updated with Vin: 1FMYU02Z65KD98843 ## Mail History Id: 30079827, Consumer Id: 609573, Address Id: 48879 => Updated with Vin: 3FAHP01167R141211 ## Mail History Id: 30079805, Consumer Id: 93277, Address Id: 51763 => Updated with Vin: 1FTWW33P34EA09870 ## Total mail_history records updated with vin numbers: 31 out of 42 ============================================================ ====== Tracking Id: 1160 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3848 AND DATE(cart_created_date) = DATE('2008-08-12 08:48:30') AND us2_order_type_id = 3 ## Order found: 1496 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1496 AND product_id = 54 ## Job Group Found: '492' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('492') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081208001') AND customer_id = 3848 ## Mailing found: '12819' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 1161 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3920 AND DATE(cart_created_date) = DATE('2008-08-12 10:02:06') AND us2_order_type_id = 3 ## Order found: 1497 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1497 AND product_id = 54 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 1162 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-12 10:17:11') AND us2_order_type_id = 3 ## Order found: 1498 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1498 AND product_id = 143 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3416 ## Mailing found: '12825' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079657, Consumer Id: 938326, Address Id: 3857178 => Updated with Vin: 5GTEN13L888101490 ## Mail History Id: 30079799, Consumer Id: 938328, Address Id: 11960570 => Updated with Vin: 1G6KD57Y38U105225 ## Mail History Id: 30079799, Consumer Id: 938328, Address Id: 11960570 => Updated with Vin: 1G6KD57Y38U105225 ## Mail History Id: 30079777, Consumer Id: 938327, Address Id: 11960569 => Updated with Vin: 1G4HE57Y18U106910 ## Mail History Id: 30079755, Consumer Id: 681380, Address Id: 11794774 => Updated with Vin: 1G6KF57921U155140 ## Mail History Id: 30079759, Consumer Id: 685199, Address Id: 1968612 => Updated with Vin: 1GYEK63N34R144146 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 1163 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-12 10:20:32') AND us2_order_type_id = 3 ## Order found: 1499 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1499 AND product_id = 142 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3697 ## Mailing found: '12828' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079557, Consumer Id: 1044322, Address Id: 14952783 => Updated with Vin: 1G6YV36A365601763 ## Mail History Id: 30079581, Consumer Id: 1045307, Address Id: 14797836 => Updated with Vin: 1GYEC63848R104123 ## Mail History Id: 30079571, Consumer Id: 1045992, Address Id: 12186034 => Updated with Vin: 1G6DC67A370138218 ## Mail History Id: 30079543, Consumer Id: 1045888, Address Id: 2774913 => Updated with Vin: 1G6KD54Y54U198103 ## Mail History Id: 30079565, Consumer Id: 1044202, Address Id: 2848963 => Updated with Vin: 1G6DM577540183149 ## Mail History Id: 30079555, Consumer Id: 1042755, Address Id: 3238872 => Updated with Vin: 1G6KD54Y34U136215 ## Mail History Id: 30079583, Consumer Id: 1044457, Address Id: 14952836 => Updated with Vin: 3GYFK66N04G274272 ## Mail History Id: 30079573, Consumer Id: 1048365, Address Id: 14953935 => Updated with Vin: 1G6KD57Y66U153024 ## Mail History Id: 30079569, Consumer Id: 1045692, Address Id: 12938034 => Updated with Vin: 1G6KD57937U237151 ## Mail History Id: 30079563, Consumer Id: 1052049, Address Id: 14955048 => Updated with Vin: 1GMDX13E93D125713 ## Mail History Id: 30079563, Consumer Id: 1052052, Address Id: 14955048 => Updated with Vin: 1GYEE637960204785 ## Mail History Id: 30079563, Consumer Id: 1052052, Address Id: 14955048 => Updated with Vin: 1GYEE637960204785 ## Total mail_history records updated with vin numbers: 12 out of 18 ============================================================ ====== Tracking Id: 1164 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-12 10:21:28') AND us2_order_type_id = 3 ## Order found: 1500 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1500 AND product_id = 140 ## Job Group Found: '489' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('489') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408004') AND customer_id = 3768 ## Mailing found: '12850' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30080058, Consumer Id: 1108090, Address Id: 5991208 => Updated with Vin: 1G6KE57Y5YU183504 ## Mail History Id: 30080060, Consumer Id: 1048849, Address Id: 2850747 => Updated with Vin: 1G6KD54Y41U179098 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1165 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-12 10:22:33') AND us2_order_type_id = 3 ## Order found: 1501 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1501 AND product_id = 143 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3815 ## Mailing found: '12833' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079605, Consumer Id: 1379751, Address Id: 15669228 => Updated with Vin: 1HGCD554XRA039214 ## Mail History Id: 30079585, Consumer Id: 1364081, Address Id: 15637074 => Updated with Vin: 2HKYF18446H559934 ## Mail History Id: 30079597, Consumer Id: 1368407, Address Id: 15634930 => Updated with Vin: 1HGCF86692A011924 ## Mail History Id: 30079623, Consumer Id: 1363230, Address Id: 15635965 => Updated with Vin: 1HGCM66543A002311 ## Mail History Id: 30079587, Consumer Id: 1359854, Address Id: 15632471 => Updated with Vin: 1HGCM66584A034227 ## Mail History Id: 30079607, Consumer Id: 1363698, Address Id: 9051237 => Updated with Vin: 5FNRL387X6B444434 ## Mail History Id: 30079603, Consumer Id: 1364237, Address Id: 15637172 => Updated with Vin: 5FNRL38817B006105 ## Mail History Id: 30079599, Consumer Id: 1365474, Address Id: 15638540 => Updated with Vin: 1HGCM66827A005983 ## Mail History Id: 30079619, Consumer Id: 1366402, Address Id: 15639255 => Updated with Vin: JHMFA36227S023326 ## Mail History Id: 30079601, Consumer Id: 1372000, Address Id: 15639629 => Updated with Vin: 1HGCP26758A008174 ## Mail History Id: 30079589, Consumer Id: 1367183, Address Id: 15639932 => Updated with Vin: 1HGCP36758A011226 ## Mail History Id: 30079617, Consumer Id: 1367139, Address Id: 15639904 => Updated with Vin: 1HGCM56825A022158 ## Total mail_history records updated with vin numbers: 12 out of 15 ============================================================ ====== Tracking Id: 1166 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-12 10:43:54') AND us2_order_type_id = 3 ## Order found: 1495 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1495 AND product_id = 140 ## Job Group Found: '489' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('489') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408004') AND customer_id = 3230 ## Mailing found: '12849' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1167 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-12 11:14:27') AND us2_order_type_id = 3 ## Order found: 1502 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1502 AND product_id = 112 ## Job Group Found: '487' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('487') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408002') AND customer_id = 3486 ## Mailing found: '12838' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079999, Consumer Id: 476666, Address Id: 3850990 => Updated with Vin: 1G1YY32G3Y5116372 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 1168 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-12 11:16:59') AND us2_order_type_id = 3 ## Order found: 1503 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1503 AND product_id = 144 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3705 ## Mailing found: '12829' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079576, Consumer Id: 974907, Address Id: 14843483 => Updated with Vin: 2G1WF52E849268653 ## Mail History Id: 30079638, Consumer Id: 963900, Address Id: 14836536 => Updated with Vin: 1GCHC23D26F196548 ## Mail History Id: 30079592, Consumer Id: 972763, Address Id: 14843137 => Updated with Vin: 1GKER33768J248298 ## Mail History Id: 30079640, Consumer Id: 972934, Address Id: 14836584 => Updated with Vin: 1GTEC19C18Z186087 ## Mail History Id: 30079646, Consumer Id: 960243, Address Id: 14831379 => Updated with Vin: 3G7DA03E14S505368 ## Mail History Id: 30079632, Consumer Id: 972943, Address Id: 9865488 => Updated with Vin: 2CKDL33F686077722 ## Mail History Id: 30079580, Consumer Id: 972945, Address Id: 14843260 => Updated with Vin: 1GNDV23W38D133135 ## Mail History Id: 30079915, Consumer Id: 972948, Address Id: 9226814 => Updated with Vin: 1G1ZH57BX8F255003 ## Mail History Id: 30079917, Consumer Id: 972950, Address Id: 14835320 => Updated with Vin: 1G1ZG57B48F215566 ## Mail History Id: 30079544, Consumer Id: 972951, Address Id: 14835503 => Updated with Vin: 1G1AL58F787199237 ## Mail History Id: 30079562, Consumer Id: 972952, Address Id: 11386737 => Updated with Vin: 1FMRU17L5WLA64684 ## Mail History Id: 30079574, Consumer Id: 960942, Address Id: 14831632 => Updated with Vin: 2GCEK19T8Y1306415 ## Mail History Id: 30079550, Consumer Id: 980912, Address Id: 14831188 => Updated with Vin: 3GCEC13J68G259770 ## Mail History Id: 30079550, Consumer Id: 980211, Address Id: 14831188 => Updated with Vin: CE141B64894100000 ## Mail History Id: 30079598, Consumer Id: 980895, Address Id: 11387914 => Updated with Vin: 1GNEC13Z14R231771 ## Mail History Id: 30079586, Consumer Id: 980944, Address Id: 14846857 => Updated with Vin: 1GKEC13Z03R143354 ## Mail History Id: 30079604, Consumer Id: 975553, Address Id: 14843897 => Updated with Vin: 1GNEC13T5YJ146240 ## Mail History Id: 30079624, Consumer Id: 966996, Address Id: 14838908 => Updated with Vin: 2GCEC13Z071169060 ## Total mail_history records updated with vin numbers: 18 out of 21 ============================================================ ====== Tracking Id: 1169 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-12 11:17:11') AND us2_order_type_id = 3 ## Order found: 1503 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1503 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1170 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-12 11:17:26') AND us2_order_type_id = 3 ## Order found: 1503 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1503 AND product_id = 112 ## Job Group Found: '487' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('487') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408002') AND customer_id = 3705 ## Mailing found: '12839' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30080021, Consumer Id: 962218, Address Id: 14835132 => Updated with Vin: 1GNDV23E55D136105 ## Mail History Id: 30080023, Consumer Id: 960922, Address Id: 14831616 => Updated with Vin: 1GTHK29122E123468 ## Mail History Id: 30080025, Consumer Id: 975271, Address Id: 14843724 => Updated with Vin: 1GCJC33113F171262 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1171 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-12 11:17:57') AND us2_order_type_id = 3 ## Order found: 1504 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1504 AND product_id = 112 ## Job Group Found: '487' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('487') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408002') AND customer_id = 3808 ## Mailing found: '12840' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30080039, Consumer Id: 1170950, Address Id: 15029182 => Updated with Vin: 1GNEK13RXTJ420970 ## Mail History Id: 30080041, Consumer Id: 1170842, Address Id: 15029084 => Updated with Vin: 1GNDT13W7Y2344821 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1172 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-12 11:18:02') AND us2_order_type_id = 3 ## Order found: 1505 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1505 AND product_id = 143 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3721 ## Mailing found: '12830' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079633, Consumer Id: 1008139, Address Id: 6667868 => Updated with Vin: JM1NA3513P0402644 ## Mail History Id: 30079629, Consumer Id: 1009280, Address Id: 6667529 => Updated with Vin: 1YVFP80D835M55879 ## Mail History Id: 30079635, Consumer Id: 1017604, Address Id: 14933351 => Updated with Vin: 1GCCS19X338104582 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1173 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-12 11:44:13') AND us2_order_type_id = 3 ## Order found: 1506 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1506 AND product_id = 142 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3357 ## Mailing found: '12824' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079890, Consumer Id: 194387, Address Id: 404323 => Updated with Vin: JM1NB353310209321 ## Mail History Id: 30079918, Consumer Id: 938739, Address Id: 11960762 => Updated with Vin: 19UYA42611A025205 ## Mail History Id: 30079910, Consumer Id: 187700, Address Id: 399018 => Updated with Vin: JM3LW28A530337523 ## Mail History Id: 30079900, Consumer Id: 193110, Address Id: 403065 => Updated with Vin: 1FMFU17L34LB28589 ## Mail History Id: 30079908, Consumer Id: 197150, Address Id: 406479 => Updated with Vin: 1YVHP82DX55M75186 ## Mail History Id: 30079914, Consumer Id: 938738, Address Id: 11960761 => Updated with Vin: 1GNEC13Z16R165726 ## Mail History Id: 30079914, Consumer Id: 938738, Address Id: 11960761 => Updated with Vin: 1GNEC13Z16R165726 ## Mail History Id: 30079864, Consumer Id: 496212, Address Id: 9830827 => Updated with Vin: 1FMEU73E17UB55309 ## Mail History Id: 30079850, Consumer Id: 154044, Address Id: 396234 => Updated with Vin: JM3TB38V080139041 ## Mail History Id: 30079898, Consumer Id: 938743, Address Id: 11960764 => Updated with Vin: 1FTSW21P96EB29025 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 1174 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-12 11:44:18') AND us2_order_type_id = 3 ## Order found: 1506 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1506 AND product_id = 112 ## Job Group Found: '487' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('487') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408002') AND customer_id = 3357 ## Mailing found: '12835' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1175 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-12 12:16:37') AND us2_order_type_id = 3 ## Order found: 1507 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1507 AND product_id = 112 ## Job Group Found: '487' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('487') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408002') AND customer_id = 3427 ## Mailing found: '12836' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079948, Consumer Id: 516435, Address Id: 9847189 => Updated with Vin: 1HGCG5655WA118848 ## Mail History Id: 30079950, Consumer Id: 498359, Address Id: 9832369 => Updated with Vin: 5FNRL18073B045015 ## Mail History Id: 30079952, Consumer Id: 494510, Address Id: 9829573 => Updated with Vin: JHMCB7574NC008113 ## Mail History Id: 30079954, Consumer Id: 498813, Address Id: 9832701 => Updated with Vin: 1HGCM56694A056126 ## Mail History Id: 30079956, Consumer Id: 516281, Address Id: 9836175 => Updated with Vin: 1HGCM56836A154184 ## Mail History Id: 30079958, Consumer Id: 493296, Address Id: 9828690 => Updated with Vin: SHSRD78833U142291 ## Mail History Id: 30079960, Consumer Id: 507374, Address Id: 9841649 => Updated with Vin: SHSRD78854U223889 ## Mail History Id: 30079962, Consumer Id: 514883, Address Id: 9846273 => Updated with Vin: JNKCV51E73M317677 ## Mail History Id: 30079964, Consumer Id: 503501, Address Id: 9839158 => Updated with Vin: 1HGCM56485A017592 ## Mail History Id: 30079966, Consumer Id: 490748, Address Id: 9826766 => Updated with Vin: 5FNRL18663B059704 ## Mail History Id: 30079968, Consumer Id: 493295, Address Id: 9828689 => Updated with Vin: SHSRD78893U112745 ## Mail History Id: 30079970, Consumer Id: 473936, Address Id: 9835348 => Updated with Vin: 5FNRL388X7B022190 ## Mail History Id: 30079972, Consumer Id: 482850, Address Id: 9837607 => Updated with Vin: 5FNRL38727B094427 ## Total mail_history records updated with vin numbers: 13 out of 14 ============================================================ ====== Tracking Id: 1176 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-12 12:16:49') AND us2_order_type_id = 3 ## Order found: 1507 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1507 AND product_id = 113 ## Job Group Found: '487' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('487') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408002') AND customer_id = 3427 ## Mailing found: '12836' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079992, Consumer Id: 516446, Address Id: 9847198 => Updated with Vin: SHSRD78555U324213 ## Mail History Id: 30079994, Consumer Id: 500328, Address Id: 9834925 => Updated with Vin: 1HGES16544L018869 ## Mail History Id: 30079996, Consumer Id: 503602, Address Id: 324481 => Updated with Vin: 5FNYF18485B000349 ## Mail History Id: 30079998, Consumer Id: 498957, Address Id: 9832803 => Updated with Vin: SHSRD78854U218644 ## Mail History Id: 30080000, Consumer Id: 513923, Address Id: 326907 => Updated with Vin: 1HGCM66545A016227 ## Mail History Id: 30080002, Consumer Id: 497407, Address Id: 7554760 => Updated with Vin: 1HGCG56712A050026 ## Mail History Id: 30080004, Consumer Id: 490970, Address Id: 9826929 => Updated with Vin: 1HGCM82683A027884 ## Mail History Id: 30080006, Consumer Id: 472897, Address Id: 9834469 => Updated with Vin: 5FNRL38686B448702 ## Mail History Id: 30080008, Consumer Id: 473237, Address Id: 9834640 => Updated with Vin: 1HGCM665X6A042929 ## Mail History Id: 30080010, Consumer Id: 482486, Address Id: 8539746 => Updated with Vin: 2HJYK16587H546391 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 1177 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-12 12:16:54') AND us2_order_type_id = 3 ## Order found: 1508 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1508 AND product_id = 143 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3471 ## Mailing found: '12827' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079654, Consumer Id: 799552, Address Id: 7878065 => Updated with Vin: 1G6KD54Y72U266978 ## Mail History Id: 30079826, Consumer Id: 798454, Address Id: 11869873 => Updated with Vin: 1G4HR54K22U200032 ## Mail History Id: 30079718, Consumer Id: 817186, Address Id: 7416819 => Updated with Vin: 1G6DC67A550233327 ## Mail History Id: 30079674, Consumer Id: 806967, Address Id: 11876248 => Updated with Vin: 1GYFK668X8R227170 ## Mail History Id: 30079810, Consumer Id: 803394, Address Id: 11872393 => Updated with Vin: 1G6KD54Y5WU800131 ## Mail History Id: 30079828, Consumer Id: 800542, Address Id: 11870949 => Updated with Vin: 1G6VS3389NU125570 ## Mail History Id: 30079742, Consumer Id: 800662, Address Id: 10215573 => Updated with Vin: 1G6KE54Y9WU700515 ## Mail History Id: 30079764, Consumer Id: 760370, Address Id: 10215822 => Updated with Vin: 1G3NL52E44C115921 ## Mail History Id: 30079746, Consumer Id: 799925, Address Id: 10215601 => Updated with Vin: 1G3WX52H41F233626 ## Mail History Id: 30079754, Consumer Id: 801046, Address Id: 10215949 => Updated with Vin: 1G6EL12Y5TU604245 ## Mail History Id: 30079776, Consumer Id: 760508, Address Id: 10217257 => Updated with Vin: 1G3NF52E4YC417626 ## Mail History Id: 30079794, Consumer Id: 822413, Address Id: 10218722 => Updated with Vin: 1G6KY53B3NU813296 ## Mail History Id: 30079666, Consumer Id: 798397, Address Id: 7878476 => Updated with Vin: 1G6KE57Y71U267913 ## Mail History Id: 30079750, Consumer Id: 799806, Address Id: 10215684 => Updated with Vin: 1GYEK63N32R232787 ## Mail History Id: 30079708, Consumer Id: 801203, Address Id: 7416184 => Updated with Vin: 1G6KE57YX2U304857 ## Mail History Id: 30079662, Consumer Id: 807496, Address Id: 10211439 => Updated with Vin: 1G6EL12YXTU616455 ## Mail History Id: 30079804, Consumer Id: 798051, Address Id: 10220639 => Updated with Vin: 1G6KY5492XU909242 ## Mail History Id: 30079720, Consumer Id: 821418, Address Id: 7416879 => Updated with Vin: 1GYFK63817R198354 ## Mail History Id: 30079660, Consumer Id: 799857, Address Id: 7878121 => Updated with Vin: W06VR54R21R028818 ## Mail History Id: 30079748, Consumer Id: 772814, Address Id: 11873904 => Updated with Vin: 3GYFK66N95G227677 ## Mail History Id: 30079672, Consumer Id: 772829, Address Id: 11873915 => Updated with Vin: 1G6DP577570125487 ## Mail History Id: 30079836, Consumer Id: 822978, Address Id: 11876789 => Updated with Vin: 1GYEE637150217870 ## Mail History Id: 30079706, Consumer Id: 817451, Address Id: 7416037 => Updated with Vin: 1G6EL12Y8YU138267 ## Mail History Id: 30079822, Consumer Id: 760439, Address Id: 11851041 => Updated with Vin: 1G6KD54YX1U273955 ## Mail History Id: 30079682, Consumer Id: 817125, Address Id: 7879054 => Updated with Vin: 1G6KD54Y32U257145 ## Mail History Id: 30079780, Consumer Id: 822615, Address Id: 10562678 => Updated with Vin: 1G6KD57Y14U245378 ## Mail History Id: 30079800, Consumer Id: 760503, Address Id: 11851065 => Updated with Vin: 1G6KD54Y21U217511 ## Mail History Id: 30079686, Consumer Id: 806979, Address Id: 11876281 => Updated with Vin: 1G6DT57V880177353 ## Mail History Id: 30079686, Consumer Id: 806979, Address Id: 11876281 => Updated with Vin: 1G6DT57V880177353 ## Mail History Id: 30079700, Consumer Id: 823237, Address Id: 11876323 => Updated with Vin: 1GYFK63808R139202 ## Mail History Id: 30079778, Consumer Id: 823243, Address Id: 11876545 => Updated with Vin: 1GYFK63827R430427 ## Mail History Id: 30079812, Consumer Id: 760272, Address Id: 11850972 => Updated with Vin: 1G6KD57906U118665 ## Mail History Id: 30079648, Consumer Id: 806298, Address Id: 10210049 => Updated with Vin: 1G6KE57Y74U258178 ## Mail History Id: 30079688, Consumer Id: 806970, Address Id: 11876294 => Updated with Vin: 1G6DT57V880178163 ## Mail History Id: 30079842, Consumer Id: 760411, Address Id: 11851026 => Updated with Vin: 2G1WH55KXY9322178 ## Mail History Id: 30079656, Consumer Id: 799259, Address Id: 7878070 => Updated with Vin: 1GYEK63N12R109456 ## Total mail_history records updated with vin numbers: 36 out of 47 ============================================================ ====== Tracking Id: 1178 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-12 12:17:05') AND us2_order_type_id = 3 ## Order found: 1508 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1508 AND product_id = 112 ## Job Group Found: '487' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('487') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408002') AND customer_id = 3471 ## Mailing found: '12837' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079939, Consumer Id: 798137, Address Id: 10219289 => Updated with Vin: 1GYEK63N52R271655 ## Mail History Id: 30079941, Consumer Id: 800823, Address Id: 11871059 => Updated with Vin: 1G6KS54Y41U124429 ## Mail History Id: 30079943, Consumer Id: 817235, Address Id: 10562665 => Updated with Vin: 3GYFK66N23G261585 ## Mail History Id: 30079945, Consumer Id: 805267, Address Id: 6524998 => Updated with Vin: 1GYEK63N24R183925 ## Mail History Id: 30079947, Consumer Id: 816868, Address Id: 10219171 => Updated with Vin: 1GYEK63N85R175796 ## Mail History Id: 30079949, Consumer Id: 798466, Address Id: 4236224 => Updated with Vin: 3GYEK63N83G163337 ## Mail History Id: 30079951, Consumer Id: 803641, Address Id: 11872501 => Updated with Vin: 1GYEK13R1XR416493 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 1179 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3755 AND DATE(cart_created_date) = DATE('2008-08-12 13:51:42') AND us2_order_type_id = 3 ## Order found: 1509 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1509 AND product_id = 54 ## Job Group Found: '484' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('484') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda073108006a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda073108006a') AND customer_id = 3755 ## Mailing found: '12720' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 1180 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-12 14:13:54') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 1181 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-13 09:18:07') AND us2_order_type_id = 3 ## Order found: 1528 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1528 AND product_id = 142 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3768 ## Mailing found: '12831' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079575, Consumer Id: 1042627, Address Id: 8827510 => Updated with Vin: 1GYEK63N24R131159 ## Mail History Id: 30079579, Consumer Id: 1108573, Address Id: 14982260 => Updated with Vin: 1GYEE637340175278 ## Total mail_history records updated with vin numbers: 2 out of 7 ============================================================ ====== Tracking Id: 1182 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-13 10:16:23') AND us2_order_type_id = 3 ## Order found: 1529 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1529 AND product_id = 143 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3416 ## Mailing found: '12825' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079739, Consumer Id: 677129, Address Id: 6870933 => Updated with Vin: 1G6DP567150104568 ## Mail History Id: 30079765, Consumer Id: 627125, Address Id: 1969100 => Updated with Vin: 1G6KF5791YU350530 ## Mail History Id: 30079541, Consumer Id: 625665, Address Id: 11766072 => Updated with Vin: 1G6KD54Y35U159463 ## Mail History Id: 30079637, Consumer Id: 627090, Address Id: 11764700 => Updated with Vin: 1NXBR32E33Z152341 ## Mail History Id: 30079781, Consumer Id: 938007, Address Id: 11960257 => Updated with Vin: 2G1WC581869132054 ## Mail History Id: 30079783, Consumer Id: 938006, Address Id: 11960256 => Updated with Vin: 1G6KD57Y26U208536 ## Mail History Id: 30079745, Consumer Id: 938329, Address Id: 1962523 => Updated with Vin: 1G6KD54Y84U211457 ## Mail History Id: 30079779, Consumer Id: 682530, Address Id: 11795113 => Updated with Vin: 1G6ET1294VU618522 ## Mail History Id: 30079733, Consumer Id: 938802, Address Id: 11796113 => Updated with Vin: 1G6KD54YX5U198017 ## Mail History Id: 30079769, Consumer Id: 682085, Address Id: 1969324 => Updated with Vin: 1G6KY5490XU933474 ## Mail History Id: 30079743, Consumer Id: 685864, Address Id: 1962163 => Updated with Vin: 1G6KD54YX4U175433 ## Mail History Id: 30079737, Consumer Id: 687226, Address Id: 1961244 => Updated with Vin: 1G6KD54Y73U166106 ## Mail History Id: 30079749, Consumer Id: 938005, Address Id: 10933827 => Updated with Vin: 1G6KS54Y83U243815 ## Mail History Id: 30079757, Consumer Id: 688417, Address Id: 11796855 => Updated with Vin: 1G6KD54Y75U103705 ## Mail History Id: 30079767, Consumer Id: 683823, Address Id: 1969120 => Updated with Vin: 1G6KE54Y42U299322 ## Mail History Id: 30079773, Consumer Id: 683559, Address Id: 1969477 => Updated with Vin: 1G6KS54Y02U245296 ## Mail History Id: 30079763, Consumer Id: 686787, Address Id: 1969052 => Updated with Vin: 1G6DM577840146953 ## Mail History Id: 30079751, Consumer Id: 688465, Address Id: 8331532 => Updated with Vin: 1G6KD54YX5U167740 ## Mail History Id: 30079753, Consumer Id: 938325, Address Id: 1965842 => Updated with Vin: 5GTEN13E788171452 ## Mail History Id: 30079761, Consumer Id: 688665, Address Id: 1969021 => Updated with Vin: 1G6KS54Y82U118974 ## Mail History Id: 30079775, Consumer Id: 626038, Address Id: 6894499 => Updated with Vin: 1G6DP567850155064 ## Mail History Id: 30079735, Consumer Id: 625738, Address Id: 4757657 => Updated with Vin: 5GTEN13E888144275 ## Mail History Id: 30079747, Consumer Id: 691378, Address Id: 1962633 => Updated with Vin: 1G6KD54Y84U153267 ## Mail History Id: 30079741, Consumer Id: 692131, Address Id: 10933674 => Updated with Vin: 1G6DW677160151267 ## Mail History Id: 30079771, Consumer Id: 625331, Address Id: 1969351 => Updated with Vin: 1G6DW677150170383 ## Total mail_history records updated with vin numbers: 25 out of 28 ============================================================ ====== Tracking Id: 1183 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-13 10:19:25') AND us2_order_type_id = 3 ## Order found: 1530 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1530 AND product_id = 142 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3697 ## Mailing found: '12828' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079567, Consumer Id: 1048775, Address Id: 2849215 => Updated with Vin: 1GKFK16Z16J115164 ## Mail History Id: 30079577, Consumer Id: 1046375, Address Id: 5986964 => Updated with Vin: 1GYEK63N25R155656 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1184 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-13 10:20:09') AND us2_order_type_id = 3 ## Order found: 1528 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1528 AND product_id = 140 ## Job Group Found: '489' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('489') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408004') AND customer_id = 3768 ## Mailing found: '12850' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30080064, Consumer Id: 1109130, Address Id: 14982445 => Updated with Vin: 1GYEE637750226962 ## Mail History Id: 30080061, Consumer Id: 1107953, Address Id: 3238190 => Updated with Vin: 1G3WS52H12F174275 ## Mail History Id: 30080061, Consumer Id: 1107953, Address Id: 3238190 => Updated with Vin: 1G3WS52H12F174275 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1185 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-13 10:20:52') AND us2_order_type_id = 3 ## Order found: 1531 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1531 AND product_id = 143 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3815 ## Mailing found: '12833' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079615, Consumer Id: 1367699, Address Id: 15634097 => Updated with Vin: JHMRA1877SC024520 ## Mail History Id: 30079553, Consumer Id: 1366052, Address Id: 15639045 => Updated with Vin: 1HGCM56767A074516 ## Mail History Id: 30079609, Consumer Id: 1364637, Address Id: 15637626 => Updated with Vin: 1HGFA16537L030829 ## Mail History Id: 30079545, Consumer Id: 1364943, Address Id: 15638028 => Updated with Vin: JHMFA36287S006188 ## Mail History Id: 30079549, Consumer Id: 1378026, Address Id: 15671141 => Updated with Vin: 1HGFA16526L130919 ## Mail History Id: 30079551, Consumer Id: 1365224, Address Id: 15638204 => Updated with Vin: 1HGCM66574A072323 ## Mail History Id: 30079611, Consumer Id: 1365568, Address Id: 9402736 => Updated with Vin: 1HGFA165X7L095175 ## Mail History Id: 30079547, Consumer Id: 1366059, Address Id: 15639049 => Updated with Vin: 1HGCM56487A189527 ## Mail History Id: 30079593, Consumer Id: 1378833, Address Id: 15671568 => Updated with Vin: JHMCM56633C050421 ## Mail History Id: 30079591, Consumer Id: 1366888, Address Id: 15639674 => Updated with Vin: 5J6RE48568L000301 ## Total mail_history records updated with vin numbers: 10 out of 13 ============================================================ ====== Tracking Id: 1186 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-13 10:44:06') AND us2_order_type_id = 3 ## Order found: 1532 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1532 AND product_id = 140 ## Job Group Found: '489' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('489') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408004') AND customer_id = 3230 ## Mailing found: '12849' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1187 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-13 11:14:04') AND us2_order_type_id = 3 ## Order found: 1534 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1534 AND product_id = 112 ## Job Group Found: '487' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('487') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408002') AND customer_id = 3486 ## Mailing found: '12838' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079953, Consumer Id: 464896, Address Id: 4375467 => Updated with Vin: 1GCHC23U64F241892 ## Mail History Id: 30079955, Consumer Id: 465534, Address Id: 1034933 => Updated with Vin: 2GCEK13T751113421 ## Mail History Id: 30079957, Consumer Id: 480102, Address Id: 4378290 => Updated with Vin: 1GNFK16T53J193425 ## Mail History Id: 30079959, Consumer Id: 475949, Address Id: 9823656 => Updated with Vin: 1GCHK23U34F194100 ## Mail History Id: 30079961, Consumer Id: 468258, Address Id: 9821961 => Updated with Vin: 1G1NE52J816265718 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 1188 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-13 11:15:56') AND us2_order_type_id = 3 ## Order found: 1535 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1535 AND product_id = 144 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3705 ## Mailing found: '12829' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079568, Consumer Id: 972961, Address Id: 14837646 => Updated with Vin: 1G1AL58F887292204 ## Mail History Id: 30079602, Consumer Id: 972962, Address Id: 14843268 => Updated with Vin: 3GNEC12068G281025 ## Mail History Id: 30079931, Consumer Id: 972972, Address Id: 14843272 => Updated with Vin: 1GCEC14V03Z182324 ## Mail History Id: 30079927, Consumer Id: 972965, Address Id: 11041570 => Updated with Vin: 1GNFC13008R256186 ## Total mail_history records updated with vin numbers: 4 out of 8 ============================================================ ====== Tracking Id: 1189 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-13 11:16:04') AND us2_order_type_id = 3 ## Order found: 1535 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1535 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1190 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-13 11:16:32') AND us2_order_type_id = 3 ## Order found: 1536 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1536 AND product_id = 143 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3808 ## Mailing found: '12832' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079893, Consumer Id: 1172050, Address Id: 15030154 => Updated with Vin: 3GCEC14V76G141323 ## Mail History Id: 30079883, Consumer Id: 1170829, Address Id: 15029073 => Updated with Vin: 1GNEC13V03R274753 ## Mail History Id: 30079875, Consumer Id: 1172048, Address Id: 15030152 => Updated with Vin: 1GNFC16027J164926 ## Mail History Id: 30079865, Consumer Id: 1171355, Address Id: 15029550 => Updated with Vin: 1GCEC14X38Z169706 ## Mail History Id: 30079889, Consumer Id: 1171977, Address Id: 15030093 => Updated with Vin: 2GCEC19M0T1136291 ## Mail History Id: 30079905, Consumer Id: 1171980, Address Id: 15030096 => Updated with Vin: 2G1FP22K7Y2104228 ## Mail History Id: 30079901, Consumer Id: 1171214, Address Id: 15029425 => Updated with Vin: 2GCEC19T941231473 ## Mail History Id: 30079907, Consumer Id: 1171974, Address Id: 15030090 => Updated with Vin: 1GCHC29U01E337770 ## Mail History Id: 30079899, Consumer Id: 1172040, Address Id: 15030147 => Updated with Vin: 1GNEC13T55R226098 ## Mail History Id: 30079873, Consumer Id: 1172042, Address Id: 15030118 => Updated with Vin: 1G1ND52J23M715221 ## Mail History Id: 30079869, Consumer Id: 1172134, Address Id: 15030225 => Updated with Vin: 1GNDX03E03D138260 ## Mail History Id: 30079895, Consumer Id: 1171895, Address Id: 15030018 => Updated with Vin: 2CNDL037986294546 ## Mail History Id: 30079891, Consumer Id: 1171407, Address Id: 15029597 => Updated with Vin: 1GNDS13S642131854 ## Mail History Id: 30079867, Consumer Id: 1171587, Address Id: 15029754 => Updated with Vin: 1GCHK232X4F259247 ## Total mail_history records updated with vin numbers: 14 out of 18 ============================================================ ====== Tracking Id: 1191 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-13 11:16:34') AND us2_order_type_id = 3 ## Order found: 1536 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1536 AND product_id = 112 ## Job Group Found: '487' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('487') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408002') AND customer_id = 3808 ## Mailing found: '12840' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079963, Consumer Id: 1170951, Address Id: 15029183 => Updated with Vin: J8DC4B16277003451 ## Mail History Id: 30079965, Consumer Id: 1170940, Address Id: 15029173 => Updated with Vin: 1G1NE52J1Y6137928 ## Mail History Id: 30079967, Consumer Id: 1170937, Address Id: 15029170 => Updated with Vin: 1GCHC23122F228463 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 1192 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-13 11:44:00') AND us2_order_type_id = 3 ## Order found: 1537 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1537 AND product_id = 142 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3357 ## Mailing found: '12824' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079900, Consumer Id: 193110, Address Id: 403065 => Updated with Vin: 1FMFU17L34LB28589 ## Mail History Id: 30079886, Consumer Id: 187194, Address Id: 397984 => Updated with Vin: 1FMDU63E54ZB38906 ## Mail History Id: 30079862, Consumer Id: 189801, Address Id: 400522 => Updated with Vin: JM1BK323141113029 ## Mail History Id: 30079852, Consumer Id: 939282, Address Id: 11961113 => Updated with Vin: 1HGCG66852A157112 ## Mail History Id: 30079870, Consumer Id: 155790, Address Id: 397824 => Updated with Vin: 1FAFP404X2F202012 ## Mail History Id: 30079872, Consumer Id: 939288, Address Id: 11961116 => Updated with Vin: JTEGH20V930100841 ## Mail History Id: 30079916, Consumer Id: 151672, Address Id: 394058 => Updated with Vin: 1G1JF52F147225535 ## Mail History Id: 30079892, Consumer Id: 153309, Address Id: 395564 => Updated with Vin: 1FTSW21P46ED95469 ## Mail History Id: 30079874, Consumer Id: 153436, Address Id: 395685 => Updated with Vin: JM1BK144371602658 ## Mail History Id: 30079906, Consumer Id: 154124, Address Id: 396310 => Updated with Vin: JM1BK32G871694732 ## Mail History Id: 30079926, Consumer Id: 154130, Address Id: 396315 => Updated with Vin: 1FTPW14547KC27666 ## Mail History Id: 30079922, Consumer Id: 188416, Address Id: 400207 => Updated with Vin: 1FTRW08L61KA11028 ## Mail History Id: 30079896, Consumer Id: 190790, Address Id: 400964 => Updated with Vin: 1YVFP80C245N14529 ## Mail History Id: 30079854, Consumer Id: 939280, Address Id: 11961111 => Updated with Vin: JNKCP01PXPT404712 ## Mail History Id: 30079882, Consumer Id: 910832, Address Id: 876347 => Updated with Vin: 1FAFP56SXYA252782 ## Mail History Id: 30079860, Consumer Id: 435942, Address Id: 9800274 => Updated with Vin: 1HGEJ8146YL082850 ## Total mail_history records updated with vin numbers: 16 out of 27 ============================================================ ====== Tracking Id: 1193 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-13 12:15:20') AND us2_order_type_id = 3 ## Order found: 1538 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1538 AND product_id = 113 ## Job Group Found: '487' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('487') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408002') AND customer_id = 3427 ## Mailing found: '12836' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079969, Consumer Id: 498902, Address Id: 9832763 => Updated with Vin: 1HGCM56894A054717 ## Mail History Id: 30079971, Consumer Id: 499906, Address Id: 9834181 => Updated with Vin: 1HGCM56304A078067 ## Mail History Id: 30079973, Consumer Id: 503073, Address Id: 326696 => Updated with Vin: 2HGES16344H641825 ## Mail History Id: 30079975, Consumer Id: 510340, Address Id: 324926 => Updated with Vin: 5FNRL38296B000997 ## Mail History Id: 30079977, Consumer Id: 504712, Address Id: 8195400 => Updated with Vin: 5FNRL38435B034952 ## Mail History Id: 30079979, Consumer Id: 501561, Address Id: 9836601 => Updated with Vin: 1HGCM66504A091974 ## Mail History Id: 30079981, Consumer Id: 499404, Address Id: 327118 => Updated with Vin: 5FNRL18053B091622 ## Mail History Id: 30079983, Consumer Id: 507140, Address Id: 9841499 => Updated with Vin: 1HGCM56663A125076 ## Mail History Id: 30079985, Consumer Id: 502900, Address Id: 9838644 => Updated with Vin: 2HGES16525H501288 ## Mail History Id: 30079987, Consumer Id: 505995, Address Id: 9840770 => Updated with Vin: SHSRD78985U322300 ## Mail History Id: 30079989, Consumer Id: 495989, Address Id: 9830668 => Updated with Vin: 5FNRL18043B144522 ## Mail History Id: 30079991, Consumer Id: 503262, Address Id: 9838932 => Updated with Vin: 5FNRL38825B012346 ## Mail History Id: 30079993, Consumer Id: 490844, Address Id: 9826834 => Updated with Vin: 1HGCG6659XA023880 ## Mail History Id: 30079995, Consumer Id: 472896, Address Id: 9834468 => Updated with Vin: 1HGCM82786A012556 ## Mail History Id: 30079997, Consumer Id: 473969, Address Id: 9834523 => Updated with Vin: JHLRD68826C014548 ## Total mail_history records updated with vin numbers: 15 out of 15 ============================================================ ====== Tracking Id: 1194 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-13 12:15:31') AND us2_order_type_id = 3 ## Order found: 1539 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1539 AND product_id = 143 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3471 ## Mailing found: '12827' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079722, Consumer Id: 798127, Address Id: 7416916 => Updated with Vin: 1G6ET1297SU616923 ## Mail History Id: 30079714, Consumer Id: 798526, Address Id: 10214264 => Updated with Vin: 1G6KS6988FE805936 ## Mail History Id: 30079726, Consumer Id: 821160, Address Id: 7416956 => Updated with Vin: 1G6DP567350113773 ## Mail History Id: 30079694, Consumer Id: 799502, Address Id: 10213579 => Updated with Vin: 1G6VS3390PU127901 ## Mail History Id: 30079788, Consumer Id: 800515, Address Id: 10218178 => Updated with Vin: 1G6KD54Y3XU731148 ## Mail History Id: 30079738, Consumer Id: 807905, Address Id: 10215517 => Updated with Vin: 3GYEK63N12G233033 ## Mail History Id: 30079658, Consumer Id: 798453, Address Id: 7878095 => Updated with Vin: 1G6KE54Y31U117320 ## Mail History Id: 30079834, Consumer Id: 802169, Address Id: 11871843 => Updated with Vin: 1G6KY5492WU908994 ## Mail History Id: 30079650, Consumer Id: 800859, Address Id: 7878035 => Updated with Vin: 1G6EL12Y3YU137799 ## Mail History Id: 30079716, Consumer Id: 823285, Address Id: 10214534 => Updated with Vin: 1G6DC67A670161539 ## Mail History Id: 30079840, Consumer Id: 823406, Address Id: 11870745 => Updated with Vin: 1G6ET1298YU143817 ## Mail History Id: 30079740, Consumer Id: 805436, Address Id: 10215537 => Updated with Vin: 1G3GR62C7W4114366 ## Mail History Id: 30079802, Consumer Id: 798099, Address Id: 10220387 => Updated with Vin: 1G6KD54Y21U270015 ## Mail History Id: 30079816, Consumer Id: 799809, Address Id: 11870550 => Updated with Vin: 1G6DM57N030134115 ## Mail History Id: 30079734, Consumer Id: 798918, Address Id: 10215428 => Updated with Vin: 1G6KF54991U118042 ## Mail History Id: 30079732, Consumer Id: 760432, Address Id: 10561310 => Updated with Vin: 1GYEK63N63R301148 ## Mail History Id: 30079792, Consumer Id: 806829, Address Id: 10218692 => Updated with Vin: 1G6KE54Y54U150582 ## Mail History Id: 30079798, Consumer Id: 804655, Address Id: 10219172 => Updated with Vin: 1GYEE637640150424 ## Mail History Id: 30079796, Consumer Id: 807435, Address Id: 10219118 => Updated with Vin: 1G3NF52E7XC355153 ## Mail History Id: 30079838, Consumer Id: 816319, Address Id: 11876810 => Updated with Vin: 1GYEK63N15R194108 ## Mail History Id: 30079728, Consumer Id: 817803, Address Id: 10214833 => Updated with Vin: 1G6KF57962U249975 ## Mail History Id: 30079702, Consumer Id: 818166, Address Id: 7415974 => Updated with Vin: 1G3NL52E0YC376145 ## Mail History Id: 30079766, Consumer Id: 821205, Address Id: 10216629 => Updated with Vin: 3GYFK66N04G265684 ## Mail History Id: 30079844, Consumer Id: 822800, Address Id: 11878550 => Updated with Vin: 1G6KD57Y07U124961 ## Mail History Id: 30079790, Consumer Id: 822640, Address Id: 10218651 => Updated with Vin: 1G6DM57N230104078 ## Mail History Id: 30079784, Consumer Id: 822103, Address Id: 10217881 => Updated with Vin: 1GYEK63N12R106413 ## Mail History Id: 30079832, Consumer Id: 822609, Address Id: 11869628 => Updated with Vin: 1G6KF57925U202883 ## Mail History Id: 30079744, Consumer Id: 822722, Address Id: 11876416 => Updated with Vin: 1GYFK66827R389227 ## Mail History Id: 30079698, Consumer Id: 806919, Address Id: 7415858 => Updated with Vin: 3GYFK66N15G173162 ## Mail History Id: 30079808, Consumer Id: 760434, Address Id: 11851039 => Updated with Vin: 1GYEK63N13R233339 ## Mail History Id: 30079736, Consumer Id: 807480, Address Id: 10561542 => Updated with Vin: 1G6KD52Y5TU238875 ## Mail History Id: 30079688, Consumer Id: 806970, Address Id: 11876294 => Updated with Vin: 1G6DT57V880178163 ## Mail History Id: 30079688, Consumer Id: 806970, Address Id: 11876294 => Updated with Vin: 1G6DT57V880178163 ## Total mail_history records updated with vin numbers: 33 out of 43 ============================================================ ====== Tracking Id: 1195 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-13 12:15:32') AND us2_order_type_id = 3 ## Order found: 1538 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1538 AND product_id = 112 ## Job Group Found: '487' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('487') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408002') AND customer_id = 3427 ## Mailing found: '12836' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30080001, Consumer Id: 519576, Address Id: 9843197 => Updated with Vin: JH4KB16525C015776 ## Mail History Id: 30080003, Consumer Id: 501387, Address Id: 9836269 => Updated with Vin: SHHEP33574U505744 ## Mail History Id: 30080005, Consumer Id: 501944, Address Id: 9837298 => Updated with Vin: 2HKYF18554H606572 ## Mail History Id: 30080007, Consumer Id: 493410, Address Id: 326030 => Updated with Vin: 2HKYF18683H502164 ## Mail History Id: 30080009, Consumer Id: 491505, Address Id: 327907 => Updated with Vin: JHLRD78442C017724 ## Mail History Id: 30080011, Consumer Id: 510178, Address Id: 9843455 => Updated with Vin: 1HGCM66823A076028 ## Mail History Id: 30080013, Consumer Id: 496572, Address Id: 9831086 => Updated with Vin: 1HGCD5630RA096172 ## Mail History Id: 30080015, Consumer Id: 471429, Address Id: 7554985 => Updated with Vin: JHMFA36256S008785 ## Mail History Id: 30080017, Consumer Id: 483924, Address Id: 9829236 => Updated with Vin: SHSRD78433U108493 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 1196 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-13 12:15:44') AND us2_order_type_id = 3 ## Order found: 1539 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1539 AND product_id = 112 ## Job Group Found: '487' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('487') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408002') AND customer_id = 3471 ## Mailing found: '12837' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30080019, Consumer Id: 802583, Address Id: 10216424 => Updated with Vin: 1G3WX52H0YF192339 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 1197 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-13 14:13:55') AND us2_order_type_id = 3 ## Order found: 1540 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1540 AND product_id = 143 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3418 ## Mailing found: '12826' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079691, Consumer Id: 610936, Address Id: 11755588 => Updated with Vin: 1G6KD57YX8U136214 ## Mail History Id: 30079723, Consumer Id: 1026786, Address Id: 11803424 => Updated with Vin: 1G6DW677750217268 ## Mail History Id: 30079711, Consumer Id: 675274, Address Id: 11786481 => Updated with Vin: 1G6KD57YX6U140986 ## Mail History Id: 30079675, Consumer Id: 664096, Address Id: 10326899 => Updated with Vin: 1G6DM57N730169203 ## Mail History Id: 30079731, Consumer Id: 664376, Address Id: 11783659 => Updated with Vin: 1G6DM57N930168134 ## Mail History Id: 30079643, Consumer Id: 662888, Address Id: 11755543 => Updated with Vin: 1GYFK63857R171402 ## Mail History Id: 30079689, Consumer Id: 677415, Address Id: 11792429 => Updated with Vin: 1G6DM57T560101193 ## Mail History Id: 30079699, Consumer Id: 610940, Address Id: 6914991 => Updated with Vin: 1G6DP577270141548 ## Mail History Id: 30079709, Consumer Id: 610929, Address Id: 11755584 => Updated with Vin: 1G6DW677360147849 ## Mail History Id: 30079681, Consumer Id: 610875, Address Id: 11755538 => Updated with Vin: 1G6KF57935U122654 ## Mail History Id: 30079679, Consumer Id: 612312, Address Id: 11756019 => Updated with Vin: 1G6KS54Y74U122632 ## Mail History Id: 30079673, Consumer Id: 664043, Address Id: 11783401 => Updated with Vin: 1GYEK63R5YR195382 ## Mail History Id: 30079655, Consumer Id: 675313, Address Id: 6930390 => Updated with Vin: 1G6KD54Y85U210634 ## Mail History Id: 30079649, Consumer Id: 610213, Address Id: 11754962 => Updated with Vin: 1G6DP567150138719 ## Mail History Id: 30079703, Consumer Id: 676395, Address Id: 11791856 => Updated with Vin: 1G6DN57U560207262 ## Mail History Id: 30079697, Consumer Id: 663852, Address Id: 11783262 => Updated with Vin: 3GYEK63N72G312903 ## Mail History Id: 30079705, Consumer Id: 677568, Address Id: 11792512 => Updated with Vin: 1G6DP577060119479 ## Mail History Id: 30079665, Consumer Id: 679032, Address Id: 11793366 => Updated with Vin: 1G6KD57Y47U120993 ## Mail History Id: 30079661, Consumer Id: 678539, Address Id: 11793082 => Updated with Vin: 1G6DP577370145057 ## Mail History Id: 30079641, Consumer Id: 679031, Address Id: 11793365 => Updated with Vin: 1G6DW677070115765 ## Mail History Id: 30079669, Consumer Id: 680621, Address Id: 10326664 => Updated with Vin: 1G6DW677270170010 ## Mail History Id: 30079729, Consumer Id: 668897, Address Id: 6773169 => Updated with Vin: 1G6KF57933U285012 ## Mail History Id: 30079695, Consumer Id: 611079, Address Id: 11755709 => Updated with Vin: 1G6KD57Y88U153447 ## Mail History Id: 30079663, Consumer Id: 678311, Address Id: 11792950 => Updated with Vin: 1G6DM57T570133613 ## Mail History Id: 30079671, Consumer Id: 671773, Address Id: 11788878 => Updated with Vin: 1G6DC67A750158596 ## Mail History Id: 30079721, Consumer Id: 612398, Address Id: 11756090 => Updated with Vin: 1G6KD54YXXU707123 ## Mail History Id: 30079645, Consumer Id: 610311, Address Id: 11755047 => Updated with Vin: 1GYFK63838R142014 ## Total mail_history records updated with vin numbers: 27 out of 33 ============================================================ ====== Tracking Id: 1198 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-14 08:44:16') AND us2_order_type_id = 3 ## Order found: 1555 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1555 AND product_id = 113 ## Job Group Found: '487' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('487') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408002') AND customer_id = 3230 ## Mailing found: '12834' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30080027, Consumer Id: 63977, Address Id: 48103 => Updated with Vin: 2FTRX18L62CA19770 ## Mail History Id: 30080029, Consumer Id: 103815, Address Id: 53225 => Updated with Vin: 1FMYU93135KC45348 ## Mail History Id: 30080031, Consumer Id: 65472, Address Id: 49926 => Updated with Vin: 1FTZR15X9YPB55738 ## Mail History Id: 30080033, Consumer Id: 65137, Address Id: 49759 => Updated with Vin: 1FTSW21P05EA18202 ## Mail History Id: 30080037, Consumer Id: 63213, Address Id: 47771 => Updated with Vin: 1FMYU01B81KB81681 ## Total mail_history records updated with vin numbers: 5 out of 8 ============================================================ ====== Tracking Id: 1199 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-14 08:44:27') AND us2_order_type_id = 3 ## Order found: 1555 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1555 AND product_id = 143 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3230 ## Mailing found: '12823' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079807, Consumer Id: 628947, Address Id: 11766290 => Updated with Vin: 1ZVHT85H485144511 ## Mail History Id: 30079685, Consumer Id: 628952, Address Id: 11766293 => Updated with Vin: 1FAHP35N08W153593 ## Mail History Id: 30079683, Consumer Id: 629516, Address Id: 11769806 => Updated with Vin: 1FMEU51E18UA60368 ## Mail History Id: 30079845, Consumer Id: 93076, Address Id: 51507 => Updated with Vin: 1FMEU74EX7UB57994 ## Mail History Id: 30079833, Consumer Id: 630339, Address Id: 49529 => Updated with Vin: 1FTPW14V18FB81028 ## Mail History Id: 30079835, Consumer Id: 93516, Address Id: 52020 => Updated with Vin: 1FAHP35NX8W175679 ## Mail History Id: 30079853, Consumer Id: 628950, Address Id: 11766291 => Updated with Vin: 1FMCU03Z78KC22736 ## Mail History Id: 30079829, Consumer Id: 628946, Address Id: 48087 => Updated with Vin: 1FAHP35N88W213152 ## Mail History Id: 30079813, Consumer Id: 64631, Address Id: 49397 => Updated with Vin: 1FAFP24155G174784 ## Mail History Id: 30079803, Consumer Id: 93228, Address Id: 49763 => Updated with Vin: 2FMDK36C47BA68739 ## Mail History Id: 30079801, Consumer Id: 628951, Address Id: 11766292 => Updated with Vin: 3A4FY58B77T541236 ## Total mail_history records updated with vin numbers: 11 out of 13 ============================================================ ====== Tracking Id: 1200 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-14 10:17:47') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 1201 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-14 10:23:30') AND us2_order_type_id = 3 ## Order found: 1556 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1556 AND product_id = 143 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3815 ## Mailing found: '12833' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079595, Consumer Id: 1371989, Address Id: 9401659 => Updated with Vin: 2HGFG11688H542924 ## Mail History Id: 30079621, Consumer Id: 1371998, Address Id: 8185344 => Updated with Vin: 1N6DD26S51C305985 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1202 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-14 10:44:00') AND us2_order_type_id = 3 ## Order found: 1555 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1555 AND product_id = 140 ## Job Group Found: '489' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('489') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408004') AND customer_id = 3230 ## Mailing found: '12849' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1203 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-14 11:14:18') AND us2_order_type_id = 3 ## Order found: 1557 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1557 AND product_id = 112 ## Job Group Found: '487' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('487') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408002') AND customer_id = 3486 ## Mailing found: '12838' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079938, Consumer Id: 477984, Address Id: 1566367 => Updated with Vin: 2G1WL52J0Y1125500 ## Mail History Id: 30079940, Consumer Id: 476057, Address Id: 9823681 => Updated with Vin: 2GCEC19TX11235608 ## Mail History Id: 30079942, Consumer Id: 466694, Address Id: 1036873 => Updated with Vin: 1GNEC16Z75J258663 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 1204 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-14 11:17:03') AND us2_order_type_id = 3 ## Order found: 1558 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1558 AND product_id = 144 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3705 ## Mailing found: '12829' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079921, Consumer Id: 960911, Address Id: 14831607 => Updated with Vin: 1GMDX03E13D121035 ## Mail History Id: 30079566, Consumer Id: 973523, Address Id: 14839254 => Updated with Vin: 2G1WH52K049306294 ## Mail History Id: 30079564, Consumer Id: 974930, Address Id: 14843497 => Updated with Vin: 1GCDS136158173343 ## Mail History Id: 30079644, Consumer Id: 974624, Address Id: 14842897 => Updated with Vin: 1G1JC12F657170356 ## Mail History Id: 30079578, Consumer Id: 963691, Address Id: 14836381 => Updated with Vin: 1GNDT13S142337984 ## Mail History Id: 30079630, Consumer Id: 964617, Address Id: 14837117 => Updated with Vin: 1GCCS138568236085 ## Mail History Id: 30079608, Consumer Id: 964835, Address Id: 14837275 => Updated with Vin: 2G4WE567451312861 ## Mail History Id: 30079572, Consumer Id: 965405, Address Id: 14837722 => Updated with Vin: 2GCEC13V671125089 ## Mail History Id: 30079582, Consumer Id: 966230, Address Id: 14838296 => Updated with Vin: 2GCEK13V371139597 ## Mail History Id: 30079558, Consumer Id: 965797, Address Id: 14836182 => Updated with Vin: 1G2ZM551164250301 ## Mail History Id: 30079911, Consumer Id: 966633, Address Id: 8324999 => Updated with Vin: 2GCEC13Z061304875 ## Mail History Id: 30079622, Consumer Id: 967552, Address Id: 14839348 => Updated with Vin: 2G4WD582661157428 ## Mail History Id: 30079923, Consumer Id: 970687, Address Id: 9169294 => Updated with Vin: 2GTEC638081160591 ## Mail History Id: 30079570, Consumer Id: 971036, Address Id: 14841867 => Updated with Vin: 1G1AL55F277120155 ## Mail History Id: 30079542, Consumer Id: 971607, Address Id: 14842285 => Updated with Vin: 2G1WT55NX79368892 ## Mail History Id: 30079618, Consumer Id: 971720, Address Id: 14842355 => Updated with Vin: 3GCDA15DX8S521943 ## Mail History Id: 30079925, Consumer Id: 971719, Address Id: 14842354 => Updated with Vin: 2GTEC13J481194605 ## Mail History Id: 30079560, Consumer Id: 971721, Address Id: 14842356 => Updated with Vin: 1GCHC296X8E182608 ## Mail History Id: 30079636, Consumer Id: 971956, Address Id: 14842518 => Updated with Vin: 1GCHC23K88F197317 ## Mail History Id: 30079913, Consumer Id: 972811, Address Id: 14841190 => Updated with Vin: 3GNCA13D68S671750 ## Mail History Id: 30079552, Consumer Id: 972807, Address Id: 9158809 => Updated with Vin: 1GKER13718J228092 ## Mail History Id: 30079600, Consumer Id: 972809, Address Id: 14843169 => Updated with Vin: 2GCEC19J181242018 ## Mail History Id: 30079626, Consumer Id: 972977, Address Id: 14843276 => Updated with Vin: 3GNDA23D98S532318 ## Mail History Id: 30079929, Consumer Id: 972975, Address Id: 7987250 => Updated with Vin: 1G4HE57Y18U136974 ## Mail History Id: 30079596, Consumer Id: 977066, Address Id: 11387884 => Updated with Vin: 3GKEC16Z83G128354 ## Mail History Id: 30079610, Consumer Id: 980957, Address Id: 14846866 => Updated with Vin: YS3FB45S341050194 ## Mail History Id: 30079588, Consumer Id: 978875, Address Id: 9184564 => Updated with Vin: 2G1WT58KX69271840 ## Mail History Id: 30079642, Consumer Id: 977299, Address Id: 14844928 => Updated with Vin: 2G1WB58K369297909 ## Mail History Id: 30079554, Consumer Id: 977300, Address Id: 14844929 => Updated with Vin: 1GCEC14XX3Z270119 ## Mail History Id: 30079620, Consumer Id: 978074, Address Id: 10459993 => Updated with Vin: 1GNFK13047R297695 ## Mail History Id: 30079590, Consumer Id: 978978, Address Id: 14845836 => Updated with Vin: 1G2ZF55B764174912 ## Mail History Id: 30079616, Consumer Id: 980097, Address Id: 14846473 => Updated with Vin: 1GCHK23245F803825 ## Mail History Id: 30079606, Consumer Id: 980492, Address Id: 14846697 => Updated with Vin: 1GNFC13067R352130 ## Mail History Id: 30079556, Consumer Id: 980276, Address Id: 9158853 => Updated with Vin: 2GCEC19X131408342 ## Mail History Id: 30079612, Consumer Id: 980936, Address Id: 14846853 => Updated with Vin: 1GCEC19X15Z116703 ## Mail History Id: 30079584, Consumer Id: 970875, Address Id: 14841763 => Updated with Vin: 1GNFC13J68R150768 ## Mail History Id: 30079546, Consumer Id: 980956, Address Id: 14846865 => Updated with Vin: 1GCEC14W1XZ197946 ## Mail History Id: 30079634, Consumer Id: 980914, Address Id: 14846838 => Updated with Vin: 1GKEK63U44J323568 ## Total mail_history records updated with vin numbers: 38 out of 55 ============================================================ ====== Tracking Id: 1205 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-14 11:17:14') AND us2_order_type_id = 3 ## Order found: 1558 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1558 AND product_id = 112 ## Job Group Found: '487' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('487') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408002') AND customer_id = 3705 ## Mailing found: '12839' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1206 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-14 11:18:01') AND us2_order_type_id = 3 ## Order found: 1559 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1559 AND product_id = 143 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3808 ## Mailing found: '12832' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079879, Consumer Id: 1172171, Address Id: 15030256 => Updated with Vin: 1GCJC33D06F222605 ## Mail History Id: 30079863, Consumer Id: 1171962, Address Id: 15030079 => Updated with Vin: 1GNDV33L85D264679 ## Mail History Id: 30079877, Consumer Id: 1172153, Address Id: 15030240 => Updated with Vin: 3GCEC13J77G504901 ## Mail History Id: 30079903, Consumer Id: 1281554, Address Id: 15437347 => Updated with Vin: 1G3WH52M1SF304986 ## Mail History Id: 30079871, Consumer Id: 1171600, Address Id: 15029766 => Updated with Vin: 2GCEC13T861135765 ## Mail History Id: 30079909, Consumer Id: 1172256, Address Id: 15030325 => Updated with Vin: 1GTEK19T73E236753 ## Mail History Id: 30079897, Consumer Id: 1171969, Address Id: 15030085 => Updated with Vin: YS3EH45G223038013 ## Mail History Id: 30079885, Consumer Id: 1172044, Address Id: 15030148 => Updated with Vin: 2GCEC19T1Y1283511 ## Mail History Id: 30079887, Consumer Id: 1172033, Address Id: 15030140 => Updated with Vin: 1GKDT13W5Y2292215 ## Mail History Id: 30079881, Consumer Id: 1172254, Address Id: 15030323 => Updated with Vin: 1GNEC13Z64R280349 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 1207 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-14 11:18:04') AND us2_order_type_id = 3 ## Order found: 1559 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1559 AND product_id = 112 ## Job Group Found: '487' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('487') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408002') AND customer_id = 3808 ## Mailing found: '12840' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1208 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-14 11:18:13') AND us2_order_type_id = 3 ## Order found: 1560 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1560 AND product_id = 143 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3721 ## Mailing found: '12830' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079631, Consumer Id: 1011656, Address Id: 6667710 => Updated with Vin: 1YVFP80D645N97018 ## Mail History Id: 30079627, Consumer Id: 1010202, Address Id: 6660536 => Updated with Vin: 1YVHP80C085M42177 ## Mail History Id: 30079625, Consumer Id: 1016393, Address Id: 528920 => Updated with Vin: JM1BK32F371677750 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 1209 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-14 11:44:19') AND us2_order_type_id = 3 ## Order found: 1561 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1561 AND product_id = 142 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3357 ## Mailing found: '12824' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079928, Consumer Id: 653281, Address Id: 400244 => Updated with Vin: 1ZVHT82H785166359 ## Mail History Id: 30079870, Consumer Id: 155790, Address Id: 397824 => Updated with Vin: 1FAFP404X2F202012 ## Mail History Id: 30079858, Consumer Id: 939732, Address Id: 11961406 => Updated with Vin: 4T1BE32K92U567387 ## Mail History Id: 30079856, Consumer Id: 197672, Address Id: 407007 => Updated with Vin: 4M2DU86W33ZJ03262 ## Mail History Id: 30079904, Consumer Id: 174101, Address Id: 445940 => Updated with Vin: 3FAFP07Z16R188178 ## Mail History Id: 30079846, Consumer Id: 939736, Address Id: 11961408 => Updated with Vin: 1ZVFT80N855129963 ## Mail History Id: 30079924, Consumer Id: 196006, Address Id: 405675 => Updated with Vin: 1YVHP80D865M27545 ## Mail History Id: 30079884, Consumer Id: 939733, Address Id: 876425 => Updated with Vin: 5TETX22N06Z307710 ## Mail History Id: 30079888, Consumer Id: 153442, Address Id: 395689 => Updated with Vin: JM3ER29L670126899 ## Mail History Id: 30079868, Consumer Id: 653282, Address Id: 396479 => Updated with Vin: JM1BK344881116800 ## Mail History Id: 30079850, Consumer Id: 154044, Address Id: 396234 => Updated with Vin: JM3TB38V080139041 ## Mail History Id: 30079878, Consumer Id: 939734, Address Id: 11961407 => Updated with Vin: JM1BK34M881106817 ## Mail History Id: 30079848, Consumer Id: 885499, Address Id: 11939830 => Updated with Vin: JM1BK32GX81135779 ## Mail History Id: 30079876, Consumer Id: 155475, Address Id: 397525 => Updated with Vin: JM1BK344481837681 ## Mail History Id: 30079920, Consumer Id: 167746, Address Id: 434562 => Updated with Vin: JM1BK344981874449 ## Mail History Id: 30079902, Consumer Id: 653284, Address Id: 395905 => Updated with Vin: 2FMDK36C48BA28503 ## Mail History Id: 30079880, Consumer Id: 196288, Address Id: 405346 => Updated with Vin: 1LNHM86S94Y672043 ## Mail History Id: 30079894, Consumer Id: 189771, Address Id: 401246 => Updated with Vin: 1FTRX17L92NA88917 ## Total mail_history records updated with vin numbers: 18 out of 21 ============================================================ ====== Tracking Id: 1210 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-14 12:16:45') AND us2_order_type_id = 3 ## Order found: 1562 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1562 AND product_id = 113 ## Job Group Found: '487' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('487') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408002') AND customer_id = 3427 ## Mailing found: '12836' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079974, Consumer Id: 491843, Address Id: 9827609 => Updated with Vin: SHSRD78413U109268 ## Mail History Id: 30079976, Consumer Id: 500578, Address Id: 328845 => Updated with Vin: 1HGCM827X4A019716 ## Mail History Id: 30079978, Consumer Id: 501180, Address Id: 9835817 => Updated with Vin: JHMES96623S016952 ## Mail History Id: 30079980, Consumer Id: 497553, Address Id: 9831783 => Updated with Vin: 5FNRL18934B011055 ## Mail History Id: 30079982, Consumer Id: 513178, Address Id: 326247 => Updated with Vin: 1HGES26703L009785 ## Mail History Id: 30079984, Consumer Id: 507006, Address Id: 9834174 => Updated with Vin: 1HGEJ6679VL004243 ## Mail History Id: 30079986, Consumer Id: 514391, Address Id: 9829172 => Updated with Vin: 1HGCM56125A147311 ## Mail History Id: 30079988, Consumer Id: 510199, Address Id: 9843469 => Updated with Vin: JHLRD1862XC078978 ## Mail History Id: 30079990, Consumer Id: 471428, Address Id: 9833047 => Updated with Vin: 2HGFG12826H531303 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 1211 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-14 12:16:57') AND us2_order_type_id = 3 ## Order found: 1562 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1562 AND product_id = 112 ## Job Group Found: '487' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('487') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408002') AND customer_id = 3427 ## Mailing found: '12836' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30080012, Consumer Id: 491400, Address Id: 9827255 => Updated with Vin: 2HKRL1860XH544802 ## Mail History Id: 30080014, Consumer Id: 501144, Address Id: 9836141 => Updated with Vin: SHSRD77874U238590 ## Mail History Id: 30080016, Consumer Id: 514108, Address Id: 9829884 => Updated with Vin: 5FNYF18536B008630 ## Mail History Id: 30080018, Consumer Id: 507690, Address Id: 9841874 => Updated with Vin: 5FNRL38415B097905 ## Mail History Id: 30080020, Consumer Id: 500241, Address Id: 9834864 => Updated with Vin: 5J6YH27534L011694 ## Mail History Id: 30080022, Consumer Id: 510443, Address Id: 9843617 => Updated with Vin: 2HGES26704H577310 ## Mail History Id: 30080024, Consumer Id: 510712, Address Id: 328108 => Updated with Vin: 1HGCM567X6A010137 ## Mail History Id: 30080026, Consumer Id: 505430, Address Id: 9840385 => Updated with Vin: 1HGES26725L016529 ## Mail History Id: 30080028, Consumer Id: 507938, Address Id: 9842030 => Updated with Vin: 2HGEJ6670VH576623 ## Mail History Id: 30080030, Consumer Id: 500907, Address Id: 9835673 => Updated with Vin: 1HGCM56804A107370 ## Mail History Id: 30080032, Consumer Id: 503767, Address Id: 9839097 => Updated with Vin: 5FNYF18585B000456 ## Mail History Id: 30080034, Consumer Id: 497329, Address Id: 9831628 => Updated with Vin: 1HGEJ7224XL058892 ## Mail History Id: 30080036, Consumer Id: 498878, Address Id: 9832744 => Updated with Vin: JHMES96664S007401 ## Mail History Id: 30080038, Consumer Id: 498029, Address Id: 9832131 => Updated with Vin: 2HKRL1864XH506263 ## Mail History Id: 30080040, Consumer Id: 514932, Address Id: 9846296 => Updated with Vin: 1HGFA16886L028762 ## Mail History Id: 30080042, Consumer Id: 475230, Address Id: 8195014 => Updated with Vin: JHMFA36257S006617 ## Mail History Id: 30079937, Consumer Id: 482059, Address Id: 8195722 => Updated with Vin: JHMFA36257S023823 ## Total mail_history records updated with vin numbers: 17 out of 17 ============================================================ ====== Tracking Id: 1212 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-14 12:17:05') AND us2_order_type_id = 3 ## Order found: 1563 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1563 AND product_id = 143 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3471 ## Mailing found: '12827' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079712, Consumer Id: 798917, Address Id: 10213987 => Updated with Vin: 1G6CD5336L4266935 ## Mail History Id: 30079762, Consumer Id: 799858, Address Id: 10216188 => Updated with Vin: 1GYEK63N63R306706 ## Mail History Id: 30079664, Consumer Id: 799892, Address Id: 10211507 => Updated with Vin: 1G3GR62C1S4111554 ## Mail History Id: 30079676, Consumer Id: 799375, Address Id: 7878644 => Updated with Vin: 1G6KE54Y33U125808 ## Mail History Id: 30079786, Consumer Id: 800986, Address Id: 10218119 => Updated with Vin: 1G6KD54Y41U119693 ## Mail History Id: 30079678, Consumer Id: 822160, Address Id: 11876279 => Updated with Vin: 1GYEE637X70153296 ## Mail History Id: 30079824, Consumer Id: 799537, Address Id: 11870425 => Updated with Vin: 1G6KD52B0RU282805 ## Mail History Id: 30079770, Consumer Id: 818344, Address Id: 10216338 => Updated with Vin: 1G6KD57956U118497 ## Mail History Id: 30079752, Consumer Id: 801048, Address Id: 10215929 => Updated with Vin: 1G3HN52K9S4818189 ## Mail History Id: 30079730, Consumer Id: 822509, Address Id: 10214837 => Updated with Vin: 1G6KD54Y83U205317 ## Mail History Id: 30079818, Consumer Id: 818018, Address Id: 11869903 => Updated with Vin: 1G6KD54Y51U165839 ## Mail History Id: 30079710, Consumer Id: 823133, Address Id: 7416219 => Updated with Vin: 1GYFK63878R105693 ## Mail History Id: 30079758, Consumer Id: 807322, Address Id: 10216125 => Updated with Vin: 1G6KD54Y33U150176 ## Mail History Id: 30079668, Consumer Id: 803075, Address Id: 7878507 => Updated with Vin: 1G6KE57Y11U255451 ## Mail History Id: 30079756, Consumer Id: 805690, Address Id: 10215957 => Updated with Vin: 1GYEE637740160637 ## Mail History Id: 30079704, Consumer Id: 802358, Address Id: 7416025 => Updated with Vin: 1GYEK63N14R130052 ## Mail History Id: 30079768, Consumer Id: 821217, Address Id: 10216647 => Updated with Vin: 1G6KD54Y53U213360 ## Mail History Id: 30079830, Consumer Id: 760431, Address Id: 11851037 => Updated with Vin: 1G6KD54Y35U124857 ## Mail History Id: 30079930, Consumer Id: 798339, Address Id: 11869823 => Updated with Vin: 1G6KY549XWU915725 ## Mail History Id: 30079820, Consumer Id: 806259, Address Id: 11873776 => Updated with Vin: 1GYEE63A650109675 ## Mail History Id: 30079692, Consumer Id: 823422, Address Id: 7415688 => Updated with Vin: 1G6DP577160123685 ## Mail History Id: 30079760, Consumer Id: 798398, Address Id: 10216180 => Updated with Vin: 1G6KS54Y01U115274 ## Mail History Id: 30079814, Consumer Id: 803584, Address Id: 11872485 => Updated with Vin: 1GYDE637340124844 ## Mail History Id: 30079724, Consumer Id: 803693, Address Id: 7416920 => Updated with Vin: 1G6KS54Y1YU195923 ## Mail History Id: 30079774, Consumer Id: 822145, Address Id: 11876399 => Updated with Vin: 1GYEE637970154620 ## Mail History Id: 30079782, Consumer Id: 820504, Address Id: 10217814 => Updated with Vin: 1G6KD54YXYU168469 ## Mail History Id: 30079680, Consumer Id: 798352, Address Id: 7878854 => Updated with Vin: 1GYEK63N93R171964 ## Mail History Id: 30079696, Consumer Id: 821662, Address Id: 11876313 => Updated with Vin: 1GYFK638X7R251035 ## Mail History Id: 30079806, Consumer Id: 821370, Address Id: 10220813 => Updated with Vin: 1G6KD54Y7WU746685 ## Mail History Id: 30079690, Consumer Id: 760435, Address Id: 7415648 => Updated with Vin: 3GYFK66N95G213889 ## Mail History Id: 30079652, Consumer Id: 822811, Address Id: 7878059 => Updated with Vin: 1G6DP577660211146 ## Mail History Id: 30079772, Consumer Id: 822760, Address Id: 10562038 => Updated with Vin: 3GYFK66N86G208507 ## Mail History Id: 30079670, Consumer Id: 805551, Address Id: 6525724 => Updated with Vin: 1GYEE637740163165 ## Total mail_history records updated with vin numbers: 33 out of 47 ============================================================ ====== Tracking Id: 1213 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-14 14:14:04') AND us2_order_type_id = 3 ## Order found: 1564 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1564 AND product_id = 143 ## Job Group Found: '486' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('486') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081408001') AND customer_id = 3418 ## Mailing found: '12826' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079715, Consumer Id: 680906, Address Id: 11794513 => Updated with Vin: 1G6DP577370170122 ## Mail History Id: 30079677, Consumer Id: 610650, Address Id: 6913082 => Updated with Vin: 1G6DM577780113271 ## Mail History Id: 30079653, Consumer Id: 681190, Address Id: 11791131 => Updated with Vin: 1G6DP577870133714 ## Mail History Id: 30079701, Consumer Id: 681162, Address Id: 11794672 => Updated with Vin: 1G6KF57984U106738 ## Mail History Id: 30079707, Consumer Id: 610882, Address Id: 11755544 => Updated with Vin: 1G6DS57V480181645 ## Mail History Id: 30079647, Consumer Id: 610930, Address Id: 6920572 => Updated with Vin: 5GAET13P442265821 ## Mail History Id: 30079673, Consumer Id: 664043, Address Id: 11783401 => Updated with Vin: 1GYEK63R5YR195382 ## Mail History Id: 30079725, Consumer Id: 674153, Address Id: 6772329 => Updated with Vin: 1G6DW677360115094 ## Mail History Id: 30079727, Consumer Id: 675191, Address Id: 11791143 => Updated with Vin: 1G6DW677660167125 ## Mail History Id: 30079651, Consumer Id: 675755, Address Id: 8879864 => Updated with Vin: 1GYEE637460185420 ## Mail History Id: 30079693, Consumer Id: 680072, Address Id: 11792388 => Updated with Vin: 1GYFK63847R420465 ## Mail History Id: 30079713, Consumer Id: 678081, Address Id: 11792812 => Updated with Vin: 1G6KD57Y06U230602 ## Mail History Id: 30079717, Consumer Id: 677631, Address Id: 11792548 => Updated with Vin: 1G6DW677450213520 ## Mail History Id: 30079639, Consumer Id: 612208, Address Id: 8871917 => Updated with Vin: 1G6KD57916U122823 ## Mail History Id: 30079719, Consumer Id: 612219, Address Id: 8874281 => Updated with Vin: 1GYEE63AX60193498 ## Total mail_history records updated with vin numbers: 15 out of 24 ============================================================ ====== Tracking Id: 1214 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 562 AND DATE(cart_created_date) = DATE('2008-08-14 15:08:42') AND us2_order_type_id = 3 ## Order found: 1575 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1575 AND product_id = 54 ## Job Group Found: '490' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('490') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'dht080608006a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('dht080608006a') AND customer_id = 562 ## Mailing found: '12774' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 1215 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 587 AND DATE(cart_created_date) = DATE('2008-08-14 16:45:50') AND us2_order_type_id = 3 ## Order found: 1576 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '37' AND store_id = 2 ## Product Id found: 2155 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1576 AND product_id = 2155 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1216 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-15 08:14:41') AND us2_order_type_id = 3 ## Order found: 1578 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1578 AND product_id = 55 ## Job Group Found: '499' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('499') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808005' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808005') AND customer_id = 3230 ## Mailing found: '13019' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30080086, Consumer Id: 1760248, Address Id: 51636 => Updated with Vin: 3FAHP07198R273632 ## Mail History Id: 30080087, Consumer Id: 1760249, Address Id: 49619 => Updated with Vin: 2FMDK38C18BA42839 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1217 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-15 08:44:26') AND us2_order_type_id = 3 ## Order found: 1578 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1578 AND product_id = 113 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3230 ## Mailing found: '12998' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079376, Consumer Id: 64092, Address Id: 49848 => Updated with Vin: 1FMYU93123KB64824 ## Mail History Id: 30079396, Consumer Id: 102120, Address Id: 52056 => Updated with Vin: 1FMZU73W22ZB66759 ## Mail History Id: 30079382, Consumer Id: 93481, Address Id: 50283 => Updated with Vin: 1G2HX52K634189295 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1218 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-15 08:44:32') AND us2_order_type_id = 3 ## Order found: 1578 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1578 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3230 ## Mailing found: '13007' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078300, Consumer Id: 611302, Address Id: 11755818 => Updated with Vin: 1FAFP34321W244071 ## Mail History Id: 30078440, Consumer Id: 64194, Address Id: 52216 => Updated with Vin: 1FMFU18L64LB75131 ## Mail History Id: 30078690, Consumer Id: 92867, Address Id: 51286 => Updated with Vin: 1FMYU93127KB68409 ## Mail History Id: 30078694, Consumer Id: 65825, Address Id: 49949 => Updated with Vin: 1FAFP34N66W124752 ## Mail History Id: 30078428, Consumer Id: 64397, Address Id: 48947 => Updated with Vin: 1FMZK05155GA49711 ## Mail History Id: 30078646, Consumer Id: 63896, Address Id: 52559 => Updated with Vin: 1FTSX31P84ED17051 ## Mail History Id: 30078384, Consumer Id: 628949, Address Id: 49113 => Updated with Vin: 2FMDK48C08BA01608 ## Mail History Id: 30078442, Consumer Id: 63618, Address Id: 48938 => Updated with Vin: 1FTNX21F5YED07274 ## Mail History Id: 30078414, Consumer Id: 67708, Address Id: 51299 => Updated with Vin: 1FAHP56S83G280496 ## Mail History Id: 30078430, Consumer Id: 67753, Address Id: 47416 => Updated with Vin: 1FAFP23126G108082 ## Mail History Id: 30078430, Consumer Id: 66757, Address Id: 47416 => Updated with Vin: 2FTRX17223CA96405 ## Mail History Id: 30078426, Consumer Id: 611301, Address Id: 11755817 => Updated with Vin: 1FAFP55S73G203613 ## Mail History Id: 30078250, Consumer Id: 67047, Address Id: 50150 => Updated with Vin: 1FTWW31P56ED55456 ## Mail History Id: 30078318, Consumer Id: 64072, Address Id: 51611 => Updated with Vin: 1FAFP53U04G130705 ## Mail History Id: 30078366, Consumer Id: 65997, Address Id: 49616 => Updated with Vin: 1FAFP34N45W193485 ## Mail History Id: 30078336, Consumer Id: 628945, Address Id: 11766289 => Updated with Vin: KNDJA723825126842 ## Mail History Id: 30078334, Consumer Id: 63388, Address Id: 48572 => Updated with Vin: 1FMZU77EX1UB87873 ## Mail History Id: 30078342, Consumer Id: 611300, Address Id: 11755816 => Updated with Vin: 1MEFM53U6XG646086 ## Mail History Id: 30078302, Consumer Id: 611304, Address Id: 11755820 => Updated with Vin: 2FTZX1728WCA81234 ## Mail History Id: 30078314, Consumer Id: 92971, Address Id: 51399 => Updated with Vin: 3FAHP08137R114389 ## Mail History Id: 30078368, Consumer Id: 611299, Address Id: 53638 => Updated with Vin: 1FTEF14Y2TCA22076 ## Mail History Id: 30078306, Consumer Id: 65908, Address Id: 49619 => Updated with Vin: 3FAFP31N85R157807 ## Mail History Id: 30078346, Consumer Id: 611298, Address Id: 47465 => Updated with Vin: 1LNLM81W4TY710359 ## Mail History Id: 30078354, Consumer Id: 66740, Address Id: 51011 => Updated with Vin: 1FAFP53U6YG125532 ## Mail History Id: 30078344, Consumer Id: 611296, Address Id: 49109 => Updated with Vin: 1FAHP34N47W356521 ## Mail History Id: 30078352, Consumer Id: 102995, Address Id: 53485 => Updated with Vin: 1B4HS38NX2F161077 ## Mail History Id: 30078388, Consumer Id: 611303, Address Id: 11755819 => Updated with Vin: 1FAFP53U1XG236519 ## Mail History Id: 30078362, Consumer Id: 64572, Address Id: 48299 => Updated with Vin: 1FMCU04151KA69157 ## Mail History Id: 30078676, Consumer Id: 102894, Address Id: 53428 => Updated with Vin: 1FMSU43F12EB78845 ## Mail History Id: 30078286, Consumer Id: 63281, Address Id: 49815 => Updated with Vin: 1FTSW31P14EA46398 ## Mail History Id: 30078282, Consumer Id: 66124, Address Id: 50634 => Updated with Vin: 1MEFM50U83G604288 ## Mail History Id: 30078390, Consumer Id: 63719, Address Id: 48209 => Updated with Vin: KLATA52621B669294 ## Mail History Id: 30078432, Consumer Id: 628948, Address Id: 51956 => Updated with Vin: 3FAHP07Z58R218181 ## Mail History Id: 30078350, Consumer Id: 67610, Address Id: 52740 => Updated with Vin: 1FTPW14534KA84057 ## Mail History Id: 30078272, Consumer Id: 1290841, Address Id: 11769803 => Updated with Vin: 1FTPX14526FB19261 ## Mail History Id: 30078356, Consumer Id: 528032, Address Id: 52949 => Updated with Vin: 1G6KD54Y22U225416 ## Total mail_history records updated with vin numbers: 36 out of 47 ============================================================ ====== Tracking Id: 1219 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-15 09:17:47') AND us2_order_type_id = 3 ## Order found: 1579 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1579 AND product_id = 142 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3768 ## Mailing found: '13016' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078520, Consumer Id: 1107756, Address Id: 14982121 => Updated with Vin: 3GYEK63N33G317758 ## Mail History Id: 30078514, Consumer Id: 1116770, Address Id: 14952943 => Updated with Vin: 1G2ZH57NX84114921 ## Total mail_history records updated with vin numbers: 2 out of 8 ============================================================ ====== Tracking Id: 1220 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-15 10:17:44') AND us2_order_type_id = 3 ## Order found: 1580 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1580 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3416 ## Mailing found: '13009' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078220, Consumer Id: 692399, Address Id: 11798336 => Updated with Vin: JTJHA31U540050169 ## Mail History Id: 30078158, Consumer Id: 625457, Address Id: 8329661 => Updated with Vin: 1G6KD54Y14U213146 ## Mail History Id: 30078198, Consumer Id: 625912, Address Id: 11766187 => Updated with Vin: 1G6DT57V480162820 ## Mail History Id: 30078196, Consumer Id: 693185, Address Id: 11798714 => Updated with Vin: 5GTEN13E688165402 ## Mail History Id: 30078182, Consumer Id: 938997, Address Id: 11960925 => Updated with Vin: 1G6KD54Y6YU215318 ## Mail History Id: 30078680, Consumer Id: 938996, Address Id: 11960924 => Updated with Vin: 1GYEE63AX50209908 ## Mail History Id: 30078180, Consumer Id: 690922, Address Id: 1964270 => Updated with Vin: 5GTDN136368287751 ## Mail History Id: 30078226, Consumer Id: 625958, Address Id: 1969233 => Updated with Vin: 5GTEN13E288199966 ## Mail History Id: 30078248, Consumer Id: 691943, Address Id: 1970150 => Updated with Vin: 1G6KD57Y67U131087 ## Mail History Id: 30078248, Consumer Id: 691943, Address Id: 1970150 => Updated with Vin: 1G6KD57Y67U131087 ## Mail History Id: 30078240, Consumer Id: 628658, Address Id: 1969878 => Updated with Vin: 1GYEE637540169658 ## Mail History Id: 30078136, Consumer Id: 683633, Address Id: 11795439 => Updated with Vin: 1G6EL12Y6TU617148 ## Mail History Id: 30078150, Consumer Id: 955777, Address Id: 11766121 => Updated with Vin: 5GTEN43E888183160 ## Mail History Id: 30078170, Consumer Id: 689029, Address Id: 11795008 => Updated with Vin: 1G6KS54Y82U254134 ## Mail History Id: 30078204, Consumer Id: 687812, Address Id: 1968743 => Updated with Vin: 1G6KD54Y22U225223 ## Mail History Id: 30078222, Consumer Id: 692176, Address Id: 1969209 => Updated with Vin: 1GKET12S346184584 ## Mail History Id: 30078242, Consumer Id: 681700, Address Id: 1969902 => Updated with Vin: 1G6KD54YXYU214639 ## Mail History Id: 30078208, Consumer Id: 687675, Address Id: 1968856 => Updated with Vin: 1G6KD54Y41U239123 ## Mail History Id: 30078188, Consumer Id: 629299, Address Id: 1965284 => Updated with Vin: 1G6KD57YX6U122066 ## Mail History Id: 30078138, Consumer Id: 938998, Address Id: 1966710 => Updated with Vin: 1GYEE63A370151059 ## Mail History Id: 30078152, Consumer Id: 691896, Address Id: 1959887 => Updated with Vin: 1GYFK66807R192055 ## Mail History Id: 30078200, Consumer Id: 682121, Address Id: 1968486 => Updated with Vin: 1G6KF57961U165587 ## Mail History Id: 30078174, Consumer Id: 625553, Address Id: 1963334 => Updated with Vin: 1G6KF579X5U244413 ## Mail History Id: 30078206, Consumer Id: 681905, Address Id: 1968757 => Updated with Vin: 1G6DM57N430119360 ## Mail History Id: 30078410, Consumer Id: 689719, Address Id: 11766107 => Updated with Vin: 5GRGN23U63H103986 ## Mail History Id: 30078280, Consumer Id: 939370, Address Id: 11795746 => Updated with Vin: 5GTEN13E888170441 ## Mail History Id: 30078436, Consumer Id: 690929, Address Id: 11797778 => Updated with Vin: 5GTDN136068155773 ## Mail History Id: 30078216, Consumer Id: 691241, Address Id: 11797066 => Updated with Vin: 1G6KS54Y83U284669 ## Mail History Id: 30078134, Consumer Id: 689031, Address Id: 11797072 => Updated with Vin: 5GRGN23U05H119118 ## Mail History Id: 30078134, Consumer Id: 689031, Address Id: 11797072 => Updated with Vin: 5GRGN23U05H119118 ## Mail History Id: 30078194, Consumer Id: 681317, Address Id: 1967657 => Updated with Vin: 1G6KD54Y9YU180399 ## Mail History Id: 30078210, Consumer Id: 691105, Address Id: 10934828 => Updated with Vin: 1G1ZT52814F109559 ## Mail History Id: 30078148, Consumer Id: 691980, Address Id: 4758001 => Updated with Vin: 3GYFK66N06G233739 ## Total mail_history records updated with vin numbers: 33 out of 42 ============================================================ ====== Tracking Id: 1221 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-15 10:29:35') AND us2_order_type_id = 3 ## Order found: 1581 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1581 AND product_id = 142 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3697 ## Mailing found: '13013' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078504, Consumer Id: 1042148, Address Id: 5985836 => Updated with Vin: 1G6KD52Y2VU217579 ## Mail History Id: 30078486, Consumer Id: 1043270, Address Id: 12939296 => Updated with Vin: 1G6KD54Y11U187577 ## Mail History Id: 30078478, Consumer Id: 1043598, Address Id: 5981074 => Updated with Vin: 1G6KD57YX6U169856 ## Mail History Id: 30078536, Consumer Id: 1045974, Address Id: 12188361 => Updated with Vin: 1G6KD57YX8U186501 ## Mail History Id: 30078496, Consumer Id: 1041971, Address Id: 2853857 => Updated with Vin: W06VR54R9YR118901 ## Mail History Id: 30078528, Consumer Id: 1046895, Address Id: 5994130 => Updated with Vin: 1G6DC67AX50211128 ## Mail History Id: 30078494, Consumer Id: 1043430, Address Id: 2852479 => Updated with Vin: 1GYEK63N14R237053 ## Total mail_history records updated with vin numbers: 7 out of 10 ============================================================ ====== Tracking Id: 1222 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-15 10:31:18') AND us2_order_type_id = 3 ## Order found: 1579 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1579 AND product_id = 140 ## Job Group Found: '495' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('495') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808001') AND customer_id = 3768 ## Mailing found: '12996' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1223 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-15 10:32:35') AND us2_order_type_id = 3 ## Order found: 1582 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1582 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3815 ## Mailing found: '13018' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078568, Consumer Id: 1370873, Address Id: 15638455 => Updated with Vin: 1HGCG56602A036366 ## Mail History Id: 30078556, Consumer Id: 1364516, Address Id: 15634135 => Updated with Vin: 5FNRL18064B018440 ## Mail History Id: 30078576, Consumer Id: 1370405, Address Id: 15637829 => Updated with Vin: SHSRD78823U112666 ## Mail History Id: 30078554, Consumer Id: 1368037, Address Id: 9401546 => Updated with Vin: 1HGCD5638TA230224 ## Mail History Id: 30078544, Consumer Id: 1378745, Address Id: 15671516 => Updated with Vin: 1HGFA16276L142084 ## Mail History Id: 30078572, Consumer Id: 1366407, Address Id: 15639257 => Updated with Vin: 1HGCP26868A001274 ## Mail History Id: 30078580, Consumer Id: 1366705, Address Id: 15639570 => Updated with Vin: 1HGFA16828L028114 ## Mail History Id: 30078582, Consumer Id: 1372013, Address Id: 5786086 => Updated with Vin: 2HGFG12928H534584 ## Mail History Id: 30078600, Consumer Id: 1372011, Address Id: 15668788 => Updated with Vin: 5J6YH18358L011693 ## Mail History Id: 30078578, Consumer Id: 1372015, Address Id: 15668791 => Updated with Vin: 5FNRL38658B411240 ## Mail History Id: 30078594, Consumer Id: 1371980, Address Id: 8184578 => Updated with Vin: 1HGCP36858A042985 ## Total mail_history records updated with vin numbers: 11 out of 13 ============================================================ ====== Tracking Id: 1224 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-15 10:37:36') AND us2_order_type_id = 3 ## Order found: 1578 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1578 AND product_id = 140 ## Job Group Found: '495' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('495') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808001') AND customer_id = 3230 ## Mailing found: '12993' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1225 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-15 11:14:17') AND us2_order_type_id = 3 ## Order found: 1583 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1583 AND product_id = 112 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3486 ## Mailing found: '13003' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079362, Consumer Id: 464376, Address Id: 2006986 => Updated with Vin: 2GCEK19T531216079 ## Mail History Id: 30079360, Consumer Id: 465533, Address Id: 5263462 => Updated with Vin: 1GCDS136658174147 ## Mail History Id: 30079358, Consumer Id: 466422, Address Id: 9821178 => Updated with Vin: 1GCDS136158184567 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1226 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-15 11:16:56') AND us2_order_type_id = 3 ## Order found: 1584 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1584 AND product_id = 144 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1227 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-15 11:17:08') AND us2_order_type_id = 3 ## Order found: 1584 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1584 AND product_id = 112 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3705 ## Mailing found: '13005' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079349, Consumer Id: 961196, Address Id: 14831839 => Updated with Vin: 1GNEC13Z84R165901 ## Mail History Id: 30079357, Consumer Id: 965593, Address Id: 14836866 => Updated with Vin: 2GTEC13T861232397 ## Mail History Id: 30079351, Consumer Id: 971797, Address Id: 11386174 => Updated with Vin: 3GTEK13J28G212643 ## Mail History Id: 30079361, Consumer Id: 973358, Address Id: 14837659 => Updated with Vin: 1GCGC13U22F226843 ## Mail History Id: 30079355, Consumer Id: 973210, Address Id: 14836193 => Updated with Vin: 1GKEC13Z62R187633 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 1228 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-15 11:17:56') AND us2_order_type_id = 3 ## Order found: 1585 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1585 AND product_id = 113 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3808 ## Mailing found: '13006' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079245, Consumer Id: 1268603, Address Id: 15450811 => Updated with Vin: 1GNET16S866107709 ## Mail History Id: 30079440, Consumer Id: 1274675, Address Id: 15454942 => Updated with Vin: 2GCEC19T541210605 ## Mail History Id: 30079235, Consumer Id: 1271681, Address Id: 15452218 => Updated with Vin: 2G1WF55K4Y9153085 ## Mail History Id: 30079452, Consumer Id: 1272897, Address Id: 15453279 => Updated with Vin: 2G1WL52MXW9130762 ## Mail History Id: 30079442, Consumer Id: 1265797, Address Id: 15029996 => Updated with Vin: 2G1WF52E739256993 ## Mail History Id: 30079512, Consumer Id: 1265945, Address Id: 15437517 => Updated with Vin: 1G1NE52M0W6183354 ## Mail History Id: 30079295, Consumer Id: 1265895, Address Id: 15437471 => Updated with Vin: 1GNDT13W5V2140269 ## Mail History Id: 30079490, Consumer Id: 1266022, Address Id: 15437398 => Updated with Vin: 3GNFK16Z53G307039 ## Mail History Id: 30079185, Consumer Id: 1266029, Address Id: 15437595 => Updated with Vin: 2G1WH55K5Y9347182 ## Mail History Id: 30079508, Consumer Id: 1266114, Address Id: 15437669 => Updated with Vin: 1G2NE12T7YM728153 ## Mail History Id: 30079223, Consumer Id: 1271867, Address Id: 15452374 => Updated with Vin: 2GCEC19T1X1165599 ## Mail History Id: 30079243, Consumer Id: 1266116, Address Id: 15437671 => Updated with Vin: 2GCEK19V7X1221100 ## Mail History Id: 30079426, Consumer Id: 1265916, Address Id: 15437489 => Updated with Vin: 1G1AK55F367849721 ## Mail History Id: 30079213, Consumer Id: 1274607, Address Id: 15454893 => Updated with Vin: 1G1ND52J5XY144581 ## Mail History Id: 30079191, Consumer Id: 1266037, Address Id: 15437603 => Updated with Vin: 162H2541XY4188091 ## Mail History Id: 30079516, Consumer Id: 1265801, Address Id: 15437391 => Updated with Vin: 1GCEC19X48Z110351 ## Mail History Id: 30079498, Consumer Id: 1274951, Address Id: 15452823 => Updated with Vin: 1GNCS13WXV2120940 ## Mail History Id: 30079480, Consumer Id: 1265943, Address Id: 15437515 => Updated with Vin: 1GCEC14WXYZ155972 ## Mail History Id: 30079189, Consumer Id: 1274363, Address Id: 15454599 => Updated with Vin: 2GCEC19R3W1149973 ## Mail History Id: 30079462, Consumer Id: 1265942, Address Id: 15437514 => Updated with Vin: 1GCEC14W1YE150795 ## Mail History Id: 30079472, Consumer Id: 1266030, Address Id: 15437596 => Updated with Vin: 2GCEC19R6V1124239 ## Mail History Id: 30079470, Consumer Id: 1265800, Address Id: 15437390 => Updated with Vin: 2GCEK19T4Y1155783 ## Mail History Id: 30079265, Consumer Id: 1265999, Address Id: 15437568 => Updated with Vin: 5B4MP67G823339437 ## Mail History Id: 30079253, Consumer Id: 1265814, Address Id: 15437402 => Updated with Vin: 2G1WH55K729338474 ## Mail History Id: 30079255, Consumer Id: 1265947, Address Id: 15437518 => Updated with Vin: 2GCEC19T211400616 ## Mail History Id: 30079285, Consumer Id: 1281731, Address Id: 15451880 => Updated with Vin: 3GNEK12T54G337544 ## Mail History Id: 30079522, Consumer Id: 1265936, Address Id: 15437508 => Updated with Vin: 2GCEK19T321338907 ## Mail History Id: 30079347, Consumer Id: 1272281, Address Id: 15452690 => Updated with Vin: 1GNCS13W9X2228338 ## Mail History Id: 30079193, Consumer Id: 1265805, Address Id: 15437395 => Updated with Vin: 1GCGC13U43F182426 ## Mail History Id: 30079329, Consumer Id: 1266039, Address Id: 15437605 => Updated with Vin: 1GNEC13Z92R123525 ## Mail History Id: 30079303, Consumer Id: 1285445, Address Id: 15453253 => Updated with Vin: 1GNEC13Z64R227778 ## Mail History Id: 30079335, Consumer Id: 1271584, Address Id: 15452141 => Updated with Vin: 1GCEC19V5YZ108395 ## Mail History Id: 30079534, Consumer Id: 1266027, Address Id: 15437593 => Updated with Vin: 1GNFK16RXXJ307042 ## Mail History Id: 30079299, Consumer Id: 1272214, Address Id: 15451657 => Updated with Vin: 2GCEC19T6Y1239410 ## Mail History Id: 30079271, Consumer Id: 1272119, Address Id: 15452564 => Updated with Vin: 1G3WH52H0YF246929 ## Mail History Id: 30079241, Consumer Id: 1266009, Address Id: 4510892 => Updated with Vin: 5B4LP57G223354246 ## Mail History Id: 30079251, Consumer Id: 1273275, Address Id: 15453594 => Updated with Vin: 1G1ND52J92M644243 ## Mail History Id: 30079259, Consumer Id: 1274411, Address Id: 15454642 => Updated with Vin: 1G3HN52K0W4800766 ## Mail History Id: 30079468, Consumer Id: 1266001, Address Id: 15437570 => Updated with Vin: 1G1JC524617367575 ## Mail History Id: 30079187, Consumer Id: 1266065, Address Id: 15437626 => Updated with Vin: 2G1WF55K4Y9163020 ## Mail History Id: 30079327, Consumer Id: 1265808, Address Id: 15437397 => Updated with Vin: 1GCEC19T83Z353540 ## Mail History Id: 30079536, Consumer Id: 1265804, Address Id: 15437394 => Updated with Vin: 2GCEC19X431309501 ## Mail History Id: 30079227, Consumer Id: 1265812, Address Id: 15437401 => Updated with Vin: 3GNEK12T84G281437 ## Mail History Id: 30079496, Consumer Id: 1275963, Address Id: 15452840 => Updated with Vin: 2GCEC19T221288854 ## Mail History Id: 30079237, Consumer Id: 1276732, Address Id: 15456814 => Updated with Vin: 1FTRX07273KC89400 ## Mail History Id: 30079199, Consumer Id: 1265900, Address Id: 15437475 => Updated with Vin: 1GNDM19W8TB117683 ## Mail History Id: 30079456, Consumer Id: 1265791, Address Id: 15437382 => Updated with Vin: 1GCCS1948X8120806 ## Mail History Id: 30079219, Consumer Id: 1266005, Address Id: 15437574 => Updated with Vin: 2G1WW12E439356963 ## Mail History Id: 30079428, Consumer Id: 1273103, Address Id: 15453448 => Updated with Vin: 2G1WW12E9Y9357520 ## Mail History Id: 30079289, Consumer Id: 1266042, Address Id: 15437608 => Updated with Vin: 2GCEC19T011113484 ## Mail History Id: 30079313, Consumer Id: 1273968, Address Id: 15454221 => Updated with Vin: 1G1ND52J91M680755 ## Mail History Id: 30079307, Consumer Id: 1266038, Address Id: 15437604 => Updated with Vin: 1GCDS136X58164544 ## Mail History Id: 30079291, Consumer Id: 1270977, Address Id: 15451631 => Updated with Vin: 1GNEC13ZX2R200550 ## Mail History Id: 30079530, Consumer Id: 1265935, Address Id: 15437507 => Updated with Vin: 1Y1SK52812Z427409 ## Mail History Id: 30079526, Consumer Id: 1265802, Address Id: 15437392 => Updated with Vin: 1G1NE52J42M566600 ## Mail History Id: 30079319, Consumer Id: 1265810, Address Id: 15437399 => Updated with Vin: 2GCEC19T621308992 ## Mail History Id: 30079261, Consumer Id: 1265912, Address Id: 5228853 => Updated with Vin: 1G1JF52F137133775 ## Mail History Id: 30079510, Consumer Id: 1276108, Address Id: 15456288 => Updated with Vin: 2GCEC19T231153360 ## Mail History Id: 30079450, Consumer Id: 1267459, Address Id: 15450815 => Updated with Vin: 1GNEK13Z34R131707 ## Mail History Id: 30079333, Consumer Id: 1265937, Address Id: 15437509 => Updated with Vin: 2G1WZ151249322263 ## Total mail_history records updated with vin numbers: 60 out of 64 ============================================================ ====== Tracking Id: 1229 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-15 11:18:03') AND us2_order_type_id = 3 ## Order found: 1585 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1585 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3808 ## Mailing found: '13017' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078784, Consumer Id: 1171406, Address Id: 15029596 => Updated with Vin: 3GNDA13D27S637632 ## Mail History Id: 30078778, Consumer Id: 1171180, Address Id: 15029394 => Updated with Vin: 2GCEC19V831238219 ## Mail History Id: 30078782, Consumer Id: 1172174, Address Id: 15030258 => Updated with Vin: 2G1WU581769147500 ## Mail History Id: 30078740, Consumer Id: 1172219, Address Id: 15030294 => Updated with Vin: 1GNFK16Z63J137319 ## Mail History Id: 30078748, Consumer Id: 1172165, Address Id: 15030250 => Updated with Vin: 2GCEC19T711150189 ## Mail History Id: 30078800, Consumer Id: 1171023, Address Id: 15029248 => Updated with Vin: 2G1FP22G0W2143266 ## Mail History Id: 30078746, Consumer Id: 1172221, Address Id: 15030296 => Updated with Vin: 1G4HR52K9VH481990 ## Mail History Id: 30078818, Consumer Id: 1172208, Address Id: 11610025 => Updated with Vin: 3GNEC13T33G143122 ## Mail History Id: 30078790, Consumer Id: 1172211, Address Id: 6141157 => Updated with Vin: 1GCCS196648119151 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 1230 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-15 11:18:10') AND us2_order_type_id = 3 ## Order found: 1586 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1586 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3721 ## Mailing found: '13015' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078624, Consumer Id: 1014510, Address Id: 6658366 => Updated with Vin: 4F2CZ061X6KM30022 ## Mail History Id: 30078638, Consumer Id: 1017602, Address Id: 14933551 => Updated with Vin: JM1FE173840130311 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 1231 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-15 11:18:27') AND us2_order_type_id = 3 ## Order found: 1585 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1585 AND product_id = 112 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3808 ## Mailing found: '13006' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079446, Consumer Id: 1170973, Address Id: 15029202 => Updated with Vin: 2GCEK13T161152829 ## Mail History Id: 30079239, Consumer Id: 1171156, Address Id: 15029373 => Updated with Vin: 2G4WS52J231108924 ## Mail History Id: 30079464, Consumer Id: 1170925, Address Id: 15029159 => Updated with Vin: 3GNFK16RXXG260385 ## Mail History Id: 30079520, Consumer Id: 1170979, Address Id: 15029208 => Updated with Vin: 1G1ND52T4WY134673 ## Mail History Id: 30079430, Consumer Id: 1170922, Address Id: 15029156 => Updated with Vin: 1G1JH52F637364956 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 1232 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-15 11:18:47') AND us2_order_type_id = 3 ## Order found: 1585 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1585 AND product_id = 114 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3808 ## Mailing found: '13006' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079203, Consumer Id: 1268876, Address Id: 15454600 => Updated with Vin: 1GCEK19T14E178687 ## Mail History Id: 30079281, Consumer Id: 1268909, Address Id: 15455787 => Updated with Vin: 2G1WW12EX49121064 ## Mail History Id: 30079528, Consumer Id: 1279414, Address Id: 15030044 => Updated with Vin: 1GNDM19W2VB146258 ## Mail History Id: 30079181, Consumer Id: 1274943, Address Id: 15455156 => Updated with Vin: 1G1JC5240V7185375 ## Mail History Id: 30079273, Consumer Id: 1274944, Address Id: 15455157 => Updated with Vin: 2GCEC19R8V1190453 ## Mail History Id: 30079325, Consumer Id: 1270973, Address Id: 15451628 => Updated with Vin: 2GBEC19M8T1134146 ## Mail History Id: 30079466, Consumer Id: 1274753, Address Id: 15455002 => Updated with Vin: 1GTEC19T3YZ166312 ## Mail History Id: 30079331, Consumer Id: 1274953, Address Id: 6145484 => Updated with Vin: 2G1WW12M8X9162417 ## Mail History Id: 30079275, Consumer Id: 1287010, Address Id: 15452330 => Updated with Vin: 1GTCS1442Y8189029 ## Mail History Id: 30079215, Consumer Id: 1273857, Address Id: 15454137 => Updated with Vin: 1GTFC24K1NE526222 ## Mail History Id: 30079293, Consumer Id: 1272121, Address Id: 15452565 => Updated with Vin: 2GCEC19T131170179 ## Mail History Id: 30079283, Consumer Id: 1276288, Address Id: 15456426 => Updated with Vin: 2G1WF52E739186962 ## Mail History Id: 30079311, Consumer Id: 1279171, Address Id: 15451859 => Updated with Vin: 3GNEC13T63G345677 ## Mail History Id: 30079269, Consumer Id: 1273792, Address Id: 15454081 => Updated with Vin: 1GBLP37J7V3313730 ## Mail History Id: 30079444, Consumer Id: 1278113, Address Id: 15451129 => Updated with Vin: 1GNEC13Z14R319137 ## Mail History Id: 30079474, Consumer Id: 1272972, Address Id: 15453342 => Updated with Vin: 1GNEC13Z23R160854 ## Mail History Id: 30079233, Consumer Id: 1274195, Address Id: 15454390 => Updated with Vin: 1GNEC13T81R203781 ## Mail History Id: 30079494, Consumer Id: 1274775, Address Id: 15453385 => Updated with Vin: 1GCGK13U03F155971 ## Mail History Id: 30079305, Consumer Id: 1270863, Address Id: 15451535 => Updated with Vin: 1GNEC13Z32R163308 ## Mail History Id: 30079343, Consumer Id: 1271005, Address Id: 15451648 => Updated with Vin: 1G12T51FX6F215205 ## Mail History Id: 30079287, Consumer Id: 1279894, Address Id: 15458367 => Updated with Vin: 1GTEC14H1NE526442 ## Mail History Id: 30079488, Consumer Id: 1272522, Address Id: 15452983 => Updated with Vin: 1GNDT13S622388510 ## Mail History Id: 30079500, Consumer Id: 1287384, Address Id: 15451927 => Updated with Vin: 1GCHC33J3VF001468 ## Mail History Id: 30079506, Consumer Id: 1274053, Address Id: 15454290 => Updated with Vin: 1GNEC16Z72J132671 ## Mail History Id: 30079458, Consumer Id: 1274521, Address Id: 15454722 => Updated with Vin: 2GCEC19TX31392154 ## Mail History Id: 30079484, Consumer Id: 1274835, Address Id: 15455066 => Updated with Vin: 2GCEC19T421421825 ## Mail History Id: 30079207, Consumer Id: 1287021, Address Id: 4511401 => Updated with Vin: 1G4HR54K85U198131 ## Mail History Id: 30079504, Consumer Id: 1275285, Address Id: 15029738 => Updated with Vin: 2GCEC19T6Y1286615 ## Mail History Id: 30079502, Consumer Id: 1275719, Address Id: 15455919 => Updated with Vin: 1GCGC29F8SE195120 ## Mail History Id: 30079205, Consumer Id: 1277138, Address Id: 15029642 => Updated with Vin: 2G1FP22K0V2152410 ## Mail History Id: 30079267, Consumer Id: 1271004, Address Id: 15451647 => Updated with Vin: 1GCEC14W5YZ111569 ## Mail History Id: 30079277, Consumer Id: 1276384, Address Id: 15456497 => Updated with Vin: 2G1WL52M5X9192068 ## Mail History Id: 30079217, Consumer Id: 1280281, Address Id: 15452329 => Updated with Vin: 2GCEC19T441434755 ## Mail History Id: 30079257, Consumer Id: 1273278, Address Id: 15453596 => Updated with Vin: 1G1NE52JX16172490 ## Mail History Id: 30079436, Consumer Id: 1272521, Address Id: 15452982 => Updated with Vin: 1GNEC13T91R148189 ## Mail History Id: 30079524, Consumer Id: 1273457, Address Id: 15451607 => Updated with Vin: 1G1JC124627233188 ## Mail History Id: 30079518, Consumer Id: 1279446, Address Id: 15459086 => Updated with Vin: JN8AR05Y5WW262969 ## Mail History Id: 30079432, Consumer Id: 1271142, Address Id: 15451767 => Updated with Vin: 1GNDS13S422308365 ## Mail History Id: 30079492, Consumer Id: 1286843, Address Id: 15452328 => Updated with Vin: 2G2WR554761299738 ## Mail History Id: 30079460, Consumer Id: 1272973, Address Id: 15453343 => Updated with Vin: 3GNEK13T42G114231 ## Mail History Id: 30079247, Consumer Id: 1272743, Address Id: 15453158 => Updated with Vin: 1GCEC14T62Z309218 ## Mail History Id: 30079486, Consumer Id: 1274833, Address Id: 15455064 => Updated with Vin: 1G1JH52F237271089 ## Mail History Id: 30079211, Consumer Id: 1267461, Address Id: 15450518 => Updated with Vin: 1G1YY32G145102433 ## Mail History Id: 30079454, Consumer Id: 1267460, Address Id: 15450816 => Updated with Vin: 1GNDS13S022154124 ## Mail History Id: 30079438, Consumer Id: 1267594, Address Id: 15450935 => Updated with Vin: 1GNDS13S432397307 ## Mail History Id: 30079448, Consumer Id: 1267583, Address Id: 15450926 => Updated with Vin: 1GCEC14X94Z110928 ## Mail History Id: 30079297, Consumer Id: 1275243, Address Id: 15452766 => Updated with Vin: 2GCEC19KXS1306220 ## Mail History Id: 30079482, Consumer Id: 1268023, Address Id: 15454404 => Updated with Vin: 1GNEC13T71R111674 ## Total mail_history records updated with vin numbers: 48 out of 53 ============================================================ ====== Tracking Id: 1233 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-15 11:44:05') AND us2_order_type_id = 3 ## Order found: 1587 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1587 AND product_id = 142 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3357 ## Mailing found: '13008' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079140, Consumer Id: 155827, Address Id: 397859 => Updated with Vin: 1G8ZY12761Z306983 ## Mail History Id: 30079158, Consumer Id: 188530, Address Id: 399796 => Updated with Vin: JM1BK323441205459 ## Mail History Id: 30079146, Consumer Id: 155782, Address Id: 397816 => Updated with Vin: 5LMFU28R62LJ01373 ## Mail History Id: 30079132, Consumer Id: 197423, Address Id: 405225 => Updated with Vin: JM1FE17N240133996 ## Mail History Id: 30079110, Consumer Id: 167724, Address Id: 405358 => Updated with Vin: WDBTJ65J74F084592 ## Mail History Id: 30079122, Consumer Id: 187757, Address Id: 399031 => Updated with Vin: 1FTPX12515FA06659 ## Mail History Id: 30079136, Consumer Id: 155198, Address Id: 397275 => Updated with Vin: 1FTRW12W97KC95465 ## Total mail_history records updated with vin numbers: 7 out of 16 ============================================================ ====== Tracking Id: 1234 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-15 12:15:42') AND us2_order_type_id = 3 ## Order found: 1588 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1588 AND product_id = 113 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3427 ## Mailing found: '13000' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079190, Consumer Id: 499168, Address Id: 9833305 => Updated with Vin: 1HGES16553L016448 ## Mail History Id: 30079264, Consumer Id: 505076, Address Id: 327017 => Updated with Vin: SHSRD78865U308659 ## Mail History Id: 30079210, Consumer Id: 492986, Address Id: 9828461 => Updated with Vin: 1HGCM66583A029978 ## Mail History Id: 30079250, Consumer Id: 499907, Address Id: 326055 => Updated with Vin: JHMCM56383C029165 ## Mail History Id: 30079288, Consumer Id: 502898, Address Id: 9838643 => Updated with Vin: SHSRD78484U255653 ## Mail History Id: 30079334, Consumer Id: 510406, Address Id: 9832184 => Updated with Vin: 5FNYF18675B063427 ## Mail History Id: 30079274, Consumer Id: 482438, Address Id: 329284 => Updated with Vin: 1HGCM55787A132921 ## Total mail_history records updated with vin numbers: 7 out of 9 ============================================================ ====== Tracking Id: 1235 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-15 12:15:55') AND us2_order_type_id = 3 ## Order found: 1589 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1589 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3471 ## Mailing found: '13012' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078984, Consumer Id: 800235, Address Id: 10215512 => Updated with Vin: 1GNEK13T61R107991 ## Mail History Id: 30078960, Consumer Id: 817624, Address Id: 7416414 => Updated with Vin: JA3AD29F54U010368 ## Mail History Id: 30078972, Consumer Id: 822880, Address Id: 7416678 => Updated with Vin: 1FMZU73W03UC65997 ## Mail History Id: 30079028, Consumer Id: 823420, Address Id: 11878824 => Updated with Vin: 3VWCD21CX3M440554 ## Mail History Id: 30079046, Consumer Id: 806201, Address Id: 11873746 => Updated with Vin: 1G4HR54K11U279188 ## Mail History Id: 30079056, Consumer Id: 806613, Address Id: 11869837 => Updated with Vin: 1G6DP567350109349 ## Mail History Id: 30078966, Consumer Id: 807503, Address Id: 7415984 => Updated with Vin: 1GYEK63NX4R255356 ## Mail History Id: 30078930, Consumer Id: 760216, Address Id: 10211425 => Updated with Vin: 1G6KY5499WU933200 ## Mail History Id: 30078976, Consumer Id: 800514, Address Id: 7416970 => Updated with Vin: 1G6KE57Y81U177248 ## Mail History Id: 30079036, Consumer Id: 799602, Address Id: 10219649 => Updated with Vin: 1G3NL52T6YC357257 ## Mail History Id: 30078980, Consumer Id: 821366, Address Id: 10214871 => Updated with Vin: 1GYEK63N84R231928 ## Mail History Id: 30078922, Consumer Id: 798624, Address Id: 7877910 => Updated with Vin: 1GHDT13S722202850 ## Mail History Id: 30078988, Consumer Id: 807924, Address Id: 10215608 => Updated with Vin: 1G6KD54Y94U195768 ## Mail History Id: 30078940, Consumer Id: 760317, Address Id: 7878463 => Updated with Vin: 3GYEK63N42G217909 ## Mail History Id: 30079016, Consumer Id: 798185, Address Id: 10217403 => Updated with Vin: 1G6KY5497YU169785 ## Mail History Id: 30079038, Consumer Id: 802549, Address Id: 10220239 => Updated with Vin: 1G6KD54Y5WU753327 ## Mail History Id: 30079048, Consumer Id: 805564, Address Id: 11873554 => Updated with Vin: 1GYEK63N64R269156 ## Mail History Id: 30079040, Consumer Id: 760417, Address Id: 10220949 => Updated with Vin: 1G6YX36D485601035 ## Mail History Id: 30079030, Consumer Id: 799258, Address Id: 10219249 => Updated with Vin: 1GYEK63N42R322658 ## Mail History Id: 30078948, Consumer Id: 803869, Address Id: 7878553 => Updated with Vin: 1G6KD57YX4U166663 ## Mail History Id: 30078970, Consumer Id: 818566, Address Id: 7416577 => Updated with Vin: 1G6KD57Y66U121688 ## Mail History Id: 30078990, Consumer Id: 818567, Address Id: 10561653 => Updated with Vin: 1G6DP577060135634 ## Mail History Id: 30079018, Consumer Id: 772955, Address Id: 11874191 => Updated with Vin: 1GYFK63858R102663 ## Mail History Id: 30079026, Consumer Id: 760509, Address Id: 10562930 => Updated with Vin: 1GYEK63N86R152634 ## Mail History Id: 30078962, Consumer Id: 760520, Address Id: 10213747 => Updated with Vin: 1GYEK13R9XR415303 ## Mail History Id: 30079004, Consumer Id: 773044, Address Id: 11874249 => Updated with Vin: 1G6DP57V480114187 ## Mail History Id: 30079052, Consumer Id: 806243, Address Id: 11871293 => Updated with Vin: 1G6VS3386MU126142 ## Total mail_history records updated with vin numbers: 27 out of 35 ============================================================ ====== Tracking Id: 1236 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-15 12:15:59') AND us2_order_type_id = 3 ## Order found: 1588 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1588 AND product_id = 112 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3427 ## Mailing found: '13000' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079316, Consumer Id: 492670, Address Id: 9828227 => Updated with Vin: JHMCB768XPC034550 ## Mail History Id: 30079294, Consumer Id: 494684, Address Id: 9829700 => Updated with Vin: 5FNRL18723B128669 ## Mail History Id: 30079308, Consumer Id: 495023, Address Id: 9829959 => Updated with Vin: 5FNRL18982B024901 ## Mail History Id: 30079332, Consumer Id: 503618, Address Id: 9839302 => Updated with Vin: SHSRD78805U301402 ## Mail History Id: 30079248, Consumer Id: 509828, Address Id: 326012 => Updated with Vin: 1HGCM66565A069897 ## Mail History Id: 30079212, Consumer Id: 492418, Address Id: 9828034 => Updated with Vin: 1HGCG56402A056180 ## Mail History Id: 30079328, Consumer Id: 497185, Address Id: 8540292 => Updated with Vin: 2HGEJ6612XH592675 ## Mail History Id: 30079296, Consumer Id: 501780, Address Id: 9836729 => Updated with Vin: 2HKYF18554H512997 ## Mail History Id: 30079196, Consumer Id: 495895, Address Id: 9830604 => Updated with Vin: 2HKRL1863YH613225 ## Mail History Id: 30079222, Consumer Id: 492921, Address Id: 9828416 => Updated with Vin: 2HKRL1857YH537015 ## Mail History Id: 30079198, Consumer Id: 501925, Address Id: 7552135 => Updated with Vin: 1HGCG16462A031633 ## Mail History Id: 30079350, Consumer Id: 509619, Address Id: 9843087 => Updated with Vin: 1HGCM56705A176326 ## Mail History Id: 30079258, Consumer Id: 499554, Address Id: 9833528 => Updated with Vin: 1HGCG2257YA015275 ## Mail History Id: 30079298, Consumer Id: 513865, Address Id: 9845667 => Updated with Vin: 2HKRL18731H590933 ## Total mail_history records updated with vin numbers: 14 out of 17 ============================================================ ====== Tracking Id: 1237 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-15 12:16:12') AND us2_order_type_id = 3 ## Order found: 1589 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1589 AND product_id = 112 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3471 ## Mailing found: '13002' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079363, Consumer Id: 798244, Address Id: 7878056 => Updated with Vin: 1G3GR64H714229275 ## Mail History Id: 30079387, Consumer Id: 805987, Address Id: 10561723 => Updated with Vin: 1G3NL52EXXC308417 ## Mail History Id: 30079379, Consumer Id: 817000, Address Id: 7416586 => Updated with Vin: 1G6KD57Y65U228934 ## Mail History Id: 30079375, Consumer Id: 799546, Address Id: 7416336 => Updated with Vin: 1G6KE57Y52U229372 ## Mail History Id: 30079395, Consumer Id: 806001, Address Id: 10218799 => Updated with Vin: 1GYEK63N92R106465 ## Mail History Id: 30079381, Consumer Id: 805500, Address Id: 7416803 => Updated with Vin: 1GYEE63A640144392 ## Mail History Id: 30079371, Consumer Id: 804291, Address Id: 7878689 => Updated with Vin: 1GYEK63N33R117530 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 1238 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-15 14:14:06') AND us2_order_type_id = 3 ## Order found: 1590 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1590 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3418 ## Mailing found: '13010' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078712, Consumer Id: 664454, Address Id: 11783712 => Updated with Vin: 1G6DM57NX30100277 ## Mail History Id: 30078682, Consumer Id: 610630, Address Id: 11755329 => Updated with Vin: 1G2ZH18N374108335 ## Mail History Id: 30078696, Consumer Id: 674245, Address Id: 11790499 => Updated with Vin: 1GYDE63AX40139059 ## Mail History Id: 30078704, Consumer Id: 679820, Address Id: 11786435 => Updated with Vin: 1G6KD57936U165804 ## Mail History Id: 30078652, Consumer Id: 610948, Address Id: 11755598 => Updated with Vin: 1GYFK63858R216761 ## Mail History Id: 30078702, Consumer Id: 676832, Address Id: 11792103 => Updated with Vin: 1G6DW677860218351 ## Mail History Id: 30078668, Consumer Id: 612400, Address Id: 11756092 => Updated with Vin: 1G6DM57T960127649 ## Mail History Id: 30078698, Consumer Id: 629789, Address Id: 11770007 => Updated with Vin: 1GYFK63897R212663 ## Mail History Id: 30078670, Consumer Id: 679267, Address Id: 11793506 => Updated with Vin: 1G6DP577270163064 ## Mail History Id: 30078664, Consumer Id: 626879, Address Id: 11764544 => Updated with Vin: 1G6DM57T570156129 ## Mail History Id: 30078706, Consumer Id: 679266, Address Id: 11418106 => Updated with Vin: 1G6DP577370162439 ## Mail History Id: 30078720, Consumer Id: 610535, Address Id: 8877062 => Updated with Vin: 1G6DS57V480145972 ## Mail History Id: 30078672, Consumer Id: 680643, Address Id: 11794360 => Updated with Vin: 1G6DC67A060144279 ## Mail History Id: 30078714, Consumer Id: 626905, Address Id: 11764565 => Updated with Vin: 1GYFK638X7R332794 ## Mail History Id: 30078658, Consumer Id: 610332, Address Id: 11755066 => Updated with Vin: 1G6KF57975U175096 ## Mail History Id: 30078686, Consumer Id: 612168, Address Id: 11755910 => Updated with Vin: 1GYDE637740120358 ## Mail History Id: 30078700, Consumer Id: 678431, Address Id: 11787373 => Updated with Vin: 1GYEE637770152056 ## Total mail_history records updated with vin numbers: 17 out of 24 ============================================================ ====== Tracking Id: 1239 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-15 14:14:15') AND us2_order_type_id = 3 ## Order found: 1591 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1591 AND product_id = 113 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3451 ## Mailing found: '13001' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079501, Consumer Id: 613601, Address Id: 3242964 => Updated with Vin: 1G6EL12Y0YU136268 ## Mail History Id: 30079493, Consumer Id: 615338, Address Id: 3241865 => Updated with Vin: 1G6DM577440105073 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1240 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-15 14:14:27') AND us2_order_type_id = 3 ## Order found: 1591 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1591 AND product_id = 112 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3451 ## Mailing found: '13001' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079481, Consumer Id: 626984, Address Id: 11757125 => Updated with Vin: 1GYEE637660209524 ## Mail History Id: 30079517, Consumer Id: 612527, Address Id: 3246473 => Updated with Vin: 1G6KY54942U181352 ## Mail History Id: 30079455, Consumer Id: 620345, Address Id: 834841 => Updated with Vin: 1G6KF579X2U188937 ## Mail History Id: 30079461, Consumer Id: 622690, Address Id: 11762702 => Updated with Vin: 3GYEK62N55G279700 ## Mail History Id: 30079459, Consumer Id: 612803, Address Id: 11756340 => Updated with Vin: 1GYEC63T42R300431 ## Mail History Id: 30079429, Consumer Id: 611922, Address Id: 3240753 => Updated with Vin: 1G6DC67A470155030 ## Mail History Id: 30079443, Consumer Id: 627656, Address Id: 11765137 => Updated with Vin: 1G6DP567950145806 ## Mail History Id: 30079467, Consumer Id: 614760, Address Id: 11757537 => Updated with Vin: 1G6KE57YX3U200077 ## Mail History Id: 30079457, Consumer Id: 619455, Address Id: 11761202 => Updated with Vin: 3GYEK62N65G260332 ## Mail History Id: 30079419, Consumer Id: 618901, Address Id: 11760501 => Updated with Vin: 1GYEE637750106756 ## Mail History Id: 30079413, Consumer Id: 619491, Address Id: 11761227 => Updated with Vin: 1G6KD57Y67U148732 ## Mail History Id: 30079417, Consumer Id: 619507, Address Id: 11761233 => Updated with Vin: 2G4WB55K621139936 ## Mail History Id: 30079485, Consumer Id: 619511, Address Id: 11761240 => Updated with Vin: 1G6DC67A570195262 ## Mail History Id: 30079445, Consumer Id: 619482, Address Id: 11761221 => Updated with Vin: 1GYEK63N05R260826 ## Mail History Id: 30079497, Consumer Id: 619480, Address Id: 11761219 => Updated with Vin: 1FTPX14504NB37213 ## Mail History Id: 30079491, Consumer Id: 628385, Address Id: 11765639 => Updated with Vin: 1G6DM577840133880 ## Mail History Id: 30079415, Consumer Id: 628396, Address Id: 11765648 => Updated with Vin: 1G6DP577X60120963 ## Mail History Id: 30079449, Consumer Id: 619471, Address Id: 11761213 => Updated with Vin: 1C3AN79N65X037781 ## Total mail_history records updated with vin numbers: 18 out of 18 ============================================================ ====== Tracking Id: 1241 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-15 14:14:40') AND us2_order_type_id = 3 ## Order found: 1591 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1591 AND product_id = 114 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3451 ## Mailing found: '13001' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079465, Consumer Id: 611913, Address Id: 11760193 => Updated with Vin: 1G6DW677250122374 ## Mail History Id: 30079433, Consumer Id: 627829, Address Id: 11765253 => Updated with Vin: 1G6KD54YX5U239049 ## Mail History Id: 30079441, Consumer Id: 619339, Address Id: 11760974 => Updated with Vin: 1LNHM87A64Y613425 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1242 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = abc AND DATE(cart_created_date) = DATE('2008-08-15 16:41:29') AND us2_order_type_id = 3 ============================================================ ====== Tracking Id: 1242 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1243 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1244 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-15 20:14:11') AND us2_order_type_id = 3 ## Order found: 1592 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1592 AND product_id = 2150 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3503 ## Mailing found: '13402,13913' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992148, Consumer Id: 2175397, Address Id: 9723702 => Updated with Vin: 4T3ZF13C0YU310027 ## Mail History Id: 30993603, Consumer Id: 2175699, Address Id: 9723957 => Updated with Vin: JTEHH20V836074833 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 1245 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-15 20:14:26') AND us2_order_type_id = 3 ## Order found: 1592 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1592 AND product_id = 2153 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3503 ## Mailing found: '13380' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1246 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-16 07:15:01') AND us2_order_type_id = 3 ## Order found: 1655 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1655 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1247 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-16 08:14:25') AND us2_order_type_id = 3 ## Order found: 1640 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1640 AND product_id = 55 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1248 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-16 08:44:20') AND us2_order_type_id = 3 ## Order found: 1640 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1640 AND product_id = 113 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3230 ## Mailing found: '12998' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079392, Consumer Id: 38579, Address Id: 51686 => Updated with Vin: 1FAFP53U65A163759 ## Mail History Id: 30079418, Consumer Id: 93434, Address Id: 51943 => Updated with Vin: 1FMFK20598LA28204 ## Mail History Id: 30079420, Consumer Id: 66535, Address Id: 50246 => Updated with Vin: 1GNET16S126102538 ## Mail History Id: 30079424, Consumer Id: 93522, Address Id: 52023 => Updated with Vin: 1FTPX14V68FB00814 ## Mail History Id: 30079404, Consumer Id: 63845, Address Id: 52629 => Updated with Vin: 1FTZR45EX4PB51952 ## Mail History Id: 30079400, Consumer Id: 92422, Address Id: 48269 => Updated with Vin: 1FMEU74816UB36556 ## Mail History Id: 30079402, Consumer Id: 103518, Address Id: 53701 => Updated with Vin: 1FMZU73K52ZC63581 ## Mail History Id: 30079410, Consumer Id: 103820, Address Id: 53052 => Updated with Vin: 4M2DU86K95UJ16773 ## Mail History Id: 30079412, Consumer Id: 66302, Address Id: 49578 => Updated with Vin: 1FTRX12W24NA22990 ## Mail History Id: 30079378, Consumer Id: 103819, Address Id: 53861 => Updated with Vin: 1FTNX21F4YEC23057 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 1249 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-16 08:44:27') AND us2_order_type_id = 3 ## Order found: 1640 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1640 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3230 ## Mailing found: '13007' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078408, Consumer Id: 629043, Address Id: 11766312 => Updated with Vin: 2FTEF18L9VCA73327 ## Mail History Id: 30078688, Consumer Id: 629037, Address Id: 11766307 => Updated with Vin: 1FTNX20L3YEA19616 ## Mail History Id: 30078446, Consumer Id: 64766, Address Id: 48260 => Updated with Vin: 1FTZR45E12TA18629 ## Mail History Id: 30078444, Consumer Id: 67657, Address Id: 51085 => Updated with Vin: 1FMDK02187GA13996 ## Mail History Id: 30078378, Consumer Id: 38528, Address Id: 50455 => Updated with Vin: 2FMDK36C57BB30620 ## Mail History Id: 30078328, Consumer Id: 103658, Address Id: 52513 => Updated with Vin: 1FTSW21R58EB59255 ## Mail History Id: 30078412, Consumer Id: 629044, Address Id: 11766313 => Updated with Vin: 1FAHP34NX7W150149 ## Mail History Id: 30078374, Consumer Id: 629041, Address Id: 11766310 => Updated with Vin: 1FMCU03Z78KA86544 ## Mail History Id: 30078260, Consumer Id: 629412, Address Id: 11769802 => Updated with Vin: 1FMZU77K45UB69154 ## Mail History Id: 30078434, Consumer Id: 629042, Address Id: 11766311 => Updated with Vin: 1MELM55U0TG600117 ## Mail History Id: 30078348, Consumer Id: 64467, Address Id: 48817 => Updated with Vin: 1FAFP38Z95W151505 ## Mail History Id: 30078264, Consumer Id: 63870, Address Id: 51637 => Updated with Vin: 2FTRX17223CA79300 ## Mail History Id: 30078398, Consumer Id: 64921, Address Id: 49251 => Updated with Vin: 1FTPW14595FA74997 ## Mail History Id: 30078400, Consumer Id: 93431, Address Id: 50396 => Updated with Vin: 1FMCU03178KC09821 ## Mail History Id: 30078370, Consumer Id: 92488, Address Id: 48678 => Updated with Vin: 1FMDK06197GA01009 ## Mail History Id: 30078370, Consumer Id: 63224, Address Id: 48678 => Updated with Vin: 2FTRX08L01CA64390 ## Mail History Id: 30078360, Consumer Id: 67665, Address Id: 53336 => Updated with Vin: 1MEHM55S72A626915 ## Mail History Id: 30078320, Consumer Id: 62869, Address Id: 47770 => Updated with Vin: 1FTJW36F3VEA39031 ## Mail History Id: 30078312, Consumer Id: 64457, Address Id: 47385 => Updated with Vin: 1FAFP34P61W217913 ## Mail History Id: 30078316, Consumer Id: 103494, Address Id: 51222 => Updated with Vin: 2G2FS22K322140189 ## Mail History Id: 30078358, Consumer Id: 64704, Address Id: 47703 => Updated with Vin: 1FAHP34P9YW313442 ## Mail History Id: 30078268, Consumer Id: 662993, Address Id: 11782676 => Updated with Vin: 1FAHP35N48W140717 ## Mail History Id: 30078386, Consumer Id: 93017, Address Id: 51446 => Updated with Vin: 3FAHP06Z27R211219 ## Mail History Id: 30078256, Consumer Id: 64580, Address Id: 50368 => Updated with Vin: 1FMYU93104KB22394 ## Mail History Id: 30078274, Consumer Id: 63769, Address Id: 47837 => Updated with Vin: 2FMZA52402BB76206 ## Mail History Id: 30078278, Consumer Id: 629411, Address Id: 11769801 => Updated with Vin: 1FAHP25W58G114933 ## Mail History Id: 30078270, Consumer Id: 63864, Address Id: 48108 => Updated with Vin: 1FTNW21P03EC04557 ## Mail History Id: 30078284, Consumer Id: 92869, Address Id: 51288 => Updated with Vin: 1FMEU73E97UA97675 ## Mail History Id: 30078402, Consumer Id: 629413, Address Id: 103072 => Updated with Vin: 3FAHP02158R246581 ## Mail History Id: 30078448, Consumer Id: 93513, Address Id: 52018 => Updated with Vin: 1FMCU93Z98KC24394 ## Mail History Id: 30078404, Consumer Id: 629040, Address Id: 11766309 => Updated with Vin: 2C4GJ2534YR705332 ## Mail History Id: 30078322, Consumer Id: 65013, Address Id: 47858 => Updated with Vin: 1FAFP55U91G191396 ## Total mail_history records updated with vin numbers: 32 out of 43 ============================================================ ====== Tracking Id: 1250 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-16 09:17:55') AND us2_order_type_id = 3 ## Order found: 1641 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1641 AND product_id = 142 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3768 ## Mailing found: '13016' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078502, Consumer Id: 1111406, Address Id: 8826821 => Updated with Vin: 1G6KD54Y12U125050 ## Mail History Id: 30078492, Consumer Id: 1110769, Address Id: 12411986 => Updated with Vin: 1G6DC67AX50169639 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 1251 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-16 10:17:40') AND us2_order_type_id = 3 ## Order found: 1642 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1642 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3416 ## Mailing found: '13009' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078224, Consumer Id: 939517, Address Id: 11961265 => Updated with Vin: 1G6KD52Y5TU252744 ## Mail History Id: 30078160, Consumer Id: 625491, Address Id: 1960532 => Updated with Vin: 1G6KS54YX1U262914 ## Mail History Id: 30078234, Consumer Id: 681623, Address Id: 1969507 => Updated with Vin: W06VR54R8XR120492 ## Mail History Id: 30078238, Consumer Id: 955780, Address Id: 11965461 => Updated with Vin: 1GYEE437180153273 ## Mail History Id: 30078218, Consumer Id: 687943, Address Id: 1969108 => Updated with Vin: 1GYEK63N75R122717 ## Mail History Id: 30078202, Consumer Id: 688588, Address Id: 11796911 => Updated with Vin: 3GYFK66N15G166504 ## Total mail_history records updated with vin numbers: 6 out of 16 ============================================================ ====== Tracking Id: 1252 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-16 10:18:21') AND us2_order_type_id = 3 ## Order found: 1643 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1643 AND product_id = 2152 ## Job Group Found: '495' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('495') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808001') AND customer_id = 3418 ## Mailing found: '12994' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1253 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-16 10:21:06') AND us2_order_type_id = 3 ## Order found: 1644 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1644 AND product_id = 142 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3697 ## Mailing found: '13013' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078530, Consumer Id: 1052053, Address Id: 12938049 => Updated with Vin: 1GCCS145318193959 ## Mail History Id: 30078526, Consumer Id: 1052028, Address Id: 14955034 => Updated with Vin: 3GYFK62807G296485 ## Mail History Id: 30078518, Consumer Id: 1042835, Address Id: 5990043 => Updated with Vin: 1G6KF52Y2RU232230 ## Mail History Id: 30078532, Consumer Id: 1044541, Address Id: 14952855 => Updated with Vin: 1GYEE63A240192438 ## Mail History Id: 30078498, Consumer Id: 1045835, Address Id: 3240240 => Updated with Vin: 1G6KF57924U205622 ## Mail History Id: 30078522, Consumer Id: 1042554, Address Id: 8828815 => Updated with Vin: 1G6KY54903U167711 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 1254 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-16 10:23:12') AND us2_order_type_id = 3 ## Order found: 1645 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1645 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3815 ## Mailing found: '13018' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078566, Consumer Id: 1379750, Address Id: 15633857 => Updated with Vin: 5J6RE38708L002413 ## Mail History Id: 30078610, Consumer Id: 1372618, Address Id: 15637535 => Updated with Vin: JHMCG5551XC049645 ## Mail History Id: 30078604, Consumer Id: 1361179, Address Id: 2414084 => Updated with Vin: 5FNRL38445B029923 ## Mail History Id: 30078606, Consumer Id: 1378291, Address Id: 15670112 => Updated with Vin: 2HGFG12687H531998 ## Mail History Id: 30078540, Consumer Id: 1362606, Address Id: 15635149 => Updated with Vin: SHSRD68566U400436 ## Mail History Id: 30078586, Consumer Id: 1365821, Address Id: 15638118 => Updated with Vin: 2HGFG12867H560692 ## Mail History Id: 30078588, Consumer Id: 1365475, Address Id: 15638541 => Updated with Vin: 5FNRL38667B050552 ## Mail History Id: 30078542, Consumer Id: 1379115, Address Id: 15671507 => Updated with Vin: 2HGFA15817H505256 ## Mail History Id: 30078546, Consumer Id: 1367495, Address Id: 15640110 => Updated with Vin: 2HGES16534H623348 ## Mail History Id: 30078612, Consumer Id: 1367353, Address Id: 15640023 => Updated with Vin: 1HGEM22994L061774 ## Mail History Id: 30078562, Consumer Id: 1367244, Address Id: 15639969 => Updated with Vin: 5FNRL38478B015826 ## Total mail_history records updated with vin numbers: 11 out of 17 ============================================================ ====== Tracking Id: 1255 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-16 10:44:03') AND us2_order_type_id = 3 ## Order found: 1640 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1640 AND product_id = 140 ## Job Group Found: '495' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('495') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808001') AND customer_id = 3230 ## Mailing found: '12993' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1256 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-16 11:14:23') AND us2_order_type_id = 3 ## Order found: 1646 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1646 AND product_id = 112 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3486 ## Mailing found: '13003' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079366, Consumer Id: 465945, Address Id: 1361859 => Updated with Vin: 1GCGG25V351135565 ## Mail History Id: 30079356, Consumer Id: 476042, Address Id: 2519167 => Updated with Vin: 2G1WF52E949373881 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 1257 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-16 11:16:49') AND us2_order_type_id = 3 ## Order found: 1647 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1647 AND product_id = 144 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3705 ## Mailing found: '13014' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078914, Consumer Id: 972999, Address Id: 14835855 => Updated with Vin: 1GNDS13S082132777 ## Mail History Id: 30078842, Consumer Id: 972987, Address Id: 4823589 => Updated with Vin: 1GTEC14048Z242701 ## Mail History Id: 30078876, Consumer Id: 972986, Address Id: 14843282 => Updated with Vin: 1FTRX12W34NA77559 ## Mail History Id: 30078844, Consumer Id: 972988, Address Id: 14843283 => Updated with Vin: 2G4WF5210X1506966 ## Mail History Id: 30078898, Consumer Id: 972991, Address Id: 14843286 => Updated with Vin: 1B3ES56C54D637593 ## Mail History Id: 30078860, Consumer Id: 972995, Address Id: 14843288 => Updated with Vin: 1G4HP52K85U265285 ## Mail History Id: 30078868, Consumer Id: 972998, Address Id: 10443965 => Updated with Vin: KL1TG56648B196730 ## Mail History Id: 30078894, Consumer Id: 973000, Address Id: 14843289 => Updated with Vin: 3GSCL53768S589428 ## Mail History Id: 30078882, Consumer Id: 973002, Address Id: 14843290 => Updated with Vin: 1GKDS13S882176698 ## Mail History Id: 30078872, Consumer Id: 973070, Address Id: 9160016 => Updated with Vin: 2G2WP522751151483 ## Mail History Id: 30078838, Consumer Id: 972996, Address Id: 618 => Updated with Vin: 4A3AK24F08E002545 ## Total mail_history records updated with vin numbers: 11 out of 16 ============================================================ ====== Tracking Id: 1258 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-16 11:17:04') AND us2_order_type_id = 3 ## Order found: 1647 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1647 AND product_id = 112 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3705 ## Mailing found: '13005' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079353, Consumer Id: 974617, Address Id: 14842891 => Updated with Vin: 1GKDM19X15B501474 ## Mail History Id: 30079359, Consumer Id: 960758, Address Id: 9862539 => Updated with Vin: 1G4HR54K12U237962 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1259 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-16 11:17:47') AND us2_order_type_id = 3 ## Order found: 1648 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1648 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3808 ## Mailing found: '13017' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078766, Consumer Id: 1172220, Address Id: 15030295 => Updated with Vin: 1G1AL55F577206057 ## Mail History Id: 30078796, Consumer Id: 1172164, Address Id: 15029703 => Updated with Vin: 1G1AK18FX87201252 ## Mail History Id: 30078752, Consumer Id: 1172209, Address Id: 15030286 => Updated with Vin: 1GNDS13S022402453 ## Mail History Id: 30078764, Consumer Id: 1171898, Address Id: 15030019 => Updated with Vin: 2G1WJ15K679313635 ## Mail History Id: 30078804, Consumer Id: 1172251, Address Id: 15030320 => Updated with Vin: 2MEFM75W23X701390 ## Mail History Id: 30078810, Consumer Id: 1171171, Address Id: 15029388 => Updated with Vin: 1GNEK13R1XJ520168 ## Mail History Id: 30078750, Consumer Id: 1172207, Address Id: 15030285 => Updated with Vin: 1GCEC14U52Z185749 ## Mail History Id: 30078770, Consumer Id: 829452, Address Id: 11884910 => Updated with Vin: 1G1ND52JXY6157095 ## Mail History Id: 30078792, Consumer Id: 1172233, Address Id: 15030307 => Updated with Vin: 2G1WW12E9Y9194710 ## Mail History Id: 30078774, Consumer Id: 1170860, Address Id: 15029098 => Updated with Vin: 1GNDM19W4YB153541 ## Mail History Id: 30078812, Consumer Id: 1172212, Address Id: 15030287 => Updated with Vin: 2G1WH52K139157392 ## Mail History Id: 30078742, Consumer Id: 1172166, Address Id: 15030251 => Updated with Vin: 1GCHK23132F187666 ## Total mail_history records updated with vin numbers: 12 out of 18 ============================================================ ====== Tracking Id: 1260 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-16 11:17:51') AND us2_order_type_id = 3 ## Order found: 1648 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1648 AND product_id = 112 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3808 ## Mailing found: '13006' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079315, Consumer Id: 1170771, Address Id: 15029016 => Updated with Vin: 1GKCS13W6Y2172194 ## Mail History Id: 30079434, Consumer Id: 1170761, Address Id: 15029006 => Updated with Vin: 1G6KD54YX1U234525 ## Mail History Id: 30079478, Consumer Id: 1170986, Address Id: 15029215 => Updated with Vin: 2G1WF55E3Y9144405 ## Mail History Id: 30079514, Consumer Id: 1171128, Address Id: 15029346 => Updated with Vin: 1GNDS13S332399291 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1261 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-16 11:17:59') AND us2_order_type_id = 3 ## Order found: 1649 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1649 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3721 ## Mailing found: '13015' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078622, Consumer Id: 1017136, Address Id: 12017800 => Updated with Vin: JM3TB28Y870113287 ## Mail History Id: 30078626, Consumer Id: 1009725, Address Id: 14931594 => Updated with Vin: JM1BK32F481784629 ## Mail History Id: 30078632, Consumer Id: 1010233, Address Id: 14931388 => Updated with Vin: 1YVFP80C945N10672 ## Mail History Id: 30078632, Consumer Id: 1010233, Address Id: 14931388 => Updated with Vin: 1YVFP80C945N10672 ## Mail History Id: 30078634, Consumer Id: 1009245, Address Id: 14930913 => Updated with Vin: 4F2YZ04154KM21234 ## Total mail_history records updated with vin numbers: 5 out of 8 ============================================================ ====== Tracking Id: 1262 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-16 11:18:02') AND us2_order_type_id = 3 ## Order found: 1648 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1648 AND product_id = 114 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3808 ## Mailing found: '13006' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079225, Consumer Id: 1274679, Address Id: 15454944 => Updated with Vin: 5B4LP57G113326405 ## Mail History Id: 30079321, Consumer Id: 1270970, Address Id: 15451625 => Updated with Vin: 1GCFC29U4XZ106010 ## Mail History Id: 30079317, Consumer Id: 1283730, Address Id: 15452686 => Updated with Vin: 1GTHK23U96F180771 ## Mail History Id: 30079195, Consumer Id: 1272032, Address Id: 15452497 => Updated with Vin: 5B4MP67G723347870 ## Mail History Id: 30079249, Consumer Id: 1286527, Address Id: 15453451 => Updated with Vin: 2G2WP522751265211 ## Mail History Id: 30079183, Consumer Id: 1278513, Address Id: 15455281 => Updated with Vin: KL1TD62634B259198 ## Mail History Id: 30079309, Consumer Id: 1270726, Address Id: 15029720 => Updated with Vin: 2G1FP32GX22120304 ## Mail History Id: 30079339, Consumer Id: 1281286, Address Id: 15456080 => Updated with Vin: 1GCHK23205F858031 ## Mail History Id: 30079337, Consumer Id: 1267545, Address Id: 15450894 => Updated with Vin: 2GCEC19T241254092 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 1263 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-16 11:18:14') AND us2_order_type_id = 3 ## Order found: 1648 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1648 AND product_id = 113 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3808 ## Mailing found: '13006' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079209, Consumer Id: 1265882, Address Id: 15437459 => Updated with Vin: 1GCCS1445W8151517 ## Mail History Id: 30079476, Consumer Id: 1265901, Address Id: 15437476 => Updated with Vin: 1G1AK55F577151726 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1264 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-16 11:44:10') AND us2_order_type_id = 3 ## Order found: 1650 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1650 AND product_id = 142 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3357 ## Mailing found: '13008' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079162, Consumer Id: 198968, Address Id: 407753 => Updated with Vin: JM3LW28J630335327 ## Mail History Id: 30079128, Consumer Id: 611896, Address Id: 404677 => Updated with Vin: 1FMCU03145KA63180 ## Mail History Id: 30079164, Consumer Id: 190928, Address Id: 401347 => Updated with Vin: 1FMDU74W13ZA63990 ## Mail History Id: 30079160, Consumer Id: 189382, Address Id: 400822 => Updated with Vin: 1FAFP42X52F187247 ## Mail History Id: 30079134, Consumer Id: 191478, Address Id: 400122 => Updated with Vin: 1FAFP34N65W215891 ## Mail History Id: 30079126, Consumer Id: 941026, Address Id: 404479 => Updated with Vin: 1FTPW14576FA35729 ## Mail History Id: 30079168, Consumer Id: 152880, Address Id: 395178 => Updated with Vin: 1FTPX12566FA37861 ## Mail History Id: 30079116, Consumer Id: 199509, Address Id: 407608 => Updated with Vin: 1FMYU95HX6KA48429 ## Mail History Id: 30079166, Consumer Id: 153434, Address Id: 395683 => Updated with Vin: 3FAHP07156R107511 ## Mail History Id: 30079100, Consumer Id: 154278, Address Id: 396447 => Updated with Vin: JM1BK34M471708502 ## Mail History Id: 30079124, Consumer Id: 154555, Address Id: 396707 => Updated with Vin: 1FTRW14547FA66043 ## Mail History Id: 30079106, Consumer Id: 584072, Address Id: 394682 => Updated with Vin: 1FTPW12597KD00338 ## Mail History Id: 30079154, Consumer Id: 154795, Address Id: 396922 => Updated with Vin: 1FMFK205X7LA80438 ## Mail History Id: 30079152, Consumer Id: 198314, Address Id: 406831 => Updated with Vin: 5LMFL28557LJ25655 ## Mail History Id: 30079138, Consumer Id: 941031, Address Id: 6901759 => Updated with Vin: 1N4AL21EX7N418473 ## Mail History Id: 30079144, Consumer Id: 155134, Address Id: 397215 => Updated with Vin: 1FAFP31N37W287106 ## Mail History Id: 30079108, Consumer Id: 941025, Address Id: 10500141 => Updated with Vin: 1ZVHT84N485121494 ## Mail History Id: 30079080, Consumer Id: 155469, Address Id: 397519 => Updated with Vin: 1FTPX14558FA59348 ## Mail History Id: 30079118, Consumer Id: 609716, Address Id: 11715537 => Updated with Vin: 1LNHM86S65Y641463 ## Mail History Id: 30079150, Consumer Id: 941034, Address Id: 11962087 => Updated with Vin: 2FMZA514XXBB62709 ## Mail History Id: 30079148, Consumer Id: 198726, Address Id: 406157 => Updated with Vin: 1FTYR14X1XTA34852 ## Mail History Id: 30079114, Consumer Id: 941017, Address Id: 11962077 => Updated with Vin: JT2BG22KXY0465713 ## Mail History Id: 30079142, Consumer Id: 196603, Address Id: 405971 => Updated with Vin: 1FTSW31FXYEC85901 ## Total mail_history records updated with vin numbers: 23 out of 32 ============================================================ ====== Tracking Id: 1265 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-16 12:16:33') AND us2_order_type_id = 3 ## Order found: 1651 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1651 AND product_id = 112 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3427 ## Mailing found: '13000' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079182, Consumer Id: 504976, Address Id: 9839920 => Updated with Vin: 2HGES16605H530006 ## Mail History Id: 30079202, Consumer Id: 514911, Address Id: 7552410 => Updated with Vin: 1HGCM56756A142139 ## Mail History Id: 30079322, Consumer Id: 512334, Address Id: 9844787 => Updated with Vin: 1HGES15501L022298 ## Mail History Id: 30079188, Consumer Id: 490999, Address Id: 9826954 => Updated with Vin: 1HGCM56343A081052 ## Mail History Id: 30079204, Consumer Id: 501727, Address Id: 9836693 => Updated with Vin: 5FNRL18844B123953 ## Mail History Id: 30079180, Consumer Id: 497121, Address Id: 9831490 => Updated with Vin: 1HGCD5681TA131868 ## Mail History Id: 30079238, Consumer Id: 499024, Address Id: 9832847 => Updated with Vin: 2HGES15531H529001 ## Mail History Id: 30079186, Consumer Id: 499485, Address Id: 9833484 => Updated with Vin: 1HGCM66544A041160 ## Mail History Id: 30079346, Consumer Id: 497889, Address Id: 9832033 => Updated with Vin: 1HGEM22934L012523 ## Mail History Id: 30079234, Consumer Id: 491651, Address Id: 324724 => Updated with Vin: JHLRD2843YS001791 ## Mail History Id: 30079278, Consumer Id: 491648, Address Id: 9827457 => Updated with Vin: 2HGES26733H582483 ## Mail History Id: 30079320, Consumer Id: 494051, Address Id: 9829232 => Updated with Vin: 1HGCM55363A017774 ## Mail History Id: 30079214, Consumer Id: 471945, Address Id: 9833635 => Updated with Vin: 5FNRL38696B427499 ## Total mail_history records updated with vin numbers: 13 out of 14 ============================================================ ====== Tracking Id: 1266 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-16 12:16:49') AND us2_order_type_id = 3 ## Order found: 1652 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1652 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3471 ## Mailing found: '13012' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078944, Consumer Id: 821026, Address Id: 7878495 => Updated with Vin: 1G6KF57963U222499 ## Mail History Id: 30078934, Consumer Id: 823414, Address Id: 7878400 => Updated with Vin: 1G6KD54Y14U230478 ## Mail History Id: 30078938, Consumer Id: 807178, Address Id: 6524955 => Updated with Vin: 1G6DP567950121022 ## Mail History Id: 30079010, Consumer Id: 818296, Address Id: 10217197 => Updated with Vin: 1G3WX52H1YF198666 ## Mail History Id: 30078942, Consumer Id: 805061, Address Id: 7878486 => Updated with Vin: 1GHDV03E72D194414 ## Mail History Id: 30078992, Consumer Id: 808064, Address Id: 11871483 => Updated with Vin: 1GYEK63N55R161645 ## Mail History Id: 30078974, Consumer Id: 821768, Address Id: 7416843 => Updated with Vin: 1GYFK63857R118442 ## Mail History Id: 30078978, Consumer Id: 798142, Address Id: 10214766 => Updated with Vin: 1GYEK63N72R301545 ## Mail History Id: 30078998, Consumer Id: 816266, Address Id: 10216006 => Updated with Vin: 1G6KD54YXXU806721 ## Mail History Id: 30079042, Consumer Id: 816344, Address Id: 10221365 => Updated with Vin: 1GNFK16Z72J260030 ## Mail History Id: 30079054, Consumer Id: 798125, Address Id: 11869726 => Updated with Vin: 1G6KF52Y7SU257002 ## Mail History Id: 30079034, Consumer Id: 817576, Address Id: 11876460 => Updated with Vin: 1GYEK63N35R269715 ## Mail History Id: 30078924, Consumer Id: 804385, Address Id: 7877958 => Updated with Vin: 1G6KF57954U185981 ## Mail History Id: 30079014, Consumer Id: 821016, Address Id: 10217308 => Updated with Vin: 1GKFK66U04J284767 ## Mail History Id: 30079002, Consumer Id: 773037, Address Id: 11874246 => Updated with Vin: 3GYEK62N04G268859 ## Mail History Id: 30078986, Consumer Id: 772985, Address Id: 11874212 => Updated with Vin: JH4KB16565C003954 ## Total mail_history records updated with vin numbers: 16 out of 18 ============================================================ ====== Tracking Id: 1267 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-16 12:16:59') AND us2_order_type_id = 3 ## Order found: 1652 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1652 AND product_id = 112 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3471 ## Mailing found: '13002' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079367, Consumer Id: 802168, Address Id: 10212501 => Updated with Vin: 1G6KD54Y3WU764973 ## Mail History Id: 30079403, Consumer Id: 799887, Address Id: 11870575 => Updated with Vin: W06VR52R3VR066597 ## Mail History Id: 30079399, Consumer Id: 821899, Address Id: 11876597 => Updated with Vin: 1G6KD57Y46U101620 ## Mail History Id: 30079383, Consumer Id: 823319, Address Id: 10214774 => Updated with Vin: 3GYFK62867G237490 ## Mail History Id: 30079385, Consumer Id: 807247, Address Id: 10215749 => Updated with Vin: 1GNEK13T41R185153 ## Mail History Id: 30079401, Consumer Id: 820926, Address Id: 11876633 => Updated with Vin: 1G6ET1293XU604582 ## Mail History Id: 30079393, Consumer Id: 817341, Address Id: 11876499 => Updated with Vin: 3GYFK66N34G272791 ## Mail History Id: 30079391, Consumer Id: 822755, Address Id: 10216152 => Updated with Vin: 1G1NE52J116127566 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 1268 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-16 12:17:11') AND us2_order_type_id = 3 ## Order found: 1653 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1653 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3451 ## Mailing found: '13011' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078143, Consumer Id: 626700, Address Id: 823890 => Updated with Vin: 2G1WF52E149361272 ## Mail History Id: 30079083, Consumer Id: 620195, Address Id: 11757117 => Updated with Vin: 5N1ED28T34C632690 ## Mail History Id: 30078795, Consumer Id: 614779, Address Id: 11757548 => Updated with Vin: 1G6KD52Y0TU252666 ## Mail History Id: 30078537, Consumer Id: 613936, Address Id: 11757041 => Updated with Vin: 1G6DW52P9SR710944 ## Mail History Id: 30079023, Consumer Id: 627334, Address Id: 3404802 => Updated with Vin: 5GTDN136168291605 ## Mail History Id: 30078571, Consumer Id: 614973, Address Id: 11757126 => Updated with Vin: 1G6DW51Y9H9742196 ## Mail History Id: 30079107, Consumer Id: 615342, Address Id: 11756246 => Updated with Vin: 1G6DW51Y9KR717273 ## Mail History Id: 30078979, Consumer Id: 612618, Address Id: 11756235 => Updated with Vin: 1G6EL1152KU625804 ## Mail History Id: 30078943, Consumer Id: 614351, Address Id: 11757280 => Updated with Vin: 1G6EL1153KU625441 ## Mail History Id: 30078857, Consumer Id: 627258, Address Id: 4107116 => Updated with Vin: 1G6CB1337L4303022 ## Mail History Id: 30078363, Consumer Id: 622569, Address Id: 4107286 => Updated with Vin: 1G6KD54Y25U109198 ## Mail History Id: 30078527, Consumer Id: 619228, Address Id: 832581 => Updated with Vin: 1G6KD57Y07U160892 ## Mail History Id: 30078527, Consumer Id: 619228, Address Id: 832581 => Updated with Vin: 1G6KD57Y07U160892 ## Mail History Id: 30078179, Consumer Id: 613578, Address Id: 825137 => Updated with Vin: 1G6KE54YXXU754472 ## Mail History Id: 30078875, Consumer Id: 628597, Address Id: 11756168 => Updated with Vin: 1G6KD54YX5U119218 ## Mail History Id: 30078577, Consumer Id: 613818, Address Id: 834045 => Updated with Vin: 1G6KF52Y0RU313971 ## Mail History Id: 30078817, Consumer Id: 616439, Address Id: 11758570 => Updated with Vin: 1G6EL12B3PU615620 ## Mail History Id: 30078209, Consumer Id: 621148, Address Id: 3808211 => Updated with Vin: 1G6DC67A750172188 ## Mail History Id: 30078126, Consumer Id: 614972, Address Id: 11757676 => Updated with Vin: 1G6KS52Y0RU815763 ## Mail History Id: 30078995, Consumer Id: 619229, Address Id: 11760705 => Updated with Vin: 1GYEE637040157790 ## Mail History Id: 30078153, Consumer Id: 615327, Address Id: 11757894 => Updated with Vin: 1G6KS52Y7VU802244 ## Mail History Id: 30078197, Consumer Id: 939368, Address Id: 3240422 => Updated with Vin: 1G6KD54Y15U263790 ## Mail History Id: 30078301, Consumer Id: 611571, Address Id: 3873348 => Updated with Vin: 1G6KD54Y15U263790 ## Mail History Id: 30078463, Consumer Id: 617120, Address Id: 11758991 => Updated with Vin: 1G6EL133XLU608343 ## Mail History Id: 30079011, Consumer Id: 613584, Address Id: 11756831 => Updated with Vin: 1G6DM57N930139216 ## Mail History Id: 30078121, Consumer Id: 611796, Address Id: 823265 => Updated with Vin: 1G6DM57T970115244 ## Mail History Id: 30078457, Consumer Id: 627514, Address Id: 11756338 => Updated with Vin: 1GYEE637970142077 ## Mail History Id: 30078609, Consumer Id: 617180, Address Id: 834797 => Updated with Vin: 1G6EL12Y5WU605402 ## Mail History Id: 30078873, Consumer Id: 628493, Address Id: 11756405 => Updated with Vin: 1G6KD57Y87U191128 ## Mail History Id: 30078181, Consumer Id: 614650, Address Id: 825158 => Updated with Vin: 1G6KD54Y9WU785522 ## Mail History Id: 30078559, Consumer Id: 613323, Address Id: 833632 => Updated with Vin: W06VR52R3WR000374 ## Mail History Id: 30078541, Consumer Id: 612801, Address Id: 832909 => Updated with Vin: 1G6KD54Y9YU204703 ## Mail History Id: 30079069, Consumer Id: 611763, Address Id: 11759920 => Updated with Vin: 1GYFK63827R256259 ## Mail History Id: 30078753, Consumer Id: 612619, Address Id: 838548 => Updated with Vin: 1G6KD54Y4YU352600 ## Mail History Id: 30078123, Consumer Id: 614524, Address Id: 823273 => Updated with Vin: 1G6EL12Y7XU608707 ## Mail History Id: 30078189, Consumer Id: 614756, Address Id: 11757534 => Updated with Vin: 1G6KY529XRU843108 ## Mail History Id: 30078343, Consumer Id: 614753, Address Id: 11757269 => Updated with Vin: 1G6KD54Y4XU765471 ## Mail History Id: 30078523, Consumer Id: 612649, Address Id: 832510 => Updated with Vin: 1G6KS54Y3XU900039 ## Mail History Id: 30078173, Consumer Id: 613268, Address Id: 11756635 => Updated with Vin: 1G6ET1296XU609324 ## Mail History Id: 30078173, Consumer Id: 613268, Address Id: 11756635 => Updated with Vin: 1G6ET1296XU609324 ## Mail History Id: 30078175, Consumer Id: 611901, Address Id: 825091 => Updated with Vin: 1G6DP577170104975 ## Mail History Id: 30078957, Consumer Id: 617978, Address Id: 3242002 => Updated with Vin: 1GYEK13R2YR137507 ## Mail History Id: 30078251, Consumer Id: 616175, Address Id: 826357 => Updated with Vin: 1G6KF5797YU222292 ## Mail History Id: 30078359, Consumer Id: 615361, Address Id: 829238 => Updated with Vin: 1G6KE57Y7YU252872 ## Mail History Id: 30078161, Consumer Id: 627053, Address Id: 824638 => Updated with Vin: 1G6EL12Y6XU608343 ## Mail History Id: 30078579, Consumer Id: 626424, Address Id: 11756122 => Updated with Vin: 1G6KD57Y26U172251 ## Mail History Id: 30079065, Consumer Id: 613579, Address Id: 11756522 => Updated with Vin: 1GYEK13R2YR131643 ## Mail History Id: 30078883, Consumer Id: 614965, Address Id: 11757671 => Updated with Vin: 1G6EL12Y9WU609792 ## Mail History Id: 30078521, Consumer Id: 615183, Address Id: 832501 => Updated with Vin: 1G6KS54Y8XU929102 ## Mail History Id: 30078103, Consumer Id: 613611, Address Id: 822811 => Updated with Vin: 1G6EL12Y21B103547 ## Mail History Id: 30079111, Consumer Id: 613270, Address Id: 11756637 => Updated with Vin: 1G6KD54Y8WU744346 ## Mail History Id: 30078507, Consumer Id: 611415, Address Id: 11759153 => Updated with Vin: 1G6KD54Y15U262834 ## Mail History Id: 30078135, Consumer Id: 615820, Address Id: 823669 => Updated with Vin: 1G6KD54Y82U170308 ## Mail History Id: 30078265, Consumer Id: 626955, Address Id: 3911389 => Updated with Vin: 1GYEE637660135991 ## Mail History Id: 30078927, Consumer Id: 612518, Address Id: 11756169 => Updated with Vin: 1G6KS54Y0WU914009 ## Mail History Id: 30078927, Consumer Id: 612518, Address Id: 11756169 => Updated with Vin: 1G6KS54Y0WU914009 ## Mail History Id: 30078101, Consumer Id: 616475, Address Id: 822786 => Updated with Vin: 1G6EL12Y32B100321 ## Mail History Id: 30078419, Consumer Id: 614553, Address Id: 830520 => Updated with Vin: 1G6KD54Y3WU727311 ## Mail History Id: 30078419, Consumer Id: 614553, Address Id: 830520 => Updated with Vin: 1G6KD54Y3WU727311 ## Mail History Id: 30078801, Consumer Id: 613796, Address Id: 839712 => Updated with Vin: 1GYEK63N42R305746 ## Mail History Id: 30078907, Consumer Id: 616842, Address Id: 11758812 => Updated with Vin: 1G6KD54Y73U222870 ## Mail History Id: 30078441, Consumer Id: 613266, Address Id: 831464 => Updated with Vin: 1G6KD54Y52U221005 ## Mail History Id: 30078765, Consumer Id: 613302, Address Id: 839062 => Updated with Vin: 1G6DM57N530148897 ## Mail History Id: 30078475, Consumer Id: 614649, Address Id: 831987 => Updated with Vin: 1G6KF5498XU710573 ## Mail History Id: 30078783, Consumer Id: 614765, Address Id: 11757539 => Updated with Vin: 1G6EL12Y5WU614195 ## Mail History Id: 30078929, Consumer Id: 614976, Address Id: 11757677 => Updated with Vin: 1G6EL12Y3TU609301 ## Mail History Id: 30078665, Consumer Id: 614778, Address Id: 11757547 => Updated with Vin: 1G6KD52B4RU309181 ## Mail History Id: 30079062, Consumer Id: 618899, Address Id: 11756538 => Updated with Vin: 1GCCS194XW8238936 ## Mail History Id: 30078096, Consumer Id: 615817, Address Id: 11758190 => Updated with Vin: 1G6EL12Y8YU144991 ## Mail History Id: 30078569, Consumer Id: 626152, Address Id: 11763719 => Updated with Vin: 1G6KD54Y35U120338 ## Mail History Id: 30078935, Consumer Id: 615339, Address Id: 11757901 => Updated with Vin: 1G6CD515XK4353742 ## Mail History Id: 30078193, Consumer Id: 615000, Address Id: 825447 => Updated with Vin: 1G6KS54Y2YU147105 ## Mail History Id: 30078373, Consumer Id: 614784, Address Id: 829704 => Updated with Vin: 1GYEC63T83R232989 ## Mail History Id: 30079003, Consumer Id: 613603, Address Id: 11756840 => Updated with Vin: 1G6KD54Y23U118416 ## Mail History Id: 30078185, Consumer Id: 612911, Address Id: 825245 => Updated with Vin: 1GYEK63R2YR172139 ## Mail History Id: 30079107, Consumer Id: 612637, Address Id: 11756246 => Updated with Vin: 1G6KD52Y3VU209393 ## Mail History Id: 30078365, Consumer Id: 612468, Address Id: 829537 => Updated with Vin: 1G6KE57Y13U195433 ## Mail History Id: 30078769, Consumer Id: 612950, Address Id: 839147 => Updated with Vin: 1G6KD54Y43U114173 ## Mail History Id: 30078899, Consumer Id: 613087, Address Id: 3241836 => Updated with Vin: 1G6DM57N530164761 ## Mail History Id: 30078899, Consumer Id: 613087, Address Id: 3241836 => Updated with Vin: 1G6DM57N530164761 ## Mail History Id: 30078641, Consumer Id: 614073, Address Id: 835258 => Updated with Vin: 1G6KS54Y63U212563 ## Mail History Id: 30078241, Consumer Id: 628260, Address Id: 11765527 => Updated with Vin: KMHVF24N9VU387570 ## Mail History Id: 30078317, Consumer Id: 613860, Address Id: 828078 => Updated with Vin: 1G6DM57N330170865 ## Mail History Id: 30078659, Consumer Id: 614982, Address Id: 835997 => Updated with Vin: 1G6KD54Y13U252768 ## Mail History Id: 30078139, Consumer Id: 613269, Address Id: 11756636 => Updated with Vin: 1G6KD54Y53U213259 ## Mail History Id: 30078789, Consumer Id: 628008, Address Id: 11765377 => Updated with Vin: 1GNEC13V04J330206 ## Mail History Id: 30078461, Consumer Id: 628612, Address Id: 11765797 => Updated with Vin: 1GCDK14K6KZ279949 ## Mail History Id: 30078827, Consumer Id: 614757, Address Id: 11757535 => Updated with Vin: 1G6KE54Y5WU700124 ## Mail History Id: 30078601, Consumer Id: 619325, Address Id: 834639 => Updated with Vin: 1GYFK63877R400534 ## Mail History Id: 30079025, Consumer Id: 619315, Address Id: 11760962 => Updated with Vin: 1G6KD57Y07U175778 ## Mail History Id: 30078759, Consumer Id: 616765, Address Id: 11758764 => Updated with Vin: 1G6DW51Y2H9712747 ## Mail History Id: 30078959, Consumer Id: 614072, Address Id: 3242025 => Updated with Vin: 1G6DM57N830108829 ## Mail History Id: 30078889, Consumer Id: 613858, Address Id: 11756994 => Updated with Vin: 1G6KD54Y12U199200 ## Mail History Id: 30078201, Consumer Id: 628472, Address Id: 11765699 => Updated with Vin: 1GKEC13R1XJ767457 ## Mail History Id: 30078201, Consumer Id: 628472, Address Id: 11765699 => Updated with Vin: 1GKEC13R1XJ767457 ## Mail History Id: 30078201, Consumer Id: 628472, Address Id: 11765699 => Updated with Vin: 1GKEC13R1XJ767457 ## Mail History Id: 30078531, Consumer Id: 612519, Address Id: 832611 => Updated with Vin: 1G6KD54Y83U222733 ## Mail History Id: 30078833, Consumer Id: 613088, Address Id: 11756523 => Updated with Vin: 1G6KF57992U122279 ## Mail History Id: 30078451, Consumer Id: 613935, Address Id: 831685 => Updated with Vin: 1G6KS54Y8YU209025 ## Mail History Id: 30078509, Consumer Id: 612912, Address Id: 11756408 => Updated with Vin: 1G6CB5331L4357147 ## Mail History Id: 30078106, Consumer Id: 613582, Address Id: 11756830 => Updated with Vin: 1G6KD52YXTU200204 ## Mail History Id: 30078915, Consumer Id: 612549, Address Id: 11756192 => Updated with Vin: 1G6KS52Y6VU801988 ## Mail History Id: 30078447, Consumer Id: 614337, Address Id: 11757274 => Updated with Vin: 1G6EL1338LU600614 ## Mail History Id: 30078513, Consumer Id: 616677, Address Id: 11758709 => Updated with Vin: 1G6KF57962U282636 ## Mail History Id: 30078513, Consumer Id: 616677, Address Id: 11758709 => Updated with Vin: 1G6KF57962U282636 ## Mail History Id: 30078821, Consumer Id: 627031, Address Id: 11764653 => Updated with Vin: 1G6DW51Y2KR739003 ## Mail History Id: 30078821, Consumer Id: 627031, Address Id: 11764653 => Updated with Vin: 1G6DW51Y2KR739003 ## Mail History Id: 30078117, Consumer Id: 615345, Address Id: 823247 => Updated with Vin: 1G6KY54963U112793 ## Mail History Id: 30078091, Consumer Id: 613278, Address Id: 11756642 => Updated with Vin: 1G6CD53B7P4275799 ## Mail History Id: 30078329, Consumer Id: 621786, Address Id: 828489 => Updated with Vin: 1G6KE54Y83U292911 ## Mail History Id: 30078133, Consumer Id: 615519, Address Id: 823622 => Updated with Vin: 1G6KY5491YU133509 ## Mail History Id: 30078815, Consumer Id: 613298, Address Id: 11756652 => Updated with Vin: 1G6CD6982G4226138 ## Mail History Id: 30078815, Consumer Id: 613298, Address Id: 11756652 => Updated with Vin: 1G6CD6982G4226138 ## Mail History Id: 30078591, Consumer Id: 612522, Address Id: 834355 => Updated with Vin: 1G6ET12912B101847 ## Mail History Id: 30078591, Consumer Id: 612522, Address Id: 834355 => Updated with Vin: 1G6ET12912B101847 ## Mail History Id: 30078575, Consumer Id: 616843, Address Id: 11758813 => Updated with Vin: 1G6KE54Y6VU270683 ## Mail History Id: 30078151, Consumer Id: 624876, Address Id: 3807388 => Updated with Vin: 1G6KD54Y65U208087 ## Mail History Id: 30078813, Consumer Id: 628592, Address Id: 840185 => Updated with Vin: 1G6DV57V080129453 ## Mail History Id: 30078803, Consumer Id: 626556, Address Id: 11763975 => Updated with Vin: 1GYEE637960112544 ## Mail History Id: 30078931, Consumer Id: 617362, Address Id: 11759213 => Updated with Vin: 1G6KD54Y2XU803439 ## Mail History Id: 30078349, Consumer Id: 612432, Address Id: 11756119 => Updated with Vin: 1G6KS52Y0SU831452 ## Mail History Id: 30078349, Consumer Id: 612432, Address Id: 11756119 => Updated with Vin: 1G6KS52Y0SU831452 ## Mail History Id: 30078487, Consumer Id: 613280, Address Id: 832191 => Updated with Vin: 1G6KD54Y62U109068 ## Mail History Id: 30078487, Consumer Id: 613280, Address Id: 832191 => Updated with Vin: 1G6KD54Y62U109068 ## Mail History Id: 30078749, Consumer Id: 620698, Address Id: 11761605 => Updated with Vin: 1G6KD52Y9TU216183 ## Mail History Id: 30078775, Consumer Id: 626669, Address Id: 11764038 => Updated with Vin: 1G6KD54Y54U151847 ## Mail History Id: 30079076, Consumer Id: 619963, Address Id: 11761074 => Updated with Vin: 1G6KD54Y9WU776576 ## Mail History Id: 30078495, Consumer Id: 616909, Address Id: 11758850 => Updated with Vin: 1G6KS52Y0TU803393 ## Mail History Id: 30078871, Consumer Id: 611797, Address Id: 11759942 => Updated with Vin: 1G6KD54Y85U136891 ## Mail History Id: 30078971, Consumer Id: 613271, Address Id: 11756638 => Updated with Vin: 1G6CD53B9P4268045 ## Mail History Id: 30078287, Consumer Id: 616172, Address Id: 11758389 => Updated with Vin: 1G6DW5270PR711908 ## Mail History Id: 30078903, Consumer Id: 613596, Address Id: 11756837 => Updated with Vin: 1G6CB53B0M4250860 ## Mail History Id: 30078771, Consumer Id: 617125, Address Id: 11758995 => Updated with Vin: 1G6CB5156K4370074 ## Mail History Id: 30078097, Consumer Id: 619828, Address Id: 822646 => Updated with Vin: 1G6KD54Y8YU293423 ## Mail History Id: 30078097, Consumer Id: 619828, Address Id: 822646 => Updated with Vin: 1G6KD54Y8YU293423 ## Mail History Id: 30078285, Consumer Id: 622833, Address Id: 827062 => Updated with Vin: 1G6KD54Y93U136136 ## Mail History Id: 30078779, Consumer Id: 626465, Address Id: 839332 => Updated with Vin: 1G6KF5497XU730474 ## Mail History Id: 30078599, Consumer Id: 613083, Address Id: 11756520 => Updated with Vin: 1G6KE54Y7VU272569 ## Mail History Id: 30078639, Consumer Id: 611563, Address Id: 835234 => Updated with Vin: 1G6DW677650175501 ## Mail History Id: 30078639, Consumer Id: 613085, Address Id: 835234 => Updated with Vin: 1GYEK63N03R213714 ## Mail History Id: 30078679, Consumer Id: 628143, Address Id: 11765469 => Updated with Vin: 1G6KD54Y55U258897 ## Mail History Id: 30078951, Consumer Id: 614104, Address Id: 11757132 => Updated with Vin: 1G6EL12Y9XU601290 ## Mail History Id: 30078371, Consumer Id: 614344, Address Id: 829680 => Updated with Vin: 1G6KE54YXWU777801 ## Mail History Id: 30079169, Consumer Id: 617977, Address Id: 11759731 => Updated with Vin: 1G6EL12Y2WU615417 ## Mail History Id: 30078127, Consumer Id: 611915, Address Id: 823467 => Updated with Vin: 1G6KD57Y76U187778 ## Mail History Id: 30078127, Consumer Id: 611915, Address Id: 823467 => Updated with Vin: 1G6KD57Y76U187778 ## Mail History Id: 30078127, Consumer Id: 611915, Address Id: 823467 => Updated with Vin: 1G6KD57Y76U187778 ## Mail History Id: 30078483, Consumer Id: 612620, Address Id: 832138 => Updated with Vin: 1G6KD54Y82U222536 ## Mail History Id: 30078465, Consumer Id: 626363, Address Id: 4107372 => Updated with Vin: 1G6DM57N030157345 ## Mail History Id: 30078465, Consumer Id: 626363, Address Id: 4107372 => Updated with Vin: 1G6DM57N030157345 ## Mail History Id: 30078773, Consumer Id: 627881, Address Id: 11765289 => Updated with Vin: 1G6DP577170181359 ## Mail History Id: 30079070, Consumer Id: 614085, Address Id: 11757124 => Updated with Vin: 1G6KS52Y5RU814513 ## Mail History Id: 30078751, Consumer Id: 614530, Address Id: 838535 => Updated with Vin: 1G6EL12Y3XU608848 ## Mail History Id: 30078275, Consumer Id: 627017, Address Id: 11757696 => Updated with Vin: 1G6KD57YX7U167719 ## Mail History Id: 30078851, Consumer Id: 627042, Address Id: 11764662 => Updated with Vin: 1G6CB5183H4235847 ## Mail History Id: 30078825, Consumer Id: 612927, Address Id: 3241768 => Updated with Vin: 1GYEK63N22R112527 ## Mail History Id: 30078655, Consumer Id: 613826, Address Id: 11756974 => Updated with Vin: 1G6DW52P7TR707333 ## Mail History Id: 30078104, Consumer Id: 617122, Address Id: 11758992 => Updated with Vin: 1G6EL12Y0XU605454 ## Mail History Id: 30078689, Consumer Id: 617181, Address Id: 11759029 => Updated with Vin: 1G6CD53B9P4254372 ## Mail History Id: 30078425, Consumer Id: 627780, Address Id: 11756521 => Updated with Vin: 1G6KE54Y8WU781944 ## Mail History Id: 30078357, Consumer Id: 628475, Address Id: 3912395 => Updated with Vin: 1G6CB53B7N4311302 ## Mail History Id: 30078781, Consumer Id: 614346, Address Id: 839353 => Updated with Vin: 1G6EL12Y81B103908 ## Mail History Id: 30078331, Consumer Id: 626988, Address Id: 828593 => Updated with Vin: 1G6EL12Y1XU612087 ## Mail History Id: 30078625, Consumer Id: 616682, Address Id: 11758711 => Updated with Vin: 1G6DW52P9TR703977 ## Mail History Id: 30078361, Consumer Id: 616331, Address Id: 11758500 => Updated with Vin: 1G6KD54YXVU250097 ## Mail History Id: 30078456, Consumer Id: 626737, Address Id: 11759730 => Updated with Vin: 1G6KD57Y96U193131 ## Mail History Id: 30078595, Consumer Id: 616480, Address Id: 3241206 => Updated with Vin: 1G6KE54Y6VU272708 ## Mail History Id: 30078313, Consumer Id: 614071, Address Id: 828005 => Updated with Vin: 1G6DM57N130113466 ## Mail History Id: 30078229, Consumer Id: 624735, Address Id: 11757672 => Updated with Vin: 1G6DW677060117675 ## Mail History Id: 30078909, Consumer Id: 612616, Address Id: 11756233 => Updated with Vin: 1G6KD54Y3XU793343 ## Mail History Id: 30078177, Consumer Id: 612948, Address Id: 11756434 => Updated with Vin: 1G6DW52P1SR710730 ## Mail History Id: 30079064, Consumer Id: 615723, Address Id: 11756992 => Updated with Vin: 1G6KD54YX4U128208 ## Mail History Id: 30079064, Consumer Id: 615723, Address Id: 11756992 => Updated with Vin: 1G6KD54YX4U128208 ## Mail History Id: 30078939, Consumer Id: 628599, Address Id: 11756993 => Updated with Vin: 1GYFK66808R109340 ## Mail History Id: 30078105, Consumer Id: 614984, Address Id: 822832 => Updated with Vin: 1G6KD54Y23U184237 ## Mail History Id: 30078933, Consumer Id: 614807, Address Id: 11756459 => Updated with Vin: 1G6ET1299YB704134 ## Mail History Id: 30078843, Consumer Id: 614754, Address Id: 3241779 => Updated with Vin: 1G6DM577940103609 ## Mail History Id: 30079077, Consumer Id: 611540, Address Id: 11757910 => Updated with Vin: 1G6DC67A960161906 ## Mail History Id: 30078089, Consumer Id: 613005, Address Id: 822125 => Updated with Vin: 1G6KS54Y21U136207 ## Mail History Id: 30078417, Consumer Id: 613328, Address Id: 830474 => Updated with Vin: 1GYEK63N03R200963 ## Mail History Id: 30078923, Consumer Id: 615231, Address Id: 4107129 => Updated with Vin: 1G6KD54Y4WU734767 ## Mail History Id: 30078099, Consumer Id: 615243, Address Id: 822763 => Updated with Vin: 1G6KD54Y43U204097 ## Mail History Id: 30078663, Consumer Id: 611914, Address Id: 836225 => Updated with Vin: 1G6KD57957U137875 ## Mail History Id: 30078323, Consumer Id: 614755, Address Id: 828316 => Updated with Vin: 1G6DM577940102671 ## Mail History Id: 30078323, Consumer Id: 614755, Address Id: 828316 => Updated with Vin: 1G6DM577940102671 ## Mail History Id: 30078585, Consumer Id: 614068, Address Id: 834199 => Updated with Vin: 1G6KD54YX3U110869 ## Mail History Id: 30078307, Consumer Id: 611524, Address Id: 11759403 => Updated with Vin: 1G6KD57Y56U103344 ## Mail History Id: 30078819, Consumer Id: 615674, Address Id: 17429 => Updated with Vin: 1G6ET12901B101840 ## Mail History Id: 30078529, Consumer Id: 628198, Address Id: 832586 => Updated with Vin: 1G6DM57T670101351 ## Mail History Id: 30078529, Consumer Id: 616171, Address Id: 832586 => Updated with Vin: 1G6KD54Y71U296738 ## Mail History Id: 30078573, Consumer Id: 615230, Address Id: 11756633 => Updated with Vin: 1GEEH90Y4XU550417 ## Mail History Id: 30078120, Consumer Id: 616095, Address Id: 11758345 => Updated with Vin: 1GYEK63N84R157958 ## Mail History Id: 30079092, Consumer Id: 627040, Address Id: 11758302 => Updated with Vin: 1G6KD54YX5U238449 ## Mail History Id: 30078111, Consumer Id: 618096, Address Id: 823073 => Updated with Vin: 2GCEC19V121106711 ## Mail History Id: 30078837, Consumer Id: 614660, Address Id: 11757471 => Updated with Vin: 1G6KD54Y13U201139 ## Mail History Id: 30078110, Consumer Id: 613333, Address Id: 4624697 => Updated with Vin: 1G6KF57993U244769 ## Mail History Id: 30078869, Consumer Id: 616482, Address Id: 3241815 => Updated with Vin: 1G6KE54Y94U146776 ## Mail History Id: 30078118, Consumer Id: 616560, Address Id: 11758635 => Updated with Vin: 3GYEK62N44G102456 ## Mail History Id: 30078647, Consumer Id: 627057, Address Id: 835487 => Updated with Vin: 1G6DP57V480112777 ## Mail History Id: 30078613, Consumer Id: 613317, Address Id: 834823 => Updated with Vin: 1G6KD54YX3U110595 ## Mail History Id: 30079123, Consumer Id: 615235, Address Id: 11757835 => Updated with Vin: 1G6KD54YX1U193295 ## Mail History Id: 30078353, Consumer Id: 616561, Address Id: 829051 => Updated with Vin: 1G6DM577440124173 ## Mail History Id: 30078255, Consumer Id: 612102, Address Id: 826426 => Updated with Vin: 1G6KD57Y27U206612 ## Mail History Id: 30078583, Consumer Id: 616919, Address Id: 11758858 => Updated with Vin: 1G6KD52Y7TU310580 ## Mail History Id: 30078517, Consumer Id: 616908, Address Id: 832446 => Updated with Vin: 1G6KD54Y7XU743299 ## Mail History Id: 30078949, Consumer Id: 626458, Address Id: 11758811 => Updated with Vin: 1G6YV36A465602047 ## Mail History Id: 30078983, Consumer Id: 611580, Address Id: 11758766 => Updated with Vin: 1G6DP577260207174 ## Mail History Id: 30079035, Consumer Id: 628603, Address Id: 11765791 => Updated with Vin: 1G6KD57Y56U232362 ## Mail History Id: 30079035, Consumer Id: 628603, Address Id: 11765791 => Updated with Vin: 1G6KD57Y56U232362 ## Mail History Id: 30079035, Consumer Id: 628603, Address Id: 11765791 => Updated with Vin: 1G6KD57Y56U232362 ## Mail History Id: 30078155, Consumer Id: 613872, Address Id: 824313 => Updated with Vin: 1G6KD54Y61U243822 ## Mail History Id: 30079143, Consumer Id: 611694, Address Id: 11759685 => Updated with Vin: 1GYFK63817R255801 ## Mail History Id: 30078311, Consumer Id: 616049, Address Id: 827994 => Updated with Vin: 1G6KD54YX4U142626 ## Mail History Id: 30078311, Consumer Id: 616049, Address Id: 827994 => Updated with Vin: 1G6KD54YX4U142626 ## Mail History Id: 30078423, Consumer Id: 619957, Address Id: 11761070 => Updated with Vin: 1G6DW5471MR707584 ## Mail History Id: 30078171, Consumer Id: 627373, Address Id: 11758636 => Updated with Vin: 1GYEE63A660168842 ## Mail History Id: 30079049, Consumer Id: 618396, Address Id: 11760077 => Updated with Vin: 1G6YV34A045602983 ## Mail History Id: 30078341, Consumer Id: 618015, Address Id: 828883 => Updated with Vin: 1G6KF57961U135554 ## Mail History Id: 30078341, Consumer Id: 618015, Address Id: 828883 => Updated with Vin: 1G6KF57961U135554 ## Mail History Id: 30078697, Consumer Id: 618017, Address Id: 11759756 => Updated with Vin: 1G6KD54Y43U203659 ## Mail History Id: 30078295, Consumer Id: 618021, Address Id: 827349 => Updated with Vin: 1G6KS54Y81U216966 ## Mail History Id: 30078961, Consumer Id: 611536, Address Id: 11759408 => Updated with Vin: 1GYFK63837R159720 ## Mail History Id: 30078897, Consumer Id: 618398, Address Id: 11760079 => Updated with Vin: 3GYEK62N44G257735 ## Mail History Id: 30078297, Consumer Id: 619135, Address Id: 827371 => Updated with Vin: 1GYEK63NX4R283125 ## Mail History Id: 30078649, Consumer Id: 618596, Address Id: 835561 => Updated with Vin: 3GYEK62N74G214796 ## Mail History Id: 30079089, Consumer Id: 618716, Address Id: 11760323 => Updated with Vin: 1GYEK63N24R223520 ## Mail History Id: 30079089, Consumer Id: 618716, Address Id: 11760323 => Updated with Vin: 1GYEK63N24R223520 ## Mail History Id: 30078137, Consumer Id: 614759, Address Id: 823723 => Updated with Vin: 1G6ET1299YU148749 ## Mail History Id: 30078125, Consumer Id: 618018, Address Id: 823358 => Updated with Vin: 1G6DM577840170802 ## Mail History Id: 30078119, Consumer Id: 619829, Address Id: 823255 => Updated with Vin: 1G6KF57904U186312 ## Mail History Id: 30078249, Consumer Id: 611766, Address Id: 826339 => Updated with Vin: 1G6DP577X60102902 ## Mail History Id: 30078093, Consumer Id: 611559, Address Id: 11759418 => Updated with Vin: 1G6DP577X60102902 ## Mail History Id: 30079055, Consumer Id: 619588, Address Id: 11760753 => Updated with Vin: 1GYEK63NX2R142830 ## Mail History Id: 30079055, Consumer Id: 619588, Address Id: 11760753 => Updated with Vin: 1GYEK63NX2R142830 ## Mail History Id: 30078891, Consumer Id: 618016, Address Id: 11759755 => Updated with Vin: 1G6DM577140164887 ## Mail History Id: 30078539, Consumer Id: 627781, Address Id: 832900 => Updated with Vin: 1G6KY5499XU938303 ## Mail History Id: 30078885, Consumer Id: 619597, Address Id: 3404530 => Updated with Vin: 1G6DM577040168946 ## Mail History Id: 30078885, Consumer Id: 619597, Address Id: 3404530 => Updated with Vin: 1G6DM577040168946 ## Mail History Id: 30078381, Consumer Id: 620110, Address Id: 829747 => Updated with Vin: 1G6EL12Y7XU611428 ## Mail History Id: 30078315, Consumer Id: 619137, Address Id: 828067 => Updated with Vin: 3GYFK66N64G247206 ## Mail History Id: 30078369, Consumer Id: 628249, Address Id: 829656 => Updated with Vin: W06VR54R61R057951 ## Mail History Id: 30079019, Consumer Id: 620201, Address Id: 11761310 => Updated with Vin: 1G6DP567450124605 ## Mail History Id: 30078691, Consumer Id: 620838, Address Id: 11761680 => Updated with Vin: 1G6KD52Y6TU242403 ## Mail History Id: 30078333, Consumer Id: 620490, Address Id: 11761503 => Updated with Vin: 1G6KD54Y93U240111 ## Mail History Id: 30079087, Consumer Id: 620422, Address Id: 11761459 => Updated with Vin: 1G6KD54Y41U227859 ## Mail History Id: 30078645, Consumer Id: 620491, Address Id: 835479 => Updated with Vin: 1G6KD54Y44U244195 ## Mail History Id: 30078619, Consumer Id: 626823, Address Id: 834952 => Updated with Vin: 1G6DW677970118969 ## Mail History Id: 30078745, Consumer Id: 620416, Address Id: 838175 => Updated with Vin: 1G6KD54Y62U144337 ## Mail History Id: 30078799, Consumer Id: 620749, Address Id: 3404511 => Updated with Vin: 1GYEK63N75R135127 ## Mail History Id: 30079085, Consumer Id: 627480, Address Id: 11756632 => Updated with Vin: 3GYFK62817G296298 ## Mail History Id: 30078355, Consumer Id: 620012, Address Id: 3404160 => Updated with Vin: 1GYEK63N55R109271 ## Mail History Id: 30078237, Consumer Id: 621072, Address Id: 826254 => Updated with Vin: 1G6KD54Y23U178261 ## Mail History Id: 30078237, Consumer Id: 621072, Address Id: 826254 => Updated with Vin: 1G6KD54Y23U178261 ## Mail History Id: 30078215, Consumer Id: 629820, Address Id: 825873 => Updated with Vin: 1G6YV36A385600325 ## Mail History Id: 30078809, Consumer Id: 620939, Address Id: 840004 => Updated with Vin: 1G6KD54YXXU708563 ## Mail History Id: 30079088, Consumer Id: 612523, Address Id: 11756172 => Updated with Vin: 1G6KE57Y32U137905 ## Mail History Id: 30079088, Consumer Id: 612523, Address Id: 11756172 => Updated with Vin: 1G6KE57Y32U137905 ## Mail History Id: 30078621, Consumer Id: 620750, Address Id: 4550722 => Updated with Vin: 1G6DW677250153995 ## Mail History Id: 30079161, Consumer Id: 615003, Address Id: 11757693 => Updated with Vin: 1GYEK63N53R115763 ## Mail History Id: 30078747, Consumer Id: 620444, Address Id: 838272 => Updated with Vin: 3GYEK63N32G240355 ## Mail History Id: 30078839, Consumer Id: 613934, Address Id: 11757040 => Updated with Vin: 1G6KD54Y23U141016 ## Mail History Id: 30078257, Consumer Id: 620667, Address Id: 826468 => Updated with Vin: 1G6KD54Y13U172600 ## Mail History Id: 30078257, Consumer Id: 620667, Address Id: 826468 => Updated with Vin: 1G6KD54Y13U172600 ## Mail History Id: 30078739, Consumer Id: 621211, Address Id: 837764 => Updated with Vin: 1G6ET1292XU608736 ## Mail History Id: 30078739, Consumer Id: 621211, Address Id: 837764 => Updated with Vin: 1G6ET1292XU608736 ## Mail History Id: 30078247, Consumer Id: 620702, Address Id: 11761608 => Updated with Vin: 1G6KD54YX4U195679 ## Mail History Id: 30078247, Consumer Id: 620702, Address Id: 11761608 => Updated with Vin: 1G6KD54YX4U195679 ## Mail History Id: 30078393, Consumer Id: 618897, Address Id: 11760500 => Updated with Vin: 1G6DP567950108142 ## Mail History Id: 30078921, Consumer Id: 622448, Address Id: 11762546 => Updated with Vin: 1G6KY54981U135005 ## Mail History Id: 30078925, Consumer Id: 621433, Address Id: 3241874 => Updated with Vin: 1GYEC63T92R108471 ## Mail History Id: 30078391, Consumer Id: 628094, Address Id: 829942 => Updated with Vin: 1G6DM57T070172738 ## Mail History Id: 30078589, Consumer Id: 621578, Address Id: 4550699 => Updated with Vin: 1G6DC67A550182850 ## Mail History Id: 30078755, Consumer Id: 613933, Address Id: 11757039 => Updated with Vin: 1G6KY54911U194378 ## Mail History Id: 30078499, Consumer Id: 621620, Address Id: 11756105 => Updated with Vin: 1G2HY5216N1311534 ## Mail History Id: 30078499, Consumer Id: 621620, Address Id: 11756105 => Updated with Vin: 1G2HY5216N1311534 ## Mail History Id: 30078743, Consumer Id: 621591, Address Id: 838031 => Updated with Vin: 1G6KY5494YU173602 ## Mail History Id: 30078757, Consumer Id: 620997, Address Id: 11761761 => Updated with Vin: 1G6KD54Y45U176935 ## Mail History Id: 30079043, Consumer Id: 621935, Address Id: 3243774 => Updated with Vin: 1GYEE63A140144364 ## Mail History Id: 30078849, Consumer Id: 612067, Address Id: 11760440 => Updated with Vin: 1G6DX67D360189571 ## Mail History Id: 30078849, Consumer Id: 612067, Address Id: 11760440 => Updated with Vin: 1G6DX67D360189571 ## Mail History Id: 30078849, Consumer Id: 612067, Address Id: 11760440 => Updated with Vin: 1G6DX67D360189571 ## Mail History Id: 30078411, Consumer Id: 626554, Address Id: 830261 => Updated with Vin: 1G6KD57916U146989 ## Mail History Id: 30078715, Consumer Id: 624915, Address Id: 11763502 => Updated with Vin: 1G6DW677050183805 ## Mail History Id: 30078116, Consumer Id: 622177, Address Id: 11762406 => Updated with Vin: 1G6KY5296SU805915 ## Mail History Id: 30078533, Consumer Id: 622084, Address Id: 832707 => Updated with Vin: 1G6DM57NX30107522 ## Mail History Id: 30078727, Consumer Id: 622057, Address Id: 11762342 => Updated with Vin: 1G6KD52Y1TU200267 ## Mail History Id: 30078853, Consumer Id: 621809, Address Id: 11762198 => Updated with Vin: 1G6KS54Y02U208619 ## Mail History Id: 30078405, Consumer Id: 622068, Address Id: 830137 => Updated with Vin: 1G6KE57Y84U195656 ## Mail History Id: 30078547, Consumer Id: 612955, Address Id: 833228 => Updated with Vin: 1G6ET12971B101950 ## Mail History Id: 30078705, Consumer Id: 613267, Address Id: 11756634 => Updated with Vin: 1G6ET1298XU610474 ## Mail History Id: 30078705, Consumer Id: 613267, Address Id: 11756634 => Updated with Vin: 1G6ET1298XU610474 ## Mail History Id: 30078623, Consumer Id: 622357, Address Id: 11758862 => Updated with Vin: 1G6DW677550186585 ## Mail History Id: 30078635, Consumer Id: 622402, Address Id: 835132 => Updated with Vin: 1GYDE637740130906 ## Mail History Id: 30078303, Consumer Id: 620990, Address Id: 3873356 => Updated with Vin: 1G6KD54Y35U177901 ## Mail History Id: 30078281, Consumer Id: 615242, Address Id: 826852 => Updated with Vin: 1G6KF54932U244849 ## Mail History Id: 30078407, Consumer Id: 627049, Address Id: 830166 => Updated with Vin: 1G6KD57Y56U223323 ## Mail History Id: 30078999, Consumer Id: 622901, Address Id: 11762820 => Updated with Vin: 3GYEK62N75G261019 ## Mail History Id: 30079075, Consumer Id: 620652, Address Id: 11761589 => Updated with Vin: 1GYEK63N33R277343 ## Mail History Id: 30079075, Consumer Id: 620652, Address Id: 11761589 => Updated with Vin: 1GYEK63N33R277343 ## Mail History Id: 30078729, Consumer Id: 622127, Address Id: 3241360 => Updated with Vin: 1G6DW677250217792 ## Mail History Id: 30078225, Consumer Id: 622622, Address Id: 3240468 => Updated with Vin: 3GYEK62N85G270697 ## Mail History Id: 30078325, Consumer Id: 613932, Address Id: 828389 => Updated with Vin: 1G6KF5791YU173414 ## Mail History Id: 30079155, Consumer Id: 621123, Address Id: 11761830 => Updated with Vin: 3GYEK62NX5G100423 ## Mail History Id: 30078987, Consumer Id: 622899, Address Id: 11756957 => Updated with Vin: 1G6KS54Y32U244126 ## Mail History Id: 30079105, Consumer Id: 624509, Address Id: 11763283 => Updated with Vin: 3GYEK63N52G334012 ## Mail History Id: 30078345, Consumer Id: 627050, Address Id: 828967 => Updated with Vin: 1GYFK638X7R141960 ## Mail History Id: 30078699, Consumer Id: 619022, Address Id: 11760575 => Updated with Vin: 3GYEK62N74G198504 ## Mail History Id: 30078217, Consumer Id: 624364, Address Id: 3910041 => Updated with Vin: 1G6DN56SX50123811 ## Mail History Id: 30078217, Consumer Id: 624364, Address Id: 3910041 => Updated with Vin: 1G6DN56SX50123811 ## Mail History Id: 30078217, Consumer Id: 624364, Address Id: 3910041 => Updated with Vin: 1G6DN56SX50123811 ## Mail History Id: 30078730, Consumer Id: 624394, Address Id: 11763217 => Updated with Vin: 1G6KD54Y25U180062 ## Mail History Id: 30078695, Consumer Id: 624630, Address Id: 11763348 => Updated with Vin: 1G6KD54Y65U100486 ## Mail History Id: 30078681, Consumer Id: 621626, Address Id: 4550755 => Updated with Vin: 1G6KD54Y45U204717 ## Mail History Id: 30078717, Consumer Id: 624803, Address Id: 11761875 => Updated with Vin: 1G6DN57U060155183 ## Mail History Id: 30078309, Consumer Id: 624804, Address Id: 827714 => Updated with Vin: 1G6KD54Y95U207998 ## Mail History Id: 30079175, Consumer Id: 624808, Address Id: 11763440 => Updated with Vin: 1GYEK63N55R249255 ## Mail History Id: 30078149, Consumer Id: 618905, Address Id: 824197 => Updated with Vin: 1G6KY54972U301807 ## Mail History Id: 30078615, Consumer Id: 624805, Address Id: 4550718 => Updated with Vin: 1GYEC63N25R200026 ## Mail History Id: 30078243, Consumer Id: 611356, Address Id: 11759130 => Updated with Vin: 1GYEK63N73R191890 ## Mail History Id: 30078627, Consumer Id: 611364, Address Id: 4550723 => Updated with Vin: 1G6KD54Y05U100645 ## Mail History Id: 30078115, Consumer Id: 611372, Address Id: 823151 => Updated with Vin: 1G6DP577260119595 ## Mail History Id: 30078493, Consumer Id: 624923, Address Id: 11763506 => Updated with Vin: 1G6KF52Y5SU265213 ## Mail History Id: 30078657, Consumer Id: 620196, Address Id: 835832 => Updated with Vin: 1GYEK63N54R290886 ## Mail History Id: 30078269, Consumer Id: 611383, Address Id: 11759141 => Updated with Vin: 3GYEK62N36G154129 ## Mail History Id: 30078633, Consumer Id: 624887, Address Id: 11763484 => Updated with Vin: 1GYEC63N96R155331 ## Mail History Id: 30078767, Consumer Id: 624999, Address Id: 11763563 => Updated with Vin: 1G6DW677260144599 ## Mail History Id: 30079091, Consumer Id: 628608, Address Id: 3405641 => Updated with Vin: 1G6DK67VX80143682 ## Mail History Id: 30078728, Consumer Id: 624980, Address Id: 11668313 => Updated with Vin: 1G6KE57Y85U195979 ## Mail History Id: 30078207, Consumer Id: 619227, Address Id: 11759158 => Updated with Vin: 3GYEK62N55G188099 ## Mail History Id: 30078435, Consumer Id: 611400, Address Id: 4107357 => Updated with Vin: 1G6KD54Y25U259828 ## Mail History Id: 30078685, Consumer Id: 611467, Address Id: 836603 => Updated with Vin: 1GYEK63N64R146103 ## Mail History Id: 30078397, Consumer Id: 611461, Address Id: 11759172 => Updated with Vin: 3GYEK62N06G158879 ## Mail History Id: 30078130, Consumer Id: 626101, Address Id: 11763687 => Updated with Vin: 1G6KE54Y8VU270880 ## Mail History Id: 30078114, Consumer Id: 625076, Address Id: 11763629 => Updated with Vin: 1G6ET1298VU609676 ## Mail History Id: 30078651, Consumer Id: 611464, Address Id: 11759174 => Updated with Vin: 1GYEK63NX6R137665 ## Mail History Id: 30079117, Consumer Id: 619567, Address Id: 3245158 => Updated with Vin: 1G6KD57Y07U115256 ## Mail History Id: 30078273, Consumer Id: 611463, Address Id: 3404075 => Updated with Vin: 1GYEE63A850221670 ## Mail History Id: 30078733, Consumer Id: 611514, Address Id: 11759400 => Updated with Vin: 1G6KD57YX6U133746 ## Mail History Id: 30078733, Consumer Id: 611514, Address Id: 11759400 => Updated with Vin: 1G6KD57YX6U133746 ## Mail History Id: 30078953, Consumer Id: 611462, Address Id: 11759173 => Updated with Vin: 1G6KD54Y64U195775 ## Mail History Id: 30079093, Consumer Id: 611697, Address Id: 11759419 => Updated with Vin: 1G6DW677650217326 ## Mail History Id: 30078631, Consumer Id: 626619, Address Id: 11756829 => Updated with Vin: 1G6KD54Y23U125222 ## Mail History Id: 30078213, Consumer Id: 611537, Address Id: 825788 => Updated with Vin: 3GYEK62N74G186787 ## Mail History Id: 30079103, Consumer Id: 626078, Address Id: 11763678 => Updated with Vin: 3GYEK63N53G190205 ## Mail History Id: 30078481, Consumer Id: 615640, Address Id: 11758077 => Updated with Vin: 1G6KD54Y9XU707047 ## Mail History Id: 30078841, Consumer Id: 626080, Address Id: 11756121 => Updated with Vin: 1GYEK63N66R136822 ## Mail History Id: 30078203, Consumer Id: 626065, Address Id: 3808131 => Updated with Vin: 1G6KD54Y05U171957 ## Mail History Id: 30078525, Consumer Id: 621841, Address Id: 11762216 => Updated with Vin: 1G6KD54Y8XU810010 ## Mail History Id: 30079013, Consumer Id: 611561, Address Id: 11758497 => Updated with Vin: 1G6KD54YX4U128662 ## Mail History Id: 30078108, Consumer Id: 626420, Address Id: 11763742 => Updated with Vin: 1G6KD52B5SU212903 ## Mail History Id: 30078108, Consumer Id: 626420, Address Id: 11763742 => Updated with Vin: 1G6KD52B5SU212903 ## Mail History Id: 30078637, Consumer Id: 626166, Address Id: 11763723 => Updated with Vin: 1G6EL12YXRU600121 ## Mail History Id: 30078567, Consumer Id: 611581, Address Id: 833916 => Updated with Vin: 1G6YV34A055601916 ## Mail History Id: 30078867, Consumer Id: 626139, Address Id: 3404524 => Updated with Vin: 1G6DC67A150127179 ## Mail History Id: 30078439, Consumer Id: 626155, Address Id: 4107365 => Updated with Vin: 1GYEE637650141790 ## Mail History Id: 30078427, Consumer Id: 611562, Address Id: 830867 => Updated with Vin: 1GYEE63AX40143777 ## Mail History Id: 30078501, Consumer Id: 611577, Address Id: 832294 => Updated with Vin: 1G4HR54K3YU289635 ## Mail History Id: 30078797, Consumer Id: 619362, Address Id: 839650 => Updated with Vin: 1GYEE637X70177792 ## Mail History Id: 30078235, Consumer Id: 626361, Address Id: 11763857 => Updated with Vin: 1G6DP577360133988 ## Mail History Id: 30078235, Consumer Id: 626361, Address Id: 11763857 => Updated with Vin: 1G6DP577360133988 ## Mail History Id: 30078147, Consumer Id: 611662, Address Id: 824079 => Updated with Vin: 1G6KY54983U125030 ## Mail History Id: 30078147, Consumer Id: 611662, Address Id: 824079 => Updated with Vin: 1G6KY54983U125030 ## Mail History Id: 30078183, Consumer Id: 611663, Address Id: 11759668 => Updated with Vin: 1G6DM57T770107191 ## Mail History Id: 30078299, Consumer Id: 611669, Address Id: 11759672 => Updated with Vin: 1G6DP577660136402 ## Mail History Id: 30079061, Consumer Id: 626829, Address Id: 11764135 => Updated with Vin: 1GYEK63N83R221608 ## Mail History Id: 30079061, Consumer Id: 626829, Address Id: 11764135 => Updated with Vin: 1GYEK63N83R221608 ## Mail History Id: 30078477, Consumer Id: 611665, Address Id: 11759669 => Updated with Vin: 1G6DP577260206963 ## Mail History Id: 30078941, Consumer Id: 611703, Address Id: 11759689 => Updated with Vin: 1G6KD54Y13U138897 ## Mail History Id: 30078231, Consumer Id: 611798, Address Id: 3240481 => Updated with Vin: 1G6DM57N230125142 ## Mail History Id: 30078231, Consumer Id: 611798, Address Id: 3240481 => Updated with Vin: 1G6DM57N230125142 ## Mail History Id: 30078219, Consumer Id: 611695, Address Id: 11759288 => Updated with Vin: 3GYEK62N64G176994 ## Mail History Id: 30078955, Consumer Id: 611704, Address Id: 11759690 => Updated with Vin: 1G6KD57Y96U101743 ## Mail History Id: 30078112, Consumer Id: 612068, Address Id: 11760441 => Updated with Vin: 1G6DP577270108680 ## Mail History Id: 30079037, Consumer Id: 620988, Address Id: 11761758 => Updated with Vin: 1G6KF57924U207094 ## Mail History Id: 30078093, Consumer Id: 611742, Address Id: 11759418 => Updated with Vin: 1G6KD57Y26U102619 ## Mail History Id: 30078399, Consumer Id: 626560, Address Id: 830069 => Updated with Vin: 1GYEK63N64R320431 ## Mail History Id: 30078335, Consumer Id: 611696, Address Id: 3240726 => Updated with Vin: 1G6KD57YX7U126880 ## Mail History Id: 30078094, Consumer Id: 611698, Address Id: 11759686 => Updated with Vin: 1GYEE63A060179383 ## Mail History Id: 30078553, Consumer Id: 613090, Address Id: 11756524 => Updated with Vin: 1G6KD54YX1U216557 ## Mail History Id: 30079067, Consumer Id: 611762, Address Id: 11759919 => Updated with Vin: 1G6KD54Y55U246314 ## Mail History Id: 30078719, Consumer Id: 626274, Address Id: 11761707 => Updated with Vin: 1G6KD54Y62U178987 ## Mail History Id: 30078617, Consumer Id: 611770, Address Id: 11759758 => Updated with Vin: 3GYEK62N74G210084 ## Mail History Id: 30078413, Consumer Id: 611794, Address Id: 11759940 => Updated with Vin: W06VR52R4WR146170 ## Mail History Id: 30078763, Consumer Id: 627515, Address Id: 11759757 => Updated with Vin: 1G4CW52K7TH623236 ## Mail History Id: 30079101, Consumer Id: 626683, Address Id: 11764047 => Updated with Vin: 1G6KD54Y92U116760 ## Mail History Id: 30079101, Consumer Id: 626683, Address Id: 11764047 => Updated with Vin: 1G6KD54Y92U116760 ## Mail History Id: 30078319, Consumer Id: 611814, Address Id: 11759952 => Updated with Vin: 1G6KD57996U194837 ## Mail History Id: 30078543, Consumer Id: 611805, Address Id: 11759946 => Updated with Vin: 1GYFK66837R298404 ## Mail History Id: 30078090, Consumer Id: 624914, Address Id: 3405788 => Updated with Vin: 1G6KD54YX5U198034 ## Mail History Id: 30078351, Consumer Id: 611795, Address Id: 11759941 => Updated with Vin: 1G6DM57T770114819 ## Mail History Id: 30078724, Consumer Id: 626723, Address Id: 11764064 => Updated with Vin: 1G6KD57Y76U142470 ## Mail History Id: 30078973, Consumer Id: 611858, Address Id: 11759979 => Updated with Vin: 1G6EL12YX1B103537 ## Mail History Id: 30078895, Consumer Id: 613263, Address Id: 11756631 => Updated with Vin: 1G6EL12Y1YU134920 ## Mail History Id: 30078415, Consumer Id: 626726, Address Id: 11764066 => Updated with Vin: 1G3HY52K4V4849507 ## Mail History Id: 30079081, Consumer Id: 626812, Address Id: 11764125 => Updated with Vin: 1G6KD57Y56U113193 ## Mail History Id: 30078669, Consumer Id: 611947, Address Id: 11759994 => Updated with Vin: 1G6KF57922U110796 ## Mail History Id: 30079102, Consumer Id: 626846, Address Id: 11764146 => Updated with Vin: 1G6DP567750170719 ## Mail History Id: 30078167, Consumer Id: 626845, Address Id: 11764145 => Updated with Vin: 1G6KF5297VU208427 ## Mail History Id: 30078167, Consumer Id: 626845, Address Id: 11764145 => Updated with Vin: 1G6KF5297VU208427 ## Mail History Id: 30078515, Consumer Id: 626979, Address Id: 11764621 => Updated with Vin: 1G6KD57Y56U102372 ## Mail History Id: 30078443, Consumer Id: 626981, Address Id: 4107366 => Updated with Vin: 1G6KD54Y52U171173 ## Mail History Id: 30078703, Consumer Id: 626980, Address Id: 11764622 => Updated with Vin: 1G6KD54Y8WU743410 ## Mail History Id: 30078703, Consumer Id: 626980, Address Id: 11764622 => Updated with Vin: 1G6KD54Y8WU743410 ## Mail History Id: 30078187, Consumer Id: 611928, Address Id: 11760199 => Updated with Vin: 1G6KS54Y04U125369 ## Mail History Id: 30079173, Consumer Id: 611941, Address Id: 11760206 => Updated with Vin: 1GYEE637060171630 ## Mail History Id: 30078731, Consumer Id: 628476, Address Id: 3241433 => Updated with Vin: 1G6KD54Y44U248831 ## Mail History Id: 30078969, Consumer Id: 627257, Address Id: 11764789 => Updated with Vin: 1GYEE63A670134885 ## Mail History Id: 30078791, Consumer Id: 611957, Address Id: 839520 => Updated with Vin: 1G6KD57Y66U175752 ## Mail History Id: 30078963, Consumer Id: 611945, Address Id: 11760210 => Updated with Vin: 1G6KS54Y73U245054 ## Mail History Id: 30078469, Consumer Id: 627249, Address Id: 11756782 => Updated with Vin: 1G6KD57Y66U104454 ## Mail History Id: 30078605, Consumer Id: 627034, Address Id: 11764655 => Updated with Vin: 1G6DC67A250143472 ## Mail History Id: 30078605, Consumer Id: 627034, Address Id: 11764655 => Updated with Vin: 1G6DC67A250143472 ## Mail History Id: 30078863, Consumer Id: 611983, Address Id: 11760230 => Updated with Vin: 1G6DP577660169433 ## Mail History Id: 30078835, Consumer Id: 611964, Address Id: 11756180 => Updated with Vin: 1G6KE54Y5VU292657 ## Mail History Id: 30078677, Consumer Id: 627295, Address Id: 11764814 => Updated with Vin: 1G6DM57T770102850 ## Mail History Id: 30079007, Consumer Id: 627407, Address Id: 3242961 => Updated with Vin: 3GYEK63N22G254991 ## Mail History Id: 30078807, Consumer Id: 612008, Address Id: 11760242 => Updated with Vin: 1G6DM57T070108330 ## Mail History Id: 30078519, Consumer Id: 628638, Address Id: 3241020 => Updated with Vin: 1GYEK63NX2R135800 ## Mail History Id: 30078737, Consumer Id: 612024, Address Id: 3241518 => Updated with Vin: 1G6DP577970120969 ## Mail History Id: 30078473, Consumer Id: 627281, Address Id: 11764804 => Updated with Vin: 1G6KE54Y1WU791313 ## Mail History Id: 30078879, Consumer Id: 612035, Address Id: 11758101 => Updated with Vin: 1GYEC63T64R130477 ## Mail History Id: 30078159, Consumer Id: 627036, Address Id: 11764657 => Updated with Vin: 1G6KY5295RU839113 ## Mail History Id: 30079095, Consumer Id: 612040, Address Id: 11760421 => Updated with Vin: 1G6KD54Y93U107171 ## Mail History Id: 30078991, Consumer Id: 612078, Address Id: 11760448 => Updated with Vin: 1G6KD57Y47U105684 ## Mail History Id: 30079029, Consumer Id: 612066, Address Id: 11760439 => Updated with Vin: 1G6DW677360206902 ## Mail History Id: 30078122, Consumer Id: 612081, Address Id: 11760447 => Updated with Vin: 1GYFK63867R319217 ## Mail History Id: 30079015, Consumer Id: 627022, Address Id: 11764646 => Updated with Vin: 1G6KE57Y84U176394 ## Mail History Id: 30078561, Consumer Id: 627054, Address Id: 11764669 => Updated with Vin: 1GYEE63A850218459 ## Mail History Id: 30078977, Consumer Id: 627615, Address Id: 11765105 => Updated with Vin: 1G6DW677970174474 ## Mail History Id: 30078620, Consumer Id: 619214, Address Id: 11760696 => Updated with Vin: 1G6KF57923U162947 ## Mail History Id: 30078701, Consumer Id: 627619, Address Id: 11765108 => Updated with Vin: 1G6DC67AX50152596 ## Mail History Id: 30078911, Consumer Id: 612070, Address Id: 11760443 => Updated with Vin: 1G6DP577270104063 ## Mail History Id: 30078092, Consumer Id: 612069, Address Id: 11760442 => Updated with Vin: 1GYEC63887R414824 ## Mail History Id: 30078707, Consumer Id: 619213, Address Id: 11760695 => Updated with Vin: 1G6KD54Y43U184580 ## Mail History Id: 30079123, Consumer Id: 619232, Address Id: 11757835 => Updated with Vin: 1G6KD57Y07U139539 ## Mail History Id: 30078455, Consumer Id: 612535, Address Id: 11756181 => Updated with Vin: 1GYEK63N42R112111 ## Mail History Id: 30079073, Consumer Id: 619244, Address Id: 11760715 => Updated with Vin: 3GYFK62817G307932 ## Mail History Id: 30078479, Consumer Id: 619230, Address Id: 832116 => Updated with Vin: 1G6DM57T570111773 ## Mail History Id: 30078479, Consumer Id: 619230, Address Id: 832116 => Updated with Vin: 1G6DM57T570111773 ## Mail History Id: 30078245, Consumer Id: 627718, Address Id: 11765179 => Updated with Vin: 1G6KD54YX5U261990 ## Mail History Id: 30079097, Consumer Id: 627688, Address Id: 11765159 => Updated with Vin: 1G6DP567150169873 ## Mail History Id: 30078491, Consumer Id: 619235, Address Id: 11760708 => Updated with Vin: 1G6KE57Y62U145450 ## Mail History Id: 30078511, Consumer Id: 619713, Address Id: 11760829 => Updated with Vin: 1G6CD533XL4295323 ## Mail History Id: 30079033, Consumer Id: 619258, Address Id: 11760724 => Updated with Vin: 1G6DP577070194765 ## Mail History Id: 30078644, Consumer Id: 627928, Address Id: 11765325 => Updated with Vin: 1GYEK63R4YR224533 ## Mail History Id: 30078165, Consumer Id: 627999, Address Id: 824702 => Updated with Vin: 1G6KD54YX1U269646 ## Mail History Id: 30079131, Consumer Id: 619279, Address Id: 11758350 => Updated with Vin: 1C3AN69L04X024726 ## Mail History Id: 30078845, Consumer Id: 627023, Address Id: 3404518 => Updated with Vin: 1G6DW67V380102749 ## Mail History Id: 30078253, Consumer Id: 619255, Address Id: 3872876 => Updated with Vin: 3GYFK66N85G227783 ## Mail History Id: 30078129, Consumer Id: 619256, Address Id: 11760723 => Updated with Vin: 1G6KD57Y87U112220 ## Mail History Id: 30079074, Consumer Id: 619314, Address Id: 11756171 => Updated with Vin: 1GYFK63868R123747 ## Mail History Id: 30078555, Consumer Id: 619302, Address Id: 1009550 => Updated with Vin: 1G6KD57Y17U140280 ## Mail History Id: 30078597, Consumer Id: 628197, Address Id: 11765508 => Updated with Vin: 1GNEC13T5YJ168951 ## Mail History Id: 30079045, Consumer Id: 619359, Address Id: 3243992 => Updated with Vin: 1G6KD57YX8U147584 ## Mail History Id: 30078379, Consumer Id: 627032, Address Id: 4107303 => Updated with Vin: 1GYEC63847R371566 ## Mail History Id: 30078379, Consumer Id: 627032, Address Id: 4107303 => Updated with Vin: 1GYEC63847R371566 ## Mail History Id: 30078985, Consumer Id: 628043, Address Id: 3242411 => Updated with Vin: 1G6YV34AX55602670 ## Mail History Id: 30078985, Consumer Id: 619558, Address Id: 3242411 => Updated with Vin: 1GYFK66828R169880 ## Mail History Id: 30078985, Consumer Id: 619558, Address Id: 3242411 => Updated with Vin: 1GYFK66828R169880 ## Mail History Id: 30079157, Consumer Id: 619307, Address Id: 11760958 => Updated with Vin: 1G6DX67DX60172752 ## Mail History Id: 30079104, Consumer Id: 619309, Address Id: 11760035 => Updated with Vin: 1GYEE637370153981 ## Mail History Id: 30079031, Consumer Id: 628222, Address Id: 11765528 => Updated with Vin: 1G6KD54Y63U257304 ## Mail History Id: 30079113, Consumer Id: 619340, Address Id: 11760975 => Updated with Vin: 1G6DM57N030159726 ## Mail History Id: 30079129, Consumer Id: 619312, Address Id: 11760961 => Updated with Vin: 1G6YV34A555603693 ## Mail History Id: 30078395, Consumer Id: 628009, Address Id: 11765378 => Updated with Vin: 1G6KD54Y9YU308575 ## Mail History Id: 30078831, Consumer Id: 619321, Address Id: 11760965 => Updated with Vin: 1GYEE637560142222 ## Mail History Id: 30078831, Consumer Id: 619321, Address Id: 11760965 => Updated with Vin: 1GYEE637560142222 ## Mail History Id: 30078197, Consumer Id: 628014, Address Id: 3240422 => Updated with Vin: 1G6KF5790YU251312 ## Mail History Id: 30078823, Consumer Id: 619313, Address Id: 1230756 => Updated with Vin: 1GYFK63887R212573 ## Mail History Id: 30078709, Consumer Id: 619342, Address Id: 11760977 => Updated with Vin: 1G6DC67A170122793 ## Mail History Id: 30078389, Consumer Id: 622358, Address Id: 11762495 => Updated with Vin: 1G6KD54Y04U195724 ## Mail History Id: 30078205, Consumer Id: 619345, Address Id: 11760979 => Updated with Vin: 1GYEC63847R301016 ## Mail History Id: 30078861, Consumer Id: 619384, Address Id: 11761009 => Updated with Vin: 1G6KD57Y87U108314 ## Mail History Id: 30078711, Consumer Id: 628144, Address Id: 11765470 => Updated with Vin: 1G6DP577460186375 ## Mail History Id: 30078859, Consumer Id: 628145, Address Id: 11765471 => Updated with Vin: 1G6KD54YX4U103616 ## Mail History Id: 30078563, Consumer Id: 621825, Address Id: 3241174 => Updated with Vin: 1G6KS54Y72U141226 ## Mail History Id: 30078107, Consumer Id: 628142, Address Id: 11765468 => Updated with Vin: 1G6DM577140152948 ## Mail History Id: 30078467, Consumer Id: 613859, Address Id: 11756995 => Updated with Vin: 1G6EL12Y3WU601011 ## Mail History Id: 30078865, Consumer Id: 619344, Address Id: 11760978 => Updated with Vin: 1G6KD54Y55U102021 ## Mail History Id: 30078855, Consumer Id: 627052, Address Id: 11764668 => Updated with Vin: 1G6KD54Y05U120829 ## Mail History Id: 30078305, Consumer Id: 628093, Address Id: 3404111 => Updated with Vin: 1G6DP567650200017 ## Mail History Id: 30078785, Consumer Id: 619353, Address Id: 11760985 => Updated with Vin: 1G6KD57Y47U167263 ## Mail History Id: 30079147, Consumer Id: 628309, Address Id: 11765585 => Updated with Vin: 3GYFK62887G200103 ## Mail History Id: 30078102, Consumer Id: 628082, Address Id: 3246626 => Updated with Vin: 1G6KD54Y94U248758 ## Mail History Id: 30079059, Consumer Id: 619341, Address Id: 11760976 => Updated with Vin: 1G6DM57T770158707 ## Mail History Id: 30079047, Consumer Id: 627035, Address Id: 11764656 => Updated with Vin: 1G6KD57Y97U219048 ## Mail History Id: 30079135, Consumer Id: 619347, Address Id: 11760981 => Updated with Vin: 1GYFK66807R331276 ## Mail History Id: 30078667, Consumer Id: 619343, Address Id: 836267 => Updated with Vin: 1G6KD57Y98U149231 ## Mail History Id: 30078667, Consumer Id: 619343, Address Id: 836267 => Updated with Vin: 1G6KD57Y98U149231 ## Mail History Id: 30079174, Consumer Id: 627041, Address Id: 11764661 => Updated with Vin: 1G6KF57945U138281 ## Mail History Id: 30079017, Consumer Id: 628201, Address Id: 11765510 => Updated with Vin: 1G6KD54Y2YU316937 ## Mail History Id: 30078259, Consumer Id: 619418, Address Id: 11761032 => Updated with Vin: 1GYEC63878R134040 ## Mail History Id: 30078603, Consumer Id: 628319, Address Id: 834704 => Updated with Vin: 1GYEC63T63R197398 ## Mail History Id: 30078603, Consumer Id: 628319, Address Id: 834704 => Updated with Vin: 1GYEC63T63R197398 ## Mail History Id: 30079079, Consumer Id: 628318, Address Id: 3405608 => Updated with Vin: 1G6DP567750237030 ## Mail History Id: 30078945, Consumer Id: 619401, Address Id: 11761022 => Updated with Vin: 1G6DP577170157031 ## Mail History Id: 30078725, Consumer Id: 619400, Address Id: 11761021 => Updated with Vin: 1G6KD54Y75U231703 ## Mail History Id: 30079165, Consumer Id: 627037, Address Id: 11764658 => Updated with Vin: 1G6DW67V080122117 ## Mail History Id: 30078221, Consumer Id: 619399, Address Id: 11761020 => Updated with Vin: 1G6DF577580145601 ## Mail History Id: 30078095, Consumer Id: 619415, Address Id: 822601 => Updated with Vin: 1GYEE637880102008 ## Mail History Id: 30078726, Consumer Id: 628180, Address Id: 11765496 => Updated with Vin: 1GYFK63877R224052 ## Mail History Id: 30078723, Consumer Id: 619428, Address Id: 11761182 => Updated with Vin: 1GYEK63N25R220604 ## Mail History Id: 30079057, Consumer Id: 628269, Address Id: 11765560 => Updated with Vin: 1G6DP567350174301 ## Mail History Id: 30079027, Consumer Id: 619438, Address Id: 3243342 => Updated with Vin: 1G6DF577780134129 ## Mail History Id: 30078367, Consumer Id: 619453, Address Id: 829603 => Updated with Vin: 1G6DW67V980115179 ## Mail History Id: 30078793, Consumer Id: 619440, Address Id: 839534 => Updated with Vin: 1G6KE57YX4U227474 ## Mail History Id: 30078453, Consumer Id: 627012, Address Id: 11764640 => Updated with Vin: 1G6KD54YXXU723225 ## Mail History Id: 30078631, Consumer Id: 627016, Address Id: 11756829 => Updated with Vin: 1G6DW51Y8KR716356 ## Mail History Id: 30078917, Consumer Id: 616844, Address Id: 11758814 => Updated with Vin: 1GYDE637040135462 ## Mail History Id: 30078387, Consumer Id: 619473, Address Id: 3240817 => Updated with Vin: 1G6DC67A770196204 ## Mail History Id: 30078913, Consumer Id: 619518, Address Id: 11759977 => Updated with Vin: 1G6KD54Y05U236810 ## Mail History Id: 30078881, Consumer Id: 628358, Address Id: 11765620 => Updated with Vin: KM8SC13D74U814449 ## Mail History Id: 30078881, Consumer Id: 628358, Address Id: 11765620 => Updated with Vin: KM8SC13D74U814449 ## Mail History Id: 30079071, Consumer Id: 627051, Address Id: 11764667 => Updated with Vin: 1G6DM57N130155264 ## Mail History Id: 30078920, Consumer Id: 619466, Address Id: 11761209 => Updated with Vin: 3GYFK62878G198331 ## Mail History Id: 30078920, Consumer Id: 619466, Address Id: 11761209 => Updated with Vin: 3GYFK62878G198331 ## Mail History Id: 30078920, Consumer Id: 619466, Address Id: 11761209 => Updated with Vin: 3GYFK62878G198331 ## Mail History Id: 30078337, Consumer Id: 628478, Address Id: 11765703 => Updated with Vin: 1G6KE54Y6XU705138 ## Mail History Id: 30078403, Consumer Id: 619548, Address Id: 11761268 => Updated with Vin: 1GYEK63N22R225233 ## Mail History Id: 30078989, Consumer Id: 628466, Address Id: 11765694 => Updated with Vin: 1GYEE637370140972 ## Mail History Id: 30078989, Consumer Id: 628466, Address Id: 11765694 => Updated with Vin: 1GYEE637370140972 ## Mail History Id: 30078377, Consumer Id: 628355, Address Id: 11765618 => Updated with Vin: 1GYEE637260164968 ## Mail History Id: 30078113, Consumer Id: 627039, Address Id: 11764660 => Updated with Vin: 1G6DN57U360169482 ## Mail History Id: 30078113, Consumer Id: 627039, Address Id: 11764660 => Updated with Vin: 1G6DN57U360169482 ## Mail History Id: 30078113, Consumer Id: 627039, Address Id: 11764660 => Updated with Vin: 1G6DN57U360169482 ## Mail History Id: 30078293, Consumer Id: 628359, Address Id: 11765621 => Updated with Vin: 1GYEK63N82R116257 ## Mail History Id: 30078293, Consumer Id: 628359, Address Id: 11765621 => Updated with Vin: 1GYEK63N82R116257 ## Mail History Id: 30079153, Consumer Id: 619556, Address Id: 11761275 => Updated with Vin: 1GHDS13S532127389 ## Mail History Id: 30079153, Consumer Id: 619556, Address Id: 11761275 => Updated with Vin: 1GHDS13S532127389 ## Mail History Id: 30079149, Consumer Id: 619535, Address Id: 11759989 => Updated with Vin: 1G6KD54Y25U236517 ## Mail History Id: 30079149, Consumer Id: 619535, Address Id: 11759989 => Updated with Vin: 1G6KD54Y25U236517 ## Mail History Id: 30078347, Consumer Id: 627014, Address Id: 11764641 => Updated with Vin: 1HGCG32512A022719 ## Mail History Id: 30078347, Consumer Id: 627014, Address Id: 11764641 => Updated with Vin: 1HGCG32512A022719 ## Mail History Id: 30078109, Consumer Id: 619536, Address Id: 11761256 => Updated with Vin: 1GYFK66897R413832 ## Mail History Id: 30078163, Consumer Id: 619653, Address Id: 11760790 => Updated with Vin: 1G6KD54Y6XU755489 ## Mail History Id: 30078191, Consumer Id: 627021, Address Id: 10722284 => Updated with Vin: 1G6KF57991U124144 ## Mail History Id: 30078191, Consumer Id: 627021, Address Id: 10722284 => Updated with Vin: 1G6KF57991U124144 ## Mail History Id: 30078261, Consumer Id: 619542, Address Id: 11761262 => Updated with Vin: 1G6KS54Y2YU227147 ## Mail History Id: 30079082, Consumer Id: 619521, Address Id: 11761244 => Updated with Vin: 1GYFK63877R155900 ## Mail History Id: 30078581, Consumer Id: 628473, Address Id: 11765700 => Updated with Vin: 3GYFK62807G125879 ## Mail History Id: 30078777, Consumer Id: 619534, Address Id: 3241721 => Updated with Vin: 1G6KD57Y47U186976 ## Mail History Id: 30078777, Consumer Id: 619534, Address Id: 3241721 => Updated with Vin: 1G6KD57Y47U186976 ## Mail History Id: 30078673, Consumer Id: 628484, Address Id: 1011511 => Updated with Vin: 1G6KD54Y61U185145 ## Mail History Id: 30078901, Consumer Id: 628611, Address Id: 11765796 => Updated with Vin: 3GYFK66N64G130810 ## Mail History Id: 30078157, Consumer Id: 628482, Address Id: 824506 => Updated with Vin: 3GYFK628X7G188441 ## Mail History Id: 30079159, Consumer Id: 619524, Address Id: 11761247 => Updated with Vin: 1G6KD54Y45U148178 ## Mail History Id: 30078811, Consumer Id: 617080, Address Id: 11757332 => Updated with Vin: 1G6CD53B9P4267171 ## Mail History Id: 30078279, Consumer Id: 628483, Address Id: 11765707 => Updated with Vin: 1G6DC67A770193934 ## Mail History Id: 30078223, Consumer Id: 627033, Address Id: 11764654 => Updated with Vin: 1G6KD52Y2TU298208 ## Mail History Id: 30078223, Consumer Id: 627033, Address Id: 11764654 => Updated with Vin: 1G6KD52Y2TU298208 ## Mail History Id: 30078385, Consumer Id: 628471, Address Id: 11765698 => Updated with Vin: 1G6KE57Y4YU298725 ## Mail History Id: 30079072, Consumer Id: 619531, Address Id: 11761253 => Updated with Vin: 1G6DV57V180177284 ## Mail History Id: 30079063, Consumer Id: 619532, Address Id: 11761254 => Updated with Vin: 1G6DP577170103177 ## Mail History Id: 30078128, Consumer Id: 619533, Address Id: 11761255 => Updated with Vin: 1LNHM86S74Y626307 ## Mail History Id: 30078829, Consumer Id: 628604, Address Id: 11765792 => Updated with Vin: 1G6KD57Y48U120929 ## Mail History Id: 30078829, Consumer Id: 628604, Address Id: 11765792 => Updated with Vin: 1G6KD57Y48U120929 ## Mail History Id: 30079005, Consumer Id: 628467, Address Id: 11765695 => Updated with Vin: 1G6DP577970140056 ## Mail History Id: 30078887, Consumer Id: 628488, Address Id: 11765709 => Updated with Vin: 1G6DW5472MR714043 ## Mail History Id: 30078383, Consumer Id: 628424, Address Id: 11765665 => Updated with Vin: 1GYFK63877R118670 ## Mail History Id: 30078383, Consumer Id: 628424, Address Id: 11765665 => Updated with Vin: 1GYFK63877R118670 ## Mail History Id: 30078211, Consumer Id: 628632, Address Id: 11765813 => Updated with Vin: 1G6KD57Y52U249060 ## Mail History Id: 30079001, Consumer Id: 628220, Address Id: 11765526 => Updated with Vin: 1G6KD57YX7U175528 ## Mail History Id: 30079051, Consumer Id: 628487, Address Id: 7707167 => Updated with Vin: 1G6DW677670187375 ## Mail History Id: 30078471, Consumer Id: 628474, Address Id: 11765701 => Updated with Vin: 1G6DM57T170146648 ## Mail History Id: 30078761, Consumer Id: 628470, Address Id: 11765697 => Updated with Vin: 2G1WF52E359337007 ## Mail History Id: 30079094, Consumer Id: 628479, Address Id: 11765704 => Updated with Vin: 1G6KD57Y26U145390 ## Mail History Id: 30078327, Consumer Id: 628591, Address Id: 828420 => Updated with Vin: 1G6DP577670138975 ## Mail History Id: 30078327, Consumer Id: 628591, Address Id: 828420 => Updated with Vin: 1G6DP577670138975 ## Mail History Id: 30078199, Consumer Id: 619559, Address Id: 11761421 => Updated with Vin: 1B3HB48BX7D162698 ## Mail History Id: 30078199, Consumer Id: 619559, Address Id: 11761421 => Updated with Vin: 1B3HB48BX7D162698 ## Mail History Id: 30078965, Consumer Id: 619560, Address Id: 11761422 => Updated with Vin: 1GYFK63878R227129 ## Mail History Id: 30078965, Consumer Id: 619560, Address Id: 11761422 => Updated with Vin: 1GYFK63878R227129 ## Mail History Id: 30078965, Consumer Id: 619560, Address Id: 11761422 => Updated with Vin: 1GYFK63878R227129 ## Mail History Id: 30078289, Consumer Id: 619562, Address Id: 11761424 => Updated with Vin: 1G6KD54Y65U255104 ## Mail History Id: 30078289, Consumer Id: 619562, Address Id: 11761424 => Updated with Vin: 1G6KD54Y65U255104 ## Mail History Id: 30078289, Consumer Id: 619562, Address Id: 11761424 => Updated with Vin: 1G6KD54Y65U255104 ## Mail History Id: 30078289, Consumer Id: 619562, Address Id: 11761424 => Updated with Vin: 1G6KD54Y65U255104 ## Mail History Id: 30078283, Consumer Id: 628616, Address Id: 11765801 => Updated with Vin: 1G6DP577060175289 ## Mail History Id: 30079096, Consumer Id: 628584, Address Id: 11765782 => Updated with Vin: 1G6DM57N530124633 ## Mail History Id: 30078098, Consumer Id: 628609, Address Id: 11765794 => Updated with Vin: 1GYEK63N92R287907 ## Mail History Id: 30078098, Consumer Id: 628609, Address Id: 11765794 => Updated with Vin: 1GYEK63N92R287907 ## Mail History Id: 30078503, Consumer Id: 612520, Address Id: 11756170 => Updated with Vin: 1GYEK63N52R254466 ## Mail History Id: 30078409, Consumer Id: 628586, Address Id: 11765783 => Updated with Vin: 1G6KD54Y14U112821 ## Mail History Id: 30078409, Consumer Id: 628586, Address Id: 11765783 => Updated with Vin: 1G6KD54Y14U112821 ## Mail History Id: 30078233, Consumer Id: 628590, Address Id: 3910571 => Updated with Vin: 1G6ET1298TU616799 ## Mail History Id: 30078437, Consumer Id: 628598, Address Id: 831352 => Updated with Vin: 1G6KD54Y2YU288945 ## Mail History Id: 30078462, Consumer Id: 628589, Address Id: 11765786 => Updated with Vin: 1G6DP577870178104 ## Mail History Id: 30078497, Consumer Id: 628601, Address Id: 1008512 => Updated with Vin: 1G6KY5298SU803440 ## Mail History Id: 30078965, Consumer Id: 619565, Address Id: 11761422 => Updated with Vin: 1G6KD57Y47U175735 ## Mail History Id: 30078965, Consumer Id: 619565, Address Id: 11761422 => Updated with Vin: 1G6KD57Y47U175735 ## Mail History Id: 30078965, Consumer Id: 619565, Address Id: 11761422 => Updated with Vin: 1G6KD57Y47U175735 ## Mail History Id: 30079109, Consumer Id: 629819, Address Id: 11770033 => Updated with Vin: 1GYEC63T65R155851 ## Mail History Id: 30079167, Consumer Id: 628648, Address Id: 3246393 => Updated with Vin: 1GYEK63NX4R266406 ## Mail History Id: 30079117, Consumer Id: 619567, Address Id: 3245158 => Updated with Vin: 1G6KD57Y07U115256 ## Mail History Id: 30079058, Consumer Id: 619573, Address Id: 11761430 => Updated with Vin: 2D4FV47T57H744740 ## Mail History Id: 30079058, Consumer Id: 619573, Address Id: 11761430 => Updated with Vin: 2D4FV47T57H744740 ## Mail History Id: 30078141, Consumer Id: 628623, Address Id: 11765806 => Updated with Vin: 1G6KD54Y23U201795 ## Mail History Id: 30078141, Consumer Id: 628623, Address Id: 11765806 => Updated with Vin: 1G6KD54Y23U201795 ## Mail History Id: 30078735, Consumer Id: 619569, Address Id: 837446 => Updated with Vin: 1G6DW677550237079 ## Mail History Id: 30079078, Consumer Id: 627055, Address Id: 11764670 => Updated with Vin: 1GYEK63N53R192746 ## Mail History Id: 30078643, Consumer Id: 627015, Address Id: 11764642 => Updated with Vin: 1G6DM577440112203 ## Mail History Id: 30078643, Consumer Id: 627015, Address Id: 11764642 => Updated with Vin: 1G6DM577440112203 ## Mail History Id: 30078735, Consumer Id: 619568, Address Id: 837446 => Updated with Vin: 1G6DV57V880165990 ## Mail History Id: 30078741, Consumer Id: 619571, Address Id: 11761428 => Updated with Vin: 1G6KS54Y43U268095 ## Mail History Id: 30079099, Consumer Id: 628626, Address Id: 11765808 => Updated with Vin: 1GYEK63N02R304917 ## Mail History Id: 30078735, Consumer Id: 619563, Address Id: 837446 => Updated with Vin: 1G6VY34R445603506 ## Mail History Id: 30078321, Consumer Id: 619572, Address Id: 11761429 => Updated with Vin: 1G6DF577080179395 ## Mail History Id: 30079139, Consumer Id: 628614, Address Id: 11765799 => Updated with Vin: 1G6ET1299YU157323 ## Mail History Id: 30079151, Consumer Id: 628629, Address Id: 3246001 => Updated with Vin: 1G6DM57N930158896 ## Mail History Id: 30078618, Consumer Id: 619574, Address Id: 10347267 => Updated with Vin: 1GYFK66878R218331 ## Mail History Id: 30078618, Consumer Id: 619574, Address Id: 10347267 => Updated with Vin: 1GYFK66878R218331 ## Mail History Id: 30079121, Consumer Id: 627028, Address Id: 11764650 => Updated with Vin: 1GYEC63T23R265390 ## Mail History Id: 30078687, Consumer Id: 628642, Address Id: 11765821 => Updated with Vin: 1G6DM57NX30134719 ## Mail History Id: 30078459, Consumer Id: 619575, Address Id: 11761431 => Updated with Vin: 1G6KD57Y47U177162 ## Mail History Id: 30078459, Consumer Id: 619575, Address Id: 11761431 => Updated with Vin: 1G6KD57Y47U177162 ## Mail History Id: 30078449, Consumer Id: 627029, Address Id: 11764651 => Updated with Vin: 1G3GS64C814112006 ## Mail History Id: 30078449, Consumer Id: 627029, Address Id: 11764651 => Updated with Vin: 1G3GS64C814112006 ## Mail History Id: 30078449, Consumer Id: 627029, Address Id: 11764651 => Updated with Vin: 1G3GS64C814112006 ## Mail History Id: 30079145, Consumer Id: 628639, Address Id: 11765818 => Updated with Vin: 1G6DW51Y5H9724892 ## Mail History Id: 30078267, Consumer Id: 628641, Address Id: 11765820 => Updated with Vin: 1G6KD54Y35U231228 ## Mail History Id: 30078683, Consumer Id: 619577, Address Id: 11761432 => Updated with Vin: 1GYFK66848R212048 ## Mail History Id: 30079041, Consumer Id: 619578, Address Id: 11761433 => Updated with Vin: 1GYFK66818R192180 ## Mail History Id: 30078431, Consumer Id: 628646, Address Id: 11765825 => Updated with Vin: 1G6KD52B4RU286632 ## Mail History Id: 30078227, Consumer Id: 628650, Address Id: 11765827 => Updated with Vin: 1GYEC63847R297372 ## Mail History Id: 30079133, Consumer Id: 627025, Address Id: 11764648 => Updated with Vin: 1G6KD57Y86U126715 ## Mail History Id: 30078100, Consumer Id: 619579, Address Id: 11760793 => Updated with Vin: 1G6KD54Y13U203005 ## Mail History Id: 30078100, Consumer Id: 619579, Address Id: 11760793 => Updated with Vin: 1G6KD54Y13U203005 ## Mail History Id: 30078591, Consumer Id: 628647, Address Id: 834355 => Updated with Vin: 1GYEK63N02R115412 ## Mail History Id: 30078535, Consumer Id: 619576, Address Id: 832767 => Updated with Vin: 4A3AB46F65E059059 ## Mail History Id: 30078535, Consumer Id: 619576, Address Id: 832767 => Updated with Vin: 4A3AB46F65E059059 ## Mail History Id: 30079053, Consumer Id: 619580, Address Id: 11761434 => Updated with Vin: 2B3AD46R14H652733 ## Mail History Id: 30078489, Consumer Id: 619581, Address Id: 832211 => Updated with Vin: 1C3LC46K27N553285 ## Mail History Id: 30078629, Consumer Id: 619582, Address Id: 835010 => Updated with Vin: 3GYEK62N14G292569 ## Mail History Id: 30078629, Consumer Id: 619582, Address Id: 835010 => Updated with Vin: 3GYEK62N14G292569 ## Mail History Id: 30078629, Consumer Id: 619582, Address Id: 835010 => Updated with Vin: 3GYEK62N14G292569 ## Mail History Id: 30078629, Consumer Id: 619582, Address Id: 835010 => Updated with Vin: 3GYEK62N14G292569 ## Mail History Id: 30078721, Consumer Id: 619583, Address Id: 11761435 => Updated with Vin: 1G6DM577740148080 ## Mail History Id: 30078721, Consumer Id: 619583, Address Id: 11761435 => Updated with Vin: 1G6DM577740148080 ## Mail History Id: 30078557, Consumer Id: 627013, Address Id: 7677335 => Updated with Vin: JTEGH20V026000185 ## Mail History Id: 30078124, Consumer Id: 619587, Address Id: 11761439 => Updated with Vin: 3GYFK66N04G237321 ## Mail History Id: 30079098, Consumer Id: 627019, Address Id: 11764644 => Updated with Vin: 1G6DN56S150103351 ## Mail History Id: 30079137, Consumer Id: 627020, Address Id: 11764645 => Updated with Vin: 1G6DP567550206102 ## Mail History Id: 30078452, Consumer Id: 627027, Address Id: 11764649 => Updated with Vin: 1G6KF57962U269465 ## Mail History Id: 30079086, Consumer Id: 627024, Address Id: 11764647 => Updated with Vin: 1GYEE63A550228205 ## Mail History Id: 30078421, Consumer Id: 627046, Address Id: 3240893 => Updated with Vin: 1G6DR57V180146931 ## Mail History Id: 30079172, Consumer Id: 627030, Address Id: 11764652 => Updated with Vin: 1G6ET1296TU600455 ## Mail History Id: 30078239, Consumer Id: 623958, Address Id: 11762959 => Updated with Vin: 1G6DM577140178689 ## Mail History Id: 30078565, Consumer Id: 627045, Address Id: 11764665 => Updated with Vin: 1GYEK63N96R118444 ## Mail History Id: 30078671, Consumer Id: 627056, Address Id: 836452 => Updated with Vin: 1G6DM57NX30152833 ## Mail History Id: 30079170, Consumer Id: 626815, Address Id: 11764126 => Updated with Vin: 1G6DM57N630161464 ## Mail History Id: 30078997, Consumer Id: 623653, Address Id: 11764597 => Updated with Vin: 1GYEK63N12R181726 ## Mail History Id: 30078549, Consumer Id: 629290, Address Id: 833308 => Updated with Vin: 1G6KY5294PU813938 ## Mail History Id: 30079068, Consumer Id: 627061, Address Id: 11764673 => Updated with Vin: 3GYEK62N15G290015 ## Mail History Id: 30079127, Consumer Id: 629139, Address Id: 11769727 => Updated with Vin: 1G6DC67A870189147 ## Mail History Id: 30079127, Consumer Id: 629139, Address Id: 11769727 => Updated with Vin: 1G6DC67A870189147 ## Mail History Id: 30078401, Consumer Id: 627062, Address Id: 11764674 => Updated with Vin: 1GYEK13R2XR404224 ## Mail History Id: 30079084, Consumer Id: 629291, Address Id: 11769728 => Updated with Vin: 1G6DN56S850151347 ## Mail History Id: 30078893, Consumer Id: 630058, Address Id: 11770702 => Updated with Vin: 1G6KD57Y67U188826 ## Mail History Id: 30078587, Consumer Id: 1158004, Address Id: 15019181 => Updated with Vin: 1G6KD57Y57U177039 ## Mail History Id: 30078919, Consumer Id: 612822, Address Id: 11756351 => Updated with Vin: 1G6KD54YXWU700610 ## Mail History Id: 30079009, Consumer Id: 613089, Address Id: 3242992 => Updated with Vin: 1G6KS54Y02U133405 ## Mail History Id: 30078713, Consumer Id: 618536, Address Id: 11760155 => Updated with Vin: 1G6KD54Y43U110544 ## Mail History Id: 30079115, Consumer Id: 619465, Address Id: 11761208 => Updated with Vin: 1G6DX67D760207327 ## Total mail_history records updated with vin numbers: 663 out of 718 ============================================================ ====== Tracking Id: 1269 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-16 14:14:17') AND us2_order_type_id = 3 ## Order found: 1653 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1653 AND product_id = 114 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3451 ## Mailing found: '13001' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079427, Consumer Id: 617498, Address Id: 828647 => Updated with Vin: 1G6KD54Y14U191083 ## Mail History Id: 30079499, Consumer Id: 622814, Address Id: 11758714 => Updated with Vin: 1G6KD54Y23U230715 ## Mail History Id: 30079483, Consumer Id: 624367, Address Id: 11758144 => Updated with Vin: 1G6KD54Y75U126711 ## Mail History Id: 30079463, Consumer Id: 627317, Address Id: 11764830 => Updated with Vin: 3GYEK62N16G106015 ## Mail History Id: 30079409, Consumer Id: 627885, Address Id: 11765292 => Updated with Vin: 1GYEK63N25R249228 ## Mail History Id: 30079503, Consumer Id: 626055, Address Id: 3243363 => Updated with Vin: 1GYEK63N43R281594 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 1270 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-16 14:14:29') AND us2_order_type_id = 3 ## Order found: 1653 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1653 AND product_id = 112 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3451 ## Mailing found: '13001' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079511, Consumer Id: 628081, Address Id: 11765430 => Updated with Vin: 1G2ZH361874142766 ## Mail History Id: 30079411, Consumer Id: 612466, Address Id: 824021 => Updated with Vin: 1G6KY5493XU917849 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1271 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-16 20:14:13') AND us2_order_type_id = 3 ## Order found: 1655 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1655 AND product_id = 2147 ## Job Group Found: '562' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('562') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408002') AND customer_id = 3503 ## Mailing found: '13414' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31003412, Consumer Id: 2174932, Address Id: 9720029 => Updated with Vin: 4T1BF30K52U531065 ## Mail History Id: 31003414, Consumer Id: 2162574, Address Id: 9721872 => Updated with Vin: JTDBR32E550057312 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1272 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-16 20:14:25') AND us2_order_type_id = 3 ## Order found: 1655 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1655 AND product_id = 2152 ## Job Group Found: '566' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('566') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408006') AND customer_id = 3503 ## Mailing found: '13368' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1273 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-16 20:14:36') AND us2_order_type_id = 3 ## Order found: 1655 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1655 AND product_id = 2153 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3503 ## Mailing found: '13380' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1274 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-17 07:14:34') AND us2_order_type_id = 3 ## Order found: 1672 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1672 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3503 ## Mailing found: '13402,13913' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992629, Consumer Id: 2173687, Address Id: 9721582 => Updated with Vin: 2T1FF28P7YC412455 ## Mail History Id: 30992419, Consumer Id: 2173968, Address Id: 9721662 => Updated with Vin: JT3HN87R7Y9043057 ## Mail History Id: 30992356, Consumer Id: 2166855, Address Id: 9733815 => Updated with Vin: JTNBE46K773082131 ## Mail History Id: 30993343, Consumer Id: 2164534, Address Id: 9731008 => Updated with Vin: 5TDBT44AX6S267324 ## Mail History Id: 30993117, Consumer Id: 2172939, Address Id: 9719285 => Updated with Vin: JTEHH20V026038424 ## Mail History Id: 30993131, Consumer Id: 2173577, Address Id: 9721476 => Updated with Vin: 4T1BE32K13U672958 ## Mail History Id: 30993089, Consumer Id: 2179693, Address Id: 9731528 => Updated with Vin: 2T1BR32E34C300829 ## Mail History Id: 30992332, Consumer Id: 2179432, Address Id: 9730737 => Updated with Vin: 2T1LR32E43C066266 ## Mail History Id: 30992301, Consumer Id: 2160484, Address Id: 9725938 => Updated with Vin: JTEHD20V446017686 ## Mail History Id: 30992683, Consumer Id: 2160692, Address Id: 9726093 => Updated with Vin: JTEDP21A840042191 ## Mail History Id: 30992683, Consumer Id: 2160692, Address Id: 9726093 => Updated with Vin: JTEDP21A840042191 ## Mail History Id: 30993439, Consumer Id: 2167369, Address Id: 9734727 => Updated with Vin: JTDKB20U877591519 ## Mail History Id: 30993429, Consumer Id: 2177331, Address Id: 9726502 => Updated with Vin: 4T1BF30K62U533973 ## Mail History Id: 30993497, Consumer Id: 2179397, Address Id: 9731463 => Updated with Vin: 4T1BE32K64U336563 ## Mail History Id: 30993455, Consumer Id: 2171262, Address Id: 9719014 => Updated with Vin: 4T1BG22K6WU352107 ## Mail History Id: 30992545, Consumer Id: 2163832, Address Id: 9730269 => Updated with Vin: 2T1BR32EX6C605473 ## Mail History Id: 30992607, Consumer Id: 2162328, Address Id: 9725680 => Updated with Vin: JTDKB20U157029975 ## Mail History Id: 30992461, Consumer Id: 2163404, Address Id: 9729742 => Updated with Vin: 4T1BF30K46U116003 ## Mail History Id: 30992489, Consumer Id: 2159893, Address Id: 9725047 => Updated with Vin: JTEEP21A140031473 ## Mail History Id: 30992555, Consumer Id: 1385886, Address Id: 9746881 => Updated with Vin: JN8DR09Y13W837037 ## Mail History Id: 30992220, Consumer Id: 2164470, Address Id: 9730961 => Updated with Vin: 4T1BK36B76U135731 ## Mail History Id: 30992324, Consumer Id: 2171258, Address Id: 9719011 => Updated with Vin: 2T1BR32E43C067073 ## Mail History Id: 30992444, Consumer Id: 2175186, Address Id: 9723242 => Updated with Vin: 4T1BG22K2WU829972 ## Mail History Id: 30992430, Consumer Id: 2174865, Address Id: 9719977 => Updated with Vin: 4T1BF32K32U032441 ## Mail History Id: 30992429, Consumer Id: 2163825, Address Id: 9730263 => Updated with Vin: JTEEW21AX60018114 ## Mail History Id: 30992988, Consumer Id: 2003519, Address Id: 9800731 => Updated with Vin: WBSCK9347YLC92049 ## Mail History Id: 30992997, Consumer Id: 2158603, Address Id: 9721331 => Updated with Vin: 4T1BE32K53U195757 ## Mail History Id: 30992883, Consumer Id: 2165310, Address Id: 9731805 => Updated with Vin: JTEBU11FX70031140 ## Mail History Id: 30992719, Consumer Id: 2172276, Address Id: 9720001 => Updated with Vin: 4TAPM62N4WZ162440 ## Mail History Id: 30993008, Consumer Id: 434334, Address Id: 9753094 => Updated with Vin: 2T1BR32E98C910322 ## Mail History Id: 30992707, Consumer Id: 2165651, Address Id: 9732045 => Updated with Vin: 1NXBR32EX6Z703840 ## Mail History Id: 30992767, Consumer Id: 2161560, Address Id: 9727417 => Updated with Vin: JTDKB20UX57011183 ## Mail History Id: 30992083, Consumer Id: 2161051, Address Id: 9726742 => Updated with Vin: JTDKB20U950126009 ## Mail History Id: 30992355, Consumer Id: 2174418, Address Id: 9722237 => Updated with Vin: 5TDBT48A02S123687 ## Mail History Id: 30992367, Consumer Id: 2177236, Address Id: 9725505 => Updated with Vin: JT2AE09V6R0057376 ## Mail History Id: 30993701, Consumer Id: 2161840, Address Id: 9727895 => Updated with Vin: JTEGD20V450058660 ## Mail History Id: 30992398, Consumer Id: 2163416, Address Id: 9729750 => Updated with Vin: JTEBU14R158050518 ## Mail History Id: 30993501, Consumer Id: 2159524, Address Id: 9724306 => Updated with Vin: JTEHD20V240012778 ## Mail History Id: 30992699, Consumer Id: 428809, Address Id: 9739044 => Updated with Vin: JTDKB20U567543653 ## Total mail_history records updated with vin numbers: 39 out of 82 ============================================================ ====== Tracking Id: 1275 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-17 08:44:25') AND us2_order_type_id = 3 ## Order found: 1673 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1673 AND product_id = 113 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3230 ## Mailing found: '12998' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079406, Consumer Id: 92842, Address Id: 51262 => Updated with Vin: 1FAHP241X7G124071 ## Mail History Id: 30079408, Consumer Id: 64614, Address Id: 48046 => Updated with Vin: 1FTSF30S02EC48183 ## Mail History Id: 30079372, Consumer Id: 528033, Address Id: 9864990 => Updated with Vin: 1FTYR14E31PB41061 ## Mail History Id: 30079384, Consumer Id: 65514, Address Id: 52846 => Updated with Vin: 1FTNX21FXYEB56237 ## Mail History Id: 30079422, Consumer Id: 93400, Address Id: 51891 => Updated with Vin: 3B7HF13ZXYG123958 ## Total mail_history records updated with vin numbers: 5 out of 7 ============================================================ ====== Tracking Id: 1276 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-17 08:44:37') AND us2_order_type_id = 3 ## Order found: 1673 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1673 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3230 ## Mailing found: '13007' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078338, Consumer Id: 629518, Address Id: 11769808 => Updated with Vin: 1GNDT13S132273704 ## Mail History Id: 30078692, Consumer Id: 92542, Address Id: 50877 => Updated with Vin: 1FAFP24197G103736 ## Mail History Id: 30078450, Consumer Id: 92772, Address Id: 51196 => Updated with Vin: 1FTWW31P27EB36858 ## Mail History Id: 30078376, Consumer Id: 63577, Address Id: 48777 => Updated with Vin: 1FAHP28125G130616 ## Mail History Id: 30078674, Consumer Id: 92777, Address Id: 51198 => Updated with Vin: 1FAHP25197G122598 ## Mail History Id: 30078330, Consumer Id: 92702, Address Id: 51106 => Updated with Vin: 1FTPW14V07FA17980 ## Mail History Id: 30078420, Consumer Id: 93152, Address Id: 47332 => Updated with Vin: 1FMEU75E17UB58031 ## Mail History Id: 30078380, Consumer Id: 66385, Address Id: 47751 => Updated with Vin: 1FMPU18576LA02372 ## Mail History Id: 30078262, Consumer Id: 64427, Address Id: 47214 => Updated with Vin: 1FMYU93143KA79595 ## Mail History Id: 30078382, Consumer Id: 629883, Address Id: 49765 => Updated with Vin: 1FAHP35N18W171407 ## Mail History Id: 30078396, Consumer Id: 93212, Address Id: 51624 => Updated with Vin: 1FMEU51KX7UA19600 ## Mail History Id: 30078288, Consumer Id: 103571, Address Id: 48159 => Updated with Vin: 1FTNX21P74EA27522 ## Mail History Id: 30078372, Consumer Id: 103521, Address Id: 53704 => Updated with Vin: 1MEFM50U32G644034 ## Mail History Id: 30078296, Consumer Id: 64827, Address Id: 51984 => Updated with Vin: 1FTPX145X5FA58305 ## Mail History Id: 30078332, Consumer Id: 630341, Address Id: 51490 => Updated with Vin: 3FAHP07Z28R202438 ## Mail History Id: 30078308, Consumer Id: 67152, Address Id: 50600 => Updated with Vin: 1G8ZH5281YZ266242 ## Mail History Id: 30078298, Consumer Id: 66374, Address Id: 48274 => Updated with Vin: 1FTNX21F81EC63003 ## Mail History Id: 30078438, Consumer Id: 67064, Address Id: 49954 => Updated with Vin: 1FTPX145X5FB13903 ## Mail History Id: 30078422, Consumer Id: 629517, Address Id: 11769807 => Updated with Vin: 2FMDK39C37BB22771 ## Mail History Id: 30078326, Consumer Id: 63605, Address Id: 48786 => Updated with Vin: 1FAFP55S44G124434 ## Mail History Id: 30078254, Consumer Id: 73751, Address Id: 52024 => Updated with Vin: 2FTRX18L52CA28590 ## Mail History Id: 30078258, Consumer Id: 92218, Address Id: 49862 => Updated with Vin: 1FTPX14585FB60038 ## Mail History Id: 30078252, Consumer Id: 64508, Address Id: 50897 => Updated with Vin: 1FTRW08L73KD78474 ## Mail History Id: 30078142, Consumer Id: 629515, Address Id: 11769804 => Updated with Vin: 1FTSW31P74ED68706 ## Total mail_history records updated with vin numbers: 24 out of 28 ============================================================ ====== Tracking Id: 1277 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-17 09:17:36') AND us2_order_type_id = 3 ## Order found: 1674 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1674 AND product_id = 142 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3768 ## Mailing found: '13016' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078524, Consumer Id: 1108030, Address Id: 12121721 => Updated with Vin: 1G6KS54Y2WU912861 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 1278 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-17 10:16:18') AND us2_order_type_id = 3 ## Order found: 1675 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1675 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3416 ## Mailing found: '13009' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078186, Consumer Id: 625365, Address Id: 1965096 => Updated with Vin: 1GYEE63A170149519 ## Mail History Id: 30078236, Consumer Id: 625425, Address Id: 11765958 => Updated with Vin: 5GTDN13E678215032 ## Mail History Id: 30078162, Consumer Id: 692864, Address Id: 11798555 => Updated with Vin: 1G6KY54923U207528 ## Mail History Id: 30078212, Consumer Id: 625712, Address Id: 11765960 => Updated with Vin: 1G6KD54Y25U108102 ## Mail History Id: 30078176, Consumer Id: 681941, Address Id: 3761032 => Updated with Vin: 1G6KF579XYU278288 ## Mail History Id: 30078168, Consumer Id: 625728, Address Id: 11766104 => Updated with Vin: 1G6DW677570196178 ## Mail History Id: 30078164, Consumer Id: 685633, Address Id: 11796014 => Updated with Vin: 1GYDE637X40124257 ## Mail History Id: 30078230, Consumer Id: 940080, Address Id: 11961614 => Updated with Vin: 3N1CB51D72L656744 ## Mail History Id: 30078192, Consumer Id: 940083, Address Id: 7547846 => Updated with Vin: 4T1BE30K24U307788 ## Mail History Id: 30078172, Consumer Id: 940081, Address Id: 8330076 => Updated with Vin: 1G6DW677870141661 ## Mail History Id: 30078144, Consumer Id: 955783, Address Id: 11965463 => Updated with Vin: 5GTEN13E588160935 ## Mail History Id: 30078146, Consumer Id: 690148, Address Id: 3747729 => Updated with Vin: 1G6KD57Y16U122361 ## Mail History Id: 30078184, Consumer Id: 629827, Address Id: 11770036 => Updated with Vin: 1G6KD579X6U151656 ## Mail History Id: 30078232, Consumer Id: 687813, Address Id: 1969505 => Updated with Vin: 1GYEE63A350122724 ## Mail History Id: 30078156, Consumer Id: 682783, Address Id: 1960070 => Updated with Vin: 1G6EL12Y7YU140348 ## Mail History Id: 30078140, Consumer Id: 627128, Address Id: 11764724 => Updated with Vin: 1G6DC67A460143846 ## Mail History Id: 30078190, Consumer Id: 687229, Address Id: 1965681 => Updated with Vin: 1GYEK63N62R115253 ## Mail History Id: 30078214, Consumer Id: 681478, Address Id: 1969029 => Updated with Vin: 1G6EL12Y8XU613561 ## Mail History Id: 30078246, Consumer Id: 682273, Address Id: 1970088 => Updated with Vin: 1G6KD54Y22U266774 ## Mail History Id: 30078228, Consumer Id: 683269, Address Id: 1969406 => Updated with Vin: W06VR54R91R026113 ## Mail History Id: 30078178, Consumer Id: 625702, Address Id: 11766092 => Updated with Vin: 1G6DS57V880133839 ## Mail History Id: 30078166, Consumer Id: 689272, Address Id: 11797172 => Updated with Vin: 1G6DP567150227674 ## Mail History Id: 30078244, Consumer Id: 627136, Address Id: 8335989 => Updated with Vin: 1G6DP577160113612 ## Mail History Id: 30078132, Consumer Id: 692175, Address Id: 11798246 => Updated with Vin: 5GTDN13E978127754 ## Total mail_history records updated with vin numbers: 24 out of 38 ============================================================ ====== Tracking Id: 1279 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-17 10:18:14') AND us2_order_type_id = 3 ## Order found: 1676 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1676 AND product_id = 142 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3697 ## Mailing found: '13013' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078472, Consumer Id: 1049605, Address Id: 14954244 => Updated with Vin: 1GYFK63887R262440 ## Mail History Id: 30078534, Consumer Id: 1043078, Address Id: 14952437 => Updated with Vin: 3GYFK66N94G183260 ## Mail History Id: 30078510, Consumer Id: 1048004, Address Id: 11666626 => Updated with Vin: 1GYEK63N56R139954 ## Total mail_history records updated with vin numbers: 3 out of 5 ============================================================ ====== Tracking Id: 1280 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-17 10:19:16') AND us2_order_type_id = 3 ## Order found: 1677 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1677 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3815 ## Mailing found: '13018' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078548, Consumer Id: 1369455, Address Id: 15636228 => Updated with Vin: 5FNRL18633B111984 ## Mail History Id: 30078592, Consumer Id: 1364820, Address Id: 15637749 => Updated with Vin: 5J6YH28727L005809 ## Mail History Id: 30078466, Consumer Id: 1376790, Address Id: 15670542 => Updated with Vin: 1HGCM56415A114679 ## Mail History Id: 30078558, Consumer Id: 1364539, Address Id: 15637571 => Updated with Vin: 4T1BE32KX5U393284 ## Mail History Id: 30078608, Consumer Id: 1365823, Address Id: 8348120 => Updated with Vin: JHLRE48797C070755 ## Mail History Id: 30078602, Consumer Id: 1366331, Address Id: 15639222 => Updated with Vin: JHMGD38427S066803 ## Mail History Id: 30078596, Consumer Id: 1366648, Address Id: 15639536 => Updated with Vin: 1HGCM66507A101827 ## Mail History Id: 30078468, Consumer Id: 1379563, Address Id: 15671957 => Updated with Vin: 1HGCM56757A219755 ## Mail History Id: 30078538, Consumer Id: 1372023, Address Id: 15668795 => Updated with Vin: JHLRD68546C006344 ## Total mail_history records updated with vin numbers: 9 out of 13 ============================================================ ====== Tracking Id: 1281 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-17 11:15:49') AND us2_order_type_id = 3 ## Order found: 1678 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1678 AND product_id = 144 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3705 ## Mailing found: '13014' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078858, Consumer Id: 961546, Address Id: 14831598 => Updated with Vin: 1G1AK52F757595661 ## Mail History Id: 30078910, Consumer Id: 973008, Address Id: 14843295 => Updated with Vin: 3GNFC160X8G116982 ## Mail History Id: 30078890, Consumer Id: 973060, Address Id: 14835174 => Updated with Vin: 1GKER13738J265712 ## Mail History Id: 30078850, Consumer Id: 973015, Address Id: 14834897 => Updated with Vin: 3GNEC12037G128634 ## Mail History Id: 30078906, Consumer Id: 966756, Address Id: 14838723 => Updated with Vin: 3GNEC12J57G202712 ## Mail History Id: 30078886, Consumer Id: 967686, Address Id: 14839439 => Updated with Vin: 1GTEC19Z07Z125090 ## Mail History Id: 30078892, Consumer Id: 969964, Address Id: 14841083 => Updated with Vin: 1GNFC13007J400252 ## Mail History Id: 30078856, Consumer Id: 971545, Address Id: 14842242 => Updated with Vin: 1GNDV23L46D124365 ## Mail History Id: 30078862, Consumer Id: 971806, Address Id: 14834965 => Updated with Vin: 2GCEC19W0Y1107351 ## Mail History Id: 30078870, Consumer Id: 972980, Address Id: 14831872 => Updated with Vin: 2CNDL53F486325884 ## Mail History Id: 30078884, Consumer Id: 972997, Address Id: 7086373 => Updated with Vin: 5Y2SL65817Z423094 ## Mail History Id: 30078900, Consumer Id: 973003, Address Id: 14843291 => Updated with Vin: 1G1AL55F977236307 ## Mail History Id: 30078880, Consumer Id: 973004, Address Id: 14843292 => Updated with Vin: 1G1ZT68N77F174276 ## Mail History Id: 30078848, Consumer Id: 973005, Address Id: 14843293 => Updated with Vin: 1GCEC19X48Z211003 ## Mail History Id: 30078878, Consumer Id: 973006, Address Id: 14843294 => Updated with Vin: 1GKEC13V66J123853 ## Mail History Id: 30078840, Consumer Id: 973007, Address Id: 10290908 => Updated with Vin: 1G4HP57266U181265 ## Mail History Id: 30078916, Consumer Id: 973009, Address Id: 14843296 => Updated with Vin: 1G1AM15B977163006 ## Mail History Id: 30078902, Consumer Id: 973010, Address Id: 14843297 => Updated with Vin: 1G1AL58F687115022 ## Mail History Id: 30078828, Consumer Id: 973011, Address Id: 14843298 => Updated with Vin: 1GNFC13C68R241198 ## Mail History Id: 30078918, Consumer Id: 973012, Address Id: 14843299 => Updated with Vin: 3GTEC13J28G278767 ## Mail History Id: 30078824, Consumer Id: 973013, Address Id: 14843300 => Updated with Vin: 1G2ZG57N584153998 ## Mail History Id: 30078836, Consumer Id: 973030, Address Id: 14843310 => Updated with Vin: 2GCEC13T241410446 ## Mail History Id: 30078908, Consumer Id: 973018, Address Id: 14843304 => Updated with Vin: 1G1ZG57B98F250751 ## Mail History Id: 30078852, Consumer Id: 973019, Address Id: 14835001 => Updated with Vin: 1NXBR32E48Z963976 ## Mail History Id: 30078834, Consumer Id: 973021, Address Id: 14839581 => Updated with Vin: 1G2ZH17N884254393 ## Mail History Id: 30078904, Consumer Id: 973022, Address Id: 14843305 => Updated with Vin: 1GNDS13S582127509 ## Mail History Id: 30078904, Consumer Id: 973023, Address Id: 14843305 => Updated with Vin: 1GNDS13S282127970 ## Mail History Id: 30078826, Consumer Id: 973025, Address Id: 14841099 => Updated with Vin: 1G1ZG57BX8F256946 ## Mail History Id: 30078874, Consumer Id: 973026, Address Id: 14843307 => Updated with Vin: 2GCEC19C071578887 ## Mail History Id: 30078864, Consumer Id: 973027, Address Id: 14843308 => Updated with Vin: 1GNDV33108D138044 ## Mail History Id: 30078854, Consumer Id: 973028, Address Id: 14843309 => Updated with Vin: 1GNFC13048R192122 ## Mail History Id: 30078888, Consumer Id: 975561, Address Id: 14843903 => Updated with Vin: 1G1BL52P3TR166190 ## Mail History Id: 30078912, Consumer Id: 960160, Address Id: 14831313 => Updated with Vin: 3GKEC16Z63G213015 ## Mail History Id: 30078896, Consumer Id: 980841, Address Id: 4942869 => Updated with Vin: 2G2WR524051275364 ## Mail History Id: 30078866, Consumer Id: 980964, Address Id: 9159313 => Updated with Vin: 1G1JC52F557107353 ## Mail History Id: 30078832, Consumer Id: 980960, Address Id: 14846869 => Updated with Vin: 2G4WS52J511103486 ## Mail History Id: 30078830, Consumer Id: 980959, Address Id: 14846868 => Updated with Vin: 3GTEC13J57G532146 ## Mail History Id: 30078846, Consumer Id: 980949, Address Id: 14846860 => Updated with Vin: 2CKDL33F586066324 ## Total mail_history records updated with vin numbers: 38 out of 43 ============================================================ ====== Tracking Id: 1282 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-17 11:15:56') AND us2_order_type_id = 3 ## Order found: 1678 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1678 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1283 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-17 11:16:32') AND us2_order_type_id = 3 ## Order found: 1679 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1679 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3808 ## Mailing found: '13017' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078780, Consumer Id: 1172224, Address Id: 15030299 => Updated with Vin: 1MEFM50U42A645714 ## Mail History Id: 30078802, Consumer Id: 1172244, Address Id: 15030315 => Updated with Vin: 1GCEC14X53Z126574 ## Mail History Id: 30078744, Consumer Id: 1172159, Address Id: 15030245 => Updated with Vin: 2GCEC19M7V1120320 ## Mail History Id: 30078786, Consumer Id: 1172155, Address Id: 15030242 => Updated with Vin: 1GBKP37N2L3315638 ## Mail History Id: 30078768, Consumer Id: 1172162, Address Id: 15030248 => Updated with Vin: 1GCCS1445X8146268 ## Mail History Id: 30078768, Consumer Id: 1172162, Address Id: 15030248 => Updated with Vin: 1GCCS1445X8146268 ## Mail History Id: 30078816, Consumer Id: 1172203, Address Id: 5227375 => Updated with Vin: 1G2NF52T01M624288 ## Mail History Id: 30078820, Consumer Id: 1171241, Address Id: 15029450 => Updated with Vin: 3GNFC16J58G159683 ## Mail History Id: 30078776, Consumer Id: 1171493, Address Id: 14813088 => Updated with Vin: 2GCEC19T3X1151588 ## Mail History Id: 30078806, Consumer Id: 1170953, Address Id: 15029185 => Updated with Vin: 1GNDS13S222379466 ## Mail History Id: 30078756, Consumer Id: 1172204, Address Id: 5225522 => Updated with Vin: 2GCEC13T451350672 ## Mail History Id: 30078760, Consumer Id: 1172201, Address Id: 15030281 => Updated with Vin: 1GNES16S456115887 ## Total mail_history records updated with vin numbers: 12 out of 21 ============================================================ ====== Tracking Id: 1284 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-17 11:16:35') AND us2_order_type_id = 3 ## Order found: 1679 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1679 AND product_id = 114 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3808 ## Mailing found: '13006' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079323, Consumer Id: 1273969, Address Id: 15454222 => Updated with Vin: 1GCDC14N8LZ216862 ## Mail History Id: 30079221, Consumer Id: 1274516, Address Id: 15454719 => Updated with Vin: 3GNEC13T52G122335 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1285 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-17 11:16:44') AND us2_order_type_id = 3 ## Order found: 1680 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1680 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3721 ## Mailing found: '13015' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078636, Consumer Id: 1009498, Address Id: 14931000 => Updated with Vin: JM2UF1134L0874365 ## Mail History Id: 30078642, Consumer Id: 1009805, Address Id: 14931686 => Updated with Vin: JM1FE17N350149447 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 1286 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-17 11:44:17') AND us2_order_type_id = 3 ## Order found: 1681 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1681 AND product_id = 142 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3357 ## Mailing found: '13008' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079130, Consumer Id: 188463, Address Id: 398737 => Updated with Vin: 1FAFP38Z74W156359 ## Mail History Id: 30079156, Consumer Id: 190320, Address Id: 399524 => Updated with Vin: 1FMYU03125DA05790 ## Mail History Id: 30079120, Consumer Id: 153453, Address Id: 395700 => Updated with Vin: 1FMCU59H27KA66874 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 1287 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-17 12:15:17') AND us2_order_type_id = 3 ## Order found: 1682 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1682 AND product_id = 113 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3427 ## Mailing found: '13000' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079314, Consumer Id: 498526, Address Id: 9832489 => Updated with Vin: 5FNRL18662B008542 ## Mail History Id: 30079260, Consumer Id: 497502, Address Id: 326443 => Updated with Vin: 2HGES26794H503853 ## Mail History Id: 30079228, Consumer Id: 494042, Address Id: 9829225 => Updated with Vin: 5FNRL18033B061826 ## Mail History Id: 30079270, Consumer Id: 493078, Address Id: 328030 => Updated with Vin: 1HGCG6690YA068677 ## Mail History Id: 30079192, Consumer Id: 491402, Address Id: 9827257 => Updated with Vin: 1HGCM665X3A061508 ## Mail History Id: 30079276, Consumer Id: 493031, Address Id: 9828494 => Updated with Vin: 1HGCG1653XA044856 ## Mail History Id: 30079220, Consumer Id: 491749, Address Id: 9827540 => Updated with Vin: 2HGED6454MH551005 ## Mail History Id: 30079236, Consumer Id: 474275, Address Id: 8195073 => Updated with Vin: 5FNRL38837B032530 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 1288 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-17 12:15:24') AND us2_order_type_id = 3 ## Order found: 1683 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1683 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3471 ## Mailing found: '13012' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079040, Consumer Id: 760417, Address Id: 10220949 => Updated with Vin: 1G6YX36D485601035 ## Total mail_history records updated with vin numbers: 1 out of 4 ============================================================ ====== Tracking Id: 1289 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-17 12:15:32') AND us2_order_type_id = 3 ## Order found: 1683 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1683 AND product_id = 112 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3471 ## Mailing found: '13002' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079365, Consumer Id: 803178, Address Id: 7878445 => Updated with Vin: 1G6KE54Y64U138120 ## Mail History Id: 30079373, Consumer Id: 800638, Address Id: 10214062 => Updated with Vin: 1G3WS52K5WF360080 ## Mail History Id: 30079369, Consumer Id: 816806, Address Id: 6526918 => Updated with Vin: 1GYEK63N75R218301 ## Mail History Id: 30079405, Consumer Id: 822750, Address Id: 11876727 => Updated with Vin: 1GYEK63N62R315212 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 1290 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-17 12:15:44') AND us2_order_type_id = 3 ## Order found: 1684 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1684 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3451 ## Mailing found: '13011' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078445, Consumer Id: 612923, Address Id: 11756415 => Updated with Vin: 1G6DW51Y8KR705650 ## Mail History Id: 30078505, Consumer Id: 620578, Address Id: 11761545 => Updated with Vin: 1G6KD52Y2TU242611 ## Mail History Id: 30078593, Consumer Id: 613954, Address Id: 834524 => Updated with Vin: 1G6KD54YXWU724860 ## Mail History Id: 30078173, Consumer Id: 613268, Address Id: 11756635 => Updated with Vin: 1G6ET1296XU609324 ## Mail History Id: 30078551, Consumer Id: 624163, Address Id: 11763097 => Updated with Vin: 1G6KD54Y55U113634 ## Mail History Id: 30078947, Consumer Id: 613110, Address Id: 11756533 => Updated with Vin: 3GYEK63N52G247050 ## Mail History Id: 30078877, Consumer Id: 614348, Address Id: 11757278 => Updated with Vin: 1G6KS52Y5VU810410 ## Mail History Id: 30078939, Consumer Id: 613857, Address Id: 11756993 => Updated with Vin: 3GYFK66N73G238125 ## Mail History Id: 30078847, Consumer Id: 622384, Address Id: 3241787 => Updated with Vin: 1GYEE63A450217924 ## Mail History Id: 30078545, Consumer Id: 1459944, Address Id: 833151 => Updated with Vin: 3GYEK63N13G115324 ## Mail History Id: 30078195, Consumer Id: 621157, Address Id: 3808097 => Updated with Vin: 1G6DW677250174846 ## Mail History Id: 30078263, Consumer Id: 611409, Address Id: 826498 => Updated with Vin: 1G6DW677460140313 ## Mail History Id: 30078637, Consumer Id: 626166, Address Id: 11763723 => Updated with Vin: 1G6EL12YXRU600121 ## Mail History Id: 30078867, Consumer Id: 626983, Address Id: 3404524 => Updated with Vin: 1G6KD57996U132354 ## Mail History Id: 30078937, Consumer Id: 611690, Address Id: 11759683 => Updated with Vin: 1G6KD57Y36U103455 ## Mail History Id: 30078277, Consumer Id: 611801, Address Id: 3873008 => Updated with Vin: 1G6KD54Y73U151315 ## Mail History Id: 30078485, Consumer Id: 627561, Address Id: 11765075 => Updated with Vin: 1G6DM57T960184997 ## Mail History Id: 30078271, Consumer Id: 619277, Address Id: 11760739 => Updated with Vin: 1G6KD57Y57U205504 ## Mail History Id: 30078611, Consumer Id: 619467, Address Id: 834808 => Updated with Vin: 1G6KE54Y94U146812 ## Mail History Id: 30079141, Consumer Id: 619490, Address Id: 3405691 => Updated with Vin: 1G6KD57Y46U111662 ## Mail History Id: 30079021, Consumer Id: 630538, Address Id: 11761251 => Updated with Vin: 2MEFM74V97X641901 ## Mail History Id: 30078683, Consumer Id: 619577, Address Id: 11761432 => Updated with Vin: 1GYFK66848R212048 ## Total mail_history records updated with vin numbers: 22 out of 24 ============================================================ ====== Tracking Id: 1291 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-17 14:13:59') AND us2_order_type_id = 3 ## Order found: 1685 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1685 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3418 ## Mailing found: '13010' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078648, Consumer Id: 610920, Address Id: 11755576 => Updated with Vin: 1G6DV57V380183958 ## Total mail_history records updated with vin numbers: 1 out of 4 ============================================================ ====== Tracking Id: 1292 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-17 14:14:04') AND us2_order_type_id = 3 ## Order found: 1684 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1684 AND product_id = 113 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3451 ## Mailing found: '13001' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079471, Consumer Id: 620265, Address Id: 839111 => Updated with Vin: 1GKEK63U42J235441 ## Mail History Id: 30079435, Consumer Id: 628113, Address Id: 11765450 => Updated with Vin: 1GYEK13R8XR401828 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 1293 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-17 14:14:16') AND us2_order_type_id = 3 ## Order found: 1684 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1684 AND product_id = 114 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3451 ## Mailing found: '13001' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1294 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-17 20:14:05') AND us2_order_type_id = 3 ## Order found: 1672 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1672 AND product_id = 2152 ## Job Group Found: '566' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('566') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408006') AND customer_id = 3503 ## Mailing found: '13368' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30999345, Consumer Id: 2161996, Address Id: 9728015 => Updated with Vin: JTEBU14R958045535 ## Mail History Id: 30999347, Consumer Id: 379886, Address Id: 9724756 => Updated with Vin: 5TDBT44A53S153887 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1295 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-17 20:14:17') AND us2_order_type_id = 3 ## Order found: 1672 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1672 AND product_id = 2153 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3503 ## Mailing found: '13380' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998409, Consumer Id: 2174890, Address Id: 498706 => Updated with Vin: 5TBJN32111S198964 ## Mail History Id: 30998385, Consumer Id: 2175543, Address Id: 9723825 => Updated with Vin: JTDBT123620219495 ## Mail History Id: 30998453, Consumer Id: 2159066, Address Id: 9722591 => Updated with Vin: 5TDBT44AX3S185945 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1296 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-18 07:14:34') AND us2_order_type_id = 3 ## Order found: 1700 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1700 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3503 ## Mailing found: '13402,13913' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992609, Consumer Id: 2172645, Address Id: 9720430 => Updated with Vin: 5TEWN72N41Z861888 ## Mail History Id: 30992955, Consumer Id: 2162399, Address Id: 9728569 => Updated with Vin: JTDKB20U853077058 ## Mail History Id: 30992097, Consumer Id: 384561, Address Id: 8748067 => Updated with Vin: 2T1BR32E55C506915 ## Mail History Id: 30993059, Consumer Id: 2162491, Address Id: 9728644 => Updated with Vin: JTDKB20U253082093 ## Mail History Id: 30992084, Consumer Id: 2165164, Address Id: 9731688 => Updated with Vin: JTEEW21A360023591 ## Mail History Id: 30992138, Consumer Id: 172019, Address Id: 438822 => Updated with Vin: JTMBK33VX76019271 ## Mail History Id: 30992317, Consumer Id: 2171474, Address Id: 9719208 => Updated with Vin: JTEHT05J912006084 ## Mail History Id: 30993305, Consumer Id: 2163892, Address Id: 9730313 => Updated with Vin: 5TDBA22C96S058218 ## Mail History Id: 30993299, Consumer Id: 2165433, Address Id: 9731896 => Updated with Vin: 5TEPX42N06Z298780 ## Mail History Id: 30993519, Consumer Id: 2175530, Address Id: 9723814 => Updated with Vin: 4T1BF28B91U183977 ## Mail History Id: 30993555, Consumer Id: 2164449, Address Id: 9730942 => Updated with Vin: JTEEP21A740007159 ## Mail History Id: 30992224, Consumer Id: 2173857, Address Id: 9721745 => Updated with Vin: JT3HN86R9W0181718 ## Mail History Id: 30992587, Consumer Id: 2160832, Address Id: 9726203 => Updated with Vin: 5TDZA22C04S212181 ## Mail History Id: 30992545, Consumer Id: 2163832, Address Id: 9730269 => Updated with Vin: 2T1BR32EX6C605473 ## Mail History Id: 30992577, Consumer Id: 2166029, Address Id: 9732981 => Updated with Vin: 4T1BK36B47U177176 ## Mail History Id: 30992461, Consumer Id: 2163404, Address Id: 9729742 => Updated with Vin: 4T1BF30K46U116003 ## Mail History Id: 30993353, Consumer Id: 2178246, Address Id: 9725907 => Updated with Vin: JTEHT05J522018430 ## Mail History Id: 30993369, Consumer Id: 2165362, Address Id: 9731843 => Updated with Vin: JTKKT624760171414 ## Mail History Id: 30992311, Consumer Id: 2171927, Address Id: 9719645 => Updated with Vin: 4T3ZF13C1XU152862 ## Mail History Id: 30993743, Consumer Id: 2169549, Address Id: 9738467 => Updated with Vin: 4T1BE30K42U542433 ## Mail History Id: 30993767, Consumer Id: 2175935, Address Id: 9724161 => Updated with Vin: 4T1BF30K22U030652 ## Mail History Id: 30992899, Consumer Id: 2159422, Address Id: 9723643 => Updated with Vin: JTEHD20V240009606 ## Mail History Id: 30992402, Consumer Id: 2168837, Address Id: 9725806 => Updated with Vin: 4T1BE46K97U698715 ## Mail History Id: 30993115, Consumer Id: 2163360, Address Id: 9729711 => Updated with Vin: JTEBT14RX58027189 ## Mail History Id: 30992150, Consumer Id: 2179101, Address Id: 9730024 => Updated with Vin: JTEBU17RX40024220 ## Mail History Id: 30992843, Consumer Id: 2168477, Address Id: 9735833 => Updated with Vin: JTDKB20U177683331 ## Mail History Id: 30992958, Consumer Id: 2164492, Address Id: 9730979 => Updated with Vin: 4T1BE46K97U010101 ## Mail History Id: 30992675, Consumer Id: 2168781, Address Id: 9737473 => Updated with Vin: 2T1BR32E58C861782 ## Mail History Id: 30993661, Consumer Id: 2166374, Address Id: 9733251 => Updated with Vin: 2T1BR32E87C744289 ## Mail History Id: 30992213, Consumer Id: 2175705, Address Id: 9723961 => Updated with Vin: 4T1BE32K43U732327 ## Mail History Id: 30992987, Consumer Id: 1021341, Address Id: 499607 => Updated with Vin: 4TAWM72N2WZ141295 ## Total mail_history records updated with vin numbers: 31 out of 56 ============================================================ ====== Tracking Id: 1297 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-18 08:44:19') AND us2_order_type_id = 3 ## Order found: 1701 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1701 AND product_id = 113 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3230 ## Mailing found: '12998' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079386, Consumer Id: 103831, Address Id: 53867 => Updated with Vin: 1FMZU73K24ZA04467 ## Mail History Id: 30079374, Consumer Id: 63596, Address Id: 52605 => Updated with Vin: 1FMYU03155DA21367 ## Mail History Id: 30079414, Consumer Id: 63157, Address Id: 51052 => Updated with Vin: 1FMYU02B11KB28478 ## Mail History Id: 30079390, Consumer Id: 92805, Address Id: 47608 => Updated with Vin: 1FTRX18W23NA37818 ## Mail History Id: 30079416, Consumer Id: 101061, Address Id: 48444 => Updated with Vin: 1FAFP36392W359250 ## Mail History Id: 30079388, Consumer Id: 93170, Address Id: 51590 => Updated with Vin: 1ZVFT84N175241730 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 1298 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-18 08:44:25') AND us2_order_type_id = 3 ## Order found: 1701 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1701 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3230 ## Mailing found: '13007' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078666, Consumer Id: 103829, Address Id: 53866 => Updated with Vin: 1FTZR15V2XPB86195 ## Mail History Id: 30078416, Consumer Id: 629989, Address Id: 52808 => Updated with Vin: 2MELM75W1RX601776 ## Mail History Id: 30078340, Consumer Id: 67746, Address Id: 48433 => Updated with Vin: 1FTPW14506KB26283 ## Mail History Id: 30078292, Consumer Id: 38581, Address Id: 50505 => Updated with Vin: 1FAHP34N97W351346 ## Mail History Id: 30078424, Consumer Id: 630340, Address Id: 47632 => Updated with Vin: 1FMDK03W78GA36729 ## Mail History Id: 30078418, Consumer Id: 73755, Address Id: 48966 => Updated with Vin: 1FTHF36H4VED02403 ## Mail History Id: 30078324, Consumer Id: 93064, Address Id: 51478 => Updated with Vin: 1GHDX03E61D263263 ## Mail History Id: 30078364, Consumer Id: 629990, Address Id: 52660 => Updated with Vin: 1FDXE40S8XHA00442 ## Mail History Id: 30078394, Consumer Id: 38465, Address Id: 49126 => Updated with Vin: 3FAFP31N15R120940 ## Mail History Id: 30078310, Consumer Id: 67165, Address Id: 47845 => Updated with Vin: 3FAKP1131WR254379 ## Mail History Id: 30078294, Consumer Id: 63285, Address Id: 47701 => Updated with Vin: 1FTYR10C6WPB50610 ## Mail History Id: 30078304, Consumer Id: 66853, Address Id: 52049 => Updated with Vin: 1FAFP55S14G120020 ## Mail History Id: 30078276, Consumer Id: 630342, Address Id: 11770747 => Updated with Vin: 1FAHP27196G179024 ## Mail History Id: 30078266, Consumer Id: 653232, Address Id: 11782356 => Updated with Vin: 3FAHP07Z48R192611 ## Total mail_history records updated with vin numbers: 14 out of 19 ============================================================ ====== Tracking Id: 1299 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-18 09:18:06') AND us2_order_type_id = 3 ## Order found: 1702 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1702 AND product_id = 142 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3768 ## Mailing found: '13016' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078516, Consumer Id: 1050280, Address Id: 14954404 => Updated with Vin: 1G6KD57Y17U177233 ## Mail History Id: 30078500, Consumer Id: 1109110, Address Id: 5984518 => Updated with Vin: 1G6KD57937U160619 ## Mail History Id: 30078476, Consumer Id: 1116341, Address Id: 3239318 => Updated with Vin: 1G6KD54Y03U289830 ## Mail History Id: 30078474, Consumer Id: 1107478, Address Id: 3238328 => Updated with Vin: 3GYEK63N93G216305 ## Mail History Id: 30078464, Consumer Id: 1110855, Address Id: 14982727 => Updated with Vin: 3GYEK62N05G134967 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 1300 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3634 AND DATE(cart_created_date) = DATE('2008-08-18 10:08:21') AND us2_order_type_id = 3 ## Order found: 1703 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1703 AND product_id = 112 ## Job Group Found: '494' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('494') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele081508001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele081508001a') AND customer_id = 3634 ## Mailing found: '12802' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 1301 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-18 10:21:09') AND us2_order_type_id = 3 ## Order found: 1704 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1704 AND product_id = 142 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3697 ## Mailing found: '13013' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078490, Consumer Id: 1049965, Address Id: 14954340 => Updated with Vin: 1G6DP577060197390 ## Mail History Id: 30078508, Consumer Id: 1051572, Address Id: 1076526 => Updated with Vin: 1GYEK63N35R207408 ## Mail History Id: 30078512, Consumer Id: 1041598, Address Id: 5989115 => Updated with Vin: 1G6EL12YXSU616552 ## Mail History Id: 30078488, Consumer Id: 1047453, Address Id: 14953678 => Updated with Vin: 1GYEK63N85R273825 ## Mail History Id: 30078484, Consumer Id: 1041977, Address Id: 2848463 => Updated with Vin: 1G6KY5496WU908531 ## Mail History Id: 30078506, Consumer Id: 1052034, Address Id: 14955039 => Updated with Vin: 1G6KD54Y92U208466 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 1302 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-18 10:21:19') AND us2_order_type_id = 3 ## Order found: 1704 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1704 AND product_id = 112 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3697 ## Mailing found: '13004' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1303 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-18 10:22:21') AND us2_order_type_id = 3 ## Order found: 1702 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1702 AND product_id = 140 ## Job Group Found: '495' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('495') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808001') AND customer_id = 3768 ## Mailing found: '12996' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30080071, Consumer Id: 1110013, Address Id: 5984445 => Updated with Vin: 1G6KD57YXYU176373 ## Mail History Id: 30080071, Consumer Id: 1110013, Address Id: 5984445 => Updated with Vin: 1G6KD57YXYU176373 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1304 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-18 10:23:26') AND us2_order_type_id = 3 ## Order found: 1705 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1705 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3815 ## Mailing found: '13018' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078560, Consumer Id: 1369130, Address Id: 6166572 => Updated with Vin: 1HGCG16582A059085 ## Mail History Id: 30078552, Consumer Id: 1361261, Address Id: 15633504 => Updated with Vin: 2HKYF18604H501088 ## Mail History Id: 30078482, Consumer Id: 1362569, Address Id: 14958689 => Updated with Vin: 5FNYF18576B000756 ## Mail History Id: 30078570, Consumer Id: 1363537, Address Id: 15636478 => Updated with Vin: 1HGCM56886A122556 ## Mail History Id: 30078574, Consumer Id: 1367646, Address Id: 15634058 => Updated with Vin: 1HGCG56772A106129 ## Mail History Id: 30078550, Consumer Id: 1365467, Address Id: 15638535 => Updated with Vin: 5FNYF28517B036045 ## Mail History Id: 30078470, Consumer Id: 1365592, Address Id: 15638609 => Updated with Vin: 2HGES16394H575806 ## Mail History Id: 30078480, Consumer Id: 1366770, Address Id: 15639604 => Updated with Vin: 1HGCM564X7A181994 ## Mail History Id: 30078564, Consumer Id: 1367267, Address Id: 15639982 => Updated with Vin: 2HGFA16598H314318 ## Mail History Id: 30078582, Consumer Id: 1372013, Address Id: 5786086 => Updated with Vin: 2HGFG12928H534584 ## Mail History Id: 30078598, Consumer Id: 1372027, Address Id: 6163185 => Updated with Vin: 1HGFA16568L072042 ## Mail History Id: 30078590, Consumer Id: 1372026, Address Id: 14964453 => Updated with Vin: 1HGFA16808L030105 ## Total mail_history records updated with vin numbers: 12 out of 21 ============================================================ ====== Tracking Id: 1305 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-18 10:23:35') AND us2_order_type_id = 3 ## Order found: 1705 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1705 AND product_id = 2147 ## Job Group Found: '551' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('551') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082908002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082908002') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1306 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-18 11:14:22') AND us2_order_type_id = 3 ## Order found: 1706 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1706 AND product_id = 112 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3486 ## Mailing found: '13003' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079368, Consumer Id: 469424, Address Id: 9820531 => Updated with Vin: 1GCEC19037Z522942 ## Mail History Id: 30079364, Consumer Id: 490274, Address Id: 4376263 => Updated with Vin: 1GNDU03E81D193240 ## Mail History Id: 30079370, Consumer Id: 466373, Address Id: 1573421 => Updated with Vin: 2CNDL63F456169976 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1307 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-18 11:16:13') AND us2_order_type_id = 3 ## Order found: 1707 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1707 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1308 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-18 11:16:46') AND us2_order_type_id = 3 ## Order found: 1708 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1708 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3808 ## Mailing found: '13017' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078738, Consumer Id: 1170757, Address Id: 11566081 => Updated with Vin: 1GNFK16307R264991 ## Mail History Id: 30078794, Consumer Id: 1172191, Address Id: 15030273 => Updated with Vin: KL1TD566X7B087387 ## Mail History Id: 30078814, Consumer Id: 1170946, Address Id: 15029178 => Updated with Vin: 3G2JB12F65S223086 ## Mail History Id: 30078788, Consumer Id: 1172185, Address Id: 15030267 => Updated with Vin: 2G1WX12KXY9368058 ## Mail History Id: 30078758, Consumer Id: 1170717, Address Id: 15028966 => Updated with Vin: 1GBFG15R2X1106221 ## Mail History Id: 30078772, Consumer Id: 1172161, Address Id: 15030247 => Updated with Vin: 1GCCS1949YK177228 ## Mail History Id: 30078798, Consumer Id: 1172237, Address Id: 15030310 => Updated with Vin: 1GNEC13Z24R105273 ## Total mail_history records updated with vin numbers: 7 out of 10 ============================================================ ====== Tracking Id: 1309 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-18 11:16:49') AND us2_order_type_id = 3 ## Order found: 1708 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1708 AND product_id = 114 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3808 ## Mailing found: '13006' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079341, Consumer Id: 1277185, Address Id: 15457239 => Updated with Vin: 1GCHK292X4E286901 ## Mail History Id: 30079279, Consumer Id: 1267723, Address Id: 15451044 => Updated with Vin: 1GCEC14X14Z197868 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1310 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-18 11:16:58') AND us2_order_type_id = 3 ## Order found: 1709 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1709 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3721 ## Mailing found: '13015' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078628, Consumer Id: 1013136, Address Id: 6658577 => Updated with Vin: JM1BK323851326366 ## Mail History Id: 30078640, Consumer Id: 1015520, Address Id: 6668996 => Updated with Vin: 1YVHP80D165M47037 ## Total mail_history records updated with vin numbers: 2 out of 4 ============================================================ ====== Tracking Id: 1311 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-18 11:17:01') AND us2_order_type_id = 3 ## Order found: 1708 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1708 AND product_id = 113 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3808 ## Mailing found: '13006' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079197, Consumer Id: 1265896, Address Id: 15437472 => Updated with Vin: 1GNEC16R7TJ387757 ## Mail History Id: 30079229, Consumer Id: 1266063, Address Id: 15437624 => Updated with Vin: 2GCEC19K0N1160074 ## Mail History Id: 30079231, Consumer Id: 1265893, Address Id: 15437469 => Updated with Vin: 1GCEC14W22Z145816 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1312 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-18 11:17:13') AND us2_order_type_id = 3 ## Order found: 1708 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1708 AND product_id = 112 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3808 ## Mailing found: '13006' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079201, Consumer Id: 1171054, Address Id: 15029279 => Updated with Vin: 2GCEK13T861141780 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 1313 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-18 11:44:27') AND us2_order_type_id = 3 ## Order found: 1710 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1710 AND product_id = 113 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3357 ## Mailing found: '12999' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1314 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-18 11:44:38') AND us2_order_type_id = 3 ## Order found: 1710 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1710 AND product_id = 112 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3357 ## Mailing found: '12999' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079523, Consumer Id: 194274, Address Id: 403423 => Updated with Vin: 1ZVFT80N655176425 ## Mail History Id: 30079521, Consumer Id: 198126, Address Id: 407510 => Updated with Vin: 5FNRL38656B118189 ## Mail History Id: 30079525, Consumer Id: 155881, Address Id: 397137 => Updated with Vin: JM3TB38V580141769 ## Mail History Id: 30079527, Consumer Id: 320385, Address Id: 9607293 => Updated with Vin: 1ZVHT82H375360191 ## Mail History Id: 30079533, Consumer Id: 154876, Address Id: 396990 => Updated with Vin: 1YVHP80C175M24804 ## Mail History Id: 30079535, Consumer Id: 155631, Address Id: 397672 => Updated with Vin: JM1BK32G281825686 ## Mail History Id: 30079529, Consumer Id: 155642, Address Id: 397682 => Updated with Vin: JM1BK324681842092 ## Mail History Id: 30079531, Consumer Id: 435529, Address Id: 6904244 => Updated with Vin: 1ZVHT80N685173750 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 1315 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-18 12:15:57') AND us2_order_type_id = 3 ## Order found: 1711 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1711 AND product_id = 112 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3427 ## Mailing found: '13000' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079284, Consumer Id: 495894, Address Id: 330220 => Updated with Vin: 1HGES15281L027156 ## Mail History Id: 30079318, Consumer Id: 495024, Address Id: 9829960 => Updated with Vin: 1HGCG1652WA005027 ## Mail History Id: 30079216, Consumer Id: 509113, Address Id: 9842770 => Updated with Vin: 2HKYF18543H507420 ## Mail History Id: 30079252, Consumer Id: 499425, Address Id: 326057 => Updated with Vin: 1HGEM22544L033703 ## Mail History Id: 30079304, Consumer Id: 517647, Address Id: 9844600 => Updated with Vin: JHMES96645S014915 ## Mail History Id: 30079292, Consumer Id: 504781, Address Id: 9840232 => Updated with Vin: 2HKYF185X3H504294 ## Mail History Id: 30079244, Consumer Id: 499870, Address Id: 325742 => Updated with Vin: SHSRD68414U203792 ## Mail History Id: 30079218, Consumer Id: 508897, Address Id: 9842637 => Updated with Vin: JHLRD684X2C009489 ## Mail History Id: 30079230, Consumer Id: 513606, Address Id: 9832912 => Updated with Vin: 2HKYF18583H577650 ## Mail History Id: 30079282, Consumer Id: 502364, Address Id: 330137 => Updated with Vin: 1HGCM826X3A002176 ## Mail History Id: 30079208, Consumer Id: 510824, Address Id: 9843854 => Updated with Vin: SHSRD789X6U400139 ## Mail History Id: 30079224, Consumer Id: 496616, Address Id: 9831118 => Updated with Vin: JHMES96663S001886 ## Mail History Id: 30079340, Consumer Id: 504809, Address Id: 9839884 => Updated with Vin: JHMES96675S007067 ## Mail History Id: 30079256, Consumer Id: 513874, Address Id: 326380 => Updated with Vin: 1HGCM56674A164311 ## Mail History Id: 30079324, Consumer Id: 495757, Address Id: 9830510 => Updated with Vin: 2HKRL18641H516153 ## Mail History Id: 30079306, Consumer Id: 497052, Address Id: 9831439 => Updated with Vin: 2HGEJ6670WH597716 ## Mail History Id: 30079290, Consumer Id: 512533, Address Id: 9844898 => Updated with Vin: 2HJYK16566H551667 ## Mail History Id: 30079280, Consumer Id: 493636, Address Id: 329996 => Updated with Vin: JHMCM56743C048136 ## Mail History Id: 30079286, Consumer Id: 494426, Address Id: 9829510 => Updated with Vin: JHLRD1869XC008197 ## Mail History Id: 30079206, Consumer Id: 496653, Address Id: 9831150 => Updated with Vin: 2HKRL1863YH518857 ## Mail History Id: 30079302, Consumer Id: 495653, Address Id: 9830434 => Updated with Vin: 1HGCG5650WA263845 ## Mail History Id: 30079226, Consumer Id: 496574, Address Id: 9831088 => Updated with Vin: 2HKYF18543H621482 ## Mail History Id: 30079326, Consumer Id: 497149, Address Id: 9828051 => Updated with Vin: 1HGCM66584A013328 ## Mail History Id: 30079240, Consumer Id: 492253, Address Id: 325414 => Updated with Vin: 1HGCG22531A011245 ## Mail History Id: 30079242, Consumer Id: 495399, Address Id: 9830247 => Updated with Vin: 1HGEM21501L013509 ## Mail History Id: 30079184, Consumer Id: 471745, Address Id: 9833206 => Updated with Vin: 1HGCM56306A101253 ## Mail History Id: 30079338, Consumer Id: 514664, Address Id: 9846135 => Updated with Vin: JHMFA36276S014958 ## Mail History Id: 30079232, Consumer Id: 473169, Address Id: 9834603 => Updated with Vin: JHMGD38647S018351 ## Mail History Id: 30079342, Consumer Id: 482165, Address Id: 8195875 => Updated with Vin: 5FNYF18717B017314 ## Total mail_history records updated with vin numbers: 29 out of 30 ============================================================ ====== Tracking Id: 1316 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-18 12:16:07') AND us2_order_type_id = 3 ## Order found: 1712 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1712 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3471 ## Mailing found: '13012' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079050, Consumer Id: 798098, Address Id: 11869714 => Updated with Vin: 1G6KD52Y3TU236705 ## Mail History Id: 30078950, Consumer Id: 817180, Address Id: 7878740 => Updated with Vin: 1G6KY54922U231908 ## Mail History Id: 30079008, Consumer Id: 822288, Address Id: 10216548 => Updated with Vin: 1G6DW677170157670 ## Mail History Id: 30078934, Consumer Id: 823414, Address Id: 7878400 => Updated with Vin: 1G6KD54Y14U230478 ## Mail History Id: 30078928, Consumer Id: 801944, Address Id: 11871382 => Updated with Vin: 1GHDT13S222100789 ## Mail History Id: 30078946, Consumer Id: 821383, Address Id: 7415462 => Updated with Vin: 1G6KF57915U123530 ## Mail History Id: 30078968, Consumer Id: 800991, Address Id: 10213849 => Updated with Vin: 1GHDT13W4V2701144 ## Mail History Id: 30078734, Consumer Id: 817816, Address Id: 11870833 => Updated with Vin: 1GYEE637950211685 ## Mail History Id: 30078964, Consumer Id: 819990, Address Id: 7415913 => Updated with Vin: 1GYEK63N86R160071 ## Mail History Id: 30078994, Consumer Id: 805344, Address Id: 10215967 => Updated with Vin: W06VR52RXWR199763 ## Mail History Id: 30079006, Consumer Id: 802172, Address Id: 10216364 => Updated with Vin: 1G6KD54Y11U221890 ## Mail History Id: 30078958, Consumer Id: 820776, Address Id: 7415599 => Updated with Vin: 1GYFK638X7R138136 ## Mail History Id: 30078936, Consumer Id: 802410, Address Id: 7878408 => Updated with Vin: 1G6KS54Y51U300095 ## Mail History Id: 30079022, Consumer Id: 817203, Address Id: 10217670 => Updated with Vin: 1G6KD57Y05U138582 ## Mail History Id: 30078956, Consumer Id: 805463, Address Id: 7879048 => Updated with Vin: 1G6KD54YX4U195939 ## Mail History Id: 30079040, Consumer Id: 760417, Address Id: 10220949 => Updated with Vin: 1G6YX36D485601035 ## Mail History Id: 30078926, Consumer Id: 816263, Address Id: 7878034 => Updated with Vin: 1G6DM577540170708 ## Mail History Id: 30079032, Consumer Id: 804662, Address Id: 10219310 => Updated with Vin: 1GYEK63N24R225977 ## Mail History Id: 30078996, Consumer Id: 820655, Address Id: 10561739 => Updated with Vin: 1G6KD57906U171818 ## Mail History Id: 30079000, Consumer Id: 821250, Address Id: 10216069 => Updated with Vin: 1G6KD54Y33U255719 ## Mail History Id: 30078982, Consumer Id: 822573, Address Id: 10561451 => Updated with Vin: 1GYEE63AX60222434 ## Mail History Id: 30078952, Consumer Id: 823364, Address Id: 11876272 => Updated with Vin: 1G6DW677X70185306 ## Mail History Id: 30079044, Consumer Id: 823428, Address Id: 11876537 => Updated with Vin: 1GYEE63A860214946 ## Mail History Id: 30079020, Consumer Id: 823411, Address Id: 10562738 => Updated with Vin: 1G6KD57Y16U157031 ## Mail History Id: 30078932, Consumer Id: 823408, Address Id: 10211864 => Updated with Vin: 1G6KF5498XU788853 ## Mail History Id: 30079012, Consumer Id: 759648, Address Id: 11850935 => Updated with Vin: 1J8GL58K06W158331 ## Total mail_history records updated with vin numbers: 26 out of 38 ============================================================ ====== Tracking Id: 1317 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-18 12:16:11') AND us2_order_type_id = 3 ## Order found: 1711 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1711 AND product_id = 113 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3427 ## Mailing found: '13000' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079200, Consumer Id: 503831, Address Id: 7552231 => Updated with Vin: SHSRD68444U209764 ## Mail History Id: 30079312, Consumer Id: 514413, Address Id: 9845981 => Updated with Vin: 5FNRL387X6B077485 ## Mail History Id: 30079330, Consumer Id: 495295, Address Id: 9830178 => Updated with Vin: 2HKYF18563H567800 ## Mail History Id: 30079344, Consumer Id: 499555, Address Id: 9829293 => Updated with Vin: 1HGCG3168YA024812 ## Mail History Id: 30079266, Consumer Id: 510920, Address Id: 327361 => Updated with Vin: 5FNYF18435B011999 ## Mail History Id: 30079300, Consumer Id: 499487, Address Id: 9833485 => Updated with Vin: 5FNRL18663B060156 ## Mail History Id: 30079272, Consumer Id: 512156, Address Id: 328766 => Updated with Vin: 5FNYF28786B013104 ## Mail History Id: 30079254, Consumer Id: 495518, Address Id: 326345 => Updated with Vin: SHSRD788X3U151005 ## Mail History Id: 30079268, Consumer Id: 492425, Address Id: 7578111 => Updated with Vin: JHLRD1843XC060309 ## Mail History Id: 30079336, Consumer Id: 496399, Address Id: 9830954 => Updated with Vin: 1HGCG16532A060029 ## Mail History Id: 30079310, Consumer Id: 472898, Address Id: 9834470 => Updated with Vin: 2HGFG12826H568299 ## Mail History Id: 30079194, Consumer Id: 473672, Address Id: 9835204 => Updated with Vin: 1HGCM72636A004785 ## Mail History Id: 30079246, Consumer Id: 475279, Address Id: 8195124 => Updated with Vin: JHMFA36237S023738 ## Total mail_history records updated with vin numbers: 13 out of 14 ============================================================ ====== Tracking Id: 1318 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-18 12:16:20') AND us2_order_type_id = 3 ## Order found: 1713 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1713 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3451 ## Mailing found: '13011' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078339, Consumer Id: 627621, Address Id: 11765109 => Updated with Vin: 1G6ET1296SU605072 ## Mail History Id: 30078693, Consumer Id: 613300, Address Id: 11756654 => Updated with Vin: 1G6KS52Y5VU805837 ## Mail History Id: 30078573, Consumer Id: 615230, Address Id: 11756633 => Updated with Vin: 1GEEH90Y4XU550417 ## Mail History Id: 30078993, Consumer Id: 617968, Address Id: 11759724 => Updated with Vin: 1G6EL12Y6YU152829 ## Mail History Id: 30078169, Consumer Id: 619715, Address Id: 824787 => Updated with Vin: 1G6KE57YX4U195755 ## Mail History Id: 30078145, Consumer Id: 621115, Address Id: 3807230 => Updated with Vin: 1G6KE54Y62U276110 ## Mail History Id: 30078131, Consumer Id: 618393, Address Id: 823579 => Updated with Vin: 1G6KF57974U207091 ## Mail History Id: 30078975, Consumer Id: 622180, Address Id: 11762407 => Updated with Vin: 1G6DP567450209914 ## Mail History Id: 30078905, Consumer Id: 623938, Address Id: 11762950 => Updated with Vin: 1G2NF52T2YM756334 ## Mail History Id: 30078433, Consumer Id: 624152, Address Id: 11763092 => Updated with Vin: 1G6KY5294TU800777 ## Mail History Id: 30078661, Consumer Id: 611749, Address Id: 11759912 => Updated with Vin: 1GYFK66897R268100 ## Mail History Id: 30078607, Consumer Id: 611472, Address Id: 11759179 => Updated with Vin: 1G6DP577460137189 ## Mail History Id: 30078653, Consumer Id: 626462, Address Id: 11763910 => Updated with Vin: 1G6KF579XYU289825 ## Mail History Id: 30078967, Consumer Id: 611905, Address Id: 11760186 => Updated with Vin: 1GYEE637770155913 ## Mail History Id: 30078787, Consumer Id: 612042, Address Id: 3241728 => Updated with Vin: 1G6DX67D160196230 ## Mail History Id: 30078981, Consumer Id: 612087, Address Id: 11760456 => Updated with Vin: 1G6DP577270195190 ## Mail History Id: 30078855, Consumer Id: 627052, Address Id: 11764668 => Updated with Vin: 1G6KD54Y05U120829 ## Mail History Id: 30079039, Consumer Id: 619495, Address Id: 3243657 => Updated with Vin: 1G6KD54Y15U130866 ## Mail History Id: 30079021, Consumer Id: 619529, Address Id: 11761251 => Updated with Vin: 1G6KY5492YU192827 ## Mail History Id: 30079060, Consumer Id: 686537, Address Id: 11803552 => Updated with Vin: 1GYEC63818R120196 ## Mail History Id: 30078675, Consumer Id: 640969, Address Id: 11776684 => Updated with Vin: 1G6DP567X50126116 ## Total mail_history records updated with vin numbers: 21 out of 23 ============================================================ ====== Tracking Id: 1319 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-18 12:16:23') AND us2_order_type_id = 3 ## Order found: 1712 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1712 AND product_id = 112 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3471 ## Mailing found: '13002' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079377, Consumer Id: 799362, Address Id: 10214091 => Updated with Vin: 1G6KS52Y6VU838748 ## Mail History Id: 30079389, Consumer Id: 798242, Address Id: 10216106 => Updated with Vin: 1GHDX03E2XD196881 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1320 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-18 14:14:10') AND us2_order_type_id = 3 ## Order found: 1714 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1714 AND product_id = 143 ## Job Group Found: '498' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('498') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808004') AND customer_id = 3418 ## Mailing found: '13010' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30078614, Consumer Id: 610887, Address Id: 11755549 => Updated with Vin: 1GYEE437280139690 ## Mail History Id: 30078716, Consumer Id: 610898, Address Id: 11755559 => Updated with Vin: 1G6KD54Y04U228592 ## Mail History Id: 30078678, Consumer Id: 668341, Address Id: 11786578 => Updated with Vin: 1G6DM57N430118970 ## Mail History Id: 30078718, Consumer Id: 675018, Address Id: 11791023 => Updated with Vin: 1G6KD57Y26U129495 ## Mail History Id: 30078684, Consumer Id: 676669, Address Id: 11792012 => Updated with Vin: 1G6DP567250177240 ## Mail History Id: 30078708, Consumer Id: 676608, Address Id: 11791979 => Updated with Vin: 1G6DM57T260213756 ## Mail History Id: 30078654, Consumer Id: 678452, Address Id: 10323488 => Updated with Vin: 1G6KD57Y97U160700 ## Mail History Id: 30078660, Consumer Id: 675297, Address Id: 11785847 => Updated with Vin: 1G6KD57Y46U150784 ## Mail History Id: 30078662, Consumer Id: 679841, Address Id: 11793870 => Updated with Vin: 1GYEE637870147481 ## Mail History Id: 30078656, Consumer Id: 665315, Address Id: 11784382 => Updated with Vin: 1GYEK63N32R100967 ## Mail History Id: 30078650, Consumer Id: 610923, Address Id: 11755579 => Updated with Vin: 1G6DK67V280173999 ## Mail History Id: 30078290, Consumer Id: 612391, Address Id: 11756084 => Updated with Vin: 1G6DW677060215332 ## Total mail_history records updated with vin numbers: 12 out of 19 ============================================================ ====== Tracking Id: 1321 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-18 14:14:20') AND us2_order_type_id = 3 ## Order found: 1713 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1713 AND product_id = 112 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3451 ## Mailing found: '13001' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079473, Consumer Id: 618723, Address Id: 839803 => Updated with Vin: 1G6KE54Y4XU747825 ## Mail History Id: 30079423, Consumer Id: 612999, Address Id: 828074 => Updated with Vin: 1G6EL12Y9YB704173 ## Mail History Id: 30079453, Consumer Id: 627712, Address Id: 3404280 => Updated with Vin: 1G6KD54Y95U209573 ## Mail History Id: 30079451, Consumer Id: 621690, Address Id: 4107387 => Updated with Vin: 1GYEK63N45R135473 ## Mail History Id: 30079479, Consumer Id: 611954, Address Id: 3241764 => Updated with Vin: 1G6KD57986U136315 ## Mail History Id: 30079421, Consumer Id: 611702, Address Id: 3873387 => Updated with Vin: 1GYEE637960191312 ## Mail History Id: 30079507, Consumer Id: 611701, Address Id: 11759688 => Updated with Vin: 1G6KF57952U162830 ## Mail History Id: 30079513, Consumer Id: 626825, Address Id: 11764132 => Updated with Vin: 1G6DW677060130877 ## Mail History Id: 30079509, Consumer Id: 628379, Address Id: 3405646 => Updated with Vin: 1GYFK63827R301913 ## Mail History Id: 30079489, Consumer Id: 619308, Address Id: 11760959 => Updated with Vin: 1GYEE637660214805 ## Mail History Id: 30079515, Consumer Id: 619376, Address Id: 11761002 => Updated with Vin: 1GYEE637X70138703 ## Mail History Id: 30079439, Consumer Id: 619503, Address Id: 11761234 => Updated with Vin: 1G6KD57Y06U122254 ## Mail History Id: 30079425, Consumer Id: 628387, Address Id: 11765641 => Updated with Vin: 1G6DC67A470169560 ## Mail History Id: 30079469, Consumer Id: 619472, Address Id: 11761214 => Updated with Vin: 1FMEU74827UA93640 ## Mail History Id: 30079431, Consumer Id: 620419, Address Id: 11761456 => Updated with Vin: 1G6KD54Y54U103572 ## Total mail_history records updated with vin numbers: 15 out of 16 ============================================================ ====== Tracking Id: 1322 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-18 14:14:32') AND us2_order_type_id = 3 ## Order found: 1713 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1713 AND product_id = 114 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3451 ## Mailing found: '13001' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079505, Consumer Id: 615347, Address Id: 3244444 => Updated with Vin: 1G6KF5798YU260890 ## Mail History Id: 30079447, Consumer Id: 620946, Address Id: 832013 => Updated with Vin: 1C3EL46X14N288214 ## Mail History Id: 30079495, Consumer Id: 622069, Address Id: 11762350 => Updated with Vin: 1G6EL12Y9YU146488 ## Mail History Id: 30079475, Consumer Id: 628039, Address Id: 11765396 => Updated with Vin: 1G6KE57Y41U169731 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1323 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-18 14:14:45') AND us2_order_type_id = 3 ## Order found: 1713 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1713 AND product_id = 113 ## Job Group Found: '497' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('497') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808003') AND customer_id = 3451 ## Mailing found: '13001' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30079477, Consumer Id: 613309, Address Id: 840174 => Updated with Vin: 1GYEK63R2YR223185 ## Mail History Id: 30079407, Consumer Id: 617823, Address Id: 11759565 => Updated with Vin: 1G6KD54Y24U210675 ## Mail History Id: 30079437, Consumer Id: 619416, Address Id: 11761030 => Updated with Vin: 2HGEJ8647XH557068 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1324 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-18 14:56:07') AND us2_order_type_id = 3 ## Order found: 1709 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1709 AND product_id = 140 ## Job Group Found: '495' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('495') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm081808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm081808001') AND customer_id = 3721 ## Mailing found: '12995' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1325 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-18 20:14:16') AND us2_order_type_id = 3 ## Order found: 1700 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1700 AND product_id = 2152 ## Job Group Found: '566' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('566') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408006') AND customer_id = 3503 ## Mailing found: '13368' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1326 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-18 20:14:29') AND us2_order_type_id = 3 ## Order found: 1700 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1700 AND product_id = 2153 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3503 ## Mailing found: '13380' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998579, Consumer Id: 2176970, Address Id: 9725720 => Updated with Vin: 4T1BG22K7YU664889 ## Mail History Id: 30998479, Consumer Id: 2176461, Address Id: 8797067 => Updated with Vin: JTEGD21A230050825 ## Mail History Id: 30998567, Consumer Id: 2171537, Address Id: 9719265 => Updated with Vin: 5TDBT44A11S005300 ## Mail History Id: 30998637, Consumer Id: 2175776, Address Id: 9724019 => Updated with Vin: JTEHH20V616004146 ## Mail History Id: 30998537, Consumer Id: 457342, Address Id: 8803371 => Updated with Vin: 4T1BE32K52U501810 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 1327 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-18 20:14:41') AND us2_order_type_id = 3 ## Order found: 1700 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1700 AND product_id = 2150 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3503 ## Mailing found: '13402,13913' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1328 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-18 20:14:53') AND us2_order_type_id = 3 ## Order found: 1700 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1700 AND product_id = 2147 ## Job Group Found: '562' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('562') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408002') AND customer_id = 3503 ## Mailing found: '13414' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1329 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-19 07:14:33') AND us2_order_type_id = 3 ## Order found: 1729 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1729 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3503 ## Mailing found: '13402,13913' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992962, Consumer Id: 2159515, Address Id: 9724298 => Updated with Vin: 2T1KR32E74C267415 ## Mail History Id: 30992263, Consumer Id: 2168390, Address Id: 9735767 => Updated with Vin: 5TDBK23C27S007401 ## Mail History Id: 30992329, Consumer Id: 2166697, Address Id: 9733706 => Updated with Vin: JTEBU17R478081793 ## Mail History Id: 30993569, Consumer Id: 2174973, Address Id: 9723060 => Updated with Vin: JTDFR320820047696 ## Mail History Id: 30993635, Consumer Id: 2158595, Address Id: 472067 => Updated with Vin: JTDBT123835036510 ## Mail History Id: 30993551, Consumer Id: 2171602, Address Id: 9719328 => Updated with Vin: 5TEWM72N9YZ698815 ## Mail History Id: 30993575, Consumer Id: 2158904, Address Id: 9722455 => Updated with Vin: JTEHH20V830257250 ## Mail History Id: 30992273, Consumer Id: 2179668, Address Id: 9722596 => Updated with Vin: 2T1BR32E35C336733 ## Mail History Id: 30992109, Consumer Id: 2172019, Address Id: 9719740 => Updated with Vin: 4T1BF28B92U254841 ## Mail History Id: 30993355, Consumer Id: 2176429, Address Id: 9724908 => Updated with Vin: 5TDBA23C44S002070 ## Mail History Id: 30992323, Consumer Id: 2158962, Address Id: 9722502 => Updated with Vin: JTEHF21A430148897 ## Mail History Id: 30992137, Consumer Id: 2158492, Address Id: 9720233 => Updated with Vin: JTEBU17R830006832 ## Mail History Id: 30992631, Consumer Id: 2171907, Address Id: 9719626 => Updated with Vin: JTDDY38T2Y0031773 ## Mail History Id: 30993763, Consumer Id: 2171143, Address Id: 9718905 => Updated with Vin: 4T1BG22K51U120526 ## Mail History Id: 30992933, Consumer Id: 2163918, Address Id: 9723483 => Updated with Vin: JTEHH20V830258964 ## Mail History Id: 30993407, Consumer Id: 2158534, Address Id: 9719491 => Updated with Vin: 5TDBT44A23S176866 ## Mail History Id: 30993101, Consumer Id: 2169350, Address Id: 9738334 => Updated with Vin: JTKKU10448J013385 ## Mail History Id: 30992575, Consumer Id: 2175594, Address Id: 9723868 => Updated with Vin: JTEBT14R330003487 ## Mail History Id: 30992751, Consumer Id: 2173665, Address Id: 9721562 => Updated with Vin: JTEHF21A220062034 ## Mail History Id: 30992937, Consumer Id: 2175462, Address Id: 8750029 => Updated with Vin: JT3HN86R7W0177070 ## Total mail_history records updated with vin numbers: 20 out of 34 ============================================================ ====== Tracking Id: 1330 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-19 08:14:33') AND us2_order_type_id = 3 ## Order found: 1730 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1730 AND product_id = 55 ## Job Group Found: '501' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('501') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108002') AND customer_id = 3230 ## Mailing found: '13081' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1331 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-19 08:44:28') AND us2_order_type_id = 3 ## Order found: 1730 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1730 AND product_id = 113 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3230 ## Mailing found: '13059' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229232, Consumer Id: 1782171, Address Id: 47233 => Updated with Vin: 1FTYR10V1XUA55425 ## Mail History Id: 30229230, Consumer Id: 93526, Address Id: 52026 => Updated with Vin: 1GCCS148268258186 ## Mail History Id: 30229226, Consumer Id: 65549, Address Id: 52027 => Updated with Vin: 1FMZU73K14ZB44557 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1332 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-19 08:44:33') AND us2_order_type_id = 3 ## Order found: 1730 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1730 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3230 ## Mailing found: '13036' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228470, Consumer Id: 727000, Address Id: 51309 => Updated with Vin: 1FALP62W7VH125640 ## Mail History Id: 30228342, Consumer Id: 63894, Address Id: 52048 => Updated with Vin: 1FMZU74W74UA87733 ## Mail History Id: 30228340, Consumer Id: 63182, Address Id: 47237 => Updated with Vin: 1FAFP58S93A164103 ## Mail History Id: 30228490, Consumer Id: 38431, Address Id: 49099 => Updated with Vin: 1FTWW31P85EC38971 ## Mail History Id: 30228492, Consumer Id: 67290, Address Id: 49877 => Updated with Vin: 3FAFP08146R153224 ## Mail History Id: 30228478, Consumer Id: 64437, Address Id: 47786 => Updated with Vin: 1FTNX21P33EB36381 ## Mail History Id: 30228460, Consumer Id: 93453, Address Id: 51957 => Updated with Vin: 1FMEU74E47UB28412 ## Mail History Id: 30228330, Consumer Id: 63400, Address Id: 52176 => Updated with Vin: 1FTWW33P04EC86394 ## Mail History Id: 30228480, Consumer Id: 93388, Address Id: 51883 => Updated with Vin: 1FMEU73E78UA02452 ## Mail History Id: 30228476, Consumer Id: 102950, Address Id: 48421 => Updated with Vin: 2C8GF68494R514253 ## Mail History Id: 30228448, Consumer Id: 64831, Address Id: 47594 => Updated with Vin: 1FAFP53264A215386 ## Mail History Id: 30228484, Consumer Id: 64584, Address Id: 48783 => Updated with Vin: 1FMYU04175KC11696 ## Mail History Id: 30228482, Consumer Id: 92045, Address Id: 49304 => Updated with Vin: 1G8AF52F73Z114265 ## Mail History Id: 30228462, Consumer Id: 64756, Address Id: 48942 => Updated with Vin: 2FMDA52492BA08333 ## Mail History Id: 30228466, Consumer Id: 92760, Address Id: 51188 => Updated with Vin: 1D4HS58N53F517258 ## Mail History Id: 30228464, Consumer Id: 67388, Address Id: 53263 => Updated with Vin: 1FAFP36P5YW192820 ## Mail History Id: 30228472, Consumer Id: 66257, Address Id: 49527 => Updated with Vin: 1FAFP23195G172070 ## Mail History Id: 30228474, Consumer Id: 63698, Address Id: 49990 => Updated with Vin: 1FMPU16W63LB70138 ## Mail History Id: 30228458, Consumer Id: 62898, Address Id: 48513 => Updated with Vin: 3FTNF21L23MB18013 ## Mail History Id: 30228468, Consumer Id: 630447, Address Id: 48994 => Updated with Vin: 1ZWFT61L915602034 ## Mail History Id: 30228352, Consumer Id: 630867, Address Id: 11771064 => Updated with Vin: 1FTPX14V08FA33790 ## Mail History Id: 30228450, Consumer Id: 66237, Address Id: 49717 => Updated with Vin: 1FAFP34N65W215213 ## Mail History Id: 30228452, Consumer Id: 630446, Address Id: 49747 => Updated with Vin: 3FAFP07Z26R170000 ## Mail History Id: 30228454, Consumer Id: 91959, Address Id: 48959 => Updated with Vin: 1FTPX14585FA35895 ## Mail History Id: 30228488, Consumer Id: 66806, Address Id: 50516 => Updated with Vin: 1FMYU70E3YUA90174 ## Total mail_history records updated with vin numbers: 25 out of 32 ============================================================ ====== Tracking Id: 1333 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-19 09:18:16') AND us2_order_type_id = 3 ## Order found: 1731 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1731 AND product_id = 142 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3768 ## Mailing found: '13046' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228200, Consumer Id: 1044386, Address Id: 6294123 => Updated with Vin: 1G6DW677470129264 ## Mail History Id: 30228194, Consumer Id: 1108764, Address Id: 1347345 => Updated with Vin: 3GYFK66N35G262067 ## Mail History Id: 30228224, Consumer Id: 1109116, Address Id: 5991165 => Updated with Vin: 1G6DP577X60108733 ## Mail History Id: 30228218, Consumer Id: 1116243, Address Id: 14983995 => Updated with Vin: 1G6EL12Y81B103486 ## Mail History Id: 30228206, Consumer Id: 1107769, Address Id: 3238595 => Updated with Vin: 1G6KD54Y51U223013 ## Total mail_history records updated with vin numbers: 5 out of 10 ============================================================ ====== Tracking Id: 1334 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-19 10:19:32') AND us2_order_type_id = 3 ## Order found: 1732 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1732 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3416 ## Mailing found: '13038' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228494, Consumer Id: 683913, Address Id: 11795506 => Updated with Vin: 1G6ET12982B100713 ## Mail History Id: 30228432, Consumer Id: 956268, Address Id: 3765288 => Updated with Vin: 1G6KF57904U175357 ## Mail History Id: 30228424, Consumer Id: 956266, Address Id: 11965814 => Updated with Vin: 1G6KE57Y84U112355 ## Total mail_history records updated with vin numbers: 3 out of 5 ============================================================ ====== Tracking Id: 1335 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-19 10:22:47') AND us2_order_type_id = 3 ## Order found: 1733 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1733 AND product_id = 142 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3697 ## Mailing found: '13043' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228210, Consumer Id: 1052031, Address Id: 14955037 => Updated with Vin: 1G6DM577X40135212 ## Mail History Id: 30228216, Consumer Id: 1045608, Address Id: 14953186 => Updated with Vin: 1G6DW677570195869 ## Mail History Id: 30228204, Consumer Id: 1043737, Address Id: 3237961 => Updated with Vin: 1G6KD54Y24U225256 ## Mail History Id: 30228212, Consumer Id: 1047277, Address Id: 14953636 => Updated with Vin: 1G6DN56S750215538 ## Mail History Id: 30228192, Consumer Id: 1049964, Address Id: 14954339 => Updated with Vin: 1G6KD54Y55U190522 ## Total mail_history records updated with vin numbers: 5 out of 8 ============================================================ ====== Tracking Id: 1336 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-19 10:23:59') AND us2_order_type_id = 3 ## Order found: 1731 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1731 AND product_id = 140 ## Job Group Found: '504' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('504') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108005' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108005') AND customer_id = 3768 ## Mailing found: '13069' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1337 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-19 10:25:06') AND us2_order_type_id = 3 ## Order found: 1734 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1734 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3815 ## Mailing found: '13048' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228232, Consumer Id: 1531242, Address Id: 15926698 => Updated with Vin: JHMCN36476C001405 ## Mail History Id: 30228270, Consumer Id: 1372807, Address Id: 2111022 => Updated with Vin: 1HGCM567X4A075793 ## Mail History Id: 30228274, Consumer Id: 1362482, Address Id: 15635064 => Updated with Vin: 1HGFA16566L010394 ## Mail History Id: 30228208, Consumer Id: 1371874, Address Id: 15636661 => Updated with Vin: 5FNRL38608B064402 ## Mail History Id: 30228292, Consumer Id: 1363939, Address Id: 6165965 => Updated with Vin: 1HGCM56496A171066 ## Mail History Id: 30228244, Consumer Id: 1378079, Address Id: 9401702 => Updated with Vin: 5J6YH28645L029548 ## Mail History Id: 30228296, Consumer Id: 1365698, Address Id: 15638678 => Updated with Vin: JHMGD38627S041000 ## Mail History Id: 30228256, Consumer Id: 1365593, Address Id: 15638610 => Updated with Vin: 5FNRL38737B019171 ## Mail History Id: 30228198, Consumer Id: 1367175, Address Id: 15639926 => Updated with Vin: 5J6RE48568L002873 ## Mail History Id: 30228234, Consumer Id: 1367277, Address Id: 15639989 => Updated with Vin: 5FNYF18298B038661 ## Mail History Id: 30228252, Consumer Id: 1379795, Address Id: 15672086 => Updated with Vin: 1HGCD5658VA088722 ## Mail History Id: 30228260, Consumer Id: 1372030, Address Id: 8298931 => Updated with Vin: 5FNRL38778B407747 ## Total mail_history records updated with vin numbers: 12 out of 16 ============================================================ ====== Tracking Id: 1338 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-19 10:44:06') AND us2_order_type_id = 3 ## Order found: 1730 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1730 AND product_id = 140 ## Job Group Found: '504' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('504') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108005' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108005') AND customer_id = 3230 ## Mailing found: '13068' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229345, Consumer Id: 67290, Address Id: 49877 => Updated with Vin: 3FAFP08146R153224 ## Mail History Id: 30229344, Consumer Id: 92464, Address Id: 50753 => Updated with Vin: 1FTRW12W66KD64076 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1339 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-19 11:14:29') AND us2_order_type_id = 3 ## Order found: 1735 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1735 AND product_id = 112 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3486 ## Mailing found: '13064' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229222, Consumer Id: 464933, Address Id: 9820711 => Updated with Vin: 1GNEK13Z74R310848 ## Mail History Id: 30229206, Consumer Id: 476493, Address Id: 1033440 => Updated with Vin: 1GNEC13T61R180131 ## Mail History Id: 30229212, Consumer Id: 465973, Address Id: 9821034 => Updated with Vin: 1G1AK52F757522080 ## Total mail_history records updated with vin numbers: 3 out of 5 ============================================================ ====== Tracking Id: 1340 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-19 11:15:52') AND us2_order_type_id = 3 ## Order found: 1736 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1736 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3491 ## Mailing found: '13042' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228229, Consumer Id: 814740, Address Id: 11874918 => Updated with Vin: 1G1AK18F287103669 ## Mail History Id: 30228229, Consumer Id: 814740, Address Id: 11874918 => Updated with Vin: 1G1AK18F287103669 ## Mail History Id: 30228801, Consumer Id: 808238, Address Id: 11874808 => Updated with Vin: 2CNDL63F656172183 ## Mail History Id: 30227994, Consumer Id: 808322, Address Id: 11882814 => Updated with Vin: 1GNDS13S252358928 ## Mail History Id: 30228839, Consumer Id: 808532, Address Id: 11882967 => Updated with Vin: 1GNDV23E85D134722 ## Mail History Id: 30228084, Consumer Id: 808431, Address Id: 11882897 => Updated with Vin: 1GNDS13S452390571 ## Mail History Id: 30228108, Consumer Id: 808327, Address Id: 11882817 => Updated with Vin: 1G2NE52E15M117667 ## Mail History Id: 30228499, Consumer Id: 808627, Address Id: 11874645 => Updated with Vin: 1GCDS136658292103 ## Mail History Id: 30227841, Consumer Id: 773266, Address Id: 11851231 => Updated with Vin: 1GNDS13SX52370776 ## Mail History Id: 30228693, Consumer Id: 813318, Address Id: 11883086 => Updated with Vin: 2B3HD46R33H528640 ## Mail History Id: 30228421, Consumer Id: 808637, Address Id: 1303910 => Updated with Vin: 1G1ZT54855F264565 ## Mail History Id: 30228607, Consumer Id: 808654, Address Id: 11875670 => Updated with Vin: 2G1WF52E459214753 ## Mail History Id: 30228783, Consumer Id: 836376, Address Id: 11874762 => Updated with Vin: 2G1WF52E649234209 ## Mail History Id: 30227873, Consumer Id: 910601, Address Id: 11875259 => Updated with Vin: 1GCCS1441YK100909 ## Mail History Id: 30227873, Consumer Id: 910601, Address Id: 11875259 => Updated with Vin: 1GCCS1441YK100909 ## Mail History Id: 30228080, Consumer Id: 836258, Address Id: 11893430 => Updated with Vin: 2CNDL13F756160479 ## Mail History Id: 30229005, Consumer Id: 774339, Address Id: 11851960 => Updated with Vin: 1GNES16S936112173 ## Mail History Id: 30228606, Consumer Id: 808430, Address Id: 11882896 => Updated with Vin: 1G1AK15F467650959 ## Mail History Id: 30228506, Consumer Id: 808427, Address Id: 11882894 => Updated with Vin: 1G1ZS51F46F102286 ## Mail History Id: 30228090, Consumer Id: 808897, Address Id: 11883489 => Updated with Vin: 1GCEC14X94Z336435 ## Mail History Id: 30228487, Consumer Id: 910140, Address Id: 4196961 => Updated with Vin: 3GNDA23DX6S659379 ## Mail History Id: 30228769, Consumer Id: 808900, Address Id: 11883491 => Updated with Vin: KL1TD66696B515387 ## Mail History Id: 30227920, Consumer Id: 808955, Address Id: 11883529 => Updated with Vin: 2G1WT58K669149203 ## Mail History Id: 30227838, Consumer Id: 773383, Address Id: 11851339 => Updated with Vin: 1GCEC14XX5Z346392 ## Mail History Id: 30229013, Consumer Id: 809072, Address Id: 11883613 => Updated with Vin: 1GNDS13S052186690 ## Mail History Id: 30229013, Consumer Id: 910558, Address Id: 11883613 => Updated with Vin: 1GNFC13098R117089 ## Mail History Id: 30229013, Consumer Id: 910558, Address Id: 11883613 => Updated with Vin: 1GNFC13098R117089 ## Mail History Id: 30228518, Consumer Id: 808952, Address Id: 11883528 => Updated with Vin: 1G1ZS51F56F128332 ## Mail History Id: 30228277, Consumer Id: 815647, Address Id: 1301904 => Updated with Vin: 1D7HA16N65J615359 ## Mail History Id: 30229007, Consumer Id: 773363, Address Id: 11851320 => Updated with Vin: 3GNDA13D77S583339 ## Mail History Id: 30228618, Consumer Id: 809263, Address Id: 11883755 => Updated with Vin: 1GNDS13S252121212 ## Mail History Id: 30227914, Consumer Id: 809274, Address Id: 11883764 => Updated with Vin: 1GNDS13S952326042 ## Mail History Id: 30229001, Consumer Id: 809062, Address Id: 11883605 => Updated with Vin: 3GCEC14X96G150154 ## Mail History Id: 30228843, Consumer Id: 773276, Address Id: 11851240 => Updated with Vin: KL1TD66646B539922 ## Mail History Id: 30228843, Consumer Id: 773276, Address Id: 11851240 => Updated with Vin: KL1TD66646B539922 ## Mail History Id: 30228008, Consumer Id: 773264, Address Id: 11851229 => Updated with Vin: 2GCEK13T261163287 ## Mail History Id: 30229015, Consumer Id: 809270, Address Id: 11883760 => Updated with Vin: 1G1ZT54895F155879 ## Mail History Id: 30228927, Consumer Id: 773295, Address Id: 11851257 => Updated with Vin: 1GNDT13S062181942 ## Mail History Id: 30227927, Consumer Id: 809547, Address Id: 11884199 => Updated with Vin: 3GNDA23P26S536329 ## Mail History Id: 30228467, Consumer Id: 809278, Address Id: 1304367 => Updated with Vin: 3GNDA23P26S569444 ## Mail History Id: 30229045, Consumer Id: 773377, Address Id: 11851333 => Updated with Vin: 2GCEC13V861218310 ## Mail History Id: 30228006, Consumer Id: 809579, Address Id: 11884224 => Updated with Vin: 2G1WJ15K069216946 ## Mail History Id: 30228102, Consumer Id: 809847, Address Id: 11884417 => Updated with Vin: 1GNEK13Z36R123691 ## Mail History Id: 30228705, Consumer Id: 814606, Address Id: 11875980 => Updated with Vin: 1G1AK55F077346634 ## Mail History Id: 30229055, Consumer Id: 774325, Address Id: 11851947 => Updated with Vin: 1G2NE52E05M118258 ## Mail History Id: 30229055, Consumer Id: 774325, Address Id: 11851947 => Updated with Vin: 1G2NE52E05M118258 ## Mail History Id: 30228064, Consumer Id: 809623, Address Id: 11884258 => Updated with Vin: 3GCEC14X36G198152 ## Mail History Id: 30228393, Consumer Id: 773420, Address Id: 4196940 => Updated with Vin: 3GNEC16Z35G285473 ## Mail History Id: 30228463, Consumer Id: 773279, Address Id: 11851243 => Updated with Vin: 2GCEC13T861153568 ## Mail History Id: 30228063, Consumer Id: 809947, Address Id: 11884488 => Updated with Vin: KM8SC73D15U933151 ## Mail History Id: 30228201, Consumer Id: 837066, Address Id: 11874815 => Updated with Vin: 2GCEC19T241192807 ## Mail History Id: 30227976, Consumer Id: 809937, Address Id: 11884480 => Updated with Vin: 1GNES16M566131633 ## Mail History Id: 30228455, Consumer Id: 809936, Address Id: 11884479 => Updated with Vin: 2G1WB58KX69198259 ## Mail History Id: 30228183, Consumer Id: 809951, Address Id: 11884490 => Updated with Vin: 1G1ZS51F46F182205 ## Mail History Id: 30228125, Consumer Id: 809948, Address Id: 11883249 => Updated with Vin: 2G1WH55K229295128 ## Mail History Id: 30228695, Consumer Id: 810158, Address Id: 11875957 => Updated with Vin: 1GCEC19Z36Z241480 ## Mail History Id: 30228883, Consumer Id: 812157, Address Id: 11874961 => Updated with Vin: 1GCEC19Z87Z141828 ## Mail History Id: 30229057, Consumer Id: 809950, Address Id: 11884489 => Updated with Vin: 2G1WB58K069258758 ## Mail History Id: 30228911, Consumer Id: 773352, Address Id: 11851309 => Updated with Vin: 3GNDA23P96S582045 ## Mail History Id: 30228973, Consumer Id: 809960, Address Id: 11882029 => Updated with Vin: 2GCEK13T061135035 ## Mail History Id: 30228491, Consumer Id: 809954, Address Id: 4196962 => Updated with Vin: 1GNDT13SX42417302 ## Mail History Id: 30228143, Consumer Id: 837201, Address Id: 11893999 => Updated with Vin: 3GNGK22G66G116135 ## Mail History Id: 30228580, Consumer Id: 773277, Address Id: 11851241 => Updated with Vin: 1GNDV33L86D104738 ## Mail History Id: 30228014, Consumer Id: 810069, Address Id: 11884572 => Updated with Vin: 1G1ZS51F46F224405 ## Mail History Id: 30228435, Consumer Id: 809952, Address Id: 11874518 => Updated with Vin: 2GCEC13V461293909 ## Mail History Id: 30228845, Consumer Id: 809945, Address Id: 11884487 => Updated with Vin: 3GNDA23D66S608512 ## Mail History Id: 30228569, Consumer Id: 809933, Address Id: 11884476 => Updated with Vin: 2GCEC13T061160689 ## Mail History Id: 30228027, Consumer Id: 774328, Address Id: 11851950 => Updated with Vin: 1GCEC19VX6Z218923 ## Mail History Id: 30228279, Consumer Id: 773145, Address Id: 11851121 => Updated with Vin: 1GCHK23DX6F212465 ## Mail History Id: 30228106, Consumer Id: 810485, Address Id: 11885087 => Updated with Vin: 2G1WD58C469108249 ## Mail History Id: 30228651, Consumer Id: 811063, Address Id: 11875818 => Updated with Vin: 3GNDA23PX6S619281 ## Mail History Id: 30228651, Consumer Id: 811063, Address Id: 11875818 => Updated with Vin: 3GNDA23PX6S619281 ## Mail History Id: 30228586, Consumer Id: 810364, Address Id: 11885005 => Updated with Vin: 2CNDL63F266075516 ## Mail History Id: 30228053, Consumer Id: 838228, Address Id: 11851266 => Updated with Vin: 1GNDS13S772162549 ## Mail History Id: 30227867, Consumer Id: 773325, Address Id: 11851284 => Updated with Vin: 3GNFC16JX7G106928 ## Mail History Id: 30228929, Consumer Id: 810670, Address Id: 11885226 => Updated with Vin: 3GNDA23P06S621086 ## Mail History Id: 30228158, Consumer Id: 824932, Address Id: 11880204 => Updated with Vin: 1GNEC13T41R204457 ## Mail History Id: 30228138, Consumer Id: 810689, Address Id: 11885241 => Updated with Vin: 3GNEC12Z05G123323 ## Mail History Id: 30228044, Consumer Id: 837383, Address Id: 11894109 => Updated with Vin: 1G1AK52F357664720 ## Mail History Id: 30228255, Consumer Id: 810543, Address Id: 1301061 => Updated with Vin: 3GNDA23P96S636329 ## Mail History Id: 30228589, Consumer Id: 810698, Address Id: 11885248 => Updated with Vin: 1G1ZT61896F112705 ## Mail History Id: 30228688, Consumer Id: 773148, Address Id: 11851124 => Updated with Vin: 1GCEC19Z66Z270892 ## Mail History Id: 30227928, Consumer Id: 810464, Address Id: 11885076 => Updated with Vin: 3GNDA23P76S638807 ## Mail History Id: 30228431, Consumer Id: 810479, Address Id: 11874512 => Updated with Vin: 1GCEC19X25Z230449 ## Mail History Id: 30227987, Consumer Id: 773258, Address Id: 11851224 => Updated with Vin: 1G2ZH548154160342 ## Mail History Id: 30228485, Consumer Id: 937360, Address Id: 11874632 => Updated with Vin: 2G1WL52M3T9103396 ## Mail History Id: 30228121, Consumer Id: 939913, Address Id: 11889643 => Updated with Vin: 1GCEC14C98Z259777 ## Mail History Id: 30228065, Consumer Id: 810667, Address Id: 11874482 => Updated with Vin: 3GNDA23D76S642801 ## Mail History Id: 30228217, Consumer Id: 837544, Address Id: 11894212 => Updated with Vin: 3GNDA23D26S650790 ## Mail History Id: 30228217, Consumer Id: 837544, Address Id: 11894212 => Updated with Vin: 3GNDA23D26S650790 ## Mail History Id: 30228673, Consumer Id: 810671, Address Id: 11885227 => Updated with Vin: 1G1AK15F167720093 ## Mail History Id: 30228160, Consumer Id: 810851, Address Id: 11885350 => Updated with Vin: 3GNDA23PX6S631396 ## Mail History Id: 30227889, Consumer Id: 773341, Address Id: 11851299 => Updated with Vin: 2G1WD58C569163289 ## Mail History Id: 30228019, Consumer Id: 940559, Address Id: 11876095 => Updated with Vin: 2G4WS52J831144603 ## Mail History Id: 30227902, Consumer Id: 811165, Address Id: 11881840 => Updated with Vin: 2G1WC581569419724 ## Mail History Id: 30228321, Consumer Id: 811159, Address Id: 11885907 => Updated with Vin: 1G1AK15F767832302 ## Mail History Id: 30227844, Consumer Id: 838857, Address Id: 11885912 => Updated with Vin: 1G1ND52F45M155829 ## Mail History Id: 30228215, Consumer Id: 811059, Address Id: 11885870 => Updated with Vin: 2GCEC19Z961309127 ## Mail History Id: 30228219, Consumer Id: 811702, Address Id: 11874882 => Updated with Vin: 1GCHK24U75E280242 ## Mail History Id: 30227880, Consumer Id: 811729, Address Id: 11886127 => Updated with Vin: 1G1ZT61816F134987 ## Mail History Id: 30228083, Consumer Id: 811329, Address Id: 11885650 => Updated with Vin: 1GCEC19X97Z119366 ## Mail History Id: 30228863, Consumer Id: 773423, Address Id: 11851376 => Updated with Vin: 1GCCS149178149406 ## Mail History Id: 30228863, Consumer Id: 837683, Address Id: 11851376 => Updated with Vin: KL1TD66686B553418 ## Mail History Id: 30228977, Consumer Id: 910958, Address Id: 11886166 => Updated with Vin: 1GNEK13T35R156989 ## Mail History Id: 30228187, Consumer Id: 837869, Address Id: 11874742 => Updated with Vin: 1GNDU03E24D147150 ## Mail History Id: 30228997, Consumer Id: 811792, Address Id: 11886155 => Updated with Vin: KL1TD66616B680186 ## Mail History Id: 30228997, Consumer Id: 811792, Address Id: 11886155 => Updated with Vin: KL1TD66616B680186 ## Mail History Id: 30227952, Consumer Id: 811759, Address Id: 11886141 => Updated with Vin: 3GNDA23P26S671312 ## Mail History Id: 30228529, Consumer Id: 773397, Address Id: 11851352 => Updated with Vin: 1GCEC19T76Z208543 ## Mail History Id: 30228529, Consumer Id: 811327, Address Id: 11851352 => Updated with Vin: 3GNDA13D17S510015 ## Mail History Id: 30228269, Consumer Id: 811364, Address Id: 11885993 => Updated with Vin: KL1TD666X6B632038 ## Mail History Id: 30228571, Consumer Id: 811448, Address Id: 4197013 => Updated with Vin: 1G1ZS58F17F123703 ## Mail History Id: 30228122, Consumer Id: 811781, Address Id: 11886151 => Updated with Vin: 3GCEC14X67G146063 ## Mail History Id: 30227868, Consumer Id: 812110, Address Id: 11886257 => Updated with Vin: 3GNEC12067G146836 ## Mail History Id: 30227868, Consumer Id: 812110, Address Id: 11886257 => Updated with Vin: 3GNEC12067G146836 ## Mail History Id: 30227868, Consumer Id: 955888, Address Id: 11886257 => Updated with Vin: 3GNFK12387G272777 ## Mail History Id: 30228407, Consumer Id: 773270, Address Id: 11851234 => Updated with Vin: KL1TD66626B664787 ## Mail History Id: 30228755, Consumer Id: 873839, Address Id: 11886164 => Updated with Vin: 2GCEC13C581115301 ## Mail History Id: 30228913, Consumer Id: 955897, Address Id: 11875036 => Updated with Vin: 1GKDT13S252157962 ## Mail History Id: 30228947, Consumer Id: 871681, Address Id: 11894537 => Updated with Vin: 1GNEC19X83B143491 ## Mail History Id: 30228178, Consumer Id: 773409, Address Id: 11851363 => Updated with Vin: 1GCHK23296F129057 ## Mail History Id: 30227849, Consumer Id: 773343, Address Id: 11851301 => Updated with Vin: 3GNEC12Z15G292959 ## Mail History Id: 30228401, Consumer Id: 934806, Address Id: 11874465 => Updated with Vin: 5GZCZ33D73S861976 ## Mail History Id: 30228935, Consumer Id: 811715, Address Id: 11886807 => Updated with Vin: 1GTEC14W12Z141983 ## Mail History Id: 30227944, Consumer Id: 811695, Address Id: 11886801 => Updated with Vin: 1G1ZS58F37F159957 ## Mail History Id: 30227859, Consumer Id: 773384, Address Id: 11851340 => Updated with Vin: 1GNES13H972119906 ## Mail History Id: 30229039, Consumer Id: 773226, Address Id: 11851194 => Updated with Vin: 2CNDL13F276041922 ## Mail History Id: 30228847, Consumer Id: 812139, Address Id: 11886940 => Updated with Vin: 2G2FS22K612115169 ## Mail History Id: 30228835, Consumer Id: 773388, Address Id: 11851344 => Updated with Vin: 2G1WB55K169129254 ## Mail History Id: 30229097, Consumer Id: 774334, Address Id: 11851956 => Updated with Vin: 1GNEC16Z05J150756 ## Mail History Id: 30228855, Consumer Id: 812133, Address Id: 11886937 => Updated with Vin: 2CNDL63F676042391 ## Mail History Id: 30228417, Consumer Id: 811687, Address Id: 11886797 => Updated with Vin: 1G1ZT51846F237444 ## Mail History Id: 30228907, Consumer Id: 760589, Address Id: 11851109 => Updated with Vin: 2G1WT55K689190843 ## Mail History Id: 30228533, Consumer Id: 773364, Address Id: 11851321 => Updated with Vin: 2G1WU58R479209099 ## Mail History Id: 30227970, Consumer Id: 773195, Address Id: 11851165 => Updated with Vin: 1G1ZS58F97F187424 ## Mail History Id: 30227847, Consumer Id: 812234, Address Id: 11875148 => Updated with Vin: 2GCEC13V971107301 ## Mail History Id: 30228747, Consumer Id: 812129, Address Id: 11886936 => Updated with Vin: 3GCEC14X97G218776 ## Mail History Id: 30228453, Consumer Id: 812289, Address Id: 11874555 => Updated with Vin: 1GCEC19V57Z188781 ## Mail History Id: 30228309, Consumer Id: 811681, Address Id: 11886794 => Updated with Vin: 2GCEC13J971533549 ## Mail History Id: 30228519, Consumer Id: 812619, Address Id: 11884468 => Updated with Vin: 2G1WT55K869246813 ## Mail History Id: 30227975, Consumer Id: 811745, Address Id: 11875810 => Updated with Vin: 1GCEC19Z67Z199484 ## Mail History Id: 30229079, Consumer Id: 773283, Address Id: 11851247 => Updated with Vin: 1G6KS5337LU828665 ## Mail History Id: 30228091, Consumer Id: 812536, Address Id: 11874558 => Updated with Vin: 1GCGG25V171115009 ## Mail History Id: 30228535, Consumer Id: 812603, Address Id: 11875413 => Updated with Vin: 1GNFK13037R327012 ## Mail History Id: 30228107, Consumer Id: 812627, Address Id: 11887322 => Updated with Vin: 3GNDA23P06S608113 ## Mail History Id: 30228721, Consumer Id: 814822, Address Id: 11889531 => Updated with Vin: 2C3KA43R67H747961 ## Mail History Id: 30228025, Consumer Id: 812622, Address Id: 11887317 => Updated with Vin: 1G1ZS58F07F175761 ## Mail History Id: 30227967, Consumer Id: 812565, Address Id: 11875746 => Updated with Vin: 1GCDS136558111637 ## Mail History Id: 30227967, Consumer Id: 812565, Address Id: 11875746 => Updated with Vin: 1GCDS136558111637 ## Mail History Id: 30228609, Consumer Id: 773249, Address Id: 11851216 => Updated with Vin: 1GKDT13S332168921 ## Mail History Id: 30228161, Consumer Id: 773373, Address Id: 11851329 => Updated with Vin: 1GNEC16Z33J325790 ## Mail History Id: 30227848, Consumer Id: 812905, Address Id: 11887389 => Updated with Vin: 1GCCS149978168107 ## Mail History Id: 30227848, Consumer Id: 812905, Address Id: 11887389 => Updated with Vin: 1GCCS149978168107 ## Mail History Id: 30227848, Consumer Id: 812726, Address Id: 11887389 => Updated with Vin: 1GNDT13S272107388 ## Mail History Id: 30228761, Consumer Id: 812624, Address Id: 11887319 => Updated with Vin: 1GCEC14X25Z311913 ## Mail History Id: 30228592, Consumer Id: 812672, Address Id: 11887352 => Updated with Vin: 2G1WT58K869216335 ## Mail History Id: 30227919, Consumer Id: 773262, Address Id: 11851227 => Updated with Vin: 1GKET63M362340372 ## Mail History Id: 30227961, Consumer Id: 832668, Address Id: 11875718 => Updated with Vin: 1GCEK19B85E150619 ## Mail History Id: 30228110, Consumer Id: 838718, Address Id: 11894879 => Updated with Vin: 1G1ND52F24M519941 ## Mail History Id: 30228193, Consumer Id: 813142, Address Id: 11874757 => Updated with Vin: 3GNEC12077G265575 ## Mail History Id: 30228513, Consumer Id: 812950, Address Id: 11887534 => Updated with Vin: 3GNDA23P07S525556 ## Mail History Id: 30228170, Consumer Id: 812947, Address Id: 11887531 => Updated with Vin: 1G1ZS58F87F226665 ## Mail History Id: 30229035, Consumer Id: 773269, Address Id: 11851233 => Updated with Vin: 3GNEC12Z35G126555 ## Mail History Id: 30228053, Consumer Id: 773305, Address Id: 11851266 => Updated with Vin: 1D7HA16K34J122937 ## Mail History Id: 30228369, Consumer Id: 838688, Address Id: 11894862 => Updated with Vin: 2G4WS52J6Y1125863 ## Mail History Id: 30228527, Consumer Id: 773407, Address Id: 11851361 => Updated with Vin: 1GNFC13017R295111 ## Mail History Id: 30228849, Consumer Id: 812966, Address Id: 11874896 => Updated with Vin: 1GCEC14J27E509364 ## Mail History Id: 30228983, Consumer Id: 815854, Address Id: 11887514 => Updated with Vin: 1G1AK18F987220911 ## Mail History Id: 30228680, Consumer Id: 813198, Address Id: 11887674 => Updated with Vin: 1GNES13M872140792 ## Mail History Id: 30228241, Consumer Id: 773430, Address Id: 11851382 => Updated with Vin: 3GNDA33P07S528379 ## Mail History Id: 30228101, Consumer Id: 838623, Address Id: 1299082 => Updated with Vin: 1G1NE52M5W6186671 ## Mail History Id: 30228101, Consumer Id: 838623, Address Id: 1299082 => Updated with Vin: 1G1NE52M5W6186671 ## Mail History Id: 30228034, Consumer Id: 813106, Address Id: 11887625 => Updated with Vin: 2FTRF17233CA73962 ## Mail History Id: 30227887, Consumer Id: 773160, Address Id: 11851133 => Updated with Vin: 3GNDA13D27S557893 ## Mail History Id: 30228719, Consumer Id: 773340, Address Id: 11851298 => Updated with Vin: 1FAHP38Z15W132875 ## Mail History Id: 30227864, Consumer Id: 773317, Address Id: 11851087 => Updated with Vin: 3GNDA23P47S573559 ## Mail History Id: 30227922, Consumer Id: 773281, Address Id: 11851245 => Updated with Vin: 1G1AK55F377227458 ## Mail History Id: 30227965, Consumer Id: 812728, Address Id: 11887390 => Updated with Vin: 1G1AM58B777172290 ## Mail History Id: 30228043, Consumer Id: 838586, Address Id: 11894816 => Updated with Vin: 1GCCS148768258121 ## Mail History Id: 30228061, Consumer Id: 812736, Address Id: 11887397 => Updated with Vin: 3GCEC13J57G508879 ## Mail History Id: 30227893, Consumer Id: 812739, Address Id: 11887399 => Updated with Vin: 1GNFC13057R299985 ## Mail History Id: 30228317, Consumer Id: 812957, Address Id: 11887540 => Updated with Vin: 3GNDA33P77S529951 ## Mail History Id: 30228317, Consumer Id: 812957, Address Id: 11887540 => Updated with Vin: 3GNDA33P77S529951 ## Mail History Id: 30228522, Consumer Id: 773414, Address Id: 11851368 => Updated with Vin: 1GNFK130X7R152080 ## Mail History Id: 30228522, Consumer Id: 773414, Address Id: 11851368 => Updated with Vin: 1GNFK130X7R152080 ## Mail History Id: 30228503, Consumer Id: 812922, Address Id: 11887513 => Updated with Vin: 1GCHK29K27E520033 ## Mail History Id: 30228699, Consumer Id: 773294, Address Id: 11851256 => Updated with Vin: 1G1ZS58F47F215498 ## Mail History Id: 30228303, Consumer Id: 838582, Address Id: 11875188 => Updated with Vin: 1GNFK13047R363968 ## Mail History Id: 30228707, Consumer Id: 813248, Address Id: 11887955 => Updated with Vin: 1GNFC13097R371609 ## Mail History Id: 30228411, Consumer Id: 829275, Address Id: 11878985 => Updated with Vin: 2G1FP22G9X2103642 ## Mail History Id: 30228095, Consumer Id: 910564, Address Id: 11888010 => Updated with Vin: 5TBDT481X5S485712 ## Mail History Id: 30227981, Consumer Id: 773304, Address Id: 11851265 => Updated with Vin: 1G1AK15F677268045 ## Mail History Id: 30228078, Consumer Id: 813299, Address Id: 11881079 => Updated with Vin: 1GCEC14C47Z555708 ## Mail History Id: 30228153, Consumer Id: 838719, Address Id: 11892527 => Updated with Vin: 1GNFK130X7R301331 ## Mail History Id: 30228676, Consumer Id: 813444, Address Id: 11888073 => Updated with Vin: 2GCEC19C371626253 ## Mail History Id: 30228903, Consumer Id: 774354, Address Id: 11851973 => Updated with Vin: 1G1AK15F977302480 ## Mail History Id: 30228010, Consumer Id: 773319, Address Id: 11851278 => Updated with Vin: 1G1ZS58F27F147752 ## Mail History Id: 30228010, Consumer Id: 773319, Address Id: 11851278 => Updated with Vin: 1G1ZS58F27F147752 ## Mail History Id: 30228155, Consumer Id: 839787, Address Id: 1299563 => Updated with Vin: 2G1WU58R679106928 ## Mail History Id: 30228501, Consumer Id: 939905, Address Id: 11874647 => Updated with Vin: 2G1WF52E059149030 ## Mail History Id: 30228285, Consumer Id: 773393, Address Id: 11851349 => Updated with Vin: 3GNFC16007G280319 ## Mail History Id: 30229021, Consumer Id: 773177, Address Id: 11851149 => Updated with Vin: 1GCEC14X13Z222430 ## Mail History Id: 30228085, Consumer Id: 773425, Address Id: 11851377 => Updated with Vin: 2GCEK19J371673347 ## Mail History Id: 30228669, Consumer Id: 813948, Address Id: 11875855 => Updated with Vin: 2CNDL13F876119216 ## Mail History Id: 30227842, Consumer Id: 937573, Address Id: 11959968 => Updated with Vin: 1GNES16SX36172608 ## Mail History Id: 30227979, Consumer Id: 838888, Address Id: 11895000 => Updated with Vin: 1GCEC14037Z588480 ## Mail History Id: 30228146, Consumer Id: 934805, Address Id: 11887011 => Updated with Vin: 2GTEC13V261316619 ## Mail History Id: 30227992, Consumer Id: 813691, Address Id: 11888232 => Updated with Vin: 2CNDL63F976014844 ## Mail History Id: 30228642, Consumer Id: 809461, Address Id: 11883893 => Updated with Vin: 1GCEK19B85E157148 ## Mail History Id: 30227836, Consumer Id: 813654, Address Id: 11888203 => Updated with Vin: 3GNDA13D27S623228 ## Mail History Id: 30228447, Consumer Id: 839064, Address Id: 11895076 => Updated with Vin: 1GNCS13W6YK107025 ## Mail History Id: 30227876, Consumer Id: 813463, Address Id: 11888090 => Updated with Vin: 3GNFK12357G272915 ## Mail History Id: 30228039, Consumer Id: 813489, Address Id: 11888083 => Updated with Vin: 2GCEC19C371625779 ## Mail History Id: 30228054, Consumer Id: 838884, Address Id: 11894997 => Updated with Vin: 1GCDS136548213910 ## Mail History Id: 30228603, Consumer Id: 813794, Address Id: 11875666 => Updated with Vin: 2CNDL13F776068050 ## Mail History Id: 30228603, Consumer Id: 813794, Address Id: 11875666 => Updated with Vin: 2CNDL13F776068050 ## Mail History Id: 30228343, Consumer Id: 839177, Address Id: 11882489 => Updated with Vin: 1G1YY12GXX5119952 ## Mail History Id: 30229003, Consumer Id: 814983, Address Id: 11888263 => Updated with Vin: 1GCDS13E278118152 ## Mail History Id: 30229019, Consumer Id: 774324, Address Id: 11851946 => Updated with Vin: 2G1WT58K969159224 ## Mail History Id: 30229019, Consumer Id: 774324, Address Id: 11851946 => Updated with Vin: 2G1WT58K969159224 ## Mail History Id: 30229049, Consumer Id: 813698, Address Id: 11888235 => Updated with Vin: 1GCEC19V37Z171171 ## Mail History Id: 30229049, Consumer Id: 813698, Address Id: 11888235 => Updated with Vin: 1GCEC19V37Z171171 ## Mail History Id: 30229049, Consumer Id: 813698, Address Id: 11888235 => Updated with Vin: 1GCEC19V37Z171171 ## Mail History Id: 30228689, Consumer Id: 760559, Address Id: 11851082 => Updated with Vin: 1GCEC14Z66Z256319 ## Mail History Id: 30228749, Consumer Id: 838589, Address Id: 11894817 => Updated with Vin: 2CNDL63F676099349 ## Mail History Id: 30228339, Consumer Id: 813754, Address Id: 11888275 => Updated with Vin: 1B7HC16X5XS310387 ## Mail History Id: 30228425, Consumer Id: 813661, Address Id: 11888209 => Updated with Vin: 1GCEC19J37E579867 ## Mail History Id: 30228817, Consumer Id: 773337, Address Id: 11851295 => Updated with Vin: 1GCHK33F6SF007355 ## Mail History Id: 30228093, Consumer Id: 773313, Address Id: 11851273 => Updated with Vin: 1G1ZS58F87F307181 ## Mail History Id: 30228209, Consumer Id: 814003, Address Id: 11888731 => Updated with Vin: 1G1AK15F077255968 ## Mail History Id: 30228654, Consumer Id: 814011, Address Id: 11888741 => Updated with Vin: 1G1ZS57NX7F112028 ## Mail History Id: 30228056, Consumer Id: 814065, Address Id: 11888772 => Updated with Vin: 1GCEK19T64Z111527 ## Mail History Id: 30228523, Consumer Id: 773212, Address Id: 11851181 => Updated with Vin: 3GNDA13D77S612855 ## Mail History Id: 30228664, Consumer Id: 814167, Address Id: 11888840 => Updated with Vin: 2GCEC13V861354923 ## Mail History Id: 30228241, Consumer Id: 814034, Address Id: 11851382 => Updated with Vin: 3GNEC12047G293513 ## Mail History Id: 30228893, Consumer Id: 839027, Address Id: 11892592 => Updated with Vin: 2GCEK19TX31175478 ## Mail History Id: 30229081, Consumer Id: 773390, Address Id: 11851346 => Updated with Vin: 1GCCS13E978186881 ## Mail History Id: 30228175, Consumer Id: 814060, Address Id: 11874711 => Updated with Vin: 2GCEK19T931200435 ## Mail History Id: 30228601, Consumer Id: 773389, Address Id: 11851345 => Updated with Vin: 1G1AK55F977382550 ## Mail History Id: 30228795, Consumer Id: 773392, Address Id: 11851348 => Updated with Vin: 2CNDL63FX76247213 ## Mail History Id: 30228767, Consumer Id: 814088, Address Id: 11888789 => Updated with Vin: 1G1AK55F377380082 ## Mail History Id: 30228809, Consumer Id: 839408, Address Id: 11874820 => Updated with Vin: 1GNDT13S822312092 ## Mail History Id: 30228809, Consumer Id: 839408, Address Id: 11874820 => Updated with Vin: 1GNDT13S822312092 ## Mail History Id: 30228082, Consumer Id: 814047, Address Id: 11888761 => Updated with Vin: 1GCEC19TX5Z161331 ## Mail History Id: 30228691, Consumer Id: 814031, Address Id: 11888752 => Updated with Vin: 1G1AK15F777384578 ## Mail History Id: 30228637, Consumer Id: 814132, Address Id: 11875804 => Updated with Vin: 1G1AK15F677388184 ## Mail History Id: 30228889, Consumer Id: 814320, Address Id: 11874980 => Updated with Vin: 2G1WB58K279335535 ## Mail History Id: 30228725, Consumer Id: 814332, Address Id: 11888948 => Updated with Vin: 1FAFP53U86A160749 ## Mail History Id: 30227950, Consumer Id: 773215, Address Id: 11851183 => Updated with Vin: 1GNDS13S772243258 ## Mail History Id: 30228653, Consumer Id: 839181, Address Id: 11875829 => Updated with Vin: 1G1YY12S745120458 ## Mail History Id: 30227969, Consumer Id: 773193, Address Id: 11851164 => Updated with Vin: 1G1AL15F977138371 ## Mail History Id: 30228088, Consumer Id: 838868, Address Id: 11894995 => Updated with Vin: 3GNDA23D46S606239 ## Mail History Id: 30227857, Consumer Id: 814128, Address Id: 11888818 => Updated with Vin: 1C3LC56KX7N549765 ## Mail History Id: 30228670, Consumer Id: 774344, Address Id: 11851965 => Updated with Vin: 3GNDA33P97S626861 ## Mail History Id: 30228365, Consumer Id: 773255, Address Id: 11851221 => Updated with Vin: 2CNDL13F176226673 ## Mail History Id: 30228365, Consumer Id: 773255, Address Id: 11851221 => Updated with Vin: 2CNDL13F176226673 ## Mail History Id: 30228781, Consumer Id: 814402, Address Id: 11887664 => Updated with Vin: 3GNDA23D36S655304 ## Mail History Id: 30228399, Consumer Id: 814388, Address Id: 11888984 => Updated with Vin: 3GNDA23D26S505667 ## Mail History Id: 30227839, Consumer Id: 814421, Address Id: 11889008 => Updated with Vin: 3GNDA23P28S519369 ## Mail History Id: 30228595, Consumer Id: 773252, Address Id: 11851219 => Updated with Vin: 2G1WD58C679252161 ## Mail History Id: 30228613, Consumer Id: 774330, Address Id: 11851952 => Updated with Vin: 1G1JC1240W7205103 ## Mail History Id: 30228132, Consumer Id: 814193, Address Id: 11888863 => Updated with Vin: 2CNDL73F766139930 ## Mail History Id: 30228387, Consumer Id: 773141, Address Id: 11851117 => Updated with Vin: 1G1AZ58F977116629 ## Mail History Id: 30227929, Consumer Id: 773356, Address Id: 11851313 => Updated with Vin: 3GNDA13D87S525000 ## Mail History Id: 30228441, Consumer Id: 839250, Address Id: 11874536 => Updated with Vin: 1G1ND52F95M104990 ## Mail History Id: 30228029, Consumer Id: 814439, Address Id: 11889026 => Updated with Vin: 1GCCS13E878252661 ## Mail History Id: 30228029, Consumer Id: 814439, Address Id: 11889026 => Updated with Vin: 1GCCS13E878252661 ## Mail History Id: 30228507, Consumer Id: 939060, Address Id: 11888860 => Updated with Vin: 1GCEC14X87Z608493 ## Mail History Id: 30228635, Consumer Id: 773379, Address Id: 11851335 => Updated with Vin: 2CNDL13FX76226493 ## Mail History Id: 30228723, Consumer Id: 814254, Address Id: 11876012 => Updated with Vin: 1G1ZT51F86F289075 ## Mail History Id: 30228186, Consumer Id: 814243, Address Id: 11888893 => Updated with Vin: 1G1AL15F377225554 ## Mail History Id: 30228979, Consumer Id: 910603, Address Id: 11851370 => Updated with Vin: 2CNDL63F976246635 ## Mail History Id: 30228979, Consumer Id: 910603, Address Id: 11851370 => Updated with Vin: 2CNDL63F976246635 ## Mail History Id: 30228281, Consumer Id: 814284, Address Id: 11875103 => Updated with Vin: 3GCEC13J77G531922 ## Mail History Id: 30228281, Consumer Id: 814284, Address Id: 11875103 => Updated with Vin: 3GCEC13J77G531922 ## Mail History Id: 30228099, Consumer Id: 814438, Address Id: 11889025 => Updated with Vin: 1G1AK58FX87106679 ## Mail History Id: 30228614, Consumer Id: 814393, Address Id: 11888987 => Updated with Vin: 3GNDA13D77S634418 ## Mail History Id: 30228142, Consumer Id: 813842, Address Id: 11888333 => Updated with Vin: 2CNDL63F476085627 ## Mail History Id: 30229091, Consumer Id: 773412, Address Id: 11851366 => Updated with Vin: 1G1AK15F377325320 ## Mail History Id: 30228677, Consumer Id: 836607, Address Id: 11893654 => Updated with Vin: 1GHDT13W6Y2401514 ## Mail History Id: 30228633, Consumer Id: 773427, Address Id: 11851379 => Updated with Vin: KL1TD66697B770235 ## Mail History Id: 30228869, Consumer Id: 814503, Address Id: 11874941 => Updated with Vin: 1GNDT13X04K160579 ## Mail History Id: 30228987, Consumer Id: 814759, Address Id: 11876094 => Updated with Vin: 1GCEK14C57Z601453 ## Mail History Id: 30228823, Consumer Id: 814762, Address Id: 11874840 => Updated with Vin: 1GCCS148058241773 ## Mail History Id: 30228575, Consumer Id: 814825, Address Id: 11889533 => Updated with Vin: 2CNDL23F386031648 ## Mail History Id: 30228626, Consumer Id: 814904, Address Id: 11889589 => Updated with Vin: 1GNFK130X7J335381 ## Mail History Id: 30227877, Consumer Id: 773428, Address Id: 11851380 => Updated with Vin: 1FAFP34N07W307131 ## Mail History Id: 30228182, Consumer Id: 773202, Address Id: 11851172 => Updated with Vin: 2G1WK15K779146568 ## Mail History Id: 30228581, Consumer Id: 773272, Address Id: 11851236 => Updated with Vin: 1GBJK34J0XF025186 ## Mail History Id: 30228909, Consumer Id: 773235, Address Id: 11851203 => Updated with Vin: 1G1AK58FX87126916 ## Mail History Id: 30229025, Consumer Id: 814933, Address Id: 11889612 => Updated with Vin: 2G1WU58R979147568 ## Mail History Id: 30228731, Consumer Id: 773387, Address Id: 11851343 => Updated with Vin: 2G1WB55K769275299 ## Mail History Id: 30228825, Consumer Id: 814821, Address Id: 11889530 => Updated with Vin: 3GCEC13C07G521850 ## Mail History Id: 30228383, Consumer Id: 815115, Address Id: 11875377 => Updated with Vin: 1GNEK13Z63R294771 ## Mail History Id: 30228711, Consumer Id: 774349, Address Id: 11851969 => Updated with Vin: KL1TD56658B068926 ## Mail History Id: 30228287, Consumer Id: 773378, Address Id: 11851334 => Updated with Vin: KL1TD56698B076821 ## Mail History Id: 30228953, Consumer Id: 814856, Address Id: 11889555 => Updated with Vin: 1D4HB48N45F575150 ## Mail History Id: 30227901, Consumer Id: 815101, Address Id: 11889716 => Updated with Vin: 1GNFC13098R143949 ## Mail History Id: 30228361, Consumer Id: 773206, Address Id: 11851176 => Updated with Vin: 1G1AK18F187103727 ## Mail History Id: 30228361, Consumer Id: 773206, Address Id: 11851176 => Updated with Vin: 1G1AK18F187103727 ## Mail History Id: 30227959, Consumer Id: 815066, Address Id: 1296423 => Updated with Vin: 1GCHC23KX7F525173 ## Mail History Id: 30228717, Consumer Id: 815289, Address Id: 11875996 => Updated with Vin: 1GNFC13C97J376639 ## Mail History Id: 30228111, Consumer Id: 815275, Address Id: 11889831 => Updated with Vin: 3GCEK13327G500422 ## Mail History Id: 30228666, Consumer Id: 815131, Address Id: 11889736 => Updated with Vin: 1G1AK58FX87124292 ## Mail History Id: 30228650, Consumer Id: 909938, Address Id: 11889784 => Updated with Vin: KL1TD56638B111594 ## Mail History Id: 30228069, Consumer Id: 773348, Address Id: 11851305 => Updated with Vin: 1G1AL15F377377494 ## Mail History Id: 30228939, Consumer Id: 815158, Address Id: 11889758 => Updated with Vin: 3GNDA13D78S599994 ## Mail History Id: 30228327, Consumer Id: 814942, Address Id: 11889617 => Updated with Vin: 1GCEC19X85Z141954 ## Mail History Id: 30228315, Consumer Id: 814940, Address Id: 11889525 => Updated with Vin: 1GCCS19E688160182 ## Mail History Id: 30228148, Consumer Id: 773421, Address Id: 11851374 => Updated with Vin: 2G1WB58N589262172 ## Mail History Id: 30228347, Consumer Id: 774355, Address Id: 1302754 => Updated with Vin: 1G1ZT58N57F179874 ## Mail History Id: 30227853, Consumer Id: 815006, Address Id: 11875168 => Updated with Vin: 3GCEC13J97G503538 ## Mail History Id: 30227865, Consumer Id: 773424, Address Id: 1293114 => Updated with Vin: 2G1WD58C589218908 ## Mail History Id: 30228502, Consumer Id: 815343, Address Id: 11890178 => Updated with Vin: 1GNFK16398R157679 ## Mail History Id: 30228556, Consumer Id: 815362, Address Id: 11890192 => Updated with Vin: 3GNFK16318G186559 ## Mail History Id: 30227917, Consumer Id: 815363, Address Id: 11890193 => Updated with Vin: 1G1ZH57B78F177702 ## Mail History Id: 30228057, Consumer Id: 871068, Address Id: 11888163 => Updated with Vin: 3GNDA33P57S565198 ## Mail History Id: 30228055, Consumer Id: 815391, Address Id: 11890211 => Updated with Vin: 1G1AK58F187107638 ## Mail History Id: 30228403, Consumer Id: 815419, Address Id: 1303740 => Updated with Vin: 1G1ZS57FX7F130005 ## Mail History Id: 30228612, Consumer Id: 773359, Address Id: 11851316 => Updated with Vin: KL1TD66608B102633 ## Mail History Id: 30227898, Consumer Id: 839765, Address Id: 11895445 => Updated with Vin: 1GNFK13047J348255 ## Mail History Id: 30227898, Consumer Id: 839765, Address Id: 11895445 => Updated with Vin: 1GNFK13047J348255 ## Mail History Id: 30227883, Consumer Id: 773302, Address Id: 11851264 => Updated with Vin: 1GCHC23294F176163 ## Mail History Id: 30228895, Consumer Id: 1911306, Address Id: 11894140 => Updated with Vin: 1G1AK58F587302285 ## Mail History Id: 30228879, Consumer Id: 815497, Address Id: 11890279 => Updated with Vin: 1G2NE52E75M221967 ## Mail History Id: 30227921, Consumer Id: 815506, Address Id: 11890286 => Updated with Vin: 2A4GP44R77R285459 ## Mail History Id: 30228461, Consumer Id: 815507, Address Id: 11874567 => Updated with Vin: 1GCEC14X28Z192510 ## Mail History Id: 30228295, Consumer Id: 815439, Address Id: 11890238 => Updated with Vin: 1GNDV33W07D173550 ## Mail History Id: 30228961, Consumer Id: 774327, Address Id: 11851949 => Updated with Vin: 2GCEK13TX51323480 ## Mail History Id: 30227936, Consumer Id: 815459, Address Id: 11890254 => Updated with Vin: 1GCEC14X58Z105182 ## Mail History Id: 30227843, Consumer Id: 774345, Address Id: 11851966 => Updated with Vin: 1G1ZK57768F176215 ## Mail History Id: 30228166, Consumer Id: 774335, Address Id: 11851957 => Updated with Vin: KL1TD56687B051861 ## Mail History Id: 30228133, Consumer Id: 773381, Address Id: 11851337 => Updated with Vin: 1GCEC14C18Z200691 ## Mail History Id: 30228851, Consumer Id: 815655, Address Id: 11890394 => Updated with Vin: 1G1AL55F967789165 ## Mail History Id: 30228807, Consumer Id: 815666, Address Id: 11887183 => Updated with Vin: 1GCDS13E988168855 ## Mail History Id: 30228807, Consumer Id: 815666, Address Id: 11887183 => Updated with Vin: 1GCDS13E988168855 ## Mail History Id: 30228531, Consumer Id: 815668, Address Id: 11890403 => Updated with Vin: KL1TD66688B113153 ## Mail History Id: 30228638, Consumer Id: 773278, Address Id: 11851242 => Updated with Vin: 1GNDV23L16D178612 ## Mail History Id: 30228638, Consumer Id: 910557, Address Id: 11851242 => Updated with Vin: 1GTJK33D47F181139 ## Mail History Id: 30228993, Consumer Id: 815682, Address Id: 11882759 => Updated with Vin: 1D7HA18226S699484 ## Mail History Id: 30228231, Consumer Id: 773256, Address Id: 11851222 => Updated with Vin: 1G2ZG558764237833 ## Mail History Id: 30229031, Consumer Id: 773333, Address Id: 11851291 => Updated with Vin: 1G1ZG57B684193775 ## Mail History Id: 30228496, Consumer Id: 840019, Address Id: 11895599 => Updated with Vin: 1G1YY26U875140224 ## Mail History Id: 30227958, Consumer Id: 774343, Address Id: 11851964 => Updated with Vin: 2G1WH52K859258934 ## Mail History Id: 30227974, Consumer Id: 873842, Address Id: 11913297 => Updated with Vin: 5N1AR18U47C629546 ## Mail History Id: 30228051, Consumer Id: 815953, Address Id: 11890616 => Updated with Vin: 2CNDL53F686070509 ## Mail History Id: 30228052, Consumer Id: 773318, Address Id: 11851277 => Updated with Vin: 3A4FY58BX7T521367 ## Mail History Id: 30228052, Consumer Id: 1566228, Address Id: 11851277 => Updated with Vin: 3GNDA53P88S653143 ## Mail History Id: 30228171, Consumer Id: 839825, Address Id: 11895476 => Updated with Vin: 1GCHC23G45F871888 ## Mail History Id: 30228899, Consumer Id: 815924, Address Id: 11890595 => Updated with Vin: 1G1ZS58F17F192679 ## Mail History Id: 30228023, Consumer Id: 815932, Address Id: 11890602 => Updated with Vin: 1GTEC19X27Z190702 ## Mail History Id: 30228867, Consumer Id: 815934, Address Id: 11890604 => Updated with Vin: 1GNEK13V24J307559 ## Mail History Id: 30227962, Consumer Id: 815638, Address Id: 11890383 => Updated with Vin: 2G1WT58K969415409 ## Mail History Id: 30227862, Consumer Id: 773335, Address Id: 11851293 => Updated with Vin: 1D4HD48N14F123357 ## Mail History Id: 30228700, Consumer Id: 815754, Address Id: 11890469 => Updated with Vin: 1G1ZG57B28F197584 ## Mail History Id: 30228797, Consumer Id: 773357, Address Id: 11851314 => Updated with Vin: 2G1WT55K489106180 ## Mail History Id: 30228713, Consumer Id: 773358, Address Id: 11851315 => Updated with Vin: 1D4HB38N74F203438 ## Mail History Id: 30228821, Consumer Id: 773323, Address Id: 11851282 => Updated with Vin: 1G1ZS58F67F282667 ## Mail History Id: 30228797, Consumer Id: 815174, Address Id: 11851314 => Updated with Vin: 1G1ZS58F67F282667 ## Mail History Id: 30227874, Consumer Id: 774353, Address Id: 11851972 => Updated with Vin: 1GCGC24U3XE151958 ## Mail History Id: 30228685, Consumer Id: 815839, Address Id: 11890536 => Updated with Vin: KL1TD56698B051630 ## Mail History Id: 30227932, Consumer Id: 773382, Address Id: 11851338 => Updated with Vin: 1D7HE58N85S108966 ## Mail History Id: 30228715, Consumer Id: 815869, Address Id: 11890559 => Updated with Vin: 1G1ZJ577X8F210269 ## Mail History Id: 30228038, Consumer Id: 815871, Address Id: 11890560 => Updated with Vin: KNAGD126865464284 ## Mail History Id: 30227955, Consumer Id: 774338, Address Id: 11851959 => Updated with Vin: 2GTEK19T641156900 ## Mail History Id: 30228211, Consumer Id: 773274, Address Id: 11851238 => Updated with Vin: 1GNFC13027R257466 ## Mail History Id: 30228211, Consumer Id: 773274, Address Id: 11851238 => Updated with Vin: 1GNFC13027R257466 ## Mail History Id: 30228181, Consumer Id: 815731, Address Id: 11890450 => Updated with Vin: 1G1AK18F087152806 ## Mail History Id: 30228297, Consumer Id: 815894, Address Id: 11884255 => Updated with Vin: 3GNDA73X08S628071 ## Mail History Id: 30228439, Consumer Id: 815901, Address Id: 11890576 => Updated with Vin: 1GNDS13S972100604 ## Mail History Id: 30228604, Consumer Id: 815746, Address Id: 11890462 => Updated with Vin: 1GCHK23U94F189967 ## Mail History Id: 30227835, Consumer Id: 815915, Address Id: 11890588 => Updated with Vin: 2GTEK13T761220776 ## Mail History Id: 30227835, Consumer Id: 815915, Address Id: 11890588 => Updated with Vin: 2GTEK13T761220776 ## Mail History Id: 30228608, Consumer Id: 815923, Address Id: 11890594 => Updated with Vin: 3GNDA13D58S602097 ## Mail History Id: 30227891, Consumer Id: 773216, Address Id: 11851184 => Updated with Vin: 1G1AK58F587219018 ## Mail History Id: 30228819, Consumer Id: 839977, Address Id: 11895062 => Updated with Vin: 1GCEC19CX8Z120282 ## Mail History Id: 30227909, Consumer Id: 839987, Address Id: 11895584 => Updated with Vin: 3GCEC14X86G178155 ## Mail History Id: 30228071, Consumer Id: 815819, Address Id: 11888411 => Updated with Vin: 2CNDL23F386283772 ## Mail History Id: 30228610, Consumer Id: 815833, Address Id: 11890530 => Updated with Vin: 1FTRX12W25KC60213 ## Mail History Id: 30228881, Consumer Id: 815835, Address Id: 11890532 => Updated with Vin: 2C3JA53G45H131852 ## Mail History Id: 30228297, Consumer Id: 809620, Address Id: 11884255 => Updated with Vin: 1GCEC19T16Z165530 ## Mail History Id: 30227931, Consumer Id: 836827, Address Id: 11893790 => Updated with Vin: 1GCEC19T16Z165530 ## Mail History Id: 30228297, Consumer Id: 809620, Address Id: 11884255 => Updated with Vin: 1GCEC19T16Z165530 ## Mail History Id: 30227931, Consumer Id: 836827, Address Id: 11893790 => Updated with Vin: 1GCEC19T16Z165530 ## Mail History Id: 30227934, Consumer Id: 815841, Address Id: 11890538 => Updated with Vin: 1G1AL18F187178134 ## Mail History Id: 30228127, Consumer Id: 815857, Address Id: 11890549 => Updated with Vin: 3GNDA53P68S613563 ## Mail History Id: 30228891, Consumer Id: 815879, Address Id: 11890565 => Updated with Vin: 3GNDA53P18S613826 ## Mail History Id: 30227954, Consumer Id: 815896, Address Id: 11883687 => Updated with Vin: 1G1AL18F087232331 ## Mail History Id: 30228765, Consumer Id: 773324, Address Id: 11851283 => Updated with Vin: 2G1WP551149150465 ## Mail History Id: 30228335, Consumer Id: 760582, Address Id: 1302544 => Updated with Vin: 1G1ZJ57B48F216525 ## Mail History Id: 30228559, Consumer Id: 839917, Address Id: 11895072 => Updated with Vin: 1GCHK23122F115051 ## Mail History Id: 30228632, Consumer Id: 815537, Address Id: 11890304 => Updated with Vin: 1D7HU18D65S263440 ## Mail History Id: 30227998, Consumer Id: 815534, Address Id: 11890302 => Updated with Vin: 1J4GL48K15W570784 ## Mail History Id: 30228814, Consumer Id: 938845, Address Id: 11851075 => Updated with Vin: 3VWDD21C5YM424161 ## Mail History Id: 30228814, Consumer Id: 910566, Address Id: 11851075 => Updated with Vin: 5LMPU28L0WLJ20104 ## Mail History Id: 30228578, Consumer Id: 773218, Address Id: 11851186 => Updated with Vin: 1GTEC19XX6Z251339 ## Mail History Id: 30228483, Consumer Id: 815613, Address Id: 11890363 => Updated with Vin: 1GCHC29K78E101142 ## Mail History Id: 30228853, Consumer Id: 815548, Address Id: 11890313 => Updated with Vin: 1GCCS199588158345 ## Mail History Id: 30228991, Consumer Id: 773417, Address Id: 11851371 => Updated with Vin: 1GNDV33L26D163851 ## Mail History Id: 30228991, Consumer Id: 773417, Address Id: 11851371 => Updated with Vin: 1GNDV33L26D163851 ## Mail History Id: 30228243, Consumer Id: 815563, Address Id: 11890325 => Updated with Vin: 1D7HU18D65S143718 ## Mail History Id: 30227966, Consumer Id: 773411, Address Id: 11851365 => Updated with Vin: 1D4HB48D95F510253 ## Mail History Id: 30227846, Consumer Id: 815769, Address Id: 11890481 => Updated with Vin: 1G1ZS58FX7F162256 ## Mail History Id: 30227861, Consumer Id: 774337, Address Id: 1293048 => Updated with Vin: KL1TD56698B103385 ## Mail History Id: 30228273, Consumer Id: 873841, Address Id: 11913296 => Updated with Vin: JTEGD21A130064912 ## Mail History Id: 30228179, Consumer Id: 815749, Address Id: 11890464 => Updated with Vin: 1GCHC29U45E319441 ## Mail History Id: 30228013, Consumer Id: 773166, Address Id: 11851139 => Updated with Vin: 1FAFP53U87A141989 ## Mail History Id: 30228022, Consumer Id: 873840, Address Id: 11913295 => Updated with Vin: 2GCEC19V2X1220983 ## Mail History Id: 30228024, Consumer Id: 774332, Address Id: 11851954 => Updated with Vin: 2G1WF52E559300184 ## Mail History Id: 30228024, Consumer Id: 774332, Address Id: 11851954 => Updated with Vin: 2G1WF52E559300184 ## Mail History Id: 30228024, Consumer Id: 774332, Address Id: 11851954 => Updated with Vin: 2G1WF52E559300184 ## Mail History Id: 30228129, Consumer Id: 840051, Address Id: 11895629 => Updated with Vin: 1G1ND52F64M558998 ## Mail History Id: 30227996, Consumer Id: 815969, Address Id: 11891177 => Updated with Vin: 3GNDA33D88S611002 ## Mail History Id: 30228735, Consumer Id: 815971, Address Id: 11891179 => Updated with Vin: 2C3KA43R67H753162 ## Mail History Id: 30228602, Consumer Id: 872319, Address Id: 11912593 => Updated with Vin: 3D7KR26D65G789252 ## Mail History Id: 30228015, Consumer Id: 816052, Address Id: 11891239 => Updated with Vin: 1J4GL48K96W138672 ## Mail History Id: 30228565, Consumer Id: 815986, Address Id: 11891189 => Updated with Vin: 1FAFP56S43G268742 ## Mail History Id: 30228989, Consumer Id: 773351, Address Id: 11851308 => Updated with Vin: 2G1WT58N979243295 ## Mail History Id: 30228989, Consumer Id: 773351, Address Id: 11851308 => Updated with Vin: 2G1WT58N979243295 ## Mail History Id: 30228584, Consumer Id: 773354, Address Id: 11851311 => Updated with Vin: 1GMDX33L46D243540 ## Mail History Id: 30227851, Consumer Id: 816010, Address Id: 11875166 => Updated with Vin: 2GCEC19V561276835 ## Mail History Id: 30227926, Consumer Id: 774336, Address Id: 11851958 => Updated with Vin: JS3TE62V054200386 ## Mail History Id: 30228351, Consumer Id: 816016, Address Id: 1302769 => Updated with Vin: 1FTWW33P55EA72437 ## Mail History Id: 30228684, Consumer Id: 773242, Address Id: 11851210 => Updated with Vin: 2G1WT55K089161600 ## Mail History Id: 30228674, Consumer Id: 816023, Address Id: 11891215 => Updated with Vin: 2G1WD58CX81235105 ## Mail History Id: 30228060, Consumer Id: 816029, Address Id: 11851290 => Updated with Vin: 2G1WP551649183767 ## Mail History Id: 30227949, Consumer Id: 839655, Address Id: 11895379 => Updated with Vin: 1G1ZJ57768F180526 ## Mail History Id: 30228089, Consumer Id: 773400, Address Id: 11851355 => Updated with Vin: 2GCEK13T241400227 ## Mail History Id: 30228157, Consumer Id: 773306, Address Id: 11851267 => Updated with Vin: 1G1ZJ57718F192776 ## Mail History Id: 30228371, Consumer Id: 871674, Address Id: 1303192 => Updated with Vin: 5TDZA23C45S232398 ## Mail History Id: 30228233, Consumer Id: 938837, Address Id: 1300794 => Updated with Vin: 1G1ZG57B084259432 ## Mail History Id: 30228267, Consumer Id: 773307, Address Id: 1301581 => Updated with Vin: 2G1WJ15K279192814 ## Mail History Id: 30228205, Consumer Id: 839263, Address Id: 11888839 => Updated with Vin: 1GCEC14X38Z119033 ## Mail History Id: 30228999, Consumer Id: 816116, Address Id: 11891285 => Updated with Vin: 1G1AK55F467653321 ## Mail History Id: 30228696, Consumer Id: 840017, Address Id: 4613552 => Updated with Vin: 1G1YY22G2X5109552 ## Mail History Id: 30227850, Consumer Id: 773418, Address Id: 11851372 => Updated with Vin: 3GNEK12T14G236338 ## Mail History Id: 30228652, Consumer Id: 940560, Address Id: 11851369 => Updated with Vin: 1D7HA18N83S210348 ## Mail History Id: 30228652, Consumer Id: 773415, Address Id: 11851369 => Updated with Vin: 3GNFK12397G274134 ## Mail History Id: 30228682, Consumer Id: 816128, Address Id: 11891293 => Updated with Vin: 1FAFP56UX7A183866 ## Mail History Id: 30228459, Consumer Id: 816066, Address Id: 11885426 => Updated with Vin: 1G1AK18F387190272 ## Mail History Id: 30228459, Consumer Id: 871675, Address Id: 11885426 => Updated with Vin: 1GNDT13S182161265 ## Mail History Id: 30228459, Consumer Id: 871675, Address Id: 11885426 => Updated with Vin: 1GNDT13S182161265 ## Mail History Id: 30227894, Consumer Id: 873202, Address Id: 11891249 => Updated with Vin: KL1TD566X8B106179 ## Mail History Id: 30228189, Consumer Id: 816074, Address Id: 11891250 => Updated with Vin: 1YVGF22C2X5879184 ## Mail History Id: 30228557, Consumer Id: 871486, Address Id: 11911996 => Updated with Vin: KL1TD56628B116866 ## Mail History Id: 30228557, Consumer Id: 871486, Address Id: 11911996 => Updated with Vin: KL1TD56628B116866 ## Mail History Id: 30229094, Consumer Id: 911121, Address Id: 11941078 => Updated with Vin: 1G1AK58F487109237 ## Mail History Id: 30228579, Consumer Id: 773355, Address Id: 11851312 => Updated with Vin: 3GNDA23D07S539379 ## Mail History Id: 30227907, Consumer Id: 773259, Address Id: 1294555 => Updated with Vin: 1G1ZT51866F112543 ## Mail History Id: 30228237, Consumer Id: 938370, Address Id: 11851086 => Updated with Vin: 2C8GF68435R422718 ## Mail History Id: 30228168, Consumer Id: 820154, Address Id: 11909656 => Updated with Vin: 2A4GP54L66R745419 ## Mail History Id: 30228829, Consumer Id: 773401, Address Id: 11851195 => Updated with Vin: 2GCEK19TX31351574 ## Mail History Id: 30228131, Consumer Id: 760562, Address Id: 11851085 => Updated with Vin: 1G1YY26W885125208 ## Mail History Id: 30228495, Consumer Id: 760583, Address Id: 11851103 => Updated with Vin: 1G1AK58FX87237840 ## Mail History Id: 30228737, Consumer Id: 773267, Address Id: 11851232 => Updated with Vin: 2G1WF52E649261426 ## Mail History Id: 30228583, Consumer Id: 773251, Address Id: 11851218 => Updated with Vin: 2GCEC19J881206617 ## Mail History Id: 30229069, Consumer Id: 773271, Address Id: 11851235 => Updated with Vin: 1G1YY26E865113662 ## Mail History Id: 30227948, Consumer Id: 773339, Address Id: 11851297 => Updated with Vin: 2G4WF5211V1480150 ## Mail History Id: 30228771, Consumer Id: 773198, Address Id: 11851168 => Updated with Vin: 3GNDA23D17S600514 ## Mail History Id: 30228771, Consumer Id: 773198, Address Id: 11851168 => Updated with Vin: 3GNDA23D17S600514 ## Mail History Id: 30227888, Consumer Id: 760581, Address Id: 11851102 => Updated with Vin: 1G1ZS58F48F116536 ## Mail History Id: 30227923, Consumer Id: 820155, Address Id: 11909657 => Updated with Vin: 2GCEC19C681212644 ## Mail History Id: 30228423, Consumer Id: 773303, Address Id: 1303974 => Updated with Vin: 2GCEC19Z061277877 ## Mail History Id: 30228381, Consumer Id: 871471, Address Id: 11911984 => Updated with Vin: 1GCEK19V8XE133140 ## Mail History Id: 30227985, Consumer Id: 760572, Address Id: 11851094 => Updated with Vin: 1GCEC14X78Z194933 ## Mail History Id: 30228555, Consumer Id: 760573, Address Id: 11851095 => Updated with Vin: 2GTFK69U321372551 ## Mail History Id: 30227915, Consumer Id: 760574, Address Id: 1294912 => Updated with Vin: 1J8FF28W27D336077 ## Mail History Id: 30228611, Consumer Id: 871472, Address Id: 11911985 => Updated with Vin: 1D7HU18D95J550566 ## Mail History Id: 30228245, Consumer Id: 872323, Address Id: 11912597 => Updated with Vin: 3A4FY58B47T531098 ## Mail History Id: 30228698, Consumer Id: 871473, Address Id: 11911986 => Updated with Vin: 1G1YY26W885108621 ## Mail History Id: 30228471, Consumer Id: 760585, Address Id: 11851105 => Updated with Vin: 1J4GL48K05W534343 ## Mail History Id: 30229053, Consumer Id: 760588, Address Id: 11851108 => Updated with Vin: 1D7HE42N26S569309 ## Mail History Id: 30228162, Consumer Id: 820156, Address Id: 11909658 => Updated with Vin: 2C3JA53G55H137580 ## Mail History Id: 30228629, Consumer Id: 872630, Address Id: 11893340 => Updated with Vin: 2C3HD46J1XH596776 ## Mail History Id: 30228951, Consumer Id: 773344, Address Id: 11851302 => Updated with Vin: 3GNDA13D87S548678 ## Mail History Id: 30228397, Consumer Id: 773349, Address Id: 11851306 => Updated with Vin: 1D7HA16K94J216210 ## Mail History Id: 30228199, Consumer Id: 760586, Address Id: 11851106 => Updated with Vin: 1GCEC19XX5Z167780 ## Mail History Id: 30228995, Consumer Id: 871475, Address Id: 11911988 => Updated with Vin: 5GZCZ53444S830472 ## Mail History Id: 30228668, Consumer Id: 820157, Address Id: 11909659 => Updated with Vin: 1G1AK18FX87279742 ## Mail History Id: 30228405, Consumer Id: 820159, Address Id: 11885576 => Updated with Vin: 2FTRX18L83CB13702 ## Mail History Id: 30228062, Consumer Id: 773370, Address Id: 11851327 => Updated with Vin: 1GNDS13S572157513 ## Mail History Id: 30228686, Consumer Id: 760590, Address Id: 11851110 => Updated with Vin: 1G1ZS58F28F100996 ## Mail History Id: 30228857, Consumer Id: 773396, Address Id: 11851351 => Updated with Vin: 1GCCS14Z4R8133056 ## Mail History Id: 30228665, Consumer Id: 773399, Address Id: 11851354 => Updated with Vin: 1G1BL52PXSR134531 ## Mail History Id: 30228291, Consumer Id: 872324, Address Id: 11912598 => Updated with Vin: 1J8HG48K06C228494 ## Mail History Id: 30228678, Consumer Id: 820160, Address Id: 11909660 => Updated with Vin: 1G2WP52K31F179252 ## Mail History Id: 30228302, Consumer Id: 773372, Address Id: 1573116 => Updated with Vin: 1GTCS19X338268186 ## Mail History Id: 30228757, Consumer Id: 760591, Address Id: 11851111 => Updated with Vin: 1J4G258S0XC610995 ## Mail History Id: 30228510, Consumer Id: 871480, Address Id: 8411865 => Updated with Vin: 3GCEC13J68G246999 ## Mail History Id: 30228257, Consumer Id: 760587, Address Id: 11851107 => Updated with Vin: 1GCHK24K87E571639 ## Mail History Id: 30228257, Consumer Id: 760587, Address Id: 11851107 => Updated with Vin: 1GCHK24K87E571639 ## Mail History Id: 30227953, Consumer Id: 871474, Address Id: 11911987 => Updated with Vin: 1ZWFT61L0Y5633537 ## Mail History Id: 30228590, Consumer Id: 820150, Address Id: 11909653 => Updated with Vin: 3GCEC13J68G246761 ## Mail History Id: 30228815, Consumer Id: 820151, Address Id: 11889747 => Updated with Vin: 1GCCS14H838107641 ## Mail History Id: 30228059, Consumer Id: 774341, Address Id: 11851962 => Updated with Vin: 1N4AL21E08N439155 ## Mail History Id: 30228833, Consumer Id: 871477, Address Id: 11880295 => Updated with Vin: 3A4FY48B17T539069 ## Mail History Id: 30228576, Consumer Id: 873199, Address Id: 11913287 => Updated with Vin: 1G2ZG558964273068 ## Mail History Id: 30228009, Consumer Id: 872321, Address Id: 11912595 => Updated with Vin: 2FMDA582X4BA05644 ## Mail History Id: 30227995, Consumer Id: 873200, Address Id: 11913288 => Updated with Vin: 1ZVHT80N785123049 ## Mail History Id: 30228692, Consumer Id: 873198, Address Id: 11913286 => Updated with Vin: KL1TD56658B072376 ## Mail History Id: 30228616, Consumer Id: 820152, Address Id: 11909654 => Updated with Vin: 4S2CK58W724335432 ## Mail History Id: 30228096, Consumer Id: 871478, Address Id: 11911989 => Updated with Vin: 1G1AK55F867675726 ## Mail History Id: 30228096, Consumer Id: 871478, Address Id: 11911989 => Updated with Vin: 1G1AK55F867675726 ## Mail History Id: 30228516, Consumer Id: 872322, Address Id: 11912596 => Updated with Vin: 1GCEC14C38Z114802 ## Mail History Id: 30228516, Consumer Id: 872322, Address Id: 11912596 => Updated with Vin: 1GCEC14C38Z114802 ## Mail History Id: 30228617, Consumer Id: 871481, Address Id: 11911991 => Updated with Vin: 1G1AK58F387218045 ## Mail History Id: 30228617, Consumer Id: 871481, Address Id: 11911991 => Updated with Vin: 1G1AK58F387218045 ## Mail History Id: 30228515, Consumer Id: 885561, Address Id: 11889481 => Updated with Vin: 1ZVFT85H475230701 ## Mail History Id: 30228577, Consumer Id: 871482, Address Id: 11911992 => Updated with Vin: 1GNDS13S182141827 ## Mail History Id: 30228293, Consumer Id: 872327, Address Id: 11912600 => Updated with Vin: 2D8GP44L36R879368 ## Mail History Id: 30228070, Consumer Id: 872320, Address Id: 11912594 => Updated with Vin: 1GHDT13SX32153497 ## Mail History Id: 30227897, Consumer Id: 872328, Address Id: 11912601 => Updated with Vin: 1G1AL58F987235946 ## Mail History Id: 30227897, Consumer Id: 872328, Address Id: 11912601 => Updated with Vin: 1G1AL58F987235946 ## Mail History Id: 30228539, Consumer Id: 872329, Address Id: 11912602 => Updated with Vin: 1G1AK58F287280326 ## Mail History Id: 30228086, Consumer Id: 820149, Address Id: 11909652 => Updated with Vin: KL1TD56678B072461 ## Mail History Id: 30227872, Consumer Id: 871483, Address Id: 11911993 => Updated with Vin: 1G1AK58F787235575 ## Mail History Id: 30227984, Consumer Id: 872330, Address Id: 11912603 => Updated with Vin: 1G1ZG57B38F214912 ## Mail History Id: 30228261, Consumer Id: 871484, Address Id: 11911994 => Updated with Vin: 1G2WK52J83F162150 ## Mail History Id: 30228620, Consumer Id: 872331, Address Id: 11912604 => Updated with Vin: 1G1AL15F777160868 ## Mail History Id: 30228620, Consumer Id: 910598, Address Id: 11912604 => Updated with Vin: 1G1ZT52814F175304 ## Mail History Id: 30228620, Consumer Id: 910598, Address Id: 11912604 => Updated with Vin: 1G1ZT52814F175304 ## Mail History Id: 30228469, Consumer Id: 873201, Address Id: 11889668 => Updated with Vin: 1G2ZH58NX74212876 ## Mail History Id: 30228263, Consumer Id: 820153, Address Id: 11909655 => Updated with Vin: 1GCEC14X78Z191711 ## Mail History Id: 30228005, Consumer Id: 872332, Address Id: 11912605 => Updated with Vin: 1ZVFT80N475296405 ## Mail History Id: 30228118, Consumer Id: 871677, Address Id: 11911999 => Updated with Vin: 1G1AL18F087180828 ## Mail History Id: 30229011, Consumer Id: 871682, Address Id: 11912003 => Updated with Vin: 1G1ND52J6Y6335505 ## Mail History Id: 30228118, Consumer Id: 871677, Address Id: 11911999 => Updated with Vin: 1G1AL18F087180828 ## Mail History Id: 30228542, Consumer Id: 871678, Address Id: 11912000 => Updated with Vin: 2G1WM15K069197001 ## Mail History Id: 30228542, Consumer Id: 871678, Address Id: 11912000 => Updated with Vin: 2G1WM15K069197001 ## Mail History Id: 30228605, Consumer Id: 873837, Address Id: 11913293 => Updated with Vin: 1MELM50U2VG636045 ## Mail History Id: 30229008, Consumer Id: 872634, Address Id: 11912609 => Updated with Vin: 1GNDM19W1WB184663 ## Mail History Id: 30228570, Consumer Id: 871680, Address Id: 11912002 => Updated with Vin: 1G1ZT68N97F183853 ## Mail History Id: 30227856, Consumer Id: 871485, Address Id: 11911995 => Updated with Vin: 3GCEC13C18G255532 ## Mail History Id: 30228624, Consumer Id: 873203, Address Id: 11913289 => Updated with Vin: 1D7HU16N87J636885 ## Mail History Id: 30228672, Consumer Id: 871487, Address Id: 11911997 => Updated with Vin: 1FTYR10D02PB03897 ## Mail History Id: 30228775, Consumer Id: 872633, Address Id: 11912608 => Updated with Vin: 1G2HX52K234164748 ## Mail History Id: 30228125, Consumer Id: 872335, Address Id: 11883249 => Updated with Vin: 1GCDS196358203658 ## Mail History Id: 30227855, Consumer Id: 910602, Address Id: 11940772 => Updated with Vin: 2CNDL23F656034300 ## Mail History Id: 30228239, Consumer Id: 873204, Address Id: 11913290 => Updated with Vin: 5N1DD28T94C608826 ## Mail History Id: 30228443, Consumer Id: 872631, Address Id: 11891200 => Updated with Vin: 2C4GP44383R297812 ## Mail History Id: 30228185, Consumer Id: 873205, Address Id: 11913291 => Updated with Vin: 1G1AK58F887287653 ## Mail History Id: 30228517, Consumer Id: 872337, Address Id: 11912607 => Updated with Vin: 1N6AD07U26C402088 ## Mail History Id: 30228188, Consumer Id: 911122, Address Id: 4198828 => Updated with Vin: 1G1AL52F257554657 ## Mail History Id: 30227957, Consumer Id: 873838, Address Id: 11913294 => Updated with Vin: 1GCEK19Z37Z159060 ## Mail History Id: 30229043, Consumer Id: 885562, Address Id: 11939932 => Updated with Vin: 3GNEC12097G144966 ## Mail History Id: 30228283, Consumer Id: 873846, Address Id: 11913299 => Updated with Vin: 2HGED6356MH557132 ## Mail History Id: 30228341, Consumer Id: 874530, Address Id: 11913730 => Updated with Vin: 1G1AK18F487124457 ## Mail History Id: 30228656, Consumer Id: 872334, Address Id: 11912606 => Updated with Vin: 1G1AL58F887258828 ## Mail History Id: 30228907, Consumer Id: 838347, Address Id: 11851109 => Updated with Vin: 2G1WW12E759359987 ## Mail History Id: 30228184, Consumer Id: 909935, Address Id: 11940246 => Updated with Vin: 2G1WW12E759359987 ## Mail History Id: 30228457, Consumer Id: 873206, Address Id: 11913292 => Updated with Vin: 1GCDT33E988212796 ## Mail History Id: 30228259, Consumer Id: 873847, Address Id: 11913300 => Updated with Vin: 1GCEC14V74Z137513 ## Mail History Id: 30228152, Consumer Id: 885566, Address Id: 11939935 => Updated with Vin: 3FAFP6630YM116842 ## Mail History Id: 30227899, Consumer Id: 885565, Address Id: 11939934 => Updated with Vin: 3GCEC13J28G250001 ## Mail History Id: 30228079, Consumer Id: 921432, Address Id: 1298707 => Updated with Vin: 1J4GL58K45W631261 ## Mail History Id: 30228079, Consumer Id: 921431, Address Id: 1298707 => Updated with Vin: 5N1AR18U15C722294 ## Mail History Id: 30228615, Consumer Id: 910556, Address Id: 11940764 => Updated with Vin: 1B3EL46X65N612918 ## Mail History Id: 30228562, Consumer Id: 885568, Address Id: 11939937 => Updated with Vin: 1GCHC23U57F133266 ## Mail History Id: 30229047, Consumer Id: 885569, Address Id: 11939938 => Updated with Vin: 1D4HR38N63F620172 ## Mail History Id: 30228564, Consumer Id: 909936, Address Id: 11940247 => Updated with Vin: 1G1ZS58F58F110292 ## Mail History Id: 30228289, Consumer Id: 885560, Address Id: 11939931 => Updated with Vin: KL1TD66658B114129 ## Mail History Id: 30227980, Consumer Id: 874529, Address Id: 11913729 => Updated with Vin: 3GNDA23P06S668621 ## Mail History Id: 30228573, Consumer Id: 885567, Address Id: 11939936 => Updated with Vin: 2CNDL23F686298699 ## Mail History Id: 30228249, Consumer Id: 910559, Address Id: 11940765 => Updated with Vin: 2G1WJ15K079137729 ## Mail History Id: 30228249, Consumer Id: 910559, Address Id: 11940765 => Updated with Vin: 2G1WJ15K079137729 ## Mail History Id: 30227837, Consumer Id: 909939, Address Id: 11940249 => Updated with Vin: 1G1AK58F287289379 ## Mail History Id: 30228429, Consumer Id: 885571, Address Id: 11939940 => Updated with Vin: 1GNDV33126D204123 ## Mail History Id: 30228305, Consumer Id: 909940, Address Id: 11940250 => Updated with Vin: 2G2WP552171198104 ## Mail History Id: 30228305, Consumer Id: 909940, Address Id: 11940250 => Updated with Vin: 2G2WP552171198104 ## Mail History Id: 30228543, Consumer Id: 910563, Address Id: 11940767 => Updated with Vin: 3A4FY48B07T528421 ## Mail History Id: 30228690, Consumer Id: 910561, Address Id: 11940766 => Updated with Vin: 2GCEK13T461155143 ## Mail History Id: 30228529, Consumer Id: 910562, Address Id: 11851352 => Updated with Vin: 1G1AK18F487295497 ## Mail History Id: 30228681, Consumer Id: 909603, Address Id: 11939942 => Updated with Vin: 3GNDA23D87S550033 ## Mail History Id: 30227905, Consumer Id: 910137, Address Id: 11940252 => Updated with Vin: 2G1WF52E649164484 ## Mail History Id: 30227885, Consumer Id: 885570, Address Id: 11939939 => Updated with Vin: 1GCEK19Z65Z132402 ## Mail History Id: 30228779, Consumer Id: 938041, Address Id: 11960316 => Updated with Vin: 1G1AK55F477113677 ## Mail History Id: 30228779, Consumer Id: 938041, Address Id: 11960316 => Updated with Vin: 1G1AK55F477113677 ## Mail History Id: 30227863, Consumer Id: 910599, Address Id: 11940770 => Updated with Vin: 1GCGC13U33F196687 ## Mail History Id: 30228639, Consumer Id: 885572, Address Id: 11939941 => Updated with Vin: 1FMYU92163KC27912 ## Mail History Id: 30228679, Consumer Id: 910139, Address Id: 11940253 => Updated with Vin: 1GCHK23122F176657 ## Mail History Id: 30227895, Consumer Id: 909941, Address Id: 11940251 => Updated with Vin: 1GCEC14X58Z193537 ## Mail History Id: 30228001, Consumer Id: 910600, Address Id: 11940771 => Updated with Vin: 1GNEC16K3SJ410999 ## Mail History Id: 30227881, Consumer Id: 921921, Address Id: 11960312 => Updated with Vin: 1G2ZG58N374263266 ## Mail History Id: 30228646, Consumer Id: 910565, Address Id: 11940768 => Updated with Vin: 2G1WB58N581283196 ## Mail History Id: 30228451, Consumer Id: 910960, Address Id: 11889793 => Updated with Vin: 2GCEC19N661227532 ## Mail History Id: 30228451, Consumer Id: 910560, Address Id: 11889793 => Updated with Vin: 3GCEC13C57G519298 ## Mail History Id: 30228136, Consumer Id: 1459538, Address Id: 15865579 => Updated with Vin: 1G1AK58F887289502 ## Mail History Id: 30228727, Consumer Id: 938367, Address Id: 11960611 => Updated with Vin: 3C8FY68B42T248624 ## Mail History Id: 30228925, Consumer Id: 910567, Address Id: 11940769 => Updated with Vin: 2GTEC13T151193683 ## Mail History Id: 30228526, Consumer Id: 937356, Address Id: 11959781 => Updated with Vin: 1GCCS19X4T8185771 ## Mail History Id: 30228479, Consumer Id: 910959, Address Id: 11941076 => Updated with Vin: 1GCEC19J47Z573746 ## Mail History Id: 30228812, Consumer Id: 934804, Address Id: 11958593 => Updated with Vin: 1GNDX03EXXD199220 ## Mail History Id: 30228508, Consumer Id: 939912, Address Id: 11961671 => Updated with Vin: 1D8GT28K37W584264 ## Mail History Id: 30227852, Consumer Id: 938368, Address Id: 11960612 => Updated with Vin: 1G1AK55F177350109 ## Mail History Id: 30228572, Consumer Id: 1181822, Address Id: 11889742 => Updated with Vin: 5GTDN136768170979 ## Mail History Id: 30227900, Consumer Id: 921438, Address Id: 11851084 => Updated with Vin: JTNBE46K673098532 ## Mail History Id: 30228265, Consumer Id: 956470, Address Id: 11965874 => Updated with Vin: 1G1AL58F187218218 ## Mail History Id: 30228265, Consumer Id: 956470, Address Id: 11965874 => Updated with Vin: 1G1AL58F187218218 ## Mail History Id: 30228567, Consumer Id: 938369, Address Id: 11960613 => Updated with Vin: 3A4FY48B57T538930 ## Mail History Id: 30228075, Consumer Id: 1459539, Address Id: 15865580 => Updated with Vin: KL1TD56638B064678 ## Mail History Id: 30228623, Consumer Id: 938366, Address Id: 11960610 => Updated with Vin: 1G1AK18F687297588 ## Mail History Id: 30227894, Consumer Id: 816069, Address Id: 11891249 => Updated with Vin: 3A4FY58B97T523868 ## Mail History Id: 30228675, Consumer Id: 938372, Address Id: 11960614 => Updated with Vin: 3A4FY58B97T523868 ## Mail History Id: 30228271, Consumer Id: 921923, Address Id: 11960314 => Updated with Vin: 1FTPW145X5KE72145 ## Mail History Id: 30227990, Consumer Id: 1177429, Address Id: 15341925 => Updated with Vin: 3GNFK16Z75G207639 ## Mail History Id: 30227968, Consumer Id: 921924, Address Id: 11960315 => Updated with Vin: 1G1JC1445R7319809 ## Mail History Id: 30228500, Consumer Id: 1176182, Address Id: 15037834 => Updated with Vin: 1G1AK58F387282005 ## Mail History Id: 30228582, Consumer Id: 1177169, Address Id: 15038807 => Updated with Vin: 1G1AK18F687128588 ## Mail History Id: 30228367, Consumer Id: 921919, Address Id: 11960311 => Updated with Vin: 1G1AK58F287296350 ## Mail History Id: 30228901, Consumer Id: 816122, Address Id: 11889777 => Updated with Vin: 1G1ZG57B78F238582 ## Mail History Id: 30228695, Consumer Id: 921920, Address Id: 11875957 => Updated with Vin: 1G1NE52J3Y6103201 ## Mail History Id: 30228115, Consumer Id: 938834, Address Id: 11960981 => Updated with Vin: 1GNFC13028R160320 ## Mail History Id: 30228349, Consumer Id: 939062, Address Id: 1302757 => Updated with Vin: 2CNDL63F866016504 ## Mail History Id: 30227854, Consumer Id: 938835, Address Id: 11960982 => Updated with Vin: 3GCEK14V66G244719 ## Mail History Id: 30227854, Consumer Id: 938835, Address Id: 11960982 => Updated with Vin: 3GCEK14V66G244719 ## Mail History Id: 30227935, Consumer Id: 938365, Address Id: 11875534 => Updated with Vin: 1G1AK18F287109519 ## Mail History Id: 30228887, Consumer Id: 939059, Address Id: 11041000 => Updated with Vin: JT6HF10U9X0014684 ## Mail History Id: 30228018, Consumer Id: 957588, Address Id: 11966653 => Updated with Vin: 1FTYR10U27PA27008 ## Mail History Id: 30228018, Consumer Id: 957806, Address Id: 11966653 => Updated with Vin: 1G1AK55F877198216 ## Mail History Id: 30228147, Consumer Id: 955891, Address Id: 11965533 => Updated with Vin: 1G1NE52J52M661702 ## Mail History Id: 30228599, Consumer Id: 956954, Address Id: 11966293 => Updated with Vin: 2C4GF68475R673369 ## Mail History Id: 30228449, Consumer Id: 1345694, Address Id: 15560574 => Updated with Vin: 1G1AK58F187301392 ## Mail History Id: 30227911, Consumer Id: 956956, Address Id: 11966295 => Updated with Vin: 2C3KA63H16H488314 ## Mail History Id: 30228323, Consumer Id: 956319, Address Id: 1302434 => Updated with Vin: 1G1ZK57718F239379 ## Mail History Id: 30228649, Consumer Id: 835627, Address Id: 11886419 => Updated with Vin: 2G1WH55KX49221975 ## Mail History Id: 30228841, Consumer Id: 824474, Address Id: 11880042 => Updated with Vin: 2GCEC19T721340074 ## Mail History Id: 30228647, Consumer Id: 773316, Address Id: 11851276 => Updated with Vin: KL1TD66686B667032 ## Mail History Id: 30228647, Consumer Id: 773316, Address Id: 11851276 => Updated with Vin: KL1TD66686B667032 ## Mail History Id: 30228026, Consumer Id: 828161, Address Id: 11882648 => Updated with Vin: 2GCEC19K6P1232480 ## Mail History Id: 30228563, Consumer Id: 832713, Address Id: 11890997 => Updated with Vin: 1GCEC14V82Z170730 ## Mail History Id: 30228803, Consumer Id: 837126, Address Id: 11891011 => Updated with Vin: 2G1WF55E1Y9141132 ## Mail History Id: 30227884, Consumer Id: 773404, Address Id: 11851358 => Updated with Vin: 3GNEC12Z26G117881 ## Mail History Id: 30228253, Consumer Id: 839153, Address Id: 11879399 => Updated with Vin: 1GBFG15T271231361 ## Mail History Id: 30228648, Consumer Id: 811754, Address Id: 11886138 => Updated with Vin: 1GNFK13087R144057 ## Mail History Id: 30228180, Consumer Id: 773361, Address Id: 11851318 => Updated with Vin: 1GNDX03E92D153452 ## Mail History Id: 30228741, Consumer Id: 810682, Address Id: 11885236 => Updated with Vin: 2GCEC19Z361296598 ## Mail History Id: 30228979, Consumer Id: 938843, Address Id: 11851370 => Updated with Vin: 1G1ZG57B884268041 ## Mail History Id: 30227869, Consumer Id: 825598, Address Id: 1293229 => Updated with Vin: 1GNEK13Z53R268632 ## Mail History Id: 30228011, Consumer Id: 937572, Address Id: 11876034 => Updated with Vin: 1GNFK16Z24J270323 ## Mail History Id: 30228660, Consumer Id: 814972, Address Id: 11879901 => Updated with Vin: 1GCHK23K88F141851 ## Mail History Id: 30228739, Consumer Id: 773334, Address Id: 11851292 => Updated with Vin: 2GCEC19XX31339957 ## Mail History Id: 30228197, Consumer Id: 833439, Address Id: 11874791 => Updated with Vin: 2G1WF52E449109211 ## Mail History Id: 30227892, Consumer Id: 773273, Address Id: 11851237 => Updated with Vin: 1GCGK13U83F198230 ## Mail History Id: 30228041, Consumer Id: 839573, Address Id: 11876179 => Updated with Vin: 1GCHK23607F538164 ## Mail History Id: 30228701, Consumer Id: 815373, Address Id: 11875972 => Updated with Vin: 1G1ZT58F37F236517 ## Mail History Id: 30228791, Consumer Id: 824035, Address Id: 11879300 => Updated with Vin: 2GCEC19T8Y1257052 ## Mail History Id: 30228003, Consumer Id: 824363, Address Id: 11879991 => Updated with Vin: 1GNEK13Z93R302765 ## Mail History Id: 30227908, Consumer Id: 773346, Address Id: 11851304 => Updated with Vin: 3GNEK12T54G162342 ## Mail History Id: 30227908, Consumer Id: 773346, Address Id: 11851304 => Updated with Vin: 3GNEK12T54G162342 ## Mail History Id: 30228967, Consumer Id: 825165, Address Id: 11880289 => Updated with Vin: 2GCEC19R2V1191243 ## Mail History Id: 30228119, Consumer Id: 773395, Address Id: 1299255 => Updated with Vin: 2G1WW12MXX9235674 ## Mail History Id: 30228120, Consumer Id: 809068, Address Id: 11882217 => Updated with Vin: 1G1YY26E265110188 ## Mail History Id: 30228957, Consumer Id: 825369, Address Id: 11880616 => Updated with Vin: 1G1NE52M2WY171145 ## Mail History Id: 30228301, Consumer Id: 813485, Address Id: 11888102 => Updated with Vin: 5NPEU46F26H107253 ## Mail History Id: 30228697, Consumer Id: 773422, Address Id: 11851375 => Updated with Vin: 1GCEC19RXVE200155 ## Mail History Id: 30228509, Consumer Id: 773353, Address Id: 11851310 => Updated with Vin: 1G1YY24U655105925 ## Mail History Id: 30228509, Consumer Id: 773353, Address Id: 11851310 => Updated with Vin: 1G1YY24U655105925 ## Mail History Id: 30229037, Consumer Id: 774348, Address Id: 11851968 => Updated with Vin: 1GCDT148148149426 ## Mail History Id: 30228525, Consumer Id: 810283, Address Id: 11884940 => Updated with Vin: 2GCEK13T451291934 ## Mail History Id: 30228545, Consumer Id: 825173, Address Id: 11875459 => Updated with Vin: 1G1JF524227339734 ## Mail History Id: 30228068, Consumer Id: 828693, Address Id: 11883373 => Updated with Vin: 2G1FP32K412147484 ## Mail History Id: 30227986, Consumer Id: 773260, Address Id: 11851225 => Updated with Vin: 3GNFK16327G195267 ## Mail History Id: 30227860, Consumer Id: 815644, Address Id: 11889216 => Updated with Vin: 1G1ZT54864F172380 ## Mail History Id: 30228981, Consumer Id: 830002, Address Id: 11887058 => Updated with Vin: 3GNEK18R7XG104264 ## Mail History Id: 30228028, Consumer Id: 827304, Address Id: 11881889 => Updated with Vin: 1GCHK23183F100894 ## Mail History Id: 30228028, Consumer Id: 827304, Address Id: 11881889 => Updated with Vin: 1GCHK23183F100894 ## Mail History Id: 30228593, Consumer Id: 773369, Address Id: 11851326 => Updated with Vin: 1G1NE52M0W6188389 ## Mail History Id: 30229027, Consumer Id: 813650, Address Id: 11851130 => Updated with Vin: 1GCEK19057Z505787 ## Mail History Id: 30228657, Consumer Id: 824235, Address Id: 11879945 => Updated with Vin: 1GCEC14W0VZ123110 ## Mail History Id: 30229063, Consumer Id: 831514, Address Id: 11889314 => Updated with Vin: 1GNEC13R1XJ557086 ## Mail History Id: 30227858, Consumer Id: 809941, Address Id: 11880819 => Updated with Vin: 2G1WU581369302706 ## Mail History Id: 30228037, Consumer Id: 774350, Address Id: 1298288 => Updated with Vin: 1GCEC19ZX5Z180322 ## Mail History Id: 30228931, Consumer Id: 825372, Address Id: 11880617 => Updated with Vin: 2G1WF52EX39379056 ## Mail History Id: 30228943, Consumer Id: 826619, Address Id: 11881389 => Updated with Vin: 1GNDX03E0XD214940 ## Mail History Id: 30228943, Consumer Id: 826619, Address Id: 11881389 => Updated with Vin: 1GNDX03E0XD214940 ## Mail History Id: 30228223, Consumer Id: 834959, Address Id: 11890818 => Updated with Vin: 1G1ZT54815F266782 ## Mail History Id: 30228827, Consumer Id: 773419, Address Id: 11851373 => Updated with Vin: 1G1ZT62825F206180 ## Mail History Id: 30228827, Consumer Id: 773419, Address Id: 11851373 => Updated with Vin: 1G1ZT62825F206180 ## Mail History Id: 30228150, Consumer Id: 773144, Address Id: 11851120 => Updated with Vin: 1GNDT13S432213528 ## Mail History Id: 30228837, Consumer Id: 773310, Address Id: 11851270 => Updated with Vin: 2G1WF55EX29148751 ## Mail History Id: 30228046, Consumer Id: 773275, Address Id: 11851239 => Updated with Vin: 2G1WU58R879196695 ## Mail History Id: 30228046, Consumer Id: 773275, Address Id: 11851239 => Updated with Vin: 2G1WU58R879196695 ## Mail History Id: 30228703, Consumer Id: 955894, Address Id: 11892388 => Updated with Vin: 2G1WF52E259316262 ## Mail History Id: 30228427, Consumer Id: 773386, Address Id: 11851342 => Updated with Vin: 1G1JC12F757102468 ## Mail History Id: 30228030, Consumer Id: 773320, Address Id: 11851279 => Updated with Vin: 1GCEC19Z96Z212369 ## Mail History Id: 30228985, Consumer Id: 839673, Address Id: 11895386 => Updated with Vin: 3GNDA23P57S611624 ## Mail History Id: 30228140, Consumer Id: 773374, Address Id: 11851330 => Updated with Vin: 2G1WW12E859189493 ## Mail History Id: 30229065, Consumer Id: 824171, Address Id: 11879922 => Updated with Vin: 1GNDS13S432104196 ## Mail History Id: 30228098, Consumer Id: 773301, Address Id: 11851263 => Updated with Vin: 2GCEK19T8X1254198 ## Mail History Id: 30228098, Consumer Id: 773301, Address Id: 11851263 => Updated with Vin: 2GCEK19T8X1254198 ## Mail History Id: 30228475, Consumer Id: 773284, Address Id: 1304489 => Updated with Vin: 1GNCT18X75K101485 ## Mail History Id: 30228465, Consumer Id: 823947, Address Id: 11879263 => Updated with Vin: 3GNEC13T92G132303 ## Mail History Id: 30228415, Consumer Id: 824611, Address Id: 1303879 => Updated with Vin: 2GCEC19T1X1199381 ## Mail History Id: 30228331, Consumer Id: 838435, Address Id: 1302477 => Updated with Vin: 1GCHK23D46F249687 ## Mail History Id: 30228311, Consumer Id: 773231, Address Id: 11851199 => Updated with Vin: 2GCEK19V5X1243144 ## Mail History Id: 30228311, Consumer Id: 773231, Address Id: 11851199 => Updated with Vin: 2GCEK19V5X1243144 ## Mail History Id: 30228751, Consumer Id: 826037, Address Id: 11880924 => Updated with Vin: 1G6KF52Y4RU240779 ## Mail History Id: 30228745, Consumer Id: 815972, Address Id: 11891180 => Updated with Vin: 1GCEC19X76Z210327 ## Mail History Id: 30227973, Consumer Id: 815657, Address Id: 1296978 => Updated with Vin: 1FMEU63E97UA88436 ## Mail History Id: 30227840, Consumer Id: 808558, Address Id: 11882895 => Updated with Vin: 2GCEC19T951370620 ## Mail History Id: 30228553, Consumer Id: 773385, Address Id: 11851341 => Updated with Vin: 1GCEC14W3YZ111425 ## Mail History Id: 30229009, Consumer Id: 774347, Address Id: 11851967 => Updated with Vin: 1G1AK55F067866833 ## Mail History Id: 30227946, Consumer Id: 825871, Address Id: 11880804 => Updated with Vin: 2G1WF55EXY9149780 ## Mail History Id: 30227946, Consumer Id: 825871, Address Id: 11880804 => Updated with Vin: 2G1WF55EXY9149780 ## Mail History Id: 30228785, Consumer Id: 910961, Address Id: 11941077 => Updated with Vin: 1G1AK18F587284394 ## Mail History Id: 30228600, Consumer Id: 773413, Address Id: 11851367 => Updated with Vin: 2G1WL52M6X9170225 ## Mail History Id: 30228600, Consumer Id: 773413, Address Id: 11851367 => Updated with Vin: 2G1WL52M6X9170225 ## Mail History Id: 30228773, Consumer Id: 809738, Address Id: 11884338 => Updated with Vin: 1G1ND52F05M146786 ## Mail History Id: 30228773, Consumer Id: 809738, Address Id: 11884338 => Updated with Vin: 1G1ND52F05M146786 ## Mail History Id: 30228773, Consumer Id: 815814, Address Id: 11884338 => Updated with Vin: 2C4GP54L15R391751 ## Mail History Id: 30228560, Consumer Id: 910142, Address Id: 11940255 => Updated with Vin: 2G1WH55K0Y9187583 ## Mail History Id: 30228655, Consumer Id: 773371, Address Id: 11851328 => Updated with Vin: 3GNFK16357G194937 ## Mail History Id: 30228729, Consumer Id: 823729, Address Id: 11879110 => Updated with Vin: 2G1WW12E0Y9175236 ## Mail History Id: 30228395, Consumer Id: 839489, Address Id: 11874447 => Updated with Vin: 2GCEC19T7Y1231526 ## Mail History Id: 30228251, Consumer Id: 940139, Address Id: 1300999 => Updated with Vin: 1GCHK23276F104416 ## Mail History Id: 30228514, Consumer Id: 825807, Address Id: 10494799 => Updated with Vin: 1GNDS13S922443874 ## Mail History Id: 30229093, Consumer Id: 773314, Address Id: 11851274 => Updated with Vin: 1GCEC14V1YZ197485 ## Mail History Id: 30228040, Consumer Id: 827302, Address Id: 11881887 => Updated with Vin: 1GNDT13W6X2130420 ## Mail History Id: 30227890, Consumer Id: 773219, Address Id: 11851187 => Updated with Vin: 1GCDT136858165351 ## Mail History Id: 30227912, Consumer Id: 773286, Address Id: 11851249 => Updated with Vin: 1GNEC13V93R169290 ## Mail History Id: 30228124, Consumer Id: 773380, Address Id: 11851336 => Updated with Vin: 1GNEK13T0YJ189757 ## Mail History Id: 30228151, Consumer Id: 826696, Address Id: 11874677 => Updated with Vin: 2G1WH55K829331341 ## Mail History Id: 30228113, Consumer Id: 835517, Address Id: 1299219 => Updated with Vin: 1GNEK13Z22R209617 ## Mail History Id: 30228072, Consumer Id: 808648, Address Id: 11883046 => Updated with Vin: 1GNEK13T95R186384 ## Mail History Id: 30227943, Consumer Id: 774356, Address Id: 11851974 => Updated with Vin: 1GCDT13E378118366 ## Mail History Id: 30228042, Consumer Id: 826518, Address Id: 11881312 => Updated with Vin: 1GNEK13R3XJ417723 ## Mail History Id: 30228622, Consumer Id: 921436, Address Id: 11958542 => Updated with Vin: 1G1AK18FX87289610 ## Mail History Id: 30228149, Consumer Id: 833603, Address Id: 1299491 => Updated with Vin: 2GCEC19V111181343 ## Mail History Id: 30227941, Consumer Id: 813694, Address Id: 11883259 => Updated with Vin: 1G2NE52FX3C170542 ## Mail History Id: 30228087, Consumer Id: 827967, Address Id: 1298919 => Updated with Vin: 2G1WX15K719125471 ## Mail History Id: 30228489, Consumer Id: 871676, Address Id: 11911998 => Updated with Vin: 1GNCS13X94K168081 ## Mail History Id: 30228763, Consumer Id: 810488, Address Id: 11885088 => Updated with Vin: 1N4AL11D45C228582 ## Mail History Id: 30228112, Consumer Id: 773365, Address Id: 11851322 => Updated with Vin: 1GCHK23121F177063 ## Mail History Id: 30228663, Consumer Id: 839744, Address Id: 11880681 => Updated with Vin: 2GCEC13T361199535 ## Mail History Id: 30227896, Consumer Id: 826459, Address Id: 11881266 => Updated with Vin: 1GNEK13T31R209071 ## Mail History Id: 30228074, Consumer Id: 824347, Address Id: 11879985 => Updated with Vin: 1GNFK16T21J290823 ## Mail History Id: 30228877, Consumer Id: 826430, Address Id: 11881243 => Updated with Vin: 1GNDX03E91D253470 ## Mail History Id: 30228787, Consumer Id: 814751, Address Id: 11879867 => Updated with Vin: 1GNFK13037R382592 ## Mail History Id: 30227947, Consumer Id: 773376, Address Id: 11851332 => Updated with Vin: 3GNEC13T23G227836 ## Mail History Id: 30229041, Consumer Id: 829507, Address Id: 11885569 => Updated with Vin: 1GCEC19M0VE265617 ## Mail History Id: 30228355, Consumer Id: 835857, Address Id: 1302843 => Updated with Vin: 1GCEK19V64E302602 ## Mail History Id: 30228627, Consumer Id: 833862, Address Id: 11891798 => Updated with Vin: 1G1JC5241X7237728 ## Mail History Id: 30228032, Consumer Id: 838218, Address Id: 11879066 => Updated with Vin: 1G1YY26E365105923 ## Mail History Id: 30227942, Consumer Id: 773408, Address Id: 11851362 => Updated with Vin: 1G1AK15F977236223 ## Mail History Id: 30227925, Consumer Id: 940562, Address Id: 1295047 => Updated with Vin: 1GNDX03E5YD180513 ## Mail History Id: 30227925, Consumer Id: 823915, Address Id: 1295047 => Updated with Vin: 2GCEC19T221133236 ## Mail History Id: 30228885, Consumer Id: 838192, Address Id: 11881265 => Updated with Vin: 1GTDC14H6NZ530247 ## Mail History Id: 30228409, Consumer Id: 832236, Address Id: 1303781 => Updated with Vin: 2G1WW12E459151937 ## Mail History Id: 30228123, Consumer Id: 836133, Address Id: 1299309 => Updated with Vin: 1GNDX03E91D327342 ## Mail History Id: 30228035, Consumer Id: 825779, Address Id: 11880778 => Updated with Vin: 2GCEC19V211193775 ## Mail History Id: 30228017, Consumer Id: 812732, Address Id: 11887394 => Updated with Vin: 3GCEC13J57G507697 ## Mail History Id: 30228017, Consumer Id: 812732, Address Id: 11887394 => Updated with Vin: 3GCEC13J57G507697 ## Mail History Id: 30228933, Consumer Id: 837093, Address Id: 11893966 => Updated with Vin: 1GNEK13R4TJ355419 ## Mail History Id: 30228058, Consumer Id: 827773, Address Id: 11882521 => Updated with Vin: 1GNEC16R3XJ460791 ## Mail History Id: 30227993, Consumer Id: 830254, Address Id: 1297638 => Updated with Vin: 1G1JC12F947281689 ## Mail History Id: 30227993, Consumer Id: 830254, Address Id: 1297638 => Updated with Vin: 1G1JC12F947281689 ## Mail History Id: 30228337, Consumer Id: 774333, Address Id: 11851955 => Updated with Vin: 2GCEC13C981124664 ## Mail History Id: 30228337, Consumer Id: 774333, Address Id: 11851955 => Updated with Vin: 2GCEC13C981124664 ## Mail History Id: 30228100, Consumer Id: 830497, Address Id: 11881549 => Updated with Vin: 2GCEC19TX21340862 ## Mail History Id: 30228566, Consumer Id: 773322, Address Id: 11851281 => Updated with Vin: 2GCEK13T761235035 ## Mail History Id: 30228919, Consumer Id: 827793, Address Id: 11882526 => Updated with Vin: 2GCEC19T4Y1292431 ## Mail History Id: 30228631, Consumer Id: 834918, Address Id: 11875761 => Updated with Vin: 2GCEK13T951256175 ## Mail History Id: 30228777, Consumer Id: 823951, Address Id: 11874751 => Updated with Vin: 1GCCT19W028143388 ## Mail History Id: 30229073, Consumer Id: 834494, Address Id: 11892302 => Updated with Vin: 1GCGK13U35F834376 ## Mail History Id: 30227940, Consumer Id: 760584, Address Id: 11851104 => Updated with Vin: 3GCEC13J48G232325 ## Mail History Id: 30228126, Consumer Id: 827975, Address Id: 11882283 => Updated with Vin: 1GNCS13W62K216558 ## Mail History Id: 30228329, Consumer Id: 773405, Address Id: 11851359 => Updated with Vin: 2GCEK19T821256283 ## Mail History Id: 30228329, Consumer Id: 773405, Address Id: 11851359 => Updated with Vin: 2GCEK19T821256283 ## Mail History Id: 30227951, Consumer Id: 774342, Address Id: 11851963 => Updated with Vin: 1GNFK16Z62J320606 ## Mail History Id: 30227951, Consumer Id: 774342, Address Id: 11851963 => Updated with Vin: 1GNFK16Z62J320606 ## Mail History Id: 30228897, Consumer Id: 837992, Address Id: 11894496 => Updated with Vin: 3GNEK18RXWG117492 ## Mail History Id: 30228897, Consumer Id: 837992, Address Id: 11894496 => Updated with Vin: 3GNEK18RXWG117492 ## Mail History Id: 30228319, Consumer Id: 826035, Address Id: 11880922 => Updated with Vin: 1GKCS13W7Y2140399 ## Mail History Id: 30228937, Consumer Id: 773182, Address Id: 11851153 => Updated with Vin: 1G1AL15F277235248 ## Mail History Id: 30228959, Consumer Id: 827000, Address Id: 11881681 => Updated with Vin: 1GBFG15R021162702 ## Mail History Id: 30227916, Consumer Id: 810483, Address Id: 11879357 => Updated with Vin: 2CNDL63F766034721 ## Mail History Id: 30227916, Consumer Id: 810483, Address Id: 11879357 => Updated with Vin: 2CNDL63F766034721 ## Mail History Id: 30229077, Consumer Id: 827110, Address Id: 11881762 => Updated with Vin: 1GNEK13R2VJ369225 ## Mail History Id: 30227903, Consumer Id: 811841, Address Id: 11875359 => Updated with Vin: 1GBDV13187D117569 ## Mail History Id: 30228634, Consumer Id: 834846, Address Id: 11892528 => Updated with Vin: 1GCHK23215F894925 ## Mail History Id: 30228965, Consumer Id: 823949, Address Id: 11879264 => Updated with Vin: 1G1NE52J13M572792 ## Mail History Id: 30228076, Consumer Id: 826460, Address Id: 11881267 => Updated with Vin: 1G1YY22G735113476 ## Mail History Id: 30228137, Consumer Id: 773406, Address Id: 11851360 => Updated with Vin: 1GCEC14X13Z179448 ## Mail History Id: 30227977, Consumer Id: 823641, Address Id: 1297082 => Updated with Vin: 1G1JC12F737156124 ## Mail History Id: 30228493, Consumer Id: 938371, Address Id: 11887084 => Updated with Vin: 1GNDS13S282140136 ## Mail History Id: 30228598, Consumer Id: 773391, Address Id: 11851347 => Updated with Vin: 1GNEC13V62J212996 ## Mail History Id: 30228644, Consumer Id: 831230, Address Id: 11879851 => Updated with Vin: 1GCEC14W0YZ200188 ## Mail History Id: 30228048, Consumer Id: 824026, Address Id: 11879298 => Updated with Vin: 2G1WF55E0Y9255431 ## Mail History Id: 30227845, Consumer Id: 824585, Address Id: 11879531 => Updated with Vin: 1GNEC16Z43J167282 ## Mail History Id: 30228793, Consumer Id: 825513, Address Id: 11880670 => Updated with Vin: 1GNDX03E33D124210 ## Mail History Id: 30228103, Consumer Id: 827061, Address Id: 11881727 => Updated with Vin: 1G3NL52F63C129293 ## Mail History Id: 30229075, Consumer Id: 836605, Address Id: 11879212 => Updated with Vin: 3GNFK16Z14G226556 ## Mail History Id: 30228512, Consumer Id: 815564, Address Id: 11883182 => Updated with Vin: 3GCEK13J58G242607 ## Mail History Id: 30228117, Consumer Id: 808896, Address Id: 11883488 => Updated with Vin: 1GCEC19X55Z313258 ## Mail History Id: 30228012, Consumer Id: 833606, Address Id: 11880216 => Updated with Vin: 1G4HR54K63U268058 ## Mail History Id: 30229083, Consumer Id: 773410, Address Id: 11851364 => Updated with Vin: 1GCEC14W22Z202211 ## Mail History Id: 30228213, Consumer Id: 823890, Address Id: 1300626 => Updated with Vin: 2GCEC19T331334077 ## Mail History Id: 30227918, Consumer Id: 938491, Address Id: 11879007 => Updated with Vin: 2G1WL52M6S9305356 ## Mail History Id: 30228207, Consumer Id: 825232, Address Id: 1300330 => Updated with Vin: 1GNDT13S422184868 ## Mail History Id: 30227972, Consumer Id: 827635, Address Id: 11882160 => Updated with Vin: 1G2WR5210XF333121 ## Mail History Id: 30228002, Consumer Id: 774340, Address Id: 11851961 => Updated with Vin: 2CNBE13C636922107 ## Mail History Id: 30228917, Consumer Id: 837122, Address Id: 11875040 => Updated with Vin: 1GCEC19V06Z111203 ## Mail History Id: 30228917, Consumer Id: 835379, Address Id: 11875040 => Updated with Vin: 2G1WX12K459283048 ## Mail History Id: 30228173, Consumer Id: 831056, Address Id: 11874701 => Updated with Vin: 1G1ZT52854F111654 ## Mail History Id: 30228173, Consumer Id: 831056, Address Id: 11874701 => Updated with Vin: 1G1ZT52854F111654 ## Mail History Id: 30228658, Consumer Id: 824404, Address Id: 11879453 => Updated with Vin: 1GNES16S436231636 ## Mail History Id: 30228537, Consumer Id: 815907, Address Id: 11880833 => Updated with Vin: 1FTRX14W04NB83612 ## Mail History Id: 30228641, Consumer Id: 823982, Address Id: 11875806 => Updated with Vin: 1GCEC14X03Z345961 ## Mail History Id: 30228128, Consumer Id: 838712, Address Id: 11894876 => Updated with Vin: 1GCCS1448YK160783 ## Mail History Id: 30228176, Consumer Id: 824362, Address Id: 11879990 => Updated with Vin: 1GNDT13S122281347 ## Mail History Id: 30228971, Consumer Id: 826479, Address Id: 11881282 => Updated with Vin: 3GNEK13T93G325474 ## Mail History Id: 30229017, Consumer Id: 870631, Address Id: 11909662 => Updated with Vin: 2G1WJ15K179134435 ## Mail History Id: 30229017, Consumer Id: 870631, Address Id: 11909662 => Updated with Vin: 2G1WJ15K179134435 ## Mail History Id: 30228104, Consumer Id: 940138, Address Id: 11882214 => Updated with Vin: 1G1AK18F287124800 ## Mail History Id: 30228104, Consumer Id: 940138, Address Id: 11882214 => Updated with Vin: 1G1AK18F287124800 ## Mail History Id: 30228945, Consumer Id: 910141, Address Id: 11940254 => Updated with Vin: 1GCEC14WXVZ217964 ## Mail History Id: 30228949, Consumer Id: 827831, Address Id: 11882538 => Updated with Vin: 1GKDT13W3V2569858 ## Mail History Id: 30228549, Consumer Id: 811794, Address Id: 11886156 => Updated with Vin: 1GNES13H072122287 ## Mail History Id: 30228921, Consumer Id: 773221, Address Id: 11851189 => Updated with Vin: 3GCEK13307G506753 ## Mail History Id: 30228921, Consumer Id: 773221, Address Id: 11851189 => Updated with Vin: 3GCEK13307G506753 ## Mail History Id: 30228753, Consumer Id: 827183, Address Id: 11881813 => Updated with Vin: 1GNEC13V14R144045 ## Mail History Id: 30228389, Consumer Id: 838954, Address Id: 11880724 => Updated with Vin: 1J8GR48K47C536162 ## Mail History Id: 30228574, Consumer Id: 836841, Address Id: 11883408 => Updated with Vin: 2CNDL23F756183301 ## Mail History Id: 30228865, Consumer Id: 827312, Address Id: 11874921 => Updated with Vin: 1GCEC14X34Z129880 ## Mail History Id: 30229067, Consumer Id: 773139, Address Id: 11851115 => Updated with Vin: 2G1FP22G022165486 ## Mail History Id: 30228141, Consumer Id: 833102, Address Id: 1299447 => Updated with Vin: 3GNGK22G84G189469 ## Mail History Id: 30228141, Consumer Id: 833102, Address Id: 1299447 => Updated with Vin: 3GNGK22G84G189469 ## Mail History Id: 30228139, Consumer Id: 829274, Address Id: 11884782 => Updated with Vin: 1GCHK23153F225397 ## Mail History Id: 30228437, Consumer Id: 829216, Address Id: 11884743 => Updated with Vin: 1GCCS145018197404 ## Mail History Id: 30228377, Consumer Id: 814874, Address Id: 1303311 => Updated with Vin: 1GCEC14X08Z139109 ## Mail History Id: 30227997, Consumer Id: 773426, Address Id: 11851378 => Updated with Vin: 1D7HU18D75S346553 ## Mail History Id: 30229071, Consumer Id: 940133, Address Id: 11961672 => Updated with Vin: 2G1FP22G9Y2114254 ## Mail History Id: 30228643, Consumer Id: 829730, Address Id: 11885597 => Updated with Vin: 1GCHC24U91Z258467 ## Mail History Id: 30228963, Consumer Id: 829570, Address Id: 11885612 => Updated with Vin: 2G1WL52M2V9283876 ## Mail History Id: 30228743, Consumer Id: 810692, Address Id: 11884113 => Updated with Vin: 1G1AK15F067805412 ## Mail History Id: 30228156, Consumer Id: 773142, Address Id: 11851118 => Updated with Vin: 2CNDL13F756157291 ## Mail History Id: 30227865, Consumer Id: 837413, Address Id: 1293114 => Updated with Vin: 1GCJC33255F843058 ## Mail History Id: 30228144, Consumer Id: 955901, Address Id: 11885795 => Updated with Vin: 2G2WC55C971160799 ## Mail History Id: 30227910, Consumer Id: 835980, Address Id: 11893250 => Updated with Vin: 1G1JC5243Y7191871 ## Mail History Id: 30228813, Consumer Id: 773210, Address Id: 11851180 => Updated with Vin: KL1TD66626B680455 ## Mail History Id: 30228114, Consumer Id: 773265, Address Id: 11851230 => Updated with Vin: 1G3AJ54N2M6341343 ## Mail History Id: 30228114, Consumer Id: 773268, Address Id: 11851230 => Updated with Vin: 1G3NG52M6W6341343 ## Mail History Id: 30227964, Consumer Id: 830971, Address Id: 11888451 => Updated with Vin: 2G1WH55K649127527 ## Mail History Id: 30228353, Consumer Id: 773214, Address Id: 1302804 => Updated with Vin: 1GCGK13U02F103190 ## Mail History Id: 30229051, Consumer Id: 831456, Address Id: 11889276 => Updated with Vin: 1G1JC52F347122335 ## Mail History Id: 30228831, Consumer Id: 831405, Address Id: 11874854 => Updated with Vin: 2G1WF52E649149404 ## Mail History Id: 30227930, Consumer Id: 831519, Address Id: 11889317 => Updated with Vin: 2G1WX12KX49337838 ## Mail History Id: 30228130, Consumer Id: 831375, Address Id: 11889228 => Updated with Vin: 3GNFK16Z44G233789 ## Mail History Id: 30228172, Consumer Id: 831370, Address Id: 11889225 => Updated with Vin: 1GNDT13W8Y2160665 ## Mail History Id: 30228172, Consumer Id: 831370, Address Id: 11889225 => Updated with Vin: 1GNDT13W8Y2160665 ## Mail History Id: 30227982, Consumer Id: 831920, Address Id: 11889940 => Updated with Vin: 1GCHK23U24F253749 ## Mail History Id: 30227871, Consumer Id: 832060, Address Id: 11889982 => Updated with Vin: 2GCEK13T341341205 ## Mail History Id: 30228391, Consumer Id: 829193, Address Id: 11875395 => Updated with Vin: 1GCEK19T34E255284 ## Mail History Id: 30228875, Consumer Id: 809935, Address Id: 11884478 => Updated with Vin: 3GNDA23P86S618985 ## Mail History Id: 30228092, Consumer Id: 773367, Address Id: 11851324 => Updated with Vin: 1GCEC19T94Z174036 ## Mail History Id: 30228477, Consumer Id: 773338, Address Id: 11851296 => Updated with Vin: 1GCEC14X34Z327231 ## Mail History Id: 30227866, Consumer Id: 815772, Address Id: 11890484 => Updated with Vin: 2CNDL33F886054090 ## Mail History Id: 30228357, Consumer Id: 831829, Address Id: 11883604 => Updated with Vin: 1G1JC52F647287845 ## Mail History Id: 30229023, Consumer Id: 832740, Address Id: 11891013 => Updated with Vin: 2GCEC19K8R1187111 ## Mail History Id: 30228759, Consumer Id: 773429, Address Id: 11851381 => Updated with Vin: 1LNHM83W24Y647525 ## Mail History Id: 30227983, Consumer Id: 832181, Address Id: 1297220 => Updated with Vin: 1G1ZS52F35F135437 ## Mail History Id: 30227870, Consumer Id: 832639, Address Id: 11890949 => Updated with Vin: 2CNDL13F456087104 ## Mail History Id: 30228299, Consumer Id: 831876, Address Id: 1302059 => Updated with Vin: 1G1ZS52F15F153242 ## Mail History Id: 30228645, Consumer Id: 833242, Address Id: 11891450 => Updated with Vin: 1G1JF5248W7268514 ## Mail History Id: 30228941, Consumer Id: 833061, Address Id: 11891343 => Updated with Vin: 1GCEC19X05Z178903 ## Mail History Id: 30228625, Consumer Id: 773360, Address Id: 11851317 => Updated with Vin: 1GNEK13R9XJ534626 ## Mail History Id: 30228097, Consumer Id: 833466, Address Id: 1299023 => Updated with Vin: 1GNFK16Z52J304932 ## Mail History Id: 30228799, Consumer Id: 833416, Address Id: 11874807 => Updated with Vin: 2GCEC13T251137106 ## Mail History Id: 30228195, Consumer Id: 815124, Address Id: 11889730 => Updated with Vin: 1GCEK19JX8Z124785 ## Mail History Id: 30228313, Consumer Id: 774351, Address Id: 11851970 => Updated with Vin: 1G1ZT548X5F184453 ## Mail History Id: 30228067, Consumer Id: 833901, Address Id: 11891903 => Updated with Vin: 2G2WR524641357016 ## Mail History Id: 30228619, Consumer Id: 834023, Address Id: 11875716 => Updated with Vin: 1GNEK13Z82R285679 ## Mail History Id: 30228541, Consumer Id: 833153, Address Id: 11885585 => Updated with Vin: 1GCCS198958179086 ## Mail History Id: 30228561, Consumer Id: 834178, Address Id: 11888999 => Updated with Vin: 1GCHK23275F835300 ## Mail History Id: 30228307, Consumer Id: 774323, Address Id: 11851945 => Updated with Vin: 1GCCS136158170597 ## Mail History Id: 30229061, Consumer Id: 773394, Address Id: 11851350 => Updated with Vin: 1B7GL22X4YS549826 ## Mail History Id: 30228359, Consumer Id: 773291, Address Id: 11851253 => Updated with Vin: 2G1WT58K481251987 ## Mail History Id: 30228379, Consumer Id: 834535, Address Id: 11889945 => Updated with Vin: 1G1ZS52F85F260689 ## Mail History Id: 30228379, Consumer Id: 831945, Address Id: 11889945 => Updated with Vin: 2G1WW12E059127439 ## Mail History Id: 30228134, Consumer Id: 773176, Address Id: 11851148 => Updated with Vin: 2G1WF52E839169829 ## Mail History Id: 30228134, Consumer Id: 773176, Address Id: 11851148 => Updated with Vin: 2G1WF52E839169829 ## Mail History Id: 30228021, Consumer Id: 810471, Address Id: 11884285 => Updated with Vin: 1G1ZS51F56F190698 ## Mail History Id: 30228445, Consumer Id: 834222, Address Id: 11881255 => Updated with Vin: 1GNDX03E22D107705 ## Mail History Id: 30228923, Consumer Id: 833555, Address Id: 11851303 => Updated with Vin: 1GCEC14X65Z199875 ## Mail History Id: 30228923, Consumer Id: 773345, Address Id: 11851303 => Updated with Vin: 3GNEC12J17G102994 ## Mail History Id: 30227988, Consumer Id: 834436, Address Id: 11892263 => Updated with Vin: 1GNET16S256171775 ## Mail History Id: 30228036, Consumer Id: 834455, Address Id: 11892275 => Updated with Vin: 3GNEK13TX3G133948 ## Mail History Id: 30228333, Consumer Id: 834940, Address Id: 11875245 => Updated with Vin: 1G1ZT62895F150061 ## Mail History Id: 30228683, Consumer Id: 837891, Address Id: 11893068 => Updated with Vin: 1G4HP52K73U101202 ## Mail History Id: 30228585, Consumer Id: 831968, Address Id: 11890687 => Updated with Vin: 1GNDS13S152149745 ## Mail History Id: 30228594, Consumer Id: 938833, Address Id: 11892099 => Updated with Vin: 1G1AK58FX87283538 ## Mail History Id: 30228031, Consumer Id: 773347, Address Id: 1298232 => Updated with Vin: 5GRGN23483H108509 ## Mail History Id: 30228714, Consumer Id: 832750, Address Id: 11891016 => Updated with Vin: 1G1ZT64805F162743 ## Mail History Id: 30229095, Consumer Id: 773403, Address Id: 11851357 => Updated with Vin: 2G2WS522X41265135 ## Mail History Id: 30227963, Consumer Id: 773402, Address Id: 11851356 => Updated with Vin: 1GNDM19X44B100213 ## Mail History Id: 30227924, Consumer Id: 774352, Address Id: 11851971 => Updated with Vin: 1GNDT13S252368761 ## Mail History Id: 30227886, Consumer Id: 773167, Address Id: 11851140 => Updated with Vin: 1GCHK23183F255123 ## Mail History Id: 30228733, Consumer Id: 836296, Address Id: 11876025 => Updated with Vin: 1G1ZT61856F115312 ## Mail History Id: 30228177, Consumer Id: 812568, Address Id: 1299730 => Updated with Vin: 1GCHC29U77E105465 ## Mail History Id: 30228073, Consumer Id: 773199, Address Id: 11851169 => Updated with Vin: 1G1JC52F757188243 ## Mail History Id: 30228687, Consumer Id: 872326, Address Id: 11889347 => Updated with Vin: 1G1ZS51F36F121895 ## Mail History Id: 30228687, Consumer Id: 872326, Address Id: 11889347 => Updated with Vin: 1G1ZS51F36F121895 ## Mail History Id: 30228621, Consumer Id: 835761, Address Id: 11875719 => Updated with Vin: KL1TG62655B390173 ## Mail History Id: 30228591, Consumer Id: 835928, Address Id: 11875646 => Updated with Vin: 1G1ZS52F05F324286 ## Mail History Id: 30228859, Consumer Id: 835437, Address Id: 11885295 => Updated with Vin: 1GCEC19X95Z331603 ## Mail History Id: 30228385, Consumer Id: 937357, Address Id: 4196919 => Updated with Vin: 1GKES16S326127621 ## Mail History Id: 30228047, Consumer Id: 833012, Address Id: 11881959 => Updated with Vin: 1GNDS13S322412359 ## Mail History Id: 30228979, Consumer Id: 773416, Address Id: 11851370 => Updated with Vin: 1GCJK33172F216738 ## Mail History Id: 30228150, Consumer Id: 773173, Address Id: 11851120 => Updated with Vin: 2GCEC19R2V1220790 ## Mail History Id: 30228016, Consumer Id: 773342, Address Id: 11851300 => Updated with Vin: 1GKDT13W4V2504436 ## Mail History Id: 30227956, Consumer Id: 773336, Address Id: 11851294 => Updated with Vin: 1GCDC14H4ES112472 ## Mail History Id: 30228587, Consumer Id: 824614, Address Id: 11880092 => Updated with Vin: 1GNCS18Z4P0120689 ## Mail History Id: 30228587, Consumer Id: 824614, Address Id: 11880092 => Updated with Vin: 1GNCS18Z4P0120689 ## Mail History Id: 30228163, Consumer Id: 940556, Address Id: 1299615 => Updated with Vin: JTDDR32T240174819 ## Mail History Id: 30227937, Consumer Id: 814773, Address Id: 1295320 => Updated with Vin: 1GNFC13J97R406500 ## Mail History Id: 30227913, Consumer Id: 814658, Address Id: 1294760 => Updated with Vin: 2GCEC19J171613001 ## Mail History Id: 30228597, Consumer Id: 839021, Address Id: 11895049 => Updated with Vin: 1J4FT48S4YL261215 ## Mail History Id: 30228116, Consumer Id: 838656, Address Id: 11883265 => Updated with Vin: 1G1YY12S435130976 ## Mail History Id: 30228805, Consumer Id: 874528, Address Id: 11851953 => Updated with Vin: 1G2ZG558X64144109 ## Mail History Id: 30228805, Consumer Id: 774331, Address Id: 11851953 => Updated with Vin: 1GCEK14T9XZ148924 ## Mail History Id: 30228975, Consumer Id: 815712, Address Id: 11890436 => Updated with Vin: 2C3HC56G2XH532601 ## Mail History Id: 30228363, Consumer Id: 940135, Address Id: 11961674 => Updated with Vin: 3VWSB69M51M140620 ## Mail History Id: 30227882, Consumer Id: 773431, Address Id: 11851383 => Updated with Vin: 1YVFP80C435M39296 ## Mail History Id: 30228221, Consumer Id: 811073, Address Id: 11874884 => Updated with Vin: 1GCCS198558182115 ## Mail History Id: 30228789, Consumer Id: 838521, Address Id: 11880662 => Updated with Vin: 1GNEK13T56J110130 ## Mail History Id: 30228473, Consumer Id: 939061, Address Id: 11960990 => Updated with Vin: 1GNET16S666162577 ## Mail History Id: 30228145, Consumer Id: 827925, Address Id: 11880657 => Updated with Vin: 2G1WH55KX19116994 ## Mail History Id: 30228628, Consumer Id: 871476, Address Id: 11880911 => Updated with Vin: 1G6KS54Y8XU922392 ## Mail History Id: 30228628, Consumer Id: 838822, Address Id: 11880911 => Updated with Vin: 2G1WT58K179319193 ## Mail History Id: 30228419, Consumer Id: 774346, Address Id: 1303893 => Updated with Vin: 4F4YR16D82TM26939 ## Mail History Id: 30229059, Consumer Id: 872632, Address Id: 11880627 => Updated with Vin: 4T1BG22K5XU554101 ## Mail History Id: 30228659, Consumer Id: 938490, Address Id: 11880107 => Updated with Vin: 1FMFU18L2VLAO6287 ## Mail History Id: 30228659, Consumer Id: 939058, Address Id: 11880107 => Updated with Vin: 2CNDL13F866123829 ## Mail History Id: 30228659, Consumer Id: 940563, Address Id: 11880107 => Updated with Vin: 2GCEK13M771676108 ## Total mail_history records updated with vin numbers: 934 out of 1027 ============================================================ ====== Tracking Id: 1341 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-19 11:16:03') AND us2_order_type_id = 3 ## Order found: 1736 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1736 AND product_id = 113 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3491 ## Mailing found: '13065' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229133, Consumer Id: 835461, Address Id: 11892855 => Updated with Vin: 1GCEC19X05Z301731 ## Mail History Id: 30229294, Consumer Id: 811728, Address Id: 11886813 => Updated with Vin: 1G1ZS53896F130504 ## Mail History Id: 30229145, Consumer Id: 838849, Address Id: 11894990 => Updated with Vin: 4T1BE46K87U523369 ## Mail History Id: 30229302, Consumer Id: 815670, Address Id: 11876130 => Updated with Vin: 1GCHC23UX5F837833 ## Mail History Id: 30229139, Consumer Id: 830315, Address Id: 11886575 => Updated with Vin: 1G1YY22GX45121993 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 1342 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-19 11:16:14') AND us2_order_type_id = 3 ## Order found: 1736 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1736 AND product_id = 114 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3491 ## Mailing found: '13065' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229141, Consumer Id: 837411, Address Id: 11894129 => Updated with Vin: 1GCHC24G91E188051 ## Mail History Id: 30229103, Consumer Id: 838937, Address Id: 1304168 => Updated with Vin: 2GCEC19C271654643 ## Mail History Id: 30229322, Consumer Id: 813756, Address Id: 11875317 => Updated with Vin: 2CNDL13F476238297 ## Mail History Id: 30229290, Consumer Id: 814123, Address Id: 11888814 => Updated with Vin: 4F2YZ04145KM48863 ## Mail History Id: 30229288, Consumer Id: 830334, Address Id: 11875440 => Updated with Vin: 1GNET16S146139608 ## Mail History Id: 30229137, Consumer Id: 813004, Address Id: 11887570 => Updated with Vin: JN8AZ08W36W503924 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 1343 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-19 11:16:26') AND us2_order_type_id = 3 ## Order found: 1736 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1736 AND product_id = 112 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3491 ## Mailing found: '13065' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229135, Consumer Id: 811057, Address Id: 11883274 => Updated with Vin: 1G1AK15F867805738 ## Mail History Id: 30229308, Consumer Id: 812937, Address Id: 11887523 => Updated with Vin: 1GCHC29U17E180632 ## Mail History Id: 30229159, Consumer Id: 813454, Address Id: 11888082 => Updated with Vin: 2G1WB58K179223552 ## Mail History Id: 30229296, Consumer Id: 815687, Address Id: 11887371 => Updated with Vin: 1D4GP25B56B738795 ## Mail History Id: 30229286, Consumer Id: 815876, Address Id: 11890564 => Updated with Vin: 2GTEK19V6Y1148190 ## Mail History Id: 30229320, Consumer Id: 815790, Address Id: 11890497 => Updated with Vin: 1FTPX12525NB25553 ## Mail History Id: 30229115, Consumer Id: 839959, Address Id: 11886428 => Updated with Vin: 1N4BL21E08N431481 ## Mail History Id: 30229117, Consumer Id: 838181, Address Id: 11894602 => Updated with Vin: 2G1WH52K349209784 ## Mail History Id: 30229109, Consumer Id: 825441, Address Id: 11880642 => Updated with Vin: 1G1NE52M7X6130667 ## Mail History Id: 30229157, Consumer Id: 835271, Address Id: 11892792 => Updated with Vin: 1G1AL12F157602836 ## Mail History Id: 30229314, Consumer Id: 830132, Address Id: 11887101 => Updated with Vin: 1GNEC13Z92R314748 ## Total mail_history records updated with vin numbers: 11 out of 11 ============================================================ ====== Tracking Id: 1344 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-19 11:17:51') AND us2_order_type_id = 3 ## Order found: 1737 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1737 AND product_id = 144 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3705 ## Mailing found: '13044' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228760, Consumer Id: 973550, Address Id: 9184864 => Updated with Vin: 3GKEC16Z04G273258 ## Mail History Id: 30228764, Consumer Id: 962657, Address Id: 14835517 => Updated with Vin: 1G1AK55F767645536 ## Mail History Id: 30228750, Consumer Id: 973032, Address Id: 14836891 => Updated with Vin: 5TEKU72N45Z083406 ## Mail History Id: 30228776, Consumer Id: 967466, Address Id: 14835148 => Updated with Vin: 2CNDL63F866090747 ## Mail History Id: 30228792, Consumer Id: 968322, Address Id: 10456017 => Updated with Vin: 1GNFC13J17R187712 ## Mail History Id: 30228738, Consumer Id: 975055, Address Id: 11387049 => Updated with Vin: 1GCEC14Z6PE123391 ## Mail History Id: 30228730, Consumer Id: 971080, Address Id: 14841900 => Updated with Vin: 1GKER23707J102200 ## Mail History Id: 30228784, Consumer Id: 973035, Address Id: 14843313 => Updated with Vin: 1G2ZF57B184244534 ## Mail History Id: 30228728, Consumer Id: 960199, Address Id: 14831343 => Updated with Vin: 2GCEC19V421426556 ## Mail History Id: 30228746, Consumer Id: 975427, Address Id: 14831530 => Updated with Vin: 2G1WF52E439317989 ## Mail History Id: 30228724, Consumer Id: 966808, Address Id: 14838763 => Updated with Vin: 2G4WD582761289114 ## Mail History Id: 30228794, Consumer Id: 980958, Address Id: 14846867 => Updated with Vin: 1G2WP12K2YF297361 ## Mail History Id: 30228798, Consumer Id: 980962, Address Id: 14846870 => Updated with Vin: 1GCDC14K2LZ269501 ## Mail History Id: 30228758, Consumer Id: 973208, Address Id: 14831388 => Updated with Vin: 2GCEC19V131346634 ## Total mail_history records updated with vin numbers: 14 out of 18 ============================================================ ====== Tracking Id: 1345 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-19 11:18:04') AND us2_order_type_id = 3 ## Order found: 1737 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1737 AND product_id = 112 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3705 ## Mailing found: '13066' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1346 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-19 11:18:15') AND us2_order_type_id = 3 ## Order found: 1737 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1737 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1347 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-19 11:19:00') AND us2_order_type_id = 3 ## Order found: 1738 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1738 AND product_id = 112 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3808 ## Mailing found: '13067' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229256, Consumer Id: 1170978, Address Id: 15029207 => Updated with Vin: 1GTEK19T83E290529 ## Mail History Id: 30229272, Consumer Id: 1170977, Address Id: 15029206 => Updated with Vin: 1GNDT13W02K179721 ## Mail History Id: 30229246, Consumer Id: 1170964, Address Id: 15029194 => Updated with Vin: 1G1ND52J7Y6113751 ## Mail History Id: 30229280, Consumer Id: 1171000, Address Id: 15029227 => Updated with Vin: 1GTGC23J4XF053099 ## Mail History Id: 30229248, Consumer Id: 1170990, Address Id: 5228611 => Updated with Vin: 1G1JC52FX37325270 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 1348 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-19 11:19:05') AND us2_order_type_id = 3 ## Order found: 1739 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1739 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3721 ## Mailing found: '13045' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228304, Consumer Id: 1008361, Address Id: 6659182 => Updated with Vin: 1YVGF22CXX5815393 ## Mail History Id: 30228308, Consumer Id: 1014805, Address Id: 14932757 => Updated with Vin: JM3ER293870100563 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 1349 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-19 11:19:11') AND us2_order_type_id = 3 ## Order found: 1738 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1738 AND product_id = 114 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3808 ## Mailing found: '13067' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229276, Consumer Id: 1287321, Address Id: 15452138 => Updated with Vin: 1GCJK33607F555232 ## Mail History Id: 30229270, Consumer Id: 1270507, Address Id: 15450604 => Updated with Vin: 1GCFG25T031149978 ## Mail History Id: 30229268, Consumer Id: 1286036, Address Id: 15454389 => Updated with Vin: 3GNFK16Z34G250972 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1350 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-19 11:19:23') AND us2_order_type_id = 3 ## Order found: 1738 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1738 AND product_id = 113 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3808 ## Mailing found: '13067' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1351 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-19 11:44:28') AND us2_order_type_id = 3 ## Order found: 1740 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1740 AND product_id = 142 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3357 ## Mailing found: '13037' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229016, Consumer Id: 956734, Address Id: 11965999 => Updated with Vin: 1N4DL01D51C115483 ## Mail History Id: 30229046, Consumer Id: 196311, Address Id: 405127 => Updated with Vin: 2MEFM75WX1X659998 ## Mail History Id: 30229070, Consumer Id: 196036, Address Id: 405680 => Updated with Vin: 2MEFM75W22X629539 ## Mail History Id: 30229054, Consumer Id: 152877, Address Id: 395175 => Updated with Vin: 1FTRW14W45FA49779 ## Mail History Id: 30229006, Consumer Id: 193693, Address Id: 403595 => Updated with Vin: 1FTNE24W16DB07884 ## Mail History Id: 30229084, Consumer Id: 154055, Address Id: 396245 => Updated with Vin: 1FTPW12556FA29673 ## Mail History Id: 30229074, Consumer Id: 154323, Address Id: 396492 => Updated with Vin: 1FTPW12547KB53538 ## Mail History Id: 30229078, Consumer Id: 190917, Address Id: 401346 => Updated with Vin: 1FAFP42X7YF295135 ## Mail History Id: 30229062, Consumer Id: 956742, Address Id: 11966005 => Updated with Vin: 4T1BF28B12U234549 ## Mail History Id: 30229014, Consumer Id: 752175, Address Id: 395474 => Updated with Vin: 2HKRL1858YH583629 ## Mail History Id: 30229080, Consumer Id: 956732, Address Id: 407501 => Updated with Vin: 1LNHM87A3YY934621 ## Total mail_history records updated with vin numbers: 11 out of 15 ============================================================ ====== Tracking Id: 1352 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-19 11:44:36') AND us2_order_type_id = 3 ## Order found: 1740 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1740 AND product_id = 112 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3357 ## Mailing found: '13060' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229311, Consumer Id: 189019, Address Id: 398761 => Updated with Vin: 1FMDU74W32UB28723 ## Mail History Id: 30229263, Consumer Id: 187790, Address Id: 399036 => Updated with Vin: 1FTPX12544NC09467 ## Mail History Id: 30229297, Consumer Id: 435519, Address Id: 9800069 => Updated with Vin: JM1BK34M271657937 ## Mail History Id: 30229251, Consumer Id: 194563, Address Id: 403665 => Updated with Vin: 1FMYU02Z95KB29512 ## Mail History Id: 30229273, Consumer Id: 197601, Address Id: 403322 => Updated with Vin: 1FMYU93165KE00636 ## Mail History Id: 30229291, Consumer Id: 151581, Address Id: 393972 => Updated with Vin: 1FTWW31P46EA28725 ## Mail History Id: 30229257, Consumer Id: 435522, Address Id: 6405582 => Updated with Vin: 1LNHM82V06Y627866 ## Mail History Id: 30229259, Consumer Id: 154822, Address Id: 396943 => Updated with Vin: JM1BK144171728209 ## Mail History Id: 30229253, Consumer Id: 165934, Address Id: 425620 => Updated with Vin: 1FTYR10D08PA22200 ## Total mail_history records updated with vin numbers: 9 out of 11 ============================================================ ====== Tracking Id: 1353 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-19 12:16:51') AND us2_order_type_id = 3 ## Order found: 1742 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1742 AND product_id = 113 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3427 ## Mailing found: '13061' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229202, Consumer Id: 499313, Address Id: 9833365 => Updated with Vin: 1HGEM21974L035532 ## Mail History Id: 30229172, Consumer Id: 500110, Address Id: 9834322 => Updated with Vin: 1HGCB7655PA030393 ## Mail History Id: 30229130, Consumer Id: 512500, Address Id: 324952 => Updated with Vin: 1HGFA16506L035713 ## Mail History Id: 30229152, Consumer Id: 495817, Address Id: 9830549 => Updated with Vin: 2HGEJ6579XH585115 ## Mail History Id: 30229168, Consumer Id: 501904, Address Id: 9836784 => Updated with Vin: 2HKRL18042H578441 ## Mail History Id: 30229156, Consumer Id: 475036, Address Id: 329029 => Updated with Vin: 1HGCM72797A004123 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 1354 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-19 12:17:03') AND us2_order_type_id = 3 ## Order found: 1742 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1742 AND product_id = 112 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3427 ## Mailing found: '13061' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229154, Consumer Id: 506359, Address Id: 328920 => Updated with Vin: 1HGCM56884A036547 ## Mail History Id: 30229118, Consumer Id: 500491, Address Id: 9835045 => Updated with Vin: 1HGCM82644A016074 ## Mail History Id: 30229166, Consumer Id: 504640, Address Id: 9839505 => Updated with Vin: SHSRD788X5U300712 ## Mail History Id: 30229178, Consumer Id: 495758, Address Id: 9830511 => Updated with Vin: 1HGCG165XXA036379 ## Mail History Id: 30229108, Consumer Id: 503117, Address Id: 9838706 => Updated with Vin: JHLRD18641C021771 ## Mail History Id: 30229174, Consumer Id: 502408, Address Id: 9829497 => Updated with Vin: 1HGCM566X4A174265 ## Mail History Id: 30229102, Consumer Id: 492620, Address Id: 9828186 => Updated with Vin: 1HGCE182XVA002917 ## Mail History Id: 30229126, Consumer Id: 496589, Address Id: 8194968 => Updated with Vin: 2HKYF18533H621408 ## Mail History Id: 30229184, Consumer Id: 509738, Address Id: 9843162 => Updated with Vin: JHMES96615S020879 ## Mail History Id: 30229124, Consumer Id: 491836, Address Id: 9827603 => Updated with Vin: 1HGES16541L042360 ## Mail History Id: 30229106, Consumer Id: 519708, Address Id: 9827071 => Updated with Vin: 2HNYD18881H515729 ## Mail History Id: 30229164, Consumer Id: 496830, Address Id: 641037 => Updated with Vin: 1HGCG16512A080795 ## Mail History Id: 30229150, Consumer Id: 515372, Address Id: 9846544 => Updated with Vin: 1HGEJ8244VL122191 ## Mail History Id: 30229112, Consumer Id: 473164, Address Id: 9834599 => Updated with Vin: 5FNYF18556B006216 ## Mail History Id: 30229200, Consumer Id: 473930, Address Id: 9835345 => Updated with Vin: 1HGCM66417A031097 ## Mail History Id: 30229182, Consumer Id: 474606, Address Id: 9835998 => Updated with Vin: 1HGCM56827A069791 ## Mail History Id: 30229188, Consumer Id: 482410, Address Id: 8540269 => Updated with Vin: 1HGCM56487A167706 ## Total mail_history records updated with vin numbers: 17 out of 18 ============================================================ ====== Tracking Id: 1355 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-19 12:17:08') AND us2_order_type_id = 3 ## Order found: 1743 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1743 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3471 ## Mailing found: '13041' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228882, Consumer Id: 798143, Address Id: 10214705 => Updated with Vin: 1G6DW52P8RR725154 ## Mail History Id: 30228956, Consumer Id: 805507, Address Id: 11873370 => Updated with Vin: 1G6KS54YX2U233365 ## Mail History Id: 30228838, Consumer Id: 801790, Address Id: 10212512 => Updated with Vin: 1G6EL12Y6SU618847 ## Mail History Id: 30228962, Consumer Id: 798945, Address Id: 11870111 => Updated with Vin: 1G6ET1299TU607979 ## Mail History Id: 30228864, Consumer Id: 820963, Address Id: 7416117 => Updated with Vin: 1GYEE637560172787 ## Mail History Id: 30228892, Consumer Id: 807110, Address Id: 10215522 => Updated with Vin: 1G6DP577060175292 ## Mail History Id: 30228934, Consumer Id: 798009, Address Id: 10218792 => Updated with Vin: 1G6KD54Y81U135802 ## Mail History Id: 30228906, Consumer Id: 801702, Address Id: 10216066 => Updated with Vin: 1G3NF12E2YC331093 ## Mail History Id: 30228846, Consumer Id: 821416, Address Id: 7878986 => Updated with Vin: 1G6KD54YX5U244459 ## Mail History Id: 30228920, Consumer Id: 798449, Address Id: 10217140 => Updated with Vin: 1GYEK63NX2R176010 ## Mail History Id: 30228910, Consumer Id: 805004, Address Id: 10216310 => Updated with Vin: 1GHDX13E11D257621 ## Mail History Id: 30228824, Consumer Id: 798097, Address Id: 7878142 => Updated with Vin: 3GYEK63N92G244619 ## Mail History Id: 30228938, Consumer Id: 807067, Address Id: 2365075 => Updated with Vin: 1GYFK66817R177046 ## Mail History Id: 30228924, Consumer Id: 817142, Address Id: 10217369 => Updated with Vin: 1GYEE637650233658 ## Mail History Id: 30228874, Consumer Id: 799716, Address Id: 7416736 => Updated with Vin: 1G6KS54Y32U134869 ## Mail History Id: 30228896, Consumer Id: 820799, Address Id: 10215600 => Updated with Vin: 1GYFK63807R166673 ## Mail History Id: 30228834, Consumer Id: 804398, Address Id: 7878478 => Updated with Vin: 1GYDE63AX40132287 ## Mail History Id: 30228918, Consumer Id: 822572, Address Id: 11876401 => Updated with Vin: 1GYFK66857R366458 ## Mail History Id: 30228942, Consumer Id: 816770, Address Id: 11876564 => Updated with Vin: 1GYEK63N32R109684 ## Mail History Id: 30228948, Consumer Id: 797860, Address Id: 11869607 => Updated with Vin: 1G6KE57Y0YU322163 ## Mail History Id: 30228880, Consumer Id: 817253, Address Id: 7416953 => Updated with Vin: 1G6KE57Y53U253169 ## Mail History Id: 30228844, Consumer Id: 817625, Address Id: 7878850 => Updated with Vin: 1GYEK63N73R123296 ## Mail History Id: 30228912, Consumer Id: 820526, Address Id: 10215860 => Updated with Vin: 1GYEE63A240171475 ## Mail History Id: 30228840, Consumer Id: 821159, Address Id: 7878659 => Updated with Vin: 1G6DC67A760130315 ## Mail History Id: 30228498, Consumer Id: 822735, Address Id: 11878738 => Updated with Vin: 1G6KD57YX6U137148 ## Mail History Id: 30228952, Consumer Id: 822922, Address Id: 11873932 => Updated with Vin: 1G6VR317XHU100431 ## Mail History Id: 30228914, Consumer Id: 773045, Address Id: 11874250 => Updated with Vin: 1GYFK66878R151715 ## Mail History Id: 30228908, Consumer Id: 823416, Address Id: 11878905 => Updated with Vin: 1G1ND52F85M204093 ## Mail History Id: 30228848, Consumer Id: 798191, Address Id: 11869750 => Updated with Vin: 1G6EL12Y5YU179570 ## Mail History Id: 30228888, Consumer Id: 760359, Address Id: 11851003 => Updated with Vin: 1G6DN57S440171804 ## Mail History Id: 30228886, Consumer Id: 797873, Address Id: 10214898 => Updated with Vin: 1G6KD52B7RU248960 ## Total mail_history records updated with vin numbers: 31 out of 41 ============================================================ ====== Tracking Id: 1356 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-19 12:17:18') AND us2_order_type_id = 3 ## Order found: 1743 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1743 AND product_id = 112 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3471 ## Mailing found: '13063' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229167, Consumer Id: 802637, Address Id: 11871996 => Updated with Vin: 1G6KD54Y3YU355021 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 1357 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-19 12:17:21') AND us2_order_type_id = 3 ## Order found: 1744 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1744 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3451 ## Mailing found: '13040' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228970, Consumer Id: 611929, Address Id: 826719 => Updated with Vin: 1G6KD54Y95U240774 ## Mail History Id: 30228996, Consumer Id: 611533, Address Id: 11759406 => Updated with Vin: 1G6ET12991B107300 ## Mail History Id: 30228986, Consumer Id: 628425, Address Id: 11765666 => Updated with Vin: 1G6KE57YX5U134780 ## Total mail_history records updated with vin numbers: 3 out of 12 ============================================================ ====== Tracking Id: 1358 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-19 14:14:09') AND us2_order_type_id = 3 ## Order found: 1745 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1745 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3418 ## Mailing found: '13039' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228350, Consumer Id: 680897, Address Id: 11791170 => Updated with Vin: 1G6DP57V980125511 ## Mail History Id: 30228388, Consumer Id: 610879, Address Id: 11755541 => Updated with Vin: 1G6DA67V880136412 ## Mail History Id: 30228360, Consumer Id: 676399, Address Id: 11791859 => Updated with Vin: 1G6DM57T160205454 ## Mail History Id: 30228346, Consumer Id: 612232, Address Id: 11755956 => Updated with Vin: 1G6DC67A760196038 ## Mail History Id: 30228338, Consumer Id: 628754, Address Id: 11764946 => Updated with Vin: 1G6DM57T370148515 ## Mail History Id: 30228358, Consumer Id: 679410, Address Id: 11793590 => Updated with Vin: 1G6DP577370180410 ## Mail History Id: 30228344, Consumer Id: 676721, Address Id: 11785109 => Updated with Vin: 1G6KD54Y01U198389 ## Mail History Id: 30228322, Consumer Id: 663426, Address Id: 11782925 => Updated with Vin: 1G6KD54Y92U162086 ## Total mail_history records updated with vin numbers: 8 out of 20 ============================================================ ====== Tracking Id: 1359 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-19 14:14:22') AND us2_order_type_id = 3 ## Order found: 1744 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1744 AND product_id = 114 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3451 ## Mailing found: '13062' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229209, Consumer Id: 613325, Address Id: 11756669 => Updated with Vin: 1G6KD54Y41U115773 ## Mail History Id: 30229201, Consumer Id: 625061, Address Id: 11756142 => Updated with Vin: 1GYFK63877R135842 ## Mail History Id: 30229225, Consumer Id: 613799, Address Id: 11756957 => Updated with Vin: 1GYEK63N12R310807 ## Mail History Id: 30229227, Consumer Id: 620267, Address Id: 3243250 => Updated with Vin: 1G6KE57Y14U191156 ## Mail History Id: 30229239, Consumer Id: 626144, Address Id: 3245077 => Updated with Vin: 3GYFK66NX4G227301 ## Mail History Id: 30229185, Consumer Id: 619306, Address Id: 11760957 => Updated with Vin: SAJEA51C32WC62690 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 1360 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-19 14:14:37') AND us2_order_type_id = 3 ## Order found: 1744 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1744 AND product_id = 112 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3451 ## Mailing found: '13062' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229169, Consumer Id: 627689, Address Id: 11765160 => Updated with Vin: 1G6DM57T270101444 ## Mail History Id: 30229233, Consumer Id: 628388, Address Id: 3244199 => Updated with Vin: 3GYFK66N54G223091 ## Mail History Id: 30229191, Consumer Id: 611647, Address Id: 11759659 => Updated with Vin: 1G6DP577160207800 ## Mail History Id: 30229223, Consumer Id: 626848, Address Id: 3242035 => Updated with Vin: 1G6ET12971B101401 ## Mail History Id: 30229215, Consumer Id: 611908, Address Id: 11760188 => Updated with Vin: 1G6DM57T070121739 ## Mail History Id: 30229189, Consumer Id: 612020, Address Id: 11760413 => Updated with Vin: 1G6DM57TX70125006 ## Mail History Id: 30229249, Consumer Id: 628394, Address Id: 11765647 => Updated with Vin: 1G6KD54Y64U187532 ## Mail History Id: 30229195, Consumer Id: 628368, Address Id: 831929 => Updated with Vin: 1G6KD54Y7YU244388 ## Total mail_history records updated with vin numbers: 8 out of 10 ============================================================ ====== Tracking Id: 1361 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-19 14:14:49') AND us2_order_type_id = 3 ## Order found: 1744 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1744 AND product_id = 113 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3451 ## Mailing found: '13062' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229235, Consumer Id: 628190, Address Id: 3244457 => Updated with Vin: 1G6EL12Y22B102903 ## Mail History Id: 30229211, Consumer Id: 614983, Address Id: 11757681 => Updated with Vin: 2G1WX12K939164800 ## Mail History Id: 30229245, Consumer Id: 611707, Address Id: 11759691 => Updated with Vin: 1G6KD54Y15U137476 ## Mail History Id: 30229205, Consumer Id: 628167, Address Id: 11765487 => Updated with Vin: 1G6DM577040103157 ## Mail History Id: 30229177, Consumer Id: 612812, Address Id: 823852 => Updated with Vin: 1G6EL12Y5XU609113 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 1362 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-19 20:14:14') AND us2_order_type_id = 3 ## Order found: 1729 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1729 AND product_id = 2153 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3503 ## Mailing found: '13380' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998465, Consumer Id: 2166244, Address Id: 9722686 => Updated with Vin: 4TAWM72N8YZ633154 ## Mail History Id: 30998467, Consumer Id: 2172487, Address Id: 9720285 => Updated with Vin: JTDBE32K720003474 ## Mail History Id: 30998553, Consumer Id: 2171915, Address Id: 9719634 => Updated with Vin: 5TBBT4410YS074949 ## Mail History Id: 30998469, Consumer Id: 2171314, Address Id: 9719066 => Updated with Vin: 4T1BG22K5VU811397 ## Mail History Id: 30998573, Consumer Id: 2176819, Address Id: 436697 => Updated with Vin: 5TEWM72N02Z088356 ## Mail History Id: 30998373, Consumer Id: 2172822, Address Id: 9720588 => Updated with Vin: JTDBR32EX30033892 ## Mail History Id: 30998527, Consumer Id: 2159065, Address Id: 9722590 => Updated with Vin: JTEHT05JX32045723 ## Mail History Id: 30998437, Consumer Id: 2163442, Address Id: 9725564 => Updated with Vin: JTKDE177960092058 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 1363 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-19 20:14:27') AND us2_order_type_id = 3 ## Order found: 1729 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1729 AND product_id = 2150 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3503 ## Mailing found: '13402,13913' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993141, Consumer Id: 2171314, Address Id: 9719066 => Updated with Vin: 4T1BG22K5VU811397 ## Mail History Id: 30993013, Consumer Id: 289646, Address Id: 4411391 => Updated with Vin: JT3HN86R1X0200182 ## Total mail_history records updated with vin numbers: 2 out of 4 ============================================================ ====== Tracking Id: 1364 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-19 20:14:39') AND us2_order_type_id = 3 ## Order found: 1729 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1729 AND product_id = 2147 ## Job Group Found: '562' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('562') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408002') AND customer_id = 3503 ## Mailing found: '13414' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31003387, Consumer Id: 2171314, Address Id: 9719066 => Updated with Vin: 4T1BG22K5VU811397 ## Mail History Id: 31003391, Consumer Id: 289646, Address Id: 4411391 => Updated with Vin: JT3HN86R1X0200182 ## Mail History Id: 31003393, Consumer Id: 2171374, Address Id: 9719124 => Updated with Vin: 4T1BE32K53U132609 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 1365 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-19 20:14:51') AND us2_order_type_id = 3 ## Order found: 1729 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1729 AND product_id = 2152 ## Job Group Found: '566' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('566') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408006') AND customer_id = 3503 ## Mailing found: '13368' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1366 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-20 07:14:39') AND us2_order_type_id = 3 ## Order found: 1781 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1781 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1367 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-20 08:14:31') AND us2_order_type_id = 3 ## Order found: 1763 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1763 AND product_id = 55 ## Job Group Found: '501' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('501') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108002') AND customer_id = 3230 ## Mailing found: '13081' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229324, Consumer Id: 1781827, Address Id: 51083 => Updated with Vin: 1FMCU03739KA22047 ## Mail History Id: 30229325, Consumer Id: 64944, Address Id: 49882 => Updated with Vin: 1FMYU93186KA05083 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1368 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-20 09:18:06') AND us2_order_type_id = 3 ## Order found: 1764 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1764 AND product_id = 142 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3768 ## Mailing found: '13046' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228226, Consumer Id: 1050456, Address Id: 8828469 => Updated with Vin: 1G6KD54Y93U186213 ## Mail History Id: 30228202, Consumer Id: 1114513, Address Id: 3237700 => Updated with Vin: 1G6KD57Y37U150051 ## Mail History Id: 30228222, Consumer Id: 1042443, Address Id: 14952291 => Updated with Vin: 1G6KF5491WU787834 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1369 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-20 10:17:59') AND us2_order_type_id = 3 ## Order found: 1766 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1766 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3416 ## Mailing found: '13038' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228418, Consumer Id: 692666, Address Id: 11798461 => Updated with Vin: 1G6DP577460210528 ## Mail History Id: 30228442, Consumer Id: 956901, Address Id: 1969863 => Updated with Vin: 1G6KD57Y78U191879 ## Mail History Id: 30228446, Consumer Id: 692943, Address Id: 11797697 => Updated with Vin: 1GKDM19W4TB503286 ## Mail History Id: 30228400, Consumer Id: 956433, Address Id: 4763786 => Updated with Vin: 1G6DW677270195781 ## Mail History Id: 30228438, Consumer Id: 683920, Address Id: 11795509 => Updated with Vin: 1G6KD52YXTU306555 ## Mail History Id: 30228434, Consumer Id: 684300, Address Id: 11795620 => Updated with Vin: 1G6KE57YX3U259811 ## Mail History Id: 30228396, Consumer Id: 686092, Address Id: 6870557 => Updated with Vin: 1G6KD52B4RU285593 ## Mail History Id: 30228390, Consumer Id: 625269, Address Id: 1959544 => Updated with Vin: 1GYEE637240148279 ## Mail History Id: 30228416, Consumer Id: 682296, Address Id: 1965838 => Updated with Vin: 1G6KF5797YU278118 ## Mail History Id: 30228412, Consumer Id: 691613, Address Id: 1965602 => Updated with Vin: 1G6KD57Y87U120785 ## Mail History Id: 30228398, Consumer Id: 683125, Address Id: 1962218 => Updated with Vin: 1G6DM57N530136751 ## Mail History Id: 30228420, Consumer Id: 682090, Address Id: 50644 => Updated with Vin: 1G6DM57N430119276 ## Mail History Id: 30228402, Consumer Id: 955784, Address Id: 11796917 => Updated with Vin: 2G1WF52E139421467 ## Mail History Id: 30228394, Consumer Id: 625528, Address Id: 11766005 => Updated with Vin: 1GYFK63837R390908 ## Total mail_history records updated with vin numbers: 14 out of 16 ============================================================ ====== Tracking Id: 1370 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-20 10:21:04') AND us2_order_type_id = 3 ## Order found: 1767 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1767 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3795 ## Mailing found: '13407' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992712, Consumer Id: 1060960, Address Id: 3059955 => Updated with Vin: 1HGCG1659YA048959 ## Mail History Id: 30992728, Consumer Id: 1068937, Address Id: 14961349 => Updated with Vin: 1HGCG566X1A028094 ## Mail History Id: 30992728, Consumer Id: 1068584, Address Id: 14961349 => Updated with Vin: 5FNRL387X7B077844 ## Mail History Id: 30992862, Consumer Id: 1068582, Address Id: 3084075 => Updated with Vin: 1HGCG5657YA136996 ## Mail History Id: 30992878, Consumer Id: 1059037, Address Id: 3099050 => Updated with Vin: 5FNRL38777B098375 ## Mail History Id: 30992826, Consumer Id: 1068715, Address Id: 3964417 => Updated with Vin: 2HJYK16527H505450 ## Mail History Id: 30993050, Consumer Id: 1068958, Address Id: 14961426 => Updated with Vin: 5FNRL38477B072641 ## Mail History Id: 30992536, Consumer Id: 1068902, Address Id: 3642125 => Updated with Vin: 2HKYF18183H536948 ## Mail History Id: 30992536, Consumer Id: 1068902, Address Id: 3642125 => Updated with Vin: 2HKYF18183H536948 ## Mail History Id: 30992850, Consumer Id: 1068950, Address Id: 190823 => Updated with Vin: 1HGFA16877L039060 ## Mail History Id: 30992890, Consumer Id: 1068977, Address Id: 14961456 => Updated with Vin: JHLRE38337C018612 ## Mail History Id: 30992836, Consumer Id: 1053828, Address Id: 8507746 => Updated with Vin: JHMEH6268VS006125 ## Mail History Id: 30992510, Consumer Id: 1068919, Address Id: 2469596 => Updated with Vin: 5FNYF28416B035600 ## Mail History Id: 30992718, Consumer Id: 1054722, Address Id: 181702 => Updated with Vin: 5FNRL38855B056017 ## Mail History Id: 30992606, Consumer Id: 1053720, Address Id: 14955597 => Updated with Vin: 2HKRL1855YH520035 ## Mail History Id: 30992910, Consumer Id: 1054962, Address Id: 14955951 => Updated with Vin: 2HKRL185XYH524663 ## Mail History Id: 30992568, Consumer Id: 1054446, Address Id: 14955572 => Updated with Vin: JHMCG5641YC017124 ## Mail History Id: 30992662, Consumer Id: 1053666, Address Id: 2516334 => Updated with Vin: 1HGCG16561A006044 ## Mail History Id: 30992662, Consumer Id: 1053666, Address Id: 2516334 => Updated with Vin: 1HGCG16561A006044 ## Mail History Id: 30992884, Consumer Id: 1054026, Address Id: 14955688 => Updated with Vin: 1HGEJ6679YL020477 ## Mail History Id: 30992498, Consumer Id: 1052933, Address Id: 6596484 => Updated with Vin: 1HGCG16541A042301 ## Mail History Id: 30992922, Consumer Id: 1053667, Address Id: 14955577 => Updated with Vin: 2HKRL18671H580199 ## Mail History Id: 30992882, Consumer Id: 1052520, Address Id: 3100584 => Updated with Vin: 1HGCG56652A129951 ## Mail History Id: 30992698, Consumer Id: 1052582, Address Id: 181105 => Updated with Vin: JHLRD78812C059237 ## Mail History Id: 30992914, Consumer Id: 1052581, Address Id: 14955248 => Updated with Vin: JHMES96693S000182 ## Mail History Id: 30992520, Consumer Id: 1054445, Address Id: 4926083 => Updated with Vin: 1HGCM66564A001873 ## Mail History Id: 30992824, Consumer Id: 1068768, Address Id: 3962772 => Updated with Vin: 2HKYF18466H513330 ## Mail History Id: 30992892, Consumer Id: 1058384, Address Id: 14956685 => Updated with Vin: 2HGFA555X7H701385 ## Mail History Id: 30992892, Consumer Id: 1058384, Address Id: 14956685 => Updated with Vin: 2HGFA555X7H701385 ## Mail History Id: 30992864, Consumer Id: 1055844, Address Id: 14956214 => Updated with Vin: 2HKYF18405H527979 ## Mail History Id: 30992656, Consumer Id: 1055199, Address Id: 2515627 => Updated with Vin: 5FNRL38215B069729 ## Mail History Id: 30992602, Consumer Id: 1055684, Address Id: 6613156 => Updated with Vin: JHMES96664S003669 ## Mail History Id: 30992732, Consumer Id: 1055373, Address Id: 3064049 => Updated with Vin: 5FNRL38695B414072 ## Mail History Id: 30992624, Consumer Id: 1055370, Address Id: 175256 => Updated with Vin: 1HGCM56855A141676 ## Mail History Id: 30992782, Consumer Id: 1061424, Address Id: 14957760 => Updated with Vin: 5FNRL38755B118653 ## Mail History Id: 30992924, Consumer Id: 1057813, Address Id: 14956778 => Updated with Vin: JHMCN36465C012104 ## Mail History Id: 30992690, Consumer Id: 1056138, Address Id: 180556 => Updated with Vin: 1HGCM561X6A011834 ## Mail History Id: 30992580, Consumer Id: 1057049, Address Id: 6610659 => Updated with Vin: 5FNYF28416B004816 ## Mail History Id: 30992870, Consumer Id: 1056162, Address Id: 5907343 => Updated with Vin: 1HGCM66546A008484 ## Mail History Id: 30992834, Consumer Id: 1056436, Address Id: 14956390 => Updated with Vin: 1HGCM72514A008886 ## Mail History Id: 30992860, Consumer Id: 1056206, Address Id: 3081181 => Updated with Vin: 5FNRL38706B023712 ## Mail History Id: 30992592, Consumer Id: 1056210, Address Id: 6611010 => Updated with Vin: 1HGFA16576L016995 ## Mail History Id: 30993154, Consumer Id: 1056563, Address Id: 14956427 => Updated with Vin: 1HGCM66576A018359 ## Mail History Id: 30992928, Consumer Id: 1056209, Address Id: 14955375 => Updated with Vin: 5J6YH28696L000922 ## Mail History Id: 30992622, Consumer Id: 1056566, Address Id: 14956428 => Updated with Vin: 1HGCM56466A034232 ## Mail History Id: 30992474, Consumer Id: 1056303, Address Id: 5364044 => Updated with Vin: 2HGFG11816H523338 ## Mail History Id: 30992904, Consumer Id: 1056565, Address Id: 3109326 => Updated with Vin: 1HGCM56816A078657 ## Mail History Id: 30992642, Consumer Id: 1057323, Address Id: 2514056 => Updated with Vin: 5J6YH17766L006651 ## Mail History Id: 30992694, Consumer Id: 1057812, Address Id: 3057722 => Updated with Vin: 1HGCM56643A008581 ## Mail History Id: 30992694, Consumer Id: 1057812, Address Id: 3057722 => Updated with Vin: 1HGCM56643A008581 ## Mail History Id: 30992494, Consumer Id: 1056884, Address Id: 5796326 => Updated with Vin: 1HGFA16536L074585 ## Mail History Id: 30992726, Consumer Id: 1057966, Address Id: 12845084 => Updated with Vin: SHSRD78846U436674 ## Mail History Id: 30992546, Consumer Id: 1057376, Address Id: 14956650 => Updated with Vin: 1HGCM56756A167669 ## Mail History Id: 30992504, Consumer Id: 1058324, Address Id: 4924299 => Updated with Vin: 1HGCM66547A055550 ## Mail History Id: 30992840, Consumer Id: 1057967, Address Id: 5158699 => Updated with Vin: 5FNYF18535B027578 ## Mail History Id: 30992584, Consumer Id: 1057807, Address Id: 7685026 => Updated with Vin: 5FNRL18743B057328 ## Mail History Id: 30992534, Consumer Id: 1057867, Address Id: 4260417 => Updated with Vin: JHLRE38557C003451 ## Mail History Id: 30992898, Consumer Id: 1057969, Address Id: 7127058 => Updated with Vin: SHSRD78995U343107 ## Mail History Id: 30992644, Consumer Id: 1061496, Address Id: 4780568 => Updated with Vin: 5FNRL38807B026345 ## Mail History Id: 30992640, Consumer Id: 1059212, Address Id: 3934665 => Updated with Vin: 5FNYF18557B003723 ## Mail History Id: 30992640, Consumer Id: 1059212, Address Id: 3934665 => Updated with Vin: 5FNYF18557B003723 ## Mail History Id: 30992936, Consumer Id: 1058732, Address Id: 14956776 => Updated with Vin: 1HGCM56417A080181 ## Mail History Id: 30992596, Consumer Id: 1058175, Address Id: 6611183 => Updated with Vin: 2HGFG12867H528258 ## Mail History Id: 30992774, Consumer Id: 1058618, Address Id: 4265071 => Updated with Vin: 1HGCM56747A064907 ## Mail History Id: 30992934, Consumer Id: 1058562, Address Id: 14956979 => Updated with Vin: 5FNRL388X7B034405 ## Mail History Id: 30992612, Consumer Id: 1058915, Address Id: 11315209 => Updated with Vin: 1HGFA16877L048809 ## Mail History Id: 30992688, Consumer Id: 1058332, Address Id: 3056689 => Updated with Vin: 1HGCM82633A023936 ## Mail History Id: 30992566, Consumer Id: 1058222, Address Id: 14956890 => Updated with Vin: 5FNYF28637B026318 ## Mail History Id: 30992566, Consumer Id: 1058222, Address Id: 14956890 => Updated with Vin: 5FNYF28637B026318 ## Mail History Id: 30992710, Consumer Id: 1058729, Address Id: 3059602 => Updated with Vin: 5FNYF28607B029161 ## Mail History Id: 30992888, Consumer Id: 1058336, Address Id: 3103742 => Updated with Vin: 1HGFA168X7L052143 ## Mail History Id: 30992670, Consumer Id: 1058613, Address Id: 14956992 => Updated with Vin: JHMCM56327C016563 ## Mail History Id: 30992670, Consumer Id: 1058613, Address Id: 14956992 => Updated with Vin: JHMCM56327C016563 ## Mail History Id: 30992582, Consumer Id: 1058614, Address Id: 6076252 => Updated with Vin: 1HGCM567X7A109266 ## Mail History Id: 30992758, Consumer Id: 1058717, Address Id: 9373242 => Updated with Vin: 1HGFA16817L072975 ## Mail History Id: 30992804, Consumer Id: 1058615, Address Id: 5358354 => Updated with Vin: 1HGFA165X7L090493 ## Mail History Id: 30992542, Consumer Id: 1058736, Address Id: 6074461 => Updated with Vin: 2HGFG12887H552917 ## Mail History Id: 30992508, Consumer Id: 1059041, Address Id: 11082248 => Updated with Vin: 1HGCM567X7A142879 ## Mail History Id: 30992742, Consumer Id: 1058726, Address Id: 184679 => Updated with Vin: JHLRE38777C045878 ## Mail History Id: 30992798, Consumer Id: 1058723, Address Id: 14957033 => Updated with Vin: 2HJYK16487H544082 ## Mail History Id: 30992660, Consumer Id: 1058737, Address Id: 3030596 => Updated with Vin: 1HGFA16517L103633 ## Mail History Id: 30992486, Consumer Id: 1058727, Address Id: 4908762 => Updated with Vin: 5J6RE383X7L000311 ## Mail History Id: 30992486, Consumer Id: 1058727, Address Id: 4908762 => Updated with Vin: 5J6RE383X7L000311 ## Mail History Id: 30992512, Consumer Id: 1058712, Address Id: 7658983 => Updated with Vin: 1HGFA16517L106659 ## Mail History Id: 30992512, Consumer Id: 1058712, Address Id: 7658983 => Updated with Vin: 1HGFA16517L106659 ## Mail History Id: 30992940, Consumer Id: 1058707, Address Id: 14957027 => Updated with Vin: 1HGFA16817L052578 ## Mail History Id: 30992480, Consumer Id: 1059095, Address Id: 5807900 => Updated with Vin: 1HGCM56717A172286 ## Mail History Id: 30992482, Consumer Id: 1059543, Address Id: 5796484 => Updated with Vin: 1HGCM66514A010108 ## Mail History Id: 30992702, Consumer Id: 1059197, Address Id: 3058712 => Updated with Vin: 5FNRL38727B108701 ## Mail History Id: 30992938, Consumer Id: 1059599, Address Id: 14957267 => Updated with Vin: 2HGFG11637H576963 ## Mail History Id: 30992802, Consumer Id: 1059204, Address Id: 14957162 => Updated with Vin: 5FNRL38267B079725 ## Mail History Id: 30992802, Consumer Id: 1059204, Address Id: 14957162 => Updated with Vin: 5FNRL38267B079725 ## Mail History Id: 30992920, Consumer Id: 1059209, Address Id: 3113136 => Updated with Vin: 5J6YH18978L001364 ## Mail History Id: 30992696, Consumer Id: 1059192, Address Id: 181090 => Updated with Vin: 1HGFA16597L134175 ## Mail History Id: 30992588, Consumer Id: 1059199, Address Id: 4947192 => Updated with Vin: 1HGCM66537A103572 ## Mail History Id: 30992856, Consumer Id: 1059731, Address Id: 8242951 => Updated with Vin: JHMAP21497S000881 ## Mail History Id: 30992880, Consumer Id: 1059218, Address Id: 3100321 => Updated with Vin: 5J6YH18358L000547 ## Mail History Id: 30992828, Consumer Id: 1059211, Address Id: 3964837 => Updated with Vin: 2HGFG12637H577822 ## Mail History Id: 30992722, Consumer Id: 1060511, Address Id: 3061921 => Updated with Vin: 5J6YH18968L003459 ## Mail History Id: 30992722, Consumer Id: 1060511, Address Id: 3061921 => Updated with Vin: 5J6YH18968L003459 ## Mail History Id: 30992700, Consumer Id: 1059398, Address Id: 181154 => Updated with Vin: JHMCP26458C000390 ## Mail History Id: 30992700, Consumer Id: 1059398, Address Id: 181154 => Updated with Vin: JHMCP26458C000390 ## Mail History Id: 30992700, Consumer Id: 1059398, Address Id: 181154 => Updated with Vin: JHMCP26458C000390 ## Mail History Id: 30992772, Consumer Id: 1059594, Address Id: 7702794 => Updated with Vin: 5FNRL38617B460627 ## Mail History Id: 30992748, Consumer Id: 1059514, Address Id: 14957247 => Updated with Vin: JHMGD38617S031946 ## Mail History Id: 30992876, Consumer Id: 1059592, Address Id: 3098654 => Updated with Vin: 1HGCP26838A013902 ## Mail History Id: 30992652, Consumer Id: 1061159, Address Id: 7413257 => Updated with Vin: 1FASP11J6TW182411 ## Mail History Id: 30992668, Consumer Id: 1059593, Address Id: 4463527 => Updated with Vin: 1HGCP26448A017874 ## Mail History Id: 30992846, Consumer Id: 1059704, Address Id: 5179668 => Updated with Vin: 5FNRL38478B006902 ## Mail History Id: 30992514, Consumer Id: 1059715, Address Id: 9206939 => Updated with Vin: 5FNYF18506B028088 ## Mail History Id: 30992476, Consumer Id: 1059012, Address Id: 8663046 => Updated with Vin: 2HGES16564H609010 ## Mail History Id: 30992492, Consumer Id: 1059984, Address Id: 6375190 => Updated with Vin: 2HJYK16558H521868 ## Mail History Id: 30993166, Consumer Id: 1059719, Address Id: 5804339 => Updated with Vin: 1HGCP36828A022581 ## Mail History Id: 30992738, Consumer Id: 1059717, Address Id: 3064419 => Updated with Vin: 1HGCP25878A049061 ## Mail History Id: 30992616, Consumer Id: 1060537, Address Id: 6618051 => Updated with Vin: 1HGFA16538L009917 ## Mail History Id: 30992522, Consumer Id: 1060047, Address Id: 12546019 => Updated with Vin: 5FNRL38708B027942 ## Mail History Id: 30992522, Consumer Id: 1060047, Address Id: 12546019 => Updated with Vin: 5FNRL38708B027942 ## Mail History Id: 30993168, Consumer Id: 1060043, Address Id: 3013660 => Updated with Vin: JHLRE38748C017988 ## Mail History Id: 30992764, Consumer Id: 1060735, Address Id: 10246537 => Updated with Vin: 1HGCP36838A033217 ## Mail History Id: 30992800, Consumer Id: 1060506, Address Id: 14957135 => Updated with Vin: 1HGCP26838A079673 ## Mail History Id: 30992556, Consumer Id: 1060162, Address Id: 14957410 => Updated with Vin: 5J6RE38798L000725 ## Mail History Id: 30992628, Consumer Id: 1060806, Address Id: 8076317 => Updated with Vin: 1HGCM56346A181866 ## Mail History Id: 30992620, Consumer Id: 1060218, Address Id: 5798986 => Updated with Vin: 5J6RE38768L000780 ## Mail History Id: 30992810, Consumer Id: 1060783, Address Id: 12843866 => Updated with Vin: 1HGCM56857A014851 ## Mail History Id: 30992858, Consumer Id: 1059462, Address Id: 3075007 => Updated with Vin: 1HGCG566X1A072399 ## Mail History Id: 30992858, Consumer Id: 1059462, Address Id: 3075007 => Updated with Vin: 1HGCG566X1A072399 ## Mail History Id: 30992896, Consumer Id: 1060800, Address Id: 3107143 => Updated with Vin: 1HGCP26398A098605 ## Mail History Id: 30992586, Consumer Id: 1060781, Address Id: 14957581 => Updated with Vin: 5FNRL38658B405583 ## Mail History Id: 30992506, Consumer Id: 1060533, Address Id: 5319096 => Updated with Vin: 1HGCP26898A069861 ## Mail History Id: 30992578, Consumer Id: 1060764, Address Id: 7684517 => Updated with Vin: 5FNRL18694B076546 ## Mail History Id: 30992886, Consumer Id: 1060534, Address Id: 3102536 => Updated with Vin: 1HGCM56747A107870 ## Mail History Id: 30992544, Consumer Id: 1060805, Address Id: 14957588 => Updated with Vin: 1HGFA16548L079040 ## Mail History Id: 30992532, Consumer Id: 1060548, Address Id: 4260401 => Updated with Vin: 5FNRL38408B060400 ## Mail History Id: 30992664, Consumer Id: 1060451, Address Id: 3051985 => Updated with Vin: 1HGCP36898A049843 ## Mail History Id: 30992570, Consumer Id: 1053154, Address Id: 14955423 => Updated with Vin: JHLRD1862XC047598 ## Mail History Id: 30992784, Consumer Id: 1060520, Address Id: 14957498 => Updated with Vin: 19UUA66214A056895 ## Mail History Id: 30992766, Consumer Id: 1060777, Address Id: 14957580 => Updated with Vin: JHLRD1852VC063191 ## Mail History Id: 30992610, Consumer Id: 1060788, Address Id: 6616033 => Updated with Vin: 1HGCP26848A120098 ## Mail History Id: 30992788, Consumer Id: 1060514, Address Id: 14860013 => Updated with Vin: 5FNRL38438B067700 ## Mail History Id: 30992608, Consumer Id: 1060680, Address Id: 14957554 => Updated with Vin: 1HGCP36838A059977 ## Mail History Id: 30992868, Consumer Id: 1060510, Address Id: 3092781 => Updated with Vin: JHLRE38598C039354 ## Mail History Id: 30992496, Consumer Id: 1060795, Address Id: 6865273 => Updated with Vin: 2HGFA16538H330353 ## Mail History Id: 30992496, Consumer Id: 1060795, Address Id: 6865273 => Updated with Vin: 2HGFA16538H330353 ## Mail History Id: 30992808, Consumer Id: 1060734, Address Id: 12056022 => Updated with Vin: 5FNRL38468B416199 ## Mail History Id: 30992590, Consumer Id: 1060627, Address Id: 14957536 => Updated with Vin: JNKBV61E07M701243 ## Mail History Id: 30992524, Consumer Id: 1060763, Address Id: 5144896 => Updated with Vin: 1HGCP26808A064774 ## Mail History Id: 30992604, Consumer Id: 1060515, Address Id: 4949097 => Updated with Vin: 2HGFA16548H520436 ## Mail History Id: 30992634, Consumer Id: 1060796, Address Id: 2999841 => Updated with Vin: 5FNYF18768B023031 ## Mail History Id: 30992674, Consumer Id: 1060744, Address Id: 14955917 => Updated with Vin: 2C4GP54L15R289365 ## Mail History Id: 30992770, Consumer Id: 1060749, Address Id: 6870919 => Updated with Vin: 2HGFG11618H551075 ## Mail History Id: 30992564, Consumer Id: 1060623, Address Id: 6075926 => Updated with Vin: 2HGFA16508H325479 ## Mail History Id: 30992844, Consumer Id: 1060707, Address Id: 5162268 => Updated with Vin: 2HGFA16958H519069 ## Mail History Id: 30992516, Consumer Id: 1060618, Address Id: 14957531 => Updated with Vin: 2HGFA16978H519056 ## Mail History Id: 30992692, Consumer Id: 1060686, Address Id: 12847181 => Updated with Vin: JHMGD38408S042601 ## Mail History Id: 30992740, Consumer Id: 1060755, Address Id: 3068802 => Updated with Vin: 5J6YH18978L013739 ## Mail History Id: 30992792, Consumer Id: 1060750, Address Id: 14955137 => Updated with Vin: 1HGFA16518L093655 ## Mail History Id: 30992790, Consumer Id: 1061248, Address Id: 14956180 => Updated with Vin: 5FNYF28416B028548 ## Mail History Id: 30992750, Consumer Id: 1068791, Address Id: 14961402 => Updated with Vin: 5J6YH28524L003424 ## Mail History Id: 30992704, Consumer Id: 1068822, Address Id: 3058854 => Updated with Vin: 2HGFG215X6H710007 ## Mail History Id: 30992818, Consumer Id: 1053159, Address Id: 6619033 => Updated with Vin: 1HGCD564XRA030110 ## Mail History Id: 30992720, Consumer Id: 1061358, Address Id: 3061408 => Updated with Vin: 1HGCM66875A056067 ## Mail History Id: 30992794, Consumer Id: 1061199, Address Id: 14957687 => Updated with Vin: 1HGES16305L021770 ## Mail History Id: 30992812, Consumer Id: 1158816, Address Id: 4265741 => Updated with Vin: 1HGFA16517L096991 ## Mail History Id: 30992614, Consumer Id: 1068975, Address Id: 4263970 => Updated with Vin: 1HGEM1150YL002434 ## Mail History Id: 30992614, Consumer Id: 1068943, Address Id: 4263970 => Updated with Vin: JF1GD70676L502792 ## Mail History Id: 30992502, Consumer Id: 1059596, Address Id: 9577946 => Updated with Vin: JTHFN48Y040050852 ## Mail History Id: 30992502, Consumer Id: 1059596, Address Id: 9577946 => Updated with Vin: JTHFN48Y040050852 ## Mail History Id: 30992600, Consumer Id: 1060309, Address Id: 6612226 => Updated with Vin: JHMCN36465C004665 ## Mail History Id: 30992746, Consumer Id: 1060052, Address Id: 184773 => Updated with Vin: 1FMZU77K24UB90387 ## Mail History Id: 30992912, Consumer Id: 1060760, Address Id: 14957573 => Updated with Vin: 1G1JF52F347262652 ## Mail History Id: 30992806, Consumer Id: 1060348, Address Id: 11651076 => Updated with Vin: 5FNRL38775B079774 ## Mail History Id: 30992806, Consumer Id: 1060348, Address Id: 11651076 => Updated with Vin: 5FNRL38775B079774 ## Mail History Id: 30992806, Consumer Id: 1060348, Address Id: 11651076 => Updated with Vin: 5FNRL38775B079774 ## Mail History Id: 30992776, Consumer Id: 1060675, Address Id: 3953438 => Updated with Vin: 3A4FY58B47T560441 ## Mail History Id: 30992838, Consumer Id: 1055667, Address Id: 5324863 => Updated with Vin: 1HGCM56445A155758 ## Mail History Id: 30992754, Consumer Id: 1068313, Address Id: 3952969 => Updated with Vin: 5FNRL18684B048964 ## Mail History Id: 30992762, Consumer Id: 1068423, Address Id: 11598811 => Updated with Vin: 2HGFA55517H701811 ## Mail History Id: 30992562, Consumer Id: 1061529, Address Id: 14957788 => Updated with Vin: 5FNRL38637B029707 ## Mail History Id: 30992562, Consumer Id: 1061529, Address Id: 14957788 => Updated with Vin: 5FNRL38637B029707 ## Mail History Id: 30992816, Consumer Id: 1061683, Address Id: 6618930 => Updated with Vin: JHMBB2259NC019674 ## Total mail_history records updated with vin numbers: 180 out of 206 ============================================================ ====== Tracking Id: 1371 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-20 10:21:28') AND us2_order_type_id = 3 ## Order found: 1768 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1768 AND product_id = 142 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3697 ## Mailing found: '13043' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228228, Consumer Id: 1044543, Address Id: 14825201 => Updated with Vin: 1G6DM577040108780 ## Mail History Id: 30228214, Consumer Id: 1043185, Address Id: 12193264 => Updated with Vin: 3GYFK66N74G152637 ## Mail History Id: 30228220, Consumer Id: 1049877, Address Id: 2852710 => Updated with Vin: 1G6DM57N830128854 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1372 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-20 10:23:44') AND us2_order_type_id = 3 ## Order found: 1769 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1769 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3815 ## Mailing found: '13048' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228278, Consumer Id: 1373375, Address Id: 15638389 => Updated with Vin: JHMCD5562SC018169 ## Mail History Id: 30228276, Consumer Id: 1365074, Address Id: 15638102 => Updated with Vin: SHSRD68434U203292 ## Mail History Id: 30228236, Consumer Id: 1368413, Address Id: 15634934 => Updated with Vin: JHMZE135XYT001350 ## Mail History Id: 30228250, Consumer Id: 1372038, Address Id: 15632372 => Updated with Vin: WAULC68E64A081512 ## Mail History Id: 30228240, Consumer Id: 1364280, Address Id: 15634727 => Updated with Vin: 1HGCM56317A004189 ## Mail History Id: 30228258, Consumer Id: 1373484, Address Id: 6166400 => Updated with Vin: 1HGCM66555A013367 ## Mail History Id: 30228294, Consumer Id: 1378929, Address Id: 15671680 => Updated with Vin: JHLRE38747C060399 ## Mail History Id: 30228280, Consumer Id: 1359203, Address Id: 15631977 => Updated with Vin: 1HGCM56633A109529 ## Mail History Id: 30228264, Consumer Id: 1363416, Address Id: 9095160 => Updated with Vin: 1HGFA16256L032389 ## Mail History Id: 30228288, Consumer Id: 1363974, Address Id: 15637006 => Updated with Vin: 2HGFG12876H569190 ## Mail History Id: 30228246, Consumer Id: 1364074, Address Id: 15637069 => Updated with Vin: 1HGFA16866L135034 ## Mail History Id: 30228248, Consumer Id: 1377746, Address Id: 15671010 => Updated with Vin: JHMED8454LS012366 ## Mail History Id: 30228242, Consumer Id: 1367137, Address Id: 15638509 => Updated with Vin: 2HGFG12928H527179 ## Mail History Id: 30228190, Consumer Id: 1365469, Address Id: 15638537 => Updated with Vin: 5FNRL38747B060019 ## Mail History Id: 30228266, Consumer Id: 1365596, Address Id: 15638613 => Updated with Vin: 1HGFA16817L089677 ## Mail History Id: 30228282, Consumer Id: 1365540, Address Id: 15638580 => Updated with Vin: 2HGFA55587H709601 ## Mail History Id: 30228272, Consumer Id: 1365811, Address Id: 7933906 => Updated with Vin: JHMGD37637S048748 ## Mail History Id: 30228254, Consumer Id: 1365740, Address Id: 15638704 => Updated with Vin: 2HGFG126X7H562864 ## Mail History Id: 30228268, Consumer Id: 1366046, Address Id: 15639043 => Updated with Vin: 1HGEM21975L038576 ## Mail History Id: 30228286, Consumer Id: 1366055, Address Id: 15639046 => Updated with Vin: 5J6RE38337L000747 ## Mail History Id: 30228290, Consumer Id: 1367327, Address Id: 15640010 => Updated with Vin: 2HGFA55548H703778 ## Mail History Id: 30228196, Consumer Id: 1367366, Address Id: 15640033 => Updated with Vin: 1HGCP26358A040183 ## Total mail_history records updated with vin numbers: 22 out of 27 ============================================================ ====== Tracking Id: 1373 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-20 11:14:27') AND us2_order_type_id = 3 ## Order found: 1770 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1770 AND product_id = 112 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3486 ## Mailing found: '13064' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229214, Consumer Id: 464934, Address Id: 2009048 => Updated with Vin: 1GNDS13S142103573 ## Mail History Id: 30229220, Consumer Id: 490315, Address Id: 8119828 => Updated with Vin: 3GNEC12J87G293720 ## Mail History Id: 30229204, Consumer Id: 469041, Address Id: 2002406 => Updated with Vin: 1GCGG25V261216106 ## Mail History Id: 30229210, Consumer Id: 471173, Address Id: 6439756 => Updated with Vin: 1G1AK18F287159319 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1374 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-20 11:15:30') AND us2_order_type_id = 3 ## Order found: 1771 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1771 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3491 ## Mailing found: '13042' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228080, Consumer Id: 836258, Address Id: 11893430 => Updated with Vin: 2CNDL13F756160479 ## Mail History Id: 30228662, Consumer Id: 808899, Address Id: 11883490 => Updated with Vin: 2G1WD58C569152406 ## Mail History Id: 30228871, Consumer Id: 836837, Address Id: 11893796 => Updated with Vin: 2G1FP22KX12117271 ## Mail History Id: 30228081, Consumer Id: 812142, Address Id: 11874515 => Updated with Vin: 2GCEC13Z871178752 ## Mail History Id: 30228000, Consumer Id: 810696, Address Id: 11885246 => Updated with Vin: 2GCEK13Z261315508 ## Mail History Id: 30227978, Consumer Id: 811163, Address Id: 11885909 => Updated with Vin: KL1TD66696B664432 ## Mail History Id: 30228671, Consumer Id: 811758, Address Id: 11886140 => Updated with Vin: 2GCEC13V071158394 ## Mail History Id: 30227991, Consumer Id: 956468, Address Id: 11851288 => Updated with Vin: KL5JD56Z55K106635 ## Mail History Id: 30229039, Consumer Id: 773226, Address Id: 11851194 => Updated with Vin: 2CNDL13F276041922 ## Mail History Id: 30228640, Consumer Id: 813339, Address Id: 11888008 => Updated with Vin: 1G1ZU57N97F123791 ## Mail History Id: 30228039, Consumer Id: 813455, Address Id: 11888083 => Updated with Vin: 2CNDL63F476099396 ## Mail History Id: 30228093, Consumer Id: 773313, Address Id: 11851273 => Updated with Vin: 1G1ZS58F87F307181 ## Mail History Id: 30227950, Consumer Id: 773215, Address Id: 11851183 => Updated with Vin: 1GNDS13S772243258 ## Mail History Id: 30228045, Consumer Id: 838523, Address Id: 11894781 => Updated with Vin: 4B3AG52H92E043354 ## Mail History Id: 30228159, Consumer Id: 814941, Address Id: 11886677 => Updated with Vin: 1GNFC13J47J362761 ## Mail History Id: 30228915, Consumer Id: 815692, Address Id: 11885522 => Updated with Vin: 1GNDS13S062162830 ## Mail History Id: 30228094, Consumer Id: 815952, Address Id: 11890615 => Updated with Vin: 1GCHK23647F549409 ## Mail History Id: 30228225, Consumer Id: 816039, Address Id: 11891230 => Updated with Vin: 1FAFP56U07A189157 ## Mail History Id: 30228668, Consumer Id: 820157, Address Id: 11909659 => Updated with Vin: 1G1AK18FX87279742 ## Mail History Id: 30228530, Consumer Id: 956469, Address Id: 11965873 => Updated with Vin: 1GCCS194XX8200169 ## Mail History Id: 30228661, Consumer Id: 840041, Address Id: 11886658 => Updated with Vin: 3GNFK16ZX4G186770 ## Mail History Id: 30228873, Consumer Id: 827226, Address Id: 11880948 => Updated with Vin: 1GCEK19T62Z243913 ## Mail History Id: 30228521, Consumer Id: 824169, Address Id: 11879485 => Updated with Vin: 2G1WF55K4Y9281116 ## Mail History Id: 30228373, Consumer Id: 835298, Address Id: 11892966 => Updated with Vin: 1G1ZS52F25F319025 ## Mail History Id: 30228124, Consumer Id: 773380, Address Id: 11851336 => Updated with Vin: 1GNEK13T0YJ189757 ## Mail History Id: 30228151, Consumer Id: 826696, Address Id: 11874677 => Updated with Vin: 2G1WH55K829331341 ## Mail History Id: 30228955, Consumer Id: 839464, Address Id: 11895304 => Updated with Vin: 2G1WB58K069377278 ## Mail History Id: 30228033, Consumer Id: 824383, Address Id: 11879445 => Updated with Vin: 1GNEK13Z23R261637 ## Mail History Id: 30227933, Consumer Id: 824349, Address Id: 11879986 => Updated with Vin: 1GNEC13TX1R178608 ## Mail History Id: 30228547, Consumer Id: 828505, Address Id: 11883236 => Updated with Vin: 2GCEK19T721286004 ## Mail History Id: 30229087, Consumer Id: 827114, Address Id: 4197702 => Updated with Vin: 1GNEK13Z64J124880 ## Mail History Id: 30227866, Consumer Id: 815772, Address Id: 11890484 => Updated with Vin: 2CNDL33F886054090 ## Mail History Id: 30228636, Consumer Id: 833551, Address Id: 11891676 => Updated with Vin: 1GCEC19X25Z191748 ## Mail History Id: 30228191, Consumer Id: 826533, Address Id: 1299972 => Updated with Vin: 3GNFK16RXXG131109 ## Mail History Id: 30228159, Consumer Id: 834557, Address Id: 11886677 => Updated with Vin: 1GNCS18W6VK162885 ## Total mail_history records updated with vin numbers: 35 out of 41 ============================================================ ====== Tracking Id: 1375 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-20 11:15:45') AND us2_order_type_id = 3 ## Order found: 1771 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1771 AND product_id = 113 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3491 ## Mailing found: '13065' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229151, Consumer Id: 808641, Address Id: 11883044 => Updated with Vin: 2G4WF551511287893 ## Mail History Id: 30229111, Consumer Id: 810472, Address Id: 11885082 => Updated with Vin: 2G1WF52E759191422 ## Mail History Id: 30229123, Consumer Id: 811311, Address Id: 11886671 => Updated with Vin: 1GCEK19Z37Z159060 ## Mail History Id: 30229318, Consumer Id: 812738, Address Id: 1300435 => Updated with Vin: 1GCEC19X67Z153197 ## Mail History Id: 30229147, Consumer Id: 815494, Address Id: 11881859 => Updated with Vin: 1C3EL75R25N588592 ## Mail History Id: 30229121, Consumer Id: 837429, Address Id: 11883392 => Updated with Vin: 1G1ND52F85M138189 ## Mail History Id: 30229300, Consumer Id: 833039, Address Id: 11891334 => Updated with Vin: 2GTEK19T911140136 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 1376 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-20 11:15:56') AND us2_order_type_id = 3 ## Order found: 1771 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1771 AND product_id = 112 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3491 ## Mailing found: '13065' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229298, Consumer Id: 808867, Address Id: 11883468 => Updated with Vin: 1GNEC13T55R196682 ## Mail History Id: 30229155, Consumer Id: 815495, Address Id: 11890278 => Updated with Vin: KL1TD66638B117790 ## Mail History Id: 30229304, Consumer Id: 815503, Address Id: 1298304 => Updated with Vin: 1G1AK58F387180168 ## Mail History Id: 30229292, Consumer Id: 815792, Address Id: 11890499 => Updated with Vin: 1D8HB58P87F576584 ## Mail History Id: 30229143, Consumer Id: 815795, Address Id: 11890501 => Updated with Vin: 2G4WD582261159757 ## Mail History Id: 30229153, Consumer Id: 827250, Address Id: 11881850 => Updated with Vin: 2GCEC19V811206108 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 1377 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-20 11:17:08') AND us2_order_type_id = 3 ## Order found: 1772 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1772 AND product_id = 144 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3705 ## Mailing found: '13044' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228782, Consumer Id: 973036, Address Id: 10452613 => Updated with Vin: 2G2WC55CX81159033 ## Mail History Id: 30228706, Consumer Id: 973034, Address Id: 14843312 => Updated with Vin: 1G2ZF57B884250315 ## Mail History Id: 30228770, Consumer Id: 973037, Address Id: 14843314 => Updated with Vin: JN1AZ34E95M655052 ## Mail History Id: 30228756, Consumer Id: 973038, Address Id: 9273627 => Updated with Vin: 2GCEC13Z261292289 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1378 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-20 11:17:18') AND us2_order_type_id = 3 ## Order found: 1772 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1772 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1379 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-20 11:17:30') AND us2_order_type_id = 3 ## Order found: 1772 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1772 AND product_id = 112 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3705 ## Mailing found: '13066' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1380 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-20 11:17:59') AND us2_order_type_id = 3 ## Order found: 1773 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1773 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3808 ## Mailing found: '13047' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228538, Consumer Id: 1172206, Address Id: 15030284 => Updated with Vin: 2G1WT58K469116085 ## Mail History Id: 30228532, Consumer Id: 1172226, Address Id: 15030301 => Updated with Vin: 2GCEC19R0V1191385 ## Mail History Id: 30228520, Consumer Id: 1172190, Address Id: 15030272 => Updated with Vin: 1GCEC19T13Z354979 ## Mail History Id: 30228528, Consumer Id: 1171211, Address Id: 15029422 => Updated with Vin: 2GCEC19T421285437 ## Mail History Id: 30228554, Consumer Id: 1172228, Address Id: 15030303 => Updated with Vin: 5B4MP67G143378485 ## Mail History Id: 30228546, Consumer Id: 1172198, Address Id: 15030278 => Updated with Vin: 1GCHK23U21F210315 ## Total mail_history records updated with vin numbers: 6 out of 11 ============================================================ ====== Tracking Id: 1381 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-20 11:18:03') AND us2_order_type_id = 3 ## Order found: 1773 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1773 AND product_id = 112 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3808 ## Mailing found: '13067' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229264, Consumer Id: 1170995, Address Id: 15029223 => Updated with Vin: 1G1JC1241V7325698 ## Mail History Id: 30229238, Consumer Id: 1171126, Address Id: 15029344 => Updated with Vin: 1GCGG29R421131503 ## Mail History Id: 30229262, Consumer Id: 1170962, Address Id: 15029192 => Updated with Vin: 2G1WF52E829225914 ## Mail History Id: 30229236, Consumer Id: 1170999, Address Id: 11564376 => Updated with Vin: 2G1WL52M3X9121676 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1382 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-20 11:18:14') AND us2_order_type_id = 3 ## Order found: 1773 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1773 AND product_id = 113 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3808 ## Mailing found: '13067' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229244, Consumer Id: 1266062, Address Id: 15437623 => Updated with Vin: 3GNFK16T84G277791 ## Mail History Id: 30229254, Consumer Id: 1265794, Address Id: 15437385 => Updated with Vin: 1G2HX53L3N1217873 ## Mail History Id: 30229250, Consumer Id: 1266107, Address Id: 15437664 => Updated with Vin: 3G1JC5247XS853600 ## Mail History Id: 30229266, Consumer Id: 1266050, Address Id: 5229170 => Updated with Vin: 1GBGC24K6ME151077 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1383 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-20 11:18:26') AND us2_order_type_id = 3 ## Order found: 1773 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1773 AND product_id = 114 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3808 ## Mailing found: '13067' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1384 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-20 11:44:17') AND us2_order_type_id = 3 ## Order found: 1774 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1774 AND product_id = 142 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3357 ## Mailing found: '13037' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229090, Consumer Id: 957462, Address Id: 11966446 => Updated with Vin: 1FMPU16585LA01913 ## Mail History Id: 30229058, Consumer Id: 957461, Address Id: 11715082 => Updated with Vin: 1MEFM13P5XW619213 ## Mail History Id: 30229076, Consumer Id: 188850, Address Id: 397490 => Updated with Vin: 1FTSW31F62EC01581 ## Mail History Id: 30229034, Consumer Id: 155768, Address Id: 397803 => Updated with Vin: JM1BK12F651282723 ## Mail History Id: 30229042, Consumer Id: 152878, Address Id: 395176 => Updated with Vin: JM1GG12L561105160 ## Mail History Id: 30229066, Consumer Id: 155051, Address Id: 397140 => Updated with Vin: JM3ER29L170157803 ## Mail History Id: 30229056, Consumer Id: 956740, Address Id: 11966002 => Updated with Vin: JTHBJ46G072021865 ## Mail History Id: 30229012, Consumer Id: 154816, Address Id: 396938 => Updated with Vin: 1ZVFT85H575247247 ## Mail History Id: 30229074, Consumer Id: 154323, Address Id: 396492 => Updated with Vin: 1FTPW12547KB53538 ## Mail History Id: 30229048, Consumer Id: 957457, Address Id: 400400 => Updated with Vin: 1FTRW07W01KA55117 ## Mail History Id: 30229020, Consumer Id: 155481, Address Id: 397530 => Updated with Vin: 1ZVHT80N285105560 ## Mail History Id: 30229010, Consumer Id: 871173, Address Id: 11911723 => Updated with Vin: 4F2CZ49H68KM11860 ## Mail History Id: 30229018, Consumer Id: 496207, Address Id: 9830823 => Updated with Vin: 5LMPU28A2XLJ25384 ## Total mail_history records updated with vin numbers: 13 out of 25 ============================================================ ====== Tracking Id: 1385 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-20 11:44:23') AND us2_order_type_id = 3 ## Order found: 1774 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1774 AND product_id = 112 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3357 ## Mailing found: '13060' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229313, Consumer Id: 196904, Address Id: 405186 => Updated with Vin: 1FAFP42XX1F196301 ## Mail History Id: 30229317, Consumer Id: 192966, Address Id: 402654 => Updated with Vin: 1FTRW07W31KE69024 ## Mail History Id: 30229267, Consumer Id: 197322, Address Id: 407175 => Updated with Vin: JM3LW28A720328711 ## Mail History Id: 30229323, Consumer Id: 190314, Address Id: 400426 => Updated with Vin: 1FMDU85W34ZB11317 ## Mail History Id: 30229277, Consumer Id: 191738, Address Id: 402094 => Updated with Vin: 1FTPW14564KD50705 ## Mail History Id: 30229315, Consumer Id: 188027, Address Id: 398564 => Updated with Vin: JM3LW28G9Y0147171 ## Mail History Id: 30229319, Consumer Id: 190920, Address Id: 402018 => Updated with Vin: 2FDHP74W85X101942 ## Mail History Id: 30229283, Consumer Id: 197425, Address Id: 406774 => Updated with Vin: 1FAFP53U96A105713 ## Mail History Id: 30229279, Consumer Id: 196037, Address Id: 405096 => Updated with Vin: 1FALP52U0VG174841 ## Mail History Id: 30229289, Consumer Id: 155047, Address Id: 397136 => Updated with Vin: 1FMCU59H98KA96942 ## Mail History Id: 30229255, Consumer Id: 155432, Address Id: 397484 => Updated with Vin: 1FMFU16548LA30373 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 1386 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1387 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1388 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1389 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1390 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1391 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1392 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1393 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1394 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1395 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1396 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1397 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1398 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1399 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1400 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1401 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1402 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1403 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1404 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1405 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1406 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1407 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1408 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1409 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1410 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1411 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1412 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1413 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1414 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1415 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1416 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1417 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1418 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1419 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1420 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1421 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1422 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1423 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1424 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1425 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1426 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1427 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1428 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1429 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1430 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1431 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1432 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1433 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1434 =========================== ============================================================ ## Customer Id is 0...Exit. ============================================================ ====== Tracking Id: 1435 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-20 12:16:03') AND us2_order_type_id = 3 ## Order found: 1775 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1775 AND product_id = 112 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3427 ## Mailing found: '13061' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229162, Consumer Id: 496540, Address Id: 8195359 => Updated with Vin: JHMES95623S031663 ## Mail History Id: 30229196, Consumer Id: 496375, Address Id: 9830938 => Updated with Vin: 1HGEM21961L110345 ## Mail History Id: 30229142, Consumer Id: 499839, Address Id: 326133 => Updated with Vin: 1HGCM56744A071397 ## Mail History Id: 30229176, Consumer Id: 499838, Address Id: 9834139 => Updated with Vin: 1HGCG5651YA085351 ## Mail History Id: 30229160, Consumer Id: 494843, Address Id: 330379 => Updated with Vin: 2HGEJ6679YH518871 ## Mail History Id: 30229146, Consumer Id: 491234, Address Id: 327396 => Updated with Vin: JHLRD78872C031992 ## Mail History Id: 30229140, Consumer Id: 505985, Address Id: 325820 => Updated with Vin: JHMBB6145YC009650 ## Mail History Id: 30229116, Consumer Id: 512032, Address Id: 9844604 => Updated with Vin: 1HGFA16596L020238 ## Mail History Id: 30229180, Consumer Id: 496652, Address Id: 7556012 => Updated with Vin: 2HKYF18543H579315 ## Mail History Id: 30229110, Consumer Id: 501764, Address Id: 9836718 => Updated with Vin: JHMEJ864XYS001943 ## Mail History Id: 30229138, Consumer Id: 492416, Address Id: 325770 => Updated with Vin: 2HKRL18691H594301 ## Mail History Id: 30229136, Consumer Id: 495088, Address Id: 325539 => Updated with Vin: 1HGCM82643A021225 ## Mail History Id: 30229104, Consumer Id: 501763, Address Id: 9836717 => Updated with Vin: 5FNRL18514B126072 ## Mail History Id: 30229190, Consumer Id: 504043, Address Id: 9839159 => Updated with Vin: JHMES96665S001423 ## Mail History Id: 30229170, Consumer Id: 513873, Address Id: 9827464 => Updated with Vin: 1HGCM56716A044967 ## Mail History Id: 30229132, Consumer Id: 471473, Address Id: 325139 => Updated with Vin: 5FNRL38806B067556 ## Mail History Id: 30229194, Consumer Id: 471468, Address Id: 9833067 => Updated with Vin: 5J6YH28726L010538 ## Mail History Id: 30229144, Consumer Id: 473931, Address Id: 326367 => Updated with Vin: 5FNYF18537B007544 ## Mail History Id: 30229158, Consumer Id: 514136, Address Id: 9845818 => Updated with Vin: JHLRD1849XC073842 ## Total mail_history records updated with vin numbers: 19 out of 20 ============================================================ ====== Tracking Id: 1436 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-20 12:16:13') AND us2_order_type_id = 3 ## Order found: 1776 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1776 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3471 ## Mailing found: '13041' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228860, Consumer Id: 799924, Address Id: 7416059 => Updated with Vin: 1GHDT13WXX2715973 ## Mail History Id: 30228866, Consumer Id: 797822, Address Id: 7416128 => Updated with Vin: 1G6KY54992U266896 ## Mail History Id: 30228868, Consumer Id: 798944, Address Id: 7416278 => Updated with Vin: 1G6EL12Y9YB702570 ## Mail History Id: 30228870, Consumer Id: 760282, Address Id: 10214448 => Updated with Vin: 1G6KY5499WU900116 ## Mail History Id: 30228902, Consumer Id: 807448, Address Id: 10216005 => Updated with Vin: 1G6KD57Y85U138474 ## Mail History Id: 30228854, Consumer Id: 798916, Address Id: 10559979 => Updated with Vin: 1G6KY5491XU904470 ## Mail History Id: 30228832, Consumer Id: 800993, Address Id: 7878296 => Updated with Vin: 1G6KD54Y8YU224313 ## Mail History Id: 30228950, Consumer Id: 802544, Address Id: 11871941 => Updated with Vin: 1G3NL52E31C121589 ## Mail History Id: 30228940, Consumer Id: 818294, Address Id: 10220783 => Updated with Vin: 1G6KD54Y65U150773 ## Mail History Id: 30228960, Consumer Id: 772905, Address Id: 11873966 => Updated with Vin: 1GYFK63837R388754 ## Mail History Id: 30228930, Consumer Id: 800121, Address Id: 10217600 => Updated with Vin: 1G6KD54Y71U236295 ## Mail History Id: 30228958, Consumer Id: 799695, Address Id: 11870495 => Updated with Vin: 1G6KE57Y61U155930 ## Mail History Id: 30228944, Consumer Id: 799601, Address Id: 11870457 => Updated with Vin: 1GHDX13E93D135169 ## Mail History Id: 30228826, Consumer Id: 798451, Address Id: 7878188 => Updated with Vin: 1GYEK63N72R103175 ## Mail History Id: 30228932, Consumer Id: 799094, Address Id: 10218714 => Updated with Vin: 1GYEK63N13R273338 ## Mail History Id: 30228828, Consumer Id: 803047, Address Id: 7878210 => Updated with Vin: 1G6KS54YX3U144106 ## Mail History Id: 30228822, Consumer Id: 805286, Address Id: 7878086 => Updated with Vin: 1GHDT13S242225987 ## Mail History Id: 30228972, Consumer Id: 806981, Address Id: 826994 => Updated with Vin: 3GYFK66N04G284042 ## Mail History Id: 30228876, Consumer Id: 821221, Address Id: 10561046 => Updated with Vin: 1GYFK66877R204766 ## Mail History Id: 30228840, Consumer Id: 820483, Address Id: 7878659 => Updated with Vin: 1GYEE63A960170990 ## Mail History Id: 30228926, Consumer Id: 821723, Address Id: 11876565 => Updated with Vin: 3GYFK66NX6G231061 ## Mail History Id: 30228850, Consumer Id: 773046, Address Id: 11874251 => Updated with Vin: 1G6DP577660170128 ## Mail History Id: 30228922, Consumer Id: 823446, Address Id: 11876532 => Updated with Vin: 1G6DM57N130166099 ## Mail History Id: 30228884, Consumer Id: 799875, Address Id: 10214885 => Updated with Vin: 1G6KD54Y83U100860 ## Total mail_history records updated with vin numbers: 24 out of 29 ============================================================ ====== Tracking Id: 1437 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-20 12:16:18') AND us2_order_type_id = 3 ## Order found: 1776 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1776 AND product_id = 112 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3471 ## Mailing found: '13063' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1438 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-20 14:14:10') AND us2_order_type_id = 3 ## Order found: 1777 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1777 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3418 ## Mailing found: '13039' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228386, Consumer Id: 626925, Address Id: 6772071 => Updated with Vin: 1G6KD57986U138419 ## Mail History Id: 30228334, Consumer Id: 678278, Address Id: 6608805 => Updated with Vin: 1G6DM577740184514 ## Mail History Id: 30228356, Consumer Id: 612279, Address Id: 11755992 => Updated with Vin: 1G6KF57963U278152 ## Mail History Id: 30228354, Consumer Id: 610901, Address Id: 11755562 => Updated with Vin: 1G6KD57978U112414 ## Mail History Id: 30228354, Consumer Id: 610901, Address Id: 11755562 => Updated with Vin: 1G6KD57978U112414 ## Mail History Id: 30228382, Consumer Id: 610896, Address Id: 11755557 => Updated with Vin: 1GYFK63808R214903 ## Mail History Id: 30228366, Consumer Id: 681172, Address Id: 11794676 => Updated with Vin: 1GKER23737J137149 ## Mail History Id: 30228316, Consumer Id: 610910, Address Id: 6912503 => Updated with Vin: 1G6KD57968U172331 ## Mail History Id: 30228368, Consumer Id: 610401, Address Id: 11755131 => Updated with Vin: 1G6DV57V980131895 ## Mail History Id: 30228380, Consumer Id: 626900, Address Id: 11764560 => Updated with Vin: 1G6KD54Y44U226263 ## Mail History Id: 30228348, Consumer Id: 665687, Address Id: 11784658 => Updated with Vin: 1G6KD54Y53U260517 ## Mail History Id: 30228362, Consumer Id: 678451, Address Id: 11793033 => Updated with Vin: 1G6DM57T960197362 ## Mail History Id: 30228336, Consumer Id: 678314, Address Id: 11792952 => Updated with Vin: 1G6DW677270137752 ## Mail History Id: 30228332, Consumer Id: 664061, Address Id: 10326571 => Updated with Vin: 1GYEK63N42R102887 ## Mail History Id: 30228384, Consumer Id: 680142, Address Id: 11418354 => Updated with Vin: 1G6DM57T970195564 ## Mail History Id: 30228378, Consumer Id: 610899, Address Id: 11755560 => Updated with Vin: 1G6DD67V580129456 ## Total mail_history records updated with vin numbers: 16 out of 30 ============================================================ ====== Tracking Id: 1439 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-20 14:14:18') AND us2_order_type_id = 3 ## Order found: 1778 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1778 AND product_id = 114 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3451 ## Mailing found: '13062' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229213, Consumer Id: 614789, Address Id: 4107123 => Updated with Vin: 1G6EL12Y2XU608792 ## Mail History Id: 30229179, Consumer Id: 619327, Address Id: 824252 => Updated with Vin: JHLRD186X1C012895 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1440 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-20 14:14:30') AND us2_order_type_id = 3 ## Order found: 1778 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1778 AND product_id = 112 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3451 ## Mailing found: '13062' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229171, Consumer Id: 628095, Address Id: 11765437 => Updated with Vin: 1G6DM57T570132882 ## Mail History Id: 30229173, Consumer Id: 612998, Address Id: 823391 => Updated with Vin: 1G6KD54Y6YU161759 ## Mail History Id: 30229181, Consumer Id: 613290, Address Id: 825468 => Updated with Vin: 1G6KD54Y22U146618 ## Mail History Id: 30229207, Consumer Id: 616912, Address Id: 11758852 => Updated with Vin: 3GYFK66N24G166395 ## Mail History Id: 30229231, Consumer Id: 628377, Address Id: 3243633 => Updated with Vin: 1G6DW677770135351 ## Mail History Id: 30229183, Consumer Id: 613101, Address Id: 11756529 => Updated with Vin: 1G6KD54YXYU225902 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 1441 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-20 14:14:45') AND us2_order_type_id = 3 ## Order found: 1778 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1778 AND product_id = 113 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3451 ## Mailing found: '13062' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1442 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-20 20:14:14') AND us2_order_type_id = 3 ## Order found: 1781 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1781 AND product_id = 2147 ## Job Group Found: '562' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('562') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408002') AND customer_id = 3503 ## Mailing found: '13414' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31003312, Consumer Id: 270994, Address Id: 473928 => Updated with Vin: 4T1BG22K41U836866 ## Mail History Id: 31003314, Consumer Id: 2173686, Address Id: 9721581 => Updated with Vin: JTEHF21A920084483 ## Mail History Id: 31003316, Consumer Id: 2161720, Address Id: 9722405 => Updated with Vin: 2T1BR32E25C437293 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1443 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-20 20:14:28') AND us2_order_type_id = 3 ## Order found: 1781 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1781 AND product_id = 2153 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3503 ## Mailing found: '13380' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998403, Consumer Id: 2176621, Address Id: 9725430 => Updated with Vin: 5TDZA23C14S043402 ## Mail History Id: 30998569, Consumer Id: 2177221, Address Id: 9726405 => Updated with Vin: 4T3ZF13C82U477839 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1444 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-21 07:48:53') AND us2_order_type_id = 3 ## Order found: 1796 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1796 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3503 ## Mailing found: '13402,13913' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992272, Consumer Id: 2166939, Address Id: 9733882 => Updated with Vin: 5TFBT54137X002472 ## Mail History Id: 30992426, Consumer Id: 394491, Address Id: 9723349 => Updated with Vin: JTEHH20V326044377 ## Mail History Id: 30992962, Consumer Id: 2159515, Address Id: 9724298 => Updated with Vin: 2T1KR32E74C267415 ## Mail History Id: 30992263, Consumer Id: 2168390, Address Id: 9735767 => Updated with Vin: 5TDBK23C27S007401 ## Mail History Id: 30992318, Consumer Id: 304520, Address Id: 8777409 => Updated with Vin: 4T1BK46KX8U565035 ## Mail History Id: 30992326, Consumer Id: 2177368, Address Id: 9726528 => Updated with Vin: 4T1BE32K12U632863 ## Mail History Id: 30992274, Consumer Id: 2174730, Address Id: 9722843 => Updated with Vin: JTEGF21A830078400 ## Mail History Id: 30992240, Consumer Id: 2168173, Address Id: 9735592 => Updated with Vin: 2T1BR32EX6C676883 ## Mail History Id: 30993271, Consumer Id: 2175735, Address Id: 9723987 => Updated with Vin: JT2BG28K2W0110507 ## Mail History Id: 30992717, Consumer Id: 2165799, Address Id: 4416098 => Updated with Vin: JTDKB20U467537021 ## Mail History Id: 30992157, Consumer Id: 2167280, Address Id: 9734663 => Updated with Vin: JTDKB20U777608472 ## Mail History Id: 30992837, Consumer Id: 2160338, Address Id: 9725822 => Updated with Vin: JTEEP21A940054743 ## Mail History Id: 30993225, Consumer Id: 2178644, Address Id: 9729175 => Updated with Vin: 4T1BE32K64U826839 ## Mail History Id: 30992139, Consumer Id: 2173043, Address Id: 9720791 => Updated with Vin: 4T1BF28B81U115329 ## Mail History Id: 30992278, Consumer Id: 2158961, Address Id: 9722501 => Updated with Vin: 2T1LR32E34C203425 ## Mail History Id: 30993177, Consumer Id: 2177928, Address Id: 9727627 => Updated with Vin: 4T1BE30K44U272106 ## Mail History Id: 30992269, Consumer Id: 2171798, Address Id: 9719519 => Updated with Vin: 5TBBT48183S349826 ## Mail History Id: 30992115, Consumer Id: 2168181, Address Id: 1728071 => Updated with Vin: JTEEW21A370044250 ## Mail History Id: 30993547, Consumer Id: 2174639, Address Id: 9719821 => Updated with Vin: 2T1BB02E0TC157579 ## Mail History Id: 30993589, Consumer Id: 2163954, Address Id: 9730361 => Updated with Vin: JTDKB20U663151255 ## Mail History Id: 30993479, Consumer Id: 2160555, Address Id: 9725986 => Updated with Vin: 5TDBA22C04S027047 ## Mail History Id: 30992567, Consumer Id: 2171906, Address Id: 9719625 => Updated with Vin: JT3HT05J3Y0084830 ## Mail History Id: 30992549, Consumer Id: 2159946, Address Id: 9725090 => Updated with Vin: 4T1BE32K54U893982 ## Mail History Id: 30992577, Consumer Id: 2166029, Address Id: 9732981 => Updated with Vin: 4T1BK36B47U177176 ## Mail History Id: 30992649, Consumer Id: 2177506, Address Id: 9718965 => Updated with Vin: JTEHF21A120055981 ## Mail History Id: 30992533, Consumer Id: 2178224, Address Id: 9726118 => Updated with Vin: JT3HN87R7X0225103 ## Mail History Id: 30993363, Consumer Id: 2177345, Address Id: 9726512 => Updated with Vin: 2T1BR32EX4C180205 ## Mail History Id: 30992462, Consumer Id: 2161571, Address Id: 9727424 => Updated with Vin: JTEHD20V656023233 ## Mail History Id: 30992335, Consumer Id: 2169502, Address Id: 453002 => Updated with Vin: JTEBU11F170020978 ## Mail History Id: 30992319, Consumer Id: 2166954, Address Id: 9733893 => Updated with Vin: 5TDBK23C87S000873 ## Mail History Id: 30992225, Consumer Id: 2171719, Address Id: 8790379 => Updated with Vin: JT2BC52L1T7042119 ## Mail History Id: 30993739, Consumer Id: 2179372, Address Id: 9720797 => Updated with Vin: 2T1BR32E94C300558 ## Mail History Id: 30992603, Consumer Id: 2168007, Address Id: 9735463 => Updated with Vin: 4T1BE46K37U167882 ## Mail History Id: 30992895, Consumer Id: 2158622, Address Id: 9721346 => Updated with Vin: JTEHH20V636089279 ## Mail History Id: 30992947, Consumer Id: 2162102, Address Id: 9719603 => Updated with Vin: JTEGD21A950126026 ## Mail History Id: 30992959, Consumer Id: 2180582, Address Id: 474955 => Updated with Vin: 5TDBT48A24S223180 ## Mail History Id: 30992172, Consumer Id: 310086, Address Id: 8722437 => Updated with Vin: 4T1BE32K23U754472 ## Mail History Id: 30992521, Consumer Id: 2006611, Address Id: 9737914 => Updated with Vin: 2T1BA02E5VC201484 ## Mail History Id: 30992196, Consumer Id: 2160149, Address Id: 9725246 => Updated with Vin: JTEGD21A540092844 ## Mail History Id: 30992859, Consumer Id: 2167540, Address Id: 9734859 => Updated with Vin: 4T1BK36B67U231058 ## Mail History Id: 30992847, Consumer Id: 2176163, Address Id: 9722526 => Updated with Vin: JT3HP10V8Y7160540 ## Mail History Id: 30992761, Consumer Id: 1210064, Address Id: 9743575 => Updated with Vin: 5N1ED28Y7YC533405 ## Mail History Id: 30992379, Consumer Id: 2178858, Address Id: 9729257 => Updated with Vin: JT3HJ85J9V0168215 ## Total mail_history records updated with vin numbers: 43 out of 74 ============================================================ ====== Tracking Id: 1445 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-21 08:39:20') AND us2_order_type_id = 3 ## Order found: 1797 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1797 AND product_id = 113 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3230 ## Mailing found: '13059' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229224, Consumer Id: 65582, Address Id: 49646 => Updated with Vin: 1FTPX14585FA17879 ## Mail History Id: 30229228, Consumer Id: 65073, Address Id: 51304 => Updated with Vin: 1FTNW21P94EA84940 ## Mail History Id: 30229234, Consumer Id: 93527, Address Id: 49940 => Updated with Vin: 1FTSW21RX8ED00840 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 1446 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-21 08:39:40') AND us2_order_type_id = 3 ## Order found: 1797 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1797 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3230 ## Mailing found: '13036' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228486, Consumer Id: 64355, Address Id: 48977 => Updated with Vin: 1FMYU94115KC93042 ## Mail History Id: 30228456, Consumer Id: 93272, Address Id: 47774 => Updated with Vin: 1FAHP34N07W339148 ## Total mail_history records updated with vin numbers: 2 out of 4 ============================================================ ====== Tracking Id: 1447 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-21 10:12:37') AND us2_order_type_id = 3 ## Order found: 1798 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1798 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3416 ## Mailing found: '13038' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228426, Consumer Id: 693064, Address Id: 4782543 => Updated with Vin: 1G6DM57NX30147762 ## Mail History Id: 30228414, Consumer Id: 627106, Address Id: 1965772 => Updated with Vin: 1G6KE57Y1YU220550 ## Mail History Id: 30228428, Consumer Id: 625148, Address Id: 1968945 => Updated with Vin: 1GYEE63A970169873 ## Mail History Id: 30228392, Consumer Id: 627205, Address Id: 1959774 => Updated with Vin: 1G6KY54903U274757 ## Mail History Id: 30228408, Consumer Id: 688346, Address Id: 1964560 => Updated with Vin: 1GYEE637840189645 ## Mail History Id: 30228410, Consumer Id: 625324, Address Id: 1965594 => Updated with Vin: 1GYEE637640173735 ## Mail History Id: 30228440, Consumer Id: 626008, Address Id: 1969703 => Updated with Vin: 1G6KD57Y76U112482 ## Mail History Id: 30228422, Consumer Id: 684208, Address Id: 1968470 => Updated with Vin: 1GYEK63R9YR172462 ## Mail History Id: 30228404, Consumer Id: 629823, Address Id: 3760410 => Updated with Vin: 1GYEE637460176880 ## Mail History Id: 30228430, Consumer Id: 689434, Address Id: 1969048 => Updated with Vin: 1GYEK63N33R296555 ## Mail History Id: 30228444, Consumer Id: 692225, Address Id: 11798093 => Updated with Vin: 1G6DW677970126277 ## Mail History Id: 30228406, Consumer Id: 692344, Address Id: 4769681 => Updated with Vin: 1G6DM577440186771 ## Total mail_history records updated with vin numbers: 12 out of 25 ============================================================ ====== Tracking Id: 1448 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-21 10:16:41') AND us2_order_type_id = 3 ## Order found: 1799 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1799 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3795 ## Mailing found: '13407' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992736, Consumer Id: 1056434, Address Id: 3064367 => Updated with Vin: 2HKRL18621H531542 ## Mail History Id: 30992650, Consumer Id: 1057204, Address Id: 4726173 => Updated with Vin: 5J6YH18523L020538 ## Mail History Id: 30992624, Consumer Id: 1055370, Address Id: 175256 => Updated with Vin: 1HGCM56855A141676 ## Mail History Id: 30992940, Consumer Id: 1058707, Address Id: 14957027 => Updated with Vin: 1HGFA16817L052578 ## Mail History Id: 30992768, Consumer Id: 1059540, Address Id: 6870846 => Updated with Vin: 5FNRL38267B126090 ## Mail History Id: 30992658, Consumer Id: 1060632, Address Id: 3026367 => Updated with Vin: 1HGFA15518L040018 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 1449 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-21 10:19:31') AND us2_order_type_id = 3 ## Order found: 1800 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1800 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3815 ## Mailing found: '13048' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228262, Consumer Id: 1372039, Address Id: 6162357 => Updated with Vin: 1HGCM56704A126198 ## Mail History Id: 30228284, Consumer Id: 1372042, Address Id: 11307237 => Updated with Vin: 5FNYF18167B017711 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 1450 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-21 10:38:15') AND us2_order_type_id = 3 ## Order found: 1797 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1797 AND product_id = 140 ## Job Group Found: '504' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('504') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108005' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108005') AND customer_id = 3230 ## Mailing found: '13068' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1451 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-21 11:08:42') AND us2_order_type_id = 3 ## Order found: 1801 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1801 AND product_id = 112 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3486 ## Mailing found: '13064' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229218, Consumer Id: 484757, Address Id: 3856601 => Updated with Vin: 1G3NF52E21C273452 ## Mail History Id: 30229216, Consumer Id: 485296, Address Id: 4377913 => Updated with Vin: 1GNEC13T11J292429 ## Mail History Id: 30229208, Consumer Id: 480447, Address Id: 9824613 => Updated with Vin: 2GCEC13T161172852 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1452 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-21 11:10:10') AND us2_order_type_id = 3 ## Order found: 1802 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1802 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3491 ## Mailing found: '13042' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228375, Consumer Id: 808426, Address Id: 11882893 => Updated with Vin: 1G1ZT52855F237191 ## Mail History Id: 30227999, Consumer Id: 773245, Address Id: 1297747 => Updated with Vin: 1GNEC13T75R271964 ## Mail History Id: 30228325, Consumer Id: 957592, Address Id: 1302440 => Updated with Vin: 1D7HA18N24J259293 ## Mail History Id: 30229033, Consumer Id: 839745, Address Id: 11893704 => Updated with Vin: 1GAHG39U671200559 ## Mail History Id: 30229055, Consumer Id: 774325, Address Id: 11851947 => Updated with Vin: 1G2NE52E05M118258 ## Mail History Id: 30228413, Consumer Id: 809934, Address Id: 11884477 => Updated with Vin: 1G1AK15F567807995 ## Mail History Id: 30228511, Consumer Id: 773189, Address Id: 11851160 => Updated with Vin: 1GMDV03L25D202469 ## Mail History Id: 30227989, Consumer Id: 814159, Address Id: 11875891 => Updated with Vin: 1GNFC13017J389469 ## Mail History Id: 30228088, Consumer Id: 838868, Address Id: 11894995 => Updated with Vin: 3GNDA23D46S606239 ## Mail History Id: 30228007, Consumer Id: 814938, Address Id: 11889615 => Updated with Vin: 2GCEK19J671700766 ## Mail History Id: 30228811, Consumer Id: 959732, Address Id: 11874824 => Updated with Vin: 1G1AK18F387295751 ## Mail History Id: 30228315, Consumer Id: 814940, Address Id: 11889525 => Updated with Vin: 1GCCS19E688160182 ## Mail History Id: 30228667, Consumer Id: 815416, Address Id: 11890224 => Updated with Vin: 2CNDL23F786059193 ## Mail History Id: 30227879, Consumer Id: 956952, Address Id: 1293446 => Updated with Vin: 2GCEK13M071662647 ## Mail History Id: 30228596, Consumer Id: 815611, Address Id: 11889315 => Updated with Vin: 1G3NL52F24C117837 ## Mail History Id: 30228243, Consumer Id: 815563, Address Id: 11890325 => Updated with Vin: 1D7HU18D65S143718 ## Mail History Id: 30228517, Consumer Id: 872337, Address Id: 11912607 => Updated with Vin: 1N6AD07U26C402088 ## Mail History Id: 30228479, Consumer Id: 910959, Address Id: 11941076 => Updated with Vin: 1GCEC19J47Z573746 ## Mail History Id: 30228046, Consumer Id: 773275, Address Id: 11851239 => Updated with Vin: 2G1WU58R879196695 ## Mail History Id: 30229085, Consumer Id: 827726, Address Id: 11882192 => Updated with Vin: 1G1YY22G9X5133069 ## Mail History Id: 30228227, Consumer Id: 830448, Address Id: 11887201 => Updated with Vin: 2GCEC19T811269000 ## Mail History Id: 30228497, Consumer Id: 815756, Address Id: 11890471 => Updated with Vin: 2CNDL13F586048509 ## Mail History Id: 30228505, Consumer Id: 833379, Address Id: 11874658 => Updated with Vin: 1GNEC13Z44R197583 ## Mail History Id: 30228433, Consumer Id: 812931, Address Id: 1304028 => Updated with Vin: KL1TD56657B100059 ## Mail History Id: 30228659, Consumer Id: 957182, Address Id: 11880107 => Updated with Vin: 1G1YY32G1W5108994 ## Total mail_history records updated with vin numbers: 25 out of 27 ============================================================ ====== Tracking Id: 1453 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-21 11:10:29') AND us2_order_type_id = 3 ## Order found: 1802 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1802 AND product_id = 112 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3491 ## Mailing found: '13065' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229274, Consumer Id: 837380, Address Id: 11894106 => Updated with Vin: 3GNDA23P06S654816 ## Mail History Id: 30229125, Consumer Id: 837554, Address Id: 11894219 => Updated with Vin: 1GCDT13W91K248672 ## Mail History Id: 30229312, Consumer Id: 812111, Address Id: 11886928 => Updated with Vin: 2GCEK13MX71510147 ## Mail History Id: 30229306, Consumer Id: 814083, Address Id: 11884421 => Updated with Vin: 2GCEC13J871684950 ## Mail History Id: 30229316, Consumer Id: 814409, Address Id: 11888998 => Updated with Vin: 5NPEU46F96H059797 ## Mail History Id: 30229284, Consumer Id: 815968, Address Id: 11891176 => Updated with Vin: 2D4GP44L36R846517 ## Mail History Id: 30229129, Consumer Id: 839275, Address Id: 11884051 => Updated with Vin: 3GNEC16R7XG162777 ## Mail History Id: 30229131, Consumer Id: 825545, Address Id: 11880686 => Updated with Vin: 3GNFK16ZX3G150575 ## Mail History Id: 30229161, Consumer Id: 839859, Address Id: 11882586 => Updated with Vin: 2GCEK19T2X1237042 ## Mail History Id: 30229119, Consumer Id: 828815, Address Id: 11883957 => Updated with Vin: 2G1WF52E339129299 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 1454 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-21 11:10:42') AND us2_order_type_id = 3 ## Order found: 1802 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1802 AND product_id = 114 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3491 ## Mailing found: '13065' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229310, Consumer Id: 811375, Address Id: 11874560 => Updated with Vin: KL1TD66686B680475 ## Mail History Id: 30229105, Consumer Id: 830741, Address Id: 11875434 => Updated with Vin: 1G1JC12F047249522 ## Mail History Id: 30229149, Consumer Id: 827236, Address Id: 11881844 => Updated with Vin: 1G1YY22P1R5111974 ## Mail History Id: 30229127, Consumer Id: 828635, Address Id: 11883334 => Updated with Vin: 1GNCS13WX2K113952 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1455 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-21 11:12:09') AND us2_order_type_id = 3 ## Order found: 1803 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1803 AND product_id = 144 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3705 ## Mailing found: '13044' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228790, Consumer Id: 974647, Address Id: 14842914 => Updated with Vin: 2GTEC13T641399676 ## Mail History Id: 30228710, Consumer Id: 975319, Address Id: 10269590 => Updated with Vin: 2CNDL13F156160266 ## Mail History Id: 30228734, Consumer Id: 961372, Address Id: 14834495 => Updated with Vin: 2GCEC19V551295366 ## Mail History Id: 30228754, Consumer Id: 961540, Address Id: 14834616 => Updated with Vin: 2GCEC13T451402088 ## Mail History Id: 30228718, Consumer Id: 964351, Address Id: 14836865 => Updated with Vin: 1GNEC16Z66J176831 ## Mail History Id: 30228800, Consumer Id: 964836, Address Id: 14837276 => Updated with Vin: 1GCHG39U561123169 ## Mail History Id: 30228810, Consumer Id: 965954, Address Id: 14838113 => Updated with Vin: KL1TD56667B053883 ## Mail History Id: 30228736, Consumer Id: 966621, Address Id: 14838116 => Updated with Vin: 3GNDA13D86S637973 ## Mail History Id: 30228788, Consumer Id: 966743, Address Id: 14838714 => Updated with Vin: 6G2VX12U76L814006 ## Mail History Id: 30228802, Consumer Id: 973048, Address Id: 14836879 => Updated with Vin: 1FTWW31P45EA10238 ## Mail History Id: 30228808, Consumer Id: 968901, Address Id: 14840298 => Updated with Vin: 3GNDA33P67S614358 ## Mail History Id: 30228752, Consumer Id: 969729, Address Id: 14840921 => Updated with Vin: 2GCEC19J671721498 ## Mail History Id: 30228780, Consumer Id: 969741, Address Id: 14840927 => Updated with Vin: 1GCCS139578250501 ## Mail History Id: 30228768, Consumer Id: 971133, Address Id: 14841936 => Updated with Vin: 1G1ZT68N47F161808 ## Mail History Id: 30228816, Consumer Id: 971836, Address Id: 14842437 => Updated with Vin: 2GTEC638081149218 ## Mail History Id: 30228720, Consumer Id: 971955, Address Id: 14842517 => Updated with Vin: 1G2ZH58N874273434 ## Mail History Id: 30228748, Consumer Id: 973041, Address Id: 14843317 => Updated with Vin: 1GTHK23K68F202467 ## Mail History Id: 30228742, Consumer Id: 973057, Address Id: 14843328 => Updated with Vin: 1GNDV23W08D133397 ## Mail History Id: 30228716, Consumer Id: 973044, Address Id: 14843319 => Updated with Vin: 3GCEC13098G261150 ## Mail History Id: 30228806, Consumer Id: 973045, Address Id: 14843320 => Updated with Vin: 1G1AL55F477144697 ## Mail History Id: 30228726, Consumer Id: 973050, Address Id: 14838596 => Updated with Vin: 1GNDS13S482122513 ## Mail History Id: 30228708, Consumer Id: 973051, Address Id: 14843323 => Updated with Vin: 2GTEC13T941287566 ## Mail History Id: 30228722, Consumer Id: 973052, Address Id: 14843324 => Updated with Vin: 1G1ZT68NX7F206573 ## Mail History Id: 30228740, Consumer Id: 973065, Address Id: 10444398 => Updated with Vin: 3GTEC13J58G279783 ## Mail History Id: 30228744, Consumer Id: 960037, Address Id: 14831219 => Updated with Vin: 1G2HX54K624102944 ## Mail History Id: 30228762, Consumer Id: 975083, Address Id: 14843593 => Updated with Vin: 1G1ZS52FX4F224713 ## Mail History Id: 30228774, Consumer Id: 969026, Address Id: 14840378 => Updated with Vin: 1GKER23717J167413 ## Mail History Id: 30228796, Consumer Id: 1911405, Address Id: 14831575 => Updated with Vin: 1GNFC13068R212810 ## Mail History Id: 30228712, Consumer Id: 960803, Address Id: 14831522 => Updated with Vin: 2G4WB55K311265590 ## Mail History Id: 30228786, Consumer Id: 973287, Address Id: 14836941 => Updated with Vin: 1G6KE54Y9WU772492 ## Mail History Id: 30228766, Consumer Id: 979872, Address Id: 12057512 => Updated with Vin: 1G4HD57256U211140 ## Mail History Id: 30228804, Consumer Id: 977489, Address Id: 14845038 => Updated with Vin: 1GNES16S956150571 ## Mail History Id: 30228732, Consumer Id: 980512, Address Id: 14846703 => Updated with Vin: JT2DG02T4V0041154 ## Mail History Id: 30228772, Consumer Id: 980970, Address Id: 14846874 => Updated with Vin: 1GKFK638X7J269740 ## Total mail_history records updated with vin numbers: 34 out of 43 ============================================================ ====== Tracking Id: 1456 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-21 11:12:24') AND us2_order_type_id = 3 ## Order found: 1803 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1803 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1457 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-21 11:13:09') AND us2_order_type_id = 3 ## Order found: 1804 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1804 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3808 ## Mailing found: '13047' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228550, Consumer Id: 1177932, Address Id: 12128779 => Updated with Vin: 1GCEC14X98Z181360 ## Mail History Id: 30228552, Consumer Id: 1170696, Address Id: 15028946 => Updated with Vin: 1GNES13H962294493 ## Mail History Id: 30228548, Consumer Id: 1171179, Address Id: 15029393 => Updated with Vin: 1GCEC14X35Z240754 ## Mail History Id: 30228534, Consumer Id: 1171494, Address Id: 15029674 => Updated with Vin: 1GNDX03E41D110216 ## Mail History Id: 30228544, Consumer Id: 1270361, Address Id: 15451124 => Updated with Vin: 2G1WH55KX39241979 ## Mail History Id: 30228536, Consumer Id: 1285728, Address Id: 15451638 => Updated with Vin: 1GNFK16327R183409 ## Mail History Id: 30228540, Consumer Id: 1267824, Address Id: 15452726 => Updated with Vin: 2G1WW12E049308183 ## Total mail_history records updated with vin numbers: 7 out of 11 ============================================================ ====== Tracking Id: 1458 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-21 11:13:16') AND us2_order_type_id = 3 ## Order found: 1804 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1804 AND product_id = 113 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3808 ## Mailing found: '13067' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229260, Consumer Id: 1265777, Address Id: 15437369 => Updated with Vin: 2GCEK19TX21299958 ## Mail History Id: 30229252, Consumer Id: 1265779, Address Id: 15437371 => Updated with Vin: 2G1WH55K329316150 ## Mail History Id: 30229282, Consumer Id: 1265987, Address Id: 15437556 => Updated with Vin: 5B4KP57G133356941 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 1459 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-21 11:13:24') AND us2_order_type_id = 3 ## Order found: 1805 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1805 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3721 ## Mailing found: '13045' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1460 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-21 11:13:28') AND us2_order_type_id = 3 ## Order found: 1804 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1804 AND product_id = 112 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3808 ## Mailing found: '13067' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229240, Consumer Id: 1171042, Address Id: 15029267 => Updated with Vin: 1GBFG15R8T1003055 ## Mail History Id: 30229258, Consumer Id: 1170959, Address Id: 15029189 => Updated with Vin: 3GNFK16Z63G183914 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 1461 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-21 11:38:26') AND us2_order_type_id = 3 ## Order found: 1806 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1806 AND product_id = 142 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3357 ## Mailing found: '13037' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229060, Consumer Id: 199022, Address Id: 407583 => Updated with Vin: 1LNHM87A65Y655563 ## Mail History Id: 30229090, Consumer Id: 957462, Address Id: 11966446 => Updated with Vin: 1FMPU16585LA01913 ## Mail History Id: 30229028, Consumer Id: 189614, Address Id: 400833 => Updated with Vin: 1FTCR14X5LPA93691 ## Mail History Id: 30229050, Consumer Id: 189800, Address Id: 401570 => Updated with Vin: 1FTZF172X1NA76221 ## Mail History Id: 30229052, Consumer Id: 192043, Address Id: 401487 => Updated with Vin: 1FMDU74W72ZC65621 ## Mail History Id: 30229072, Consumer Id: 188174, Address Id: 399707 => Updated with Vin: 3FAHP31333R112777 ## Mail History Id: 30229086, Consumer Id: 958164, Address Id: 12034890 => Updated with Vin: 1GNEC16TX2J223493 ## Mail History Id: 30229086, Consumer Id: 958164, Address Id: 12034890 => Updated with Vin: 1GNEC16TX2J223493 ## Mail History Id: 30229026, Consumer Id: 188517, Address Id: 398676 => Updated with Vin: 1FMDU73W72ZC49260 ## Mail History Id: 30229068, Consumer Id: 958174, Address Id: 12034895 => Updated with Vin: 1G4HP52K534195984 ## Mail History Id: 30229068, Consumer Id: 958174, Address Id: 12034895 => Updated with Vin: 1G4HP52K534195984 ## Mail History Id: 30229036, Consumer Id: 174103, Address Id: 445942 => Updated with Vin: 1G1YY24U055116192 ## Mail History Id: 30229092, Consumer Id: 193861, Address Id: 403405 => Updated with Vin: JM1FE173360200753 ## Mail History Id: 30229088, Consumer Id: 152771, Address Id: 395077 => Updated with Vin: 1FMFU18546LA74383 ## Mail History Id: 30229012, Consumer Id: 154816, Address Id: 396938 => Updated with Vin: 1ZVFT85H575247247 ## Mail History Id: 30229032, Consumer Id: 155170, Address Id: 397248 => Updated with Vin: 2FMDK49C27BB28910 ## Mail History Id: 30229064, Consumer Id: 471301, Address Id: 9830109 => Updated with Vin: 2LMDU88C37BJ30656 ## Mail History Id: 30229022, Consumer Id: 955481, Address Id: 11965275 => Updated with Vin: 1FTYR10D77PA33015 ## Mail History Id: 30229082, Consumer Id: 155859, Address Id: 397889 => Updated with Vin: 3LNHM28T48R618320 ## Mail History Id: 30229024, Consumer Id: 958166, Address Id: 12034892 => Updated with Vin: JT2SK13E4N0079706 ## Mail History Id: 30229040, Consumer Id: 958165, Address Id: 12034891 => Updated with Vin: WDBHA23G6WA545836 ## Mail History Id: 30229030, Consumer Id: 958168, Address Id: 6486721 => Updated with Vin: 5LMPU28A7YLJ15385 ## Total mail_history records updated with vin numbers: 22 out of 26 ============================================================ ====== Tracking Id: 1462 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-21 11:38:32') AND us2_order_type_id = 3 ## Order found: 1806 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1806 AND product_id = 112 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3357 ## Mailing found: '13060' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229271, Consumer Id: 190210, Address Id: 398984 => Updated with Vin: 1FTSW31F31EB13845 ## Mail History Id: 30229275, Consumer Id: 192020, Address Id: 402436 => Updated with Vin: 1FMYU04161KC19329 ## Mail History Id: 30229287, Consumer Id: 189636, Address Id: 399389 => Updated with Vin: 4F2YU09192KM58243 ## Mail History Id: 30229265, Consumer Id: 192369, Address Id: 402496 => Updated with Vin: 1FMZU67E03UA10133 ## Mail History Id: 30229307, Consumer Id: 435548, Address Id: 9800086 => Updated with Vin: 1NXBR32E43Z164305 ## Mail History Id: 30229261, Consumer Id: 420553, Address Id: 9800033 => Updated with Vin: 1ZVFT82H955242456 ## Mail History Id: 30229309, Consumer Id: 191752, Address Id: 401747 => Updated with Vin: 2FMDA52245BA04564 ## Mail History Id: 30229301, Consumer Id: 198304, Address Id: 404724 => Updated with Vin: 1FMYU03125KA40017 ## Mail History Id: 30229299, Consumer Id: 195465, Address Id: 404699 => Updated with Vin: 1FTPX12596KB73716 ## Mail History Id: 30229295, Consumer Id: 435541, Address Id: 9800083 => Updated with Vin: 5LMFU28546LJ15758 ## Mail History Id: 30229285, Consumer Id: 153677, Address Id: 395900 => Updated with Vin: 1FMEU63EX6UA94101 ## Mail History Id: 30229303, Consumer Id: 197118, Address Id: 406746 => Updated with Vin: 1LNHM82W76Y636735 ## Mail History Id: 30229281, Consumer Id: 154852, Address Id: 396968 => Updated with Vin: 1FTRF12257NA46219 ## Mail History Id: 30229321, Consumer Id: 155404, Address Id: 397459 => Updated with Vin: 1ZVHT82H085116497 ## Mail History Id: 30229293, Consumer Id: 155530, Address Id: 397576 => Updated with Vin: 1FTYR10DX8PA45967 ## Mail History Id: 30229269, Consumer Id: 188993, Address Id: 399309 => Updated with Vin: 2FMDA5149YBA70566 ## Total mail_history records updated with vin numbers: 16 out of 17 ============================================================ ====== Tracking Id: 1463 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-21 12:11:08') AND us2_order_type_id = 3 ## Order found: 1807 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1807 AND product_id = 112 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3427 ## Mailing found: '13061' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229134, Consumer Id: 505603, Address Id: 325184 => Updated with Vin: JHMES96665S012406 ## Mail History Id: 30229122, Consumer Id: 498337, Address Id: 6821020 => Updated with Vin: 1HGCM56644A046619 ## Mail History Id: 30229186, Consumer Id: 490998, Address Id: 9826953 => Updated with Vin: 4S6DM58W914414807 ## Mail History Id: 30229198, Consumer Id: 497508, Address Id: 9831748 => Updated with Vin: 1HGCM66363A037186 ## Mail History Id: 30229128, Consumer Id: 502817, Address Id: 324613 => Updated with Vin: 2HKYF18644H607186 ## Mail History Id: 30229192, Consumer Id: 471465, Address Id: 9833065 => Updated with Vin: 5FNRL388X6B043653 ## Mail History Id: 30229148, Consumer Id: 483894, Address Id: 9838384 => Updated with Vin: 2HGFG12858H535333 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 1464 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-21 12:11:25') AND us2_order_type_id = 3 ## Order found: 1808 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1808 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3471 ## Mailing found: '13041' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228946, Consumer Id: 799374, Address Id: 11870359 => Updated with Vin: 1G6KF549XXU774811 ## Mail History Id: 30228890, Consumer Id: 798942, Address Id: 10215381 => Updated with Vin: 1G6KS54YXXU922944 ## Mail History Id: 30228878, Consumer Id: 817912, Address Id: 7416793 => Updated with Vin: 1G6KE57Y83U120129 ## Mail History Id: 30228858, Consumer Id: 798132, Address Id: 10213792 => Updated with Vin: 1G6ET129XXU614106 ## Mail History Id: 30228872, Consumer Id: 803942, Address Id: 7416726 => Updated with Vin: 3GYFK66N14G122095 ## Mail History Id: 30228928, Consumer Id: 799748, Address Id: 10217489 => Updated with Vin: 1GYEK63N22R165910 ## Mail History Id: 30228824, Consumer Id: 821825, Address Id: 7878142 => Updated with Vin: 1G6KD57926U179578 ## Mail History Id: 30228820, Consumer Id: 797807, Address Id: 7877946 => Updated with Vin: 1G3WH52H41F104217 ## Mail History Id: 30228936, Consumer Id: 805042, Address Id: 4231396 => Updated with Vin: 1G6KE57Y54U146754 ## Mail History Id: 30228856, Consumer Id: 800760, Address Id: 6527831 => Updated with Vin: 1G3HN52K6W4861054 ## Mail History Id: 30228916, Consumer Id: 802488, Address Id: 10216587 => Updated with Vin: 1G6KY549X1U209248 ## Mail History Id: 30228954, Consumer Id: 820635, Address Id: 11876710 => Updated with Vin: 1G6KY54951U208279 ## Mail History Id: 30228842, Consumer Id: 801907, Address Id: 7878791 => Updated with Vin: 1GYEK63NX2R290590 ## Mail History Id: 30228898, Consumer Id: 822395, Address Id: 10215646 => Updated with Vin: 1G6DM57N130153823 ## Mail History Id: 30228830, Consumer Id: 822870, Address Id: 11876207 => Updated with Vin: 1G6KD57Y37U213519 ## Mail History Id: 30228852, Consumer Id: 806888, Address Id: 7415679 => Updated with Vin: 1GYFK63848R176480 ## Mail History Id: 30228894, Consumer Id: 823404, Address Id: 11871788 => Updated with Vin: 1GKDT13S452350890 ## Mail History Id: 30228862, Consumer Id: 801909, Address Id: 7416095 => Updated with Vin: 1G6KD54Y03U217302 ## Total mail_history records updated with vin numbers: 18 out of 27 ============================================================ ====== Tracking Id: 1465 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-21 12:11:38') AND us2_order_type_id = 3 ## Order found: 1809 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1809 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3451 ## Mailing found: '13040' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228984, Consumer Id: 615827, Address Id: 11758196 => Updated with Vin: 1G6EL12YXYU168340 ## Mail History Id: 30228992, Consumer Id: 612538, Address Id: 11756185 => Updated with Vin: 1G6ET12982B100081 ## Mail History Id: 30228974, Consumer Id: 613114, Address Id: 829371 => Updated with Vin: 1G6KD54Y4XU700085 ## Mail History Id: 30229004, Consumer Id: 621788, Address Id: 11762188 => Updated with Vin: 1G6KD54Y64U168950 ## Mail History Id: 30229004, Consumer Id: 621788, Address Id: 11762188 => Updated with Vin: 1G6KD54Y64U168950 ## Mail History Id: 30228988, Consumer Id: 618330, Address Id: 11760040 => Updated with Vin: 1G6KF5492WU774896 ## Mail History Id: 30228976, Consumer Id: 621942, Address Id: 4107314 => Updated with Vin: 1G6DM56T150204448 ## Mail History Id: 30228994, Consumer Id: 622186, Address Id: 11762409 => Updated with Vin: 1G6DM56T250209691 ## Mail History Id: 30228964, Consumer Id: 624434, Address Id: 823398 => Updated with Vin: 1G6DM57N730122382 ## Mail History Id: 30228980, Consumer Id: 624736, Address Id: 832285 => Updated with Vin: 1GYEK13RXXR408778 ## Mail History Id: 30228998, Consumer Id: 611768, Address Id: 11759923 => Updated with Vin: 1G6KD57Y26U117007 ## Mail History Id: 30228982, Consumer Id: 611764, Address Id: 4550693 => Updated with Vin: 1G6KD54Y65U243034 ## Mail History Id: 30228966, Consumer Id: 611861, Address Id: 824896 => Updated with Vin: 1G6YV34A245602242 ## Mail History Id: 30228990, Consumer Id: 627930, Address Id: 11765327 => Updated with Vin: 3GYEK62N96G190942 ## Mail History Id: 30228978, Consumer Id: 628164, Address Id: 11765484 => Updated with Vin: 1G2JB5244Y7353652 ## Mail History Id: 30229002, Consumer Id: 663166, Address Id: 11782874 => Updated with Vin: 1G6DF577680179028 ## Mail History Id: 30229000, Consumer Id: 663167, Address Id: 11782875 => Updated with Vin: 1GYFK63867R325681 ## Total mail_history records updated with vin numbers: 17 out of 25 ============================================================ ====== Tracking Id: 1466 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-21 14:08:14') AND us2_order_type_id = 3 ## Order found: 1810 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1810 AND product_id = 143 ## Job Group Found: '500' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('500') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108001') AND customer_id = 3418 ## Mailing found: '13039' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30228312, Consumer Id: 611066, Address Id: 11755698 => Updated with Vin: 3GYFK66N74G274852 ## Mail History Id: 30228326, Consumer Id: 676861, Address Id: 11788393 => Updated with Vin: 1GYEE63A460203488 ## Mail History Id: 30228374, Consumer Id: 676178, Address Id: 11791729 => Updated with Vin: 1G6DP577760118541 ## Mail History Id: 30228376, Consumer Id: 611062, Address Id: 11755694 => Updated with Vin: 1G6DX67D580122103 ## Mail History Id: 30228328, Consumer Id: 675194, Address Id: 11791145 => Updated with Vin: 1G6KD57Y03U165374 ## Mail History Id: 30228320, Consumer Id: 675816, Address Id: 11791513 => Updated with Vin: 1G6DP577760182630 ## Mail History Id: 30228370, Consumer Id: 666407, Address Id: 11755487 => Updated with Vin: 1G6DM577540108368 ## Mail History Id: 30228364, Consumer Id: 675308, Address Id: 11791223 => Updated with Vin: 1G6KD57956U121383 ## Mail History Id: 30228318, Consumer Id: 611128, Address Id: 11755751 => Updated with Vin: 1G6DF577X80151541 ## Mail History Id: 30228372, Consumer Id: 680003, Address Id: 11793957 => Updated with Vin: 1G6DM57T170178984 ## Total mail_history records updated with vin numbers: 10 out of 19 ============================================================ ====== Tracking Id: 1467 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-21 14:08:25') AND us2_order_type_id = 3 ## Order found: 1809 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1809 AND product_id = 112 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3451 ## Mailing found: '13062' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229229, Consumer Id: 612997, Address Id: 11756467 => Updated with Vin: 1G6KD54Y32U147325 ## Mail History Id: 30229175, Consumer Id: 613285, Address Id: 823550 => Updated with Vin: 1G6DM57N530125832 ## Mail History Id: 30229203, Consumer Id: 628365, Address Id: 835089 => Updated with Vin: 1G4HD57297U198250 ## Mail History Id: 30229219, Consumer Id: 611952, Address Id: 3404539 => Updated with Vin: 1G6DW677960180208 ## Mail History Id: 30229221, Consumer Id: 611802, Address Id: 11756687 => Updated with Vin: 1G6KD57Y87U129258 ## Mail History Id: 30229193, Consumer Id: 622788, Address Id: 4107367 => Updated with Vin: 1G6KY5497YU226342 ## Mail History Id: 30229243, Consumer Id: 612128, Address Id: 11760478 => Updated with Vin: 1G6DP577070137207 ## Mail History Id: 30229197, Consumer Id: 619607, Address Id: 3241019 => Updated with Vin: 1G6DM57N130133314 ## Total mail_history records updated with vin numbers: 8 out of 9 ============================================================ ====== Tracking Id: 1468 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-21 14:08:37') AND us2_order_type_id = 3 ## Order found: 1809 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1809 AND product_id = 113 ## Job Group Found: '502' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('502') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082108003') AND customer_id = 3451 ## Mailing found: '13062' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30229217, Consumer Id: 616423, Address Id: 11758560 => Updated with Vin: 1G6ET1294XU614375 ## Mail History Id: 30229187, Consumer Id: 615241, Address Id: 829304 => Updated with Vin: 1G6KD54Y1YU303600 ## Mail History Id: 30229237, Consumer Id: 621575, Address Id: 3405614 => Updated with Vin: 1G6DP567150173163 ## Mail History Id: 30229199, Consumer Id: 628185, Address Id: 11765500 => Updated with Vin: 1G6DP567050184011 ## Mail History Id: 30229241, Consumer Id: 628178, Address Id: 11765494 => Updated with Vin: 1GYEC63T53R173528 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 1469 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-21 19:08:40') AND us2_order_type_id = 3 ## Order found: 1806 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1806 AND product_id = 55 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1470 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-21 20:08:24') AND us2_order_type_id = 3 ## Order found: 1796 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1796 AND product_id = 2152 ## Job Group Found: '566' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('566') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408006') AND customer_id = 3503 ## Mailing found: '13368' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30999302, Consumer Id: 2172300, Address Id: 9720023 => Updated with Vin: 4T1BF28B93U273469 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 1471 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-21 20:08:36') AND us2_order_type_id = 3 ## Order found: 1796 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1796 AND product_id = 2150 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3503 ## Mailing found: '13402,13913' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1472 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-21 20:08:48') AND us2_order_type_id = 3 ## Order found: 1796 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1796 AND product_id = 2153 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3503 ## Mailing found: '13380' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998389, Consumer Id: 2176209, Address Id: 9724724 => Updated with Vin: JTDBE32K720137174 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 1473 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-22 07:15:41') AND us2_order_type_id = 3 ## Order found: 1831 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1831 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3503 ## Mailing found: '13402,13913' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992401, Consumer Id: 2167995, Address Id: 9735452 => Updated with Vin: 5TDZK23C17S078720 ## Mail History Id: 30993481, Consumer Id: 2165757, Address Id: 9731277 => Updated with Vin: 5TELU42N56Z269654 ## Mail History Id: 30993047, Consumer Id: 2174887, Address Id: 9722994 => Updated with Vin: 1NXBR12E91Z426238 ## Mail History Id: 30993097, Consumer Id: 2166983, Address Id: 9728344 => Updated with Vin: 4T1BE32K54U278641 ## Mail History Id: 30993053, Consumer Id: 2167009, Address Id: 9733933 => Updated with Vin: 5TDZK22C87S015874 ## Mail History Id: 30993105, Consumer Id: 2166043, Address Id: 9732992 => Updated with Vin: 1NXBR32EX6Z671732 ## Mail History Id: 30992262, Consumer Id: 2174664, Address Id: 9722784 => Updated with Vin: 2T1KR32E13C087491 ## Mail History Id: 30992242, Consumer Id: 2167734, Address Id: 43476 => Updated with Vin: 4T1BE46K97U688962 ## Mail History Id: 30993261, Consumer Id: 2180706, Address Id: 9723582 => Updated with Vin: 2T1BR32E75C362350 ## Mail History Id: 30993255, Consumer Id: 2166442, Address Id: 9733302 => Updated with Vin: 4T1BK36B26U129500 ## Mail History Id: 30993157, Consumer Id: 2178555, Address Id: 9727774 => Updated with Vin: 4TAWN72N2WZ114806 ## Mail History Id: 30993179, Consumer Id: 2161387, Address Id: 9727294 => Updated with Vin: JTDKB20UX57005108 ## Mail History Id: 30992215, Consumer Id: 2169468, Address Id: 9738419 => Updated with Vin: 1NXBR32E76Z713273 ## Mail History Id: 30993253, Consumer Id: 2159896, Address Id: 9725050 => Updated with Vin: JTKKT624040062693 ## Mail History Id: 30993577, Consumer Id: 2175177, Address Id: 9723234 => Updated with Vin: 2T1BR12E7YC356038 ## Mail History Id: 30993577, Consumer Id: 2175177, Address Id: 9723234 => Updated with Vin: 2T1BR12E7YC356038 ## Mail History Id: 30992599, Consumer Id: 2162007, Address Id: 9728025 => Updated with Vin: 4T1CE38P36U582741 ## Mail History Id: 30993489, Consumer Id: 2166380, Address Id: 9733257 => Updated with Vin: JTKDE177470180467 ## Mail History Id: 30993567, Consumer Id: 2179304, Address Id: 9725252 => Updated with Vin: 4T1BE30K84U838168 ## Mail History Id: 30993563, Consumer Id: 2175936, Address Id: 9724162 => Updated with Vin: 4T1BE32K92U519162 ## Mail History Id: 30993637, Consumer Id: 2168111, Address Id: 9735539 => Updated with Vin: KMHDN46D44U905033 ## Mail History Id: 30993527, Consumer Id: 2168104, Address Id: 9722838 => Updated with Vin: JTNBE46K773124281 ## Mail History Id: 30993557, Consumer Id: 2163931, Address Id: 499870 => Updated with Vin: JTEBU14R060088239 ## Mail History Id: 30993471, Consumer Id: 2177527, Address Id: 9726940 => Updated with Vin: 4TAWM72NXTZ125941 ## Mail History Id: 30993493, Consumer Id: 2171531, Address Id: 9719260 => Updated with Vin: 4T1BG22K51U801480 ## Mail History Id: 30992849, Consumer Id: 2175188, Address Id: 9723244 => Updated with Vin: JT3HP10V5W7084949 ## Mail History Id: 30992190, Consumer Id: 2180768, Address Id: 9733573 => Updated with Vin: 4T1BE32K54U380053 ## Mail History Id: 30992517, Consumer Id: 316455, Address Id: 8749924 => Updated with Vin: JT2BF28K8X0171199 ## Mail History Id: 30992499, Consumer Id: 2165989, Address Id: 9732950 => Updated with Vin: 4T1BE46K17U591450 ## Mail History Id: 30992509, Consumer Id: 2164643, Address Id: 9731090 => Updated with Vin: 5TDZA23C46S497209 ## Mail History Id: 30992446, Consumer Id: 2161332, Address Id: 472188 => Updated with Vin: JT3HP10V0Y7164680 ## Mail History Id: 30993387, Consumer Id: 2161806, Address Id: 9727870 => Updated with Vin: 5TEUU42N95Z057634 ## Mail History Id: 30993387, Consumer Id: 2161806, Address Id: 9727870 => Updated with Vin: 5TEUU42N95Z057634 ## Mail History Id: 30993329, Consumer Id: 2159399, Address Id: 9723623 => Updated with Vin: 5TDBA22C54S012124 ## Mail History Id: 30993359, Consumer Id: 2171743, Address Id: 9719468 => Updated with Vin: JTEHH20V826066035 ## Mail History Id: 30992422, Consumer Id: 2179090, Address Id: 9730014 => Updated with Vin: 4T1BE30K94U311465 ## Mail History Id: 30992424, Consumer Id: 2168954, Address Id: 9737604 => Updated with Vin: JTMBD31V275107377 ## Mail History Id: 30992211, Consumer Id: 2166154, Address Id: 9733077 => Updated with Vin: JTMBD35V575055883 ## Mail History Id: 30992295, Consumer Id: 2177983, Address Id: 460850 => Updated with Vin: 2T1BR32E84C221995 ## Mail History Id: 30993785, Consumer Id: 382810, Address Id: 9742892 => Updated with Vin: JTDKB20U553098496 ## Mail History Id: 30993801, Consumer Id: 2161819, Address Id: 9727881 => Updated with Vin: 4T1BE32K15U500755 ## Mail History Id: 30992983, Consumer Id: 2173656, Address Id: 9719899 => Updated with Vin: 4T1SK11E5SU605755 ## Mail History Id: 30992895, Consumer Id: 2158622, Address Id: 9721346 => Updated with Vin: JTEHH20V636089279 ## Mail History Id: 30992935, Consumer Id: 301831, Address Id: 8753262 => Updated with Vin: 4T1BE46K87U598489 ## Mail History Id: 30992905, Consumer Id: 2169540, Address Id: 499494 => Updated with Vin: 2T1BR32E77C852788 ## Mail History Id: 30992941, Consumer Id: 2177140, Address Id: 9726340 => Updated with Vin: JT2BK18U320051102 ## Mail History Id: 30992921, Consumer Id: 2179292, Address Id: 9730703 => Updated with Vin: 4T3ZF13C32U459183 ## Mail History Id: 30992992, Consumer Id: 172986, Address Id: 439635 => Updated with Vin: JTMBD33V775108845 ## Mail History Id: 30992791, Consumer Id: 2161646, Address Id: 9720058 => Updated with Vin: 2T1BR32E75C437001 ## Mail History Id: 30992809, Consumer Id: 2158486, Address Id: 9720229 => Updated with Vin: 2T1BR32E93C144228 ## Mail History Id: 30993411, Consumer Id: 2158933, Address Id: 9722479 => Updated with Vin: JT3HN86R8Y0280422 ## Total mail_history records updated with vin numbers: 51 out of 97 ============================================================ ====== Tracking Id: 1474 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-22 08:15:44') AND us2_order_type_id = 3 ## Order found: 1832 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1832 AND product_id = 55 ## Job Group Found: '508' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('508') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508002') AND customer_id = 3230 ## Mailing found: '13122' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30374140, Consumer Id: 1805993, Address Id: 49477 => Updated with Vin: 1FMCU03709KA26556 ## Mail History Id: 30374140, Consumer Id: 1805994, Address Id: 49477 => Updated with Vin: 1FTPW14V38FA15531 ## Mail History Id: 30374141, Consumer Id: 1805992, Address Id: 48087 => Updated with Vin: 1FTRF12278KE93296 ## Mail History Id: 30374142, Consumer Id: 1805998, Address Id: 49098 => Updated with Vin: 1FAHP36N69W102423 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1475 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-22 08:45:29') AND us2_order_type_id = 3 ## Order found: 1832 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1832 AND product_id = 113 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3230 ## Mailing found: '13102' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30374066, Consumer Id: 93530, Address Id: 52030 => Updated with Vin: 1FAHP35N78W116833 ## Mail History Id: 30374044, Consumer Id: 93534, Address Id: 52033 => Updated with Vin: 2FMDK38CX8BA23612 ## Mail History Id: 30374074, Consumer Id: 66495, Address Id: 53079 => Updated with Vin: 1FTNX21P24ED62896 ## Mail History Id: 30374058, Consumer Id: 64019, Address Id: 48976 => Updated with Vin: 1FTRW12WX5FA29555 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 1476 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-22 08:45:36') AND us2_order_type_id = 3 ## Order found: 1832 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1832 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3230 ## Mailing found: '13125' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372080, Consumer Id: 66313, Address Id: 50268 => Updated with Vin: 1FTPW14566FA46110 ## Mail History Id: 30372228, Consumer Id: 758566, Address Id: 11850456 => Updated with Vin: 1ZVHT82H285166155 ## Mail History Id: 30372248, Consumer Id: 65182, Address Id: 48398 => Updated with Vin: 1FAFP343X3W293487 ## Mail History Id: 30372122, Consumer Id: 234033, Address Id: 52992 => Updated with Vin: 1FAFP34N76W233995 ## Mail History Id: 30372224, Consumer Id: 65765, Address Id: 49760 => Updated with Vin: 1FMFU20515LA90590 ## Mail History Id: 30372172, Consumer Id: 63151, Address Id: 47448 => Updated with Vin: 1FMYU92193KB86806 ## Mail History Id: 30372028, Consumer Id: 102316, Address Id: 52273 => Updated with Vin: 1MEFM50U52G627428 ## Mail History Id: 30372048, Consumer Id: 66176, Address Id: 49253 => Updated with Vin: 1FAFP34N05W188607 ## Mail History Id: 30372050, Consumer Id: 93001, Address Id: 47497 => Updated with Vin: 1FMYU03187KA42714 ## Mail History Id: 30372022, Consumer Id: 63335, Address Id: 48445 => Updated with Vin: 1FTRW08L83KD42521 ## Mail History Id: 30372216, Consumer Id: 65265, Address Id: 49530 => Updated with Vin: 1FMYU92Z75KD52023 ## Mail History Id: 30372082, Consumer Id: 662664, Address Id: 11782363 => Updated with Vin: 1FTEX15H5RKA89653 ## Mail History Id: 30372082, Consumer Id: 662665, Address Id: 11782363 => Updated with Vin: 1FTRW07L01KE74753 ## Mail History Id: 30372188, Consumer Id: 63553, Address Id: 52212 => Updated with Vin: 1FTNX21P04EE06118 ## Mail History Id: 30372074, Consumer Id: 64637, Address Id: 52268 => Updated with Vin: 1FMYU93175KB08588 ## Mail History Id: 30372234, Consumer Id: 671357, Address Id: 11796308 => Updated with Vin: 1FAHP35N18W237454 ## Mail History Id: 30372194, Consumer Id: 92847, Address Id: 49551 => Updated with Vin: 1FTPW14V87FA62357 ## Mail History Id: 30372088, Consumer Id: 65475, Address Id: 48462 => Updated with Vin: 1MEFM50U61G638467 ## Mail History Id: 30372210, Consumer Id: 64762, Address Id: 47459 => Updated with Vin: 1FMDU72E52ZB58318 ## Mail History Id: 30372136, Consumer Id: 38585, Address Id: 51689 => Updated with Vin: 1G2MB33B76Y111878 ## Mail History Id: 30372106, Consumer Id: 66250, Address Id: 49723 => Updated with Vin: 1FMZK02175GA05794 ## Mail History Id: 30372098, Consumer Id: 93162, Address Id: 48882 => Updated with Vin: 1FMEU73E67UB43656 ## Mail History Id: 30372094, Consumer Id: 662661, Address Id: 11782361 => Updated with Vin: 1FAFP56S6YG267812 ## Mail History Id: 30372142, Consumer Id: 64779, Address Id: 48565 => Updated with Vin: 1FAFP53295A207431 ## Mail History Id: 30372124, Consumer Id: 63865, Address Id: 51029 => Updated with Vin: 1FMPU16L91LB52655 ## Mail History Id: 30372192, Consumer Id: 92657, Address Id: 51049 => Updated with Vin: 1FAHP37N17W142422 ## Mail History Id: 30372036, Consumer Id: 63234, Address Id: 49322 => Updated with Vin: 1FMYU03163KC97243 ## Mail History Id: 30372040, Consumer Id: 662994, Address Id: 11782677 => Updated with Vin: 1FTVF14558KD45492 ## Mail History Id: 30372168, Consumer Id: 65671, Address Id: 47935 => Updated with Vin: 1FTNX21F6YEA52117 ## Mail History Id: 30372208, Consumer Id: 66015, Address Id: 48590 => Updated with Vin: 2FTRX18L9YCA08268 ## Mail History Id: 30372066, Consumer Id: 63396, Address Id: 48622 => Updated with Vin: 1FTRW08L23KB97864 ## Mail History Id: 30372038, Consumer Id: 67744, Address Id: 53386 => Updated with Vin: 1FDEE14H6THB33781 ## Mail History Id: 30372848, Consumer Id: 871870, Address Id: 11034682 => Updated with Vin: 1FTPX14V38FB65166 ## Total mail_history records updated with vin numbers: 33 out of 43 ============================================================ ====== Tracking Id: 1477 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-22 09:19:19') AND us2_order_type_id = 3 ## Order found: 1833 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1833 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3470 ## Mailing found: '13106' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30374008, Consumer Id: 577898, Address Id: 10728259 => Updated with Vin: 1J8GX58N42C314266 ## Mail History Id: 30373834, Consumer Id: 556357, Address Id: 4115878 => Updated with Vin: 1C3EL75T53N554025 ## Mail History Id: 30373936, Consumer Id: 582238, Address Id: 10721474 => Updated with Vin: 1D4GP25R27B156121 ## Mail History Id: 30373900, Consumer Id: 562779, Address Id: 10692161 => Updated with Vin: 1J8GK48K45W681993 ## Mail History Id: 30374012, Consumer Id: 557851, Address Id: 2068152 => Updated with Vin: 2C3HE66GX4H691751 ## Mail History Id: 30373952, Consumer Id: 630047, Address Id: 4687976 => Updated with Vin: 1D7HA18D55S299418 ## Mail History Id: 30374016, Consumer Id: 559175, Address Id: 2982803 => Updated with Vin: 2C4GP44R05R191264 ## Mail History Id: 30373924, Consumer Id: 757475, Address Id: 2053842 => Updated with Vin: 1B3EL36X33N519135 ## Mail History Id: 30373872, Consumer Id: 561060, Address Id: 2034415 => Updated with Vin: 1B3ES66S05D100628 ## Mail History Id: 30373940, Consumer Id: 562547, Address Id: 4686942 => Updated with Vin: 2C8GP64L15R284705 ## Mail History Id: 30373828, Consumer Id: 563603, Address Id: 1962429 => Updated with Vin: 1J4GS48KX5C675747 ## Mail History Id: 30373858, Consumer Id: 757479, Address Id: 4055130 => Updated with Vin: 2C3JA43R15H604196 ## Mail History Id: 30373932, Consumer Id: 567290, Address Id: 10694223 => Updated with Vin: 1C3EL55R65N656171 ## Mail History Id: 30373848, Consumer Id: 578122, Address Id: 3487816 => Updated with Vin: 2B4GP54G91R202435 ## Mail History Id: 30373892, Consumer Id: 567424, Address Id: 1171223 => Updated with Vin: 1C3EL75R95N622060 ## Mail History Id: 30374020, Consumer Id: 578859, Address Id: 4130396 => Updated with Vin: 2C8GP64L22R718304 ## Mail History Id: 30374002, Consumer Id: 572240, Address Id: 7739296 => Updated with Vin: 1J8GP58K98W141289 ## Mail History Id: 30373868, Consumer Id: 581295, Address Id: 10740872 => Updated with Vin: 1C3EL65R02N339813 ## Mail History Id: 30373972, Consumer Id: 572405, Address Id: 10719114 => Updated with Vin: 1J8GP58K78W134891 ## Mail History Id: 30373970, Consumer Id: 757478, Address Id: 11848833 => Updated with Vin: 1J4GA39108L578144 ## Mail History Id: 30373920, Consumer Id: 757461, Address Id: 7869585 => Updated with Vin: 2C3HE66G3XH615213 ## Mail History Id: 30374010, Consumer Id: 757463, Address Id: 3175960 => Updated with Vin: 3B7HF13Z61G711328 ## Mail History Id: 30373826, Consumer Id: 702793, Address Id: 11803371 => Updated with Vin: 1C3AN75NX5X043573 ## Mail History Id: 30373842, Consumer Id: 757469, Address Id: 11848830 => Updated with Vin: 1D7HU18D95S351933 ## Total mail_history records updated with vin numbers: 24 out of 25 ============================================================ ====== Tracking Id: 1478 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-22 09:19:31') AND us2_order_type_id = 3 ## Order found: 1833 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1833 AND product_id = 113 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3470 ## Mailing found: '13106' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1479 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-22 09:19:59') AND us2_order_type_id = 3 ## Order found: 1834 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1834 AND product_id = 142 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3768 ## Mailing found: '13136' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372480, Consumer Id: 1108549, Address Id: 14954484 => Updated with Vin: 1GYFK63857R194548 ## Mail History Id: 30372302, Consumer Id: 1107887, Address Id: 2777002 => Updated with Vin: 1G6KD54Y42U110459 ## Mail History Id: 30372376, Consumer Id: 1108112, Address Id: 8828297 => Updated with Vin: 1G6EL12Y52B100322 ## Mail History Id: 30372362, Consumer Id: 1114051, Address Id: 1146726 => Updated with Vin: 1G6VS3384MU125636 ## Mail History Id: 30372312, Consumer Id: 1108221, Address Id: 3238579 => Updated with Vin: 1G6KD54Y2YU221326 ## Total mail_history records updated with vin numbers: 5 out of 9 ============================================================ ====== Tracking Id: 1480 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-22 10:19:12') AND us2_order_type_id = 3 ## Order found: 1833 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1833 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3470 ## Mailing found: '13130' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373295, Consumer Id: 581595, Address Id: 10742883 => Updated with Vin: 1J8GS48K37C566130 ## Mail History Id: 30373295, Consumer Id: 581595, Address Id: 10742883 => Updated with Vin: 1J8GS48K37C566130 ## Mail History Id: 30373109, Consumer Id: 937542, Address Id: 11959945 => Updated with Vin: 1N4AL11DX6C170303 ## Mail History Id: 30373245, Consumer Id: 580098, Address Id: 10736340 => Updated with Vin: 3B7HF13Z9WG194470 ## Mail History Id: 30373245, Consumer Id: 580098, Address Id: 10736340 => Updated with Vin: 3B7HF13Z9WG194470 ## Mail History Id: 30373245, Consumer Id: 580098, Address Id: 10736340 => Updated with Vin: 3B7HF13Z9WG194470 ## Mail History Id: 30372754, Consumer Id: 958351, Address Id: 10745070 => Updated with Vin: 1HD1FV41X7Y606676 ## Mail History Id: 30372393, Consumer Id: 938978, Address Id: 11960910 => Updated with Vin: JTDFR320010038361 ## Mail History Id: 30371861, Consumer Id: 573455, Address Id: 10686436 => Updated with Vin: 1G4HP52K3VH600204 ## Mail History Id: 30371862, Consumer Id: 573624, Address Id: 10720139 => Updated with Vin: 1J4GS58N75C505703 ## Mail History Id: 30372357, Consumer Id: 566224, Address Id: 5391397 => Updated with Vin: 2C3KA63H66H254735 ## Mail History Id: 30372357, Consumer Id: 566224, Address Id: 5391397 => Updated with Vin: 2C3KA63H66H254735 ## Mail History Id: 30371849, Consumer Id: 577355, Address Id: 10722301 => Updated with Vin: 2C3AD56G64H677019 ## Mail History Id: 30371849, Consumer Id: 582614, Address Id: 10722301 => Updated with Vin: 3A8FY68896T253516 ## Mail History Id: 30372975, Consumer Id: 575303, Address Id: 3405027 => Updated with Vin: 1J4G248S1YC131285 ## Mail History Id: 30373209, Consumer Id: 575972, Address Id: 10705408 => Updated with Vin: 1P3ES42C6WD649687 ## Mail History Id: 30371943, Consumer Id: 575961, Address Id: 10723188 => Updated with Vin: 1J4FX58S7WC320457 ## Mail History Id: 30372469, Consumer Id: 576205, Address Id: 10686451 => Updated with Vin: 1J4GX48S51C521409 ## Mail History Id: 30372656, Consumer Id: 574865, Address Id: 4595673 => Updated with Vin: 3C8FY68B32T315066 ## Mail History Id: 30372656, Consumer Id: 574865, Address Id: 4595673 => Updated with Vin: 3C8FY68B32T315066 ## Mail History Id: 30371973, Consumer Id: 571577, Address Id: 10718860 => Updated with Vin: 1B3HB48B28D509541 ## Mail History Id: 30373185, Consumer Id: 579647, Address Id: 2339530 => Updated with Vin: 1C4GP64L6TB215795 ## Mail History Id: 30372089, Consumer Id: 576964, Address Id: 10725733 => Updated with Vin: 1J4GK58K62W283526 ## Mail History Id: 30373163, Consumer Id: 577457, Address Id: 10726668 => Updated with Vin: 2G4WB52M0T1471104 ## Mail History Id: 30373163, Consumer Id: 577457, Address Id: 10726668 => Updated with Vin: 2G4WB52M0T1471104 ## Mail History Id: 30372825, Consumer Id: 570381, Address Id: 10717176 => Updated with Vin: 1D7HE58K05S134564 ## Mail History Id: 30372847, Consumer Id: 557665, Address Id: 7116697 => Updated with Vin: 2C8GP64L55R207061 ## Mail History Id: 30373751, Consumer Id: 572228, Address Id: 4104074 => Updated with Vin: 1J8FT28W17D400540 ## Mail History Id: 30373491, Consumer Id: 872224, Address Id: 10687752 => Updated with Vin: 1J8HH48K28C134021 ## Mail History Id: 30372811, Consumer Id: 577234, Address Id: 3404391 => Updated with Vin: 2C8GP64L52R559634 ## Mail History Id: 30373715, Consumer Id: 872528, Address Id: 1554216 => Updated with Vin: 1C4GJ15B32B679653 ## Mail History Id: 30373685, Consumer Id: 575990, Address Id: 1553676 => Updated with Vin: 1J4GW48S64C140093 ## Mail History Id: 30372883, Consumer Id: 574788, Address Id: 10722327 => Updated with Vin: 1J4GX48N23C504399 ## Mail History Id: 30372263, Consumer Id: 575095, Address Id: 7464690 => Updated with Vin: 1J4GX58N72C282575 ## Mail History Id: 30371802, Consumer Id: 573642, Address Id: 10720150 => Updated with Vin: 1C3EL46XX2N300244 ## Mail History Id: 30372403, Consumer Id: 575664, Address Id: 8794383 => Updated with Vin: 3C4FY48B73T537262 ## Mail History Id: 30372662, Consumer Id: 562927, Address Id: 10701290 => Updated with Vin: 1J4GK58K55W633409 ## Mail History Id: 30372658, Consumer Id: 574982, Address Id: 4595721 => Updated with Vin: 1J4GW68N5XC575245 ## Mail History Id: 30372367, Consumer Id: 572299, Address Id: 10719075 => Updated with Vin: 2C3KA53G67H896245 ## Mail History Id: 30371835, Consumer Id: 567919, Address Id: 10712109 => Updated with Vin: 1B3ES56C75D279270 ## Mail History Id: 30373287, Consumer Id: 575134, Address Id: 10721473 => Updated with Vin: 1P3EJ46C6VN507457 ## Mail History Id: 30372383, Consumer Id: 576107, Address Id: 4896518 => Updated with Vin: 3C4FY48B13T560441 ## Mail History Id: 30372383, Consumer Id: 576107, Address Id: 4896518 => Updated with Vin: 3C4FY48B13T560441 ## Mail History Id: 30372943, Consumer Id: 574311, Address Id: 10720897 => Updated with Vin: 2C8GP54L91R260883 ## Mail History Id: 30372683, Consumer Id: 583345, Address Id: 1336142 => Updated with Vin: 1J4GK58K92W339958 ## Mail History Id: 30371761, Consumer Id: 574852, Address Id: 4599261 => Updated with Vin: 1J4GK48KX3W519865 ## Mail History Id: 30371803, Consumer Id: 573340, Address Id: 2005734 => Updated with Vin: 1D7HA18N88J148821 ## Mail History Id: 30372189, Consumer Id: 565590, Address Id: 5570203 => Updated with Vin: 1J4GS48K36C112122 ## Mail History Id: 30372189, Consumer Id: 565590, Address Id: 5570203 => Updated with Vin: 1J4GS48K36C112122 ## Mail History Id: 30372789, Consumer Id: 574305, Address Id: 10720890 => Updated with Vin: 2C8GP64LX2R521736 ## Mail History Id: 30371779, Consumer Id: 820356, Address Id: 6868627 => Updated with Vin: 1D8GT28K98W249480 ## Mail History Id: 30372427, Consumer Id: 575729, Address Id: 10722996 => Updated with Vin: 2C3HE66GXXH630565 ## Mail History Id: 30373191, Consumer Id: 575964, Address Id: 4688976 => Updated with Vin: 1J4FT58S01L523226 ## Mail History Id: 30372703, Consumer Id: 579274, Address Id: 10733790 => Updated with Vin: 1J4GK48K33W593922 ## Mail History Id: 30373095, Consumer Id: 567951, Address Id: 10712114 => Updated with Vin: 1J4GK58KX6W153576 ## Mail History Id: 30373095, Consumer Id: 567951, Address Id: 10712114 => Updated with Vin: 1J4GK58KX6W153576 ## Mail History Id: 30372909, Consumer Id: 580141, Address Id: 7470273 => Updated with Vin: 3C3EL55H5YT255948 ## Mail History Id: 30373045, Consumer Id: 567864, Address Id: 10712093 => Updated with Vin: 1J4HS48N66C357737 ## Mail History Id: 30373187, Consumer Id: 560597, Address Id: 10697958 => Updated with Vin: 3C3AY55E45T518626 ## Mail History Id: 30372503, Consumer Id: 575243, Address Id: 5328380 => Updated with Vin: 1J4GW58S1XC787737 ## Mail History Id: 30372233, Consumer Id: 573614, Address Id: 10678174 => Updated with Vin: 1J4GX48S53C551089 ## Mail History Id: 30372963, Consumer Id: 577230, Address Id: 10725836 => Updated with Vin: 1J4GX48S41C652234 ## Mail History Id: 30373087, Consumer Id: 871012, Address Id: 1546002 => Updated with Vin: 3A4FY58B86T240277 ## Mail History Id: 30373607, Consumer Id: 576309, Address Id: 10723722 => Updated with Vin: 2C4GP443X3R116337 ## Mail History Id: 30373101, Consumer Id: 571312, Address Id: 10717820 => Updated with Vin: 1J4GK48K77W697691 ## Mail History Id: 30372520, Consumer Id: 564788, Address Id: 3484575 => Updated with Vin: 2A8GP64L06R708449 ## Mail History Id: 30372520, Consumer Id: 564788, Address Id: 3484575 => Updated with Vin: 2A8GP64L06R708449 ## Mail History Id: 30372711, Consumer Id: 566885, Address Id: 2055145 => Updated with Vin: 2A4GP54L66R786360 ## Mail History Id: 30372711, Consumer Id: 566885, Address Id: 2055145 => Updated with Vin: 2A4GP54L66R786360 ## Mail History Id: 30372803, Consumer Id: 583025, Address Id: 10745104 => Updated with Vin: 1C4GP54L7YB704112 ## Mail History Id: 30372803, Consumer Id: 583025, Address Id: 10745104 => Updated with Vin: 1C4GP54L7YB704112 ## Mail History Id: 30373081, Consumer Id: 873697, Address Id: 10722389 => Updated with Vin: 3C4FY4BB41T594797 ## Mail History Id: 30372057, Consumer Id: 568599, Address Id: 10713857 => Updated with Vin: 1J8FT47W47D112282 ## Mail History Id: 30373189, Consumer Id: 573817, Address Id: 10720254 => Updated with Vin: 1J4GK58KX3W655161 ## Mail History Id: 30373197, Consumer Id: 563178, Address Id: 10701374 => Updated with Vin: 1J4GS48K75C682610 ## Mail History Id: 30373197, Consumer Id: 563178, Address Id: 10701374 => Updated with Vin: 1J4GS48K75C682610 ## Mail History Id: 30372257, Consumer Id: 563067, Address Id: 10701336 => Updated with Vin: 1J4GS48K85C634100 ## Mail History Id: 30372797, Consumer Id: 576570, Address Id: 3404337 => Updated with Vin: 2C8GP64L13R144487 ## Mail History Id: 30373705, Consumer Id: 577184, Address Id: 10723766 => Updated with Vin: 1B4GP74L5XB542598 ## Mail History Id: 30373279, Consumer Id: 574646, Address Id: 7349608 => Updated with Vin: 2C8GF68434R296083 ## Mail History Id: 30372423, Consumer Id: 553755, Address Id: 10687522 => Updated with Vin: 1D4GP25353B234249 ## Mail History Id: 30373177, Consumer Id: 574478, Address Id: 10721261 => Updated with Vin: 1B3ES26C72D547728 ## Mail History Id: 30373055, Consumer Id: 553788, Address Id: 4687761 => Updated with Vin: 2C3HD46RX3H524118 ## Mail History Id: 30372813, Consumer Id: 580801, Address Id: 10738488 => Updated with Vin: 2P4GP25GXXR356575 ## Mail History Id: 30371752, Consumer Id: 553784, Address Id: 10686392 => Updated with Vin: 3C4FY48B23T626446 ## Mail History Id: 30371932, Consumer Id: 554131, Address Id: 10688759 => Updated with Vin: 1J4GX58N24C158281 ## Mail History Id: 30371852, Consumer Id: 554129, Address Id: 3498677 => Updated with Vin: 2C8GP44L93R359975 ## Mail History Id: 30372851, Consumer Id: 567566, Address Id: 10688775 => Updated with Vin: 1J4GK48K26W292143 ## Mail History Id: 30372201, Consumer Id: 571800, Address Id: 3493171 => Updated with Vin: 2A8HR44H98R151753 ## Mail History Id: 30373167, Consumer Id: 554169, Address Id: 10688787 => Updated with Vin: 1D7HA18N53S268420 ## Mail History Id: 30373167, Consumer Id: 554169, Address Id: 10688787 => Updated with Vin: 1D7HA18N53S268420 ## Mail History Id: 30373115, Consumer Id: 565566, Address Id: 1347565 => Updated with Vin: 1J4GS48K46C152869 ## Mail History Id: 30372674, Consumer Id: 576275, Address Id: 10723684 => Updated with Vin: 1D7HA18DX3J583694 ## Mail History Id: 30371846, Consumer Id: 629589, Address Id: 1555682 => Updated with Vin: 1J8HS58288C217685 ## Mail History Id: 30373505, Consumer Id: 932007, Address Id: 10722519 => Updated with Vin: 1D7HA18D04S502827 ## Mail History Id: 30371939, Consumer Id: 554383, Address Id: 10688941 => Updated with Vin: 3C8FY68B33T510084 ## Mail History Id: 30372213, Consumer Id: 574123, Address Id: 3493337 => Updated with Vin: 2B4GP44G5XR311154 ## Mail History Id: 30373675, Consumer Id: 573627, Address Id: 10720142 => Updated with Vin: 3C4FY58B12T286002 ## Mail History Id: 30372764, Consumer Id: 554428, Address Id: 7030050 => Updated with Vin: 1D7HL32X63S367778 ## Mail History Id: 30372643, Consumer Id: 554386, Address Id: 10688943 => Updated with Vin: 1J4GX58S34C205159 ## Mail History Id: 30373657, Consumer Id: 910466, Address Id: 11940696 => Updated with Vin: 1B3ES56C73D256634 ## Mail History Id: 30373597, Consumer Id: 554366, Address Id: 6682426 => Updated with Vin: 2C8GP64L83R384846 ## Mail History Id: 30373515, Consumer Id: 562791, Address Id: 10686604 => Updated with Vin: 2D4GP44L15R476974 ## Mail History Id: 30371886, Consumer Id: 554763, Address Id: 7354367 => Updated with Vin: 3C4FY58864T211786 ## Mail History Id: 30371886, Consumer Id: 554763, Address Id: 7354367 => Updated with Vin: 3C4FY58864T211786 ## Mail History Id: 30372121, Consumer Id: 572904, Address Id: 7347978 => Updated with Vin: 2A8GM48L77R346774 ## Mail History Id: 30372537, Consumer Id: 921856, Address Id: 10689311 => Updated with Vin: 1J8FT47W28D591433 ## Mail History Id: 30372289, Consumer Id: 563075, Address Id: 10701341 => Updated with Vin: 1B3ES56CX5D199395 ## Mail History Id: 30372620, Consumer Id: 909845, Address Id: 11940163 => Updated with Vin: 1J4GA39188L609009 ## Mail History Id: 30371892, Consumer Id: 554738, Address Id: 10689234 => Updated with Vin: 1D8GP45R94B506060 ## Mail History Id: 30371815, Consumer Id: 570323, Address Id: 7347598 => Updated with Vin: 1J8HH582X7C608737 ## Mail History Id: 30371815, Consumer Id: 570323, Address Id: 7347598 => Updated with Vin: 1J8HH582X7C608737 ## Mail History Id: 30372614, Consumer Id: 581005, Address Id: 10689481 => Updated with Vin: 2C8GF68474R181891 ## Mail History Id: 30372840, Consumer Id: 568589, Address Id: 10689247 => Updated with Vin: 3A4FY48B46T364511 ## Mail History Id: 30373315, Consumer Id: 938979, Address Id: 11960911 => Updated with Vin: 1J4GK58K36W233205 ## Mail History Id: 30373315, Consumer Id: 938979, Address Id: 11960911 => Updated with Vin: 1J4GK58K36W233205 ## Mail History Id: 30372632, Consumer Id: 555444, Address Id: 10690096 => Updated with Vin: 2C8GM68454R324570 ## Mail History Id: 30371817, Consumer Id: 555374, Address Id: 10690050 => Updated with Vin: 1D4HR48N03F570827 ## Mail History Id: 30371817, Consumer Id: 555374, Address Id: 10690050 => Updated with Vin: 1D4HR48N03F570827 ## Mail History Id: 30372701, Consumer Id: 555403, Address Id: 1338233 => Updated with Vin: 2C8GM68434R360838 ## Mail History Id: 30371787, Consumer Id: 560568, Address Id: 2002785 => Updated with Vin: 2C3JA53G45H595630 ## Mail History Id: 30372785, Consumer Id: 556939, Address Id: 7116529 => Updated with Vin: 1J4GX48S74C360680 ## Mail History Id: 30372781, Consumer Id: 578837, Address Id: 1343210 => Updated with Vin: 1J4FA59S11P342648 ## Mail History Id: 30371830, Consumer Id: 567254, Address Id: 4909667 => Updated with Vin: 2A4GP64L66R859359 ## Mail History Id: 30371834, Consumer Id: 580178, Address Id: 10690294 => Updated with Vin: 1C3EL55R95N611130 ## Mail History Id: 30372590, Consumer Id: 555589, Address Id: 1710219 => Updated with Vin: 1C3EL55R74N239723 ## Mail History Id: 30372590, Consumer Id: 555589, Address Id: 1710219 => Updated with Vin: 1C3EL55R74N239723 ## Mail History Id: 30372497, Consumer Id: 577224, Address Id: 10725832 => Updated with Vin: 1B4GP25B41B272456 ## Mail History Id: 30372961, Consumer Id: 580918, Address Id: 3616538 => Updated with Vin: 1D4HD58D05F502896 ## Mail History Id: 30372650, Consumer Id: 562704, Address Id: 4116138 => Updated with Vin: 1J4GS48K15C633869 ## Mail History Id: 30372790, Consumer Id: 555588, Address Id: 10690196 => Updated with Vin: 3C4FY48B94T243248 ## Mail History Id: 30372287, Consumer Id: 575991, Address Id: 5391102 => Updated with Vin: 1J4FT48S81L615064 ## Mail History Id: 30373401, Consumer Id: 582339, Address Id: 10720762 => Updated with Vin: 3C4FY48B92T275176 ## Mail History Id: 30373401, Consumer Id: 582339, Address Id: 10720762 => Updated with Vin: 3C4FY48B92T275176 ## Mail History Id: 30373401, Consumer Id: 582339, Address Id: 10720762 => Updated with Vin: 3C4FY48B92T275176 ## Mail History Id: 30372221, Consumer Id: 570563, Address Id: 4679251 => Updated with Vin: 1J4GB391X7L179155 ## Mail History Id: 30373389, Consumer Id: 577869, Address Id: 10690489 => Updated with Vin: WD2YD641425392305 ## Mail History Id: 30372429, Consumer Id: 582326, Address Id: 1177893 => Updated with Vin: 1J4HR48N05C702867 ## Mail History Id: 30372933, Consumer Id: 562347, Address Id: 10690475 => Updated with Vin: 1C3EL45XX4N336861 ## Mail History Id: 30372907, Consumer Id: 555956, Address Id: 8910695 => Updated with Vin: 1D4HS38N63F618121 ## Mail History Id: 30373591, Consumer Id: 576462, Address Id: 10724886 => Updated with Vin: 1J8GK58K53W610143 ## Mail History Id: 30373743, Consumer Id: 570399, Address Id: 10717183 => Updated with Vin: 1D4GP25R07B102123 ## Mail History Id: 30372903, Consumer Id: 568603, Address Id: 10690652 => Updated with Vin: 1J4GS48K86C351553 ## Mail History Id: 30372612, Consumer Id: 575731, Address Id: 6844436 => Updated with Vin: 3C4FY48B73T502530 ## Mail History Id: 30373161, Consumer Id: 577223, Address Id: 10724957 => Updated with Vin: 1J8GX38SX2C150788 ## Mail History Id: 30373131, Consumer Id: 563127, Address Id: 10701361 => Updated with Vin: 1C3AL46X85N592169 ## Mail History Id: 30372739, Consumer Id: 565371, Address Id: 1341847 => Updated with Vin: 1J4GK48KX5W558944 ## Mail History Id: 30372747, Consumer Id: 556325, Address Id: 1342386 => Updated with Vin: 1J4G248S2YC393977 ## Mail History Id: 30372573, Consumer Id: 556367, Address Id: 10692167 => Updated with Vin: WD5WD742435529804 ## Mail History Id: 30372573, Consumer Id: 556367, Address Id: 10692167 => Updated with Vin: WD5WD742435529804 ## Mail History Id: 30372936, Consumer Id: 1176306, Address Id: 10724866 => Updated with Vin: 1J8GP28K78W240790 ## Mail History Id: 30372762, Consumer Id: 575919, Address Id: 10707154 => Updated with Vin: 3C4FY58B83T528558 ## Mail History Id: 30372583, Consumer Id: 567504, Address Id: 10686363 => Updated with Vin: 1J4GS48K06C290943 ## Mail History Id: 30372524, Consumer Id: 571587, Address Id: 10692156 => Updated with Vin: 1D7HA18227S211751 ## Mail History Id: 30372833, Consumer Id: 573997, Address Id: 10720712 => Updated with Vin: 1J8GK58KX3W701439 ## Mail History Id: 30372419, Consumer Id: 556556, Address Id: 10692307 => Updated with Vin: 1D4HD38N44F139885 ## Mail History Id: 30372085, Consumer Id: 574001, Address Id: 1165592 => Updated with Vin: 3C8FY4BB51T577702 ## Mail History Id: 30372613, Consumer Id: 574300, Address Id: 10720886 => Updated with Vin: 2C4GP44342R755957 ## Mail History Id: 30372635, Consumer Id: 556745, Address Id: 10692460 => Updated with Vin: 3D7LU38C24G194720 ## Mail History Id: 30373431, Consumer Id: 556555, Address Id: 1549106 => Updated with Vin: 1D7HL38N34S541961 ## Mail History Id: 30373431, Consumer Id: 556555, Address Id: 1549106 => Updated with Vin: 1D7HL38N34S541961 ## Mail History Id: 30372071, Consumer Id: 574095, Address Id: 10720769 => Updated with Vin: 2D4GP44L85R515799 ## Mail History Id: 30372071, Consumer Id: 574095, Address Id: 10720769 => Updated with Vin: 2D4GP44L85R515799 ## Mail History Id: 30371757, Consumer Id: 578528, Address Id: 4597912 => Updated with Vin: 1J4GW58N51C525303 ## Mail History Id: 30373321, Consumer Id: 556946, Address Id: 7350018 => Updated with Vin: 2D4GP44L44R543307 ## Mail History Id: 30372488, Consumer Id: 578092, Address Id: 10729869 => Updated with Vin: 1J8GX58S02C259692 ## Mail History Id: 30372215, Consumer Id: 578101, Address Id: 7348121 => Updated with Vin: 1C3EL56R84N101218 ## Mail History Id: 30373639, Consumer Id: 573650, Address Id: 6682624 => Updated with Vin: 2C8GP44G01R120511 ## Mail History Id: 30371747, Consumer Id: 564802, Address Id: 1998230 => Updated with Vin: 3C8FY68BX2T217166 ## Mail History Id: 30372185, Consumer Id: 579263, Address Id: 7463551 => Updated with Vin: 1J4GK48K06W275096 ## Mail History Id: 30373069, Consumer Id: 575328, Address Id: 10722498 => Updated with Vin: 2C4GM68485R651158 ## Mail History Id: 30373111, Consumer Id: 556936, Address Id: 7473709 => Updated with Vin: 1D7HA18N54J103894 ## Mail History Id: 30373331, Consumer Id: 556998, Address Id: 10692634 => Updated with Vin: 1C4GP44R74B569481 ## Mail History Id: 30371896, Consumer Id: 566920, Address Id: 4131048 => Updated with Vin: 2A4GP44R16R696340 ## Mail History Id: 30373343, Consumer Id: 557067, Address Id: 10692696 => Updated with Vin: 3C8FY68804T249552 ## Mail History Id: 30372618, Consumer Id: 574269, Address Id: 3371947 => Updated with Vin: 1D8HD58D35F555770 ## Mail History Id: 30373741, Consumer Id: 556964, Address Id: 10692607 => Updated with Vin: 2C8GM684X4R633354 ## Mail History Id: 30372157, Consumer Id: 557020, Address Id: 10692656 => Updated with Vin: 1J4FA29144P764178 ## Mail History Id: 30372363, Consumer Id: 957069, Address Id: 11966191 => Updated with Vin: 1D4GP25B55B130399 ## Mail History Id: 30372617, Consumer Id: 557506, Address Id: 10693783 => Updated with Vin: 1D4HD38K94F139287 ## Mail History Id: 30373473, Consumer Id: 557504, Address Id: 10693781 => Updated with Vin: 1D7HA18D74S514084 ## Mail History Id: 30372983, Consumer Id: 557503, Address Id: 10693780 => Updated with Vin: 2C8GP44R44R585167 ## Mail History Id: 30372181, Consumer Id: 874495, Address Id: 1171174 => Updated with Vin: 1J4FX58S9WC357414 ## Mail History Id: 30373445, Consumer Id: 557764, Address Id: 10693928 => Updated with Vin: 9BWDE61J924048966 ## Mail History Id: 30372841, Consumer Id: 557788, Address Id: 10693937 => Updated with Vin: 1D7HL38N44S579473 ## Mail History Id: 30372953, Consumer Id: 575069, Address Id: 10720865 => Updated with Vin: 1J4FY19S1WP711455 ## Mail History Id: 30372767, Consumer Id: 557754, Address Id: 10693924 => Updated with Vin: 2C4GP54L85R147112 ## Mail History Id: 30372782, Consumer Id: 576838, Address Id: 1546995 => Updated with Vin: 1J4FA59S31P311630 ## Mail History Id: 30373565, Consumer Id: 564128, Address Id: 10623042 => Updated with Vin: 1B3ES56C95D156893 ## Mail History Id: 30371933, Consumer Id: 574697, Address Id: 10721327 => Updated with Vin: 1B3ES46C91D149401 ## Mail History Id: 30371769, Consumer Id: 557876, Address Id: 3487112 => Updated with Vin: 2C8GP64L55R119952 ## Mail History Id: 30373405, Consumer Id: 557859, Address Id: 10693960 => Updated with Vin: 1D7GL12K04S636900 ## Mail History Id: 30371945, Consumer Id: 576390, Address Id: 10723773 => Updated with Vin: 1J4GX58N24C115026 ## Mail History Id: 30372925, Consumer Id: 557797, Address Id: 10693940 => Updated with Vin: 2C4GP44R14R571485 ## Mail History Id: 30371842, Consumer Id: 912125, Address Id: 4909847 => Updated with Vin: 1J4GA39188L592602 ## Mail History Id: 30373195, Consumer Id: 557771, Address Id: 10693930 => Updated with Vin: 3C4FY48B94T252404 ## Mail History Id: 30371930, Consumer Id: 557790, Address Id: 9536441 => Updated with Vin: 1C3AN69LX4X007321 ## Mail History Id: 30372929, Consumer Id: 575273, Address Id: 4904018 => Updated with Vin: 1J4GK38K73W725333 ## Mail History Id: 30373005, Consumer Id: 570604, Address Id: 10693936 => Updated with Vin: 1D8HD48K87F565271 ## Mail History Id: 30372528, Consumer Id: 630730, Address Id: 4112188 => Updated with Vin: 1J4GK48K54W173595 ## Mail History Id: 30372751, Consumer Id: 557773, Address Id: 4101301 => Updated with Vin: 1D7HA16K34J197413 ## Mail History Id: 30372281, Consumer Id: 955737, Address Id: 3493830 => Updated with Vin: 3D4GG67V89T170737 ## Mail History Id: 30371767, Consumer Id: 558687, Address Id: 777837 => Updated with Vin: 1J4GK48KX4W262529 ## Mail History Id: 30373423, Consumer Id: 558471, Address Id: 6511643 => Updated with Vin: 3C4FY58B24T256591 ## Mail History Id: 30373423, Consumer Id: 558471, Address Id: 6511643 => Updated with Vin: 3C4FY58B24T256591 ## Mail History Id: 30372602, Consumer Id: 575974, Address Id: 10723198 => Updated with Vin: 1B4HS28N7YF224283 ## Mail History Id: 30372829, Consumer Id: 559887, Address Id: 1343740 => Updated with Vin: 1C3AN65L95X033125 ## Mail History Id: 30372646, Consumer Id: 575349, Address Id: 7346026 => Updated with Vin: 1D7HA18D04S637015 ## Mail History Id: 30372646, Consumer Id: 575349, Address Id: 7346026 => Updated with Vin: 1D7HA18D04S637015 ## Mail History Id: 30372705, Consumer Id: 572811, Address Id: 2797636 => Updated with Vin: 2D8HN54X78R614071 ## Mail History Id: 30372275, Consumer Id: 937540, Address Id: 1172677 => Updated with Vin: 1J4GL48K67W591360 ## Mail History Id: 30373049, Consumer Id: 576473, Address Id: 10724892 => Updated with Vin: 2B4GP4430VR216480 ## Mail History Id: 30372712, Consumer Id: 558528, Address Id: 3254562 => Updated with Vin: 1J4GX48S34C360689 ## Mail History Id: 30371774, Consumer Id: 568532, Address Id: 10694216 => Updated with Vin: 1J4GS48K66C333312 ## Mail History Id: 30371843, Consumer Id: 558482, Address Id: 10694192 => Updated with Vin: 1C3AL46X04N292091 ## Mail History Id: 30371843, Consumer Id: 558482, Address Id: 10694192 => Updated with Vin: 1C3AL46X04N292091 ## Mail History Id: 30372654, Consumer Id: 558417, Address Id: 2094491 => Updated with Vin: 2C4GM68465R664085 ## Mail History Id: 30373079, Consumer Id: 558585, Address Id: 4687956 => Updated with Vin: 1J4GX48N84C435669 ## Mail History Id: 30373265, Consumer Id: 569430, Address Id: 10695304 => Updated with Vin: 2A8GM68X57R220167 ## Mail History Id: 30372931, Consumer Id: 578452, Address Id: 1545501 => Updated with Vin: 2C4GP54L75R218560 ## Mail History Id: 30372931, Consumer Id: 578452, Address Id: 1545501 => Updated with Vin: 2C4GP54L75R218560 ## Mail History Id: 30373419, Consumer Id: 570682, Address Id: 10619793 => Updated with Vin: 2A8GM68X07R300461 ## Mail History Id: 30371853, Consumer Id: 574922, Address Id: 10721467 => Updated with Vin: 1J4GX48S14C416533 ## Mail History Id: 30372805, Consumer Id: 872228, Address Id: 7469358 => Updated with Vin: 1C3LC65M08N118717 ## Mail History Id: 30373425, Consumer Id: 583001, Address Id: 10720152 => Updated with Vin: 1N4BA41E27C830534 ## Mail History Id: 30373425, Consumer Id: 958813, Address Id: 10720152 => Updated with Vin: 2T1KR32E74C283095 ## Mail History Id: 30373309, Consumer Id: 932023, Address Id: 10738421 => Updated with Vin: 1D7HA16N82J169517 ## Mail History Id: 30373681, Consumer Id: 557841, Address Id: 7267373 => Updated with Vin: 2C3JA63H15H173152 ## Mail History Id: 30372951, Consumer Id: 566866, Address Id: 10695388 => Updated with Vin: 3D7KS19D36G199604 ## Mail History Id: 30372951, Consumer Id: 566866, Address Id: 10695388 => Updated with Vin: 3D7KS19D36G199604 ## Mail History Id: 30372097, Consumer Id: 575229, Address Id: 10697545 => Updated with Vin: 1D4HR48N73F527229 ## Mail History Id: 30372037, Consumer Id: 557860, Address Id: 4079091 => Updated with Vin: 2C3JA53G75H180737 ## Mail History Id: 30372574, Consumer Id: 873707, Address Id: 11913157 => Updated with Vin: 1J4GK48K94W274882 ## Mail History Id: 30371906, Consumer Id: 911046, Address Id: 10695654 => Updated with Vin: 2D8GT54LX3R243902 ## Mail History Id: 30372644, Consumer Id: 579626, Address Id: 4885693 => Updated with Vin: 1J4GK58K03W626588 ## Mail History Id: 30373001, Consumer Id: 558272, Address Id: 10695500 => Updated with Vin: 1D4HD48N24F229400 ## Mail History Id: 30373001, Consumer Id: 558272, Address Id: 10695500 => Updated with Vin: 1D4HD48N24F229400 ## Mail History Id: 30372449, Consumer Id: 873712, Address Id: 11913161 => Updated with Vin: 1J4GX48S83C604822 ## Mail History Id: 30373397, Consumer Id: 932011, Address Id: 1548256 => Updated with Vin: 1B3EJ46X2YN248104 ## Mail History Id: 30373697, Consumer Id: 558290, Address Id: 10695508 => Updated with Vin: 2D8GV58295H509799 ## Mail History Id: 30372807, Consumer Id: 558225, Address Id: 10695480 => Updated with Vin: 1C3EL45XX4N260929 ## Mail History Id: 30372807, Consumer Id: 558209, Address Id: 10695480 => Updated with Vin: 2C4GP54L85R200889 ## Mail History Id: 30373097, Consumer Id: 577735, Address Id: 10728128 => Updated with Vin: 2B5WB35Z02K119318 ## Mail History Id: 30372993, Consumer Id: 937544, Address Id: 10689273 => Updated with Vin: 2D4FV47T47H853724 ## Mail History Id: 30373125, Consumer Id: 759545, Address Id: 7473774 => Updated with Vin: 2A8HR44H98R766481 ## Mail History Id: 30373511, Consumer Id: 559044, Address Id: 10695740 => Updated with Vin: 2C8GP64L52R536175 ## Mail History Id: 30373107, Consumer Id: 582050, Address Id: 10690589 => Updated with Vin: 3D7HA18N92G142440 ## Mail History Id: 30372639, Consumer Id: 559240, Address Id: 10695798 => Updated with Vin: 3D7KU28C24G268255 ## Mail History Id: 30371983, Consumer Id: 568531, Address Id: 10695754 => Updated with Vin: 1D7KS28C26J246327 ## Mail History Id: 30371983, Consumer Id: 568531, Address Id: 10695754 => Updated with Vin: 1D7KS28C26J246327 ## Mail History Id: 30372455, Consumer Id: 558981, Address Id: 10695720 => Updated with Vin: 2D4GP44L35R118615 ## Mail History Id: 30371937, Consumer Id: 566417, Address Id: 796571 => Updated with Vin: 1J8HH48K16C106563 ## Mail History Id: 30372957, Consumer Id: 558988, Address Id: 10695721 => Updated with Vin: 2C4GP64L05R251826 ## Mail History Id: 30372055, Consumer Id: 559028, Address Id: 10695733 => Updated with Vin: 1J4GK48K94W319495 ## Mail History Id: 30371828, Consumer Id: 940431, Address Id: 10699260 => Updated with Vin: 1J4GK48K94W319495 ## Mail History Id: 30372055, Consumer Id: 921573, Address Id: 10695733 => Updated with Vin: 1J8GP28K28W249350 ## Mail History Id: 30372055, Consumer Id: 921573, Address Id: 10695733 => Updated with Vin: 1J8GP28K28W249350 ## Mail History Id: 30373075, Consumer Id: 559023, Address Id: 1346789 => Updated with Vin: 1B3ES56C14D552282 ## Mail History Id: 30373631, Consumer Id: 559096, Address Id: 10695756 => Updated with Vin: 3C3EY55E75T330460 ## Mail History Id: 30372891, Consumer Id: 563493, Address Id: 10703607 => Updated with Vin: 1J4HS48NX5C727070 ## Mail History Id: 30372177, Consumer Id: 567251, Address Id: 10612522 => Updated with Vin: 1C3AN69L65X051494 ## Mail History Id: 30372177, Consumer Id: 567251, Address Id: 10612522 => Updated with Vin: 1C3AN69L65X051494 ## Mail History Id: 30373299, Consumer Id: 910074, Address Id: 10695880 => Updated with Vin: 3C8FY4BB71T631078 ## Mail History Id: 30373179, Consumer Id: 559182, Address Id: 10695783 => Updated with Vin: 1J4GX48S04C360665 ## Mail History Id: 30373179, Consumer Id: 559182, Address Id: 10695783 => Updated with Vin: 1J4GX48S04C360665 ## Mail History Id: 30373179, Consumer Id: 559182, Address Id: 10695783 => Updated with Vin: 1J4GX48S04C360665 ## Mail History Id: 30373515, Consumer Id: 939499, Address Id: 10686604 => Updated with Vin: 1D7HA16N88J169168 ## Mail History Id: 30372979, Consumer Id: 559971, Address Id: 7471496 => Updated with Vin: 1D8HD58D44F209581 ## Mail History Id: 30372231, Consumer Id: 560009, Address Id: 7114931 => Updated with Vin: 2C3AA63H85H530939 ## Mail History Id: 30372231, Consumer Id: 560009, Address Id: 7114931 => Updated with Vin: 2C3AA63H85H530939 ## Mail History Id: 30372575, Consumer Id: 573623, Address Id: 10720138 => Updated with Vin: 1J4G258SXXC757003 ## Mail History Id: 30372457, Consumer Id: 560056, Address Id: 10697550 => Updated with Vin: 1FTWW33P74EA26624 ## Mail History Id: 30372773, Consumer Id: 820350, Address Id: 10697534 => Updated with Vin: 1J8HS48NX8C156134 ## Mail History Id: 30372773, Consumer Id: 820350, Address Id: 10697534 => Updated with Vin: 1J8HS48NX8C156134 ## Mail History Id: 30372773, Consumer Id: 820350, Address Id: 10697534 => Updated with Vin: 1J8HS48NX8C156134 ## Mail History Id: 30371874, Consumer Id: 560052, Address Id: 4130737 => Updated with Vin: 1D7HA18D24S746785 ## Mail History Id: 30372569, Consumer Id: 571623, Address Id: 10697536 => Updated with Vin: 1D7HE28K77S253584 ## Mail History Id: 30372531, Consumer Id: 909586, Address Id: 11939886 => Updated with Vin: 1G1AZ54F357665164 ## Mail History Id: 30372411, Consumer Id: 560234, Address Id: 10690483 => Updated with Vin: 1B3ES56C24D538228 ## Mail History Id: 30371955, Consumer Id: 560242, Address Id: 10697693 => Updated with Vin: 1J4GX48S44C293746 ## Mail History Id: 30372498, Consumer Id: 560236, Address Id: 10697690 => Updated with Vin: 2C3AA63H25H502568 ## Mail History Id: 30372093, Consumer Id: 560220, Address Id: 1165688 => Updated with Vin: 1D7HA18N34S771641 ## Mail History Id: 30372093, Consumer Id: 560220, Address Id: 1165688 => Updated with Vin: 1D7HA18N34S771641 ## Mail History Id: 30373735, Consumer Id: 560246, Address Id: 7740781 => Updated with Vin: 1J4GW48N04C420800 ## Mail History Id: 30372273, Consumer Id: 560348, Address Id: 10678593 => Updated with Vin: 1J4FA49S44P795709 ## Mail History Id: 30372359, Consumer Id: 566173, Address Id: 10707587 => Updated with Vin: 1J4GS48K56C259526 ## Mail History Id: 30372359, Consumer Id: 566173, Address Id: 10707587 => Updated with Vin: 1J4GS48K56C259526 ## Mail History Id: 30372359, Consumer Id: 566173, Address Id: 10707587 => Updated with Vin: 1J4GS48K56C259526 ## Mail History Id: 30372519, Consumer Id: 560229, Address Id: 10697685 => Updated with Vin: 1J4GX48N24C436431 ## Mail History Id: 30372831, Consumer Id: 560275, Address Id: 8911724 => Updated with Vin: 1J4GS58N75C525742 ## Mail History Id: 30373737, Consumer Id: 570970, Address Id: 10717449 => Updated with Vin: 3C3EY45X95T556530 ## Mail History Id: 30372801, Consumer Id: 579357, Address Id: 7469295 => Updated with Vin: 1J4GW48S24C377552 ## Mail History Id: 30373525, Consumer Id: 560623, Address Id: 10697972 => Updated with Vin: 1D7HA18D55S173575 ## Mail History Id: 30372776, Consumer Id: 560613, Address Id: 7030474 => Updated with Vin: 1D7HA18N24J264154 ## Mail History Id: 30372640, Consumer Id: 571016, Address Id: 10698324 => Updated with Vin: 1D7HA18257J602057 ## Mail History Id: 30372723, Consumer Id: 571197, Address Id: 10697970 => Updated with Vin: 1J4GB39147L208407 ## Mail History Id: 30373213, Consumer Id: 574077, Address Id: 10686344 => Updated with Vin: 3C4FY48B03T643374 ## Mail History Id: 30371918, Consumer Id: 560612, Address Id: 7109850 => Updated with Vin: 1J4GK38K65W513719 ## Mail History Id: 30372453, Consumer Id: 560041, Address Id: 7466540 => Updated with Vin: 2C3AA63H85H523991 ## Mail History Id: 30371901, Consumer Id: 560577, Address Id: 10697939 => Updated with Vin: 1J4GK58K25W587375 ## Mail History Id: 30371875, Consumer Id: 575718, Address Id: 2011526 => Updated with Vin: 1D3HU18D54J167675 ## Mail History Id: 30372795, Consumer Id: 578720, Address Id: 10733231 => Updated with Vin: 2C8GP64L01R257618 ## Mail History Id: 30373619, Consumer Id: 579461, Address Id: 1552410 => Updated with Vin: 1J4GK48K34W174129 ## Mail History Id: 30372499, Consumer Id: 560594, Address Id: 10697954 => Updated with Vin: 1J4HS48N85C564340 ## Mail History Id: 30372175, Consumer Id: 579628, Address Id: 3493020 => Updated with Vin: 1C4GP64L9YB650933 ## Mail History Id: 30372923, Consumer Id: 573412, Address Id: 10697976 => Updated with Vin: 1B3HB68F58D641403 ## Mail History Id: 30372651, Consumer Id: 575979, Address Id: 7107598 => Updated with Vin: 2C3JA53G75H588638 ## Mail History Id: 30371897, Consumer Id: 560624, Address Id: 3489560 => Updated with Vin: 2C4GP64L05R212203 ## Mail History Id: 30373547, Consumer Id: 582864, Address Id: 10699104 => Updated with Vin: 1C3EL55T63N525475 ## Mail History Id: 30373547, Consumer Id: 582864, Address Id: 10699104 => Updated with Vin: 1C3EL55T63N525475 ## Mail History Id: 30372147, Consumer Id: 561128, Address Id: 4095276 => Updated with Vin: 3C4FY58B35T532245 ## Mail History Id: 30372901, Consumer Id: 561148, Address Id: 10699118 => Updated with Vin: 1J4GS48K85C576134 ## Mail History Id: 30372901, Consumer Id: 561148, Address Id: 10699118 => Updated with Vin: 1J4GS48K85C576134 ## Mail History Id: 30372901, Consumer Id: 562595, Address Id: 10699118 => Updated with Vin: 1J8GK58KX5W679266 ## Mail History Id: 30372391, Consumer Id: 579183, Address Id: 10732382 => Updated with Vin: 1J4FX58S0WC299211 ## Mail History Id: 30371868, Consumer Id: 573456, Address Id: 10686438 => Updated with Vin: 1J4GK48KX2W218348 ## Mail History Id: 30372786, Consumer Id: 909588, Address Id: 7736111 => Updated with Vin: 2C4GP44323R275580 ## Mail History Id: 30372113, Consumer Id: 574087, Address Id: 5569867 => Updated with Vin: 1J4GK58K03W676696 ## Mail History Id: 30371877, Consumer Id: 938792, Address Id: 2013746 => Updated with Vin: 1J4GK48K36W254730 ## Mail History Id: 30373617, Consumer Id: 567311, Address Id: 10710936 => Updated with Vin: 1J4GK48K36W254730 ## Mail History Id: 30372495, Consumer Id: 561312, Address Id: 10699248 => Updated with Vin: 2C8GP64LX4R576349 ## Mail History Id: 30371890, Consumer Id: 576951, Address Id: 10725723 => Updated with Vin: 3C4FY58BX2T373090 ## Mail History Id: 30373395, Consumer Id: 561436, Address Id: 10699324 => Updated with Vin: 2C4GM48L95R399092 ## Mail History Id: 30373585, Consumer Id: 572988, Address Id: 6682357 => Updated with Vin: 1J8GP28KX8W134897 ## Mail History Id: 30373623, Consumer Id: 573940, Address Id: 10720677 => Updated with Vin: 1J4GL38K54W302040 ## Mail History Id: 30372125, Consumer Id: 572853, Address Id: 2041638 => Updated with Vin: 2A8HR44H98R604138 ## Mail History Id: 30372660, Consumer Id: 872222, Address Id: 11912482 => Updated with Vin: 2G2WP552971152052 ## Mail History Id: 30371967, Consumer Id: 561416, Address Id: 10699312 => Updated with Vin: 1D7HE58K95S134563 ## Mail History Id: 30373601, Consumer Id: 574956, Address Id: 6682444 => Updated with Vin: 1J4GK48K45W511120 ## Mail History Id: 30372935, Consumer Id: 561422, Address Id: 1345027 => Updated with Vin: 1D4HD58D85F508722 ## Mail History Id: 30372935, Consumer Id: 561422, Address Id: 1345027 => Updated with Vin: 1D4HD58D85F508722 ## Mail History Id: 30373677, Consumer Id: 561397, Address Id: 1553577 => Updated with Vin: 1C4GP45R35B114563 ## Mail History Id: 30373665, Consumer Id: 577409, Address Id: 10699843 => Updated with Vin: 1J8HH48N76C258762 ## Mail History Id: 30372011, Consumer Id: 561390, Address Id: 10699296 => Updated with Vin: 1J4GX48S21C603078 ## Mail History Id: 30372534, Consumer Id: 561355, Address Id: 6619830 => Updated with Vin: 1J4GS48K05C536629 ## Mail History Id: 30372534, Consumer Id: 561355, Address Id: 6619830 => Updated with Vin: 1J4GS48K05C536629 ## Mail History Id: 30372525, Consumer Id: 561842, Address Id: 10699600 => Updated with Vin: 3C8FY68B02T221016 ## Mail History Id: 30371855, Consumer Id: 575989, Address Id: 3166118 => Updated with Vin: 2C3AA63H15H145321 ## Mail History Id: 30371855, Consumer Id: 575989, Address Id: 3166118 => Updated with Vin: 2C3AA63H15H145321 ## Mail History Id: 30371855, Consumer Id: 575989, Address Id: 3166118 => Updated with Vin: 2C3AA63H15H145321 ## Mail History Id: 30372721, Consumer Id: 571674, Address Id: 10699567 => Updated with Vin: 1J8FT28W38D570478 ## Mail History Id: 30371785, Consumer Id: 561776, Address Id: 10699558 => Updated with Vin: 1J4GK58K65W627263 ## Mail History Id: 30372475, Consumer Id: 561739, Address Id: 10697686 => Updated with Vin: 1D4HD58D05F516362 ## Mail History Id: 30372409, Consumer Id: 566731, Address Id: 10699556 => Updated with Vin: 1J8HH58NX6C291857 ## Mail History Id: 30372139, Consumer Id: 572216, Address Id: 10699535 => Updated with Vin: 2A8HR54P48R612824 ## Mail History Id: 30372551, Consumer Id: 561722, Address Id: 10686333 => Updated with Vin: 1B3ES66S85D125163 ## Mail History Id: 30372551, Consumer Id: 561722, Address Id: 10686333 => Updated with Vin: 1B3ES66S85D125163 ## Mail History Id: 30371816, Consumer Id: 577193, Address Id: 10725814 => Updated with Vin: 1J4GX38S22C239143 ## Mail History Id: 30371911, Consumer Id: 910079, Address Id: 2541319 => Updated with Vin: 1D7HE48K37S192553 ## Mail History Id: 30372017, Consumer Id: 574081, Address Id: 10720763 => Updated with Vin: 1B3EL36RX4N130351 ## Mail History Id: 30371739, Consumer Id: 573620, Address Id: 10720135 => Updated with Vin: 1J4FA69S24P710068 ## Mail History Id: 30372539, Consumer Id: 566868, Address Id: 10700821 => Updated with Vin: 1D7HE48K86S525876 ## Mail History Id: 30372715, Consumer Id: 578518, Address Id: 4099984 => Updated with Vin: 2C3HE76KX4H680114 ## Mail History Id: 30373085, Consumer Id: 561820, Address Id: 10699584 => Updated with Vin: 1D7HU18D85S208973 ## Mail History Id: 30372081, Consumer Id: 574871, Address Id: 1788016 => Updated with Vin: 1D4HR58N33F529002 ## Mail History Id: 30372845, Consumer Id: 563942, Address Id: 10703745 => Updated with Vin: 1D4HB58D45F508917 ## Mail History Id: 30372845, Consumer Id: 569999, Address Id: 10703745 => Updated with Vin: 1J8HS68296C251931 ## Mail History Id: 30372845, Consumer Id: 569999, Address Id: 10703745 => Updated with Vin: 1J8HS68296C251931 ## Mail History Id: 30371899, Consumer Id: 573993, Address Id: 10703576 => Updated with Vin: 1J4GW68NXXC801814 ## Mail History Id: 30372897, Consumer Id: 571147, Address Id: 7349247 => Updated with Vin: 1D8HD48P57F542350 ## Mail History Id: 30372897, Consumer Id: 571147, Address Id: 7349247 => Updated with Vin: 1D8HD48P57F542350 ## Mail History Id: 30372253, Consumer Id: 561732, Address Id: 10699533 => Updated with Vin: 1J8GW58S83C602933 ## Mail History Id: 30371809, Consumer Id: 562238, Address Id: 782172 => Updated with Vin: 1D4HD38N75F506750 ## Mail History Id: 30371809, Consumer Id: 562238, Address Id: 782172 => Updated with Vin: 1D4HD38N75F506750 ## Mail History Id: 30371790, Consumer Id: 578248, Address Id: 10728519 => Updated with Vin: 1J4FA69S35P339293 ## Mail History Id: 30372687, Consumer Id: 569650, Address Id: 10699730 => Updated with Vin: 1J8GS48K47C584121 ## Mail History Id: 30373485, Consumer Id: 562675, Address Id: 10700825 => Updated with Vin: 1C3AN69L15X046686 ## Mail History Id: 30371921, Consumer Id: 562254, Address Id: 10696019 => Updated with Vin: 1J4GK48K65W598146 ## Mail History Id: 30372445, Consumer Id: 580059, Address Id: 10707175 => Updated with Vin: 2C3HD56G72H191542 ## Mail History Id: 30372445, Consumer Id: 565643, Address Id: 10707175 => Updated with Vin: 2C8GP64L91R412733 ## Mail History Id: 30373457, Consumer Id: 575957, Address Id: 10723182 => Updated with Vin: WD2PD744545646005 ## Mail History Id: 30373611, Consumer Id: 562351, Address Id: 6711489 => Updated with Vin: 1J4HS58NX5C642963 ## Mail History Id: 30373501, Consumer Id: 562337, Address Id: 1550706 => Updated with Vin: 2C4GP44R45R478607 ## Mail History Id: 30371867, Consumer Id: 562341, Address Id: 3168035 => Updated with Vin: 2D8GP44L05R476978 ## Mail History Id: 30372353, Consumer Id: 573477, Address Id: 10686484 => Updated with Vin: 1J4GW68N5XC741408 ## Mail History Id: 30373289, Consumer Id: 562525, Address Id: 10701017 => Updated with Vin: 3C4FY58BX5T589400 ## Mail History Id: 30373691, Consumer Id: 562560, Address Id: 7739182 => Updated with Vin: 2C3JA53G05H667679 ## Mail History Id: 30372641, Consumer Id: 562518, Address Id: 10701010 => Updated with Vin: 1J4HS48N85C648383 ## Mail History Id: 30371902, Consumer Id: 579089, Address Id: 7355210 => Updated with Vin: 1J4G258S1XC561273 ## Mail History Id: 30372556, Consumer Id: 921575, Address Id: 5553455 => Updated with Vin: 1B3HB48B38D567707 ## Mail History Id: 30372556, Consumer Id: 562542, Address Id: 5553455 => Updated with Vin: 3C4FY48B93T648203 ## Mail History Id: 30372369, Consumer Id: 562503, Address Id: 1543360 => Updated with Vin: 1J4GK58KX3W724933 ## Mail History Id: 30373053, Consumer Id: 562544, Address Id: 10701026 => Updated with Vin: 1D7HE48K25S109935 ## Mail History Id: 30372227, Consumer Id: 562506, Address Id: 10701004 => Updated with Vin: 1J4GX58S02C282567 ## Mail History Id: 30371887, Consumer Id: 562505, Address Id: 2015296 => Updated with Vin: 2C3JA43R45H560033 ## Mail History Id: 30373667, Consumer Id: 562961, Address Id: 10701301 => Updated with Vin: 2C4GM48L25R521534 ## Mail History Id: 30372477, Consumer Id: 567949, Address Id: 7466730 => Updated with Vin: 2A4GM68466R926361 ## Mail History Id: 30372987, Consumer Id: 937278, Address Id: 10690455 => Updated with Vin: WD0PE746685239923 ## Mail History Id: 30373571, Consumer Id: 562969, Address Id: 10686387 => Updated with Vin: 1J4GK58K74W185317 ## Mail History Id: 30373201, Consumer Id: 572164, Address Id: 6511389 => Updated with Vin: 2D4GV57247H729048 ## Mail History Id: 30372628, Consumer Id: 563228, Address Id: 10701401 => Updated with Vin: 1D7HA18D75S188370 ## Mail History Id: 30372173, Consumer Id: 575323, Address Id: 10722495 => Updated with Vin: 2C3KA63H26H130378 ## Mail History Id: 30372995, Consumer Id: 563360, Address Id: 7471736 => Updated with Vin: 3C4FY58B85T589377 ## Mail History Id: 30372576, Consumer Id: 570092, Address Id: 1679645 => Updated with Vin: 2C3LA73W56H489605 ## Mail History Id: 30372576, Consumer Id: 570092, Address Id: 1679645 => Updated with Vin: 2C3LA73W56H489605 ## Mail History Id: 30372576, Consumer Id: 570092, Address Id: 1679645 => Updated with Vin: 2C3LA73W56H489605 ## Mail History Id: 30372548, Consumer Id: 575648, Address Id: 2140552 => Updated with Vin: JT3VN29V8R0036392 ## Mail History Id: 30372587, Consumer Id: 937994, Address Id: 10721370 => Updated with Vin: 1C3LC56K68N214276 ## Mail History Id: 30373693, Consumer Id: 562933, Address Id: 10701295 => Updated with Vin: 2D4GP44L15R266990 ## Mail History Id: 30372949, Consumer Id: 563176, Address Id: 10701373 => Updated with Vin: 2C4GP64L05R292456 ## Mail History Id: 30372601, Consumer Id: 563105, Address Id: 1330195 => Updated with Vin: 2D4GP44L15R541256 ## Mail History Id: 30372349, Consumer Id: 563026, Address Id: 10701317 => Updated with Vin: 1C3AN69L75X039502 ## Mail History Id: 30372083, Consumer Id: 562873, Address Id: 10703379 => Updated with Vin: 3D7KR26D05G733114 ## Mail History Id: 30371941, Consumer Id: 563184, Address Id: 10701378 => Updated with Vin: 1D7HE48N35S338117 ## Mail History Id: 30372649, Consumer Id: 573139, Address Id: 10719477 => Updated with Vin: 2C3KA63H08H120306 ## Mail History Id: 30372135, Consumer Id: 563066, Address Id: 2045213 => Updated with Vin: 3C4FY48B15T621435 ## Mail History Id: 30373605, Consumer Id: 552707, Address Id: 1552327 => Updated with Vin: 1D8HN54P88B153929 ## Mail History Id: 30373679, Consumer Id: 562956, Address Id: 10703409 => Updated with Vin: 2C3KA53G36H135736 ## Mail History Id: 30373679, Consumer Id: 562956, Address Id: 10703409 => Updated with Vin: 2C3KA53G36H135736 ## Mail History Id: 30372775, Consumer Id: 563556, Address Id: 7468804 => Updated with Vin: 2C4GP54L55R551663 ## Mail History Id: 30372787, Consumer Id: 564092, Address Id: 10703806 => Updated with Vin: 1J4GS48K55C727057 ## Mail History Id: 30372985, Consumer Id: 569665, Address Id: 10703581 => Updated with Vin: 1J8FT47W37D223180 ## Mail History Id: 30372521, Consumer Id: 565870, Address Id: 4899673 => Updated with Vin: 1D7HA18266S555341 ## Mail History Id: 30373129, Consumer Id: 563433, Address Id: 10703589 => Updated with Vin: 1J8GS48K35C727038 ## Mail History Id: 30372783, Consumer Id: 563403, Address Id: 10678879 => Updated with Vin: 2B3KA43G76H174112 ## Mail History Id: 30372193, Consumer Id: 574088, Address Id: 7114788 => Updated with Vin: 2C3KA43RX6H121425 ## Mail History Id: 30372065, Consumer Id: 563491, Address Id: 3160257 => Updated with Vin: 1B3EL46X05N532028 ## Mail History Id: 30373043, Consumer Id: 563913, Address Id: 7472552 => Updated with Vin: 2B3KA53H16H192037 ## Mail History Id: 30373575, Consumer Id: 582884, Address Id: 10744591 => Updated with Vin: 2C3HC56G5YH429402 ## Mail History Id: 30372546, Consumer Id: 578137, Address Id: 10728426 => Updated with Vin: 2C8GM68444R635746 ## Mail History Id: 30373067, Consumer Id: 564204, Address Id: 5573187 => Updated with Vin: 2B3KA53HX6H195521 ## Mail History Id: 30372259, Consumer Id: 574684, Address Id: 3167259 => Updated with Vin: 1J4FA49SX5P326609 ## Mail History Id: 30371791, Consumer Id: 563394, Address Id: 3163984 => Updated with Vin: 1C4GP45R05B441020 ## Mail History Id: 30371791, Consumer Id: 957547, Address Id: 3163984 => Updated with Vin: 2A8GP64L66R714854 ## Mail History Id: 30373379, Consumer Id: 573652, Address Id: 10720154 => Updated with Vin: WD2PD644245627647 ## Mail History Id: 30373581, Consumer Id: 563376, Address Id: 1552213 => Updated with Vin: 2C3LA53G86H146784 ## Mail History Id: 30371814, Consumer Id: 575940, Address Id: 10723172 => Updated with Vin: 2C4GP64L45R418558 ## Mail History Id: 30372971, Consumer Id: 565227, Address Id: 10704205 => Updated with Vin: 2D4GP44L25R515751 ## Mail History Id: 30372971, Consumer Id: 565227, Address Id: 10704205 => Updated with Vin: 2D4GP44L25R515751 ## Mail History Id: 30372675, Consumer Id: 702788, Address Id: 1335549 => Updated with Vin: 2C4GM68454R551193 ## Mail History Id: 30372788, Consumer Id: 583126, Address Id: 7736335 => Updated with Vin: 1N4AL21E58N488948 ## Mail History Id: 30373151, Consumer Id: 574096, Address Id: 10720770 => Updated with Vin: 1C3EL46X34N382790 ## Mail History Id: 30373647, Consumer Id: 564090, Address Id: 10703804 => Updated with Vin: 1D4GP25B95B406499 ## Mail History Id: 30372629, Consumer Id: 564398, Address Id: 8911553 => Updated with Vin: 1D7HA18D65S220998 ## Mail History Id: 30373383, Consumer Id: 564236, Address Id: 10703856 => Updated with Vin: JM1BJ245921611407 ## Mail History Id: 30373347, Consumer Id: 564137, Address Id: 10703823 => Updated with Vin: 1C8GP45R55B417147 ## Mail History Id: 30372600, Consumer Id: 564196, Address Id: 10703844 => Updated with Vin: 2B3KA53HX6H148327 ## Mail History Id: 30373339, Consumer Id: 872225, Address Id: 10704148 => Updated with Vin: 1J8GP58K28W160976 ## Mail History Id: 30372351, Consumer Id: 575958, Address Id: 10723183 => Updated with Vin: 1J8GW68J62C167082 ## Mail History Id: 30372351, Consumer Id: 575958, Address Id: 10723183 => Updated with Vin: 1J8GW68J62C167082 ## Mail History Id: 30372467, Consumer Id: 571980, Address Id: 2544184 => Updated with Vin: 1D7HA18NX8J143880 ## Mail History Id: 30371732, Consumer Id: 564111, Address Id: 4104690 => Updated with Vin: 1C3AN55L75X058857 ## Mail History Id: 30372665, Consumer Id: 564573, Address Id: 4098732 => Updated with Vin: 1J4GX58S84C199276 ## Mail History Id: 30372293, Consumer Id: 575506, Address Id: 7115116 => Updated with Vin: 1J4GX48S44C295688 ## Mail History Id: 30373509, Consumer Id: 569178, Address Id: 1550987 => Updated with Vin: 1D8GT58KX7W599166 ## Mail History Id: 30373443, Consumer Id: 872229, Address Id: 1549315 => Updated with Vin: 1D7HA18N08S518718 ## Mail History Id: 30372809, Consumer Id: 564218, Address Id: 7349136 => Updated with Vin: 1J4HS48N35C564343 ## Mail History Id: 30372598, Consumer Id: 564262, Address Id: 2054488 => Updated with Vin: 1J4GS48K65C526199 ## Mail History Id: 30372271, Consumer Id: 574820, Address Id: 2542991 => Updated with Vin: 2C4GM68495R588622 ## Mail History Id: 30372743, Consumer Id: 564342, Address Id: 2057141 => Updated with Vin: 1J8HH58N36C107083 ## Mail History Id: 30371870, Consumer Id: 564353, Address Id: 10705414 => Updated with Vin: 2C3KA63H46H215531 ## Mail History Id: 30372981, Consumer Id: 939494, Address Id: 1545726 => Updated with Vin: 1B3HB78K97D392105 ## Mail History Id: 30372981, Consumer Id: 579362, Address Id: 1545726 => Updated with Vin: 3D7HA18H15G855900 ## Mail History Id: 30371926, Consumer Id: 564350, Address Id: 10705413 => Updated with Vin: 1C3AN55L25X058829 ## Mail History Id: 30373165, Consumer Id: 564397, Address Id: 3171272 => Updated with Vin: 3A4FY48B56T203519 ## Mail History Id: 30373165, Consumer Id: 564397, Address Id: 3171272 => Updated with Vin: 3A4FY48B56T203519 ## Mail History Id: 30373713, Consumer Id: 569663, Address Id: 1554070 => Updated with Vin: 1D8GT28K47W562869 ## Mail History Id: 30373269, Consumer Id: 564693, Address Id: 10705521 => Updated with Vin: 1J4GX48S93C508455 ## Mail History Id: 30372075, Consumer Id: 581710, Address Id: 10724948 => Updated with Vin: WD0PE745475150454 ## Mail History Id: 30372075, Consumer Id: 581615, Address Id: 10724948 => Updated with Vin: WD0PF445475151986 ## Mail History Id: 30371799, Consumer Id: 564346, Address Id: 4046402 => Updated with Vin: 2C4GM68485R589244 ## Mail History Id: 30372669, Consumer Id: 566951, Address Id: 2052584 => Updated with Vin: 2A4GM68476R734740 ## Mail History Id: 30372669, Consumer Id: 566951, Address Id: 2052584 => Updated with Vin: 2A4GM68476R734740 ## Mail History Id: 30373123, Consumer Id: 573225, Address Id: 10705403 => Updated with Vin: 1D7HA18K48J132489 ## Mail History Id: 30372309, Consumer Id: 571652, Address Id: 10705405 => Updated with Vin: 2D4FV47T97H853329 ## Mail History Id: 30372251, Consumer Id: 564433, Address Id: 10678534 => Updated with Vin: 1C3AN65L65X060394 ## Mail History Id: 30371903, Consumer Id: 564864, Address Id: 10705604 => Updated with Vin: 3C4FY58B35T578559 ## Mail History Id: 30373047, Consumer Id: 564771, Address Id: 7472655 => Updated with Vin: 2C4GM68435R579513 ## Mail History Id: 30373047, Consumer Id: 564771, Address Id: 7472655 => Updated with Vin: 2C4GM68435R579513 ## Mail History Id: 30372015, Consumer Id: 573615, Address Id: 10720131 => Updated with Vin: 2C3KA43R76H151143 ## Mail History Id: 30371839, Consumer Id: 564678, Address Id: 10705538 => Updated with Vin: 1J4GS48K66C110915 ## Mail History Id: 30373035, Consumer Id: 574215, Address Id: 3405292 => Updated with Vin: 4C3AU42N4VE041821 ## Mail History Id: 30373701, Consumer Id: 570441, Address Id: 10717195 => Updated with Vin: 3A4FY58B66T364483 ## Mail History Id: 30372729, Consumer Id: 564658, Address Id: 10705531 => Updated with Vin: 2D4GP44L56R711779 ## Mail History Id: 30371999, Consumer Id: 564731, Address Id: 10689437 => Updated with Vin: 1B3ES56C95D153203 ## Mail History Id: 30372223, Consumer Id: 564706, Address Id: 3166762 => Updated with Vin: 2A4GM48486R605667 ## Mail History Id: 30372653, Consumer Id: 564671, Address Id: 4128672 => Updated with Vin: 3D7KS28D25G901661 ## Mail History Id: 30372653, Consumer Id: 564671, Address Id: 4128672 => Updated with Vin: 3D7KS28D25G901661 ## Mail History Id: 30372568, Consumer Id: 564715, Address Id: 10705556 => Updated with Vin: 1D7HA18DX5S299348 ## Mail History Id: 30372463, Consumer Id: 564699, Address Id: 10705548 => Updated with Vin: 2C8GP54L55R543481 ## Mail History Id: 30373377, Consumer Id: 573937, Address Id: 10720674 => Updated with Vin: 1J4FJ68S9WL191595 ## Mail History Id: 30373377, Consumer Id: 573937, Address Id: 10720674 => Updated with Vin: 1J4FJ68S9WL191595 ## Mail History Id: 30372676, Consumer Id: 564653, Address Id: 10705530 => Updated with Vin: 2D8GV57206H261638 ## Mail History Id: 30373293, Consumer Id: 873708, Address Id: 10721542 => Updated with Vin: 1B4HR28N01F548502 ## Mail History Id: 30371824, Consumer Id: 565334, Address Id: 10686430 => Updated with Vin: 1J4GS48K05C574653 ## Mail History Id: 30371895, Consumer Id: 635490, Address Id: 10707112 => Updated with Vin: 1J8HS48P47C591280 ## Mail History Id: 30372291, Consumer Id: 565542, Address Id: 3167888 => Updated with Vin: 2C3LA63H66H165574 ## Mail History Id: 30373381, Consumer Id: 565328, Address Id: 10705813 => Updated with Vin: 2A8GM68446R662331 ## Mail History Id: 30373381, Consumer Id: 1807955, Address Id: 10705813 => Updated with Vin: 3A8FY48B78T146449 ## Mail History Id: 30373519, Consumer Id: 565564, Address Id: 10707125 => Updated with Vin: 2D4GP24RX5R108317 ## Mail History Id: 30372041, Consumer Id: 565568, Address Id: 2034993 => Updated with Vin: 2C3JA53G35H505898 ## Mail History Id: 30372041, Consumer Id: 565568, Address Id: 2034993 => Updated with Vin: 2C3JA53G35H505898 ## Mail History Id: 30372839, Consumer Id: 565602, Address Id: 7116688 => Updated with Vin: 1J8GS48K06C152866 ## Mail History Id: 30372333, Consumer Id: 575371, Address Id: 10722515 => Updated with Vin: 1J4GK38K25W643030 ## Mail History Id: 30372387, Consumer Id: 565655, Address Id: 1174699 => Updated with Vin: 1J4FA44S16P726681 ## Mail History Id: 30372387, Consumer Id: 565655, Address Id: 1174699 => Updated with Vin: 1J4FA44S16P726681 ## Mail History Id: 30373037, Consumer Id: 565853, Address Id: 7349436 => Updated with Vin: 3A4FY48B76T230107 ## Mail History Id: 30373745, Consumer Id: 565634, Address Id: 10707172 => Updated with Vin: 2A4GP54L66R688607 ## Mail History Id: 30371961, Consumer Id: 570817, Address Id: 10686502 => Updated with Vin: 1J8FT57W57D276467 ## Mail History Id: 30371876, Consumer Id: 574773, Address Id: 7354172 => Updated with Vin: 1C3AN69L54X000678 ## Mail History Id: 30372163, Consumer Id: 571639, Address Id: 10686386 => Updated with Vin: 3D7KS28D27G788703 ## Mail History Id: 30373021, Consumer Id: 575793, Address Id: 10686349 => Updated with Vin: 1G1YY12S825122670 ## Mail History Id: 30372241, Consumer Id: 582463, Address Id: 10678353 => Updated with Vin: 1D7HA16K35J555563 ## Mail History Id: 30373211, Consumer Id: 565894, Address Id: 2339599 => Updated with Vin: 1B3ES56C25D148764 ## Mail History Id: 30372698, Consumer Id: 565675, Address Id: 7007340 => Updated with Vin: 1J4HS58N96C191753 ## Mail History Id: 30373205, Consumer Id: 575224, Address Id: 1546248 => Updated with Vin: 1J4GX58S12C305001 ## Mail History Id: 30373687, Consumer Id: 565854, Address Id: 10707333 => Updated with Vin: 2A4GP54L46R703671 ## Mail History Id: 30373517, Consumer Id: 565877, Address Id: 10707349 => Updated with Vin: 2C3KA43RX6H363485 ## Mail History Id: 30371860, Consumer Id: 582121, Address Id: 10721530 => Updated with Vin: 1C3LC46K38N124044 ## Mail History Id: 30373311, Consumer Id: 574979, Address Id: 10722382 => Updated with Vin: 1D7HA16D04J293128 ## Mail History Id: 30372769, Consumer Id: 565855, Address Id: 10699271 => Updated with Vin: 2C3KA53G76H351315 ## Mail History Id: 30372769, Consumer Id: 565855, Address Id: 10699271 => Updated with Vin: 2C3KA53G76H351315 ## Mail History Id: 30371827, Consumer Id: 565818, Address Id: 10707309 => Updated with Vin: 3C4FY58B75T589385 ## Mail History Id: 30372780, Consumer Id: 566101, Address Id: 10707531 => Updated with Vin: 1J4GK58KX6W194502 ## Mail History Id: 30371845, Consumer Id: 575933, Address Id: 10723166 => Updated with Vin: 2C3AD36M22H129719 ## Mail History Id: 30373283, Consumer Id: 565861, Address Id: 4907750 => Updated with Vin: 1D4GP24R35B396440 ## Mail History Id: 30372523, Consumer Id: 568549, Address Id: 10707564 => Updated with Vin: 1J4FA39SX6P778295 ## Mail History Id: 30372561, Consumer Id: 565887, Address Id: 5611818 => Updated with Vin: 3A4FY48B66T203528 ## Mail History Id: 30371730, Consumer Id: 565911, Address Id: 8428841 => Updated with Vin: 2A4GM68466R640798 ## Mail History Id: 30371987, Consumer Id: 565876, Address Id: 798117 => Updated with Vin: 1D7HA18276S555302 ## Mail History Id: 30373003, Consumer Id: 565843, Address Id: 10707324 => Updated with Vin: 1J4FA49S4YP716688 ## Mail History Id: 30373513, Consumer Id: 575803, Address Id: 10723066 => Updated with Vin: 1J4GW48S62C135893 ## Mail History Id: 30373447, Consumer Id: 572896, Address Id: 1549337 => Updated with Vin: 3A8FY58B68T124805 ## Mail History Id: 30373447, Consumer Id: 572896, Address Id: 1549337 => Updated with Vin: 3A8FY58B68T124805 ## Mail History Id: 30372718, Consumer Id: 572875, Address Id: 10719355 => Updated with Vin: 1B3LC46K68N164762 ## Mail History Id: 30372137, Consumer Id: 566186, Address Id: 2045573 => Updated with Vin: 1D7HA18N16J117570 ## Mail History Id: 30371920, Consumer Id: 552704, Address Id: 10602628 => Updated with Vin: 2C3LA53G38H165343 ## Mail History Id: 30371920, Consumer Id: 552704, Address Id: 10602628 => Updated with Vin: 2C3LA53G38H165343 ## Mail History Id: 30372105, Consumer Id: 575655, Address Id: 1788767 => Updated with Vin: 1C3AN65LX5X053142 ## Mail History Id: 30372375, Consumer Id: 566251, Address Id: 10707649 => Updated with Vin: 2B3KA43G96H342087 ## Mail History Id: 30372793, Consumer Id: 566305, Address Id: 7469137 => Updated with Vin: 2A4GM68466R677740 ## Mail History Id: 30372417, Consumer Id: 566256, Address Id: 10707653 => Updated with Vin: 5Y2SL63845Z433554 ## Mail History Id: 30372991, Consumer Id: 573454, Address Id: 10686429 => Updated with Vin: 1J4FA44S65P301553 ## Mail History Id: 30372991, Consumer Id: 573454, Address Id: 10686429 => Updated with Vin: 1J4FA44S65P301553 ## Mail History Id: 30373077, Consumer Id: 566174, Address Id: 10707588 => Updated with Vin: 2D4GP44L76R773748 ## Mail History Id: 30373141, Consumer Id: 571303, Address Id: 7349579 => Updated with Vin: 1D7HE22K27S253579 ## Mail History Id: 30372069, Consumer Id: 568536, Address Id: 10694526 => Updated with Vin: 1J4GK48K47W510486 ## Mail History Id: 30372033, Consumer Id: 566185, Address Id: 5328684 => Updated with Vin: 2A4GM68486R640785 ## Mail History Id: 30373465, Consumer Id: 571107, Address Id: 1550002 => Updated with Vin: 1J4GL48K97W695549 ## Mail History Id: 30373291, Consumer Id: 576784, Address Id: 10725062 => Updated with Vin: 1J4GS48K25C721037 ## Mail History Id: 30372277, Consumer Id: 576891, Address Id: 3167516 => Updated with Vin: 2C8GM684X4R614562 ## Mail History Id: 30371924, Consumer Id: 566629, Address Id: 10710518 => Updated with Vin: 1C3AL46X16N141537 ## Mail History Id: 30372299, Consumer Id: 566714, Address Id: 7465054 => Updated with Vin: 2B3KA43GX6H419131 ## Mail History Id: 30371801, Consumer Id: 566694, Address Id: 10710566 => Updated with Vin: 1D7HE28K36S533498 ## Mail History Id: 30371812, Consumer Id: 566722, Address Id: 10710581 => Updated with Vin: 2A4GM68496R734609 ## Mail History Id: 30371812, Consumer Id: 566722, Address Id: 10710581 => Updated with Vin: 2A4GM68496R734609 ## Mail History Id: 30371812, Consumer Id: 566719, Address Id: 10710581 => Updated with Vin: 3C3EY55E15T505530 ## Mail History Id: 30373351, Consumer Id: 566751, Address Id: 10710596 => Updated with Vin: 3N1CB51D65L576162 ## Mail History Id: 30373059, Consumer Id: 576870, Address Id: 10725119 => Updated with Vin: 1P3ES46C6YD734204 ## Mail History Id: 30373059, Consumer Id: 576870, Address Id: 10725119 => Updated with Vin: 1P3ES46C6YD734204 ## Mail History Id: 30373007, Consumer Id: 757472, Address Id: 4904847 => Updated with Vin: 2A4GP44R47R139178 ## Mail History Id: 30372073, Consumer Id: 566697, Address Id: 3160695 => Updated with Vin: 1J4GS48K96C259528 ## Mail History Id: 30371985, Consumer Id: 576491, Address Id: 2541435 => Updated with Vin: 1C3EL55R74N114382 ## Mail History Id: 30372585, Consumer Id: 571265, Address Id: 3403092 => Updated with Vin: 2A8GM68XX7R269509 ## Mail History Id: 30372149, Consumer Id: 567135, Address Id: 10710832 => Updated with Vin: 2D4GP44L96R791491 ## Mail History Id: 30372323, Consumer Id: 566927, Address Id: 10710712 => Updated with Vin: 3A4FY48B26T293907 ## Mail History Id: 30371851, Consumer Id: 566896, Address Id: 5386931 => Updated with Vin: 1J4GK48K66W194233 ## Mail History Id: 30373193, Consumer Id: 566905, Address Id: 10710698 => Updated with Vin: 1B3HB28B27D538086 ## Mail History Id: 30373357, Consumer Id: 566875, Address Id: 10710680 => Updated with Vin: 3C8FY78G35T541517 ## Mail History Id: 30373357, Consumer Id: 566875, Address Id: 10710680 => Updated with Vin: 3C8FY78G35T541517 ## Mail History Id: 30371991, Consumer Id: 566935, Address Id: 3490461 => Updated with Vin: 1D7HA18K86J145520 ## Mail History Id: 30373157, Consumer Id: 576424, Address Id: 10724864 => Updated with Vin: 1D4GP25BX5B433954 ## Mail History Id: 30371904, Consumer Id: 566729, Address Id: 10710588 => Updated with Vin: 1J4GK38K76W133483 ## Mail History Id: 30372779, Consumer Id: 578375, Address Id: 1343179 => Updated with Vin: 1J4FA49S9YP737617 ## Mail History Id: 30371896, Consumer Id: 566888, Address Id: 4131048 => Updated with Vin: 2D4GZ47V16H177127 ## Mail History Id: 30371753, Consumer Id: 577205, Address Id: 10676564 => Updated with Vin: 1J8HR58245C616682 ## Mail History Id: 30371871, Consumer Id: 566924, Address Id: 10710710 => Updated with Vin: 1D7HA18D05J570925 ## Mail History Id: 30372592, Consumer Id: 566913, Address Id: 6843004 => Updated with Vin: WD0PD644665905848 ## Mail History Id: 30373429, Consumer Id: 566953, Address Id: 1549091 => Updated with Vin: 1B3EL46R86N118787 ## Mail History Id: 30371875, Consumer Id: 577351, Address Id: 2011526 => Updated with Vin: 1B3ES56C73D167579 ## Mail History Id: 30371875, Consumer Id: 566861, Address Id: 2011526 => Updated with Vin: 2A4GP64L46R774021 ## Mail History Id: 30373027, Consumer Id: 909856, Address Id: 8911869 => Updated with Vin: 3D7MX38A07G808324 ## Mail History Id: 30372535, Consumer Id: 566945, Address Id: 10710725 => Updated with Vin: 1J8HH48N86C248273 ## Mail History Id: 30372691, Consumer Id: 567289, Address Id: 10710924 => Updated with Vin: 1J4GS48K46C290959 ## Mail History Id: 30372873, Consumer Id: 567323, Address Id: 10678951 => Updated with Vin: 2A4GM48466R871706 ## Mail History Id: 30371847, Consumer Id: 577545, Address Id: 5569120 => Updated with Vin: 2C3KA53G36H140984 ## Mail History Id: 30371847, Consumer Id: 577545, Address Id: 5569120 => Updated with Vin: 2C3KA53G36H140984 ## Mail History Id: 30371847, Consumer Id: 577545, Address Id: 5569120 => Updated with Vin: 2C3KA53G36H140984 ## Mail History Id: 30373617, Consumer Id: 629123, Address Id: 10710936 => Updated with Vin: 1D7HA18K98J147599 ## Mail History Id: 30373455, Consumer Id: 567313, Address Id: 10710938 => Updated with Vin: 3D7KS29D16G158748 ## Mail History Id: 30373231, Consumer Id: 774291, Address Id: 10710926 => Updated with Vin: 3A4FY48B97T528577 ## Mail History Id: 30373231, Consumer Id: 774291, Address Id: 10710926 => Updated with Vin: 3A4FY48B97T528577 ## Mail History Id: 30373231, Consumer Id: 774291, Address Id: 10710926 => Updated with Vin: 3A4FY48B97T528577 ## Mail History Id: 30373121, Consumer Id: 567723, Address Id: 10711064 => Updated with Vin: 2C8GM68494R636777 ## Mail History Id: 30371856, Consumer Id: 577372, Address Id: 10726563 => Updated with Vin: 1J4GW58S3XC581030 ## Mail History Id: 30371856, Consumer Id: 577372, Address Id: 10726563 => Updated with Vin: 1J4GW58S3XC581030 ## Mail History Id: 30371959, Consumer Id: 578012, Address Id: 10728331 => Updated with Vin: 1B3ES56C05D279580 ## Mail History Id: 30373461, Consumer Id: 567221, Address Id: 1549776 => Updated with Vin: 1J4GK38K06W221324 ## Mail History Id: 30372305, Consumer Id: 578806, Address Id: 10705370 => Updated with Vin: WD0PD744955851644 ## Mail History Id: 30372305, Consumer Id: 582940, Address Id: 10705370 => Updated with Vin: WD0PE845775204903 ## Mail History Id: 30372763, Consumer Id: 567257, Address Id: 7468608 => Updated with Vin: 3A4FY48B46T338118 ## Mail History Id: 30372695, Consumer Id: 567255, Address Id: 4099388 => Updated with Vin: 1J4HS58NX6C208821 ## Mail History Id: 30372179, Consumer Id: 567322, Address Id: 1171124 => Updated with Vin: 3D7KR19D36G225663 ## Mail History Id: 30372079, Consumer Id: 567324, Address Id: 10711922 => Updated with Vin: 1J4HS48N96C351527 ## Mail History Id: 30373655, Consumer Id: 569652, Address Id: 10716604 => Updated with Vin: 1D7HA18227S142155 ## Mail History Id: 30373655, Consumer Id: 569652, Address Id: 10716604 => Updated with Vin: 1D7HA18227S142155 ## Mail History Id: 30372597, Consumer Id: 567463, Address Id: 10711968 => Updated with Vin: 2B3LA53H16H301147 ## Mail History Id: 30371731, Consumer Id: 568590, Address Id: 10713853 => Updated with Vin: 1J8HH58216C237787 ## Mail History Id: 30372965, Consumer Id: 571076, Address Id: 10717505 => Updated with Vin: 1J8HH58216C237787 ## Mail History Id: 30372766, Consumer Id: 567542, Address Id: 7734904 => Updated with Vin: 2A4GP64L66R774022 ## Mail History Id: 30372766, Consumer Id: 567542, Address Id: 7734904 => Updated with Vin: 2A4GP64L66R774022 ## Mail History Id: 30373169, Consumer Id: 577874, Address Id: 7349592 => Updated with Vin: 1D4HD58D05F524980 ## Mail History Id: 30372327, Consumer Id: 567500, Address Id: 10690067 => Updated with Vin: 2A4GP64L46R910017 ## Mail History Id: 30372867, Consumer Id: 577641, Address Id: 1545334 => Updated with Vin: 1J4FY29P1XP484979 ## Mail History Id: 30372867, Consumer Id: 577641, Address Id: 1545334 => Updated with Vin: 1J4FY29P1XP484979 ## Mail History Id: 30373241, Consumer Id: 567578, Address Id: 1350793 => Updated with Vin: 1J4GK48K55W590829 ## Mail History Id: 30372530, Consumer Id: 567962, Address Id: 1957527 => Updated with Vin: 2C3LA43R86H526123 ## Mail History Id: 30372031, Consumer Id: 820352, Address Id: 2033442 => Updated with Vin: 1D8HD58P97F538792 ## Mail History Id: 30373629, Consumer Id: 568007, Address Id: 1552504 => Updated with Vin: 3A4FY58B36T326032 ## Mail History Id: 30371883, Consumer Id: 567964, Address Id: 4052742 => Updated with Vin: 2C3KA63H06H535932 ## Mail History Id: 30371786, Consumer Id: 578103, Address Id: 8913077 => Updated with Vin: 1J8GW58N24C191752 ## Mail History Id: 30372265, Consumer Id: 567943, Address Id: 4895611 => Updated with Vin: 1J4GK48KX5W529380 ## Mail History Id: 30372708, Consumer Id: 567848, Address Id: 5454 => Updated with Vin: 2B3KA53H56H499968 ## Mail History Id: 30373135, Consumer Id: 578425, Address Id: 10731183 => Updated with Vin: 2B4GH2531NR737370 ## Mail History Id: 30373135, Consumer Id: 578402, Address Id: 10731183 => Updated with Vin: 2B4GP4533VR357932 ## Mail History Id: 30373117, Consumer Id: 567872, Address Id: 10617535 => Updated with Vin: 1J4GX48SX4C271752 ## Mail History Id: 30371780, Consumer Id: 938301, Address Id: 10712117 => Updated with Vin: 2B3KA33G58H173988 ## Mail History Id: 30371977, Consumer Id: 577860, Address Id: 10729721 => Updated with Vin: 2C4GP44R75R575249 ## Mail History Id: 30372507, Consumer Id: 567831, Address Id: 1544488 => Updated with Vin: 1J4GK58K96W255144 ## Mail History Id: 30373391, Consumer Id: 567840, Address Id: 10690047 => Updated with Vin: 1D7HA18236J239353 ## Mail History Id: 30372209, Consumer Id: 567862, Address Id: 5570240 => Updated with Vin: 1A4GP45R46B745592 ## Mail History Id: 30372307, Consumer Id: 567937, Address Id: 3494122 => Updated with Vin: 1A4GP45R56B760814 ## Mail History Id: 30371749, Consumer Id: 567917, Address Id: 10712107 => Updated with Vin: 1J4GS48K66C259518 ## Mail History Id: 30372532, Consumer Id: 567880, Address Id: 5744798 => Updated with Vin: 2C3LA43RX6H526544 ## Mail History Id: 30372532, Consumer Id: 567880, Address Id: 5744798 => Updated with Vin: 2C3LA43RX6H526544 ## Mail History Id: 30372229, Consumer Id: 577880, Address Id: 10729742 => Updated with Vin: 1C3AN69L94X005981 ## Mail History Id: 30373695, Consumer Id: 567907, Address Id: 7267591 => Updated with Vin: 2C3KA63H56H536011 ## Mail History Id: 30373695, Consumer Id: 567907, Address Id: 7267591 => Updated with Vin: 2C3KA63H56H536011 ## Mail History Id: 30373695, Consumer Id: 567907, Address Id: 7267591 => Updated with Vin: 2C3KA63H56H536011 ## Mail History Id: 30372647, Consumer Id: 567931, Address Id: 1332322 => Updated with Vin: 3A4FY58B76T373113 ## Mail History Id: 30372750, Consumer Id: 578534, Address Id: 8762590 => Updated with Vin: 1B3HB48C97D554841 ## Mail History Id: 30371825, Consumer Id: 567993, Address Id: 10712126 => Updated with Vin: 1D4GP45R46B591751 ## Mail History Id: 30371957, Consumer Id: 759542, Address Id: 4890802 => Updated with Vin: 1J8HS48N38C160185 ## Mail History Id: 30372217, Consumer Id: 937280, Address Id: 10678112 => Updated with Vin: 1J8GP28K98W176980 ## Mail History Id: 30372217, Consumer Id: 937280, Address Id: 10678112 => Updated with Vin: 1J8GP28K98W176980 ## Mail History Id: 30373071, Consumer Id: 872521, Address Id: 7472965 => Updated with Vin: 1J4FA39S56P742725 ## Mail History Id: 30371844, Consumer Id: 568582, Address Id: 4130546 => Updated with Vin: 1J4GS48K86C368756 ## Mail History Id: 30373499, Consumer Id: 568527, Address Id: 1550657 => Updated with Vin: 1D7HA18246S555337 ## Mail History Id: 30373499, Consumer Id: 568575, Address Id: 1550657 => Updated with Vin: 2B3KA53H86H342094 ## Mail History Id: 30372837, Consumer Id: 568678, Address Id: 10712338 => Updated with Vin: 1J4GK38K06W233196 ## Mail History Id: 30372837, Consumer Id: 568678, Address Id: 10712338 => Updated with Vin: 1J4GK38K06W233196 ## Mail History Id: 30373025, Consumer Id: 573084, Address Id: 10712297 => Updated with Vin: 2C4GM68495R293861 ## Mail History Id: 30373433, Consumer Id: 568670, Address Id: 10712336 => Updated with Vin: 2C3KA73W46H535744 ## Mail History Id: 30371797, Consumer Id: 568791, Address Id: 781533 => Updated with Vin: 1D4HD38K36F187676 ## Mail History Id: 30372267, Consumer Id: 578446, Address Id: 3167474 => Updated with Vin: 1J8HH58N26C125770 ## Mail History Id: 30372889, Consumer Id: 578450, Address Id: 10731233 => Updated with Vin: 3C4FY58B65T586204 ## Mail History Id: 30373149, Consumer Id: 578688, Address Id: 10732001 => Updated with Vin: 1J4GK58K04W274825 ## Mail History Id: 30373149, Consumer Id: 579569, Address Id: 10732001 => Updated with Vin: 3C4FY58B44T331811 ## Mail History Id: 30372555, Consumer Id: 568630, Address Id: 2079446 => Updated with Vin: 2D4FV47V26H462667 ## Mail History Id: 30371746, Consumer Id: 568632, Address Id: 2069308 => Updated with Vin: 2C3KA53G66H538139 ## Mail History Id: 30371885, Consumer Id: 568887, Address Id: 4053167 => Updated with Vin: 2C3KA53G46H538124 ## Mail History Id: 30371885, Consumer Id: 568887, Address Id: 4053167 => Updated with Vin: 2C3KA53G46H538124 ## Mail History Id: 30372827, Consumer Id: 759546, Address Id: 10716490 => Updated with Vin: 1A8HX582X8F119676 ## Mail History Id: 30372827, Consumer Id: 759546, Address Id: 10716490 => Updated with Vin: 1A8HX582X8F119676 ## Mail History Id: 30372141, Consumer Id: 568544, Address Id: 1169309 => Updated with Vin: 2B3LA73W76H508104 ## Mail History Id: 30372141, Consumer Id: 568544, Address Id: 1169309 => Updated with Vin: 2B3LA73W76H508104 ## Mail History Id: 30373029, Consumer Id: 579057, Address Id: 3405281 => Updated with Vin: 1J4FT68S6XL534214 ## Mail History Id: 30372835, Consumer Id: 578998, Address Id: 10732239 => Updated with Vin: 1J4GK58K05W683019 ## Mail History Id: 30372835, Consumer Id: 578998, Address Id: 10732239 => Updated with Vin: 1J4GK58K05W683019 ## Mail History Id: 30372169, Consumer Id: 580484, Address Id: 7114717 => Updated with Vin: 1D8GP45R77B204903 ## Mail History Id: 30371881, Consumer Id: 568748, Address Id: 2014430 => Updated with Vin: 2B3KA43G57H625135 ## Mail History Id: 30371738, Consumer Id: 568018, Address Id: 2067091 => Updated with Vin: 2B3KA43G26H428292 ## Mail History Id: 30372905, Consumer Id: 567986, Address Id: 7470246 => Updated with Vin: 1D4GP45R66B743108 ## Mail History Id: 30371727, Consumer Id: 578922, Address Id: 10732193 => Updated with Vin: 1D7KS28D36J226919 ## Mail History Id: 30372237, Consumer Id: 570722, Address Id: 10678183 => Updated with Vin: 1J8GA59177L195925 ## Mail History Id: 30373099, Consumer Id: 578852, Address Id: 10699320 => Updated with Vin: 1J4GL48K84W195698 ## Mail History Id: 30372331, Consumer Id: 568210, Address Id: 10713715 => Updated with Vin: JTLKT334850176984 ## Mail History Id: 30373367, Consumer Id: 580194, Address Id: 1547721 => Updated with Vin: 3C4FY48B84T248909 ## Mail History Id: 30371947, Consumer Id: 578705, Address Id: 10732014 => Updated with Vin: 1J4GW68N5XC793475 ## Mail History Id: 30372562, Consumer Id: 579788, Address Id: 10732032 => Updated with Vin: 1A8HX58267F504327 ## Mail History Id: 30373411, Consumer Id: 568268, Address Id: 10713732 => Updated with Vin: 1D4HD38N96F114015 ## Mail History Id: 30373175, Consumer Id: 568160, Address Id: 10713692 => Updated with Vin: 2D4FV48V65H185888 ## Mail History Id: 30373175, Consumer Id: 568160, Address Id: 10713692 => Updated with Vin: 2D4FV48V65H185888 ## Mail History Id: 30372625, Consumer Id: 568096, Address Id: 10713674 => Updated with Vin: 1J8HG48N46C366940 ## Mail History Id: 30372195, Consumer Id: 568144, Address Id: 4895134 => Updated with Vin: 1J8HG48K86C363917 ## Mail History Id: 30372195, Consumer Id: 568144, Address Id: 4895134 => Updated with Vin: 1J8HG48K86C363917 ## Mail History Id: 30373659, Consumer Id: 568323, Address Id: 1553079 => Updated with Vin: 1D4HD48D45F541789 ## Mail History Id: 30373143, Consumer Id: 820351, Address Id: 10733257 => Updated with Vin: 1J8GP58K88W249354 ## Mail History Id: 30371818, Consumer Id: 568126, Address Id: 10713685 => Updated with Vin: 1J4GS48K66C351535 ## Mail History Id: 30373645, Consumer Id: 568116, Address Id: 10713679 => Updated with Vin: 1D7HA18N86J131238 ## Mail History Id: 30373329, Consumer Id: 578980, Address Id: 1547346 => Updated with Vin: 1J4GL38K96W289893 ## Mail History Id: 30372967, Consumer Id: 568110, Address Id: 10616853 => Updated with Vin: 3A8FY68BX6T364491 ## Mail History Id: 30373583, Consumer Id: 572496, Address Id: 10713682 => Updated with Vin: 1C3LC55R58N104866 ## Mail History Id: 30373583, Consumer Id: 568120, Address Id: 10713682 => Updated with Vin: 2A8GM68X97R103482 ## Mail History Id: 30372407, Consumer Id: 568179, Address Id: 10713700 => Updated with Vin: 1N4AL11DX6C148592 ## Mail History Id: 30372645, Consumer Id: 570329, Address Id: 10713874 => Updated with Vin: 1D7HU18D35J501377 ## Mail History Id: 30371894, Consumer Id: 568526, Address Id: 10713823 => Updated with Vin: 1J8HG58266C363999 ## Mail History Id: 30373577, Consumer Id: 570432, Address Id: 10705686 => Updated with Vin: 2A8GM68X17R220165 ## Mail History Id: 30373441, Consumer Id: 872226, Address Id: 10713671 => Updated with Vin: 2A8GM68X17R220165 ## Mail History Id: 30373561, Consumer Id: 572676, Address Id: 2548477 => Updated with Vin: 1D8HD48P77F563720 ## Mail History Id: 30373409, Consumer Id: 579012, Address Id: 10733306 => Updated with Vin: 3D3KU28D23G721623 ## Mail History Id: 30372911, Consumer Id: 569095, Address Id: 10714050 => Updated with Vin: 1D4HD38N46F117677 ## Mail History Id: 30372518, Consumer Id: 568864, Address Id: 2024013 => Updated with Vin: 3A4FY58B26T373200 ## Mail History Id: 30371781, Consumer Id: 757470, Address Id: 3163610 => Updated with Vin: 2B3KA43R68H110213 ## Mail History Id: 30373267, Consumer Id: 568488, Address Id: 10713812 => Updated with Vin: 1GNDT13S432407055 ## Mail History Id: 30372677, Consumer Id: 572774, Address Id: 3494564 => Updated with Vin: 2A8HR64X98R615031 ## Mail History Id: 30372677, Consumer Id: 572774, Address Id: 3494564 => Updated with Vin: 2A8HR64X98R615031 ## Mail History Id: 30371916, Consumer Id: 578940, Address Id: 10733276 => Updated with Vin: 2B4GP44302R744578 ## Mail History Id: 30371916, Consumer Id: 578940, Address Id: 10733276 => Updated with Vin: 2B4GP44302R744578 ## Mail History Id: 30373449, Consumer Id: 568707, Address Id: 10713897 => Updated with Vin: 2B3KA43R87H677747 ## Mail History Id: 30372794, Consumer Id: 578853, Address Id: 7031464 => Updated with Vin: 3A4FY48B86T319264 ## Mail History Id: 30372755, Consumer Id: 578664, Address Id: 10733219 => Updated with Vin: 1J4GX48S42C177234 ## Mail History Id: 30373365, Consumer Id: 568506, Address Id: 10713818 => Updated with Vin: 1P3ES46C61D211710 ## Mail History Id: 30372199, Consumer Id: 578711, Address Id: 3493153 => Updated with Vin: 1J8HH58N66C107126 ## Mail History Id: 30372199, Consumer Id: 578711, Address Id: 3493153 => Updated with Vin: 1J8HH58N66C107126 ## Mail History Id: 30371731, Consumer Id: 570699, Address Id: 10713853 => Updated with Vin: 1D8HD58217F565277 ## Mail History Id: 30371731, Consumer Id: 570699, Address Id: 10713853 => Updated with Vin: 1D8HD58217F565277 ## Mail History Id: 30372586, Consumer Id: 568438, Address Id: 8544699 => Updated with Vin: 1J8HH48K77C511778 ## Mail History Id: 30372131, Consumer Id: 578766, Address Id: 2044296 => Updated with Vin: 2C3LA53G76H145044 ## Mail History Id: 30372225, Consumer Id: 578817, Address Id: 10733248 => Updated with Vin: 1B3HB48B87D507792 ## Mail History Id: 30372667, Consumer Id: 579340, Address Id: 10733852 => Updated with Vin: 1D7HA18266S565769 ## Mail History Id: 30373341, Consumer Id: 580113, Address Id: 4601062 => Updated with Vin: 1A4GJ45R77B135057 ## Mail History Id: 30372859, Consumer Id: 568457, Address Id: 10686439 => Updated with Vin: 1D4GP24R26B650124 ## Mail History Id: 30373113, Consumer Id: 568434, Address Id: 10713796 => Updated with Vin: 1J4HS58246C225412 ## Mail History Id: 30372161, Consumer Id: 568447, Address Id: 10713800 => Updated with Vin: 1J4GL58K66W271444 ## Mail History Id: 30373017, Consumer Id: 568747, Address Id: 10713914 => Updated with Vin: 1D7KS28C66J155674 ## Mail History Id: 30372550, Consumer Id: 568480, Address Id: 4136128 => Updated with Vin: 2B3KA43GX7H617354 ## Mail History Id: 30371796, Consumer Id: 568654, Address Id: 10713878 => Updated with Vin: 2B3KA53H36H473112 ## Mail History Id: 30372439, Consumer Id: 581093, Address Id: 1543731 => Updated with Vin: 1B3ES26C23D106431 ## Mail History Id: 30372927, Consumer Id: 572941, Address Id: 2546070 => Updated with Vin: 1J4GL48K57W538973 ## Mail History Id: 30372151, Consumer Id: 568809, Address Id: 7463387 => Updated with Vin: 1D4HD48296F175151 ## Mail History Id: 30373699, Consumer Id: 579352, Address Id: 6711889 => Updated with Vin: 2A8GM68416R754190 ## Mail History Id: 30373733, Consumer Id: 579564, Address Id: 1554411 => Updated with Vin: 2C3HC56G2YH302008 ## Mail History Id: 30373335, Consumer Id: 569192, Address Id: 10714091 => Updated with Vin: 2C3KA53G86H441704 ## Mail History Id: 30373609, Consumer Id: 569176, Address Id: 1552336 => Updated with Vin: 1D7KS28C86J236837 ## Mail History Id: 30373609, Consumer Id: 569176, Address Id: 1552336 => Updated with Vin: 1D7KS28C86J236837 ## Mail History Id: 30371743, Consumer Id: 568424, Address Id: 10713791 => Updated with Vin: 1J4FA49S66P730640 ## Mail History Id: 30372921, Consumer Id: 931998, Address Id: 3404817 => Updated with Vin: 1D8GU28K07W583585 ## Mail History Id: 30372473, Consumer Id: 579265, Address Id: 1544167 => Updated with Vin: 1C4GP44G8YB673210 ## Mail History Id: 30371971, Consumer Id: 579267, Address Id: 3157170 => Updated with Vin: 1J4GS48K96C173118 ## Mail History Id: 30372564, Consumer Id: 579272, Address Id: 10733786 => Updated with Vin: JHLRD68525C009872 ## Mail History Id: 30372255, Consumer Id: 579268, Address Id: 10733781 => Updated with Vin: 1J4GW48S71C592355 ## Mail History Id: 30373371, Consumer Id: 569175, Address Id: 10714081 => Updated with Vin: 1D7HE22K96S718003 ## Mail History Id: 30372819, Consumer Id: 569164, Address Id: 10714074 => Updated with Vin: 1J8FT47W97D132236 ## Mail History Id: 30372047, Consumer Id: 569184, Address Id: 2541743 => Updated with Vin: 1D4HD48NX6F160457 ## Mail History Id: 30371755, Consumer Id: 569304, Address Id: 6507704 => Updated with Vin: 1D7HA18277J548275 ## Mail History Id: 30373727, Consumer Id: 569177, Address Id: 10714083 => Updated with Vin: 1D4HD58N16F179937 ## Mail History Id: 30373523, Consumer Id: 579737, Address Id: 1551283 => Updated with Vin: 3C8FY4BB91T308201 ## Mail History Id: 30373523, Consumer Id: 579737, Address Id: 1551283 => Updated with Vin: 3C8FY4BB91T308201 ## Mail History Id: 30373523, Consumer Id: 579737, Address Id: 1551283 => Updated with Vin: 3C8FY4BB91T308201 ## Mail History Id: 30372710, Consumer Id: 569126, Address Id: 10714061 => Updated with Vin: 1J4GA391X7L140181 ## Mail History Id: 30372817, Consumer Id: 909590, Address Id: 10723691 => Updated with Vin: 2C3LA53GX6H186400 ## Mail History Id: 30371908, Consumer Id: 569512, Address Id: 10716516 => Updated with Vin: 1J4HR58246C362491 ## Mail History Id: 30373013, Consumer Id: 579631, Address Id: 10735034 => Updated with Vin: 3A4FY48B36T275402 ## Mail History Id: 30371934, Consumer Id: 569372, Address Id: 10716436 => Updated with Vin: 1J8HS68297C526926 ## Mail History Id: 30372580, Consumer Id: 579577, Address Id: 10735006 => Updated with Vin: 1FMRU15W61LB10741 ## Mail History Id: 30372431, Consumer Id: 630224, Address Id: 1177922 => Updated with Vin: 1D8GT28K97W610592 ## Mail History Id: 30373481, Consumer Id: 569634, Address Id: 10716592 => Updated with Vin: 1D7KS28C76J245416 ## Mail History Id: 30373355, Consumer Id: 569471, Address Id: 10716493 => Updated with Vin: 3A4FY58BX6T373106 ## Mail History Id: 30372285, Consumer Id: 569498, Address Id: 10716509 => Updated with Vin: 1D4GP24R86B554921 ## Mail History Id: 30372631, Consumer Id: 569502, Address Id: 10716512 => Updated with Vin: 2B3LA73W47H700033 ## Mail History Id: 30371953, Consumer Id: 820082, Address Id: 2333108 => Updated with Vin: 1B3HB28B08D503760 ## Mail History Id: 30371740, Consumer Id: 569662, Address Id: 10716610 => Updated with Vin: 1J8GS48K47C584068 ## Mail History Id: 30372849, Consumer Id: 580029, Address Id: 10736024 => Updated with Vin: 1C4GP45R75B301630 ## Mail History Id: 30373387, Consumer Id: 569515, Address Id: 10716519 => Updated with Vin: 1J4FA24117L135092 ## Mail History Id: 30373387, Consumer Id: 569515, Address Id: 10716519 => Updated with Vin: 1J4FA24117L135092 ## Mail History Id: 30371884, Consumer Id: 569541, Address Id: 10690298 => Updated with Vin: 3A4FY48BX6T296487 ## Mail History Id: 30371813, Consumer Id: 569728, Address Id: 10716644 => Updated with Vin: 2A4GP54L97R229914 ## Mail History Id: 30372553, Consumer Id: 569480, Address Id: 2078850 => Updated with Vin: 2B3KA53H37H654437 ## Mail History Id: 30373603, Consumer Id: 571434, Address Id: 10716642 => Updated with Vin: 3A4FY48B57T604683 ## Mail History Id: 30371917, Consumer Id: 569638, Address Id: 1542633 => Updated with Vin: 3D7KR29C56G208408 ## Mail History Id: 30373221, Consumer Id: 579666, Address Id: 10735903 => Updated with Vin: 1B3ES56C02D616342 ## Mail History Id: 30372808, Consumer Id: 569645, Address Id: 10716599 => Updated with Vin: 2C3KA53G57H629730 ## Mail History Id: 30373265, Consumer Id: 557667, Address Id: 10695304 => Updated with Vin: 2C8GM68454R636775 ## Mail History Id: 30372899, Consumer Id: 569892, Address Id: 10716745 => Updated with Vin: 1J8FT47WX7D223144 ## Mail History Id: 30372049, Consumer Id: 571335, Address Id: 2796623 => Updated with Vin: 1C4GJ45363B161693 ## Mail History Id: 30373229, Consumer Id: 937541, Address Id: 2798382 => Updated with Vin: 2B3LA53H36H322386 ## Mail History Id: 30372513, Consumer Id: 570070, Address Id: 10716844 => Updated with Vin: 1J4GX48S83C569473 ## Mail History Id: 30372245, Consumer Id: 569659, Address Id: 7464468 => Updated with Vin: 2C3LA43R77H706078 ## Mail History Id: 30373105, Consumer Id: 582239, Address Id: 10735833 => Updated with Vin: 1J8GN58K18W145911 ## Mail History Id: 30371762, Consumer Id: 569696, Address Id: 10716628 => Updated with Vin: 1B3HB48B87D110499 ## Mail History Id: 30372001, Consumer Id: 569726, Address Id: 10716643 => Updated with Vin: 1D7HA18P37S172700 ## Mail History Id: 30371884, Consumer Id: 569668, Address Id: 10690298 => Updated with Vin: 1D7HA18297J571251 ## Mail History Id: 30372700, Consumer Id: 569826, Address Id: 10488362 => Updated with Vin: 1J4GK48K27W525634 ## Mail History Id: 30372700, Consumer Id: 910902, Address Id: 10488362 => Updated with Vin: 2C3KA53G06H473711 ## Mail History Id: 30371807, Consumer Id: 581711, Address Id: 10742132 => Updated with Vin: 2C3KA53G06H473711 ## Mail History Id: 30371910, Consumer Id: 579984, Address Id: 10736277 => Updated with Vin: 1J4GL58KX5W719943 ## Mail History Id: 30372087, Consumer Id: 573167, Address Id: 10711957 => Updated with Vin: 1A8HW58227F528885 ## Mail History Id: 30373755, Consumer Id: 569686, Address Id: 4104111 => Updated with Vin: 1D8GT58KX7W639374 ## Mail History Id: 30373427, Consumer Id: 569657, Address Id: 10716607 => Updated with Vin: 1J4FA24197L128911 ## Mail History Id: 30372941, Consumer Id: 580155, Address Id: 10736392 => Updated with Vin: 3C4FY58B65T578507 ## Mail History Id: 30372945, Consumer Id: 580152, Address Id: 1545549 => Updated with Vin: 1B3ES56C74D504432 ## Mail History Id: 30373633, Consumer Id: 910467, Address Id: 1552517 => Updated with Vin: 2A4GP54L37R230895 ## Mail History Id: 30373009, Consumer Id: 872523, Address Id: 7472081 => Updated with Vin: 1D7KS28C56J127297 ## Mail History Id: 30372165, Consumer Id: 571695, Address Id: 10716837 => Updated with Vin: 1C3LC56R57N560783 ## Mail History Id: 30372492, Consumer Id: 580207, Address Id: 10736452 => Updated with Vin: 1C3AN69L65X035313 ## Mail History Id: 30371726, Consumer Id: 909844, Address Id: 4104223 => Updated with Vin: 1N4AL21E08C126084 ## Mail History Id: 30371726, Consumer Id: 580184, Address Id: 4104223 => Updated with Vin: 3A4FY58B06T221822 ## Mail History Id: 30373159, Consumer Id: 570076, Address Id: 10716848 => Updated with Vin: 1D7HA18N56J169784 ## Mail History Id: 30373159, Consumer Id: 570076, Address Id: 10716848 => Updated with Vin: 1D7HA18N56J169784 ## Mail History Id: 30372664, Consumer Id: 570030, Address Id: 5385414 => Updated with Vin: 2A4GP54L27R230824 ## Mail History Id: 30373549, Consumer Id: 570036, Address Id: 10716824 => Updated with Vin: 2C3JA53G85H633456 ## Mail History Id: 30372913, Consumer Id: 571943, Address Id: 10716999 => Updated with Vin: 1J8GA59118L520876 ## Mail History Id: 30372187, Consumer Id: 580049, Address Id: 7463566 => Updated with Vin: 1C3AN55L75X058681 ## Mail History Id: 30372496, Consumer Id: 580092, Address Id: 10736325 => Updated with Vin: 1J4GK58K82W242184 ## Mail History Id: 30372702, Consumer Id: 570052, Address Id: 1546668 => Updated with Vin: 1J8FT47W27D223140 ## Mail History Id: 30372697, Consumer Id: 570008, Address Id: 10686336 => Updated with Vin: 1D8HD48P17F506008 ## Mail History Id: 30373543, Consumer Id: 570097, Address Id: 10716861 => Updated with Vin: 1J4GK48K46W153552 ## Mail History Id: 30373257, Consumer Id: 580102, Address Id: 10736347 => Updated with Vin: 3C4FY58B65T608489 ## Mail History Id: 30372505, Consumer Id: 581243, Address Id: 10740830 => Updated with Vin: 1J4GK48K73W515126 ## Mail History Id: 30373333, Consumer Id: 570064, Address Id: 10716839 => Updated with Vin: 3D7KS28CX5G846643 ## Mail History Id: 30373333, Consumer Id: 570064, Address Id: 10716839 => Updated with Vin: 3D7KS28CX5G846643 ## Mail History Id: 30373553, Consumer Id: 570091, Address Id: 10716858 => Updated with Vin: 2C3KA63H76H498359 ## Mail History Id: 30372091, Consumer Id: 570023, Address Id: 10716816 => Updated with Vin: 1J4GS48K35C525754 ## Mail History Id: 30372283, Consumer Id: 570022, Address Id: 10694158 => Updated with Vin: 1J4GK58K23W724943 ## Mail History Id: 30372538, Consumer Id: 570182, Address Id: 6834756 => Updated with Vin: 1J4GA39167L171007 ## Mail History Id: 30372243, Consumer Id: 958349, Address Id: 5390981 => Updated with Vin: 3A4FY48B66T334796 ## Mail History Id: 30371997, Consumer Id: 570171, Address Id: 2796415 => Updated with Vin: 2B3KA43G57H750877 ## Mail History Id: 30372727, Consumer Id: 570047, Address Id: 10716827 => Updated with Vin: 1D4HD58D25F516363 ## Mail History Id: 30371772, Consumer Id: 570204, Address Id: 10716931 => Updated with Vin: 1D7HE22K55S169768 ## Mail History Id: 30373421, Consumer Id: 570033, Address Id: 1548646 => Updated with Vin: 1D8GU28K27W634147 ## Mail History Id: 30373051, Consumer Id: 580625, Address Id: 10737802 => Updated with Vin: 1J4GL58K63W713683 ## Mail History Id: 30373459, Consumer Id: 570082, Address Id: 8912423 => Updated with Vin: 1J4GA59127L170111 ## Mail History Id: 30371951, Consumer Id: 580394, Address Id: 3156759 => Updated with Vin: 1D7HA18N46S550715 ## Mail History Id: 30373493, Consumer Id: 570373, Address Id: 10710720 => Updated with Vin: 1J8HR582X6C181605 ## Mail History Id: 30373133, Consumer Id: 573523, Address Id: 4906196 => Updated with Vin: 3D7MA48C13G798230 ## Mail History Id: 30373103, Consumer Id: 570398, Address Id: 10697973 => Updated with Vin: 1J8GS48K17C572878 ## Mail History Id: 30371763, Consumer Id: 820358, Address Id: 6866931 => Updated with Vin: 1J4GA39118L615363 ## Mail History Id: 30372295, Consumer Id: 570493, Address Id: 10689625 => Updated with Vin: 1D7KS28C27J527206 ## Mail History Id: 30372459, Consumer Id: 570439, Address Id: 3402232 => Updated with Vin: 1J4GA39197L162687 ## Mail History Id: 30372459, Consumer Id: 570439, Address Id: 3402232 => Updated with Vin: 1J4GA39197L162687 ## Mail History Id: 30373243, Consumer Id: 570473, Address Id: 10717212 => Updated with Vin: 1J8FT47WX7D196589 ## Mail History Id: 30372483, Consumer Id: 570435, Address Id: 10717192 => Updated with Vin: 1J4GK48K65W500684 ## Mail History Id: 30372313, Consumer Id: 570433, Address Id: 5595179 => Updated with Vin: 1J4GA39147L171006 ## Mail History Id: 30372756, Consumer Id: 570422, Address Id: 10717189 => Updated with Vin: 1J4GK58K17W505056 ## Mail History Id: 30373577, Consumer Id: 570432, Address Id: 10705686 => Updated with Vin: 2A8GM68X17R220165 ## Mail History Id: 30373441, Consumer Id: 872226, Address Id: 10713671 => Updated with Vin: 2A8GM68X17R220165 ## Mail History Id: 30373255, Consumer Id: 570455, Address Id: 1612180 => Updated with Vin: 2B3KA43R77H742197 ## Mail History Id: 30372735, Consumer Id: 580767, Address Id: 2056575 => Updated with Vin: 1D7HA18N96S594404 ## Mail History Id: 30372297, Consumer Id: 910077, Address Id: 7465026 => Updated with Vin: 1B3EJ46X31N620507 ## Mail History Id: 30372493, Consumer Id: 570567, Address Id: 4899341 => Updated with Vin: 1B3LC46KX8N537849 ## Mail History Id: 30372379, Consumer Id: 580799, Address Id: 10738486 => Updated with Vin: 2C3HD46R11H554847 ## Mail History Id: 30372879, Consumer Id: 581605, Address Id: 10616663 => Updated with Vin: 1D8HD58267F561077 ## Mail History Id: 30373385, Consumer Id: 570438, Address Id: 10686381 => Updated with Vin: 2D4GP44LX7R103693 ## Mail History Id: 30373349, Consumer Id: 580734, Address Id: 10738447 => Updated with Vin: 2C3LA63H36H135738 ## Mail History Id: 30372433, Consumer Id: 570443, Address Id: 7466383 => Updated with Vin: WDBRF81J55F686938 ## Mail History Id: 30371869, Consumer Id: 570829, Address Id: 2541160 => Updated with Vin: 2D4GP44L87R103692 ## Mail History Id: 30372810, Consumer Id: 570454, Address Id: 2863461 => Updated with Vin: 1J8FF28W77D272246 ## Mail History Id: 30373545, Consumer Id: 570697, Address Id: 10717316 => Updated with Vin: 3A4FY58BX6T292056 ## Mail History Id: 30372812, Consumer Id: 570679, Address Id: 1628493 => Updated with Vin: 3A4FY58B96T373095 ## Mail History Id: 30372119, Consumer Id: 570863, Address Id: 4084688 => Updated with Vin: 1J4GA591X7L161351 ## Mail History Id: 30371872, Consumer Id: 570710, Address Id: 10717323 => Updated with Vin: 2B3LA73W97H787461 ## Mail History Id: 30371872, Consumer Id: 570710, Address Id: 10717323 => Updated with Vin: 2B3LA73W97H787461 ## Mail History Id: 30372013, Consumer Id: 570618, Address Id: 1163259 => Updated with Vin: 1D8GU58617W620230 ## Mail History Id: 30373307, Consumer Id: 572200, Address Id: 10686472 => Updated with Vin: 1B3ES56C85D138000 ## Mail History Id: 30372681, Consumer Id: 570903, Address Id: 1336075 => Updated with Vin: 2A8GM48L37R346772 ## Mail History Id: 30371865, Consumer Id: 580500, Address Id: 3167074 => Updated with Vin: 1D4HD58D34F176168 ## Mail History Id: 30372863, Consumer Id: 581086, Address Id: 10740692 => Updated with Vin: 2B3LA73W67H613671 ## Mail History Id: 30372405, Consumer Id: 570630, Address Id: 10717280 => Updated with Vin: 1B3HB48B67D351820 ## Mail History Id: 30371805, Consumer Id: 580973, Address Id: 10740127 => Updated with Vin: 2C3KA43R37H673639 ## Mail History Id: 30372738, Consumer Id: 570915, Address Id: 10717417 => Updated with Vin: 1D8GT28K87W683517 ## Mail History Id: 30373235, Consumer Id: 570717, Address Id: 1350597 => Updated with Vin: 1J4GA59167L191642 ## Mail History Id: 30373235, Consumer Id: 570717, Address Id: 1350597 => Updated with Vin: 1J4GA59167L191642 ## Mail History Id: 30373235, Consumer Id: 570717, Address Id: 1350597 => Updated with Vin: 1J4GA59167L191642 ## Mail History Id: 30372415, Consumer Id: 576214, Address Id: 10723641 => Updated with Vin: 1FTCR14U7TTA65615 ## Mail History Id: 30372415, Consumer Id: 576214, Address Id: 10723641 => Updated with Vin: 1FTCR14U7TTA65615 ## Mail History Id: 30373437, Consumer Id: 570607, Address Id: 10717274 => Updated with Vin: 1J4GA39157L189675 ## Mail History Id: 30373219, Consumer Id: 570926, Address Id: 10717278 => Updated with Vin: 1G1ND52J83M590919 ## Mail History Id: 30372607, Consumer Id: 570779, Address Id: 2555419 => Updated with Vin: 2B3KA53H97H782360 ## Mail History Id: 30372437, Consumer Id: 580957, Address Id: 1543659 => Updated with Vin: 1D7HA18246S634751 ## Mail History Id: 30372720, Consumer Id: 570658, Address Id: 10012989 => Updated with Vin: 1D7HA18237J571357 ## Mail History Id: 30373621, Consumer Id: 570713, Address Id: 10717325 => Updated with Vin: 1N4AL11D85C351575 ## Mail History Id: 30373521, Consumer Id: 570611, Address Id: 10717275 => Updated with Vin: 1J4GA39137L197886 ## Mail History Id: 30371808, Consumer Id: 570684, Address Id: 10717307 => Updated with Vin: 3D7LL38C66G132825 ## Mail History Id: 30371808, Consumer Id: 570684, Address Id: 10717307 => Updated with Vin: 3D7LL38C66G132825 ## Mail History Id: 30372579, Consumer Id: 580831, Address Id: 10740027 => Updated with Vin: 1B3ES26C34D588280 ## Mail History Id: 30373615, Consumer Id: 571013, Address Id: 10717472 => Updated with Vin: 2A8GM68X57R269482 ## Mail History Id: 30372815, Consumer Id: 570990, Address Id: 5988923 => Updated with Vin: 2C3LA53G97H807885 ## Mail History Id: 30372155, Consumer Id: 580726, Address Id: 5390692 => Updated with Vin: 1D8HD58D95F622713 ## Mail History Id: 30372155, Consumer Id: 580726, Address Id: 5390692 => Updated with Vin: 1D8HD58D95F622713 ## Mail History Id: 30373723, Consumer Id: 570948, Address Id: 1554320 => Updated with Vin: 2C3KA43R57H774116 ## Mail History Id: 30373065, Consumer Id: 580738, Address Id: 5396560 => Updated with Vin: 1D7HA18N56S685685 ## Mail History Id: 30372997, Consumer Id: 570969, Address Id: 7471827 => Updated with Vin: 1C3LC46KX7N604998 ## Mail History Id: 30373593, Consumer Id: 571093, Address Id: 10717515 => Updated with Vin: 2C3LA53G47H807888 ## Mail History Id: 30373541, Consumer Id: 570992, Address Id: 10717462 => Updated with Vin: 1C3LC45K78N633989 ## Mail History Id: 30373041, Consumer Id: 572083, Address Id: 7605783 => Updated with Vin: 1J8HH48K48C134022 ## Mail History Id: 30372861, Consumer Id: 581156, Address Id: 10740754 => Updated with Vin: 3C8FY68B92T332759 ## Mail History Id: 30372745, Consumer Id: 570973, Address Id: 2668811 => Updated with Vin: 2B3KA43G47H770649 ## Mail History Id: 30373753, Consumer Id: 570974, Address Id: 2065917 => Updated with Vin: 1A8HX58297F524233 ## Mail History Id: 30372509, Consumer Id: 912126, Address Id: 2544326 => Updated with Vin: 1D7HE38K88S539600 ## Mail History Id: 30372509, Consumer Id: 912126, Address Id: 2544326 => Updated with Vin: 1D7HE38K88S539600 ## Mail History Id: 30372301, Consumer Id: 581265, Address Id: 3168142 => Updated with Vin: 1D7HA18D55S208101 ## Mail History Id: 30372855, Consumer Id: 581115, Address Id: 10740715 => Updated with Vin: 1J4GR48K45C632131 ## Mail History Id: 30371804, Consumer Id: 571110, Address Id: 7353304 => Updated with Vin: 1J4FA24127L202511 ## Mail History Id: 30373709, Consumer Id: 571041, Address Id: 10717488 => Updated with Vin: 1B3ES66S04D553257 ## Mail History Id: 30372203, Consumer Id: 571144, Address Id: 10717539 => Updated with Vin: JA3AJ26E92U048686 ## Mail History Id: 30372893, Consumer Id: 571017, Address Id: 10717475 => Updated with Vin: 1J8GS48K67C680638 ## Mail History Id: 30371822, Consumer Id: 581261, Address Id: 10740851 => Updated with Vin: 1J8HH58227C630392 ## Mail History Id: 30373707, Consumer Id: 571025, Address Id: 10717480 => Updated with Vin: 2C3KA43R86H157615 ## Mail History Id: 30373707, Consumer Id: 571025, Address Id: 10717480 => Updated with Vin: 2C3KA43R86H157615 ## Mail History Id: 30373207, Consumer Id: 571220, Address Id: 7474471 => Updated with Vin: KNAFE121X65225705 ## Mail History Id: 30372707, Consumer Id: 571232, Address Id: 7348914 => Updated with Vin: 2A8GM68X97R300295 ## Mail History Id: 30372969, Consumer Id: 570989, Address Id: 5572987 => Updated with Vin: 2A4GP44R16R731295 ## Mail History Id: 30372197, Consumer Id: 581078, Address Id: 10740686 => Updated with Vin: 1J4GK48K46W275196 ## Mail History Id: 30372371, Consumer Id: 581082, Address Id: 10740690 => Updated with Vin: 3A4FY48B36T253769 ## Mail History Id: 30372371, Consumer Id: 581082, Address Id: 10740690 => Updated with Vin: 3A4FY48B36T253769 ## Mail History Id: 30372947, Consumer Id: 571290, Address Id: 10717810 => Updated with Vin: 1J4GB59147L142999 ## Mail History Id: 30372111, Consumer Id: 871005, Address Id: 11909984 => Updated with Vin: 1J4FA49S2YP773133 ## Mail History Id: 30372563, Consumer Id: 581997, Address Id: 1544908 => Updated with Vin: 2C3KA43R66H508599 ## Mail History Id: 30372205, Consumer Id: 571313, Address Id: 1171429 => Updated with Vin: 1J8FT47067D391679 ## Mail History Id: 30373555, Consumer Id: 571536, Address Id: 10717888 => Updated with Vin: 2A8GM68X17R346767 ## Mail History Id: 30373463, Consumer Id: 571341, Address Id: 7158018 => Updated with Vin: 1J8GK48K47W686985 ## Mail History Id: 30372582, Consumer Id: 571576, Address Id: 1679876 => Updated with Vin: 1D7HE42P77S263368 ## Mail History Id: 30371735, Consumer Id: 571338, Address Id: 10717833 => Updated with Vin: 1J8FT48W47D333251 ## Mail History Id: 30371778, Consumer Id: 571325, Address Id: 10717829 => Updated with Vin: 1J8FT47017D391749 ## Mail History Id: 30372347, Consumer Id: 571326, Address Id: 10717830 => Updated with Vin: 3D7KU28C04G273907 ## Mail History Id: 30372347, Consumer Id: 571326, Address Id: 10717830 => Updated with Vin: 3D7KU28C04G273907 ## Mail History Id: 30372604, Consumer Id: 571342, Address Id: 10717835 => Updated with Vin: 1D8HD48237F565274 ## Mail History Id: 30371928, Consumer Id: 571317, Address Id: 10717823 => Updated with Vin: 1D8GT28K07W740731 ## Mail History Id: 30373063, Consumer Id: 571330, Address Id: 10717832 => Updated with Vin: 1J4FA24167L219943 ## Mail History Id: 30373507, Consumer Id: 607259, Address Id: 7158240 => Updated with Vin: 3D7MX38A77G807042 ## Mail History Id: 30373507, Consumer Id: 607259, Address Id: 7158240 => Updated with Vin: 3D7MX38A77G807042 ## Mail History Id: 30373507, Consumer Id: 571950, Address Id: 7158240 => Updated with Vin: 3D7MX49A57G842179 ## Mail History Id: 30372239, Consumer Id: 581700, Address Id: 10678195 => Updated with Vin: 1C3EL55R92N101744 ## Mail History Id: 30371807, Consumer Id: 662408, Address Id: 10742132 => Updated with Vin: 1A8HX58278F121904 ## Mail History Id: 30371807, Consumer Id: 662408, Address Id: 10742132 => Updated with Vin: 1A8HX58278F121904 ## Mail History Id: 30372317, Consumer Id: 581621, Address Id: 10742071 => Updated with Vin: 4B3AG52H52E100309 ## Mail History Id: 30373559, Consumer Id: 581408, Address Id: 7478710 => Updated with Vin: 1C3EL55R95N705038 ## Mail History Id: 30373559, Consumer Id: 581408, Address Id: 7478710 => Updated with Vin: 1C3EL55R95N705038 ## Mail History Id: 30373539, Consumer Id: 572243, Address Id: 10697592 => Updated with Vin: 1D8GT28K07W736422 ## Mail History Id: 30373139, Consumer Id: 571919, Address Id: 10717965 => Updated with Vin: 1J4GA59107L219225 ## Mail History Id: 30372730, Consumer Id: 571345, Address Id: 10717836 => Updated with Vin: 1B3HB48B57D408251 ## Mail History Id: 30372642, Consumer Id: 572304, Address Id: 7601626 => Updated with Vin: 1D8GT28K87W728214 ## Mail History Id: 30372642, Consumer Id: 572304, Address Id: 7601626 => Updated with Vin: 1D8GT28K87W728214 ## Mail History Id: 30372594, Consumer Id: 582801, Address Id: 10703470 => Updated with Vin: WBABW53404PL41413 ## Mail History Id: 30372594, Consumer Id: 582801, Address Id: 10703470 => Updated with Vin: WBABW53404PL41413 ## Mail History Id: 30372724, Consumer Id: 571332, Address Id: 7721065 => Updated with Vin: 1J4GK48KX7W697751 ## Mail History Id: 30371936, Consumer Id: 571806, Address Id: 10717942 => Updated with Vin: 1B3HB48B17D408215 ## Mail History Id: 30373435, Consumer Id: 571763, Address Id: 10695871 => Updated with Vin: 1B3AS66SX5D106354 ## Mail History Id: 30372143, Consumer Id: 581446, Address Id: 4094909 => Updated with Vin: 1J4FA69S06P788738 ## Mail History Id: 30372143, Consumer Id: 581682, Address Id: 4094909 => Updated with Vin: 2B8GT54L31R341368 ## Mail History Id: 30371756, Consumer Id: 572300, Address Id: 10718036 => Updated with Vin: 1B3HB48B77D408249 ## Mail History Id: 30373285, Consumer Id: 571686, Address Id: 10618266 => Updated with Vin: 2A8GM68X67R356579 ## Mail History Id: 30372547, Consumer Id: 872221, Address Id: 11770666 => Updated with Vin: 1B3HB28B08D503757 ## Mail History Id: 30371905, Consumer Id: 581302, Address Id: 6508668 => Updated with Vin: 2C4GM68474R511195 ## Mail History Id: 30372791, Consumer Id: 581298, Address Id: 1343330 => Updated with Vin: 1J4GA59157L140441 ## Mail History Id: 30372791, Consumer Id: 581298, Address Id: 1343330 => Updated with Vin: 1J4GA59157L140441 ## Mail History Id: 30373625, Consumer Id: 571607, Address Id: 10686440 => Updated with Vin: 2C3KA33G28H149120 ## Mail History Id: 30373015, Consumer Id: 571948, Address Id: 5573099 => Updated with Vin: 2A4GP54L67R206414 ## Mail History Id: 30373413, Consumer Id: 571634, Address Id: 1548447 => Updated with Vin: 2A4GM68456R736275 ## Mail History Id: 30372725, Consumer Id: 571942, Address Id: 10717970 => Updated with Vin: 1J8HS58PX7C680664 ## Mail History Id: 30372725, Consumer Id: 571942, Address Id: 10717970 => Updated with Vin: 1J8HS58PX7C680664 ## Mail History Id: 30372725, Consumer Id: 571942, Address Id: 10717970 => Updated with Vin: 1J8HS58PX7C680664 ## Mail History Id: 30372881, Consumer Id: 581601, Address Id: 10742890 => Updated with Vin: 1J4HR58245C522349 ## Mail History Id: 30372777, Consumer Id: 581956, Address Id: 10743080 => Updated with Vin: 1C3LC56R27N535968 ## Mail History Id: 30372219, Consumer Id: 571973, Address Id: 10717937 => Updated with Vin: 1B3ES56C05D110532 ## Mail History Id: 30373721, Consumer Id: 571737, Address Id: 10717928 => Updated with Vin: 2D4FV47T87H694948 ## Mail History Id: 30371989, Consumer Id: 581707, Address Id: 10742966 => Updated with Vin: 2A8GP64L67R124901 ## Mail History Id: 30372489, Consumer Id: 572071, Address Id: 1544297 => Updated with Vin: 2A4GP64L97R359214 ## Mail History Id: 30372489, Consumer Id: 572071, Address Id: 1544297 => Updated with Vin: 2A4GP64L97R359214 ## Mail History Id: 30372887, Consumer Id: 572095, Address Id: 10717999 => Updated with Vin: 1B3HB28B48D503759 ## Mail History Id: 30372744, Consumer Id: 576266, Address Id: 7016135 => Updated with Vin: 1FAFP45X63F308106 ## Mail History Id: 30373477, Consumer Id: 572160, Address Id: 10621243 => Updated with Vin: 2A8GM48L27R365491 ## Mail History Id: 30372059, Consumer Id: 571694, Address Id: 4081969 => Updated with Vin: 1B3HB28B28D503758 ## Mail History Id: 30373375, Consumer Id: 571836, Address Id: 10717949 => Updated with Vin: 1B3HB28B67D506032 ## Mail History Id: 30372784, Consumer Id: 571810, Address Id: 1547009 => Updated with Vin: 1J8FT47077D391688 ## Mail History Id: 30373261, Consumer Id: 572731, Address Id: 3496221 => Updated with Vin: 2A8GM68X37R328643 ## Mail History Id: 30371784, Consumer Id: 571838, Address Id: 10717950 => Updated with Vin: 1J8HH48K08C112079 ## Mail History Id: 30371922, Consumer Id: 571767, Address Id: 10686424 => Updated with Vin: 1NXBR32E74Z255909 ## Mail History Id: 30372609, Consumer Id: 572546, Address Id: 1331077 => Updated with Vin: 1J8HH48PX7C613992 ## Mail History Id: 30372303, Consumer Id: 581507, Address Id: 10742857 => Updated with Vin: 2C3KA43R37H803371 ## Mail History Id: 30372043, Consumer Id: 572186, Address Id: 2035098 => Updated with Vin: 3C4FY58B64T348934 ## Mail History Id: 30372734, Consumer Id: 581503, Address Id: 10742854 => Updated with Vin: 1J4GW48S84C343213 ## Mail History Id: 30372752, Consumer Id: 871330, Address Id: 7732965 => Updated with Vin: 1D7HA16K28J156549 ## Mail History Id: 30373673, Consumer Id: 571786, Address Id: 10717940 => Updated with Vin: 1D7HA18227S211748 ## Mail History Id: 30372802, Consumer Id: 581594, Address Id: 10718090 => Updated with Vin: 2B3KA73W96H334015 ## Mail History Id: 30371995, Consumer Id: 571886, Address Id: 801004 => Updated with Vin: 1D7HA18N56S602174 ## Mail History Id: 30372823, Consumer Id: 572452, Address Id: 10699593 => Updated with Vin: 3C3HY55E17T501185 ## Mail History Id: 30372955, Consumer Id: 582199, Address Id: 10743675 => Updated with Vin: 1J4GZ88Z0WC307286 ## Mail History Id: 30373711, Consumer Id: 572606, Address Id: 7033170 => Updated with Vin: 1D7HA18297S211861 ## Mail History Id: 30372117, Consumer Id: 572489, Address Id: 4122869 => Updated with Vin: 2G1WX12K7Y9345675 ## Mail History Id: 30373033, Consumer Id: 572443, Address Id: 10718068 => Updated with Vin: 1J4GB59157L143059 ## Mail History Id: 30372421, Consumer Id: 572423, Address Id: 5392477 => Updated with Vin: 1J4GA39137L198097 ## Mail History Id: 30372077, Consumer Id: 582127, Address Id: 2961877 => Updated with Vin: WD5PD644955715471 ## Mail History Id: 30371949, Consumer Id: 582146, Address Id: 10743650 => Updated with Vin: 3A4FY58B97T511509 ## Mail History Id: 30372272, Consumer Id: 582128, Address Id: 10743645 => Updated with Vin: 2B3KA43G17H879960 ## Mail History Id: 30372853, Consumer Id: 582294, Address Id: 10743959 => Updated with Vin: 2C3LA63H66H450503 ## Mail History Id: 30372309, Consumer Id: 564322, Address Id: 10705405 => Updated with Vin: 1D4GP25R53B271287 ## Mail History Id: 30373563, Consumer Id: 572684, Address Id: 10718150 => Updated with Vin: 1D4GP25R53B271287 ## Mail History Id: 30371728, Consumer Id: 572589, Address Id: 2066287 => Updated with Vin: 2B3KA43R38H107317 ## Mail History Id: 30371864, Consumer Id: 572472, Address Id: 10718075 => Updated with Vin: 1C3LC56R47N528696 ## Mail History Id: 30371789, Consumer Id: 572412, Address Id: 781080 => Updated with Vin: 4T1BE46K97U051747 ## Mail History Id: 30372373, Consumer Id: 910071, Address Id: 7465798 => Updated with Vin: 1B3HB48B97D287790 ## Mail History Id: 30372373, Consumer Id: 572409, Address Id: 7465798 => Updated with Vin: 2C3KA63H27H758524 ## Mail History Id: 30372885, Consumer Id: 582010, Address Id: 10743579 => Updated with Vin: 1J4GK48KX2W336240 ## Mail History Id: 30372067, Consumer Id: 582007, Address Id: 10743576 => Updated with Vin: 1J4GK48K05W615314 ## Mail History Id: 30373281, Consumer Id: 573587, Address Id: 10686644 => Updated with Vin: 1D8HD58N86F111021 ## Mail History Id: 30373281, Consumer Id: 573587, Address Id: 10686644 => Updated with Vin: 1D8HD58N86F111021 ## Mail History Id: 30372570, Consumer Id: 572501, Address Id: 2141315 => Updated with Vin: 1D7HA18N34S764513 ## Mail History Id: 30372569, Consumer Id: 560034, Address Id: 10697536 => Updated with Vin: 1D7HA18N34S764513 ## Mail History Id: 30373483, Consumer Id: 572535, Address Id: 10718085 => Updated with Vin: 2C3LA73W17H852211 ## Mail History Id: 30373483, Consumer Id: 572535, Address Id: 10718085 => Updated with Vin: 2C3LA73W17H852211 ## Mail History Id: 30371788, Consumer Id: 552706, Address Id: 10602629 => Updated with Vin: 2C3AA63H05H522687 ## Mail History Id: 30371788, Consumer Id: 552706, Address Id: 10602629 => Updated with Vin: 2C3AA63H05H522687 ## Mail History Id: 30371754, Consumer Id: 573464, Address Id: 10686456 => Updated with Vin: WD8PE745075148178 ## Mail History Id: 30371793, Consumer Id: 571452, Address Id: 10718821 => Updated with Vin: 2D4FV48T15H605801 ## Mail History Id: 30373399, Consumer Id: 571453, Address Id: 10718823 => Updated with Vin: 1J4FA241X8L525562 ## Mail History Id: 30372610, Consumer Id: 582044, Address Id: 7344377 => Updated with Vin: 3D7HA18H05G780784 ## Mail History Id: 30372917, Consumer Id: 571486, Address Id: 7349265 => Updated with Vin: 3C3JY45X27T585241 ## Mail History Id: 30371888, Consumer Id: 582375, Address Id: 10743744 => Updated with Vin: 1C3AN79N15X050017 ## Mail History Id: 30371888, Consumer Id: 582375, Address Id: 10743744 => Updated with Vin: 1C3AN79N15X050017 ## Mail History Id: 30372657, Consumer Id: 571523, Address Id: 10686372 => Updated with Vin: 1A8HX58P57F528646 ## Mail History Id: 30372736, Consumer Id: 582478, Address Id: 10743781 => Updated with Vin: 1J8GK58K34W159053 ## Mail History Id: 30372774, Consumer Id: 582481, Address Id: 10743783 => Updated with Vin: 2A4GF68486R734336 ## Mail History Id: 30372500, Consumer Id: 582324, Address Id: 10743732 => Updated with Vin: 1C3LC55R88N678555 ## Mail History Id: 30372235, Consumer Id: 571671, Address Id: 7348142 => Updated with Vin: 1J8HH58227C680970 ## Mail History Id: 30372235, Consumer Id: 571671, Address Id: 7348142 => Updated with Vin: 1J8HH58227C680970 ## Mail History Id: 30371783, Consumer Id: 571651, Address Id: 10718878 => Updated with Vin: 1B3HB48B07D110500 ## Mail History Id: 30371800, Consumer Id: 571635, Address Id: 1555592 => Updated with Vin: 1D7HE38KX8S525469 ## Mail History Id: 30373039, Consumer Id: 571816, Address Id: 4687653 => Updated with Vin: 2A8HR54P48R139426 ## Mail History Id: 30372591, Consumer Id: 571393, Address Id: 8794405 => Updated with Vin: 3D7KR19D27G833840 ## Mail History Id: 30372061, Consumer Id: 582594, Address Id: 2036874 => Updated with Vin: 2A8GM68X77R163177 ## Mail History Id: 30372871, Consumer Id: 582714, Address Id: 10744371 => Updated with Vin: 2C3KA53GX6H249751 ## Mail History Id: 30373301, Consumer Id: 582399, Address Id: 10744020 => Updated with Vin: 2C3HD46R2WH216820 ## Mail History Id: 30373529, Consumer Id: 571664, Address Id: 1551392 => Updated with Vin: 2A8GM68X57R129917 ## Mail History Id: 30371823, Consumer Id: 571604, Address Id: 10718868 => Updated with Vin: 2C3KA63H87H758527 ## Mail History Id: 30373263, Consumer Id: 571573, Address Id: 1351460 => Updated with Vin: 2D4GV57287H891362 ## Mail History Id: 30372694, Consumer Id: 583244, Address Id: 534086 => Updated with Vin: 2B3KA43G38H219159 ## Mail History Id: 30371764, Consumer Id: 759948, Address Id: 7352884 => Updated with Vin: 2B3KA43G28H226801 ## Mail History Id: 30372711, Consumer Id: 571653, Address Id: 2055145 => Updated with Vin: 1J8GS48K67C632668 ## Mail History Id: 30371969, Consumer Id: 582302, Address Id: 7462517 => Updated with Vin: 1B4HR28Y1YF173370 ## Mail History Id: 30371919, Consumer Id: 872526, Address Id: 3489691 => Updated with Vin: 2A8GM48L97R318507 ## Mail History Id: 30371838, Consumer Id: 583146, Address Id: 3498527 => Updated with Vin: 1C4GP64L2XB856870 ## Mail History Id: 30371838, Consumer Id: 583146, Address Id: 3498527 => Updated with Vin: 1C4GP64L2XB856870 ## Mail History Id: 30371838, Consumer Id: 571579, Address Id: 3498527 => Updated with Vin: 2A8HR64X58R133009 ## Mail History Id: 30371838, Consumer Id: 571579, Address Id: 3498527 => Updated with Vin: 2A8HR64X58R133009 ## Mail History Id: 30372003, Consumer Id: 571771, Address Id: 2029478 => Updated with Vin: 2C3KA43R77H693070 ## Mail History Id: 30373359, Consumer Id: 571563, Address Id: 7475451 => Updated with Vin: 2C3KA43RX7H748529 ## Mail History Id: 30373453, Consumer Id: 571776, Address Id: 1549501 => Updated with Vin: 2C3KA63HX7H786927 ## Mail History Id: 30372005, Consumer Id: 582559, Address Id: 10744129 => Updated with Vin: 2B3LA43G47H866091 ## Mail History Id: 30371975, Consumer Id: 582489, Address Id: 10744074 => Updated with Vin: 2C3KA43R96H224190 ## Mail History Id: 30372191, Consumer Id: 572291, Address Id: 4679071 => Updated with Vin: 1J8GP58K98W141244 ## Mail History Id: 30373487, Consumer Id: 571959, Address Id: 10718962 => Updated with Vin: 1B3HB48B58D567708 ## Mail History Id: 30371821, Consumer Id: 572500, Address Id: 3487701 => Updated with Vin: 1A8HX58278F100955 ## Mail History Id: 30371841, Consumer Id: 571957, Address Id: 2961194 => Updated with Vin: 1J8GS48K98C105757 ## Mail History Id: 30373451, Consumer Id: 572502, Address Id: 8912403 => Updated with Vin: 1D8GT28KX7W727727 ## Mail History Id: 30371981, Consumer Id: 572233, Address Id: 10719056 => Updated with Vin: 1J8GS48K18C153785 ## Mail History Id: 30372529, Consumer Id: 572021, Address Id: 10718986 => Updated with Vin: 1D7HU18257S248090 ## Mail History Id: 30372572, Consumer Id: 582519, Address Id: 1962654 => Updated with Vin: 2C3KA63HX7H684835 ## Mail History Id: 30371831, Consumer Id: 576573, Address Id: 3487802 => Updated with Vin: 2C4GP54LX2R549533 ## Mail History Id: 30371929, Consumer Id: 561737, Address Id: 10699536 => Updated with Vin: 2D4GP44L45R378019 ## Mail History Id: 30371929, Consumer Id: 572027, Address Id: 10699536 => Updated with Vin: 2D8HN54X78R145919 ## Mail History Id: 30373277, Consumer Id: 572301, Address Id: 10719076 => Updated with Vin: 1J8HH58277C680964 ## Mail History Id: 30373683, Consumer Id: 572258, Address Id: 7267440 => Updated with Vin: 1B3HB48B08D571634 ## Mail History Id: 30372337, Consumer Id: 572319, Address Id: 1174142 => Updated with Vin: 3A4FY58B76T364475 ## Mail History Id: 30373475, Consumer Id: 572307, Address Id: 10719077 => Updated with Vin: 1J4GK58K57W506808 ## Mail History Id: 30373403, Consumer Id: 582317, Address Id: 1548270 => Updated with Vin: 2C3KA53G16H498892 ## Mail History Id: 30372746, Consumer Id: 572325, Address Id: 1028185 => Updated with Vin: 1D4GP25B27B235596 ## Mail History Id: 30372760, Consumer Id: 937543, Address Id: 7734542 => Updated with Vin: 2J4FY29S7NJ530460 ## Mail History Id: 30373431, Consumer Id: 572029, Address Id: 1549106 => Updated with Vin: 1D7HA18288S518715 ## Mail History Id: 30372622, Consumer Id: 572049, Address Id: 10686442 => Updated with Vin: 2A8HR54P28R636880 ## Mail History Id: 30372796, Consumer Id: 572373, Address Id: 10719101 => Updated with Vin: 1J8FT28068D593409 ## Mail History Id: 30373153, Consumer Id: 582259, Address Id: 10743943 => Updated with Vin: 1C3EL45R52N106272 ## Mail History Id: 30372959, Consumer Id: 571893, Address Id: 10718943 => Updated with Vin: 2B3LA53H48H126492 ## Mail History Id: 30373023, Consumer Id: 571889, Address Id: 10718941 => Updated with Vin: 1J8GP58K48W160977 ## Mail History Id: 30372668, Consumer Id: 571891, Address Id: 1783504 => Updated with Vin: 1B3LC46KX8N606670 ## Mail History Id: 30372668, Consumer Id: 571891, Address Id: 1783504 => Updated with Vin: 1B3LC46KX8N606670 ## Mail History Id: 30372668, Consumer Id: 571891, Address Id: 1783504 => Updated with Vin: 1B3LC46KX8N606670 ## Mail History Id: 30372578, Consumer Id: 572410, Address Id: 10719116 => Updated with Vin: 2C3KA43R68H146938 ## Mail History Id: 30372381, Consumer Id: 571971, Address Id: 10718965 => Updated with Vin: 1B3LC56R08N105113 ## Mail History Id: 30372672, Consumer Id: 572091, Address Id: 10686406 => Updated with Vin: 1D7HA182X8S518716 ## Mail History Id: 30373467, Consumer Id: 572081, Address Id: 10686405 => Updated with Vin: 1B3ES56C15D160064 ## Mail History Id: 30371833, Consumer Id: 582764, Address Id: 783641 => Updated with Vin: 2C3KA73W66H361966 ## Mail History Id: 30373489, Consumer Id: 572107, Address Id: 10719018 => Updated with Vin: 2A8HR64X48R646137 ## Mail History Id: 30372689, Consumer Id: 572112, Address Id: 1336579 => Updated with Vin: 1J4GA59168L552353 ## Mail History Id: 30371806, Consumer Id: 938983, Address Id: 11754676 => Updated with Vin: 1J4GS48K65C523853 ## Mail History Id: 30373271, Consumer Id: 629777, Address Id: 7151353 => Updated with Vin: 1J8FT28048D593411 ## Mail History Id: 30373649, Consumer Id: 571941, Address Id: 10623526 => Updated with Vin: 1J8FT28W18D570477 ## Mail History Id: 30372768, Consumer Id: 572163, Address Id: 4106732 => Updated with Vin: 3N1AB51AX5L515099 ## Mail History Id: 30372768, Consumer Id: 572163, Address Id: 4106732 => Updated with Vin: 3N1AB51AX5L515099 ## Mail History Id: 30373225, Consumer Id: 582750, Address Id: 2339702 => Updated with Vin: 1B3HB28B97D182140 ## Mail History Id: 30371857, Consumer Id: 572172, Address Id: 10719037 => Updated with Vin: 2D8HN54XX8R653883 ## Mail History Id: 30371857, Consumer Id: 572172, Address Id: 10719037 => Updated with Vin: 2D8HN54XX8R653883 ## Mail History Id: 30373275, Consumer Id: 872522, Address Id: 10744339 => Updated with Vin: 1J8FF28W77D345583 ## Mail History Id: 30373275, Consumer Id: 872522, Address Id: 10744339 => Updated with Vin: 1J8FF28W77D345583 ## Mail History Id: 30373533, Consumer Id: 937271, Address Id: 10744342 => Updated with Vin: 2C8GT64L03R243832 ## Mail History Id: 30373551, Consumer Id: 572174, Address Id: 10719038 => Updated with Vin: 1A8HX58258F121903 ## Mail History Id: 30373527, Consumer Id: 582668, Address Id: 9535829 => Updated with Vin: 2B3LA43G67H866092 ## Mail History Id: 30371935, Consumer Id: 572747, Address Id: 6508871 => Updated with Vin: 3C4FY48B25T600934 ## Mail History Id: 30371935, Consumer Id: 572747, Address Id: 6508871 => Updated with Vin: 3C4FY48B25T600934 ## Mail History Id: 30372514, Consumer Id: 572543, Address Id: 8540624 => Updated with Vin: 1J8FT48W38D521289 ## Mail History Id: 30372699, Consumer Id: 582635, Address Id: 2054159 => Updated with Vin: 2C3KA53GX6H278523 ## Mail History Id: 30372401, Consumer Id: 572763, Address Id: 4897523 => Updated with Vin: 2B3KA43R38H144500 ## Mail History Id: 30372663, Consumer Id: 572805, Address Id: 10719329 => Updated with Vin: 4A3AK34T06E046487 ## Mail History Id: 30372753, Consumer Id: 572806, Address Id: 10697735 => Updated with Vin: 2A8HR54P88R675344 ## Mail History Id: 30372153, Consumer Id: 572813, Address Id: 1170899 => Updated with Vin: 1J8GS48K68C140174 ## Mail History Id: 30373651, Consumer Id: 572828, Address Id: 10719337 => Updated with Vin: 1J4GB59118L524571 ## Mail History Id: 30371913, Consumer Id: 572827, Address Id: 3489673 => Updated with Vin: 1J4FA24168L561300 ## Mail History Id: 30372389, Consumer Id: 583031, Address Id: 10744632 => Updated with Vin: 4A3AA46G1YE071572 ## Mail History Id: 30371742, Consumer Id: 582916, Address Id: 4105709 => Updated with Vin: 1J8HH48KX7C555676 ## Mail History Id: 30372171, Consumer Id: 572994, Address Id: 3492996 => Updated with Vin: 2C3KA63H67H684976 ## Mail History Id: 30373627, Consumer Id: 572885, Address Id: 10719359 => Updated with Vin: 1J8FT47008D519576 ## Mail History Id: 30372533, Consumer Id: 572992, Address Id: 7467515 => Updated with Vin: 1C3LC55RX8N173178 ## Mail History Id: 30372441, Consumer Id: 573002, Address Id: 10719417 => Updated with Vin: 2A8GM48L38R636057 ## Mail History Id: 30372673, Consumer Id: 572852, Address Id: 2052732 => Updated with Vin: 1J8GA59158L550303 ## Mail History Id: 30372659, Consumer Id: 572887, Address Id: 10719360 => Updated with Vin: 1D7HA18N58J125531 ## Mail History Id: 30373589, Consumer Id: 582865, Address Id: 10744580 => Updated with Vin: 1J8HH48N96C140258 ## Mail History Id: 30371795, Consumer Id: 582857, Address Id: 10744574 => Updated with Vin: 1C3LC56K87N669581 ## Mail History Id: 30371795, Consumer Id: 582857, Address Id: 10744574 => Updated with Vin: 1C3LC56K87N669581 ## Mail History Id: 30373119, Consumer Id: 572913, Address Id: 10719369 => Updated with Vin: 1B3HB68F78D610041 ## Mail History Id: 30371963, Consumer Id: 572948, Address Id: 2333166 => Updated with Vin: 2A8HR54P58R682090 ## Mail History Id: 30372748, Consumer Id: 582822, Address Id: 7020685 => Updated with Vin: 3A4FY48B37T623958 ## Mail History Id: 30372109, Consumer Id: 572952, Address Id: 10677429 => Updated with Vin: 2B3KA53H68H106725 ## Mail History Id: 30372109, Consumer Id: 572952, Address Id: 10677429 => Updated with Vin: 2B3KA53H68H106725 ## Mail History Id: 30372806, Consumer Id: 583191, Address Id: 10027241 => Updated with Vin: 2A8HR44H48R605651 ## Mail History Id: 30372035, Consumer Id: 583231, Address Id: 10745179 => Updated with Vin: 1J4FA39S44P767693 ## Mail History Id: 30371915, Consumer Id: 572964, Address Id: 2332976 => Updated with Vin: 1J8FT47W57D391676 ## Mail History Id: 30373453, Consumer Id: 566871, Address Id: 1549501 => Updated with Vin: 2C3KA53G06H463499 ## Mail History Id: 30373471, Consumer Id: 573322, Address Id: 10719558 => Updated with Vin: 2C3KA53G06H463499 ## Mail History Id: 30372443, Consumer Id: 572843, Address Id: 10686340 => Updated with Vin: 1J8GP28K38W134868 ## Mail History Id: 30373223, Consumer Id: 573323, Address Id: 10719559 => Updated with Vin: 1J4GS48K85C717820 ## Mail History Id: 30372527, Consumer Id: 583184, Address Id: 10745161 => Updated with Vin: WDYPD544165962644 ## Mail History Id: 30373217, Consumer Id: 583128, Address Id: 3495870 => Updated with Vin: 3A4FY58B56T256095 ## Mail History Id: 30373535, Consumer Id: 573321, Address Id: 10686425 => Updated with Vin: 2A8GM48LX7R356473 ## Mail History Id: 30373503, Consumer Id: 573334, Address Id: 10686391 => Updated with Vin: 1J4GK58K87W517561 ## Mail History Id: 30373531, Consumer Id: 573337, Address Id: 10719564 => Updated with Vin: 3D7KR19D98G126672 ## Mail History Id: 30372634, Consumer Id: 583152, Address Id: 767482 => Updated with Vin: 1J8FT47W57D216229 ## Mail History Id: 30371748, Consumer Id: 573346, Address Id: 2069593 => Updated with Vin: 2A8GM68XX7R366340 ## Mail History Id: 30372599, Consumer Id: 583185, Address Id: 5614380 => Updated with Vin: 1J8GK58K44W325452 ## Mail History Id: 30372007, Consumer Id: 573216, Address Id: 10719511 => Updated with Vin: 1J8GS48K58C109806 ## Mail History Id: 30373641, Consumer Id: 582962, Address Id: 10745075 => Updated with Vin: 2C3KA43R86H501332 ## Mail History Id: 30371811, Consumer Id: 573232, Address Id: 2007516 => Updated with Vin: 2A8GM68X17R173851 ## Mail History Id: 30371768, Consumer Id: 573236, Address Id: 1555051 => Updated with Vin: 1J8GP28K18W156271 ## Mail History Id: 30372515, Consumer Id: 583004, Address Id: 6510944 => Updated with Vin: 1D3HA16D45J588557 ## Mail History Id: 30372919, Consumer Id: 573249, Address Id: 5395946 => Updated with Vin: 1J8FT47068D519579 ## Mail History Id: 30373749, Consumer Id: 937992, Address Id: 2062238 => Updated with Vin: 1HGCM665X6A017495 ## Mail History Id: 30372946, Consumer Id: 583077, Address Id: 22803 => Updated with Vin: 3A4FY48B57T546493 ## Mail History Id: 30372605, Consumer Id: 573259, Address Id: 5614827 => Updated with Vin: 2C3LA63H97H830310 ## Mail History Id: 30372937, Consumer Id: 573424, Address Id: 7879923 => Updated with Vin: 3A4FY48B77T508358 ## Mail History Id: 30372485, Consumer Id: 583103, Address Id: 10745126 => Updated with Vin: 1J4FA39S06P765054 ## Mail History Id: 30372626, Consumer Id: 582906, Address Id: 10745050 => Updated with Vin: 3C4FY58B25T616332 ## Mail History Id: 30372039, Consumer Id: 583027, Address Id: 1164670 => Updated with Vin: 2C3KA53G87H792355 ## Mail History Id: 30372461, Consumer Id: 573279, Address Id: 5392913 => Updated with Vin: 1B3HB48B38D601676 ## Mail History Id: 30372685, Consumer Id: 573286, Address Id: 10719544 => Updated with Vin: 1D7HA18K38J147601 ## Mail History Id: 30372999, Consumer Id: 573210, Address Id: 1345882 => Updated with Vin: 1B3HB28C88D609432 ## Mail History Id: 30372999, Consumer Id: 573210, Address Id: 1345882 => Updated with Vin: 1B3HB28C88D609432 ## Mail History Id: 30373155, Consumer Id: 573030, Address Id: 10719427 => Updated with Vin: 3C4FY48B74T209230 ## Mail History Id: 30371971, Consumer Id: 582936, Address Id: 3157170 => Updated with Vin: 1J4HS58N05C524243 ## Mail History Id: 30371880, Consumer Id: 573288, Address Id: 10694165 => Updated with Vin: 1A8HX582X8F124554 ## Mail History Id: 30371880, Consumer Id: 573288, Address Id: 10694165 => Updated with Vin: 1A8HX582X8F124554 ## Mail History Id: 30372571, Consumer Id: 630731, Address Id: 11770951 => Updated with Vin: 2C3LK63H76H396920 ## Mail History Id: 30373635, Consumer Id: 573297, Address Id: 1552520 => Updated with Vin: 3A8FY48B88T125402 ## Mail History Id: 30372714, Consumer Id: 573312, Address Id: 10686390 => Updated with Vin: 2C3KA53GX7H727006 ## Mail History Id: 30372714, Consumer Id: 573217, Address Id: 10686390 => Updated with Vin: 2C3KA53G77H706727 ## Mail History Id: 30372615, Consumer Id: 573294, Address Id: 10719548 => Updated with Vin: 1J4GB39158L576581 ## Mail History Id: 30372800, Consumer Id: 573048, Address Id: 10719435 => Updated with Vin: 1B3HB28B58D626972 ## Mail History Id: 30371927, Consumer Id: 573038, Address Id: 10719432 => Updated with Vin: KNDUP132256741156 ## Mail History Id: 30372491, Consumer Id: 573050, Address Id: 1179001 => Updated with Vin: 2C3LA43R68H157930 ## Mail History Id: 30373171, Consumer Id: 573051, Address Id: 10719437 => Updated with Vin: 4T1BE32K46U700028 ## Mail History Id: 30373171, Consumer Id: 573051, Address Id: 10719437 => Updated with Vin: 4T1BE32K46U700028 ## Mail History Id: 30371858, Consumer Id: 573061, Address Id: 10719441 => Updated with Vin: 1D8GT28K38W130579 ## Mail History Id: 30371858, Consumer Id: 573061, Address Id: 10719441 => Updated with Vin: 1D8GT28K38W130579 ## Mail History Id: 30372758, Consumer Id: 910072, Address Id: 7734523 => Updated with Vin: 1D7HU18D65S340775 ## Mail History Id: 30373031, Consumer Id: 938976, Address Id: 10695742 => Updated with Vin: 2A8HR54P08R736346 ## Mail History Id: 30373011, Consumer Id: 573076, Address Id: 5573092 => Updated with Vin: 2A8HR64XX8R713193 ## Mail History Id: 30373011, Consumer Id: 573076, Address Id: 5573092 => Updated with Vin: 2A8HR64XX8R713193 ## Mail History Id: 30373011, Consumer Id: 573076, Address Id: 5573092 => Updated with Vin: 2A8HR64XX8R713193 ## Mail History Id: 30373011, Consumer Id: 573076, Address Id: 5573092 => Updated with Vin: 2A8HR64XX8R713193 ## Mail History Id: 30372145, Consumer Id: 573068, Address Id: 3165414 => Updated with Vin: 1J8GS48K98C109789 ## Mail History Id: 30373253, Consumer Id: 573041, Address Id: 10699625 => Updated with Vin: 1B3LC46K38N179669 ## Mail History Id: 30373253, Consumer Id: 573041, Address Id: 10699625 => Updated with Vin: 1B3LC46K38N179669 ## Mail History Id: 30373253, Consumer Id: 573041, Address Id: 10699625 => Updated with Vin: 1B3LC46K38N179669 ## Mail History Id: 30372435, Consumer Id: 573067, Address Id: 10719444 => Updated with Vin: 1D7HA18N04S777073 ## Mail History Id: 30371931, Consumer Id: 573087, Address Id: 796314 => Updated with Vin: SHHEP33554U501286 ## Mail History Id: 30371931, Consumer Id: 573087, Address Id: 796314 => Updated with Vin: SHHEP33554U501286 ## Mail History Id: 30373345, Consumer Id: 573078, Address Id: 7157307 => Updated with Vin: 2B3KA43RX8H144512 ## Mail History Id: 30372877, Consumer Id: 872529, Address Id: 10678989 => Updated with Vin: 1J4GL58K93W614016 ## Mail History Id: 30372939, Consumer Id: 583303, Address Id: 1345076 => Updated with Vin: 1J8FT28W57D400900 ## Mail History Id: 30372506, Consumer Id: 573132, Address Id: 5761763 => Updated with Vin: 1J8HS58N88C132372 ## Mail History Id: 30373025, Consumer Id: 568511, Address Id: 10712297 => Updated with Vin: 2C4GM48L55R361147 ## Mail History Id: 30373137, Consumer Id: 573110, Address Id: 10719462 => Updated with Vin: 2C4GM48L55R361147 ## Mail History Id: 30373703, Consumer Id: 573100, Address Id: 10686407 => Updated with Vin: 3D4GG67V09T142916 ## Mail History Id: 30373703, Consumer Id: 573100, Address Id: 10686407 => Updated with Vin: 3D4GG67V09T142916 ## Mail History Id: 30372719, Consumer Id: 573130, Address Id: 10719473 => Updated with Vin: 2C3KA43R17H731425 ## Mail History Id: 30371820, Consumer Id: 573162, Address Id: 3498400 => Updated with Vin: 1A8HX58228F120479 ## Mail History Id: 30371734, Consumer Id: 573164, Address Id: 4104971 => Updated with Vin: 2A8HR44H58R604136 ## Mail History Id: 30372857, Consumer Id: 573170, Address Id: 10719490 => Updated with Vin: 2A8GM48L17R346771 ## Mail History Id: 30371766, Consumer Id: 573190, Address Id: 10719498 => Updated with Vin: 1J8FT47W98D521475 ## Mail History Id: 30372733, Consumer Id: 583196, Address Id: 10745391 => Updated with Vin: 1B3ES56C65D108395 ## Mail History Id: 30372733, Consumer Id: 583196, Address Id: 10745391 => Updated with Vin: 1B3ES56C65D108395 ## Mail History Id: 30371776, Consumer Id: 583214, Address Id: 10745396 => Updated with Vin: 1J4GA39107L101387 ## Mail History Id: 30373327, Consumer Id: 573186, Address Id: 8545252 => Updated with Vin: 1J4GA69168L593457 ## Mail History Id: 30372692, Consumer Id: 573180, Address Id: 10711048 => Updated with Vin: 2C3LA53G88H165337 ## Mail History Id: 30373497, Consumer Id: 573207, Address Id: 10719506 => Updated with Vin: 2A8GM68X38R638910 ## Mail History Id: 30372740, Consumer Id: 573208, Address Id: 7015693 => Updated with Vin: 1B3LC46K28N164760 ## Mail History Id: 30372740, Consumer Id: 573208, Address Id: 7015693 => Updated with Vin: 1B3LC46K28N164760 ## Mail History Id: 30372798, Consumer Id: 583252, Address Id: 10745408 => Updated with Vin: 1B3HB48B37D388100 ## Mail History Id: 30372504, Consumer Id: 573362, Address Id: 10719643 => Updated with Vin: 2B3KA43G98H226827 ## Mail History Id: 30373573, Consumer Id: 583424, Address Id: 7478971 => Updated with Vin: 2C3AA53G95H167889 ## Mail History Id: 30371758, Consumer Id: 573369, Address Id: 10719647 => Updated with Vin: 3C3HY55X38T128976 ## Mail History Id: 30372211, Consumer Id: 583437, Address Id: 7463839 => Updated with Vin: 2C3KA63H36H429359 ## Mail History Id: 30373361, Consumer Id: 573389, Address Id: 10719657 => Updated with Vin: 1J8FT28028D570483 ## Mail History Id: 30373361, Consumer Id: 573389, Address Id: 10719657 => Updated with Vin: 1J8FT28028D570483 ## Mail History Id: 30371836, Consumer Id: 573395, Address Id: 10719661 => Updated with Vin: 1J4GB39188L513670 ## Mail History Id: 30373369, Consumer Id: 573396, Address Id: 10719662 => Updated with Vin: 1J8GP58K78W134888 ## Mail History Id: 30373369, Consumer Id: 573396, Address Id: 10719662 => Updated with Vin: 1J8GP58K78W134888 ## Mail History Id: 30371745, Consumer Id: 573404, Address Id: 10719666 => Updated with Vin: 2A8HR54P48R600494 ## Mail History Id: 30371745, Consumer Id: 573404, Address Id: 10719666 => Updated with Vin: 2A8HR54P48R600494 ## Mail History Id: 30373689, Consumer Id: 573390, Address Id: 10689414 => Updated with Vin: 1D8HN44H98B139508 ## Mail History Id: 30371979, Consumer Id: 573409, Address Id: 10719669 => Updated with Vin: 3D4GG47B09T150136 ## Mail History Id: 30372567, Consumer Id: 573407, Address Id: 10719668 => Updated with Vin: 1C3LC65M68N147669 ## Mail History Id: 30372567, Consumer Id: 573407, Address Id: 10719668 => Updated with Vin: 1C3LC65M68N147669 ## Mail History Id: 30371882, Consumer Id: 552663, Address Id: 10602602 => Updated with Vin: 3D7KS19D48G162502 ## Mail History Id: 30372652, Consumer Id: 573590, Address Id: 2458725 => Updated with Vin: 1C3EL55U21N711598 ## Mail History Id: 30371889, Consumer Id: 552653, Address Id: 6751701 => Updated with Vin: 2C3KA43R88H158881 ## Mail History Id: 30371889, Consumer Id: 552653, Address Id: 6751701 => Updated with Vin: 2C3KA43R88H158881 ## Mail History Id: 30372688, Consumer Id: 552651, Address Id: 10602594 => Updated with Vin: 3A4FY48B47T537526 ## Mail History Id: 30372688, Consumer Id: 552651, Address Id: 10602594 => Updated with Vin: 3A4FY48B47T537526 ## Mail History Id: 30371792, Consumer Id: 573417, Address Id: 7353097 => Updated with Vin: 2B3KA53HX8H173991 ## Mail History Id: 30373731, Consumer Id: 552665, Address Id: 7351646 => Updated with Vin: 1J8GP58K68W240801 ## Mail History Id: 30373233, Consumer Id: 552670, Address Id: 2798390 => Updated with Vin: 1J8FT47W68D591435 ## Mail History Id: 30372545, Consumer Id: 573368, Address Id: 10719646 => Updated with Vin: 1D7HA18N25S246698 ## Mail History Id: 30371898, Consumer Id: 552675, Address Id: 7354879 => Updated with Vin: 3C3EY55E95T266244 ## Mail History Id: 30372728, Consumer Id: 583997, Address Id: 10986099 => Updated with Vin: 1J8HS68258C182514 ## Mail History Id: 30372451, Consumer Id: 872524, Address Id: 1543969 => Updated with Vin: 1D7HA18D05S106026 ## Mail History Id: 30371912, Consumer Id: 609827, Address Id: 11754680 => Updated with Vin: 2C3JA53G35H181738 ## Mail History Id: 30372167, Consumer Id: 607264, Address Id: 11754295 => Updated with Vin: 2B3KA43R78H144502 ## Mail History Id: 30373669, Consumer Id: 607258, Address Id: 10686431 => Updated with Vin: 1D7HA16K48J146024 ## Mail History Id: 30372256, Consumer Id: 759944, Address Id: 11850643 => Updated with Vin: WD2PD544255716047 ## Mail History Id: 30372557, Consumer Id: 623056, Address Id: 10714042 => Updated with Vin: 1J4GS48KX6C166694 ## Mail History Id: 30372261, Consumer Id: 623055, Address Id: 11764105 => Updated with Vin: 2A8HR54P88R631716 ## Mail History Id: 30371760, Consumer Id: 629119, Address Id: 11769688 => Updated with Vin: 2B3KA43G08H226828 ## Mail History Id: 30372933, Consumer Id: 556157, Address Id: 10690475 => Updated with Vin: 1B3ES56C13D261084 ## Mail History Id: 30372933, Consumer Id: 820357, Address Id: 10690475 => Updated with Vin: 1B3LC56KX8N569383 ## Mail History Id: 30372933, Consumer Id: 820357, Address Id: 10690475 => Updated with Vin: 1B3LC56KX8N569383 ## Mail History Id: 30372741, Consumer Id: 629118, Address Id: 2057082 => Updated with Vin: 1B3HB78K58D567001 ## Mail History Id: 30372584, Consumer Id: 629775, Address Id: 1679908 => Updated with Vin: 2D4GP44L16R824757 ## Mail History Id: 30372589, Consumer Id: 629587, Address Id: 11769987 => Updated with Vin: 1J8HH48N18C156599 ## Mail History Id: 30372915, Consumer Id: 629592, Address Id: 1344773 => Updated with Vin: 1J8GS48K08C105761 ## Mail History Id: 30373637, Consumer Id: 629586, Address Id: 11769986 => Updated with Vin: 2B3KA43R87H674184 ## Mail History Id: 30372045, Consumer Id: 630232, Address Id: 10744654 => Updated with Vin: 2D4FV47V57H769252 ## Mail History Id: 30373725, Consumer Id: 940055, Address Id: 6711995 => Updated with Vin: 1D7HA18D54S601689 ## Mail History Id: 30372103, Consumer Id: 870592, Address Id: 4646318 => Updated with Vin: 1D7HU18D65S209555 ## Mail History Id: 30372266, Consumer Id: 873693, Address Id: 11913149 => Updated with Vin: 2D4GP44L85R120876 ## Mail History Id: 30373325, Consumer Id: 630516, Address Id: 11770948 => Updated with Vin: 1D7HA18NX5S211262 ## Mail History Id: 30372249, Consumer Id: 871004, Address Id: 11909983 => Updated with Vin: 3C3EL55H0XT577721 ## Mail History Id: 30372249, Consumer Id: 871004, Address Id: 11909983 => Updated with Vin: 3C3EL55H0XT577721 ## Mail History Id: 30372554, Consumer Id: 937986, Address Id: 11960239 => Updated with Vin: 3C8FY4BB21T548108 ## Mail History Id: 30372603, Consumer Id: 759945, Address Id: 11850644 => Updated with Vin: 3A4FY48B56T265793 ## Mail History Id: 30372686, Consumer Id: 757464, Address Id: 11848827 => Updated with Vin: 2C3KA53G96H138172 ## Mail History Id: 30372686, Consumer Id: 757464, Address Id: 11848827 => Updated with Vin: 2C3KA53G96H138172 ## Mail History Id: 30372686, Consumer Id: 757464, Address Id: 11848827 => Updated with Vin: 2C3KA53G96H138172 ## Mail History Id: 30371907, Consumer Id: 662404, Address Id: 11782598 => Updated with Vin: 2D8HN44H98R632297 ## Mail History Id: 30372252, Consumer Id: 759947, Address Id: 11850645 => Updated with Vin: 1D4GP25303B131126 ## Mail History Id: 30372511, Consumer Id: 662403, Address Id: 3402422 => Updated with Vin: 1D8HD38K48F116827 ## Mail History Id: 30372709, Consumer Id: 662405, Address Id: 2055098 => Updated with Vin: 1J4FA24148L573994 ## Mail History Id: 30373719, Consumer Id: 662409, Address Id: 11782600 => Updated with Vin: 1J4FA24168L601312 ## Mail History Id: 30373719, Consumer Id: 662409, Address Id: 11782600 => Updated with Vin: 1J4FA24168L601312 ## Mail History Id: 30373719, Consumer Id: 662409, Address Id: 11782600 => Updated with Vin: 1J4FA24168L601312 ## Mail History Id: 30372123, Consumer Id: 759951, Address Id: 1167398 => Updated with Vin: 2C3KA53G26H143360 ## Mail History Id: 30372501, Consumer Id: 702791, Address Id: 1544424 => Updated with Vin: 3D4GG67V49T170749 ## Mail History Id: 30371837, Consumer Id: 938977, Address Id: 11960909 => Updated with Vin: 1J4GK48K54W183673 ## Mail History Id: 30372365, Consumer Id: 702789, Address Id: 11803370 => Updated with Vin: 2B3KA43R86H379357 ## Mail History Id: 30372269, Consumer Id: 663151, Address Id: 11782837 => Updated with Vin: 2C3KA43R87H639230 ## Mail History Id: 30372269, Consumer Id: 663151, Address Id: 11782837 => Updated with Vin: 2C3KA43R87H639230 ## Mail History Id: 30372095, Consumer Id: 757480, Address Id: 7462931 => Updated with Vin: 1J4GK58K16W294617 ## Mail History Id: 30373495, Consumer Id: 663153, Address Id: 1550649 => Updated with Vin: 3D7MX48A97G799063 ## Mail History Id: 30371826, Consumer Id: 871010, Address Id: 4691365 => Updated with Vin: 1C3EL55R24N264951 ## Mail History Id: 30372051, Consumer Id: 663155, Address Id: 11782838 => Updated with Vin: 3A4FY48B17T518318 ## Mail History Id: 30372944, Consumer Id: 759956, Address Id: 11850649 => Updated with Vin: 1J4HR48N65C689686 ## Mail History Id: 30372772, Consumer Id: 937275, Address Id: 11959712 => Updated with Vin: 1D7FL16X43S246902 ## Mail History Id: 30372633, Consumer Id: 873695, Address Id: 11913150 => Updated with Vin: 1J4GK58K15W588176 ## Mail History Id: 30372127, Consumer Id: 774290, Address Id: 1168258 => Updated with Vin: 2C3KA53G06H294164 ## Mail History Id: 30372559, Consumer Id: 732659, Address Id: 2084944 => Updated with Vin: 1J8FT57W58D521480 ## Mail History Id: 30371909, Consumer Id: 870595, Address Id: 11909592 => Updated with Vin: 3C3EL55H7VT632131 ## Mail History Id: 30373579, Consumer Id: 732660, Address Id: 11848708 => Updated with Vin: 5Y2SL65896Z402847 ## Mail History Id: 30372850, Consumer Id: 774292, Address Id: 11851927 => Updated with Vin: 1B3LC56K98N665165 ## Mail History Id: 30371729, Consumer Id: 871007, Address Id: 11909986 => Updated with Vin: WD2YD241025335771 ## Mail History Id: 30371923, Consumer Id: 774293, Address Id: 2961514 => Updated with Vin: 1D7HA18N52S684806 ## Mail History Id: 30372311, Consumer Id: 759953, Address Id: 4895963 => Updated with Vin: 2C3KA53G37H705641 ## Mail History Id: 30372311, Consumer Id: 759953, Address Id: 4895963 => Updated with Vin: 2C3KA53G37H705641 ## Mail History Id: 30372948, Consumer Id: 870594, Address Id: 11909590 => Updated with Vin: 1J4GZ48S4WC213181 ## Mail History Id: 30372948, Consumer Id: 870594, Address Id: 11909590 => Updated with Vin: 1J4GZ48S4WC213181 ## Mail History Id: 30372606, Consumer Id: 871006, Address Id: 11909985 => Updated with Vin: 1J4FA39S25P385244 ## Mail History Id: 30372264, Consumer Id: 870599, Address Id: 11909595 => Updated with Vin: 2C8GP64L11R392817 ## Mail History Id: 30372258, Consumer Id: 870600, Address Id: 11909596 => Updated with Vin: 2A8HR54P38R665983 ## Mail History Id: 30372027, Consumer Id: 759547, Address Id: 2032788 => Updated with Vin: 1B3HB28B68D571383 ## Mail History Id: 30373323, Consumer Id: 870602, Address Id: 7156682 => Updated with Vin: 1B7HL48N82S564794 ## Mail History Id: 30372385, Consumer Id: 759544, Address Id: 7465897 => Updated with Vin: 1J4FA24198L597532 ## Mail History Id: 30372413, Consumer Id: 577209, Address Id: 2553549 => Updated with Vin: 1D7FL16X63S368189 ## Mail History Id: 30371859, Consumer Id: 759548, Address Id: 2541048 => Updated with Vin: 2C3KA43R48H146940 ## Mail History Id: 30373273, Consumer Id: 759543, Address Id: 2798649 => Updated with Vin: 3A8FY48B08T104575 ## Mail History Id: 30373273, Consumer Id: 759543, Address Id: 2798649 => Updated with Vin: 3A8FY48B08T104575 ## Mail History Id: 30372627, Consumer Id: 759537, Address Id: 11850640 => Updated with Vin: 1J8GS48K38C109738 ## Mail History Id: 30373653, Consumer Id: 759538, Address Id: 10697853 => Updated with Vin: 2D4FV47T18H125943 ## Mail History Id: 30372726, Consumer Id: 759540, Address Id: 4915079 => Updated with Vin: 1C3LC55R68N179477 ## Mail History Id: 30372706, Consumer Id: 870597, Address Id: 2478803 => Updated with Vin: 1J8FT47W77D156244 ## Mail History Id: 30373057, Consumer Id: 870598, Address Id: 11909594 => Updated with Vin: 3C3EY55E05T620815 ## Mail History Id: 30372778, Consumer Id: 760683, Address Id: 7735541 => Updated with Vin: 1C3LC55R28N179475 ## Mail History Id: 30372696, Consumer Id: 760685, Address Id: 6671331 => Updated with Vin: JTEZU14R750044882 ## Mail History Id: 30373183, Consumer Id: 760684, Address Id: 11851926 => Updated with Vin: 5Y2SL65828Z405527 ## Mail History Id: 30373145, Consumer Id: 820083, Address Id: 11909588 => Updated with Vin: 3A8FY58B48T124804 ## Mail History Id: 30373489, Consumer Id: 871014, Address Id: 10719018 => Updated with Vin: 2C3JA63H25H659338 ## Mail History Id: 30372262, Consumer Id: 873698, Address Id: 11913152 => Updated with Vin: 1C4GP45R95B438133 ## Mail History Id: 30372596, Consumer Id: 820354, Address Id: 11909980 => Updated with Vin: 2C3KA63HX8H288549 ## Mail History Id: 30372542, Consumer Id: 820359, Address Id: 2031191 => Updated with Vin: 2A8GM68X97R140323 ## Mail History Id: 30372827, Consumer Id: 569468, Address Id: 10716490 => Updated with Vin: 2A8GM68X97R140323 ## Mail History Id: 30372023, Consumer Id: 874493, Address Id: 1163773 => Updated with Vin: 3A4FY48B57T629051 ## Mail History Id: 30372023, Consumer Id: 874493, Address Id: 1163773 => Updated with Vin: 3A4FY48B57T629051 ## Mail History Id: 30372063, Consumer Id: 873696, Address Id: 11913151 => Updated with Vin: 1B3BG56P8FX655823 ## Mail History Id: 30371810, Consumer Id: 820360, Address Id: 11909981 => Updated with Vin: 1D7HA18288J128803 ## Mail History Id: 30372517, Consumer Id: 871603, Address Id: 11911867 => Updated with Vin: 1C4GJ25B01B121781 ## Mail History Id: 30372107, Consumer Id: 871601, Address Id: 5569783 => Updated with Vin: 3C3JY55E27T518014 ## Mail History Id: 30372107, Consumer Id: 871601, Address Id: 5569783 => Updated with Vin: 3C3JY55E27T518014 ## Mail History Id: 30372566, Consumer Id: 873711, Address Id: 11913160 => Updated with Vin: 1J4FA44S95P331369 ## Mail History Id: 30372713, Consumer Id: 871017, Address Id: 1339193 => Updated with Vin: 1J4GX48S92C132855 ## Mail History Id: 30372655, Consumer Id: 820361, Address Id: 11909982 => Updated with Vin: 2B3KA43R18H204726 ## Mail History Id: 30372025, Consumer Id: 820349, Address Id: 3159518 => Updated with Vin: 1D7HA16K28J151092 ## Mail History Id: 30373577, Consumer Id: 820353, Address Id: 10705686 => Updated with Vin: 1A8HX58218F125088 ## Mail History Id: 30371848, Consumer Id: 871602, Address Id: 11911866 => Updated with Vin: 1D7HA18D85S281768 ## Mail History Id: 30373303, Consumer Id: 873699, Address Id: 11913153 => Updated with Vin: 1J4GX48S52C294854 ## Mail History Id: 30372821, Consumer Id: 871604, Address Id: 11911868 => Updated with Vin: 1J8FT47W17D363597 ## Mail History Id: 30372544, Consumer Id: 873701, Address Id: 2031974 => Updated with Vin: 1J8HH68277C588808 ## Mail History Id: 30372544, Consumer Id: 873701, Address Id: 2031974 => Updated with Vin: 1J8HH68277C588808 ## Mail History Id: 30372544, Consumer Id: 873701, Address Id: 2031974 => Updated with Vin: 1J8HH68277C588808 ## Mail History Id: 30372544, Consumer Id: 873701, Address Id: 2031974 => Updated with Vin: 1J8HH68277C588808 ## Mail History Id: 30373147, Consumer Id: 871336, Address Id: 1348289 => Updated with Vin: 2C3LA43R48H157926 ## Mail History Id: 30373199, Consumer Id: 871338, Address Id: 11911865 => Updated with Vin: 1J8GP28K48W249351 ## Mail History Id: 30372742, Consumer Id: 871337, Address Id: 11911864 => Updated with Vin: 1J8FT47068D593455 ## Mail History Id: 30373363, Consumer Id: 871335, Address Id: 11911863 => Updated with Vin: WBAET37435NJ88401 ## Mail History Id: 30373173, Consumer Id: 871332, Address Id: 11911860 => Updated with Vin: 1J8FT47WX8D591423 ## Mail History Id: 30371893, Consumer Id: 871331, Address Id: 2019454 => Updated with Vin: 3A4FY58B26T293900 ## Mail History Id: 30371893, Consumer Id: 871331, Address Id: 2019454 => Updated with Vin: 3A4FY58B26T293900 ## Mail History Id: 30371893, Consumer Id: 871331, Address Id: 2019454 => Updated with Vin: 3A4FY58B26T293900 ## Mail History Id: 30372761, Consumer Id: 873706, Address Id: 8911671 => Updated with Vin: 1J4GS48K46C161913 ## Mail History Id: 30372611, Consumer Id: 871333, Address Id: 11911861 => Updated with Vin: 2G1WT55K789157107 ## Mail History Id: 30371750, Consumer Id: 939492, Address Id: 11961247 => Updated with Vin: 1B3HB28B37D182389 ## Mail History Id: 30372339, Consumer Id: 873713, Address Id: 1174178 => Updated with Vin: 2C3HD36M72H279260 ## Mail History Id: 30373567, Consumer Id: 871334, Address Id: 11911862 => Updated with Vin: 2C3LA53G88H160400 ## Mail History Id: 30373671, Consumer Id: 871605, Address Id: 11911869 => Updated with Vin: 1B3ES56C54D573233 ## Mail History Id: 30371775, Consumer Id: 872525, Address Id: 4043024 => Updated with Vin: 2B3LA53H36H334702 ## Mail History Id: 30372858, Consumer Id: 872527, Address Id: 11912486 => Updated with Vin: 1A8HW58N98F105099 ## Mail History Id: 30373127, Consumer Id: 872230, Address Id: 5573317 => Updated with Vin: 1D7HA18N38J129223 ## Mail History Id: 30373127, Consumer Id: 872230, Address Id: 5573317 => Updated with Vin: 1D7HA18N38J129223 ## Mail History Id: 30373127, Consumer Id: 872230, Address Id: 5573317 => Updated with Vin: 1D7HA18N38J129223 ## Mail History Id: 30372479, Consumer Id: 872227, Address Id: 1544209 => Updated with Vin: 2B3KA43G48H272551 ## Mail History Id: 30372395, Consumer Id: 872223, Address Id: 11912483 => Updated with Vin: 1B3JB28B07D506545 ## Mail History Id: 30373215, Consumer Id: 873709, Address Id: 11913158 => Updated with Vin: 1B3HB28B07D233167 ## Mail History Id: 30372816, Consumer Id: 873702, Address Id: 8216955 => Updated with Vin: 2C4GM68405R367460 ## Mail History Id: 30372670, Consumer Id: 872231, Address Id: 3160220 => Updated with Vin: 2HNYD182X5H554937 ## Mail History Id: 30372670, Consumer Id: 872231, Address Id: 3160220 => Updated with Vin: 2HNYD182X5H554937 ## Mail History Id: 30371957, Consumer Id: 568997, Address Id: 4890802 => Updated with Vin: 1C3EL55R76N252894 ## Mail History Id: 30373239, Consumer Id: 872232, Address Id: 11912484 => Updated with Vin: 1J8FT470X8D593457 ## Mail History Id: 30373587, Consumer Id: 873704, Address Id: 11913155 => Updated with Vin: 2D8HN44H58R101596 ## Mail History Id: 30371819, Consumer Id: 873126, Address Id: 11913145 => Updated with Vin: 1J8FT47008D733399 ## Mail History Id: 30371819, Consumer Id: 873126, Address Id: 11913145 => Updated with Vin: 1J8FT47008D733399 ## Mail History Id: 30373739, Consumer Id: 873125, Address Id: 1554463 => Updated with Vin: 2A8GM48L18R636056 ## Mail History Id: 30373313, Consumer Id: 873705, Address Id: 11913156 => Updated with Vin: 5FNRL18934B039552 ## Mail History Id: 30371744, Consumer Id: 873127, Address Id: 10701147 => Updated with Vin: 2A4GP44R97R342034 ## Mail History Id: 30371744, Consumer Id: 873127, Address Id: 10701147 => Updated with Vin: 2A4GP44R97R342034 ## Mail History Id: 30372989, Consumer Id: 873121, Address Id: 11913143 => Updated with Vin: 3A8FY68886T293912 ## Mail History Id: 30372325, Consumer Id: 873128, Address Id: 7465175 => Updated with Vin: 1B3HB48B08D566997 ## Mail History Id: 30372343, Consumer Id: 931982, Address Id: 4680056 => Updated with Vin: 2C3HD46R9XH627360 ## Mail History Id: 30372543, Consumer Id: 873122, Address Id: 2069529 => Updated with Vin: WDBSK75F93F031627 ## Mail History Id: 30373717, Consumer Id: 873124, Address Id: 11913144 => Updated with Vin: 2GCEC13T641399936 ## Mail History Id: 30373717, Consumer Id: 873124, Address Id: 11913144 => Updated with Vin: 2GCEC13T641399936 ## Mail History Id: 30372487, Consumer Id: 873123, Address Id: 4683040 => Updated with Vin: 1J8FT57W08D521483 ## Mail History Id: 30372425, Consumer Id: 910081, Address Id: 3401922 => Updated with Vin: 1B3HB28B47D194289 ## Mail History Id: 30372247, Consumer Id: 909589, Address Id: 1172129 => Updated with Vin: 1G4HP54K95U190237 ## Mail History Id: 30372502, Consumer Id: 873129, Address Id: 11913146 => Updated with Vin: 1J4GB39108L620096 ## Mail History Id: 30372549, Consumer Id: 874494, Address Id: 2077802 => Updated with Vin: 1J4GK48K47W705634 ## Mail History Id: 30372549, Consumer Id: 874494, Address Id: 2077802 => Updated with Vin: 1J4GK48K47W705634 ## Mail History Id: 30372549, Consumer Id: 874494, Address Id: 2077802 => Updated with Vin: 1J4GK48K47W705634 ## Mail History Id: 30372804, Consumer Id: 873130, Address Id: 11913147 => Updated with Vin: 1J8FT48W38D734968 ## Mail History Id: 30372494, Consumer Id: 911050, Address Id: 11940996 => Updated with Vin: 2B4GP45G1YR584771 ## Mail History Id: 30373595, Consumer Id: 910080, Address Id: 2548549 => Updated with Vin: 2B4GP45RXTR653712 ## Mail History Id: 30372716, Consumer Id: 874443, Address Id: 11913690 => Updated with Vin: 1C3LC65M68N147896 ## Mail History Id: 30372355, Consumer Id: 937985, Address Id: 11960238 => Updated with Vin: 1C3LC46K67N551104 ## Mail History Id: 30372355, Consumer Id: 937985, Address Id: 11960238 => Updated with Vin: 1C3LC46K67N551104 ## Mail History Id: 30372101, Consumer Id: 909843, Address Id: 11940162 => Updated with Vin: 1D7HA18K08J132490 ## Mail History Id: 30372101, Consumer Id: 909843, Address Id: 11940162 => Updated with Vin: 1D7HA18K08J132490 ## Mail History Id: 30371914, Consumer Id: 909858, Address Id: 11940170 => Updated with Vin: 1J8HH48N38C154062 ## Mail History Id: 30372690, Consumer Id: 910082, Address Id: 11940174 => Updated with Vin: 2D8HN54X68R645277 ## Mail History Id: 30373337, Consumer Id: 909860, Address Id: 7156888 => Updated with Vin: 5N1BV28U57N123511 ## Mail History Id: 30373337, Consumer Id: 909860, Address Id: 7156888 => Updated with Vin: 5N1BV28U57N123511 ## Mail History Id: 30372732, Consumer Id: 909848, Address Id: 11940166 => Updated with Vin: 1D7HE28K48S530547 ## Mail History Id: 30373373, Consumer Id: 909850, Address Id: 11940167 => Updated with Vin: 1G1ZT58N88F114602 ## Mail History Id: 30372560, Consumer Id: 909854, Address Id: 10716606 => Updated with Vin: 1B3HB48B57D165251 ## Mail History Id: 30372548, Consumer Id: 565819, Address Id: 2140552 => Updated with Vin: 2C3AA53GX5H644720 ## Mail History Id: 30372029, Consumer Id: 909852, Address Id: 4077749 => Updated with Vin: 2C3AA53GX5H644720 ## Mail History Id: 30371737, Consumer Id: 911045, Address Id: 5256539 => Updated with Vin: 1D7HA18N04S624029 ## Mail History Id: 30372792, Consumer Id: 909847, Address Id: 11940165 => Updated with Vin: 1B3HB48B78D504027 ## Mail History Id: 30372792, Consumer Id: 909847, Address Id: 11940165 => Updated with Vin: 1B3HB48B78D504027 ## Mail History Id: 30373439, Consumer Id: 909846, Address Id: 11940164 => Updated with Vin: 2D4FV47T68H130409 ## Mail History Id: 30372510, Consumer Id: 909851, Address Id: 11325006 => Updated with Vin: 1D4HD38NX6F107803 ## Mail History Id: 30372510, Consumer Id: 909851, Address Id: 11325006 => Updated with Vin: 1D4HD38NX6F107803 ## Mail History Id: 30372818, Consumer Id: 911047, Address Id: 11940995 => Updated with Vin: 1C4GP54L4XB565782 ## Mail History Id: 30372019, Consumer Id: 909849, Address Id: 1163434 => Updated with Vin: 1B3LC46K88N670058 ## Mail History Id: 30373073, Consumer Id: 909859, Address Id: 11940171 => Updated with Vin: 2A8HR54P68R736349 ## Mail History Id: 30373663, Consumer Id: 909853, Address Id: 11940168 => Updated with Vin: 3GNDA23D68S547536 ## Mail History Id: 30373393, Consumer Id: 909855, Address Id: 10619458 => Updated with Vin: 1J4GL48K06W139581 ## Mail History Id: 30372516, Consumer Id: 911048, Address Id: 8540665 => Updated with Vin: 1C3EL55R54N335379 ## Mail History Id: 30372021, Consumer Id: 909857, Address Id: 11940169 => Updated with Vin: 1B3HB48B28D566998 ## Mail History Id: 30371782, Consumer Id: 910468, Address Id: 11940697 => Updated with Vin: 3C8FY4BB81T548601 ## Mail History Id: 30372950, Consumer Id: 910469, Address Id: 11940698 => Updated with Vin: 2C3KA63H17H896300 ## Mail History Id: 30371832, Consumer Id: 909861, Address Id: 11940172 => Updated with Vin: 2A8HR64X78R713183 ## Mail History Id: 30372129, Consumer Id: 910462, Address Id: 2044212 => Updated with Vin: WVWPD63B62P447204 ## Mail History Id: 30372588, Consumer Id: 910464, Address Id: 10672761 => Updated with Vin: 1J8GA39148L609264 ## Mail History Id: 30373259, Consumer Id: 910463, Address Id: 3496215 => Updated with Vin: 2A8GM68X28R636050 ## Mail History Id: 30373259, Consumer Id: 910463, Address Id: 3496215 => Updated with Vin: 2A8GM68X28R636050 ## Mail History Id: 30373259, Consumer Id: 910463, Address Id: 3496215 => Updated with Vin: 2A8GM68X28R636050 ## Mail History Id: 30372294, Consumer Id: 937277, Address Id: 11959713 => Updated with Vin: 3A4FY48B86T238183 ## Mail History Id: 30372512, Consumer Id: 910465, Address Id: 2021706 => Updated with Vin: 1G2JB5243Y7369826 ## Mail History Id: 30372512, Consumer Id: 910465, Address Id: 2021706 => Updated with Vin: 1G2JB5243Y7369826 ## Mail History Id: 30372558, Consumer Id: 911049, Address Id: 8542973 => Updated with Vin: 3C3AY75S45T286322 ## Mail History Id: 30372977, Consumer Id: 937274, Address Id: 11959711 => Updated with Vin: 4E3BS44R4NE055783 ## Mail History Id: 30373747, Consumer Id: 937273, Address Id: 11959710 => Updated with Vin: 2C8GM68434R379499 ## Mail History Id: 30372684, Consumer Id: 931997, Address Id: 11957210 => Updated with Vin: 3D3KS29A07G775681 ## Mail History Id: 30372684, Consumer Id: 931997, Address Id: 11957210 => Updated with Vin: 3D3KS29A07G775681 ## Mail History Id: 30373557, Consumer Id: 939491, Address Id: 11960235 => Updated with Vin: 1A4GP45R56B533168 ## Mail History Id: 30372973, Consumer Id: 931990, Address Id: 11957209 => Updated with Vin: 1C3AN69L94X003552 ## Mail History Id: 30372942, Consumer Id: 911051, Address Id: 7163437 => Updated with Vin: 1B3ES46C9YD810161 ## Mail History Id: 30372680, Consumer Id: 937279, Address Id: 11959715 => Updated with Vin: 1A8HX58P07F523838 ## Mail History Id: 30372508, Consumer Id: 937272, Address Id: 11959709 => Updated with Vin: 1D7HA18N26J179138 ## Mail History Id: 30372661, Consumer Id: 910899, Address Id: 2051607 => Updated with Vin: 1B3HB48B88D626976 ## Mail History Id: 30372846, Consumer Id: 931989, Address Id: 11957208 => Updated with Vin: 2C4GM48LX5R564292 ## Mail History Id: 30373083, Consumer Id: 938455, Address Id: 1545983 => Updated with Vin: 1C8GJ25311B269705 ## Mail History Id: 30372940, Consumer Id: 932005, Address Id: 11957211 => Updated with Vin: 1J8GN28K08W194709 ## Mail History Id: 30371777, Consumer Id: 937545, Address Id: 4043050 => Updated with Vin: 1J4GW58N9YC230828 ## Mail History Id: 30372765, Consumer Id: 937276, Address Id: 7468620 => Updated with Vin: 1D7HA18D03J612989 ## Mail History Id: 30373407, Consumer Id: 921379, Address Id: 11957061 => Updated with Vin: 1C3LC46KX7N554734 ## Mail History Id: 30373305, Consumer Id: 937546, Address Id: 11959946 => Updated with Vin: 1C3AN69L15X034960 ## Mail History Id: 30372053, Consumer Id: 937700, Address Id: 11941968 => Updated with Vin: 2B3HD46R7WH250572 ## Mail History Id: 30372666, Consumer Id: 937549, Address Id: 2043855 => Updated with Vin: 1J4FA24177L230014 ## Mail History Id: 30372536, Consumer Id: 938451, Address Id: 11960550 => Updated with Vin: 2C3KA43R26H505313 ## Mail History Id: 30373599, Consumer Id: 938452, Address Id: 11960551 => Updated with Vin: 2A8HR54P18R709706 ## Mail History Id: 30371900, Consumer Id: 921865, Address Id: 11960237 => Updated with Vin: 1B3HB48B08D507142 ## Mail History Id: 30372814, Consumer Id: 955750, Address Id: 5289266 => Updated with Vin: 1B3ES66S05D139462 ## Mail History Id: 30372814, Consumer Id: 955750, Address Id: 5289266 => Updated with Vin: 1B3ES66S05D139462 ## Mail History Id: 30372875, Consumer Id: 940520, Address Id: 7469966 => Updated with Vin: 1B7GL26X7LS622223 ## Mail History Id: 30372565, Consumer Id: 938297, Address Id: 10724900 => Updated with Vin: 9BWGK61J734041828 ## Mail History Id: 30372679, Consumer Id: 938293, Address Id: 1335794 => Updated with Vin: 2A8HR54P98R709923 ## Mail History Id: 30371771, Consumer Id: 938980, Address Id: 6507904 => Updated with Vin: 3C4FY58B85T518423 ## Mail History Id: 30372270, Consumer Id: 939495, Address Id: 6843458 => Updated with Vin: 2C3KA53G06H412195 ## Mail History Id: 30372869, Consumer Id: 938982, Address Id: 11960912 => Updated with Vin: 1J4GA59168L531809 ## Mail History Id: 30372268, Consumer Id: 938981, Address Id: 4961719 => Updated with Vin: 1J4GL58K86W238199 ## Mail History Id: 30372276, Consumer Id: 958357, Address Id: 12035038 => Updated with Vin: 1J4GZ58S2SC597588 ## Mail History Id: 30372115, Consumer Id: 1458405, Address Id: 5593425 => Updated with Vin: 1J8FT28098D733405 ## Mail History Id: 30372055, Consumer Id: 559028, Address Id: 10695733 => Updated with Vin: 1J4GK48K94W319495 ## Mail History Id: 30371828, Consumer Id: 940431, Address Id: 10699260 => Updated with Vin: 1J4GK48K94W319495 ## Mail History Id: 30373729, Consumer Id: 941097, Address Id: 11962152 => Updated with Vin: 4T1BE46K57U004005 ## Mail History Id: 30372770, Consumer Id: 957546, Address Id: 11966600 => Updated with Vin: 1J4FA241X8L618761 ## Mail History Id: 30372009, Consumer Id: 958016, Address Id: 12035031 => Updated with Vin: 1J4GK48K03W638878 ## Mail History Id: 30371770, Consumer Id: 573648, Address Id: 10686413 => Updated with Vin: 1B3EJ46X5XN546791 ## Mail History Id: 30373247, Consumer Id: 560029, Address Id: 10697533 => Updated with Vin: 2C4GM48L05R245757 ## Mail History Id: 30371928, Consumer Id: 582914, Address Id: 10717823 => Updated with Vin: 2CNDL13F876115070 ## Mail History Id: 30372717, Consumer Id: 581973, Address Id: 10720659 => Updated with Vin: JA3AM44H6XY002491 ## Mail History Id: 30371773, Consumer Id: 565306, Address Id: 2540816 => Updated with Vin: KMHWF25H13A857781 ## Total mail_history records updated with vin numbers: 1448 out of 1589 ============================================================ ====== Tracking Id: 1481 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-22 10:19:33') AND us2_order_type_id = 3 ## Order found: 1835 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1835 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3416 ## Mailing found: '13127' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30371946, Consumer Id: 690456, Address Id: 11795301 => Updated with Vin: 1G6DW677360154753 ## Mail History Id: 30372004, Consumer Id: 625703, Address Id: 11764712 => Updated with Vin: 1GYEE637050120157 ## Mail History Id: 30372196, Consumer Id: 626039, Address Id: 11764731 => Updated with Vin: 3GYFK62808G239334 ## Mail History Id: 30372000, Consumer Id: 629833, Address Id: 1968788 => Updated with Vin: 1G6KD57946U116000 ## Mail History Id: 30372012, Consumer Id: 682120, Address Id: 1970079 => Updated with Vin: 1G6EL12Y0WU615884 ## Mail History Id: 30372008, Consumer Id: 666529, Address Id: 1969566 => Updated with Vin: 1G6KE57Y32U150752 ## Mail History Id: 30371948, Consumer Id: 679619, Address Id: 1967185 => Updated with Vin: 1G6KD57927U199153 ## Mail History Id: 30371964, Consumer Id: 689393, Address Id: 11797224 => Updated with Vin: 1G6KD54Y25U226862 ## Mail History Id: 30372014, Consumer Id: 630294, Address Id: 11770714 => Updated with Vin: 1GYEK63N92R236620 ## Mail History Id: 30371960, Consumer Id: 628711, Address Id: 1960560 => Updated with Vin: 1G6KF57953U154356 ## Mail History Id: 30371966, Consumer Id: 685303, Address Id: 1961334 => Updated with Vin: 1G6KS54Y13U240027 ## Mail History Id: 30371956, Consumer Id: 957098, Address Id: 1960487 => Updated with Vin: 3GYFK66N94G245885 ## Mail History Id: 30371944, Consumer Id: 629295, Address Id: 1966749 => Updated with Vin: 1G6KY54933U121855 ## Mail History Id: 30371976, Consumer Id: 629834, Address Id: 1963156 => Updated with Vin: 1G6DW677060171140 ## Mail History Id: 30371988, Consumer Id: 662935, Address Id: 7541818 => Updated with Vin: 1GYFK63897R283295 ## Total mail_history records updated with vin numbers: 15 out of 22 ============================================================ ====== Tracking Id: 1482 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-22 10:23:00') AND us2_order_type_id = 3 ## Order found: 1836 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1836 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3795 ## Mailing found: '13407' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993162, Consumer Id: 1058331, Address Id: 14955563 => Updated with Vin: 5FNRL38417B417632 ## Mail History Id: 30993162, Consumer Id: 1058331, Address Id: 14955563 => Updated with Vin: 5FNRL38417B417632 ## Mail History Id: 30993170, Consumer Id: 1058713, Address Id: 10968700 => Updated with Vin: 3HGCM563X4G702572 ## Mail History Id: 30992932, Consumer Id: 1058913, Address Id: 5361543 => Updated with Vin: 5FNRL38217B073153 ## Mail History Id: 30992576, Consumer Id: 1060687, Address Id: 6610612 => Updated with Vin: 2HJYK16588H504112 ## Mail History Id: 30992786, Consumer Id: 1060753, Address Id: 14957571 => Updated with Vin: 2C4GP34312R660637 ## Mail History Id: 30992570, Consumer Id: 1060454, Address Id: 14955423 => Updated with Vin: 5FNYF184X8B025984 ## Mail History Id: 30993160, Consumer Id: 1053824, Address Id: 14955634 => Updated with Vin: 1HGES165X2L062422 ## Mail History Id: 30992550, Consumer Id: 1053825, Address Id: 5363094 => Updated with Vin: 1HGCA5642KA117224 ## Mail History Id: 30992908, Consumer Id: 1068979, Address Id: 4267432 => Updated with Vin: 1GCCC14H6FF371308 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 1483 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-22 10:23:28') AND us2_order_type_id = 3 ## Order found: 1837 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1837 AND product_id = 142 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3697 ## Mailing found: '13133' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372354, Consumer Id: 1044845, Address Id: 3240051 => Updated with Vin: 1G6KD54Y2YU343619 ## Mail History Id: 30372342, Consumer Id: 1043103, Address Id: 14952441 => Updated with Vin: 1G6KD54Y94U179215 ## Mail History Id: 30372372, Consumer Id: 1048530, Address Id: 5990407 => Updated with Vin: 1G6KD579X6U119676 ## Mail History Id: 30372484, Consumer Id: 1048776, Address Id: 14954042 => Updated with Vin: 1G6KY5495YU169378 ## Mail History Id: 30372336, Consumer Id: 1047772, Address Id: 2848997 => Updated with Vin: 3GYFK66N34G179723 ## Mail History Id: 30372356, Consumer Id: 1041613, Address Id: 5984823 => Updated with Vin: 1G6KY5490WU923378 ## Mail History Id: 30372368, Consumer Id: 1049347, Address Id: 5989548 => Updated with Vin: 1G6KE54Y03U198182 ## Mail History Id: 30372348, Consumer Id: 1044969, Address Id: 14952991 => Updated with Vin: 1GYFK63847R339692 ## Total mail_history records updated with vin numbers: 8 out of 11 ============================================================ ====== Tracking Id: 1484 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-22 10:26:25') AND us2_order_type_id = 3 ## Order found: 1838 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1838 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3815 ## Mailing found: '13138' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372450, Consumer Id: 1359936, Address Id: 15632530 => Updated with Vin: 1HGCM56724A071348 ## Mail History Id: 30372404, Consumer Id: 1370026, Address Id: 15636871 => Updated with Vin: JHMZE14782T000110 ## Mail History Id: 30372328, Consumer Id: 1369815, Address Id: 15636832 => Updated with Vin: 1HGCG5640WA233834 ## Mail History Id: 30372460, Consumer Id: 1371132, Address Id: 15638960 => Updated with Vin: 1HGCG564XYA014964 ## Mail History Id: 30372402, Consumer Id: 1668872, Address Id: 15634177 => Updated with Vin: 19UUA66276A015111 ## Mail History Id: 30372382, Consumer Id: 1361158, Address Id: 15633429 => Updated with Vin: 5FNYF18505B002492 ## Mail History Id: 30372388, Consumer Id: 1367468, Address Id: 15635361 => Updated with Vin: 1HGCS22828A005567 ## Mail History Id: 30372420, Consumer Id: 1379468, Address Id: 15635593 => Updated with Vin: 1HGCG1652XA022220 ## Mail History Id: 30372420, Consumer Id: 1363030, Address Id: 15635593 => Updated with Vin: 1HGCM56706A076714 ## Mail History Id: 30372386, Consumer Id: 1362783, Address Id: 15635258 => Updated with Vin: 3HGCM56436G700710 ## Mail History Id: 30372386, Consumer Id: 1362783, Address Id: 15635258 => Updated with Vin: 3HGCM56436G700710 ## Mail History Id: 30372476, Consumer Id: 1359485, Address Id: 15632187 => Updated with Vin: 1HGCM56353A145406 ## Mail History Id: 30372284, Consumer Id: 1365065, Address Id: 15635750 => Updated with Vin: 1HGCM665X7A027106 ## Mail History Id: 30372400, Consumer Id: 1359846, Address Id: 15632465 => Updated with Vin: 5FNRL18054B056886 ## Mail History Id: 30372330, Consumer Id: 1360115, Address Id: 15632671 => Updated with Vin: 2HKYF18664H571811 ## Mail History Id: 30372296, Consumer Id: 1366787, Address Id: 15637772 => Updated with Vin: 1HGFA16558L025228 ## Mail History Id: 30372308, Consumer Id: 1378368, Address Id: 15671336 => Updated with Vin: 1HGCG1657WA039240 ## Mail History Id: 30372298, Consumer Id: 1361816, Address Id: 15633904 => Updated with Vin: 5FNYF184X5B034812 ## Mail History Id: 30372380, Consumer Id: 1361954, Address Id: 15634232 => Updated with Vin: JHMCN36475C008692 ## Mail History Id: 30372408, Consumer Id: 1366813, Address Id: 15635325 => Updated with Vin: 1HGFA16848L011282 ## Mail History Id: 30372444, Consumer Id: 1373766, Address Id: 15669820 => Updated with Vin: 5FNRL38405B411768 ## Mail History Id: 30372306, Consumer Id: 1366962, Address Id: 15634472 => Updated with Vin: JHLRE48718C024371 ## Mail History Id: 30372474, Consumer Id: 1362766, Address Id: 15635245 => Updated with Vin: 5FNRL38736B033022 ## Mail History Id: 30372470, Consumer Id: 1362764, Address Id: 15635244 => Updated with Vin: 1HGCM56406A052063 ## Mail History Id: 30372390, Consumer Id: 1376767, Address Id: 15670177 => Updated with Vin: 2HKYF18564H595761 ## Mail History Id: 30372422, Consumer Id: 1364234, Address Id: 15635862 => Updated with Vin: 1HGCM71625A001991 ## Mail History Id: 30372334, Consumer Id: 1363908, Address Id: 9421603 => Updated with Vin: 1HGCM66546A065980 ## Mail History Id: 30372334, Consumer Id: 1363908, Address Id: 9421603 => Updated with Vin: 1HGCM66546A065980 ## Mail History Id: 30372416, Consumer Id: 1376976, Address Id: 15670611 => Updated with Vin: 1HGCG1650YA016921 ## Mail History Id: 30372290, Consumer Id: 1365755, Address Id: 8190329 => Updated with Vin: 1HGCM56807A097721 ## Mail History Id: 30372446, Consumer Id: 1365989, Address Id: 15639007 => Updated with Vin: JH4DC54806S010755 ## Mail History Id: 30372286, Consumer Id: 1366466, Address Id: 9512499 => Updated with Vin: 1HGCM568X7A219260 ## Mail History Id: 30372432, Consumer Id: 1366637, Address Id: 15639530 => Updated with Vin: 1HGCM66565A061265 ## Mail History Id: 30372424, Consumer Id: 1367063, Address Id: 15639857 => Updated with Vin: 2HGFG12866H532826 ## Mail History Id: 30372472, Consumer Id: 1367170, Address Id: 15639876 => Updated with Vin: 5J6YH28718L010422 ## Mail History Id: 30372468, Consumer Id: 1379520, Address Id: 15671936 => Updated with Vin: 1HGCM66544A023256 ## Mail History Id: 30372384, Consumer Id: 1371758, Address Id: 15668645 => Updated with Vin: 1HGCP36898A042598 ## Mail History Id: 30372458, Consumer Id: 1371849, Address Id: 2413902 => Updated with Vin: 5FNRL38725B080685 ## Mail History Id: 30372458, Consumer Id: 1371849, Address Id: 2413902 => Updated with Vin: 5FNRL38725B080685 ## Mail History Id: 30372478, Consumer Id: 1371878, Address Id: 15668714 => Updated with Vin: 2HGFA16548H327946 ## Mail History Id: 30372326, Consumer Id: 1372045, Address Id: 15668808 => Updated with Vin: 5FNYF28318B011730 ## Total mail_history records updated with vin numbers: 41 out of 44 ============================================================ ====== Tracking Id: 1485 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-22 10:45:18') AND us2_order_type_id = 3 ## Order found: 1832 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1832 AND product_id = 140 ## Job Group Found: '549' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('549') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508004') AND customer_id = 3230 ## Mailing found: '13258' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30756895, Consumer Id: 93525, Address Id: 50781 => Updated with Vin: 1FAHP35N48W110987 ## Mail History Id: 30756894, Consumer Id: 66021, Address Id: 48188 => Updated with Vin: 1FAFP6636XK127799 ## Mail History Id: 30756897, Consumer Id: 64827, Address Id: 51984 => Updated with Vin: 1FTPX145X5FA58305 ## Mail History Id: 30756898, Consumer Id: 91831, Address Id: 50041 => Updated with Vin: 1FAFP37N97W243988 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1486 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-22 11:15:23') AND us2_order_type_id = 3 ## Order found: 1839 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1839 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3486 ## Mailing found: '13108' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373816, Consumer Id: 476283, Address Id: 1567263 => Updated with Vin: 1GCDT196648172076 ## Mail History Id: 30373810, Consumer Id: 479949, Address Id: 1035938 => Updated with Vin: 1GCHK29U33E123247 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 1487 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-22 11:16:27') AND us2_order_type_id = 3 ## Order found: 1840 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1840 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3491 ## Mailing found: '13132' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373146, Consumer Id: 835353, Address Id: 11892856 => Updated with Vin: 3GNEC12Z85G243306 ## Mail History Id: 30373054, Consumer Id: 832134, Address Id: 11890749 => Updated with Vin: 1GHDX03E4XD227340 ## Mail History Id: 30373112, Consumer Id: 809749, Address Id: 11884343 => Updated with Vin: 2G1WB58K069237456 ## Mail History Id: 30373120, Consumer Id: 811798, Address Id: 11886158 => Updated with Vin: 2GCEK13V971130998 ## Mail History Id: 30373046, Consumer Id: 838331, Address Id: 1298653 => Updated with Vin: 3GNFK12327G256316 ## Mail History Id: 30373114, Consumer Id: 813771, Address Id: 11888288 => Updated with Vin: 3GNDA33P87S621747 ## Mail History Id: 30373090, Consumer Id: 839261, Address Id: 11895182 => Updated with Vin: 1G1AK55F977411528 ## Mail History Id: 30373044, Consumer Id: 814745, Address Id: 11889490 => Updated with Vin: 1G1AK58F787106638 ## Mail History Id: 30373076, Consumer Id: 814923, Address Id: 11889604 => Updated with Vin: 2GCEK13M771543283 ## Mail History Id: 30373092, Consumer Id: 815341, Address Id: 11890176 => Updated with Vin: 3GNDA13D98S596093 ## Mail History Id: 30373064, Consumer Id: 815378, Address Id: 11890202 => Updated with Vin: 1G1AL58F387155798 ## Mail History Id: 30373156, Consumer Id: 815430, Address Id: 11890231 => Updated with Vin: 3GNDA13D68S541746 ## Mail History Id: 30373086, Consumer Id: 815645, Address Id: 11890389 => Updated with Vin: 2G1WF55E129324232 ## Mail History Id: 30373118, Consumer Id: 815949, Address Id: 11890459 => Updated with Vin: 2G1WU583289243751 ## Mail History Id: 30373026, Consumer Id: 815745, Address Id: 11890461 => Updated with Vin: 5LMFU28R04LJ01047 ## Mail History Id: 30373060, Consumer Id: 815733, Address Id: 1302297 => Updated with Vin: 2C8GP64L15R365140 ## Mail History Id: 30373062, Consumer Id: 816083, Address Id: 11891257 => Updated with Vin: 3GCEK13J68G257536 ## Mail History Id: 30373104, Consumer Id: 959740, Address Id: 11888358 => Updated with Vin: 1G1AL18F087217943 ## Mail History Id: 30373022, Consumer Id: 833492, Address Id: 1293123 => Updated with Vin: 2CNDL13F156108314 ## Mail History Id: 30373138, Consumer Id: 831632, Address Id: 11889396 => Updated with Vin: 1GNDS13S242137117 ## Mail History Id: 30373038, Consumer Id: 824245, Address Id: 11875925 => Updated with Vin: 1GCHC23132F201577 ## Mail History Id: 30373042, Consumer Id: 824274, Address Id: 1298243 => Updated with Vin: 1G1JC524127254439 ## Mail History Id: 30373160, Consumer Id: 823732, Address Id: 11879113 => Updated with Vin: 3GNFK16Z33G262442 ## Mail History Id: 30373098, Consumer Id: 833985, Address Id: 11874836 => Updated with Vin: 1G8ZH1275TZ101125 ## Mail History Id: 30373034, Consumer Id: 814494, Address Id: 11875613 => Updated with Vin: 1G1AK15F677313291 ## Mail History Id: 30373084, Consumer Id: 832235, Address Id: 11890792 => Updated with Vin: 1G1JC12F457170808 ## Mail History Id: 30373132, Consumer Id: 839922, Address Id: 11890967 => Updated with Vin: 1G1YY26W885106772 ## Mail History Id: 30373132, Consumer Id: 832669, Address Id: 11890967 => Updated with Vin: 2G2FV22G522112039 ## Mail History Id: 30373072, Consumer Id: 833913, Address Id: 11891906 => Updated with Vin: 1GNEC13T25R199152 ## Mail History Id: 30373110, Consumer Id: 834697, Address Id: 11892431 => Updated with Vin: 1GNDU03E02D212946 ## Mail History Id: 30373108, Consumer Id: 837219, Address Id: 11879394 => Updated with Vin: 1GCDR14K2HF407142 ## Mail History Id: 30373154, Consumer Id: 811769, Address Id: 11886146 => Updated with Vin: 1G1ZT51886F248138 ## Total mail_history records updated with vin numbers: 32 out of 42 ============================================================ ====== Tracking Id: 1488 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-22 11:16:41') AND us2_order_type_id = 3 ## Order found: 1840 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1840 AND product_id = 113 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3491 ## Mailing found: '13109' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373861, Consumer Id: 811806, Address Id: 11886162 => Updated with Vin: KL1TD66617B695269 ## Mail History Id: 30373789, Consumer Id: 826010, Address Id: 11880905 => Updated with Vin: 1GNEK13Z73R165504 ## Mail History Id: 30373767, Consumer Id: 834474, Address Id: 11892288 => Updated with Vin: 3GNEK13T32G277811 ## Mail History Id: 30373775, Consumer Id: 829239, Address Id: 11884757 => Updated with Vin: 1GCEC14X74Z240691 ## Mail History Id: 30373797, Consumer Id: 828521, Address Id: 11883250 => Updated with Vin: 1GCHK23132F231262 ## Mail History Id: 30373845, Consumer Id: 825494, Address Id: 11880663 => Updated with Vin: 3GNFK16Z73G162490 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 1489 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-22 11:16:54') AND us2_order_type_id = 3 ## Order found: 1840 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1840 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3491 ## Mailing found: '13109' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373765, Consumer Id: 813448, Address Id: 11888077 => Updated with Vin: 1G1AK15F777305006 ## Mail History Id: 30373809, Consumer Id: 815640, Address Id: 11890385 => Updated with Vin: 4M2YU561X6KJ15832 ## Mail History Id: 30373795, Consumer Id: 839843, Address Id: 11884322 => Updated with Vin: 1FAFP40483F371916 ## Mail History Id: 30373847, Consumer Id: 829378, Address Id: 11884854 => Updated with Vin: 1GCEC14X73Z278677 ## Mail History Id: 30374130, Consumer Id: 815979, Address Id: 11888001 => Updated with Vin: 1G2WR12171F193360 ## Mail History Id: 30373763, Consumer Id: 823973, Address Id: 11879853 => Updated with Vin: 2GCEK19TX31186240 ## Mail History Id: 30373831, Consumer Id: 809267, Address Id: 11882539 => Updated with Vin: 1G1ZS51F66F131000 ## Mail History Id: 30373805, Consumer Id: 826697, Address Id: 11881446 => Updated with Vin: 1GCEC14V72Z283178 ## Mail History Id: 30374120, Consumer Id: 824111, Address Id: 11879904 => Updated with Vin: 1G2WR5214YF186156 ## Total mail_history records updated with vin numbers: 9 out of 11 ============================================================ ====== Tracking Id: 1490 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-22 11:18:18') AND us2_order_type_id = 3 ## Order found: 1841 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1841 AND product_id = 144 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3705 ## Mailing found: '13134' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373356, Consumer Id: 974992, Address Id: 14843537 => Updated with Vin: 3G7DA03E54S561717 ## Mail History Id: 30373226, Consumer Id: 961493, Address Id: 14834584 => Updated with Vin: 5Y2SL63875Z449604 ## Mail History Id: 30373352, Consumer Id: 963038, Address Id: 14831916 => Updated with Vin: 2CNDL13F866078049 ## Mail History Id: 30373242, Consumer Id: 963518, Address Id: 9159632 => Updated with Vin: 1GTEC19T06Z176065 ## Mail History Id: 30373342, Consumer Id: 963719, Address Id: 9863878 => Updated with Vin: 2G4WD582661197556 ## Mail History Id: 30373310, Consumer Id: 965145, Address Id: 14837477 => Updated with Vin: 1GNET16S666107417 ## Mail History Id: 30373288, Consumer Id: 965475, Address Id: 14837771 => Updated with Vin: 2GCEC13Z861356738 ## Mail History Id: 30373274, Consumer Id: 966578, Address Id: 14838593 => Updated with Vin: 2G4WC582661206677 ## Mail History Id: 30373304, Consumer Id: 969744, Address Id: 11388029 => Updated with Vin: 2CNDL63F676064732 ## Mail History Id: 30373212, Consumer Id: 966753, Address Id: 14838720 => Updated with Vin: 2GTEC13Z271169545 ## Mail History Id: 30373198, Consumer Id: 966976, Address Id: 14838890 => Updated with Vin: 1GCHC29G86E238695 ## Mail History Id: 30373292, Consumer Id: 966785, Address Id: 14838745 => Updated with Vin: 1G1ZT51896F288857 ## Mail History Id: 30373326, Consumer Id: 967423, Address Id: 14839199 => Updated with Vin: 3GNFK12397G218534 ## Mail History Id: 30373252, Consumer Id: 966974, Address Id: 9159851 => Updated with Vin: 3GNFC16J97G149835 ## Mail History Id: 30373254, Consumer Id: 966999, Address Id: 14838910 => Updated with Vin: 2CNDL63F666185632 ## Mail History Id: 30373360, Consumer Id: 967662, Address Id: 14839423 => Updated with Vin: 2CNDL13F376048880 ## Mail History Id: 30373286, Consumer Id: 968851, Address Id: 14840261 => Updated with Vin: 1GKFK63837J324562 ## Mail History Id: 30373204, Consumer Id: 969326, Address Id: 9182042 => Updated with Vin: 1G4HR57Y87U168114 ## Mail History Id: 30373316, Consumer Id: 969122, Address Id: 14840445 => Updated with Vin: 1GKFC13J37R115164 ## Mail History Id: 30373170, Consumer Id: 969597, Address Id: 14840826 => Updated with Vin: 2CNDL13F276094121 ## Mail History Id: 30373246, Consumer Id: 969960, Address Id: 14838519 => Updated with Vin: 2CKDL63F076096329 ## Mail History Id: 30373186, Consumer Id: 971405, Address Id: 14842111 => Updated with Vin: 1GKFK66817J355367 ## Mail History Id: 30373330, Consumer Id: 971373, Address Id: 14842088 => Updated with Vin: 1G1AL15F477128928 ## Mail History Id: 30373320, Consumer Id: 971203, Address Id: 9254449 => Updated with Vin: 5GADV33167D115134 ## Mail History Id: 30373174, Consumer Id: 971576, Address Id: 14842265 => Updated with Vin: 2CNDL33F886026578 ## Mail History Id: 30373272, Consumer Id: 971727, Address Id: 4942478 => Updated with Vin: 1GCEC14X28Z174850 ## Mail History Id: 30373262, Consumer Id: 971624, Address Id: 14838638 => Updated with Vin: 1GCHK23KX8F122041 ## Mail History Id: 30373290, Consumer Id: 971823, Address Id: 14842427 => Updated with Vin: 2G1WK15K379367018 ## Mail History Id: 30373290, Consumer Id: 971823, Address Id: 14842427 => Updated with Vin: 2G1WK15K379367018 ## Mail History Id: 30373220, Consumer Id: 971970, Address Id: 14837980 => Updated with Vin: 6G2EC57Y78L988773 ## Mail History Id: 30373166, Consumer Id: 972810, Address Id: 11189339 => Updated with Vin: 1GKFC13018J120483 ## Mail History Id: 30373194, Consumer Id: 972916, Address Id: 14843239 => Updated with Vin: 1GCEK14C47Z610015 ## Mail History Id: 30373278, Consumer Id: 972990, Address Id: 14843285 => Updated with Vin: 1GTEC19J68Z174709 ## Mail History Id: 30373200, Consumer Id: 973047, Address Id: 14843321 => Updated with Vin: 2GCEC19C781245345 ## Mail History Id: 30373280, Consumer Id: 973054, Address Id: 14843326 => Updated with Vin: 2GCEC19J581249604 ## Mail History Id: 30373206, Consumer Id: 973058, Address Id: 14843329 => Updated with Vin: 1G1ZG57BX8F250564 ## Mail History Id: 30373178, Consumer Id: 973061, Address Id: 2373840 => Updated with Vin: 1GTCS43E288219271 ## Mail History Id: 30373336, Consumer Id: 973062, Address Id: 14843331 => Updated with Vin: 3GNCA13D28S681904 ## Mail History Id: 30373250, Consumer Id: 973300, Address Id: 14831529 => Updated with Vin: 1G3HY52L9RH328418 ## Mail History Id: 30373378, Consumer Id: 974528, Address Id: 14842178 => Updated with Vin: 1G6KD54Y54U130903 ## Mail History Id: 30373324, Consumer Id: 980976, Address Id: 14846879 => Updated with Vin: 2GCEC19T121265694 ## Mail History Id: 30373350, Consumer Id: 979014, Address Id: 14844659 => Updated with Vin: 1GDE4D1133F521834 ## Mail History Id: 30373364, Consumer Id: 980985, Address Id: 14846886 => Updated with Vin: 3GNEC16Z43G294308 ## Mail History Id: 30373270, Consumer Id: 959840, Address Id: 14831061 => Updated with Vin: 1G3NL12TX1C282450 ## Mail History Id: 30373312, Consumer Id: 960005, Address Id: 10071057 => Updated with Vin: 2GCEC19V131135174 ## Mail History Id: 30373250, Consumer Id: 980993, Address Id: 14831529 => Updated with Vin: 1G2BT69Y0GX250193 ## Mail History Id: 30373362, Consumer Id: 980990, Address Id: 10073191 => Updated with Vin: 1GKER23748J165513 ## Mail History Id: 30373372, Consumer Id: 959996, Address Id: 14831186 => Updated with Vin: 1GKEC13T31J131559 ## Mail History Id: 30373264, Consumer Id: 980978, Address Id: 14846880 => Updated with Vin: 2GCEK19T431372128 ## Mail History Id: 30373234, Consumer Id: 973055, Address Id: 11386951 => Updated with Vin: 1GCGC13U41F201599 ## Mail History Id: 30373346, Consumer Id: 976340, Address Id: 14844360 => Updated with Vin: 2GCEK13T761202052 ## Mail History Id: 30373172, Consumer Id: 977387, Address Id: 8032537 => Updated with Vin: 2G4WC552061128935 ## Mail History Id: 30373232, Consumer Id: 977324, Address Id: 14844941 => Updated with Vin: 2GTEC19V541265914 ## Mail History Id: 30373306, Consumer Id: 977993, Address Id: 14845307 => Updated with Vin: 3GNEC16Z55G149166 ## Mail History Id: 30373202, Consumer Id: 977977, Address Id: 14845295 => Updated with Vin: 3GNFC16J87G118253 ## Mail History Id: 30373328, Consumer Id: 980979, Address Id: 14845383 => Updated with Vin: 1G1ND52J7Y6319023 ## Mail History Id: 30373344, Consumer Id: 978238, Address Id: 14845430 => Updated with Vin: 2G1WF52E759187578 ## Mail History Id: 30373260, Consumer Id: 979824, Address Id: 14846313 => Updated with Vin: 1G4HP572X6U199011 ## Mail History Id: 30373228, Consumer Id: 979057, Address Id: 9159391 => Updated with Vin: 2GCEK13Z761256567 ## Mail History Id: 30373300, Consumer Id: 979291, Address Id: 14846010 => Updated with Vin: 1GNFC130X7R172830 ## Mail History Id: 30373296, Consumer Id: 979306, Address Id: 11387962 => Updated with Vin: 6G2VX12U36L566532 ## Mail History Id: 30373298, Consumer Id: 979537, Address Id: 7107930 => Updated with Vin: 1GCES14H16B121705 ## Mail History Id: 30373332, Consumer Id: 970511, Address Id: 14841465 => Updated with Vin: 2GCEC13J171699841 ## Mail History Id: 30373238, Consumer Id: 979642, Address Id: 10444047 => Updated with Vin: 2CKDL63F376048291 ## Mail History Id: 30373302, Consumer Id: 980048, Address Id: 14846444 => Updated with Vin: 3G5DA03EX4S583950 ## Mail History Id: 30373236, Consumer Id: 980515, Address Id: 14846705 => Updated with Vin: 2G2WR554371198021 ## Mail History Id: 30373182, Consumer Id: 980528, Address Id: 2379362 => Updated with Vin: 1GKER13707J104393 ## Mail History Id: 30373348, Consumer Id: 980988, Address Id: 9864424 => Updated with Vin: 1GNEC13V35R259814 ## Mail History Id: 30373258, Consumer Id: 980971, Address Id: 14846875 => Updated with Vin: 1GCCS139278223739 ## Mail History Id: 30373196, Consumer Id: 980989, Address Id: 9157275 => Updated with Vin: 1GCJC33164F134659 ## Mail History Id: 30373338, Consumer Id: 980980, Address Id: 14846881 => Updated with Vin: 2G2WP552271198516 ## Mail History Id: 30373248, Consumer Id: 980977, Address Id: 14846446 => Updated with Vin: 1GTCS199688118243 ## Mail History Id: 30373224, Consumer Id: 980984, Address Id: 14846885 => Updated with Vin: 1G1AK55F867702245 ## Mail History Id: 30373318, Consumer Id: 980974, Address Id: 9161452 => Updated with Vin: 1G1AL55F267771509 ## Mail History Id: 30373358, Consumer Id: 980892, Address Id: 14846769 => Updated with Vin: 1GKFK66UX6J113396 ## Mail History Id: 30373366, Consumer Id: 980857, Address Id: 14843216 => Updated with Vin: 2GCEC13JX71560078 ## Mail History Id: 30373340, Consumer Id: 960095, Address Id: 14831263 => Updated with Vin: 1G4CW52K0V4615103 ## Mail History Id: 30373184, Consumer Id: 980983, Address Id: 14846884 => Updated with Vin: 1GKFC13087R174220 ## Mail History Id: 30373334, Consumer Id: 980968, Address Id: 14846872 => Updated with Vin: 2G4WD582681148909 ## Total mail_history records updated with vin numbers: 79 out of 93 ============================================================ ====== Tracking Id: 1491 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-22 11:18:33') AND us2_order_type_id = 3 ## Order found: 1841 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1841 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3705 ## Mailing found: '13110' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373889, Consumer Id: 974890, Address Id: 14843473 => Updated with Vin: 1GCGK23U24F156241 ## Mail History Id: 30373885, Consumer Id: 975300, Address Id: 14843744 => Updated with Vin: 2G1WP521649249450 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1492 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-22 11:19:24') AND us2_order_type_id = 3 ## Order found: 1842 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1842 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3808 ## Mailing found: '13137' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373004, Consumer Id: 1172281, Address Id: 15030343 => Updated with Vin: 2G1WL16C769266213 ## Mail History Id: 30373014, Consumer Id: 1172269, Address Id: 15030334 => Updated with Vin: 1G1ND52F15M110010 ## Mail History Id: 30373002, Consumer Id: 1172271, Address Id: 15030336 => Updated with Vin: 1G1YY24U555123252 ## Mail History Id: 30372998, Consumer Id: 1172297, Address Id: 15030358 => Updated with Vin: 1G1YY22G7W5102675 ## Mail History Id: 30373000, Consumer Id: 1172261, Address Id: 15030328 => Updated with Vin: 1GCHK23D97F147044 ## Mail History Id: 30373016, Consumer Id: 1170712, Address Id: 15028961 => Updated with Vin: 1GCHK23K58F139068 ## Mail History Id: 30372956, Consumer Id: 1172279, Address Id: 15030341 => Updated with Vin: 3GNEC16Z53G201814 ## Mail History Id: 30372992, Consumer Id: 1171197, Address Id: 15029408 => Updated with Vin: 2G1WF55K1Y9174511 ## Mail History Id: 30373008, Consumer Id: 1172264, Address Id: 15030331 => Updated with Vin: 1GCHK23U83F114143 ## Mail History Id: 30372982, Consumer Id: 1172266, Address Id: 15030333 => Updated with Vin: 1G1ND52F24M520071 ## Mail History Id: 30373010, Consumer Id: 1172298, Address Id: 6145484 => Updated with Vin: 1GNDS13S332172621 ## Total mail_history records updated with vin numbers: 11 out of 20 ============================================================ ====== Tracking Id: 1493 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-22 11:19:30') AND us2_order_type_id = 3 ## Order found: 1842 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1842 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3808 ## Mailing found: '13111' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30374088, Consumer Id: 1171008, Address Id: 15029234 => Updated with Vin: 1G4CU53L8M1641347 ## Mail History Id: 30374098, Consumer Id: 1170956, Address Id: 15029004 => Updated with Vin: 3GNFK16T3YG135144 ## Mail History Id: 30374094, Consumer Id: 1171117, Address Id: 15029335 => Updated with Vin: 2GCEC19R6T1246760 ## Mail History Id: 30374112, Consumer Id: 1171078, Address Id: 15029299 => Updated with Vin: KL1TJ52614B165808 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 1494 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-22 11:19:37') AND us2_order_type_id = 3 ## Order found: 1843 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1843 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3721 ## Mailing found: '13135' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372828, Consumer Id: 1010176, Address Id: 14931845 => Updated with Vin: 4F2CZ06138KM26266 ## Total mail_history records updated with vin numbers: 1 out of 4 ============================================================ ====== Tracking Id: 1495 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-22 11:19:44') AND us2_order_type_id = 3 ## Order found: 1842 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1842 AND product_id = 113 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3808 ## Mailing found: '13111' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30374102, Consumer Id: 1265881, Address Id: 15437458 => Updated with Vin: 2G1WL52M4S1172496 ## Mail History Id: 30374082, Consumer Id: 1266077, Address Id: 15437638 => Updated with Vin: 1GCEK19B87E149666 ## Mail History Id: 30374090, Consumer Id: 1265784, Address Id: 15028957 => Updated with Vin: 1GCEC19V84Z321383 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1496 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-22 11:19:56') AND us2_order_type_id = 3 ## Order found: 1842 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1842 AND product_id = 114 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3808 ## Mailing found: '13111' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30374114, Consumer Id: 1272663, Address Id: 15453096 => Updated with Vin: 2G1WX12K6Y9367151 ## Mail History Id: 30374106, Consumer Id: 1272217, Address Id: 15452639 => Updated with Vin: 2G1WF52K339232888 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1497 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-22 11:45:28') AND us2_order_type_id = 3 ## Order found: 1844 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1844 AND product_id = 142 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3357 ## Mailing found: '13126' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373744, Consumer Id: 640635, Address Id: 11776486 => Updated with Vin: JM1FE173670213028 ## Mail History Id: 30373690, Consumer Id: 742564, Address Id: 11832204 => Updated with Vin: JM1GD2222J1507880 ## Mail History Id: 30373706, Consumer Id: 191515, Address Id: 401717 => Updated with Vin: JM1NB353140409943 ## Mail History Id: 30373680, Consumer Id: 189436, Address Id: 398313 => Updated with Vin: 1FMDK06155GA38670 ## Mail History Id: 30373698, Consumer Id: 153751, Address Id: 395967 => Updated with Vin: JM1GG12LX61103310 ## Mail History Id: 30373682, Consumer Id: 958613, Address Id: 12108117 => Updated with Vin: 5TDBA22C16S073215 ## Mail History Id: 30373716, Consumer Id: 154005, Address Id: 396195 => Updated with Vin: 1FTYR14U97PA33026 ## Mail History Id: 30373748, Consumer Id: 155795, Address Id: 397829 => Updated with Vin: JM3TB38V180141526 ## Mail History Id: 30373752, Consumer Id: 155805, Address Id: 397839 => Updated with Vin: JM1NC26F180146990 ## Mail History Id: 30373718, Consumer Id: 155937, Address Id: 397953 => Updated with Vin: JM1NC26F580148970 ## Mail History Id: 30373678, Consumer Id: 155812, Address Id: 397845 => Updated with Vin: JM1FE173680214567 ## Mail History Id: 30373678, Consumer Id: 155812, Address Id: 397845 => Updated with Vin: JM1FE173680214567 ## Mail History Id: 30373664, Consumer Id: 155695, Address Id: 397732 => Updated with Vin: JM1CR29L080303576 ## Mail History Id: 30373742, Consumer Id: 155840, Address Id: 397872 => Updated with Vin: JM1CR29L480306397 ## Mail History Id: 30373700, Consumer Id: 155898, Address Id: 397920 => Updated with Vin: JM1BK12G081102908 ## Mail History Id: 30373740, Consumer Id: 155690, Address Id: 397727 => Updated with Vin: JM1BK344081827634 ## Mail History Id: 30373710, Consumer Id: 155820, Address Id: 397853 => Updated with Vin: JM1BK344X81839838 ## Mail History Id: 30373694, Consumer Id: 155779, Address Id: 397813 => Updated with Vin: JM1BK344981841788 ## Mail History Id: 30373708, Consumer Id: 155703, Address Id: 397740 => Updated with Vin: JM1BK344481843822 ## Mail History Id: 30373726, Consumer Id: 155852, Address Id: 397884 => Updated with Vin: JM1BK34MX81845087 ## Mail History Id: 30373666, Consumer Id: 155750, Address Id: 397785 => Updated with Vin: JM1BK32G181850725 ## Mail History Id: 30373722, Consumer Id: 155692, Address Id: 397729 => Updated with Vin: JM1BK32G481858754 ## Mail History Id: 30373746, Consumer Id: 155912, Address Id: 397929 => Updated with Vin: JM1BK32G781859641 ## Mail History Id: 30373738, Consumer Id: 155771, Address Id: 397805 => Updated with Vin: JM1BK324681865095 ## Mail History Id: 30373754, Consumer Id: 155730, Address Id: 397766 => Updated with Vin: JM1BK34M381868193 ## Mail History Id: 30373662, Consumer Id: 155767, Address Id: 397802 => Updated with Vin: JM1BK32G581872341 ## Mail History Id: 30373686, Consumer Id: 188672, Address Id: 400737 => Updated with Vin: 1FTYR14X3XPA26129 ## Mail History Id: 30373712, Consumer Id: 188033, Address Id: 398566 => Updated with Vin: 1FALP5240PG148503 ## Mail History Id: 30373684, Consumer Id: 187439, Address Id: 398359 => Updated with Vin: 1FTWW31P95EA70838 ## Mail History Id: 30373692, Consumer Id: 155693, Address Id: 397730 => Updated with Vin: 4F2CZ49H88KM17062 ## Mail History Id: 30373732, Consumer Id: 155749, Address Id: 397784 => Updated with Vin: 4F2CZ59H68KM18877 ## Mail History Id: 30373714, Consumer Id: 435564, Address Id: 880938 => Updated with Vin: 1FMZU73K53ZA66704 ## Total mail_history records updated with vin numbers: 32 out of 49 ============================================================ ====== Tracking Id: 1498 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-22 11:45:33') AND us2_order_type_id = 3 ## Order found: 1844 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1844 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3357 ## Mailing found: '13103' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30374051, Consumer Id: 197154, Address Id: 405574 => Updated with Vin: 1FTYR10DX3PA95549 ## Mail History Id: 30374111, Consumer Id: 193644, Address Id: 403190 => Updated with Vin: 1FMZU63K83ZA11299 ## Mail History Id: 30374075, Consumer Id: 435568, Address Id: 9800097 => Updated with Vin: JTEDP21A960125051 ## Mail History Id: 30374025, Consumer Id: 196680, Address Id: 406222 => Updated with Vin: 3LNHM26146R658377 ## Mail History Id: 30374071, Consumer Id: 435588, Address Id: 9800113 => Updated with Vin: JA4LZ31F36U048255 ## Mail History Id: 30374013, Consumer Id: 154959, Address Id: 397057 => Updated with Vin: 1YVHP80C475M16776 ## Mail History Id: 30374035, Consumer Id: 174153, Address Id: 446137 => Updated with Vin: 1FMEU64E88UA88461 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 1499 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-22 12:18:29') AND us2_order_type_id = 3 ## Order found: 1845 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1845 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3427 ## Mailing found: '13104' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373792, Consumer Id: 499169, Address Id: 7554085 => Updated with Vin: SHSRD78844U223060 ## Mail History Id: 30373776, Consumer Id: 502304, Address Id: 326276 => Updated with Vin: 2HGES16574H565521 ## Mail History Id: 30373770, Consumer Id: 506089, Address Id: 1638985 => Updated with Vin: 1HGCG5649YA033473 ## Mail History Id: 30373760, Consumer Id: 473160, Address Id: 9834595 => Updated with Vin: 1HGCM55787A022497 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 1500 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-22 12:18:41') AND us2_order_type_id = 3 ## Order found: 1845 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1845 AND product_id = 114 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3427 ## Mailing found: '13104' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1501 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-22 12:18:44') AND us2_order_type_id = 3 ## Order found: 1846 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1846 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3471 ## Mailing found: '13131' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373404, Consumer Id: 820961, Address Id: 4552424 => Updated with Vin: 1G6KD57946U114246 ## Mail History Id: 30373426, Consumer Id: 822070, Address Id: 7416039 => Updated with Vin: 1G6KD57Y22U185950 ## Mail History Id: 30373500, Consumer Id: 817318, Address Id: 10220478 => Updated with Vin: 1G6DW677250226122 ## Mail History Id: 30373470, Consumer Id: 816766, Address Id: 10215963 => Updated with Vin: 1G6DC67A550199471 ## Mail History Id: 30373388, Consumer Id: 821080, Address Id: 7878345 => Updated with Vin: 1G6KD57Y15U145962 ## Mail History Id: 30373416, Consumer Id: 805582, Address Id: 7415678 => Updated with Vin: 3GYFK66NX3G264704 ## Mail History Id: 30373494, Consumer Id: 817595, Address Id: 10218477 => Updated with Vin: 3GYFK66N54G316936 ## Mail History Id: 30373392, Consumer Id: 803046, Address Id: 7878364 => Updated with Vin: 1G6KY5496YU307574 ## Mail History Id: 30373450, Consumer Id: 821344, Address Id: 7416882 => Updated with Vin: 1GYFK63857R146967 ## Mail History Id: 30373430, Consumer Id: 804041, Address Id: 7416140 => Updated with Vin: 1G3GS64CX34136391 ## Mail History Id: 30373476, Consumer Id: 797797, Address Id: 10216812 => Updated with Vin: 1G6EL12Y8RU621548 ## Mail History Id: 30373402, Consumer Id: 799252, Address Id: 7878540 => Updated with Vin: 1G6KY54922U149175 ## Mail History Id: 30373490, Consumer Id: 816200, Address Id: 10217547 => Updated with Vin: 3GNEK12T14G343051 ## Mail History Id: 30373504, Consumer Id: 804021, Address Id: 11851047 => Updated with Vin: 1G6KD57Y84U166581 ## Mail History Id: 30373484, Consumer Id: 822173, Address Id: 10217120 => Updated with Vin: 1G6KD54Y95U101664 ## Mail History Id: 30373514, Consumer Id: 802458, Address Id: 11871912 => Updated with Vin: 1G6KY54972U288511 ## Mail History Id: 30373410, Consumer Id: 801708, Address Id: 7878939 => Updated with Vin: 1G6DM57N430156201 ## Mail History Id: 30373428, Consumer Id: 798400, Address Id: 11869847 => Updated with Vin: 1G6KD52B8SU297624 ## Mail History Id: 30373498, Consumer Id: 760511, Address Id: 10220280 => Updated with Vin: 1GYEK63N63R215919 ## Mail History Id: 30373400, Consumer Id: 798126, Address Id: 7878491 => Updated with Vin: 3GYEK63N03G235096 ## Mail History Id: 30373492, Consumer Id: 823365, Address Id: 10563028 => Updated with Vin: 1G6KD57Y77U103833 ## Mail History Id: 30373460, Consumer Id: 772853, Address Id: 11873934 => Updated with Vin: 1GYFK63867R391597 ## Mail History Id: 30373464, Consumer Id: 822986, Address Id: 11876417 => Updated with Vin: 1GYFK63827R305704 ## Mail History Id: 30373386, Consumer Id: 817133, Address Id: 7878184 => Updated with Vin: 1G6KS54Y22U218326 ## Mail History Id: 30373506, Consumer Id: 772950, Address Id: 11874188 => Updated with Vin: 1G6DC67A560130555 ## Mail History Id: 30373516, Consumer Id: 818316, Address Id: 11876787 => Updated with Vin: 1G6DC67A750213516 ## Mail History Id: 30373396, Consumer Id: 807062, Address Id: 7878395 => Updated with Vin: 1GYFK63818R158924 ## Mail History Id: 30373508, Consumer Id: 800891, Address Id: 11871075 => Updated with Vin: 1G6KE57Y02U154905 ## Mail History Id: 30373444, Consumer Id: 822111, Address Id: 7416617 => Updated with Vin: 1G6KD57Y46U155449 ## Mail History Id: 30373418, Consumer Id: 822605, Address Id: 7415752 => Updated with Vin: 1GYFK66827R304113 ## Mail History Id: 30373406, Consumer Id: 760516, Address Id: 6527188 => Updated with Vin: 1GYFK63837R137345 ## Mail History Id: 30373448, Consumer Id: 823341, Address Id: 10214563 => Updated with Vin: 1G6DM57T870145206 ## Mail History Id: 30373394, Consumer Id: 807064, Address Id: 10211890 => Updated with Vin: 1GYFK63888R236518 ## Mail History Id: 30373462, Consumer Id: 807084, Address Id: 11874330 => Updated with Vin: 3GYFK66N74G337559 ## Mail History Id: 30373422, Consumer Id: 822206, Address Id: 7415997 => Updated with Vin: 1GYEE63A770152571 ## Total mail_history records updated with vin numbers: 35 out of 60 ============================================================ ====== Tracking Id: 1502 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-22 12:18:56') AND us2_order_type_id = 3 ## Order found: 1846 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1846 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3471 ## Mailing found: '13107' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373899, Consumer Id: 817124, Address Id: 11869710 => Updated with Vin: 1G6KS54Y63U247040 ## Mail History Id: 30373895, Consumer Id: 797815, Address Id: 7878687 => Updated with Vin: 3GYFK66N33G230457 ## Mail History Id: 30373893, Consumer Id: 772895, Address Id: 7415456 => Updated with Vin: 1GYEK63N65R226227 ## Total mail_history records updated with vin numbers: 3 out of 6 ============================================================ ====== Tracking Id: 1503 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-22 12:18:57') AND us2_order_type_id = 3 ## Order found: 1847 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1847 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3451 ## Mailing found: '13129' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373656, Consumer Id: 614353, Address Id: 11757283 => Updated with Vin: 1GYEK63N72R281992 ## Mail History Id: 30373528, Consumer Id: 616179, Address Id: 11758393 => Updated with Vin: 1G6KD52Y2TU310695 ## Mail History Id: 30373600, Consumer Id: 613950, Address Id: 11757047 => Updated with Vin: 1G6KY5491XU900063 ## Mail History Id: 30373616, Consumer Id: 612626, Address Id: 11756239 => Updated with Vin: 1G6KY54941U149984 ## Mail History Id: 30373642, Consumer Id: 612924, Address Id: 11756416 => Updated with Vin: 1G6DM57N530156272 ## Mail History Id: 30373534, Consumer Id: 617827, Address Id: 824683 => Updated with Vin: 1G6DM577340106375 ## Mail History Id: 30373610, Consumer Id: 620669, Address Id: 11761599 => Updated with Vin: 1G6KD54Y55U161666 ## Mail History Id: 30373636, Consumer Id: 624355, Address Id: 11763199 => Updated with Vin: 1GYEK63N35R197933 ## Mail History Id: 30373586, Consumer Id: 611338, Address Id: 11758939 => Updated with Vin: 1G6KD57Y76U108898 ## Mail History Id: 30373548, Consumer Id: 611380, Address Id: 3873886 => Updated with Vin: 1G6KD54Y75U205974 ## Mail History Id: 30373646, Consumer Id: 626744, Address Id: 11764077 => Updated with Vin: 1G6EL12Y7XU606407 ## Mail History Id: 30373606, Consumer Id: 627455, Address Id: 11765014 => Updated with Vin: 1G6DP577360211945 ## Mail History Id: 30373602, Consumer Id: 619318, Address Id: 11760963 => Updated with Vin: 1G6DW677150121040 ## Mail History Id: 30373652, Consumer Id: 628252, Address Id: 11765549 => Updated with Vin: 3GYEK63N82G241677 ## Mail History Id: 30373594, Consumer Id: 663168, Address Id: 11756645 => Updated with Vin: 1G6DM577780117465 ## Mail History Id: 30373594, Consumer Id: 663168, Address Id: 11756645 => Updated with Vin: 1G6DM577780117465 ## Total mail_history records updated with vin numbers: 16 out of 27 ============================================================ ====== Tracking Id: 1504 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-22 14:15:07') AND us2_order_type_id = 3 ## Order found: 1848 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1848 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3418 ## Mailing found: '13128' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372862, Consumer Id: 677406, Address Id: 11792424 => Updated with Vin: 1G6DW677970118101 ## Mail History Id: 30372874, Consumer Id: 662885, Address Id: 10326564 => Updated with Vin: 1GYDE63A640132268 ## Mail History Id: 30372912, Consumer Id: 675849, Address Id: 11791535 => Updated with Vin: 1G6KD57Y26U171388 ## Mail History Id: 30372876, Consumer Id: 672674, Address Id: 10326658 => Updated with Vin: 1G6DM577040111128 ## Mail History Id: 30372872, Consumer Id: 671000, Address Id: 11755313 => Updated with Vin: 1G6DP567250113828 ## Mail History Id: 30372896, Consumer Id: 663326, Address Id: 11782857 => Updated with Vin: 1G6DM57T160213814 ## Mail History Id: 30372902, Consumer Id: 663335, Address Id: 11782863 => Updated with Vin: 1GYFK66807R265683 ## Mail History Id: 30372928, Consumer Id: 630791, Address Id: 11771018 => Updated with Vin: 1GKDT13S062182439 ## Mail History Id: 30372924, Consumer Id: 672768, Address Id: 11789540 => Updated with Vin: 1G6KD54YX5U214183 ## Mail History Id: 30372852, Consumer Id: 679437, Address Id: 11793607 => Updated with Vin: 1G6DP577070166450 ## Total mail_history records updated with vin numbers: 10 out of 26 ============================================================ ====== Tracking Id: 1505 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-22 14:15:21') AND us2_order_type_id = 3 ## Order found: 1847 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1847 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3451 ## Mailing found: '13105' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373957, Consumer Id: 612037, Address Id: 831799 => Updated with Vin: 1G6KD57997U206583 ## Mail History Id: 30373991, Consumer Id: 615636, Address Id: 11758074 => Updated with Vin: 1G6DM577440109270 ## Mail History Id: 30373965, Consumer Id: 620910, Address Id: 11761722 => Updated with Vin: 2HGES16543H609876 ## Mail History Id: 30373961, Consumer Id: 620941, Address Id: 4550717 => Updated with Vin: 3GYEK62N05G173445 ## Mail History Id: 30373973, Consumer Id: 622441, Address Id: 11762540 => Updated with Vin: 1G6KD54Y82U226294 ## Mail History Id: 30373931, Consumer Id: 624186, Address Id: 11763113 => Updated with Vin: 1G6DW677360112955 ## Mail History Id: 30373987, Consumer Id: 624584, Address Id: 3241840 => Updated with Vin: 1G6KD54Y55U206752 ## Mail History Id: 30373959, Consumer Id: 627358, Address Id: 11764859 => Updated with Vin: 1G6DM57T560178906 ## Mail History Id: 30373993, Consumer Id: 619260, Address Id: 11760726 => Updated with Vin: 3GYEK63N12G275864 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 1506 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-22 14:15:33') AND us2_order_type_id = 3 ## Order found: 1847 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1847 AND product_id = 114 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3451 ## Mailing found: '13105' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373951, Consumer Id: 618719, Address Id: 830443 => Updated with Vin: 1GYEK63N92R214889 ## Mail History Id: 30373995, Consumer Id: 611997, Address Id: 11760236 => Updated with Vin: 1G6DP577770148401 ## Mail History Id: 30373929, Consumer Id: 619331, Address Id: 11760970 => Updated with Vin: 1G6DP57V980117604 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1507 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-22 14:15:45') AND us2_order_type_id = 3 ## Order found: 1847 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1847 AND product_id = 113 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3451 ## Mailing found: '13105' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373963, Consumer Id: 621437, Address Id: 11761991 => Updated with Vin: 1G6DM57N830108698 ## Mail History Id: 30373947, Consumer Id: 627485, Address Id: 11765032 => Updated with Vin: 1G6DP567X50184582 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1508 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 565 AND DATE(cart_created_date) = DATE('2008-08-22 18:35:01') AND us2_order_type_id = 3 ## Order found: 1849 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1849 AND product_id = 54 ## Job Group Found: '505' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('505') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 1509 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-22 20:15:16') AND us2_order_type_id = 3 ## Order found: 1831 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1831 AND product_id = 2147 ## Job Group Found: '562' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('562') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408002') AND customer_id = 3503 ## Mailing found: '13414' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31003416, Consumer Id: 2169156, Address Id: 9737744 => Updated with Vin: 4T1BE46K87U141519 ## Mail History Id: 31003418, Consumer Id: 2174878, Address Id: 9722986 => Updated with Vin: JTEGF21A720056385 ## Mail History Id: 31003420, Consumer Id: 2176916, Address Id: 9725673 => Updated with Vin: JTDAT123530267339 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1510 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-22 20:15:36') AND us2_order_type_id = 3 ## Order found: 1831 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1831 AND product_id = 2153 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3503 ## Mailing found: '13380' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998475, Consumer Id: 2173199, Address Id: 9720930 => Updated with Vin: JT3HN86R929074092 ## Mail History Id: 30998571, Consumer Id: 2168719, Address Id: 9726320 => Updated with Vin: JTEGH20VX30115705 ## Mail History Id: 30998638, Consumer Id: 2158501, Address Id: 9720240 => Updated with Vin: 2T1BR32E93C150269 ## Mail History Id: 30998459, Consumer Id: 2175019, Address Id: 9723096 => Updated with Vin: 4T1BG22K81U817155 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1511 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-22 20:15:48') AND us2_order_type_id = 3 ## Order found: 1831 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1831 AND product_id = 2152 ## Job Group Found: '566' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('566') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408006') AND customer_id = 3503 ## Mailing found: '13368' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1512 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-22 20:16:01') AND us2_order_type_id = 3 ## Order found: 1831 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1831 AND product_id = 2150 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3503 ## Mailing found: '13402,13913' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1513 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 565 AND DATE(cart_created_date) = DATE('2008-08-22 21:04:35') AND us2_order_type_id = 3 ## Order found: 1849 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1849 AND product_id = 54 ## Job Group Found: '505' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('505') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 1514 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-23 07:15:39') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 1515 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-23 08:15:27') AND us2_order_type_id = 3 ## Order found: 1869 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1869 AND product_id = 55 ## Job Group Found: '508' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('508') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508002') AND customer_id = 3230 ## Mailing found: '13122' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1516 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-23 08:45:37') AND us2_order_type_id = 3 ## Order found: 1869 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1869 AND product_id = 113 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3230 ## Mailing found: '13102' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30374042, Consumer Id: 93536, Address Id: 52034 => Updated with Vin: 1FAHP35N78W158645 ## Mail History Id: 30374048, Consumer Id: 103828, Address Id: 53118 => Updated with Vin: 1G2WP52KX1F151674 ## Mail History Id: 30374046, Consumer Id: 103825, Address Id: 53864 => Updated with Vin: 1FTPX12555FA91697 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1517 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-23 08:45:40') AND us2_order_type_id = 3 ## Order found: 1869 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1869 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3230 ## Mailing found: '13125' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372178, Consumer Id: 103192, Address Id: 52698 => Updated with Vin: 1B3HD46T2RF331786 ## Mail History Id: 30372148, Consumer Id: 663077, Address Id: 11782678 => Updated with Vin: 1FTRX18L9WKA76286 ## Mail History Id: 30372092, Consumer Id: 63850, Address Id: 47773 => Updated with Vin: 1FTSW31F63EA25956 ## Mail History Id: 30372242, Consumer Id: 66084, Address Id: 48397 => Updated with Vin: 1FTNW20F23EA18799 ## Mail History Id: 30372894, Consumer Id: 38549, Address Id: 50609 => Updated with Vin: 1FTPX14V87FA96960 ## Mail History Id: 30372890, Consumer Id: 63494, Address Id: 47753 => Updated with Vin: 2FMZA51442BA20090 ## Mail History Id: 30372220, Consumer Id: 294637, Address Id: 53080 => Updated with Vin: 1FTRW07692KA95794 ## Mail History Id: 30372198, Consumer Id: 66240, Address Id: 49185 => Updated with Vin: 1FTNX20F2XEB61030 ## Mail History Id: 30372078, Consumer Id: 671360, Address Id: 11796310 => Updated with Vin: 1FAHP35NX8W220880 ## Mail History Id: 30372018, Consumer Id: 102844, Address Id: 53395 => Updated with Vin: 1G1ZT54855F201126 ## Mail History Id: 30372052, Consumer Id: 102681, Address Id: 52221 => Updated with Vin: 1FAFP53U14G141275 ## Mail History Id: 30372166, Consumer Id: 671359, Address Id: 11796309 => Updated with Vin: 1FAFP53U14G141275 ## Mail History Id: 30372152, Consumer Id: 65734, Address Id: 49764 => Updated with Vin: 1FTPX14505FA58250 ## Mail History Id: 30372130, Consumer Id: 663076, Address Id: 52611 => Updated with Vin: 1FTNW21F31EA41374 ## Mail History Id: 30372052, Consumer Id: 671358, Address Id: 52221 => Updated with Vin: 1FAHP24W98G147936 ## Mail History Id: 30372176, Consumer Id: 65766, Address Id: 50730 => Updated with Vin: 1FTYR10D64PA49671 ## Mail History Id: 30372212, Consumer Id: 663079, Address Id: 11782680 => Updated with Vin: 1FAFP53U96A205326 ## Mail History Id: 30372072, Consumer Id: 93570, Address Id: 52073 => Updated with Vin: 1FMCU94118KB99645 ## Mail History Id: 30372202, Consumer Id: 63399, Address Id: 47739 => Updated with Vin: 1FAFP55S31G131404 ## Mail History Id: 30372232, Consumer Id: 65595, Address Id: 49775 => Updated with Vin: 1FTSW21P06EA66560 ## Mail History Id: 30372120, Consumer Id: 663078, Address Id: 11782679 => Updated with Vin: 2G1WX15K829385704 ## Mail History Id: 30372104, Consumer Id: 67025, Address Id: 50578 => Updated with Vin: 1FMYU93166KC03547 ## Mail History Id: 30372108, Consumer Id: 63021, Address Id: 48271 => Updated with Vin: 1FAFP3437YW106830 ## Mail History Id: 30372156, Consumer Id: 663081, Address Id: 11782682 => Updated with Vin: 1FTSX30FXYEC69129 ## Mail History Id: 30372144, Consumer Id: 65714, Address Id: 52297 => Updated with Vin: 2FMZA5146YBC03399 ## Mail History Id: 30372118, Consumer Id: 663080, Address Id: 11782681 => Updated with Vin: 1LNLM82W0SY669449 ## Mail History Id: 30372128, Consumer Id: 64872, Address Id: 52755 => Updated with Vin: 2MEFM74W54X684197 ## Mail History Id: 30372086, Consumer Id: 65074, Address Id: 47746 => Updated with Vin: 1FAFP34391W181468 ## Mail History Id: 30372150, Consumer Id: 64918, Address Id: 48050 => Updated with Vin: 1FTNW21F22EA09002 ## Mail History Id: 30372184, Consumer Id: 671356, Address Id: 49424 => Updated with Vin: 2FMDK38C38BB06802 ## Mail History Id: 30372060, Consumer Id: 727005, Address Id: 51285 => Updated with Vin: 2FMDK39C48BA46723 ## Mail History Id: 30372054, Consumer Id: 102044, Address Id: 49999 => Updated with Vin: 1FTHF36F5VEB90385 ## Mail History Id: 30372230, Consumer Id: 38299, Address Id: 48851 => Updated with Vin: 1FMZU73W65ZA11880 ## Mail History Id: 30372070, Consumer Id: 92262, Address Id: 50034 => Updated with Vin: 1FAFP34NX6W125001 ## Mail History Id: 30372058, Consumer Id: 66617, Address Id: 51537 => Updated with Vin: 1FTPW14504KD61019 ## Mail History Id: 30372068, Consumer Id: 92979, Address Id: 51402 => Updated with Vin: 3FAHP07Z17R233324 ## Mail History Id: 30372116, Consumer Id: 67752, Address Id: 50927 => Updated with Vin: 1FMZK06186GA34152 ## Mail History Id: 30371990, Consumer Id: 871871, Address Id: 47486 => Updated with Vin: 1FTWW31R68ED31297 ## Total mail_history records updated with vin numbers: 38 out of 43 ============================================================ ====== Tracking Id: 1518 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-23 09:18:34') AND us2_order_type_id = 3 ## Order found: 1870 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1870 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3470 ## Mailing found: '13106' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373894, Consumer Id: 575095, Address Id: 7464690 => Updated with Vin: 1J4GX58N72C282575 ## Mail History Id: 30373838, Consumer Id: 562704, Address Id: 4116138 => Updated with Vin: 1J4GS48K15C633869 ## Mail History Id: 30373944, Consumer Id: 557503, Address Id: 10693780 => Updated with Vin: 2C8GP44R44R585167 ## Mail History Id: 30373982, Consumer Id: 558471, Address Id: 6511643 => Updated with Vin: 3C4FY58B24T256591 ## Mail History Id: 30373896, Consumer Id: 560348, Address Id: 10678593 => Updated with Vin: 1J4FA49S44P795709 ## Mail History Id: 30374038, Consumer Id: 560613, Address Id: 7030474 => Updated with Vin: 1D7HA18N24J264154 ## Mail History Id: 30373860, Consumer Id: 560577, Address Id: 10697939 => Updated with Vin: 1J4GK58K25W587375 ## Mail History Id: 30374000, Consumer Id: 573940, Address Id: 10720677 => Updated with Vin: 1J4GL38K54W302040 ## Mail History Id: 30374024, Consumer Id: 579089, Address Id: 7355210 => Updated with Vin: 1J4G258S1XC561273 ## Mail History Id: 30373864, Consumer Id: 759542, Address Id: 4890802 => Updated with Vin: 1J8HS48N38C160185 ## Mail History Id: 30374006, Consumer Id: 569686, Address Id: 4104111 => Updated with Vin: 1D8GT58KX7W639374 ## Mail History Id: 30373956, Consumer Id: 573523, Address Id: 4906196 => Updated with Vin: 3D7MA48C13G798230 ## Mail History Id: 30373988, Consumer Id: 571341, Address Id: 7158018 => Updated with Vin: 1J8GK48K47W686985 ## Mail History Id: 30373984, Consumer Id: 571763, Address Id: 10695871 => Updated with Vin: 1B3AS66SX5D106354 ## Mail History Id: 30373992, Consumer Id: 573207, Address Id: 10719506 => Updated with Vin: 2A8GM68X38R638910 ## Mail History Id: 30373840, Consumer Id: 573590, Address Id: 2458725 => Updated with Vin: 1C3EL55U21N711598 ## Mail History Id: 30373882, Consumer Id: 759951, Address Id: 1167398 => Updated with Vin: 2C3KA53G26H143360 ## Mail History Id: 30373904, Consumer Id: 702791, Address Id: 1544424 => Updated with Vin: 3D4GG67V49T170749 ## Mail History Id: 30373946, Consumer Id: 873121, Address Id: 11913143 => Updated with Vin: 3A8FY68886T293912 ## Total mail_history records updated with vin numbers: 19 out of 19 ============================================================ ====== Tracking Id: 1519 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-23 09:19:03') AND us2_order_type_id = 3 ## Order found: 1871 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1871 AND product_id = 142 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3768 ## Mailing found: '13136' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372304, Consumer Id: 1109426, Address Id: 2777801 => Updated with Vin: 1GYEK63N76R106180 ## Total mail_history records updated with vin numbers: 1 out of 4 ============================================================ ====== Tracking Id: 1520 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-23 10:18:58') AND us2_order_type_id = 3 ## Order found: 1870 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1870 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3470 ## Mailing found: '13130' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372581, Consumer Id: 573460, Address Id: 10686449 => Updated with Vin: 1J4GX58S84C183398 ## Mail History Id: 30373163, Consumer Id: 577457, Address Id: 10726668 => Updated with Vin: 2G4WB52M0T1471104 ## Mail History Id: 30372465, Consumer Id: 573403, Address Id: 7466623 => Updated with Vin: 1J4GB391X8L603824 ## Mail History Id: 30372799, Consumer Id: 564356, Address Id: 3404349 => Updated with Vin: 1J8HG58246C143759 ## Mail History Id: 30371842, Consumer Id: 912125, Address Id: 4909847 => Updated with Vin: 1J4GA39188L592602 ## Mail History Id: 30373001, Consumer Id: 577001, Address Id: 10695500 => Updated with Vin: 1B4GP24352B599718 ## Mail History Id: 30372623, Consumer Id: 572915, Address Id: 10701304 => Updated with Vin: 1J8GS48K88C105748 ## Mail History Id: 30372361, Consumer Id: 569464, Address Id: 10716487 => Updated with Vin: 1B3HB48B37D582223 ## Mail History Id: 30373093, Consumer Id: 573438, Address Id: 8911898 => Updated with Vin: 2D8GV58265H160889 ## Mail History Id: 30373091, Consumer Id: 570069, Address Id: 10171163 => Updated with Vin: 1D8HD48P47F545465 ## Mail History Id: 30372526, Consumer Id: 581599, Address Id: 2790671 => Updated with Vin: 1N4AL11E96C141772 ## Mail History Id: 30372159, Consumer Id: 571724, Address Id: 10717926 => Updated with Vin: 1B3HB48B87D408244 ## Mail History Id: 30372061, Consumer Id: 582594, Address Id: 2036874 => Updated with Vin: 2A8GM68X77R163177 ## Mail History Id: 30371850, Consumer Id: 572468, Address Id: 7353842 => Updated with Vin: 1J8GA59108L507083 ## Mail History Id: 30373661, Consumer Id: 571922, Address Id: 1553099 => Updated with Vin: 1C3LC45K18N104862 ## Mail History Id: 30372279, Consumer Id: 571905, Address Id: 10718947 => Updated with Vin: 2A8HR54P58R134266 ## Mail History Id: 30372578, Consumer Id: 572410, Address Id: 10719116 => Updated with Vin: 2C3KA43R68H146938 ## Mail History Id: 30372522, Consumer Id: 573484, Address Id: 1956941 => Updated with Vin: 2B3KA43G97H610637 ## Mail History Id: 30371963, Consumer Id: 572948, Address Id: 2333166 => Updated with Vin: 2A8HR54P58R682090 ## Mail History Id: 30372329, Consumer Id: 573319, Address Id: 10719557 => Updated with Vin: 3C4FY58B25T521303 ## Mail History Id: 30373031, Consumer Id: 938976, Address Id: 10695742 => Updated with Vin: 2A8HR54P08R736346 ## Mail History Id: 30371836, Consumer Id: 573395, Address Id: 10719661 => Updated with Vin: 1J4GB39188L513670 ## Mail History Id: 30372567, Consumer Id: 573407, Address Id: 10719668 => Updated with Vin: 1C3LC65M68N147669 ## Mail History Id: 30372843, Consumer Id: 959291, Address Id: 11769991 => Updated with Vin: 2C4GP443X2R552619 ## Mail History Id: 30372395, Consumer Id: 872223, Address Id: 11912483 => Updated with Vin: 1B3JB28B07D506545 ## Mail History Id: 30371873, Consumer Id: 957748, Address Id: 11966602 => Updated with Vin: 1C3LC56K27N566530 ## Mail History Id: 30372636, Consumer Id: 572659, Address Id: 10718137 => Updated with Vin: 1D7HA18247S211749 ## Total mail_history records updated with vin numbers: 27 out of 32 ============================================================ ====== Tracking Id: 1521 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-23 10:19:13') AND us2_order_type_id = 3 ## Order found: 1872 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1872 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3416 ## Mailing found: '13127' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30371986, Consumer Id: 625800, Address Id: 11766137 => Updated with Vin: 1G2NW52E33M500505 ## Mail History Id: 30371972, Consumer Id: 957768, Address Id: 1962211 => Updated with Vin: 1G6KD54YX3U246922 ## Mail History Id: 30371952, Consumer Id: 627211, Address Id: 11764762 => Updated with Vin: 1G6KF52Y2RU278348 ## Mail History Id: 30372016, Consumer Id: 688799, Address Id: 11796988 => Updated with Vin: 1G6KD54Y85U108685 ## Mail History Id: 30371938, Consumer Id: 683129, Address Id: 1966430 => Updated with Vin: 1G6EL12Y02B102530 ## Mail History Id: 30372010, Consumer Id: 628686, Address Id: 1969801 => Updated with Vin: 1G6KS54Y54U110608 ## Mail History Id: 30371970, Consumer Id: 690188, Address Id: 1962181 => Updated with Vin: 1GYEK63N26R144223 ## Mail History Id: 30371950, Consumer Id: 625429, Address Id: 3747569 => Updated with Vin: 5GTDN13E578242447 ## Mail History Id: 30371978, Consumer Id: 625895, Address Id: 11766178 => Updated with Vin: 1GYFK63868R161141 ## Mail History Id: 30372026, Consumer Id: 690755, Address Id: 11797717 => Updated with Vin: 1G6DW677760185150 ## Total mail_history records updated with vin numbers: 10 out of 18 ============================================================ ====== Tracking Id: 1522 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-23 10:19:54') AND us2_order_type_id = 3 ## Order found: 1873 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1873 AND product_id = 2152 ## Job Group Found: '549' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('549') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508004') AND customer_id = 3418 ## Mailing found: '13259' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1523 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-23 10:22:13') AND us2_order_type_id = 3 ## Order found: 1874 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1874 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3795 ## Mailing found: '13407' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992760, Consumer Id: 1068988, Address Id: 14956613 => Updated with Vin: JH4DC530X3C000395 ## Mail History Id: 30992554, Consumer Id: 1058173, Address Id: 6075591 => Updated with Vin: 1HGCM56367A041691 ## Mail History Id: 30992518, Consumer Id: 1058911, Address Id: 14955201 => Updated with Vin: 5FNRL38297B062949 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1524 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-23 10:22:44') AND us2_order_type_id = 3 ## Order found: 1875 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1875 AND product_id = 142 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3697 ## Mailing found: '13133' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372300, Consumer Id: 1044971, Address Id: 2776902 => Updated with Vin: 1G6KD57Y77U228072 ## Mail History Id: 30372370, Consumer Id: 1052062, Address Id: 1079099 => Updated with Vin: 3GYFK62827G263200 ## Mail History Id: 30372352, Consumer Id: 1041858, Address Id: 14952172 => Updated with Vin: 1G6KF5794YU234531 ## Mail History Id: 30372292, Consumer Id: 1042481, Address Id: 2774650 => Updated with Vin: 1G6KF57951U159506 ## Mail History Id: 30372346, Consumer Id: 1044542, Address Id: 14952856 => Updated with Vin: 3GYEK62N64G113247 ## Total mail_history records updated with vin numbers: 5 out of 8 ============================================================ ====== Tracking Id: 1525 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-23 10:24:59') AND us2_order_type_id = 3 ## Order found: 1876 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1876 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3815 ## Mailing found: '13138' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372438, Consumer Id: 1372040, Address Id: 15634778 => Updated with Vin: 5J6RE38338L002838 ## Mail History Id: 30372428, Consumer Id: 1366907, Address Id: 15639683 => Updated with Vin: 5FNRL38627B106678 ## Mail History Id: 30372392, Consumer Id: 1371417, Address Id: 15639445 => Updated with Vin: SHSRD78822U001288 ## Mail History Id: 30372462, Consumer Id: 1366578, Address Id: 15638839 => Updated with Vin: JHMAP21427S000365 ## Mail History Id: 30372396, Consumer Id: 1361441, Address Id: 15633636 => Updated with Vin: 1HGCM82615A012324 ## Mail History Id: 30372466, Consumer Id: 1361175, Address Id: 15633443 => Updated with Vin: 2HKRL18672H538147 ## Mail History Id: 30372278, Consumer Id: 1567206, Address Id: 16007296 => Updated with Vin: 2HGFA16526H514390 ## Mail History Id: 30372464, Consumer Id: 1366808, Address Id: 15639625 => Updated with Vin: 5J6RE48518L001324 ## Mail History Id: 30372448, Consumer Id: 1372036, Address Id: 15668804 => Updated with Vin: JHMGD38638S036289 ## Total mail_history records updated with vin numbers: 9 out of 14 ============================================================ ====== Tracking Id: 1526 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-23 10:45:07') AND us2_order_type_id = 3 ## Order found: 1869 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1869 AND product_id = 140 ## Job Group Found: '549' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('549') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508004') AND customer_id = 3230 ## Mailing found: '13258' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1527 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-23 10:45:41') AND us2_order_type_id = 3 ## Order found: 1877 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1877 AND product_id = 140 ## Job Group Found: '549' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('549') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508004') AND customer_id = 3808 ## Mailing found: '13260' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1528 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-23 11:15:26') AND us2_order_type_id = 3 ## Order found: 1878 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1878 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3486 ## Mailing found: '13108' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1529 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-23 11:16:49') AND us2_order_type_id = 3 ## Order found: 1879 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1879 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3491 ## Mailing found: '13132' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373102, Consumer Id: 808954, Address Id: 11874885 => Updated with Vin: 1G1ZS51F06F106495 ## Mail History Id: 30373116, Consumer Id: 809275, Address Id: 11883765 => Updated with Vin: 3GNDA13DX6S568610 ## Mail History Id: 30373066, Consumer Id: 813261, Address Id: 11887962 => Updated with Vin: 1GNDS13S962306133 ## Mail History Id: 30373068, Consumer Id: 813664, Address Id: 11888211 => Updated with Vin: 2GCEC19V941201441 ## Mail History Id: 30373082, Consumer Id: 814072, Address Id: 11888777 => Updated with Vin: 3GNEC16R2XG194777 ## Mail History Id: 30373100, Consumer Id: 838892, Address Id: 11890456 => Updated with Vin: 2G1WB58K879393925 ## Mail History Id: 30373048, Consumer Id: 814777, Address Id: 11874499 => Updated with Vin: 2CNDL13F986011558 ## Mail History Id: 30373150, Consumer Id: 839699, Address Id: 11895404 => Updated with Vin: 1G1AK15F367770140 ## Mail History Id: 30373134, Consumer Id: 839814, Address Id: 11895468 => Updated with Vin: 1GCHK29124E210063 ## Mail History Id: 30373096, Consumer Id: 815870, Address Id: 11888783 => Updated with Vin: 2FTRX18WX3CA56851 ## Mail History Id: 30373030, Consumer Id: 816034, Address Id: 11891225 => Updated with Vin: 1G1ND52J216238713 ## Mail History Id: 30373028, Consumer Id: 816134, Address Id: 1294497 => Updated with Vin: 1G2NW12E1XM932329 ## Mail History Id: 30373148, Consumer Id: 958845, Address Id: 12122177 => Updated with Vin: 1GNDM19Z6RB165542 ## Mail History Id: 30373144, Consumer Id: 1006879, Address Id: 14929623 => Updated with Vin: 1G1AL18F687285020 ## Mail History Id: 30373040, Consumer Id: 957597, Address Id: 11966659 => Updated with Vin: 1D7HA18D25S116010 ## Mail History Id: 30373078, Consumer Id: 957598, Address Id: 11890142 => Updated with Vin: 1GCEC14X28Z191602 ## Mail History Id: 30373136, Consumer Id: 833014, Address Id: 11891316 => Updated with Vin: 1GCEC14V85Z131074 ## Mail History Id: 30373072, Consumer Id: 833913, Address Id: 11891906 => Updated with Vin: 1GNEC13T25R199152 ## Mail History Id: 30373074, Consumer Id: 811712, Address Id: 11875441 => Updated with Vin: 2GCEC19V031197276 ## Mail History Id: 30373032, Consumer Id: 834929, Address Id: 11892576 => Updated with Vin: 1GCEC14V43Z300374 ## Mail History Id: 30373164, Consumer Id: 838848, Address Id: 11894952 => Updated with Vin: 3GCEC13097G522467 ## Total mail_history records updated with vin numbers: 21 out of 29 ============================================================ ====== Tracking Id: 1530 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-23 11:17:04') AND us2_order_type_id = 3 ## Order found: 1879 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1879 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3491 ## Mailing found: '13109' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373779, Consumer Id: 839841, Address Id: 11882771 => Updated with Vin: 3GCEC13J38G143149 ## Mail History Id: 30373793, Consumer Id: 813672, Address Id: 11888218 => Updated with Vin: 1G1ZS58F27F254560 ## Mail History Id: 30373785, Consumer Id: 833149, Address Id: 11891396 => Updated with Vin: 1GCCS198058180482 ## Mail History Id: 30373803, Consumer Id: 830093, Address Id: 11886503 => Updated with Vin: 1GBEG25K9RF102676 ## Mail History Id: 30373851, Consumer Id: 829512, Address Id: 11851190 => Updated with Vin: 2G1WL52M9W9155801 ## Mail History Id: 30373855, Consumer Id: 835337, Address Id: 11879100 => Updated with Vin: 2CNDL73F056011382 ## Mail History Id: 30373777, Consumer Id: 828993, Address Id: 11884075 => Updated with Vin: 1GNDS13S832384351 ## Mail History Id: 30373857, Consumer Id: 828948, Address Id: 11884044 => Updated with Vin: 2G1WH55KX29263902 ## Total mail_history records updated with vin numbers: 8 out of 9 ============================================================ ====== Tracking Id: 1531 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-23 11:17:15') AND us2_order_type_id = 3 ## Order found: 1879 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1879 AND product_id = 114 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3491 ## Mailing found: '13109' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373783, Consumer Id: 809741, Address Id: 11875125 => Updated with Vin: 2GCEC19T341128565 ## Mail History Id: 30373771, Consumer Id: 811847, Address Id: 11875997 => Updated with Vin: 1GNDV23L36D106231 ## Mail History Id: 30373815, Consumer Id: 839115, Address Id: 11895106 => Updated with Vin: 4A3AC54H02E095896 ## Mail History Id: 30373867, Consumer Id: 814619, Address Id: 11889146 => Updated with Vin: KL1TD666X7B771541 ## Mail History Id: 30374132, Consumer Id: 814731, Address Id: 11875390 => Updated with Vin: 3GCEC13J57G528209 ## Mail History Id: 30373841, Consumer Id: 831798, Address Id: 11889895 => Updated with Vin: 1G1JC12F957149565 ## Mail History Id: 30373825, Consumer Id: 808239, Address Id: 11882750 => Updated with Vin: 1GKDS13S032168149 ## Total mail_history records updated with vin numbers: 7 out of 9 ============================================================ ====== Tracking Id: 1532 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-23 11:17:27') AND us2_order_type_id = 3 ## Order found: 1879 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1879 AND product_id = 113 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3491 ## Mailing found: '13109' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373769, Consumer Id: 838158, Address Id: 11894592 => Updated with Vin: 2CNDL63F266130126 ## Mail History Id: 30373823, Consumer Id: 814558, Address Id: 11889105 => Updated with Vin: 2G1WW12E649155213 ## Mail History Id: 30373807, Consumer Id: 834938, Address Id: 11879176 => Updated with Vin: 1GBGG29U551113959 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1533 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-23 11:18:33') AND us2_order_type_id = 3 ## Order found: 1880 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1880 AND product_id = 144 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3705 ## Mailing found: '13134' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373226, Consumer Id: 961493, Address Id: 14834584 => Updated with Vin: 5Y2SL63875Z449604 ## Mail History Id: 30373374, Consumer Id: 966911, Address Id: 14838839 => Updated with Vin: 1G1ZT51816F128634 ## Mail History Id: 30373294, Consumer Id: 968070, Address Id: 14839710 => Updated with Vin: 1GCCS1453Y8228655 ## Mail History Id: 30373284, Consumer Id: 969317, Address Id: 14840588 => Updated with Vin: 1GTEK19Y97Z592583 ## Mail History Id: 30373208, Consumer Id: 968924, Address Id: 14840313 => Updated with Vin: 3GNDA23DX7S601872 ## Mail History Id: 30373322, Consumer Id: 973064, Address Id: 14841241 => Updated with Vin: 1GKEC13J77R141424 ## Mail History Id: 30373190, Consumer Id: 969725, Address Id: 14840918 => Updated with Vin: 3GNEC12067G312160 ## Mail History Id: 30373210, Consumer Id: 980991, Address Id: 14841282 => Updated with Vin: 1GCGC33J6YF411519 ## Mail History Id: 30373256, Consumer Id: 970636, Address Id: 1803047 => Updated with Vin: 1G1AL55F777287739 ## Mail History Id: 30373218, Consumer Id: 971725, Address Id: 14842359 => Updated with Vin: 1GCEC19X56Z181166 ## Mail History Id: 30373240, Consumer Id: 972920, Address Id: 14843242 => Updated with Vin: 1G6DP567950105886 ## Mail History Id: 30373192, Consumer Id: 973067, Address Id: 14843333 => Updated with Vin: 2G1WD58C789160834 ## Mail History Id: 30373266, Consumer Id: 973932, Address Id: 14903198 => Updated with Vin: 1GKFK63888J152059 ## Mail History Id: 30373214, Consumer Id: 973654, Address Id: 9158799 => Updated with Vin: 2GCEC19V2Y1111473 ## Mail History Id: 30373188, Consumer Id: 979660, Address Id: 14846222 => Updated with Vin: 1GKEC13T75R158450 ## Mail History Id: 30373368, Consumer Id: 979905, Address Id: 14846360 => Updated with Vin: 2G1WH55K919162204 ## Mail History Id: 30373244, Consumer Id: 980347, Address Id: 14846609 => Updated with Vin: 1GKFC13J47J122428 ## Mail History Id: 30373222, Consumer Id: 980317, Address Id: 14846602 => Updated with Vin: 1G8ZS57N07F185409 ## Total mail_history records updated with vin numbers: 18 out of 25 ============================================================ ====== Tracking Id: 1534 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-23 11:18:53') AND us2_order_type_id = 3 ## Order found: 1880 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1880 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3705 ## Mailing found: '13110' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373883, Consumer Id: 972185, Address Id: 14842681 => Updated with Vin: 2GCEC13C281116874 ## Mail History Id: 30373887, Consumer Id: 972190, Address Id: 14842686 => Updated with Vin: 2GTEC19T311372891 ## Mail History Id: 30373881, Consumer Id: 972196, Address Id: 14842689 => Updated with Vin: 1G1ZT68N17F128118 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1535 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-23 11:19:36') AND us2_order_type_id = 3 ## Order found: 1877 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1877 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3808 ## Mailing found: '13137' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372960, Consumer Id: 1172319, Address Id: 15030374 => Updated with Vin: 1GCGC13U16F119384 ## Mail History Id: 30373012, Consumer Id: 1172285, Address Id: 15030347 => Updated with Vin: 1GNEK13ZX3J163535 ## Mail History Id: 30373020, Consumer Id: 1170794, Address Id: 15029039 => Updated with Vin: 1J4GW58N34C120688 ## Mail History Id: 30372978, Consumer Id: 1172288, Address Id: 15029135 => Updated with Vin: 3GNEC16R1VG154056 ## Mail History Id: 30372980, Consumer Id: 1172299, Address Id: 15030359 => Updated with Vin: 2GCEC19T241325050 ## Mail History Id: 30373018, Consumer Id: 1172313, Address Id: 15030370 => Updated with Vin: 1GCEK19T9YE431647 ## Mail History Id: 30372988, Consumer Id: 1171404, Address Id: 15029594 => Updated with Vin: 1G1ZS58F27F168679 ## Mail History Id: 30372996, Consumer Id: 1172278, Address Id: 15030340 => Updated with Vin: 1GNDU03E63D273249 ## Mail History Id: 30372970, Consumer Id: 1171103, Address Id: 15029323 => Updated with Vin: 2GCEC13T441404549 ## Total mail_history records updated with vin numbers: 9 out of 13 ============================================================ ====== Tracking Id: 1536 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-23 11:19:40') AND us2_order_type_id = 3 ## Order found: 1877 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1877 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3808 ## Mailing found: '13111' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30374096, Consumer Id: 1171070, Address Id: 15029293 => Updated with Vin: 2C1MR529XV6704363 ## Mail History Id: 30374084, Consumer Id: 1171082, Address Id: 15029303 => Updated with Vin: 3GNEK13T43G242244 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1537 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-23 11:19:49') AND us2_order_type_id = 3 ## Order found: 1881 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1881 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3721 ## Mailing found: '13135' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372830, Consumer Id: 1009658, Address Id: 6661039 => Updated with Vin: 1YVHP84C075M33021 ## Total mail_history records updated with vin numbers: 1 out of 4 ============================================================ ====== Tracking Id: 1538 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-23 11:19:52') AND us2_order_type_id = 3 ## Order found: 1877 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1877 AND product_id = 114 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3808 ## Mailing found: '13111' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30374078, Consumer Id: 1270370, Address Id: 15451128 => Updated with Vin: 2G1FP22G712140048 ## Mail History Id: 30374100, Consumer Id: 1273610, Address Id: 15453864 => Updated with Vin: 2G1WF52E939373412 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1539 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-23 11:20:04') AND us2_order_type_id = 3 ## Order found: 1877 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1877 AND product_id = 113 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3808 ## Mailing found: '13111' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1540 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-23 11:45:16') AND us2_order_type_id = 3 ## Order found: 1882 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1882 AND product_id = 142 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3357 ## Mailing found: '13126' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373704, Consumer Id: 188367, Address Id: 398656 => Updated with Vin: 1ZVFT84N255174262 ## Mail History Id: 30373702, Consumer Id: 959086, Address Id: 877814 => Updated with Vin: 1FAFP33P01W180553 ## Mail History Id: 30373680, Consumer Id: 187818, Address Id: 398313 => Updated with Vin: 1FTRX17L72NB12681 ## Mail History Id: 30373728, Consumer Id: 192417, Address Id: 402198 => Updated with Vin: 1FTNW20S43EB41291 ## Mail History Id: 30373730, Consumer Id: 190558, Address Id: 400444 => Updated with Vin: 1FAFP55293G218677 ## Mail History Id: 30373750, Consumer Id: 959073, Address Id: 904252 => Updated with Vin: 1FDXE45S73HA61669 ## Mail History Id: 30373696, Consumer Id: 190340, Address Id: 399114 => Updated with Vin: JM1FE173440139264 ## Mail History Id: 30373724, Consumer Id: 959084, Address Id: 407637 => Updated with Vin: 1FMDU64W94ZB05477 ## Mail History Id: 30373724, Consumer Id: 959084, Address Id: 407637 => Updated with Vin: 1FMDU64W94ZB05477 ## Mail History Id: 30373720, Consumer Id: 959080, Address Id: 12764426 => Updated with Vin: 1HGCM561X5A118882 ## Mail History Id: 30373676, Consumer Id: 197448, Address Id: 407181 => Updated with Vin: JM1CR29L460127984 ## Mail History Id: 30373678, Consumer Id: 155812, Address Id: 397845 => Updated with Vin: JM1FE173680214567 ## Total mail_history records updated with vin numbers: 12 out of 13 ============================================================ ====== Tracking Id: 1541 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-23 11:45:22') AND us2_order_type_id = 3 ## Order found: 1882 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1882 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3357 ## Mailing found: '13103' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30374065, Consumer Id: 198423, Address Id: 398212 => Updated with Vin: 1FMYU03102KC73115 ## Mail History Id: 30374103, Consumer Id: 187297, Address Id: 396289 => Updated with Vin: 1FMFU18LX4LB16079 ## Mail History Id: 30374107, Consumer Id: 155682, Address Id: 397719 => Updated with Vin: 1FTPW12577FB50996 ## Total mail_history records updated with vin numbers: 3 out of 5 ============================================================ ====== Tracking Id: 1542 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-23 12:17:48') AND us2_order_type_id = 3 ## Order found: 1883 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1883 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3427 ## Mailing found: '13104' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373798, Consumer Id: 490997, Address Id: 9826952 => Updated with Vin: 1HGCD5639SA080509 ## Mail History Id: 30373784, Consumer Id: 501432, Address Id: 9836298 => Updated with Vin: 1HGCF86401A026955 ## Mail History Id: 30373768, Consumer Id: 500950, Address Id: 9830543 => Updated with Vin: 1HGCM66594A069360 ## Mail History Id: 30373778, Consumer Id: 499206, Address Id: 9829106 => Updated with Vin: SHSRD78854U223892 ## Mail History Id: 30373788, Consumer Id: 514848, Address Id: 9846251 => Updated with Vin: JHLRD68816C016422 ## Mail History Id: 30373796, Consumer Id: 472329, Address Id: 9833823 => Updated with Vin: SHSRD78536U422111 ## Mail History Id: 30373764, Consumer Id: 482800, Address Id: 8539429 => Updated with Vin: 1HGCP26878A021050 ## Mail History Id: 30373802, Consumer Id: 483617, Address Id: 9834137 => Updated with Vin: SHSRD78814U226255 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 1543 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-23 12:18:02') AND us2_order_type_id = 3 ## Order found: 1884 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1884 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3471 ## Mailing found: '13131' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373454, Consumer Id: 798050, Address Id: 7416968 => Updated with Vin: 1GHDX13E91D184255 ## Mail History Id: 30373432, Consumer Id: 801142, Address Id: 7416242 => Updated with Vin: 1GYEK63N02R322317 ## Mail History Id: 30373390, Consumer Id: 805337, Address Id: 7878353 => Updated with Vin: 1G6KD54YX1U181406 ## Mail History Id: 30373436, Consumer Id: 806000, Address Id: 10214146 => Updated with Vin: 1G6ET129XSU612798 ## Mail History Id: 30373512, Consumer Id: 817679, Address Id: 11876713 => Updated with Vin: 1G6KD54Y64U107744 ## Mail History Id: 30373478, Consumer Id: 759657, Address Id: 11850942 => Updated with Vin: 1G6DT57V280182760 ## Mail History Id: 30373472, Consumer Id: 822527, Address Id: 11876466 => Updated with Vin: 1GYFK63897R362076 ## Mail History Id: 30373480, Consumer Id: 760383, Address Id: 11851014 => Updated with Vin: 1GYFK63868R235142 ## Total mail_history records updated with vin numbers: 8 out of 13 ============================================================ ====== Tracking Id: 1544 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-23 12:18:12') AND us2_order_type_id = 3 ## Order found: 1884 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1884 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3471 ## Mailing found: '13107' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373905, Consumer Id: 798459, Address Id: 10214178 => Updated with Vin: 1G6KE52Y6VU212544 ## Mail History Id: 30373909, Consumer Id: 801327, Address Id: 10215526 => Updated with Vin: 1G3NL52T2XC313304 ## Mail History Id: 30373915, Consumer Id: 801440, Address Id: 10219091 => Updated with Vin: 1G6KE57Y83U150876 ## Mail History Id: 30373923, Consumer Id: 807850, Address Id: 11876757 => Updated with Vin: 1G6DC67A950139693 ## Mail History Id: 30373925, Consumer Id: 821011, Address Id: 11876956 => Updated with Vin: 1GYFK63827R160941 ## Mail History Id: 30373901, Consumer Id: 823135, Address Id: 10558882 => Updated with Vin: 1G6KD57Y57U114586 ## Mail History Id: 30373919, Consumer Id: 798816, Address Id: 11870043 => Updated with Vin: 1GYEK63N32R114450 ## Total mail_history records updated with vin numbers: 7 out of 9 ============================================================ ====== Tracking Id: 1545 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-23 12:18:16') AND us2_order_type_id = 3 ## Order found: 1885 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1885 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3451 ## Mailing found: '13129' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373580, Consumer Id: 616918, Address Id: 11758857 => Updated with Vin: 1G6EL12Y2WU615675 ## Mail History Id: 30373578, Consumer Id: 614130, Address Id: 11757146 => Updated with Vin: 1G6KD54Y02U153423 ## Mail History Id: 30373574, Consumer Id: 612657, Address Id: 836210 => Updated with Vin: 1G6KF579XYU254153 ## Mail History Id: 30373626, Consumer Id: 703244, Address Id: 11803555 => Updated with Vin: 1G6KD54Y6WU711698 ## Mail History Id: 30373590, Consumer Id: 617384, Address Id: 11759227 => Updated with Vin: 1G6CD53B7N4220847 ## Mail History Id: 30373540, Consumer Id: 614336, Address Id: 3908695 => Updated with Vin: 1G6KE54YXVU267303 ## Mail History Id: 30373522, Consumer Id: 614110, Address Id: 822568 => Updated with Vin: 1G6ET12921B103704 ## Mail History Id: 30373536, Consumer Id: 612448, Address Id: 824693 => Updated with Vin: 1G6KF549XXU735538 ## Mail History Id: 30373632, Consumer Id: 613863, Address Id: 11756997 => Updated with Vin: 1GYEC63TX3R308552 ## Mail History Id: 30373520, Consumer Id: 618943, Address Id: 11757859 => Updated with Vin: 1G6KD54Y63U257108 ## Mail History Id: 30373524, Consumer Id: 703243, Address Id: 11756282 => Updated with Vin: 1G6KE52Y3VU219094 ## Mail History Id: 30373650, Consumer Id: 616915, Address Id: 3246565 => Updated with Vin: 1G6DM57N230120698 ## Mail History Id: 30373530, Consumer Id: 611374, Address Id: 824654 => Updated with Vin: 1G6KD54Y33U110941 ## Mail History Id: 30373658, Consumer Id: 611417, Address Id: 11759155 => Updated with Vin: 1G6KD54Y75U259081 ## Mail History Id: 30373558, Consumer Id: 611712, Address Id: 7668948 => Updated with Vin: 1G6DP577660153295 ## Mail History Id: 30373630, Consumer Id: 619394, Address Id: 11760990 => Updated with Vin: 1GYFK63807R151350 ## Mail History Id: 30373660, Consumer Id: 703242, Address Id: 11803554 => Updated with Vin: 1G6DM57T960106655 ## Mail History Id: 30373544, Consumer Id: 686538, Address Id: 11803553 => Updated with Vin: 1G6KD54YX4U262572 ## Total mail_history records updated with vin numbers: 18 out of 29 ============================================================ ====== Tracking Id: 1546 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-23 14:15:19') AND us2_order_type_id = 3 ## Order found: 1885 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1885 AND product_id = 114 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3451 ## Mailing found: '13105' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373999, Consumer Id: 626739, Address Id: 3243853 => Updated with Vin: 1G6DM577640125194 ## Mail History Id: 30374005, Consumer Id: 627720, Address Id: 11760085 => Updated with Vin: 1G6DW677450205448 ## Mail History Id: 30374001, Consumer Id: 617497, Address Id: 3244823 => Updated with Vin: 1G6DM577840118389 ## Mail History Id: 30373977, Consumer Id: 611632, Address Id: 11759454 => Updated with Vin: 1G6DP577360208480 ## Mail History Id: 30373967, Consumer Id: 628021, Address Id: 11765383 => Updated with Vin: 1G6KD54Y3YU169463 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 1547 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-23 14:15:31') AND us2_order_type_id = 3 ## Order found: 1885 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1885 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3451 ## Mailing found: '13105' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373927, Consumer Id: 614654, Address Id: 1002149 => Updated with Vin: 1G6KD54Y43U110608 ## Mail History Id: 30373949, Consumer Id: 625077, Address Id: 11763630 => Updated with Vin: 3GYEK62N04G157700 ## Total mail_history records updated with vin numbers: 2 out of 4 ============================================================ ====== Tracking Id: 1548 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-24 07:15:46') AND us2_order_type_id = 3 ## Order found: 1918 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1918 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1549 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-24 08:15:39') AND us2_order_type_id = 3 ## Order found: 1902 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1902 AND product_id = 55 ## Job Group Found: '508' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('508') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508002') AND customer_id = 3230 ## Mailing found: '13122' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1550 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-24 08:45:35') AND us2_order_type_id = 3 ## Order found: 1902 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1902 AND product_id = 113 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3230 ## Mailing found: '13102' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30374072, Consumer Id: 62923, Address Id: 48525 => Updated with Vin: 1FMDU75EXYZA76055 ## Mail History Id: 30374070, Consumer Id: 92988, Address Id: 51410 => Updated with Vin: 2FMDK49C67BA60742 ## Mail History Id: 30374052, Consumer Id: 92365, Address Id: 50486 => Updated with Vin: 1FTPX14526FB19261 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1551 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-24 08:45:41') AND us2_order_type_id = 3 ## Order found: 1902 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1902 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3230 ## Mailing found: '13125' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372158, Consumer Id: 66944, Address Id: 50690 => Updated with Vin: 1FTWX31P36ED36899 ## Mail History Id: 30372100, Consumer Id: 64368, Address Id: 49004 => Updated with Vin: 1ZVFT80NX55117815 ## Mail History Id: 30372244, Consumer Id: 67769, Address Id: 50691 => Updated with Vin: 1FMEU73E46UA26964 ## Mail History Id: 30372888, Consumer Id: 63697, Address Id: 49182 => Updated with Vin: 1FTNX21F92EA33083 ## Mail History Id: 30372884, Consumer Id: 67359, Address Id: 50393 => Updated with Vin: 3FAFP07146R158232 ## Mail History Id: 30372886, Consumer Id: 727002, Address Id: 11830867 => Updated with Vin: 1FAHP35N28W144670 ## Mail History Id: 30372186, Consumer Id: 63016, Address Id: 51559 => Updated with Vin: 1FMSU45P94EC56166 ## Mail History Id: 30372224, Consumer Id: 727007, Address Id: 49760 => Updated with Vin: 1FAHP35N18W231573 ## Mail History Id: 30372222, Consumer Id: 101700, Address Id: 50287 => Updated with Vin: 1FMZU67E32UD39634 ## Mail History Id: 30372046, Consumer Id: 38589, Address Id: 51692 => Updated with Vin: 1G1ND52F35M159533 ## Mail History Id: 30372090, Consumer Id: 93125, Address Id: 51539 => Updated with Vin: 1FAHP34N97W302874 ## Mail History Id: 30372126, Consumer Id: 92932, Address Id: 49785 => Updated with Vin: 1FTPX12V97FA34986 ## Mail History Id: 30372140, Consumer Id: 102841, Address Id: 53394 => Updated with Vin: 2MEHM75VX6X637412 ## Mail History Id: 30372102, Consumer Id: 65047, Address Id: 49044 => Updated with Vin: 2FMZA576X4BA63764 ## Mail History Id: 30372106, Consumer Id: 66250, Address Id: 49723 => Updated with Vin: 1FMZK02175GA05794 ## Mail History Id: 30372138, Consumer Id: 66819, Address Id: 47740 => Updated with Vin: 2FMZA5145XBC15705 ## Mail History Id: 30372042, Consumer Id: 93445, Address Id: 51889 => Updated with Vin: 1FAHP33N98W105643 ## Mail History Id: 30372062, Consumer Id: 727001, Address Id: 11830866 => Updated with Vin: 1FTYR14U48PA85665 ## Mail History Id: 30372056, Consumer Id: 66469, Address Id: 52855 => Updated with Vin: 1ZVFT82H555229994 ## Mail History Id: 30372044, Consumer Id: 727003, Address Id: 11830868 => Updated with Vin: 1FTRX14W58FB51366 ## Mail History Id: 30371968, Consumer Id: 727004, Address Id: 11830869 => Updated with Vin: 1FMCU03Z08KD50221 ## Mail History Id: 30372914, Consumer Id: 65517, Address Id: 50965 => Updated with Vin: 2FTRX18W43CA56151 ## Total mail_history records updated with vin numbers: 22 out of 33 ============================================================ ====== Tracking Id: 1552 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-24 09:18:26') AND us2_order_type_id = 3 ## Order found: 1903 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1903 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3470 ## Mailing found: '13106' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30374022, Consumer Id: 573624, Address Id: 10720139 => Updated with Vin: 1J4GS58N75C505703 ## Mail History Id: 30373942, Consumer Id: 575303, Address Id: 3405027 => Updated with Vin: 1J4G248S1YC131285 ## Mail History Id: 30373994, Consumer Id: 562791, Address Id: 10686604 => Updated with Vin: 2D4GP44L15R476974 ## Mail History Id: 30373876, Consumer Id: 574001, Address Id: 1165592 => Updated with Vin: 3C8FY4BB51T577702 ## Mail History Id: 30373886, Consumer Id: 557020, Address Id: 10692656 => Updated with Vin: 1J4FA29144P764178 ## Mail History Id: 30373850, Consumer Id: 558482, Address Id: 10694192 => Updated with Vin: 1C3AL46X04N292091 ## Mail History Id: 30373824, Consumer Id: 560236, Address Id: 10697690 => Updated with Vin: 2C3AA63H25H502568 ## Mail History Id: 30373830, Consumer Id: 564262, Address Id: 2054488 => Updated with Vin: 1J4GS48K65C526199 ## Mail History Id: 30373978, Consumer Id: 566751, Address Id: 10710596 => Updated with Vin: 3N1CB51D65L576162 ## Mail History Id: 30373948, Consumer Id: 579631, Address Id: 10735034 => Updated with Vin: 3A4FY48B36T275402 ## Mail History Id: 30373990, Consumer Id: 570373, Address Id: 10710720 => Updated with Vin: 1J8HR582X6C181605 ## Mail History Id: 30373902, Consumer Id: 570567, Address Id: 4899341 => Updated with Vin: 1B3LC46KX8N537849 ## Mail History Id: 30373976, Consumer Id: 580734, Address Id: 10738447 => Updated with Vin: 2C3LA63H36H135738 ## Mail History Id: 30373856, Consumer Id: 570829, Address Id: 2541160 => Updated with Vin: 2D4GP44L87R103692 ## Mail History Id: 30373996, Consumer Id: 570697, Address Id: 10717316 => Updated with Vin: 3A4FY58BX6T292056 ## Mail History Id: 30374004, Consumer Id: 571041, Address Id: 10717488 => Updated with Vin: 1B3ES66S04D553257 ## Mail History Id: 30373938, Consumer Id: 571017, Address Id: 10717475 => Updated with Vin: 1J8GS48K67C680638 ## Mail History Id: 30374032, Consumer Id: 571345, Address Id: 10717836 => Updated with Vin: 1B3HB48B57D408251 ## Mail History Id: 30373912, Consumer Id: 572546, Address Id: 1331077 => Updated with Vin: 1J8HH48PX7C613992 ## Mail History Id: 30373986, Consumer Id: 571776, Address Id: 1549501 => Updated with Vin: 2C3KA63HX7H786927 ## Mail History Id: 30373898, Consumer Id: 583031, Address Id: 10744632 => Updated with Vin: 4A3AA46G1YE071572 ## Mail History Id: 30373884, Consumer Id: 774290, Address Id: 1168258 => Updated with Vin: 2C3KA53G06H294164 ## Mail History Id: 30373862, Consumer Id: 774293, Address Id: 2961514 => Updated with Vin: 1D7HA18N52S684806 ## Mail History Id: 30373854, Consumer Id: 759548, Address Id: 2541048 => Updated with Vin: 2C3KA43R48H146940 ## Mail History Id: 30373916, Consumer Id: 759537, Address Id: 11850640 => Updated with Vin: 1J8GS48K38C109738 ## Mail History Id: 30373870, Consumer Id: 820349, Address Id: 3159518 => Updated with Vin: 1D7HA16K28J151092 ## Mail History Id: 30373914, Consumer Id: 871333, Address Id: 11911861 => Updated with Vin: 2G1WT55K789157107 ## Total mail_history records updated with vin numbers: 27 out of 30 ============================================================ ====== Tracking Id: 1553 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-24 09:18:58') AND us2_order_type_id = 3 ## Order found: 1904 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1904 AND product_id = 142 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3768 ## Mailing found: '13136' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372378, Consumer Id: 1109352, Address Id: 5992467 => Updated with Vin: 1G6KD57Y77U198894 ## Mail History Id: 30372376, Consumer Id: 1108112, Address Id: 8828297 => Updated with Vin: 1G6EL12Y52B100322 ## Mail History Id: 30372366, Consumer Id: 1107157, Address Id: 5987963 => Updated with Vin: 1G6DM57N030166319 ## Mail History Id: 30372318, Consumer Id: 1107214, Address Id: 3238829 => Updated with Vin: 1GYEE637440173751 ## Mail History Id: 30372358, Consumer Id: 1111028, Address Id: 5985818 => Updated with Vin: 3GYFK66N85G223846 ## Mail History Id: 30372374, Consumer Id: 1116818, Address Id: 8828273 => Updated with Vin: 5TDBT44A83S186379 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 1554 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-24 10:18:38') AND us2_order_type_id = 3 ## Order found: 1903 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1903 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3470 ## Mailing found: '13130' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373019, Consumer Id: 576426, Address Id: 10723783 => Updated with Vin: 1B7HL48X12S560488 ## Mail History Id: 30373019, Consumer Id: 576426, Address Id: 10723783 => Updated with Vin: 1B7HL48X12S560488 ## Mail History Id: 30373751, Consumer Id: 959778, Address Id: 4104074 => Updated with Vin: 2C4GP54L34R616556 ## Mail History Id: 30372377, Consumer Id: 557839, Address Id: 10695365 => Updated with Vin: 3C4FY48B64T330508 ## Mail History Id: 30372207, Consumer Id: 574655, Address Id: 10721312 => Updated with Vin: 1J8GW68J24C298416 ## Mail History Id: 30371863, Consumer Id: 573007, Address Id: 10686408 => Updated with Vin: 2A8GM48L77R329294 ## Mail History Id: 30372183, Consumer Id: 560599, Address Id: 10697960 => Updated with Vin: 1J4GS48K65C525747 ## Mail History Id: 30373457, Consumer Id: 575957, Address Id: 10723182 => Updated with Vin: WD2PD744545646005 ## Mail History Id: 30372481, Consumer Id: 562931, Address Id: 10701294 => Updated with Vin: 1D4GP25R05B353205 ## Mail History Id: 30372041, Consumer Id: 565568, Address Id: 2034993 => Updated with Vin: 2C3JA53G35H505898 ## Mail History Id: 30372722, Consumer Id: 567248, Address Id: 7720886 => Updated with Vin: 1D7HA18N16J201503 ## Mail History Id: 30373237, Consumer Id: 567507, Address Id: 6511479 => Updated with Vin: 3A4FY48B56T364405 ## Mail History Id: 30372708, Consumer Id: 567848, Address Id: 5454 => Updated with Vin: 2B3KA53H56H499968 ## Mail History Id: 30371878, Consumer Id: 579801, Address Id: 10735962 => Updated with Vin: 1J8HH58N56C247880 ## Mail History Id: 30372865, Consumer Id: 579712, Address Id: 10735911 => Updated with Vin: 2C3KA53GX6H498924 ## Mail History Id: 30373203, Consumer Id: 579636, Address Id: 10719404 => Updated with Vin: 3C4FY48BX2T309402 ## Mail History Id: 30371741, Consumer Id: 569681, Address Id: 1997917 => Updated with Vin: 2B3KA43R07H742171 ## Mail History Id: 30372133, Consumer Id: 569674, Address Id: 7571985 => Updated with Vin: 1B3LC56K88N582066 ## Mail History Id: 30372165, Consumer Id: 571695, Address Id: 10716837 => Updated with Vin: 1C3LC56R57N560783 ## Mail History Id: 30372791, Consumer Id: 581298, Address Id: 1343330 => Updated with Vin: 1J4GA59157L140441 ## Mail History Id: 30372657, Consumer Id: 571523, Address Id: 10686372 => Updated with Vin: 1A8HX58P57F528646 ## Mail History Id: 30373535, Consumer Id: 573321, Address Id: 10686425 => Updated with Vin: 2A8GM48LX7R356473 ## Mail History Id: 30372967, Consumer Id: 573342, Address Id: 10616853 => Updated with Vin: 1J4GB59188L522025 ## Mail History Id: 30372704, Consumer Id: 573224, Address Id: 6679303 => Updated with Vin: 1J8FT47078D519574 ## Mail History Id: 30371907, Consumer Id: 662404, Address Id: 11782598 => Updated with Vin: 2D8HN44H98R632297 ## Total mail_history records updated with vin numbers: 25 out of 29 ============================================================ ====== Tracking Id: 1555 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-24 10:18:52') AND us2_order_type_id = 3 ## Order found: 1905 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1905 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3416 ## Mailing found: '13127' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30371958, Consumer Id: 625722, Address Id: 1960521 => Updated with Vin: 1GYEE637740174652 ## Mail History Id: 30371962, Consumer Id: 625748, Address Id: 3757115 => Updated with Vin: 1GYEE637240182450 ## Mail History Id: 30371974, Consumer Id: 630275, Address Id: 3759576 => Updated with Vin: 1G1ZT54814F243291 ## Mail History Id: 30372678, Consumer Id: 693100, Address Id: 11798680 => Updated with Vin: 5GTDN13E378133503 ## Mail History Id: 30371980, Consumer Id: 629298, Address Id: 1963704 => Updated with Vin: 1GYEE63A540191428 ## Mail History Id: 30371982, Consumer Id: 681641, Address Id: 1964083 => Updated with Vin: 1G6EL12Y5YB702680 ## Mail History Id: 30371942, Consumer Id: 685632, Address Id: 1966572 => Updated with Vin: 1G6KD54Y23U279722 ## Mail History Id: 30372820, Consumer Id: 663369, Address Id: 3743194 => Updated with Vin: 1G6KY5295TU828961 ## Mail History Id: 30372236, Consumer Id: 689179, Address Id: 11795324 => Updated with Vin: 1GCHK23284F210337 ## Mail History Id: 30371996, Consumer Id: 958377, Address Id: 1968326 => Updated with Vin: 2GCEK19V2X1280443 ## Mail History Id: 30371998, Consumer Id: 958379, Address Id: 1968327 => Updated with Vin: 3GYFK62877G155042 ## Mail History Id: 30371992, Consumer Id: 627217, Address Id: 11764766 => Updated with Vin: 1G6KE57YXYU324874 ## Mail History Id: 30371954, Consumer Id: 662940, Address Id: 11782649 => Updated with Vin: 1G6DP577760203170 ## Mail History Id: 30371984, Consumer Id: 627153, Address Id: 1964503 => Updated with Vin: 1GYEK63N16R104778 ## Mail History Id: 30371994, Consumer Id: 691775, Address Id: 4776356 => Updated with Vin: 1G6DC67A570127396 ## Mail History Id: 30372006, Consumer Id: 692109, Address Id: 1969429 => Updated with Vin: 1GYEE637760174153 ## Mail History Id: 30372002, Consumer Id: 691736, Address Id: 4789545 => Updated with Vin: 1GYEE637570131691 ## Total mail_history records updated with vin numbers: 17 out of 27 ============================================================ ====== Tracking Id: 1556 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-24 10:21:29') AND us2_order_type_id = 3 ## Order found: 1906 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1906 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3795 ## Mailing found: '13407' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992714, Consumer Id: 1053150, Address Id: 3060282 => Updated with Vin: 2HKYF18583H584940 ## Mail History Id: 30992540, Consumer Id: 1052238, Address Id: 6605710 => Updated with Vin: SHSRD78864U215882 ## Mail History Id: 30992684, Consumer Id: 1056562, Address Id: 3056406 => Updated with Vin: 1HGFA16586L057488 ## Mail History Id: 30992518, Consumer Id: 1058911, Address Id: 14955201 => Updated with Vin: 5FNRL38297B062949 ## Mail History Id: 30992558, Consumer Id: 1058714, Address Id: 14957030 => Updated with Vin: JHLRE38377C056005 ## Mail History Id: 30992842, Consumer Id: 1058909, Address Id: 14957086 => Updated with Vin: 2HGFG12857H566435 ## Mail History Id: 30992686, Consumer Id: 1059590, Address Id: 3056517 => Updated with Vin: 5FNRL38666B012916 ## Mail History Id: 30992686, Consumer Id: 1059707, Address Id: 3056517 => Updated with Vin: WVWWH63B53E321414 ## Mail History Id: 30992780, Consumer Id: 1059395, Address Id: 185850 => Updated with Vin: 5FNRL38627B128003 ## Mail History Id: 30992916, Consumer Id: 1060040, Address Id: 78052 => Updated with Vin: 2HGFG12938H515350 ## Mail History Id: 30992778, Consumer Id: 1060154, Address Id: 14957409 => Updated with Vin: 1HGFA16508L056158 ## Mail History Id: 30992666, Consumer Id: 1060746, Address Id: 14955732 => Updated with Vin: 5FNYF388X9B003581 ## Total mail_history records updated with vin numbers: 12 out of 13 ============================================================ ====== Tracking Id: 1557 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-24 10:21:47') AND us2_order_type_id = 3 ## Order found: 1907 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1907 AND product_id = 142 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3697 ## Mailing found: '13133' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372482, Consumer Id: 1044668, Address Id: 14952899 => Updated with Vin: 1GYFK63867R303583 ## Mail History Id: 30372340, Consumer Id: 1042288, Address Id: 14952258 => Updated with Vin: 1G6KD54Y1YU346110 ## Mail History Id: 30372350, Consumer Id: 1051110, Address Id: 14954616 => Updated with Vin: 1GYFK63887R164203 ## Mail History Id: 30372324, Consumer Id: 1041978, Address Id: 11665974 => Updated with Vin: 1G3GR62C5W4123339 ## Mail History Id: 30372288, Consumer Id: 1049760, Address Id: 14954282 => Updated with Vin: 1G6KS54Y04U150269 ## Mail History Id: 30372344, Consumer Id: 1046786, Address Id: 14953498 => Updated with Vin: 1G6KS54Y62U114731 ## Mail History Id: 30372346, Consumer Id: 1044542, Address Id: 14952856 => Updated with Vin: 3GYEK62N64G113247 ## Total mail_history records updated with vin numbers: 7 out of 10 ============================================================ ====== Tracking Id: 1558 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-24 10:23:42') AND us2_order_type_id = 3 ## Order found: 1908 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1908 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3815 ## Mailing found: '13138' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372394, Consumer Id: 1366186, Address Id: 15639126 => Updated with Vin: 5FNYF18457B012879 ## Mail History Id: 30372414, Consumer Id: 1366814, Address Id: 15637913 => Updated with Vin: 1HGCM56816A031192 ## Mail History Id: 30372456, Consumer Id: 1363203, Address Id: 2112134 => Updated with Vin: 1HGCG16512A067660 ## Mail History Id: 30372280, Consumer Id: 1368915, Address Id: 15635546 => Updated with Vin: 1HGCF86611A121557 ## Mail History Id: 30372310, Consumer Id: 1365077, Address Id: 15638104 => Updated with Vin: JHMCM56397C019816 ## Mail History Id: 30372418, Consumer Id: 1363921, Address Id: 6159629 => Updated with Vin: 5FNYF18596B022791 ## Mail History Id: 30372332, Consumer Id: 1366795, Address Id: 15639618 => Updated with Vin: 5FNRL38727B144761 ## Total mail_history records updated with vin numbers: 7 out of 11 ============================================================ ====== Tracking Id: 1559 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-24 10:45:38') AND us2_order_type_id = 3 ## Order found: 1909 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1909 AND product_id = 140 ## Job Group Found: '549' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('549') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508004') AND customer_id = 3808 ## Mailing found: '13260' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1560 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-24 11:15:21') AND us2_order_type_id = 3 ## Order found: 1910 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1910 AND product_id = 113 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3486 ## Mailing found: '13108' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1561 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-24 11:16:13') AND us2_order_type_id = 3 ## Order found: 1911 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1911 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3491 ## Mailing found: '13132' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373036, Consumer Id: 809067, Address Id: 11883610 => Updated with Vin: 1G1AL15F667657408 ## Mail History Id: 30373122, Consumer Id: 837888, Address Id: 11894440 => Updated with Vin: 1G1AL15FX67602069 ## Mail History Id: 30373088, Consumer Id: 811703, Address Id: 11886273 => Updated with Vin: 2G1WC581569183012 ## Mail History Id: 30373162, Consumer Id: 812941, Address Id: 11887527 => Updated with Vin: 1GCCS196948133609 ## Mail History Id: 30373106, Consumer Id: 812724, Address Id: 11878978 => Updated with Vin: 2G1WB58K679191231 ## Mail History Id: 30373056, Consumer Id: 812940, Address Id: 11887526 => Updated with Vin: 2CNDL63F576011231 ## Mail History Id: 30373130, Consumer Id: 814587, Address Id: 11889124 => Updated with Vin: 1GCHK23K87F550561 ## Mail History Id: 30373140, Consumer Id: 815073, Address Id: 11889699 => Updated with Vin: 1GNDS13S452196266 ## Mail History Id: 30373050, Consumer Id: 815377, Address Id: 11890201 => Updated with Vin: 1GCEC14X77Z620036 ## Mail History Id: 30373050, Consumer Id: 815379, Address Id: 11890201 => Updated with Vin: 2CNDL13F586006597 ## Mail History Id: 30373052, Consumer Id: 815359, Address Id: 11890189 => Updated with Vin: 1G1AL58F087180335 ## Mail History Id: 30373070, Consumer Id: 815693, Address Id: 11883532 => Updated with Vin: 1J4GK58K97W562086 ## Mail History Id: 30373024, Consumer Id: 815698, Address Id: 11890422 => Updated with Vin: 2G1WB58N489204229 ## Mail History Id: 30373058, Consumer Id: 815471, Address Id: 11890263 => Updated with Vin: 1G1AL18F087183034 ## Mail History Id: 30373126, Consumer Id: 815860, Address Id: 11890552 => Updated with Vin: 1D4HB48D24F112767 ## Mail History Id: 30373094, Consumer Id: 839974, Address Id: 11895577 => Updated with Vin: 1G1AK15FX67696201 ## Mail History Id: 30373158, Consumer Id: 958848, Address Id: 12122179 => Updated with Vin: 2G2WP552971113316 ## Mail History Id: 30373080, Consumer Id: 831450, Address Id: 11875737 => Updated with Vin: 3GNEK13T92G282589 ## Mail History Id: 30373128, Consumer Id: 831381, Address Id: 11889232 => Updated with Vin: 1GCCS146248143048 ## Mail History Id: 30373142, Consumer Id: 833016, Address Id: 11891318 => Updated with Vin: 1GCEC14X05Z187446 ## Total mail_history records updated with vin numbers: 20 out of 28 ============================================================ ====== Tracking Id: 1562 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-24 11:16:27') AND us2_order_type_id = 3 ## Order found: 1911 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1911 AND product_id = 113 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3491 ## Mailing found: '13109' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373877, Consumer Id: 810700, Address Id: 11885250 => Updated with Vin: 1GNFC13J27R150927 ## Mail History Id: 30373829, Consumer Id: 811064, Address Id: 11885872 => Updated with Vin: 1G1AM18B867608099 ## Mail History Id: 30373801, Consumer Id: 811807, Address Id: 11883654 => Updated with Vin: 1D7HA18N54J112420 ## Mail History Id: 30373791, Consumer Id: 813462, Address Id: 11888089 => Updated with Vin: 1GCHK23246F128057 ## Mail History Id: 30373817, Consumer Id: 828601, Address Id: 11883308 => Updated with Vin: 1G1NE52J4Y6329831 ## Mail History Id: 30373843, Consumer Id: 825954, Address Id: 11880865 => Updated with Vin: 1GCEC14X63Z359699 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 1563 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-24 11:16:38') AND us2_order_type_id = 3 ## Order found: 1911 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1911 AND product_id = 114 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3491 ## Mailing found: '13109' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1564 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-24 11:17:41') AND us2_order_type_id = 3 ## Order found: 1912 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1912 AND product_id = 144 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3705 ## Mailing found: '13134' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373216, Consumer Id: 973072, Address Id: 14837713 => Updated with Vin: 1YVHP84C355M34080 ## Mail History Id: 30373314, Consumer Id: 973069, Address Id: 14840325 => Updated with Vin: 1G2ZG57N484152602 ## Mail History Id: 30373282, Consumer Id: 973073, Address Id: 14843334 => Updated with Vin: 3GNDA23D97S601510 ## Mail History Id: 30373168, Consumer Id: 973075, Address Id: 14843336 => Updated with Vin: 2GCEC13T351110206 ## Mail History Id: 30373308, Consumer Id: 973076, Address Id: 14843337 => Updated with Vin: 1GNDS13S582131608 ## Mail History Id: 30373166, Consumer Id: 966732, Address Id: 11189339 => Updated with Vin: 1GNFC13007R260589 ## Mail History Id: 30373380, Consumer Id: 973086, Address Id: 14836910 => Updated with Vin: 1GNFC13007R260589 ## Mail History Id: 30373180, Consumer Id: 973078, Address Id: 14843339 => Updated with Vin: 2CNDL13FX66170053 ## Mail History Id: 30373370, Consumer Id: 973080, Address Id: 14843341 => Updated with Vin: 1G2ZG57N084154802 ## Mail History Id: 30373276, Consumer Id: 973081, Address Id: 14843342 => Updated with Vin: 1G1ZH57B78F228888 ## Mail History Id: 30373268, Consumer Id: 973087, Address Id: 14843347 => Updated with Vin: 2GCEK13C981186570 ## Mail History Id: 30373354, Consumer Id: 973082, Address Id: 14843343 => Updated with Vin: 1GNDS13S882137029 ## Mail History Id: 30373176, Consumer Id: 1231391, Address Id: 27371 => Updated with Vin: 1G1AK58F487273412 ## Total mail_history records updated with vin numbers: 13 out of 14 ============================================================ ====== Tracking Id: 1565 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-24 11:18:33') AND us2_order_type_id = 3 ## Order found: 1909 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1909 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3808 ## Mailing found: '13137' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372974, Consumer Id: 1172307, Address Id: 15030366 => Updated with Vin: 3GNFC16067G170360 ## Mail History Id: 30372972, Consumer Id: 1172330, Address Id: 15030384 => Updated with Vin: 1G1JF52T3X7189387 ## Mail History Id: 30372952, Consumer Id: 1172326, Address Id: 15029133 => Updated with Vin: 2GCEC19T6Y1143616 ## Mail History Id: 30372968, Consumer Id: 1266098, Address Id: 15437657 => Updated with Vin: 2GTEC19T531395964 ## Mail History Id: 30372984, Consumer Id: 1172327, Address Id: 15030381 => Updated with Vin: 1G1JC124417222592 ## Mail History Id: 30372990, Consumer Id: 1172309, Address Id: 15029742 => Updated with Vin: 1GNDM19X12B105379 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 1566 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-24 11:18:39') AND us2_order_type_id = 3 ## Order found: 1913 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1913 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3721 ## Mailing found: '13135' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372836, Consumer Id: 1015007, Address Id: 6669060 => Updated with Vin: JM1BK32F961470200 ## Mail History Id: 30372824, Consumer Id: 1017502, Address Id: 14933484 => Updated with Vin: JM1NB354050413394 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 1567 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-24 11:45:18') AND us2_order_type_id = 3 ## Order found: 1914 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1914 AND product_id = 142 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3357 ## Mailing found: '13126' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373674, Consumer Id: 959555, Address Id: 402818 => Updated with Vin: 1YVFP80C555M76831 ## Mail History Id: 30373670, Consumer Id: 189355, Address Id: 399904 => Updated with Vin: 1ZVHT80N165114795 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1568 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-24 12:17:47') AND us2_order_type_id = 3 ## Order found: 1915 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1915 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3471 ## Mailing found: '13131' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 2 ============================================================ ====== Tracking Id: 1569 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-24 12:17:56') AND us2_order_type_id = 3 ## Order found: 1915 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1915 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3471 ## Mailing found: '13107' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373917, Consumer Id: 802539, Address Id: 10220688 => Updated with Vin: 1G6KD54YXXU775793 ## Mail History Id: 30373911, Consumer Id: 816984, Address Id: 10216781 => Updated with Vin: 1G6KD54YX2U296248 ## Mail History Id: 30373913, Consumer Id: 806229, Address Id: 10216882 => Updated with Vin: 1G6KY5490YU272613 ## Mail History Id: 30373897, Consumer Id: 816285, Address Id: 6527277 => Updated with Vin: 1G6KD54Y74U146035 ## Mail History Id: 30373921, Consumer Id: 800526, Address Id: 11870939 => Updated with Vin: 1G6KS54Y22U149637 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 1570 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-24 12:17:59') AND us2_order_type_id = 3 ## Order found: 1916 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1916 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3451 ## Mailing found: '13129' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373588, Consumer Id: 758104, Address Id: 11849322 => Updated with Vin: 1G6CD5331L4351911 ## Mail History Id: 30373564, Consumer Id: 932705, Address Id: 831929 => Updated with Vin: 1GYFK63827R136817 ## Mail History Id: 30373546, Consumer Id: 758106, Address Id: 827985 => Updated with Vin: 1GCES14P74B106811 ## Mail History Id: 30373568, Consumer Id: 615533, Address Id: 11758018 => Updated with Vin: 1GYEK63N03R265635 ## Mail History Id: 30373612, Consumer Id: 619009, Address Id: 11760568 => Updated with Vin: 1GYEE637050105030 ## Mail History Id: 30373596, Consumer Id: 615188, Address Id: 11757804 => Updated with Vin: 1G6KD54Y74U107736 ## Mail History Id: 30373584, Consumer Id: 620965, Address Id: 838356 => Updated with Vin: 1G6KD54Y84U199584 ## Mail History Id: 30373584, Consumer Id: 620965, Address Id: 838356 => Updated with Vin: 1G6KD54Y84U199584 ## Mail History Id: 30373538, Consumer Id: 622900, Address Id: 11761735 => Updated with Vin: 1G6KD54Y45U103712 ## Mail History Id: 30373648, Consumer Id: 621151, Address Id: 3405779 => Updated with Vin: 1G6KF57935U196186 ## Mail History Id: 30373622, Consumer Id: 611641, Address Id: 11759463 => Updated with Vin: 1G6DM577140161018 ## Mail History Id: 30373582, Consumer Id: 626612, Address Id: 837250 => Updated with Vin: 1G6DM577440119894 ## Mail History Id: 30373554, Consumer Id: 626605, Address Id: 4107323 => Updated with Vin: 3GYEK62N65G167388 ## Mail History Id: 30373532, Consumer Id: 626537, Address Id: 824665 => Updated with Vin: 1GYFK66867R251156 ## Mail History Id: 30373640, Consumer Id: 619539, Address Id: 11761259 => Updated with Vin: 3GYFK66N45G204131 ## Mail History Id: 30373620, Consumer Id: 619469, Address Id: 11761211 => Updated with Vin: 1GYEK63N62R167997 ## Mail History Id: 30373594, Consumer Id: 663168, Address Id: 11756645 => Updated with Vin: 1G6DM577780117465 ## Mail History Id: 30373604, Consumer Id: 758108, Address Id: 11849325 => Updated with Vin: 1G6JG51W4JJ500144 ## Mail History Id: 30373734, Consumer Id: 758105, Address Id: 11849323 => Updated with Vin: 1G6KD57Y97U119225 ## Mail History Id: 30373654, Consumer Id: 758107, Address Id: 11849324 => Updated with Vin: 1G6KD54YXYU173784 ## Mail History Id: 30373624, Consumer Id: 732676, Address Id: 11849210 => Updated with Vin: 1GYFK66818R159678 ## Total mail_history records updated with vin numbers: 21 out of 28 ============================================================ ====== Tracking Id: 1571 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-24 14:15:06') AND us2_order_type_id = 3 ## Order found: 1917 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1917 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3418 ## Mailing found: '13128' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1572 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-24 14:15:16') AND us2_order_type_id = 3 ## Order found: 1916 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1916 AND product_id = 114 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3451 ## Mailing found: '13105' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373933, Consumer Id: 612642, Address Id: 825024 => Updated with Vin: 1G6KD54Y91U115882 ## Mail History Id: 30373985, Consumer Id: 614785, Address Id: 11757551 => Updated with Vin: 1G6KD54Y4YU326059 ## Mail History Id: 30373935, Consumer Id: 626717, Address Id: 3240417 => Updated with Vin: 1G6KF5790YU250774 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1573 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-24 14:15:27') AND us2_order_type_id = 3 ## Order found: 1916 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1916 AND product_id = 113 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3451 ## Mailing found: '13105' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373941, Consumer Id: 626827, Address Id: 3808283 => Updated with Vin: 3GYFK66NX4G170906 ## Mail History Id: 30373939, Consumer Id: 611927, Address Id: 3808265 => Updated with Vin: 1GYEE637040177389 ## Mail History Id: 30373937, Consumer Id: 626137, Address Id: 3404029 => Updated with Vin: 1G6DM577640111652 ## Mail History Id: 30373997, Consumer Id: 619367, Address Id: 11760996 => Updated with Vin: 1GYEE63A360201540 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1574 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-24 20:15:12') AND us2_order_type_id = 3 ## Order found: 1918 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1918 AND product_id = 2147 ## Job Group Found: '562' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('562') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408002') AND customer_id = 3503 ## Mailing found: '13414' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31003444, Consumer Id: 2174735, Address Id: 9722849 => Updated with Vin: JTEHD21A010006596 ## Mail History Id: 31003448, Consumer Id: 2173849, Address Id: 9721736 => Updated with Vin: 4T1BG22K9YU979662 ## Mail History Id: 31003452, Consumer Id: 2168629, Address Id: 451639 => Updated with Vin: JTLKE50E881015567 ## Total mail_history records updated with vin numbers: 3 out of 6 ============================================================ ====== Tracking Id: 1575 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-24 20:15:23') AND us2_order_type_id = 3 ## Order found: 1918 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1918 AND product_id = 2153 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3503 ## Mailing found: '13380' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998605, Consumer Id: 2171894, Address Id: 9719613 => Updated with Vin: JT3HT05J2Y0108941 ## Mail History Id: 30998495, Consumer Id: 2176641, Address Id: 9725446 => Updated with Vin: 4T1BE32K32U505970 ## Mail History Id: 30998541, Consumer Id: 2168243, Address Id: 9721553 => Updated with Vin: 2T1BR32E13C146779 ## Mail History Id: 30998589, Consumer Id: 272072, Address Id: 474669 => Updated with Vin: 1NXBR12E02Z643338 ## Mail History Id: 30998401, Consumer Id: 2174863, Address Id: 465692 => Updated with Vin: JTDBR32EX30050854 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 1576 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-25 07:15:40') AND us2_order_type_id = 3 ## Order found: 1940 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1940 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3503 ## Mailing found: '13402,13913' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992170, Consumer Id: 2162043, Address Id: 9728052 => Updated with Vin: 4T1BF32K75U608696 ## Mail History Id: 30992615, Consumer Id: 2162126, Address Id: 464764 => Updated with Vin: JTEEP21A150121496 ## Mail History Id: 30992393, Consumer Id: 2173709, Address Id: 9721604 => Updated with Vin: JTEHF21A520087638 ## Mail History Id: 30993481, Consumer Id: 2165757, Address Id: 9731277 => Updated with Vin: 5TELU42N56Z269654 ## Mail History Id: 30992097, Consumer Id: 384561, Address Id: 8748067 => Updated with Vin: 2T1BR32E55C506915 ## Mail History Id: 30992331, Consumer Id: 2166695, Address Id: 457164 => Updated with Vin: 5TDBT48A77S282939 ## Mail History Id: 30993123, Consumer Id: 2175448, Address Id: 9723745 => Updated with Vin: 4T1BF28B7YU005284 ## Mail History Id: 30992344, Consumer Id: 2174701, Address Id: 9722819 => Updated with Vin: 5TENL42N72Z884163 ## Mail History Id: 30992980, Consumer Id: 2167766, Address Id: 9735035 => Updated with Vin: JTMBD31V876043937 ## Mail History Id: 30992161, Consumer Id: 2178932, Address Id: 9729460 => Updated with Vin: JT2BK18U730078692 ## Mail History Id: 30992206, Consumer Id: 2176320, Address Id: 9720878 => Updated with Vin: JTEGF21A720061361 ## Mail History Id: 30992400, Consumer Id: 2164468, Address Id: 9730959 => Updated with Vin: 4T1BE46K07U511815 ## Mail History Id: 30992372, Consumer Id: 2168817, Address Id: 9737494 => Updated with Vin: JTLKE50EX81029700 ## Mail History Id: 30993815, Consumer Id: 2164654, Address Id: 9731098 => Updated with Vin: JTDKB20U163179318 ## Mail History Id: 30992088, Consumer Id: 2171415, Address Id: 9719162 => Updated with Vin: JT3HN86R410359009 ## Mail History Id: 30992119, Consumer Id: 2179002, Address Id: 9729955 => Updated with Vin: JTEHF21A830149339 ## Mail History Id: 30993615, Consumer Id: 2161617, Address Id: 9727458 => Updated with Vin: 1NXBR32E75Z381480 ## Mail History Id: 30993597, Consumer Id: 2169935, Address Id: 9722436 => Updated with Vin: 4T1BE46K69U803715 ## Mail History Id: 30993477, Consumer Id: 2168796, Address Id: 9737482 => Updated with Vin: 5TBDV54137S487097 ## Mail History Id: 30993587, Consumer Id: 2172500, Address Id: 459365 => Updated with Vin: 4T3ZF19C82U450504 ## Mail History Id: 30993553, Consumer Id: 2161968, Address Id: 9727993 => Updated with Vin: JTEDP21A150044852 ## Mail History Id: 30993469, Consumer Id: 2180015, Address Id: 9732375 => Updated with Vin: 1G6KD52B2SU227794 ## Mail History Id: 30993479, Consumer Id: 2160555, Address Id: 9725986 => Updated with Vin: 5TDBA22C04S027047 ## Mail History Id: 30993465, Consumer Id: 2163973, Address Id: 9730375 => Updated with Vin: 5TDBT44A26S269276 ## Mail History Id: 30993071, Consumer Id: 2178327, Address Id: 9728350 => Updated with Vin: JTEEP21A440007765 ## Mail History Id: 30992178, Consumer Id: 2175911, Address Id: 9724142 => Updated with Vin: JTEBU14R130010953 ## Mail History Id: 30992477, Consumer Id: 2162211, Address Id: 9728176 => Updated with Vin: 2T1BR32E25C452263 ## Mail History Id: 30992493, Consumer Id: 2167741, Address Id: 9735014 => Updated with Vin: 5TBDV54147S461625 ## Mail History Id: 30993327, Consumer Id: 2175898, Address Id: 9724129 => Updated with Vin: 2T1BR12E52C520653 ## Mail History Id: 30993323, Consumer Id: 2169978, Address Id: 9834814 => Updated with Vin: 5TENX22N18Z564032 ## Mail History Id: 30993319, Consumer Id: 2161342, Address Id: 9722168 => Updated with Vin: 4T1BE32KX5U420757 ## Mail History Id: 30992435, Consumer Id: 2168919, Address Id: 9737581 => Updated with Vin: JTEES43A982015927 ## Mail History Id: 30992389, Consumer Id: 2162157, Address Id: 9728134 => Updated with Vin: 4T1BK36B35U032465 ## Mail History Id: 30992247, Consumer Id: 2159057, Address Id: 9722582 => Updated with Vin: 2T1BR32E94C201948 ## Mail History Id: 30992442, Consumer Id: 61565, Address Id: 45651 => Updated with Vin: 2T1CF22P91C535109 ## Mail History Id: 30993715, Consumer Id: 2162572, Address Id: 9728711 => Updated with Vin: 2T1BR32E65C556240 ## Mail History Id: 30993777, Consumer Id: 2161554, Address Id: 9727415 => Updated with Vin: 5TEUU42N05Z029236 ## Mail History Id: 30993737, Consumer Id: 2179407, Address Id: 9731467 => Updated with Vin: JTEEP21A440035615 ## Mail History Id: 30993021, Consumer Id: 2178550, Address Id: 9729140 => Updated with Vin: 4T1BE30KX4U291467 ## Mail History Id: 30992993, Consumer Id: 1186892, Address Id: 9753351 => Updated with Vin: 5TEUU42N15Z025762 ## Mail History Id: 30992911, Consumer Id: 2166140, Address Id: 499495 => Updated with Vin: 4T1BK36B46U108101 ## Mail History Id: 30992991, Consumer Id: 2173429, Address Id: 9721142 => Updated with Vin: 4T1BF28BX3U289874 ## Mail History Id: 30992172, Consumer Id: 310086, Address Id: 8722437 => Updated with Vin: 4T1BE32K23U754472 ## Mail History Id: 30993063, Consumer Id: 2165403, Address Id: 9731873 => Updated with Vin: 5TELU42N76Z292711 ## Mail History Id: 30993269, Consumer Id: 2179580, Address Id: 9731509 => Updated with Vin: JTEEP21A040032548 ## Mail History Id: 30992104, Consumer Id: 2172524, Address Id: 9720320 => Updated with Vin: 2T1KR32E53C093214 ## Mail History Id: 30992409, Consumer Id: 2167376, Address Id: 9734732 => Updated with Vin: JTMBD32V576029265 ## Mail History Id: 30992831, Consumer Id: 2179356, Address Id: 9722749 => Updated with Vin: 2T1BR32E04C301338 ## Mail History Id: 30992703, Consumer Id: 2167156, Address Id: 9734049 => Updated with Vin: JTDKB20U373207928 ## Mail History Id: 30992773, Consumer Id: 2174557, Address Id: 9722685 => Updated with Vin: 2T1CF28P51C440313 ## Mail History Id: 30992353, Consumer Id: 2166676, Address Id: 9733689 => Updated with Vin: JTMBD35V475069340 ## Mail History Id: 30992815, Consumer Id: 2167673, Address Id: 9734958 => Updated with Vin: 4T1BK46K37U036122 ## Total mail_history records updated with vin numbers: 52 out of 95 ============================================================ ====== Tracking Id: 1577 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-25 08:45:32') AND us2_order_type_id = 3 ## Order found: 1941 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1941 AND product_id = 113 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3230 ## Mailing found: '13102' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30374068, Consumer Id: 65425, Address Id: 51247 => Updated with Vin: 1FMYU04112KC48335 ## Mail History Id: 30374062, Consumer Id: 93200, Address Id: 51614 => Updated with Vin: 1GNDT13S842200220 ## Mail History Id: 30374064, Consumer Id: 38394, Address Id: 49074 => Updated with Vin: 1FTPX14555NB16293 ## Mail History Id: 30374076, Consumer Id: 528031, Address Id: 9864936 => Updated with Vin: 1FMCU96H15KB95567 ## Mail History Id: 30374054, Consumer Id: 66236, Address Id: 51778 => Updated with Vin: 1FTRX18L21NB85938 ## Mail History Id: 30374056, Consumer Id: 92957, Address Id: 51386 => Updated with Vin: 1FTPX14V77FB18110 ## Mail History Id: 30374050, Consumer Id: 93541, Address Id: 52039 => Updated with Vin: 3D7KU28D73G767351 ## Total mail_history records updated with vin numbers: 7 out of 9 ============================================================ ====== Tracking Id: 1578 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-25 08:45:41') AND us2_order_type_id = 3 ## Order found: 1941 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1941 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3230 ## Mailing found: '13125' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372132, Consumer Id: 741136, Address Id: 11830974 => Updated with Vin: 2MRDA22206BJ03321 ## Mail History Id: 30372200, Consumer Id: 64887, Address Id: 47210 => Updated with Vin: 1FTRX18LX3NA48829 ## Mail History Id: 30372892, Consumer Id: 65696, Address Id: 49296 => Updated with Vin: 1FMZU73W95UB58563 ## Mail History Id: 30372114, Consumer Id: 67135, Address Id: 52119 => Updated with Vin: 2FTRX18W12CA92443 ## Mail History Id: 30372170, Consumer Id: 741132, Address Id: 47853 => Updated with Vin: 2FALP74W7TX203804 ## Mail History Id: 30372162, Consumer Id: 63684, Address Id: 47275 => Updated with Vin: 1FAFP55U43A265457 ## Mail History Id: 30372160, Consumer Id: 65449, Address Id: 47654 => Updated with Vin: 1FAFP53U32G163680 ## Mail History Id: 30372164, Consumer Id: 38541, Address Id: 51660 => Updated with Vin: 1FMEU73E37UB37894 ## Mail History Id: 30372180, Consumer Id: 102848, Address Id: 47634 => Updated with Vin: 2G1WW12M1W9254712 ## Mail History Id: 30372034, Consumer Id: 64025, Address Id: 52656 => Updated with Vin: 1FTZF1725XKA25249 ## Mail History Id: 30372024, Consumer Id: 758565, Address Id: 51790 => Updated with Vin: 1FAHP35NX8W238988 ## Mail History Id: 30372020, Consumer Id: 63033, Address Id: 47346 => Updated with Vin: 1FMYU04101KA34564 ## Mail History Id: 30372112, Consumer Id: 102794, Address Id: 53280 => Updated with Vin: 1FTNW21F21EC34518 ## Mail History Id: 30372204, Consumer Id: 92941, Address Id: 49962 => Updated with Vin: 1FAHP24187G149938 ## Mail History Id: 30372076, Consumer Id: 63343, Address Id: 47384 => Updated with Vin: 1FTSW31F4YEC75851 ## Mail History Id: 30372226, Consumer Id: 93496, Address Id: 51982 => Updated with Vin: 1FAHP28W88G138705 ## Mail History Id: 30372154, Consumer Id: 66121, Address Id: 47473 => Updated with Vin: 4M2XV11T1YDJ16059 ## Mail History Id: 30372110, Consumer Id: 93588, Address Id: 67798 => Updated with Vin: 2G1WF52E849233174 ## Mail History Id: 30372146, Consumer Id: 741135, Address Id: 48346 => Updated with Vin: 1FAHP31NX6W204018 ## Mail History Id: 30372134, Consumer Id: 101904, Address Id: 51127 => Updated with Vin: 2FMZA51462BA65838 ## Mail History Id: 30372246, Consumer Id: 66996, Address Id: 49534 => Updated with Vin: 1FTSX21P75EC21455 ## Mail History Id: 30372182, Consumer Id: 66775, Address Id: 52017 => Updated with Vin: 1FTPW14516FA93190 ## Mail History Id: 30372174, Consumer Id: 92890, Address Id: 51322 => Updated with Vin: 1FAHP24197G138639 ## Mail History Id: 30372032, Consumer Id: 93416, Address Id: 51902 => Updated with Vin: 1FAHP35N58W132013 ## Mail History Id: 30372030, Consumer Id: 62944, Address Id: 48535 => Updated with Vin: 1FTNX21F0YEB93507 ## Mail History Id: 30372064, Consumer Id: 66625, Address Id: 48693 => Updated with Vin: 1FAFP52S9WG269184 ## Mail History Id: 30372190, Consumer Id: 741131, Address Id: 11830971 => Updated with Vin: 1FMEU64EX6UB68082 ## Total mail_history records updated with vin numbers: 27 out of 39 ============================================================ ====== Tracking Id: 1579 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-25 09:18:42') AND us2_order_type_id = 3 ## Order found: 1942 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1942 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3470 ## Mailing found: '13106' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30374028, Consumer Id: 554131, Address Id: 10688759 => Updated with Vin: 1J4GX58N24C158281 ## Mail History Id: 30373832, Consumer Id: 575731, Address Id: 6844436 => Updated with Vin: 3C4FY48B73T502530 ## Mail History Id: 30373844, Consumer Id: 578528, Address Id: 4597912 => Updated with Vin: 1J4GW58N51C525303 ## Mail History Id: 30373836, Consumer Id: 571016, Address Id: 10698324 => Updated with Vin: 1D7HA18257J602057 ## Mail History Id: 30373934, Consumer Id: 578720, Address Id: 10733231 => Updated with Vin: 2C8GP64L01R257618 ## Mail History Id: 30373888, Consumer Id: 579628, Address Id: 3493020 => Updated with Vin: 1C4GP64L9YB650933 ## Mail History Id: 30374018, Consumer Id: 566719, Address Id: 10710581 => Updated with Vin: 3C3EY55E15T505530 ## Mail History Id: 30373852, Consumer Id: 566896, Address Id: 5386931 => Updated with Vin: 1J4GK48K66W194233 ## Mail History Id: 30373890, Consumer Id: 567322, Address Id: 1171124 => Updated with Vin: 3D7KR19D36G225663 ## Mail History Id: 30373954, Consumer Id: 567872, Address Id: 10617535 => Updated with Vin: 1J4GX48SX4C271752 ## Mail History Id: 30373958, Consumer Id: 820351, Address Id: 10733257 => Updated with Vin: 1J8GP58K88W249354 ## Mail History Id: 30373968, Consumer Id: 568488, Address Id: 10713812 => Updated with Vin: 1GNDT13S432407055 ## Mail History Id: 30373918, Consumer Id: 569502, Address Id: 10716512 => Updated with Vin: 2B3LA73W47H700033 ## Mail History Id: 30373874, Consumer Id: 571335, Address Id: 2796623 => Updated with Vin: 1C4GJ45363B161693 ## Mail History Id: 30373928, Consumer Id: 570047, Address Id: 10716827 => Updated with Vin: 1D4HD58D25F516363 ## Mail History Id: 30373998, Consumer Id: 570432, Address Id: 10705686 => Updated with Vin: 2A8GM68X17R220165 ## Mail History Id: 30373980, Consumer Id: 571634, Address Id: 1548447 => Updated with Vin: 2A4GM68456R736275 ## Mail History Id: 30373930, Consumer Id: 581956, Address Id: 10743080 => Updated with Vin: 1C3LC56R27N535968 ## Mail History Id: 30374034, Consumer Id: 581503, Address Id: 10742854 => Updated with Vin: 1J4GW48S84C343213 ## Mail History Id: 30374036, Consumer Id: 582478, Address Id: 10743781 => Updated with Vin: 1J8GK58K34W159053 ## Mail History Id: 30373962, Consumer Id: 573030, Address Id: 10719427 => Updated with Vin: 3C4FY48B74T209230 ## Mail History Id: 30374014, Consumer Id: 573369, Address Id: 10719647 => Updated with Vin: 3C3HY55X38T128976 ## Mail History Id: 30374026, Consumer Id: 609827, Address Id: 11754680 => Updated with Vin: 2C3JA53G35H181738 ## Mail History Id: 30373880, Consumer Id: 870592, Address Id: 4646318 => Updated with Vin: 1D7HU18D65S209555 ## Mail History Id: 30373910, Consumer Id: 759945, Address Id: 11850644 => Updated with Vin: 3A4FY48B56T265793 ## Mail History Id: 30373926, Consumer Id: 662405, Address Id: 2055098 => Updated with Vin: 1J4FA24148L573994 ## Mail History Id: 30373878, Consumer Id: 757480, Address Id: 7462931 => Updated with Vin: 1J4GK58K16W294617 ## Mail History Id: 30373974, Consumer Id: 870602, Address Id: 7156682 => Updated with Vin: 1B7HL48N82S564794 ## Mail History Id: 30373950, Consumer Id: 870598, Address Id: 11909594 => Updated with Vin: 3C3EY55E05T620815 ## Mail History Id: 30374040, Consumer Id: 760683, Address Id: 7735541 => Updated with Vin: 1C3LC55R28N179475 ## Mail History Id: 30374030, Consumer Id: 760685, Address Id: 6671331 => Updated with Vin: JTEZU14R750044882 ## Mail History Id: 30373966, Consumer Id: 760684, Address Id: 11851926 => Updated with Vin: 5Y2SL65828Z405527 ## Mail History Id: 30373960, Consumer Id: 820083, Address Id: 11909588 => Updated with Vin: 3A8FY58B48T124804 ## Mail History Id: 30373964, Consumer Id: 871332, Address Id: 11911860 => Updated with Vin: 1J8FT47WX8D591423 ## Total mail_history records updated with vin numbers: 34 out of 40 ============================================================ ====== Tracking Id: 1580 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-25 09:18:55') AND us2_order_type_id = 3 ## Order found: 1942 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1942 AND product_id = 113 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3470 ## Mailing found: '13106' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1581 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-25 09:19:12') AND us2_order_type_id = 3 ## Order found: 1943 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1943 AND product_id = 142 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3768 ## Mailing found: '13136' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372320, Consumer Id: 1108818, Address Id: 3239324 => Updated with Vin: 1G6KD57Y06U220717 ## Mail History Id: 30372304, Consumer Id: 1109426, Address Id: 2777801 => Updated with Vin: 1GYEK63N76R106180 ## Mail History Id: 30372322, Consumer Id: 1109545, Address Id: 3239348 => Updated with Vin: 1G6KD57Y78U162236 ## Mail History Id: 30372490, Consumer Id: 1109544, Address Id: 14982326 => Updated with Vin: 1G6DW677460107649 ## Mail History Id: 30372316, Consumer Id: 1109685, Address Id: 3238695 => Updated with Vin: 1G6KD57Y98U142473 ## Mail History Id: 30372282, Consumer Id: 1115324, Address Id: 14983776 => Updated with Vin: 1G6KD54Y44U214923 ## Mail History Id: 30372314, Consumer Id: 1107104, Address Id: 14981973 => Updated with Vin: 1G6KF52Y5RU282345 ## Mail History Id: 30372362, Consumer Id: 1114051, Address Id: 1146726 => Updated with Vin: 1G6VS3384MU125636 ## Total mail_history records updated with vin numbers: 8 out of 9 ============================================================ ====== Tracking Id: 1582 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-25 10:18:29') AND us2_order_type_id = 3 ## Order found: 1942 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1942 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3470 ## Mailing found: '13130' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372771, Consumer Id: 973833, Address Id: 10678785 => Updated with Vin: 1J4FA24178L618765 ## Mail History Id: 30373127, Consumer Id: 973834, Address Id: 5573317 => Updated with Vin: 1C3BC4636KD404168 ## Mail History Id: 30371840, Consumer Id: 973835, Address Id: 7353721 => Updated with Vin: 1J4HS58NX5C615391 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1583 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-25 10:19:25') AND us2_order_type_id = 3 ## Order found: 1944 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1944 AND product_id = 2152 ## Job Group Found: '549' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('549') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508004') AND customer_id = 3418 ## Mailing found: '13259' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30756892, Consumer Id: 678043, Address Id: 6771414 => Updated with Vin: 1G6DX67D360216882 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 1584 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-25 10:21:43') AND us2_order_type_id = 3 ## Order found: 1945 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1945 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3795 ## Mailing found: '13407' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992630, Consumer Id: 1068994, Address Id: 4700544 => Updated with Vin: 1HGCB7695PA173878 ## Mail History Id: 30992744, Consumer Id: 1068990, Address Id: 184701 => Updated with Vin: 1HGFA16866L011068 ## Mail History Id: 30992636, Consumer Id: 1057370, Address Id: 3006970 => Updated with Vin: 1HGFA165X6L120283 ## Mail History Id: 30992530, Consumer Id: 1057961, Address Id: 6599490 => Updated with Vin: 1HGFA16537L033021 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1585 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-25 10:22:14') AND us2_order_type_id = 3 ## Order found: 1946 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1946 AND product_id = 142 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3697 ## Mailing found: '13133' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372364, Consumer Id: 1041527, Address Id: 5986605 => Updated with Vin: 1G6KD54Y41U244113 ## Mail History Id: 30372338, Consumer Id: 1050594, Address Id: 14954486 => Updated with Vin: W06VR54R0YR027080 ## Total mail_history records updated with vin numbers: 2 out of 5 ============================================================ ====== Tracking Id: 1586 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-25 10:24:32') AND us2_order_type_id = 3 ## Order found: 1947 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1947 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3815 ## Mailing found: '13138' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372430, Consumer Id: 1372516, Address Id: 15669017 => Updated with Vin: 1HGCB7656LA121652 ## Mail History Id: 30372440, Consumer Id: 1369283, Address Id: 15636112 => Updated with Vin: 2HKYF18453H560330 ## Mail History Id: 30372406, Consumer Id: 1366400, Address Id: 6159123 => Updated with Vin: 5FNYF285X6B005357 ## Mail History Id: 30372398, Consumer Id: 1360216, Address Id: 15632746 => Updated with Vin: 5FNRL18054B103205 ## Mail History Id: 30372452, Consumer Id: 1371566, Address Id: 9095865 => Updated with Vin: 1HGCG5642WA248917 ## Mail History Id: 30372436, Consumer Id: 1362496, Address Id: 15635076 => Updated with Vin: 1HGCG16581A022374 ## Mail History Id: 30372412, Consumer Id: 1364495, Address Id: 6160019 => Updated with Vin: 1HGCM56337A020197 ## Mail History Id: 30372410, Consumer Id: 1362785, Address Id: 15635022 => Updated with Vin: 1HGCM56415A106551 ## Mail History Id: 30372442, Consumer Id: 1371918, Address Id: 6166127 => Updated with Vin: 2HGFA16898H503111 ## Total mail_history records updated with vin numbers: 9 out of 19 ============================================================ ====== Tracking Id: 1587 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-25 10:24:40') AND us2_order_type_id = 3 ## Order found: 1947 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1947 AND product_id = 2150 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3815 ## Mailing found: '13138' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1588 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-25 10:45:11') AND us2_order_type_id = 3 ## Order found: 1941 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1941 AND product_id = 140 ## Job Group Found: '549' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('549') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508004') AND customer_id = 3230 ## Mailing found: '13258' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1589 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3792 AND DATE(cart_created_date) = DATE('2008-08-25 11:13:40') AND us2_order_type_id = 3 ## Order found: 1948 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1948 AND product_id = 54 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 1590 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-25 11:15:26') AND us2_order_type_id = 3 ## Order found: 1949 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1949 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3486 ## Mailing found: '13108' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373806, Consumer Id: 479810, Address Id: 1032051 => Updated with Vin: 1G4EZ13L1PU400400 ## Mail History Id: 30373814, Consumer Id: 476467, Address Id: 1036474 => Updated with Vin: 3GNEC13T02G294160 ## Mail History Id: 30373808, Consumer Id: 481442, Address Id: 9824887 => Updated with Vin: 1GNFC13J77R181512 ## Mail History Id: 30373822, Consumer Id: 471218, Address Id: 9823511 => Updated with Vin: 1D7HE22K17S107741 ## Mail History Id: 30373820, Consumer Id: 471222, Address Id: 9823514 => Updated with Vin: SHSRD78874U236837 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 1591 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-25 11:16:40') AND us2_order_type_id = 3 ## Order found: 1950 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1950 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3491 ## Mailing found: '13109' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373801, Consumer Id: 810366, Address Id: 11883654 => Updated with Vin: 1GCJK33DX6F226616 ## Mail History Id: 30373865, Consumer Id: 813451, Address Id: 11888079 => Updated with Vin: 1G1AM18B977219683 ## Mail History Id: 30374122, Consumer Id: 813675, Address Id: 11888220 => Updated with Vin: 3GNEC12017G154715 ## Mail History Id: 30373869, Consumer Id: 813449, Address Id: 11888078 => Updated with Vin: 1G1YY22G745114970 ## Mail History Id: 30373821, Consumer Id: 839890, Address Id: 11889590 => Updated with Vin: 1GNDS13S322169443 ## Mail History Id: 30374128, Consumer Id: 815853, Address Id: 11890546 => Updated with Vin: 1G1AK18F287105454 ## Mail History Id: 30373875, Consumer Id: 816033, Address Id: 11891224 => Updated with Vin: 1G1AK55F477113677 ## Mail History Id: 30373761, Consumer Id: 816046, Address Id: 11891235 => Updated with Vin: 1GNDV33L06D138298 ## Mail History Id: 30373873, Consumer Id: 815591, Address Id: 11890346 => Updated with Vin: 1GCEC14067Z514745 ## Mail History Id: 30373781, Consumer Id: 815734, Address Id: 11889141 => Updated with Vin: 1FTZF1720XKC17940 ## Mail History Id: 30373773, Consumer Id: 811177, Address Id: 11880256 => Updated with Vin: 3GCEK14V56G143395 ## Mail History Id: 30373839, Consumer Id: 833151, Address Id: 11891397 => Updated with Vin: 2GCEC13T951191812 ## Mail History Id: 30374126, Consumer Id: 827248, Address Id: 1293386 => Updated with Vin: 2G1WF52EX39238777 ## Mail History Id: 30373787, Consumer Id: 840077, Address Id: 11879253 => Updated with Vin: 1B3ES47Y0VD249855 ## Mail History Id: 30373813, Consumer Id: 833549, Address Id: 11891674 => Updated with Vin: 1GNET16S446152501 ## Mail History Id: 30374124, Consumer Id: 829540, Address Id: 11885594 => Updated with Vin: 1G1YY22G345123052 ## Mail History Id: 30373849, Consumer Id: 835737, Address Id: 11893106 => Updated with Vin: 1G1ZT54825F180901 ## Total mail_history records updated with vin numbers: 17 out of 18 ============================================================ ====== Tracking Id: 1592 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-25 11:16:52') AND us2_order_type_id = 3 ## Order found: 1950 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1950 AND product_id = 114 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3491 ## Mailing found: '13109' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373827, Consumer Id: 812559, Address Id: 11887283 => Updated with Vin: 2GCEC13J871519884 ## Mail History Id: 30373871, Consumer Id: 813526, Address Id: 11879014 => Updated with Vin: 2G1WB58K079414878 ## Mail History Id: 30373853, Consumer Id: 836055, Address Id: 11893308 => Updated with Vin: 1G1ZU54805F159977 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 1593 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-25 11:17:04') AND us2_order_type_id = 3 ## Order found: 1950 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1950 AND product_id = 113 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3491 ## Mailing found: '13109' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373819, Consumer Id: 838022, Address Id: 11894519 => Updated with Vin: 1G1ZS58F77F161064 ## Mail History Id: 30373833, Consumer Id: 838965, Address Id: 11895022 => Updated with Vin: 2CNDL13F266113328 ## Mail History Id: 30373811, Consumer Id: 815623, Address Id: 11880620 => Updated with Vin: 1D7HG48N04S757535 ## Mail History Id: 30373837, Consumer Id: 834461, Address Id: 11892279 => Updated with Vin: 1GCCS196658180890 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1594 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-25 11:18:50') AND us2_order_type_id = 3 ## Order found: 1951 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1951 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3808 ## Mailing found: '13137' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372958, Consumer Id: 1170864, Address Id: 15029102 => Updated with Vin: 1GCGG29UX71190387 ## Mail History Id: 30372986, Consumer Id: 1172324, Address Id: 15030379 => Updated with Vin: 2GCEC19R4V1145705 ## Mail History Id: 30372962, Consumer Id: 1172322, Address Id: 15030377 => Updated with Vin: 1GNFC13J97R165411 ## Mail History Id: 30372964, Consumer Id: 1172345, Address Id: 15030396 => Updated with Vin: 1GCJK33153F188388 ## Mail History Id: 30373006, Consumer Id: 1172342, Address Id: 15029287 => Updated with Vin: 1GKFK16K8RJ718944 ## Mail History Id: 30372966, Consumer Id: 1172338, Address Id: 15030392 => Updated with Vin: 2GCEC19T121390582 ## Mail History Id: 30372994, Consumer Id: 1172343, Address Id: 4509234 => Updated with Vin: 1GCEC14V01Z147831 ## Mail History Id: 30372976, Consumer Id: 1172320, Address Id: 15030375 => Updated with Vin: 1GNDM19X83B148733 ## Total mail_history records updated with vin numbers: 8 out of 11 ============================================================ ====== Tracking Id: 1595 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-25 11:18:52') AND us2_order_type_id = 3 ## Order found: 1951 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1951 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3808 ## Mailing found: '13111' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30374104, Consumer Id: 1171167, Address Id: 15029384 => Updated with Vin: 1GKDM19X43B502180 ## Mail History Id: 30374080, Consumer Id: 1171208, Address Id: 15029419 => Updated with Vin: 2G1WF55K029306925 ## Total mail_history records updated with vin numbers: 2 out of 4 ============================================================ ====== Tracking Id: 1596 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-25 11:19:02') AND us2_order_type_id = 3 ## Order found: 1952 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1952 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3721 ## Mailing found: '13135' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372832, Consumer Id: 1016621, Address Id: 6662178 => Updated with Vin: 5TESM92N94Z466445 ## Mail History Id: 30372822, Consumer Id: 1011554, Address Id: 6657561 => Updated with Vin: 4F2CZ06155KM19153 ## Mail History Id: 30372486, Consumer Id: 1007371, Address Id: 14930320 => Updated with Vin: 4F2YU09132KM19809 ## Mail History Id: 30372834, Consumer Id: 1009660, Address Id: 14930518 => Updated with Vin: 4F2CZ02Z18KM13219 ## Mail History Id: 30372826, Consumer Id: 1009721, Address Id: 14931592 => Updated with Vin: JM3TB28Y670115250 ## Mail History Id: 30372838, Consumer Id: 1009667, Address Id: 6880803 => Updated with Vin: JM1BK32F581827178 ## Total mail_history records updated with vin numbers: 6 out of 9 ============================================================ ====== Tracking Id: 1597 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-25 11:19:04') AND us2_order_type_id = 3 ## Order found: 1951 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1951 AND product_id = 114 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3808 ## Mailing found: '13111' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30374110, Consumer Id: 1272082, Address Id: 15452537 => Updated with Vin: 1GCDC14Z3PZ183696 ## Mail History Id: 30374116, Consumer Id: 1275703, Address Id: 15455835 => Updated with Vin: 3GNEC13T73G263067 ## Mail History Id: 30374108, Consumer Id: 1274674, Address Id: 15454941 => Updated with Vin: 1GNEC13Z94R194484 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1598 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-08-25 11:27:28') AND us2_order_type_id = 3 ## Order found: 1953 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '36' AND store_id = 2 ## Product Id found: 104 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1953 AND product_id = 104 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 1599 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-08-25 11:27:38') AND us2_order_type_id = 3 ## Order found: 1953 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '36' AND store_id = 2 ## Product Id found: 104 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1953 AND product_id = 104 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 1600 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-25 11:45:33') AND us2_order_type_id = 3 ## Order found: 1955 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1955 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3357 ## Mailing found: '13103' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30374033, Consumer Id: 199870, Address Id: 396523 => Updated with Vin: 2MRZA20274BJ07484 ## Mail History Id: 30374017, Consumer Id: 187382, Address Id: 398336 => Updated with Vin: 1FTPX14505FA63027 ## Mail History Id: 30374095, Consumer Id: 187449, Address Id: 398364 => Updated with Vin: 1FAFP25105G154859 ## Mail History Id: 30374093, Consumer Id: 190666, Address Id: 399588 => Updated with Vin: 1FMZU73K84ZA65855 ## Mail History Id: 30374029, Consumer Id: 190582, Address Id: 399989 => Updated with Vin: JM1BK143741142584 ## Mail History Id: 30374061, Consumer Id: 435502, Address Id: 9800057 => Updated with Vin: JM1BK32G271696928 ## Mail History Id: 30374089, Consumer Id: 320391, Address Id: 9607299 => Updated with Vin: 1FMCU03112KC16044 ## Mail History Id: 30374117, Consumer Id: 435939, Address Id: 886235 => Updated with Vin: 1FMZU77E51UC22531 ## Mail History Id: 30374037, Consumer Id: 193143, Address Id: 402697 => Updated with Vin: JM1BJ245721621739 ## Mail History Id: 30374057, Consumer Id: 189329, Address Id: 400311 => Updated with Vin: 1FMDU73W13ZB37376 ## Mail History Id: 30374091, Consumer Id: 188758, Address Id: 398709 => Updated with Vin: JM1FE17N440129187 ## Mail History Id: 30374129, Consumer Id: 188244, Address Id: 399159 => Updated with Vin: JM1BK343451257415 ## Mail History Id: 30374109, Consumer Id: 192694, Address Id: 402874 => Updated with Vin: 1FTSW31F72EA05620 ## Mail History Id: 30374039, Consumer Id: 320393, Address Id: 879409 => Updated with Vin: 1FTNW21F92EC91249 ## Mail History Id: 30374063, Consumer Id: 152956, Address Id: 395247 => Updated with Vin: 1FMPU16506LA21106 ## Mail History Id: 30374043, Consumer Id: 435925, Address Id: 9800264 => Updated with Vin: 2MEFM75W62X643752 ## Mail History Id: 30374079, Consumer Id: 320388, Address Id: 9607297 => Updated with Vin: 1FAHP60A92Y123378 ## Mail History Id: 30374099, Consumer Id: 435924, Address Id: 9800263 => Updated with Vin: 1LNHM87A12Y624572 ## Mail History Id: 30374081, Consumer Id: 320131, Address Id: 877106 => Updated with Vin: 1FAFP48YX3F402400 ## Mail History Id: 30374083, Consumer Id: 320389, Address Id: 9607298 => Updated with Vin: 1FMEU17L93LA03901 ## Mail History Id: 30374133, Consumer Id: 195405, Address Id: 404036 => Updated with Vin: 1FAHP60A33Y109722 ## Mail History Id: 30374087, Consumer Id: 190375, Address Id: 399532 => Updated with Vin: JM1FE17NX40137553 ## Mail History Id: 30374031, Consumer Id: 188794, Address Id: 401162 => Updated with Vin: 1FAHP38Z84W200345 ## Mail History Id: 30374023, Consumer Id: 152121, Address Id: 394476 => Updated with Vin: JM3LW28J450538817 ## Mail History Id: 30374019, Consumer Id: 320394, Address Id: 9607301 => Updated with Vin: 1ZVFT80NX55140382 ## Mail History Id: 30374011, Consumer Id: 197061, Address Id: 405570 => Updated with Vin: 1ZVFT82H455222969 ## Mail History Id: 30374047, Consumer Id: 152468, Address Id: 394795 => Updated with Vin: 1FAFP31N46W168141 ## Mail History Id: 30374041, Consumer Id: 152161, Address Id: 394513 => Updated with Vin: 1YVHP82D655M56957 ## Mail History Id: 30374069, Consumer Id: 153298, Address Id: 395553 => Updated with Vin: 1FTPW12585FA23896 ## Mail History Id: 30374119, Consumer Id: 188246, Address Id: 399274 => Updated with Vin: 1FMCU94115KC45065 ## Mail History Id: 30374009, Consumer Id: 197992, Address Id: 407067 => Updated with Vin: JM1BK324761413413 ## Mail History Id: 30374067, Consumer Id: 435934, Address Id: 402861 => Updated with Vin: 1ZVHT82H165241215 ## Mail History Id: 30374045, Consumer Id: 153040, Address Id: 395321 => Updated with Vin: 1FTRE14W26DA29174 ## Mail History Id: 30374097, Consumer Id: 152110, Address Id: 394466 => Updated with Vin: 1FTNS24LX6HA71121 ## Mail History Id: 30374085, Consumer Id: 154016, Address Id: 396206 => Updated with Vin: 1FAFP34N56W248382 ## Mail History Id: 30374127, Consumer Id: 154583, Address Id: 395696 => Updated with Vin: JM1NC25F270124528 ## Mail History Id: 30374123, Consumer Id: 155156, Address Id: 397235 => Updated with Vin: JM1BK144X71726796 ## Mail History Id: 30374115, Consumer Id: 155410, Address Id: 397464 => Updated with Vin: 2LMDU88C37BJ35906 ## Mail History Id: 30374027, Consumer Id: 153168, Address Id: 394594 => Updated with Vin: 1FMCU93177KA07791 ## Mail History Id: 30374021, Consumer Id: 154120, Address Id: 396306 => Updated with Vin: 1FTPW12537KC31906 ## Mail History Id: 30374125, Consumer Id: 155687, Address Id: 397724 => Updated with Vin: JM3TB38V780135858 ## Mail History Id: 30374049, Consumer Id: 155450, Address Id: 397501 => Updated with Vin: JM1BK344581817570 ## Mail History Id: 30374055, Consumer Id: 195402, Address Id: 398102 => Updated with Vin: 1FMFU16L21LA21028 ## Mail History Id: 30374101, Consumer Id: 194542, Address Id: 403470 => Updated with Vin: JM1FE17N940128925 ## Mail History Id: 30374059, Consumer Id: 198033, Address Id: 407037 => Updated with Vin: 3MEFM07Z56R616268 ## Mail History Id: 30374073, Consumer Id: 194749, Address Id: 403695 => Updated with Vin: 1FTNX21L1YEA09178 ## Mail History Id: 30374113, Consumer Id: 435936, Address Id: 9800271 => Updated with Vin: 1FMSU43F4YEE36011 ## Mail History Id: 30374105, Consumer Id: 435501, Address Id: 9800056 => Updated with Vin: 1LNHM87AXYY775287 ## Total mail_history records updated with vin numbers: 48 out of 56 ============================================================ ====== Tracking Id: 1601 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3792 AND DATE(cart_created_date) = DATE('2008-08-25 11:58:39') AND us2_order_type_id = 3 ## Order found: 1948 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1948 AND product_id = 54 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 1602 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-25 12:17:57') AND us2_order_type_id = 3 ## Order found: 1957 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1957 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3427 ## Mailing found: '13104' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373800, Consumer Id: 495896, Address Id: 9830605 => Updated with Vin: 5J6YH28583L036054 ## Mail History Id: 30373786, Consumer Id: 494317, Address Id: 9829424 => Updated with Vin: JHMES96603S013984 ## Mail History Id: 30373774, Consumer Id: 492116, Address Id: 9827814 => Updated with Vin: 1HGCG165X2A010311 ## Mail History Id: 30373772, Consumer Id: 500951, Address Id: 9835702 => Updated with Vin: 1HGCM66584A073027 ## Mail History Id: 30373762, Consumer Id: 500916, Address Id: 9835679 => Updated with Vin: SHSRD78884U233784 ## Mail History Id: 30373790, Consumer Id: 495562, Address Id: 9830368 => Updated with Vin: 1HGCM66573A019538 ## Mail History Id: 30373766, Consumer Id: 520180, Address Id: 9828344 => Updated with Vin: JTHBJ46GX82177588 ## Mail History Id: 30373780, Consumer Id: 501411, Address Id: 328019 => Updated with Vin: SHSRD78864U235517 ## Mail History Id: 30373794, Consumer Id: 498329, Address Id: 9832344 => Updated with Vin: 1HGCM82653A012971 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 1603 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-25 12:18:13') AND us2_order_type_id = 3 ## Order found: 1958 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1958 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3471 ## Mailing found: '13131' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373442, Consumer Id: 799696, Address Id: 7416593 => Updated with Vin: 1G6KF57983U144016 ## Mail History Id: 30373384, Consumer Id: 806392, Address Id: 10210320 => Updated with Vin: 1G6KF57981U206107 ## Mail History Id: 30373420, Consumer Id: 817317, Address Id: 7415825 => Updated with Vin: 1GNFK16Z12J133984 ## Mail History Id: 30373474, Consumer Id: 798563, Address Id: 10216792 => Updated with Vin: 1G6KE57Y22U145705 ## Mail History Id: 30373502, Consumer Id: 800988, Address Id: 11871448 => Updated with Vin: 1GYEK63N14R113476 ## Mail History Id: 30373468, Consumer Id: 799414, Address Id: 10215708 => Updated with Vin: 1G3NL12E4XC307711 ## Mail History Id: 30373382, Consumer Id: 801497, Address Id: 10209553 => Updated with Vin: 1G6KD54Y7XU772964 ## Mail History Id: 30373398, Consumer Id: 822086, Address Id: 10212091 => Updated with Vin: 1GYFK63837R314122 ## Mail History Id: 30373438, Consumer Id: 799805, Address Id: 11870548 => Updated with Vin: 1G6KF5790YU218696 ## Mail History Id: 30373496, Consumer Id: 799600, Address Id: 10219284 => Updated with Vin: 1GHDX13E82D243944 ## Mail History Id: 30373466, Consumer Id: 800566, Address Id: 10215612 => Updated with Vin: 1GYEK63N32R303308 ## Mail History Id: 30373456, Consumer Id: 799456, Address Id: 11870391 => Updated with Vin: 1G6DM57N430175038 ## Mail History Id: 30373486, Consumer Id: 820681, Address Id: 10217162 => Updated with Vin: 1GYEK63N56R126816 ## Mail History Id: 30373488, Consumer Id: 820928, Address Id: 10562554 => Updated with Vin: 1G6KD57Y26U189079 ## Mail History Id: 30373510, Consumer Id: 802819, Address Id: 11872093 => Updated with Vin: 3GYEK63N02G354667 ## Mail History Id: 30373452, Consumer Id: 760305, Address Id: 7416962 => Updated with Vin: 3GYFK66N04G147568 ## Mail History Id: 30373446, Consumer Id: 817578, Address Id: 7416804 => Updated with Vin: 1G6KD54Y84U195941 ## Mail History Id: 30373412, Consumer Id: 822069, Address Id: 7415600 => Updated with Vin: 1GYFK66847R313833 ## Mail History Id: 30373482, Consumer Id: 808130, Address Id: 10216574 => Updated with Vin: 1GYEE637350149569 ## Mail History Id: 30373408, Consumer Id: 816539, Address Id: 11876222 => Updated with Vin: 1G6KY54963U251886 ## Mail History Id: 30373478, Consumer Id: 759657, Address Id: 11850942 => Updated with Vin: 1G6DT57V280182760 ## Mail History Id: 30373414, Consumer Id: 760507, Address Id: 7415659 => Updated with Vin: 1GYEE637960197546 ## Mail History Id: 30373394, Consumer Id: 807064, Address Id: 10211890 => Updated with Vin: 1GYFK63888R236518 ## Mail History Id: 30373434, Consumer Id: 807069, Address Id: 11876304 => Updated with Vin: 1G6YV36A885600465 ## Mail History Id: 30373424, Consumer Id: 805247, Address Id: 7416034 => Updated with Vin: 1G6DM577940153068 ## Mail History Id: 30373480, Consumer Id: 760383, Address Id: 11851014 => Updated with Vin: 1GYFK63868R235142 ## Total mail_history records updated with vin numbers: 26 out of 33 ============================================================ ====== Tracking Id: 1604 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-25 12:18:26') AND us2_order_type_id = 3 ## Order found: 1958 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1958 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3471 ## Mailing found: '13107' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373891, Consumer Id: 797880, Address Id: 10212161 => Updated with Vin: 1G3WS52K4WF341407 ## Mail History Id: 30373907, Consumer Id: 800824, Address Id: 10214386 => Updated with Vin: 1G6KE54Y7XU771505 ## Mail History Id: 30373903, Consumer Id: 807207, Address Id: 7878869 => Updated with Vin: 1G6KE57Y43U255513 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1605 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-25 12:18:29') AND us2_order_type_id = 3 ## Order found: 1959 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1959 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3451 ## Mailing found: '13129' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373562, Consumer Id: 616333, Address Id: 831706 => Updated with Vin: 1G6EL12Y5WU606629 ## Mail History Id: 30373644, Consumer Id: 618942, Address Id: 11760523 => Updated with Vin: 1G6KS52B6PU817574 ## Mail History Id: 30373542, Consumer Id: 613605, Address Id: 826707 => Updated with Vin: 1G6KE57YX1U263919 ## Mail History Id: 30373638, Consumer Id: 759968, Address Id: 1255094 => Updated with Vin: SALTY1549YA244395 ## Mail History Id: 30373526, Consumer Id: 614805, Address Id: 824952 => Updated with Vin: 1G6KD54Y03U221043 ## Mail History Id: 30373634, Consumer Id: 614980, Address Id: 11757679 => Updated with Vin: 1G6KD54Y73U217796 ## Mail History Id: 30373626, Consumer Id: 703244, Address Id: 11803555 => Updated with Vin: 1G6KD54Y6WU711698 ## Mail History Id: 30373614, Consumer Id: 618081, Address Id: 11759800 => Updated with Vin: 1G6KD54Y23U202090 ## Mail History Id: 30373618, Consumer Id: 617502, Address Id: 11759293 => Updated with Vin: 1G6KD54Y33U197496 ## Mail History Id: 30373592, Consumer Id: 617955, Address Id: 11759715 => Updated with Vin: 1G6KD52Y7TU256262 ## Mail History Id: 30373628, Consumer Id: 621068, Address Id: 11761799 => Updated with Vin: 3GYFK66N15G123183 ## Mail History Id: 30373566, Consumer Id: 621070, Address Id: 832496 => Updated with Vin: 1G6KD54Y24U106672 ## Mail History Id: 30373576, Consumer Id: 622040, Address Id: 4550757 => Updated with Vin: 1GYEK63N85R181369 ## Mail History Id: 30373550, Consumer Id: 618024, Address Id: 829357 => Updated with Vin: 1G6KD54Y34U211043 ## Mail History Id: 30373552, Consumer Id: 626466, Address Id: 11763911 => Updated with Vin: 1G6DW677950221192 ## Mail History Id: 30373560, Consumer Id: 619231, Address Id: 11760706 => Updated with Vin: 1GYFK66837R424115 ## Mail History Id: 30373598, Consumer Id: 619267, Address Id: 11760732 => Updated with Vin: 1G6KS54Y93U258372 ## Mail History Id: 30373570, Consumer Id: 619412, Address Id: 835303 => Updated with Vin: 1G6KD54Y45U163540 ## Mail History Id: 30373624, Consumer Id: 732676, Address Id: 11849210 => Updated with Vin: 1GYFK66818R159678 ## Mail History Id: 30373608, Consumer Id: 759969, Address Id: 11850670 => Updated with Vin: 1G6DP577660101617 ## Mail History Id: 30373556, Consumer Id: 732677, Address Id: 3240875 => Updated with Vin: 1G6KD57928U159236 ## Total mail_history records updated with vin numbers: 21 out of 26 ============================================================ ====== Tracking Id: 1606 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-25 14:15:15') AND us2_order_type_id = 3 ## Order found: 1944 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1944 AND product_id = 143 ## Job Group Found: '507' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('507') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508001') AND customer_id = 3418 ## Mailing found: '13128' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30372906, Consumer Id: 610762, Address Id: 11755439 => Updated with Vin: 1GYEE437880156963 ## Mail History Id: 30372870, Consumer Id: 667366, Address Id: 8872774 => Updated with Vin: 1G6EL12Y22B101797 ## Mail History Id: 30372930, Consumer Id: 681255, Address Id: 11794729 => Updated with Vin: 1GYEE63A960185117 ## Mail History Id: 30372868, Consumer Id: 611098, Address Id: 11755727 => Updated with Vin: 1G6KD57Y47U141231 ## Mail History Id: 30372882, Consumer Id: 611082, Address Id: 11755712 => Updated with Vin: 1GYEE637X80117626 ## Mail History Id: 30372878, Consumer Id: 623651, Address Id: 11764539 => Updated with Vin: 1G6DP577960113101 ## Mail History Id: 30372904, Consumer Id: 670710, Address Id: 11788186 => Updated with Vin: 1G6KD54Y53U244088 ## Mail History Id: 30372920, Consumer Id: 665741, Address Id: 11784698 => Updated with Vin: 1G6KF57971U256206 ## Mail History Id: 30372938, Consumer Id: 675878, Address Id: 6771495 => Updated with Vin: 1G6KD57Y36U174445 ## Mail History Id: 30372880, Consumer Id: 676394, Address Id: 11791855 => Updated with Vin: 1G6DM57T960209431 ## Mail History Id: 30372860, Consumer Id: 677218, Address Id: 11418581 => Updated with Vin: 1GYEE637560219042 ## Mail History Id: 30372856, Consumer Id: 677378, Address Id: 11792405 => Updated with Vin: 1G6DW677160199786 ## Mail History Id: 30372918, Consumer Id: 677945, Address Id: 11792729 => Updated with Vin: 1G6KY5494YU199021 ## Mail History Id: 30372898, Consumer Id: 678198, Address Id: 11792887 => Updated with Vin: 1G6DP577X60203535 ## Mail History Id: 30372866, Consumer Id: 667476, Address Id: 11785947 => Updated with Vin: 1G6DM577640105558 ## Mail History Id: 30372932, Consumer Id: 612282, Address Id: 11755995 => Updated with Vin: 1G6DP577870132532 ## Mail History Id: 30372864, Consumer Id: 662889, Address Id: 11782612 => Updated with Vin: 1GYFK638X7R417246 ## Mail History Id: 30372916, Consumer Id: 665190, Address Id: 11784287 => Updated with Vin: 1G6DM57N430141195 ## Mail History Id: 30372908, Consumer Id: 612302, Address Id: 11756011 => Updated with Vin: 1G6KD54Y2YU318445 ## Mail History Id: 30372922, Consumer Id: 611075, Address Id: 11755706 => Updated with Vin: 1G6DF577580182549 ## Mail History Id: 30372854, Consumer Id: 676374, Address Id: 10323677 => Updated with Vin: 1G6KD57Y76U182404 ## Mail History Id: 30372926, Consumer Id: 681280, Address Id: 11792459 => Updated with Vin: 2GCEK19J071622484 ## Mail History Id: 30372900, Consumer Id: 679455, Address Id: 11793619 => Updated with Vin: 1G6KD57Y17U191455 ## Mail History Id: 30372910, Consumer Id: 610190, Address Id: 11754941 => Updated with Vin: 1G6DW677860220570 ## Total mail_history records updated with vin numbers: 24 out of 36 ============================================================ ====== Tracking Id: 1607 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-25 14:15:35') AND us2_order_type_id = 3 ## Order found: 1959 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1959 AND product_id = 112 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3451 ## Mailing found: '13105' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373983, Consumer Id: 615634, Address Id: 11758073 => Updated with Vin: 1G6EL12Y9XU615741 ## Mail History Id: 30373943, Consumer Id: 618326, Address Id: 827200 => Updated with Vin: 1G6KD54Y62U128137 ## Mail History Id: 30373975, Consumer Id: 616477, Address Id: 839631 => Updated with Vin: 1G6KD57Y22U162216 ## Mail History Id: 30374003, Consumer Id: 619505, Address Id: 11761236 => Updated with Vin: 1G6KS54Y32U130496 ## Mail History Id: 30373969, Consumer Id: 619479, Address Id: 836828 => Updated with Vin: 1G6DR57V780157576 ## Mail History Id: 30373971, Consumer Id: 619547, Address Id: 11761267 => Updated with Vin: 1GYEE637870184403 ## Mail History Id: 30373981, Consumer Id: 619554, Address Id: 11761273 => Updated with Vin: 1G6DM57N230152485 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 1608 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-25 14:15:49') AND us2_order_type_id = 3 ## Order found: 1959 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1959 AND product_id = 114 ## Job Group Found: '509' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('509') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082508003') AND customer_id = 3451 ## Mailing found: '13105' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30373989, Consumer Id: 627985, Address Id: 11756667 => Updated with Vin: 1G6KD57Y06U100688 ## Mail History Id: 30373953, Consumer Id: 627486, Address Id: 11756250 => Updated with Vin: 1GNCS13X14K144096 ## Mail History Id: 30373979, Consumer Id: 613322, Address Id: 11756668 => Updated with Vin: 1G6KD54Y71U220520 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 1609 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-25 20:15:21') AND us2_order_type_id = 3 ## Order found: 1940 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1940 AND product_id = 2147 ## Job Group Found: '562' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('562') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408002') AND customer_id = 3503 ## Mailing found: '13414' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31003395, Consumer Id: 2169892, Address Id: 9753050 => Updated with Vin: 5TDZK23C77S017954 ## Mail History Id: 31003399, Consumer Id: 2179877, Address Id: 9732357 => Updated with Vin: 4T1BE32K44U890653 ## Mail History Id: 31003401, Consumer Id: 2167402, Address Id: 9734751 => Updated with Vin: JTMBK31V376019230 ## Mail History Id: 31003403, Consumer Id: 2165500, Address Id: 36801 => Updated with Vin: 4T1BK46K27U516751 ## Mail History Id: 31003405, Consumer Id: 2169893, Address Id: 9753736 => Updated with Vin: 5TEMU52N88Z545208 ## Mail History Id: 31003409, Consumer Id: 2174931, Address Id: 9723028 => Updated with Vin: 4T3ZF13C3YU188117 ## Mail History Id: 31003411, Consumer Id: 2166945, Address Id: 9733887 => Updated with Vin: 4T1BK36B47U206515 ## Mail History Id: 31003413, Consumer Id: 2161339, Address Id: 9727259 => Updated with Vin: 4T1BE32K84U855064 ## Mail History Id: 31003415, Consumer Id: 2160604, Address Id: 9726025 => Updated with Vin: 5TBDT44144S446831 ## Total mail_history records updated with vin numbers: 9 out of 12 ============================================================ ====== Tracking Id: 1610 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-25 20:15:34') AND us2_order_type_id = 3 ## Order found: 1940 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1940 AND product_id = 2153 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3503 ## Mailing found: '13380' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998463, Consumer Id: 2177268, Address Id: 9726445 => Updated with Vin: JTDBR32E142031549 ## Mail History Id: 30998417, Consumer Id: 2158980, Address Id: 9722515 => Updated with Vin: 4T1BE30K43U248516 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1611 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-25 20:15:45') AND us2_order_type_id = 3 ## Order found: 1940 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1940 AND product_id = 2150 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3503 ## Mailing found: '13402,13913' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1612 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-26 07:15:43') AND us2_order_type_id = 3 ## Order found: 1980 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1980 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3503 ## Mailing found: '13402,13913' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992107, Consumer Id: 2171273, Address Id: 9719026 => Updated with Vin: 2T1CE22P62C015163 ## Mail History Id: 30992431, Consumer Id: 2175939, Address Id: 9724164 => Updated with Vin: 4T1BG22K2XU485528 ## Mail History Id: 30992364, Consumer Id: 2171991, Address Id: 9719711 => Updated with Vin: JTEHH20V710124573 ## Mail History Id: 30992322, Consumer Id: 2171450, Address Id: 9719187 => Updated with Vin: 2T1BR12E3XC198330 ## Mail History Id: 30993395, Consumer Id: 2167313, Address Id: 9720040 => Updated with Vin: JTMBD31V975088598 ## Mail History Id: 30993242, Consumer Id: 2167709, Address Id: 9734987 => Updated with Vin: 4T1BB46K47U020303 ## Mail History Id: 30992159, Consumer Id: 2175249, Address Id: 9723302 => Updated with Vin: 1NXBR32E93Z166048 ## Mail History Id: 30992288, Consumer Id: 349446, Address Id: 9738404 => Updated with Vin: JTEHD21A770048840 ## Mail History Id: 30992164, Consumer Id: 2180185, Address Id: 9732800 => Updated with Vin: 5TDZA23C14S104019 ## Mail History Id: 30993599, Consumer Id: 2175928, Address Id: 9724155 => Updated with Vin: JTEHH20V326061227 ## Mail History Id: 30992392, Consumer Id: 2173394, Address Id: 9721111 => Updated with Vin: JTEGH20VX20051535 ## Mail History Id: 30992341, Consumer Id: 2174453, Address Id: 9722265 => Updated with Vin: 4T1BG28K8XU608661 ## Mail History Id: 30992305, Consumer Id: 2164402, Address Id: 9730909 => Updated with Vin: 4T1BK36B46U108969 ## Mail History Id: 30992933, Consumer Id: 2159231, Address Id: 9723483 => Updated with Vin: JTEEP21A640004639 ## Mail History Id: 30992885, Consumer Id: 2165321, Address Id: 9720156 => Updated with Vin: JTEBU11F370033649 ## Mail History Id: 30992228, Consumer Id: 2163133, Address Id: 9729529 => Updated with Vin: 4T3ZF13C21U339485 ## Mail History Id: 30992949, Consumer Id: 2178729, Address Id: 9729368 => Updated with Vin: JTEGH20VX30088683 ## Mail History Id: 30992294, Consumer Id: 2169593, Address Id: 9738498 => Updated with Vin: 5TDZK23C78S126965 ## Mail History Id: 30992328, Consumer Id: 2161420, Address Id: 9727314 => Updated with Vin: 5TBBT44115S458556 ## Mail History Id: 30992737, Consumer Id: 425119, Address Id: 9744185 => Updated with Vin: 2T1BR32E66C656744 ## Mail History Id: 30992373, Consumer Id: 2161153, Address Id: 9726817 => Updated with Vin: 4T1BF30K55U096021 ## Mail History Id: 30993707, Consumer Id: 2163965, Address Id: 9730369 => Updated with Vin: 5TEWM72N24Z306655 ## Mail History Id: 30992891, Consumer Id: 387113, Address Id: 62453 => Updated with Vin: JTEBU14R068066887 ## Total mail_history records updated with vin numbers: 23 out of 48 ============================================================ ====== Tracking Id: 1613 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-26 08:45:38') AND us2_order_type_id = 3 ## Order found: 1981 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1981 AND product_id = 113 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3230 ## Mailing found: '13203' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1614 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-26 08:45:44') AND us2_order_type_id = 3 ## Order found: 1981 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1981 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3230 ## Mailing found: '13187' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826465, Consumer Id: 103661, Address Id: 52480 => Updated with Vin: 4M2YU57195DJ08758 ## Mail History Id: 30826455, Consumer Id: 66995, Address Id: 49384 => Updated with Vin: 1FTRX14W06NB28807 ## Mail History Id: 30826457, Consumer Id: 64619, Address Id: 48900 => Updated with Vin: 1FTSW21595EC99155 ## Mail History Id: 30826468, Consumer Id: 67477, Address Id: 50760 => Updated with Vin: 1FTWW31P76ED36472 ## Mail History Id: 30826442, Consumer Id: 65729, Address Id: 49615 => Updated with Vin: 1FTWW31P65EC75775 ## Mail History Id: 30826471, Consumer Id: 92724, Address Id: 51138 => Updated with Vin: 5N1ED28Y22C506393 ## Mail History Id: 30826444, Consumer Id: 92779, Address Id: 49205 => Updated with Vin: 1FTWW31P77EB50187 ## Mail History Id: 30826480, Consumer Id: 92966, Address Id: 51395 => Updated with Vin: 1FMEU74E17UA98785 ## Mail History Id: 30826470, Consumer Id: 759761, Address Id: 48096 => Updated with Vin: 1FDEE14N8PHA39882 ## Mail History Id: 30826470, Consumer Id: 64021, Address Id: 48096 => Updated with Vin: 1FTNW21F81EA22755 ## Mail History Id: 30826467, Consumer Id: 871120, Address Id: 11911655 => Updated with Vin: 1ZVHT85H085111473 ## Mail History Id: 30826445, Consumer Id: 38542, Address Id: 51661 => Updated with Vin: 1FAHP37N67W277735 ## Mail History Id: 30826464, Consumer Id: 67039, Address Id: 49575 => Updated with Vin: 2FMDA5149SBB94604 ## Mail History Id: 30826469, Consumer Id: 65220, Address Id: 49450 => Updated with Vin: 1FTWW33P85EB99540 ## Mail History Id: 30826448, Consumer Id: 760596, Address Id: 48663 => Updated with Vin: 3FAHP07Z78R159392 ## Mail History Id: 30826446, Consumer Id: 759762, Address Id: 11850457 => Updated with Vin: 1G1JC5240X7295376 ## Mail History Id: 30826453, Consumer Id: 67372, Address Id: 50670 => Updated with Vin: 1FTWW31PX6EB53213 ## Mail History Id: 30826474, Consumer Id: 67004, Address Id: 47962 => Updated with Vin: 2FMZA51646BA11090 ## Mail History Id: 30826481, Consumer Id: 93311, Address Id: 50058 => Updated with Vin: 1FAFP34N15W110241 ## Mail History Id: 30826454, Consumer Id: 64731, Address Id: 47287 => Updated with Vin: 1FAFP52S6WG228978 ## Mail History Id: 30826475, Consumer Id: 66697, Address Id: 47778 => Updated with Vin: 1FAFP55U73G133838 ## Mail History Id: 30826463, Consumer Id: 63889, Address Id: 51370 => Updated with Vin: 1FMZU73K14ZA80133 ## Mail History Id: 30826460, Consumer Id: 93410, Address Id: 51898 => Updated with Vin: 1FMCU93168KC07031 ## Mail History Id: 30826476, Consumer Id: 65389, Address Id: 48780 => Updated with Vin: 1FMCU04195KB28846 ## Mail History Id: 30826461, Consumer Id: 63491, Address Id: 52265 => Updated with Vin: 1FMZU75KX4ZB25874 ## Mail History Id: 30826458, Consumer Id: 64939, Address Id: 48383 => Updated with Vin: 1FAFP34P7YW329419 ## Mail History Id: 30826462, Consumer Id: 63608, Address Id: 47934 => Updated with Vin: 1FMYU04172KB54394 ## Mail History Id: 30826450, Consumer Id: 93576, Address Id: 53421 => Updated with Vin: 1FAFP53255A166389 ## Mail History Id: 30826473, Consumer Id: 93222, Address Id: 47944 => Updated with Vin: 1FMYU93147KB37422 ## Mail History Id: 30826449, Consumer Id: 93424, Address Id: 51905 => Updated with Vin: 1FAHP33N58W106417 ## Mail History Id: 30826447, Consumer Id: 93405, Address Id: 51894 => Updated with Vin: 1FTYR15E08PA31285 ## Mail History Id: 30826452, Consumer Id: 760597, Address Id: 49288 => Updated with Vin: 1FTPX14V98FB21091 ## Mail History Id: 30826460, Consumer Id: 103817, Address Id: 51898 => Updated with Vin: 1FAFP55S13G228166 ## Total mail_history records updated with vin numbers: 33 out of 42 ============================================================ ====== Tracking Id: 1615 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-26 09:19:12') AND us2_order_type_id = 3 ## Order found: 1982 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1982 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3470 ## Mailing found: '13209' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813094, Consumer Id: 554428, Address Id: 7030050 => Updated with Vin: 1D7HL32X63S367778 ## Mail History Id: 30813006, Consumer Id: 563075, Address Id: 10701341 => Updated with Vin: 1B3ES56CX5D199395 ## Mail History Id: 30813087, Consumer Id: 554738, Address Id: 10689234 => Updated with Vin: 1D8GP45R94B506060 ## Mail History Id: 30813058, Consumer Id: 557504, Address Id: 10693781 => Updated with Vin: 1D7HA18D74S514084 ## Mail History Id: 30813033, Consumer Id: 570604, Address Id: 10693936 => Updated with Vin: 1D8HD48K87F565271 ## Mail History Id: 30813070, Consumer Id: 579461, Address Id: 1552410 => Updated with Vin: 1J4GK48K34W174129 ## Mail History Id: 30813022, Consumer Id: 564573, Address Id: 4098732 => Updated with Vin: 1J4GX58S84C199276 ## Mail History Id: 30813051, Consumer Id: 574979, Address Id: 10722382 => Updated with Vin: 1D7HA16D04J293128 ## Mail History Id: 30813000, Consumer Id: 871005, Address Id: 11909984 => Updated with Vin: 1J4FA49S2YP773133 ## Mail History Id: 30813002, Consumer Id: 571973, Address Id: 10717937 => Updated with Vin: 1B3ES56C05D110532 ## Mail History Id: 30813061, Consumer Id: 571959, Address Id: 10718962 => Updated with Vin: 1B3HB48B58D567708 ## Mail History Id: 30812979, Consumer Id: 582519, Address Id: 1962654 => Updated with Vin: 2C3KA63HX7H684835 ## Mail History Id: 30813045, Consumer Id: 583128, Address Id: 3495870 => Updated with Vin: 3A4FY58B56T256095 ## Mail History Id: 30813077, Consumer Id: 573164, Address Id: 4104971 => Updated with Vin: 2A8HR44H58R604136 ## Mail History Id: 30813079, Consumer Id: 573190, Address Id: 10719498 => Updated with Vin: 1J8FT47W98D521475 ## Mail History Id: 30813090, Consumer Id: 573180, Address Id: 10711048 => Updated with Vin: 2C3LA53G88H165337 ## Mail History Id: 30813017, Consumer Id: 629587, Address Id: 11769987 => Updated with Vin: 1J8HH48N18C156599 ## Mail History Id: 30813005, Consumer Id: 871004, Address Id: 11909983 => Updated with Vin: 3C3EL55H0XT577721 ## Mail History Id: 30813084, Consumer Id: 871010, Address Id: 4691365 => Updated with Vin: 1C3EL55R24N264951 ## Mail History Id: 30812973, Consumer Id: 871007, Address Id: 11909986 => Updated with Vin: WD2YD241025335771 ## Mail History Id: 30812980, Consumer Id: 871006, Address Id: 11909985 => Updated with Vin: 1J4FA39S25P385244 ## Total mail_history records updated with vin numbers: 21 out of 24 ============================================================ ====== Tracking Id: 1616 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-26 09:19:40') AND us2_order_type_id = 3 ## Order found: 1983 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1983 AND product_id = 142 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3768 ## Mailing found: '13198' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30825957, Consumer Id: 1045197, Address Id: 12938150 => Updated with Vin: 1G6DM577040129550 ## Mail History Id: 30825956, Consumer Id: 1107477, Address Id: 5987937 => Updated with Vin: 1G6KD54Y4XU770167 ## Mail History Id: 30825953, Consumer Id: 1111634, Address Id: 14982419 => Updated with Vin: 1G6DP577760110603 ## Total mail_history records updated with vin numbers: 3 out of 6 ============================================================ ====== Tracking Id: 1617 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-26 10:19:08') AND us2_order_type_id = 3 ## Order found: 1982 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1982 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3470 ## Mailing found: '13192' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826273, Consumer Id: 981998, Address Id: 5666342 => Updated with Vin: 5N1AR18U65C721769 ## Mail History Id: 30826261, Consumer Id: 982000, Address Id: 14929163 => Updated with Vin: 2D4FV48V05H509854 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1618 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-26 10:20:33') AND us2_order_type_id = 3 ## Order found: 1984 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1984 AND product_id = 2147 ## Job Group Found: '551' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('551') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082908002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082908002') AND customer_id = 3418 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 24 ============================================================ ====== Tracking Id: 1619 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-26 10:20:45') AND us2_order_type_id = 3 ## Order found: 1984 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1984 AND product_id = 2152 ## Job Group Found: '550' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('550') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082908001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082908001') AND customer_id = 3418 ## Mailing found: '13305' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30698158, Consumer Id: 669450, Address Id: 11786984 => Updated with Vin: 1G6KY5497YU184884 ## Mail History Id: 30698160, Consumer Id: 664151, Address Id: 11783478 => Updated with Vin: 1G6DM57N730160159 ## Mail History Id: 30698162, Consumer Id: 668512, Address Id: 11786709 => Updated with Vin: 1G6DM577440143922 ## Mail History Id: 30698164, Consumer Id: 673936, Address Id: 8873446 => Updated with Vin: 1G6DP577660105831 ## Mail History Id: 30698166, Consumer Id: 675608, Address Id: 11791413 => Updated with Vin: 1G6DW677X60128019 ## Mail History Id: 30698168, Consumer Id: 669741, Address Id: 11787558 => Updated with Vin: 1GYEK63N62R329076 ## Mail History Id: 30698170, Consumer Id: 679978, Address Id: 11793940 => Updated with Vin: 2G1WD58C669100220 ## Mail History Id: 30698172, Consumer Id: 680734, Address Id: 11794415 => Updated with Vin: 3G7DA03E74S512700 ## Mail History Id: 30698174, Consumer Id: 680699, Address Id: 11794396 => Updated with Vin: 2G1WT58K179300871 ## Mail History Id: 30698176, Consumer Id: 680736, Address Id: 11794416 => Updated with Vin: 1G8AJ55F47Z118015 ## Mail History Id: 30698178, Consumer Id: 680725, Address Id: 11794408 => Updated with Vin: 2G1WT58K069323069 ## Mail History Id: 30698180, Consumer Id: 680724, Address Id: 11794407 => Updated with Vin: 1FMDA31X1VZA47810 ## Mail History Id: 30698182, Consumer Id: 610377, Address Id: 11755109 => Updated with Vin: 1G6DG577680130974 ## Mail History Id: 30698184, Consumer Id: 610363, Address Id: 11755095 => Updated with Vin: 1GYFK66878R116009 ## Mail History Id: 30698186, Consumer Id: 610353, Address Id: 11755085 => Updated with Vin: 1GYFK63857R367033 ## Total mail_history records updated with vin numbers: 15 out of 17 ============================================================ ====== Tracking Id: 1620 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-26 10:20:57') AND us2_order_type_id = 3 ## Order found: 1984 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1984 AND product_id = 2150 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3418 ## Mailing found: '13190' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1621 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-26 10:22:59') AND us2_order_type_id = 3 ## Order found: 1985 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1985 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3795 ## Mailing found: '13407' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992866, Consumer Id: 1060657, Address Id: 3087585 => Updated with Vin: 1HGCP26828A029623 ## Mail History Id: 30992500, Consumer Id: 1060701, Address Id: 5796077 => Updated with Vin: 2HGFA55508H701302 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1622 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-26 10:23:10') AND us2_order_type_id = 3 ## Order found: 1985 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1985 AND product_id = 114 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3795 ## Mailing found: '13384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998963, Consumer Id: 1068517, Address Id: 3057910 => Updated with Vin: 2HKYF18593H505162 ## Mail History Id: 30998975, Consumer Id: 1068550, Address Id: 3061882 => Updated with Vin: 1HGCM55455A151946 ## Mail History Id: 30998350, Consumer Id: 1058685, Address Id: 14957019 => Updated with Vin: 1HGFA16847L077149 ## Mail History Id: 30998845, Consumer Id: 1059684, Address Id: 6598804 => Updated with Vin: 1HGCP26818A013798 ## Mail History Id: 30998861, Consumer Id: 1059610, Address Id: 7675451 => Updated with Vin: 1HGCG16571A053826 ## Mail History Id: 30998979, Consumer Id: 1059612, Address Id: 3065804 => Updated with Vin: 5FNYF18575B021962 ## Mail History Id: 30998857, Consumer Id: 1059614, Address Id: 14957268 => Updated with Vin: 2HGES16574H636538 ## Total mail_history records updated with vin numbers: 7 out of 9 ============================================================ ====== Tracking Id: 1623 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-26 10:23:22') AND us2_order_type_id = 3 ## Order found: 1985 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1985 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3795 ## Mailing found: '13384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998985, Consumer Id: 1068772, Address Id: 14957358 => Updated with Vin: 2B3KA53HX7H686883 ## Mail History Id: 30998873, Consumer Id: 1052491, Address Id: 7680658 => Updated with Vin: 1HGCG5643YA063651 ## Mail History Id: 30998352, Consumer Id: 1055738, Address Id: 14956179 => Updated with Vin: 5FNRL38635B423656 ## Mail History Id: 30998676, Consumer Id: 1068769, Address Id: 14956692 => Updated with Vin: WBAAV53431FJ70852 ## Mail History Id: 30998839, Consumer Id: 1059638, Address Id: 7655056 => Updated with Vin: 1HGCP26748A007565 ## Mail History Id: 30998841, Consumer Id: 1059866, Address Id: 6598236 => Updated with Vin: 1HGCM56387A194198 ## Mail History Id: 30999001, Consumer Id: 1061154, Address Id: 6871385 => Updated with Vin: 5FNYF18545B006707 ## Mail History Id: 30998877, Consumer Id: 1057250, Address Id: 11313277 => Updated with Vin: JHMRA1848TC018541 ## Mail History Id: 30998903, Consumer Id: 1068730, Address Id: 7686070 => Updated with Vin: 5FNRL38886B079325 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 1624 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-26 10:23:34') AND us2_order_type_id = 3 ## Order found: 1985 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1985 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3795 ## Mailing found: '13384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30999011, Consumer Id: 1061413, Address Id: 189838 => Updated with Vin: 5FNYF18586B023642 ## Mail History Id: 30998951, Consumer Id: 1059977, Address Id: 14957352 => Updated with Vin: JHLRE48568C000274 ## Mail History Id: 30998829, Consumer Id: 1059978, Address Id: 6591724 => Updated with Vin: JT3GN86R2Y0156982 ## Mail History Id: 30998899, Consumer Id: 1059979, Address Id: 7685591 => Updated with Vin: 19UUA66276A003038 ## Mail History Id: 30998923, Consumer Id: 1059975, Address Id: 6617716 => Updated with Vin: 2HGFG126X8H518106 ## Mail History Id: 30998823, Consumer Id: 1059973, Address Id: 14957351 => Updated with Vin: 5FNRL38767B100293 ## Total mail_history records updated with vin numbers: 6 out of 10 ============================================================ ====== Tracking Id: 1625 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-26 10:23:39') AND us2_order_type_id = 3 ## Order found: 1986 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1986 AND product_id = 142 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3697 ## Mailing found: '13195' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826071, Consumer Id: 1043736, Address Id: 3238672 => Updated with Vin: 1G6DM577X40166072 ## Mail History Id: 30826079, Consumer Id: 1045963, Address Id: 14953282 => Updated with Vin: 1GKCS13W812111015 ## Mail History Id: 30826076, Consumer Id: 1044966, Address Id: 5982788 => Updated with Vin: 1GYEK63N95R233172 ## Mail History Id: 30826082, Consumer Id: 1049317, Address Id: 14954170 => Updated with Vin: 1GYEE637060194471 ## Mail History Id: 30826068, Consumer Id: 1048056, Address Id: 2774072 => Updated with Vin: 1G6KD57Y06U115188 ## Mail History Id: 30826075, Consumer Id: 1046500, Address Id: 12189838 => Updated with Vin: 3GYFK66N34G131347 ## Mail History Id: 30826072, Consumer Id: 1051371, Address Id: 11666061 => Updated with Vin: 5GADV33L55D193208 ## Mail History Id: 30826070, Consumer Id: 1046784, Address Id: 3238122 => Updated with Vin: 1G6KD54Y35U125670 ## Total mail_history records updated with vin numbers: 8 out of 11 ============================================================ ====== Tracking Id: 1626 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-26 10:23:49') AND us2_order_type_id = 3 ## Order found: 1986 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1986 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3697 ## Mailing found: '13213' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812731, Consumer Id: 1045257, Address Id: 14953083 => Updated with Vin: 1GYFK66847R425550 ## Mail History Id: 30812723, Consumer Id: 1046283, Address Id: 14953372 => Updated with Vin: 1GYDE63A340115489 ## Mail History Id: 30812732, Consumer Id: 1048613, Address Id: 14953239 => Updated with Vin: 1G6KE57Y62U300272 ## Mail History Id: 30812736, Consumer Id: 1042489, Address Id: 14952303 => Updated with Vin: 1GYEK63N23R101934 ## Mail History Id: 30812743, Consumer Id: 1049483, Address Id: 14954219 => Updated with Vin: 1G6DP577460101227 ## Mail History Id: 30812719, Consumer Id: 1047291, Address Id: 2774130 => Updated with Vin: 1G6DW677X50230838 ## Mail History Id: 30812758, Consumer Id: 1048339, Address Id: 14953930 => Updated with Vin: 1G6DP577660149635 ## Mail History Id: 30812753, Consumer Id: 1049710, Address Id: 6357579 => Updated with Vin: 1G4CW54K234189974 ## Mail History Id: 30812747, Consumer Id: 1045705, Address Id: 14953209 => Updated with Vin: 1G6KY5498XU925607 ## Mail History Id: 30812745, Consumer Id: 1049235, Address Id: 5987177 => Updated with Vin: 1G6ET12901B101563 ## Mail History Id: 30812721, Consumer Id: 1051842, Address Id: 14954941 => Updated with Vin: 1G6DP577060142051 ## Mail History Id: 30812720, Consumer Id: 1051839, Address Id: 11449159 => Updated with Vin: 1GYEC63T43R199473 ## Mail History Id: 30812726, Consumer Id: 1051846, Address Id: 4659734 => Updated with Vin: JHMAP21447S002439 ## Total mail_history records updated with vin numbers: 13 out of 17 ============================================================ ====== Tracking Id: 1627 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-26 10:24:02') AND us2_order_type_id = 3 ## Order found: 1986 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1986 AND product_id = 113 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3697 ## Mailing found: '13213' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812750, Consumer Id: 1043062, Address Id: 14952434 => Updated with Vin: 1G6KE54Y5XU744898 ## Mail History Id: 30812751, Consumer Id: 1042565, Address Id: 14952322 => Updated with Vin: 1G6KD54Y32U131478 ## Mail History Id: 30812730, Consumer Id: 1042864, Address Id: 14952392 => Updated with Vin: 3GYEK63NX3G185940 ## Mail History Id: 30812716, Consumer Id: 1051599, Address Id: 14954820 => Updated with Vin: 1G6DM577040167943 ## Mail History Id: 30812752, Consumer Id: 1043703, Address Id: 5990212 => Updated with Vin: 1G6DM57N230171604 ## Mail History Id: 30812746, Consumer Id: 1051423, Address Id: 7346790 => Updated with Vin: 1G6DC67A460194151 ## Mail History Id: 30812765, Consumer Id: 1051601, Address Id: 14954822 => Updated with Vin: 1G6KS52YXVU839997 ## Mail History Id: 30812762, Consumer Id: 1047702, Address Id: 5994277 => Updated with Vin: W06VR52R7XR066797 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 1628 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-26 10:24:14') AND us2_order_type_id = 3 ## Order found: 1986 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1986 AND product_id = 114 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3697 ## Mailing found: '13213' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1629 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-26 10:26:12') AND us2_order_type_id = 3 ## Order found: 1987 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1987 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3815 ## Mailing found: '13200' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30825920, Consumer Id: 1371882, Address Id: 15668718 => Updated with Vin: 1HGCM563X3A001883 ## Mail History Id: 30825923, Consumer Id: 1367101, Address Id: 15639880 => Updated with Vin: 1HGCP26738A057194 ## Mail History Id: 30825891, Consumer Id: 1361286, Address Id: 15633522 => Updated with Vin: 2HKYF18463H503621 ## Mail History Id: 30825928, Consumer Id: 1376943, Address Id: 15670562 => Updated with Vin: 1HGCM66516A011312 ## Mail History Id: 30825916, Consumer Id: 1377698, Address Id: 15670986 => Updated with Vin: 2HKYF18436H559942 ## Mail History Id: 30825885, Consumer Id: 1378136, Address Id: 15631987 => Updated with Vin: 2HKRL1861YH515195 ## Mail History Id: 30825925, Consumer Id: 1366632, Address Id: 15639528 => Updated with Vin: 1HGCM56777A056428 ## Mail History Id: 30825895, Consumer Id: 1371912, Address Id: 15668731 => Updated with Vin: 2HJYK165X8H504709 ## Mail History Id: 30825926, Consumer Id: 1371923, Address Id: 5785480 => Updated with Vin: 1HGFA16528L044710 ## Total mail_history records updated with vin numbers: 9 out of 20 ============================================================ ====== Tracking Id: 1630 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-26 10:26:20') AND us2_order_type_id = 3 ## Order found: 1987 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1987 AND product_id = 2147 ## Job Group Found: '551' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('551') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082908002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082908002') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 23 ============================================================ ====== Tracking Id: 1631 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-26 10:26:32') AND us2_order_type_id = 3 ## Order found: 1987 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1987 AND product_id = 2152 ## Job Group Found: '550' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('550') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082908001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082908001') AND customer_id = 3815 ## Mailing found: '13307' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30698190, Consumer Id: 1370464, Address Id: 15635612 => Updated with Vin: 1HGCG5653WA218172 ## Mail History Id: 30698192, Consumer Id: 1368317, Address Id: 15634871 => Updated with Vin: 1HGCM66543A043702 ## Mail History Id: 30698194, Consumer Id: 1376567, Address Id: 15167671 => Updated with Vin: 1HGEM21941L021356 ## Mail History Id: 30698196, Consumer Id: 1365892, Address Id: 15638796 => Updated with Vin: 5FNRL38227B070469 ## Mail History Id: 30698198, Consumer Id: 1379087, Address Id: 15639373 => Updated with Vin: 1HGCM66563A009759 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 1632 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-26 10:26:44') AND us2_order_type_id = 3 ## Order found: 1987 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1987 AND product_id = 2153 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3815 ## Mailing found: '13217' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812562, Consumer Id: 1361522, Address Id: 15633696 => Updated with Vin: 5FNRL38445B408758 ## Mail History Id: 30812564, Consumer Id: 1378768, Address Id: 15635480 => Updated with Vin: 5FNRL38805B097543 ## Mail History Id: 30812569, Consumer Id: 1378814, Address Id: 15671562 => Updated with Vin: 1HGCM56643A127635 ## Mail History Id: 30812565, Consumer Id: 1378874, Address Id: 6159525 => Updated with Vin: 2HGES25754H504841 ## Mail History Id: 30812568, Consumer Id: 1366501, Address Id: 15639307 => Updated with Vin: 1HGCM56467A224856 ## Total mail_history records updated with vin numbers: 5 out of 7 ============================================================ ====== Tracking Id: 1633 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-26 10:26:57') AND us2_order_type_id = 3 ## Order found: 1987 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1987 AND product_id = 2150 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3815 ## Mailing found: '13200' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30825933, Consumer Id: 1367073, Address Id: 15635074 => Updated with Vin: JHLRE38328C015721 ## Mail History Id: 30825932, Consumer Id: 1367074, Address Id: 144191 => Updated with Vin: 1HGFA165X8L032692 ## Mail History Id: 30825861, Consumer Id: 1366238, Address Id: 15639158 => Updated with Vin: 1HGCM56363A119896 ## Mail History Id: 30825863, Consumer Id: 1367072, Address Id: 15639861 => Updated with Vin: 2HGFG11678H518078 ## Mail History Id: 30825899, Consumer Id: 1367078, Address Id: 15639864 => Updated with Vin: 1HGFA16846L020870 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 1634 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-26 10:45:12') AND us2_order_type_id = 3 ## Order found: 1981 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1981 AND product_id = 140 ## Job Group Found: '550' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('550') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082908001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082908001') AND customer_id = 3230 ## Mailing found: '13304' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1635 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-26 10:45:54') AND us2_order_type_id = 3 ## Order found: 1988 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1988 AND product_id = 140 ## Job Group Found: '550' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('550') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082908001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082908001') AND customer_id = 3808 ## Mailing found: '13306' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1636 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-26 11:15:34') AND us2_order_type_id = 3 ## Order found: 1989 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1989 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1637 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-26 11:15:38') AND us2_order_type_id = 3 ## Order found: 1989 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1989 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1638 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-26 11:15:41') AND us2_order_type_id = 3 ## Order found: 1989 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1989 AND product_id = 113 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3486 ## Mailing found: '13211' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812956, Consumer Id: 490406, Address Id: 9822540 => Updated with Vin: 1GCEC14X16Z136894 ## Mail History Id: 30812893, Consumer Id: 475847, Address Id: 5423639 => Updated with Vin: 1GNCS18XX4K121554 ## Mail History Id: 30812848, Consumer Id: 480236, Address Id: 1031596 => Updated with Vin: 3GNEK13T13G104693 ## Mail History Id: 30812863, Consumer Id: 468703, Address Id: 4372335 => Updated with Vin: 1G1ZS51F16F279569 ## Mail History Id: 30812847, Consumer Id: 484505, Address Id: 727248 => Updated with Vin: 1G1AK58F467656294 ## Mail History Id: 30812911, Consumer Id: 485203, Address Id: 9825397 => Updated with Vin: 1GNEK13Z72J260917 ## Mail History Id: 30812950, Consumer Id: 469676, Address Id: 6948997 => Updated with Vin: 2CNDL63F966094161 ## Mail History Id: 30812867, Consumer Id: 485121, Address Id: 9825364 => Updated with Vin: 2G1WB58K479239714 ## Mail History Id: 30812874, Consumer Id: 469844, Address Id: 7988500 => Updated with Vin: 3GCEC13C47G531216 ## Mail History Id: 30812850, Consumer Id: 490402, Address Id: 2516336 => Updated with Vin: 1G1AM55B567673987 ## Mail History Id: 30812875, Consumer Id: 490454, Address Id: 629809 => Updated with Vin: 2G1WF52E419216013 ## Mail History Id: 30812951, Consumer Id: 471053, Address Id: 3862547 => Updated with Vin: 2GCEC19J681223562 ## Mail History Id: 30812929, Consumer Id: 471061, Address Id: 9823419 => Updated with Vin: 2G1WT58N289107348 ## Mail History Id: 30812958, Consumer Id: 471062, Address Id: 9823420 => Updated with Vin: 1GGCS199778703894 ## Mail History Id: 30812946, Consumer Id: 471060, Address Id: 2014505 => Updated with Vin: 19UUA66244A073836 ## Mail History Id: 30812869, Consumer Id: 471065, Address Id: 9823422 => Updated with Vin: 1GNDS13S982147391 ## Mail History Id: 30812930, Consumer Id: 490404, Address Id: 635907 => Updated with Vin: 1G2NV12E0YM717349 ## Mail History Id: 30812862, Consumer Id: 471073, Address Id: 9823426 => Updated with Vin: 1GBHG31U041143004 ## Mail History Id: 30812852, Consumer Id: 490459, Address Id: 9826547 => Updated with Vin: 1GNEK13Z73R214250 ## Mail History Id: 30812906, Consumer Id: 490405, Address Id: 5368474 => Updated with Vin: 1G1NE52J6Y6203311 ## Total mail_history records updated with vin numbers: 20 out of 24 ============================================================ ====== Tracking Id: 1639 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-26 11:16:28') AND us2_order_type_id = 3 ## Order found: 1990 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1990 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3416 ## Mailing found: '13205' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813208, Consumer Id: 625171, Address Id: 11765843 => Updated with Vin: 1G6KD57Y07U161492 ## Mail History Id: 30813176, Consumer Id: 625242, Address Id: 3763905 => Updated with Vin: 1GYEK63N32R250674 ## Mail History Id: 30813198, Consumer Id: 625289, Address Id: 11765895 => Updated with Vin: 1G6DP577970178905 ## Mail History Id: 30813175, Consumer Id: 692648, Address Id: 11795972 => Updated with Vin: 2G1WF52E739290867 ## Mail History Id: 30813239, Consumer Id: 693069, Address Id: 11798665 => Updated with Vin: 2G1WW12E319157870 ## Mail History Id: 30813171, Consumer Id: 693286, Address Id: 11798766 => Updated with Vin: 1B4GP54R2VB293120 ## Mail History Id: 30813210, Consumer Id: 693294, Address Id: 11798770 => Updated with Vin: 1G6KS52Y2VU810817 ## Mail History Id: 30813216, Consumer Id: 625869, Address Id: 1960458 => Updated with Vin: 5GTEN63L488182887 ## Mail History Id: 30813188, Consumer Id: 682804, Address Id: 1969682 => Updated with Vin: 1G6KE57Y31U156081 ## Mail History Id: 30813183, Consumer Id: 685918, Address Id: 3766512 => Updated with Vin: 1G6DM577740114012 ## Mail History Id: 30813222, Consumer Id: 693290, Address Id: 1961477 => Updated with Vin: 1G6KD54Y3XU743588 ## Mail History Id: 30813178, Consumer Id: 690219, Address Id: 3764602 => Updated with Vin: 1G6KD52Y5TU262853 ## Mail History Id: 30813215, Consumer Id: 686825, Address Id: 1960395 => Updated with Vin: 1G6KD54Y83U129677 ## Mail History Id: 30813182, Consumer Id: 693296, Address Id: 11798771 => Updated with Vin: 1GTCS19X7V8510013 ## Mail History Id: 30813169, Consumer Id: 688442, Address Id: 10934811 => Updated with Vin: 1G6DP567950140511 ## Mail History Id: 30813226, Consumer Id: 690311, Address Id: 11766097 => Updated with Vin: 5GTDN136968190408 ## Mail History Id: 30813187, Consumer Id: 688713, Address Id: 1969664 => Updated with Vin: 1G6KD54Y12U266863 ## Mail History Id: 30813184, Consumer Id: 689271, Address Id: 11797171 => Updated with Vin: 3GYEK62N05G255224 ## Mail History Id: 30813220, Consumer Id: 691004, Address Id: 1961395 => Updated with Vin: 1GYEE637440174933 ## Mail History Id: 30813196, Consumer Id: 691166, Address Id: 11797856 => Updated with Vin: 1G6DM57T560202542 ## Mail History Id: 30813177, Consumer Id: 692022, Address Id: 11798179 => Updated with Vin: 1G1ZT62825F208074 ## Mail History Id: 30813195, Consumer Id: 693298, Address Id: 11798738 => Updated with Vin: 1G6KS54Y6XU934136 ## Total mail_history records updated with vin numbers: 22 out of 22 ============================================================ ====== Tracking Id: 1640 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-26 11:16:38') AND us2_order_type_id = 3 ## Order found: 1991 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1991 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3491 ## Mailing found: '13194' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826124, Consumer Id: 982317, Address Id: 14903159 => Updated with Vin: 1D7HA16N86J116564 ## Mail History Id: 30826124, Consumer Id: 982317, Address Id: 14903159 => Updated with Vin: 1D7HA16N86J116564 ## Mail History Id: 30826090, Consumer Id: 973899, Address Id: 14903156 => Updated with Vin: 1GCEC19X46Z109598 ## Mail History Id: 30826109, Consumer Id: 959736, Address Id: 14830974 => Updated with Vin: 1GCHC24KX7E573308 ## Mail History Id: 30826118, Consumer Id: 959733, Address Id: 14830971 => Updated with Vin: 1GNDT13W52K226824 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 1641 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-26 11:16:44') AND us2_order_type_id = 3 ## Order found: 1990 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1990 AND product_id = 114 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3416 ## Mailing found: '13205' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813192, Consumer Id: 692912, Address Id: 11798581 => Updated with Vin: 1HGCM66825A044053 ## Mail History Id: 30813201, Consumer Id: 692902, Address Id: 11795668 => Updated with Vin: 1G6KD54Y13U245626 ## Mail History Id: 30813227, Consumer Id: 690016, Address Id: 11797474 => Updated with Vin: 1G6KD54Y8YU193144 ## Mail History Id: 30813236, Consumer Id: 684026, Address Id: 11795545 => Updated with Vin: 1G6KD52Y1TU266091 ## Mail History Id: 30813185, Consumer Id: 682907, Address Id: 11795222 => Updated with Vin: 1G6KD54Y5WU793679 ## Mail History Id: 30813174, Consumer Id: 688452, Address Id: 3763154 => Updated with Vin: 1G3NK12F54C144705 ## Mail History Id: 30813191, Consumer Id: 686325, Address Id: 1969967 => Updated with Vin: 1G6KS54Y5YU252205 ## Mail History Id: 30813213, Consumer Id: 686660, Address Id: 1959678 => Updated with Vin: 1G6DM57N630119487 ## Mail History Id: 30813234, Consumer Id: 688530, Address Id: 1964671 => Updated with Vin: 1G6KE57Y2YU271006 ## Mail History Id: 30813229, Consumer Id: 692907, Address Id: 11798027 => Updated with Vin: 1GNDX03E81D295399 ## Mail History Id: 30813190, Consumer Id: 692901, Address Id: 1969932 => Updated with Vin: 1G6KD57906U241415 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 1642 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-26 11:16:52') AND us2_order_type_id = 3 ## Order found: 1991 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1991 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3491 ## Mailing found: '13212' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812818, Consumer Id: 836480, Address Id: 11893571 => Updated with Vin: 1GMDX03E64D214988 ## Mail History Id: 30812787, Consumer Id: 839966, Address Id: 11883003 => Updated with Vin: 1G1AL55F777136982 ## Mail History Id: 30812795, Consumer Id: 813342, Address Id: 11888009 => Updated with Vin: 1GCEC14X65Z101928 ## Mail History Id: 30812832, Consumer Id: 813673, Address Id: 11888219 => Updated with Vin: KL1TD56697B150771 ## Mail History Id: 30812829, Consumer Id: 814406, Address Id: 11888995 => Updated with Vin: 1G1ZW57157F162627 ## Mail History Id: 30812823, Consumer Id: 839656, Address Id: 11895380 => Updated with Vin: JS3TY92V554107937 ## Mail History Id: 30812817, Consumer Id: 815491, Address Id: 11883221 => Updated with Vin: KL1TD56668B097870 ## Mail History Id: 30812776, Consumer Id: 815677, Address Id: 4195930 => Updated with Vin: 1GNES13H772239221 ## Mail History Id: 30812773, Consumer Id: 840076, Address Id: 11895541 => Updated with Vin: 2B6HB21XXVK602032 ## Mail History Id: 30812835, Consumer Id: 827947, Address Id: 11882274 => Updated with Vin: 1G1JH52T827148935 ## Mail History Id: 30812804, Consumer Id: 815978, Address Id: 11891183 => Updated with Vin: KL1TD56697B051447 ## Mail History Id: 30812828, Consumer Id: 826534, Address Id: 11880114 => Updated with Vin: 1GNEK13Z42J178210 ## Mail History Id: 30812831, Consumer Id: 837927, Address Id: 11889351 => Updated with Vin: 1GCEK19B15E326992 ## Mail History Id: 30812819, Consumer Id: 829957, Address Id: 11887043 => Updated with Vin: 1GNEC16Z84J151619 ## Mail History Id: 30812812, Consumer Id: 827063, Address Id: 11881729 => Updated with Vin: 2G1WF52E649164484 ## Total mail_history records updated with vin numbers: 15 out of 16 ============================================================ ====== Tracking Id: 1643 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-26 11:17:09') AND us2_order_type_id = 3 ## Order found: 1991 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1991 AND product_id = 114 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3491 ## Mailing found: '13212' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812784, Consumer Id: 813962, Address Id: 11874709 => Updated with Vin: 3GNFK16ZX5G105316 ## Mail History Id: 30812780, Consumer Id: 810486, Address Id: 11874548 => Updated with Vin: 1G1AK15F267802866 ## Mail History Id: 30812775, Consumer Id: 810717, Address Id: 11875617 => Updated with Vin: 2G1WW12E629333814 ## Mail History Id: 30812772, Consumer Id: 812304, Address Id: 1293749 => Updated with Vin: 1G2NF52E01M600512 ## Mail History Id: 30812785, Consumer Id: 811377, Address Id: 11874717 => Updated with Vin: KL1TD66676B660735 ## Mail History Id: 30812806, Consumer Id: 812852, Address Id: 11875917 => Updated with Vin: KL1TD62645B436455 ## Mail History Id: 30812808, Consumer Id: 838680, Address Id: 11876054 => Updated with Vin: 1GNES16S326127606 ## Mail History Id: 30812779, Consumer Id: 813924, Address Id: 11888371 => Updated with Vin: 2G1FP22G012121910 ## Mail History Id: 30812822, Consumer Id: 814490, Address Id: 11889062 => Updated with Vin: 1G1AK55F377408849 ## Mail History Id: 30812810, Consumer Id: 814484, Address Id: 11889059 => Updated with Vin: 1G1AK58F087106013 ## Mail History Id: 30812782, Consumer Id: 814455, Address Id: 11874679 => Updated with Vin: 1G1ZT58F67F108403 ## Mail History Id: 30812790, Consumer Id: 839444, Address Id: 1300768 => Updated with Vin: 1GNFC13J37R167879 ## Mail History Id: 30812791, Consumer Id: 839443, Address Id: 11875081 => Updated with Vin: 2GTEC13V261243493 ## Mail History Id: 30812783, Consumer Id: 814872, Address Id: 11889508 => Updated with Vin: 1GNEC13T21R141584 ## Mail History Id: 30812813, Consumer Id: 814873, Address Id: 11889570 => Updated with Vin: 3B7HC13Z4TG159100 ## Mail History Id: 30812834, Consumer Id: 838077, Address Id: 11894545 => Updated with Vin: 1GNEK13T15R183706 ## Total mail_history records updated with vin numbers: 16 out of 16 ============================================================ ====== Tracking Id: 1644 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-26 11:17:26') AND us2_order_type_id = 3 ## Order found: 1991 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1991 AND product_id = 113 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3491 ## Mailing found: '13212' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812800, Consumer Id: 811062, Address Id: 11885871 => Updated with Vin: 1GNDV33L06D193463 ## Mail History Id: 30812777, Consumer Id: 811360, Address Id: 11885991 => Updated with Vin: 1GCHK29D66E285829 ## Mail History Id: 30812821, Consumer Id: 839472, Address Id: 11889415 => Updated with Vin: 1GKFK66U31J226762 ## Mail History Id: 30812840, Consumer Id: 815208, Address Id: 11889792 => Updated with Vin: 1GTEC19V05Z186059 ## Mail History Id: 30812792, Consumer Id: 815651, Address Id: 11890392 => Updated with Vin: 1D4GP24R16B593401 ## Mail History Id: 30812786, Consumer Id: 815451, Address Id: 11874849 => Updated with Vin: 1GNES16S746126428 ## Mail History Id: 30812846, Consumer Id: 815446, Address Id: 11890244 => Updated with Vin: 3GNDA13D28S574291 ## Mail History Id: 30812788, Consumer Id: 815453, Address Id: 11890248 => Updated with Vin: 1D7HU16054J287820 ## Mail History Id: 30812768, Consumer Id: 815476, Address Id: 11889884 => Updated with Vin: 1GNEC13ZX4J323198 ## Mail History Id: 30812844, Consumer Id: 815455, Address Id: 11890250 => Updated with Vin: 2G2WS522751146704 ## Mail History Id: 30812798, Consumer Id: 815478, Address Id: 11874620 => Updated with Vin: 2GCEC13T161166405 ## Mail History Id: 30812839, Consumer Id: 815440, Address Id: 11890239 => Updated with Vin: 1FMDU34E9VZC13508 ## Mail History Id: 30812802, Consumer Id: 826831, Address Id: 11881548 => Updated with Vin: 3GNFK16T8YG200862 ## Mail History Id: 30812816, Consumer Id: 828828, Address Id: 11883966 => Updated with Vin: 1GNEC16Z32J122512 ## Total mail_history records updated with vin numbers: 14 out of 20 ============================================================ ====== Tracking Id: 1645 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-26 11:18:14') AND us2_order_type_id = 3 ## Order found: 1992 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1992 AND product_id = 144 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3705 ## Mailing found: '13196' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826031, Consumer Id: 973501, Address Id: 14839237 => Updated with Vin: 1GCCS198X48181346 ## Mail History Id: 30825993, Consumer Id: 970587, Address Id: 14841524 => Updated with Vin: 1GCCS136868135007 ## Mail History Id: 30826066, Consumer Id: 964318, Address Id: 14836842 => Updated with Vin: 1GNES16S066133045 ## Mail History Id: 30826021, Consumer Id: 963897, Address Id: 11387174 => Updated with Vin: 1GNES16S666126150 ## Mail History Id: 30826052, Consumer Id: 964633, Address Id: 14837127 => Updated with Vin: 1G1AK55F767801364 ## Mail History Id: 30826058, Consumer Id: 966116, Address Id: 14838220 => Updated with Vin: 3GNDA13D47S505911 ## Mail History Id: 30826044, Consumer Id: 969657, Address Id: 14840869 => Updated with Vin: 2CNDL13F956198764 ## Mail History Id: 30826047, Consumer Id: 969732, Address Id: 14840924 => Updated with Vin: 1GTCS136568120660 ## Mail History Id: 30826045, Consumer Id: 970383, Address Id: 14841377 => Updated with Vin: 2GTEC19J571620811 ## Mail History Id: 30826062, Consumer Id: 969955, Address Id: 14841077 => Updated with Vin: 3GNDA33P28S552524 ## Mail History Id: 30825989, Consumer Id: 970952, Address Id: 14841812 => Updated with Vin: 3GNDA13D48S533399 ## Mail History Id: 30826037, Consumer Id: 971518, Address Id: 14842220 => Updated with Vin: 1G4HP57238U138327 ## Mail History Id: 30826028, Consumer Id: 973913, Address Id: 9273590 => Updated with Vin: 3GCEC13C78G100998 ## Mail History Id: 30825997, Consumer Id: 973918, Address Id: 11386526 => Updated with Vin: 2G4WE587481185949 ## Mail History Id: 30826039, Consumer Id: 973915, Address Id: 14903187 => Updated with Vin: 3GCEC13C58G158933 ## Mail History Id: 30826041, Consumer Id: 973941, Address Id: 14839899 => Updated with Vin: 3GCEC13C47G521513 ## Mail History Id: 30825991, Consumer Id: 973919, Address Id: 14903189 => Updated with Vin: 1J8FT47W17D171497 ## Mail History Id: 30826059, Consumer Id: 973921, Address Id: 14903190 => Updated with Vin: 1GNDS13S082107331 ## Mail History Id: 30825985, Consumer Id: 973923, Address Id: 14903191 => Updated with Vin: KL1TD56607B075331 ## Mail History Id: 30826065, Consumer Id: 973924, Address Id: 14903192 => Updated with Vin: 1G4HE57Y68U124108 ## Mail History Id: 30825990, Consumer Id: 973928, Address Id: 14903195 => Updated with Vin: 2GCEC19JX81250487 ## Mail History Id: 30826002, Consumer Id: 965744, Address Id: 14837968 => Updated with Vin: 1GKES63M662349604 ## Mail History Id: 30826051, Consumer Id: 960181, Address Id: 8042916 => Updated with Vin: 1GNEC13Z53R101720 ## Mail History Id: 30825986, Consumer Id: 979810, Address Id: 14846305 => Updated with Vin: 2G4WD582661184774 ## Mail History Id: 30826054, Consumer Id: 978450, Address Id: 9231931 => Updated with Vin: 1G1AK55F967707843 ## Mail History Id: 30826000, Consumer Id: 969788, Address Id: 14840958 => Updated with Vin: 1G8JW52R3YY663999 ## Mail History Id: 30826016, Consumer Id: 973912, Address Id: 11773287 => Updated with Vin: 1D4HD58D25F529372 ## Total mail_history records updated with vin numbers: 27 out of 34 ============================================================ ====== Tracking Id: 1646 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-26 11:18:25') AND us2_order_type_id = 3 ## Order found: 1992 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1992 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1647 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-26 11:18:40') AND us2_order_type_id = 3 ## Order found: 1992 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1992 AND product_id = 106 ## Job Group Found: '545' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('545') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808004') AND customer_id = 3705 ## Mailing found: '13257' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30756910, Consumer Id: 971332, Address Id: 14842064 => Updated with Vin: 1GNFC13018R148305 ## Mail History Id: 30756901, Consumer Id: 971333, Address Id: 9913805 => Updated with Vin: 1G1ZU57N57F241126 ## Mail History Id: 30756911, Consumer Id: 971334, Address Id: 14842065 => Updated with Vin: 1G2NW52EX4C161118 ## Mail History Id: 30756900, Consumer Id: 971335, Address Id: 14842066 => Updated with Vin: 1GCHC29K87E594893 ## Mail History Id: 30756912, Consumer Id: 971339, Address Id: 14831957 => Updated with Vin: 1GNDT13S872186985 ## Mail History Id: 30756914, Consumer Id: 977530, Address Id: 14845064 => Updated with Vin: 1GCHK23U14F125146 ## Mail History Id: 30756913, Consumer Id: 979606, Address Id: 14846191 => Updated with Vin: 1GKDS13S252160489 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 1648 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-26 11:18:57') AND us2_order_type_id = 3 ## Order found: 1992 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1992 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3705 ## Mailing found: '13214' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812705, Consumer Id: 971816, Address Id: 10456318 => Updated with Vin: 1GCHC23K78F189242 ## Mail History Id: 30812688, Consumer Id: 972198, Address Id: 14842691 => Updated with Vin: 3GCEC13088G196808 ## Mail History Id: 30812714, Consumer Id: 972212, Address Id: 14842702 => Updated with Vin: 3GNDA23D08S567930 ## Mail History Id: 30812682, Consumer Id: 972410, Address Id: 14842824 => Updated with Vin: 1GNFC13058R193232 ## Mail History Id: 30812708, Consumer Id: 972412, Address Id: 14842825 => Updated with Vin: 2GCEC19J681223349 ## Mail History Id: 30812680, Consumer Id: 972454, Address Id: 14842854 => Updated with Vin: 1GKFK668X8J201418 ## Mail History Id: 30812678, Consumer Id: 972455, Address Id: 8032347 => Updated with Vin: 1GKFK63818J153456 ## Mail History Id: 30812683, Consumer Id: 979206, Address Id: 9492366 => Updated with Vin: 1GKDT13S252197233 ## Mail History Id: 30812702, Consumer Id: 980362, Address Id: 14846619 => Updated with Vin: 2GCEC19V931375198 ## Mail History Id: 30812695, Consumer Id: 980361, Address Id: 14846618 => Updated with Vin: 2GTEC19V741226077 ## Mail History Id: 30812709, Consumer Id: 980364, Address Id: 8066147 => Updated with Vin: 1GKFC16017J233991 ## Total mail_history records updated with vin numbers: 11 out of 11 ============================================================ ====== Tracking Id: 1649 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-26 11:19:14') AND us2_order_type_id = 3 ## Order found: 1988 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1988 AND product_id = 114 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3808 ## Mailing found: '13216' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812628, Consumer Id: 1268259, Address Id: 14813775 => Updated with Vin: 1GCEK19B35Z215675 ## Mail History Id: 30812627, Consumer Id: 1286896, Address Id: 15464265 => Updated with Vin: 1GCCS14X2WK101431 ## Mail History Id: 30812621, Consumer Id: 1287282, Address Id: 15464555 => Updated with Vin: 1GCEC19T03Z323528 ## Mail History Id: 30812583, Consumer Id: 1283256, Address Id: 15461730 => Updated with Vin: 1GNDV23L55D283944 ## Mail History Id: 30812601, Consumer Id: 1272662, Address Id: 11573823 => Updated with Vin: 1GCEK19KXRE274199 ## Mail History Id: 30812624, Consumer Id: 1271317, Address Id: 15437846 => Updated with Vin: 3GNEC16R5XG213063 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 1650 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-26 11:19:17') AND us2_order_type_id = 3 ## Order found: 1993 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1993 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3721 ## Mailing found: '13197' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30825959, Consumer Id: 1010661, Address Id: 6657589 => Updated with Vin: JM1NB353240404301 ## Mail History Id: 30825975, Consumer Id: 1017530, Address Id: 14933506 => Updated with Vin: JM1BK12F271747615 ## Total mail_history records updated with vin numbers: 2 out of 8 ============================================================ ====== Tracking Id: 1651 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-26 11:19:30') AND us2_order_type_id = 3 ## Order found: 1988 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1988 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3808 ## Mailing found: '13216' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812612, Consumer Id: 1171194, Address Id: 15029406 => Updated with Vin: KL1TG56617B101863 ## Mail History Id: 30812623, Consumer Id: 1171183, Address Id: 15029396 => Updated with Vin: 1G1AK15F067788532 ## Mail History Id: 30812633, Consumer Id: 1171244, Address Id: 11579321 => Updated with Vin: 1G1YY36U765100852 ## Mail History Id: 30812634, Consumer Id: 1171212, Address Id: 15029423 => Updated with Vin: 1GCJC39134E134115 ## Mail History Id: 30812575, Consumer Id: 1171243, Address Id: 15029452 => Updated with Vin: 1G1AK15F367800043 ## Mail History Id: 30812591, Consumer Id: 1171230, Address Id: 15029440 => Updated with Vin: 1GTHC23194F141730 ## Mail History Id: 30812603, Consumer Id: 1171185, Address Id: 15029398 => Updated with Vin: 1GNEC13R4XJ355889 ## Mail History Id: 30812586, Consumer Id: 1171199, Address Id: 15029410 => Updated with Vin: 2GTFK29K1S1580886 ## Mail History Id: 30812616, Consumer Id: 1171193, Address Id: 15029405 => Updated with Vin: 1GNES16S156121405 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 1652 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-26 11:45:31') AND us2_order_type_id = 3 ## Order found: 1994 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1994 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3357 ## Mailing found: '13204' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813249, Consumer Id: 436368, Address Id: 9800480 => Updated with Vin: JM3LW28G4Y0150463 ## Mail History Id: 30813328, Consumer Id: 436370, Address Id: 9800482 => Updated with Vin: 4M2ZV11T91DJ13103 ## Mail History Id: 30813318, Consumer Id: 195137, Address Id: 402484 => Updated with Vin: 1FMSU43P64EB01769 ## Mail History Id: 30813323, Consumer Id: 199514, Address Id: 406933 => Updated with Vin: 1FMZU67E42UD41098 ## Mail History Id: 30813287, Consumer Id: 189558, Address Id: 398868 => Updated with Vin: 1FMZU73W22ZA61123 ## Mail History Id: 30813290, Consumer Id: 436376, Address Id: 9800484 => Updated with Vin: 1FAFP53U73A252740 ## Mail History Id: 30813305, Consumer Id: 436363, Address Id: 9800477 => Updated with Vin: 1FTNX21P93EC75155 ## Mail History Id: 30813294, Consumer Id: 189746, Address Id: 398903 => Updated with Vin: JM1BK123541142604 ## Mail History Id: 30813262, Consumer Id: 436369, Address Id: 9800481 => Updated with Vin: 1FAFP42XX4F201954 ## Mail History Id: 30813313, Consumer Id: 436366, Address Id: 9800479 => Updated with Vin: 1FAFP55S44G142657 ## Mail History Id: 30813240, Consumer Id: 420585, Address Id: 9800054 => Updated with Vin: 4T1BE32K94U891121 ## Mail History Id: 30813347, Consumer Id: 152981, Address Id: 395269 => Updated with Vin: JM1NB354550412984 ## Mail History Id: 30813320, Consumer Id: 151898, Address Id: 394267 => Updated with Vin: JM1BK323851345578 ## Mail History Id: 30813281, Consumer Id: 435930, Address Id: 9800267 => Updated with Vin: 1FAFP34N15W182850 ## Mail History Id: 30813242, Consumer Id: 154049, Address Id: 396239 => Updated with Vin: 1YVHP80D265M43093 ## Mail History Id: 30813282, Consumer Id: 435515, Address Id: 9800065 => Updated with Vin: 5TDZA23CX6S572379 ## Mail History Id: 30813241, Consumer Id: 155679, Address Id: 397716 => Updated with Vin: JM1CR29L370158855 ## Mail History Id: 30813264, Consumer Id: 155491, Address Id: 397540 => Updated with Vin: 1FTPX12547FB60303 ## Mail History Id: 30813342, Consumer Id: 155449, Address Id: 397500 => Updated with Vin: JM1BK32G681820295 ## Mail History Id: 30813300, Consumer Id: 189111, Address Id: 399326 => Updated with Vin: 1FMYU03132KC60018 ## Mail History Id: 30813301, Consumer Id: 195085, Address Id: 394367 => Updated with Vin: 1FTNW21F13EA13155 ## Mail History Id: 30813256, Consumer Id: 174007, Address Id: 445743 => Updated with Vin: 1ZVHT82H985160272 ## Mail History Id: 30813298, Consumer Id: 193111, Address Id: 402866 => Updated with Vin: 1FTRW07682KE15056 ## Mail History Id: 30813285, Consumer Id: 199502, Address Id: 398495 => Updated with Vin: 1FMZU64E1YZB23748 ## Mail History Id: 30813289, Consumer Id: 436375, Address Id: 404886 => Updated with Vin: JM3TB28V880126807 ## Total mail_history records updated with vin numbers: 25 out of 27 ============================================================ ====== Tracking Id: 1653 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-26 11:45:35') AND us2_order_type_id = 3 ## Order found: 1993 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1993 AND product_id = 2150 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3721 ## Mailing found: '13197' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30825969, Consumer Id: 1016647, Address Id: 14933248 => Updated with Vin: 1YVHP80C075M08660 ## Mail History Id: 30825962, Consumer Id: 1007908, Address Id: 6658364 => Updated with Vin: 4F2YU08172KM38008 ## Mail History Id: 30825976, Consumer Id: 1017246, Address Id: 6666779 => Updated with Vin: JM1NB353540400128 ## Mail History Id: 30825966, Consumer Id: 1017466, Address Id: 14933471 => Updated with Vin: 1YVHP80C965M46032 ## Mail History Id: 30825977, Consumer Id: 1017487, Address Id: 14933479 => Updated with Vin: 1YVGF22C9X5893471 ## Mail History Id: 30825966, Consumer Id: 1017488, Address Id: 14933471 => Updated with Vin: JM3ER293570107678 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 1654 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-26 11:45:43') AND us2_order_type_id = 3 ## Order found: 1994 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1994 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1655 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-26 11:45:47') AND us2_order_type_id = 3 ## Order found: 1994 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1994 AND product_id = 114 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3357 ## Mailing found: '13204' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813280, Consumer Id: 189627, Address Id: 399923 => Updated with Vin: 2FDHP74W45X107320 ## Mail History Id: 30813258, Consumer Id: 189623, Address Id: 401951 => Updated with Vin: JM1BK343751249776 ## Mail History Id: 30813293, Consumer Id: 193639, Address Id: 403189 => Updated with Vin: JM3LW28AX30337484 ## Mail History Id: 30813329, Consumer Id: 197333, Address Id: 406285 => Updated with Vin: 1FAFP52U74A130298 ## Mail History Id: 30813308, Consumer Id: 195135, Address Id: 404057 => Updated with Vin: 1FMFU17515LA57430 ## Mail History Id: 30813248, Consumer Id: 155402, Address Id: 397457 => Updated with Vin: 1FTRX12W94NB06921 ## Mail History Id: 30813340, Consumer Id: 187223, Address Id: 398011 => Updated with Vin: 1FMZU67K35UA79052 ## Mail History Id: 30813316, Consumer Id: 155149, Address Id: 397228 => Updated with Vin: 1FMZU63E25UB42562 ## Mail History Id: 30813332, Consumer Id: 152105, Address Id: 394461 => Updated with Vin: JM1NC25F860104525 ## Mail History Id: 30813254, Consumer Id: 197553, Address Id: 407188 => Updated with Vin: JM1NC25F060112800 ## Mail History Id: 30813317, Consumer Id: 194112, Address Id: 404446 => Updated with Vin: JM1BK144161504159 ## Mail History Id: 30813334, Consumer Id: 152251, Address Id: 394593 => Updated with Vin: 1ZVHT80N665149221 ## Mail History Id: 30813271, Consumer Id: 153452, Address Id: 395699 => Updated with Vin: 1ZVFT80N965161094 ## Mail History Id: 30813346, Consumer Id: 152613, Address Id: 394932 => Updated with Vin: 1FTPW14586FA95521 ## Mail History Id: 30813243, Consumer Id: 197593, Address Id: 407193 => Updated with Vin: 1FTRF12236NB51114 ## Mail History Id: 30813244, Consumer Id: 152898, Address Id: 395194 => Updated with Vin: 1FTYR10D36PA35407 ## Mail History Id: 30813247, Consumer Id: 197179, Address Id: 406482 => Updated with Vin: JM3ER29LX70128476 ## Mail History Id: 30813343, Consumer Id: 154052, Address Id: 396242 => Updated with Vin: JM1BK12G871674713 ## Mail History Id: 30813341, Consumer Id: 154905, Address Id: 397014 => Updated with Vin: 1ZVFT82H775314242 ## Mail History Id: 30813288, Consumer Id: 197411, Address Id: 403898 => Updated with Vin: 1FAHP241X7G121459 ## Mail History Id: 30813269, Consumer Id: 195897, Address Id: 399134 => Updated with Vin: 1FMEU31K97UA00668 ## Mail History Id: 30813272, Consumer Id: 155285, Address Id: 397352 => Updated with Vin: 1FAHP34N87W211997 ## Mail History Id: 30813245, Consumer Id: 154961, Address Id: 397059 => Updated with Vin: 1FAHP31N27W246488 ## Mail History Id: 30813350, Consumer Id: 155342, Address Id: 397402 => Updated with Vin: JM1BK324981774841 ## Mail History Id: 30813279, Consumer Id: 187467, Address Id: 398180 => Updated with Vin: 1FAFP53U7YG277691 ## Mail History Id: 30813314, Consumer Id: 196473, Address Id: 398913 => Updated with Vin: 1FTNX21SXYEB59913 ## Total mail_history records updated with vin numbers: 26 out of 33 ============================================================ ====== Tracking Id: 1656 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-26 11:45:47') AND us2_order_type_id = 3 ## Order found: 1993 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1993 AND product_id = 2147 ## Job Group Found: '551' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('551') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082908002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082908002') AND customer_id = 3721 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 1657 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-26 12:18:00') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 1658 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-26 12:18:11') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 1659 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-26 12:18:17') AND us2_order_type_id = 3 ## Order found: 1995 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1995 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3471 ## Mailing found: '13193' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826155, Consumer Id: 799355, Address Id: 6529124 => Updated with Vin: 1G6KS54Y12U171676 ## Mail History Id: 30826216, Consumer Id: 799807, Address Id: 11870549 => Updated with Vin: 1G6KY5295TU821802 ## Mail History Id: 30826139, Consumer Id: 760347, Address Id: 7878558 => Updated with Vin: 1GYFK66868R170580 ## Mail History Id: 30826170, Consumer Id: 818447, Address Id: 266534 => Updated with Vin: 1GKEK63U05J175159 ## Mail History Id: 30826153, Consumer Id: 798193, Address Id: 7415976 => Updated with Vin: 1GYEK63N93R113028 ## Mail History Id: 30826143, Consumer Id: 818204, Address Id: 6527562 => Updated with Vin: 1G6KD57Y96U110443 ## Mail History Id: 30826132, Consumer Id: 800505, Address Id: 7878323 => Updated with Vin: 1G3WH52H3YF339234 ## Mail History Id: 30826165, Consumer Id: 802545, Address Id: 10214655 => Updated with Vin: 1G6KE54Y4WU766745 ## Mail History Id: 30826186, Consumer Id: 773040, Address Id: 10562458 => Updated with Vin: 1G6KD57998U112253 ## Mail History Id: 30826217, Consumer Id: 802226, Address Id: 11871853 => Updated with Vin: 1G6ET1297YB702933 ## Mail History Id: 30826185, Consumer Id: 803736, Address Id: 10216714 => Updated with Vin: 1G6KD54Y92U148205 ## Mail History Id: 30826179, Consumer Id: 821537, Address Id: 11872239 => Updated with Vin: 1GYFK66847R219287 ## Mail History Id: 30826191, Consumer Id: 800513, Address Id: 10217519 => Updated with Vin: 1G6KD54Y82U110948 ## Mail History Id: 30826137, Consumer Id: 760421, Address Id: 7878512 => Updated with Vin: 1G6KF57911U289203 ## Mail History Id: 30826189, Consumer Id: 821219, Address Id: 10217478 => Updated with Vin: 1GYEE637760176193 ## Mail History Id: 30826158, Consumer Id: 823038, Address Id: 7416221 => Updated with Vin: 1G6KD57Y06U118088 ## Mail History Id: 30826208, Consumer Id: 822085, Address Id: 11876616 => Updated with Vin: 1GYEE637770142451 ## Mail History Id: 30826148, Consumer Id: 800234, Address Id: 7415725 => Updated with Vin: 1G6KY54923U193257 ## Mail History Id: 30826201, Consumer Id: 818019, Address Id: 10218820 => Updated with Vin: 1G6KS54Y1XU923903 ## Mail History Id: 30826194, Consumer Id: 806049, Address Id: 11873682 => Updated with Vin: 1GYEE637740150500 ## Mail History Id: 30826210, Consumer Id: 822776, Address Id: 11876619 => Updated with Vin: 1G6YV36A065600778 ## Mail History Id: 30826160, Consumer Id: 806992, Address Id: 11876305 => Updated with Vin: 1GYFK63868R174231 ## Mail History Id: 30826219, Consumer Id: 807020, Address Id: 11876745 => Updated with Vin: 1G6KE54Y34U193267 ## Mail History Id: 30826198, Consumer Id: 807070, Address Id: 10218155 => Updated with Vin: 1G6KD57Y28U110755 ## Mail History Id: 30826198, Consumer Id: 807070, Address Id: 10218155 => Updated with Vin: 1G6KD57Y28U110755 ## Mail History Id: 30826166, Consumer Id: 817224, Address Id: 7416958 => Updated with Vin: 1G6KY54922U123935 ## Total mail_history records updated with vin numbers: 26 out of 42 ============================================================ ====== Tracking Id: 1660 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-26 12:18:28') AND us2_order_type_id = 3 ## Order found: 1995 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1995 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3471 ## Mailing found: '13210' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812969, Consumer Id: 801510, Address Id: 10218316 => Updated with Vin: 1G6KS52Y9VU829798 ## Mail History Id: 30812965, Consumer Id: 803527, Address Id: 8309077 => Updated with Vin: 1G3GS64C634112489 ## Mail History Id: 30812972, Consumer Id: 818339, Address Id: 11876762 => Updated with Vin: 1G6DP567550215267 ## Mail History Id: 30812968, Consumer Id: 816955, Address Id: 4230661 => Updated with Vin: 1G6DP567650134939 ## Mail History Id: 30812966, Consumer Id: 1119628, Address Id: 14986643 => Updated with Vin: 1GKET63M562255601 ## Mail History Id: 30812970, Consumer Id: 1922379, Address Id: 16773054 => Updated with Vin: 1GYFK63817R301692 ## Mail History Id: 30812960, Consumer Id: 806932, Address Id: 11876720 => Updated with Vin: 1G6DP567550212952 ## Mail History Id: 30812961, Consumer Id: 805060, Address Id: 10209665 => Updated with Vin: 1G6KD54Y0XU738929 ## Total mail_history records updated with vin numbers: 8 out of 11 ============================================================ ====== Tracking Id: 1661 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-26 12:18:40') AND us2_order_type_id = 3 ## Order found: 1996 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1996 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3451 ## Mailing found: '13191' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826274, Consumer Id: 774301, Address Id: 11851932 => Updated with Vin: 1G6EL12YXXU600827 ## Mail History Id: 30826297, Consumer Id: 871356, Address Id: 11911888 => Updated with Vin: 1G6DC67A070151640 ## Mail History Id: 30826291, Consumer Id: 871357, Address Id: 4107387 => Updated with Vin: 1GYFK63818R143453 ## Mail History Id: 30826298, Consumer Id: 871358, Address Id: 11911889 => Updated with Vin: 1G6DJ577980171133 ## Total mail_history records updated with vin numbers: 4 out of 8 ============================================================ ====== Tracking Id: 1662 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-26 12:18:46') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 1663 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-26 14:15:16') AND us2_order_type_id = 3 ## Order found: 1984 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1984 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3418 ## Mailing found: '13190' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826304, Consumer Id: 610616, Address Id: 10323584 => Updated with Vin: 1G6DT57V480155155 ## Mail History Id: 30826375, Consumer Id: 681288, Address Id: 11794744 => Updated with Vin: 1N4BA41E17C826006 ## Mail History Id: 30826333, Consumer Id: 611099, Address Id: 6608893 => Updated with Vin: 1G6KD54Y54U179146 ## Mail History Id: 30826383, Consumer Id: 630526, Address Id: 8876723 => Updated with Vin: 1G6KD57Y96U198751 ## Mail History Id: 30826303, Consumer Id: 681259, Address Id: 11783009 => Updated with Vin: 1FTPW14V98FA23889 ## Mail History Id: 30826348, Consumer Id: 626916, Address Id: 11764573 => Updated with Vin: 1G6KD52Y0TU296568 ## Mail History Id: 30826352, Consumer Id: 610801, Address Id: 11755474 => Updated with Vin: 1G6KD57958U162874 ## Mail History Id: 30826346, Consumer Id: 676611, Address Id: 11791980 => Updated with Vin: 1G6DP577260213489 ## Mail History Id: 30826317, Consumer Id: 677696, Address Id: 6922116 => Updated with Vin: 1G6DM57T760104953 ## Mail History Id: 30826341, Consumer Id: 677220, Address Id: 11786425 => Updated with Vin: 1G6KD57916U256196 ## Mail History Id: 30826334, Consumer Id: 675850, Address Id: 11791536 => Updated with Vin: 1G6DP577560166359 ## Mail History Id: 30826345, Consumer Id: 679828, Address Id: 11418014 => Updated with Vin: 1G6DM57T370153603 ## Mail History Id: 30826345, Consumer Id: 679828, Address Id: 11418014 => Updated with Vin: 1G6DM57T370153603 ## Mail History Id: 30826340, Consumer Id: 662884, Address Id: 11015699 => Updated with Vin: 1GKDT13S122436671 ## Mail History Id: 30826309, Consumer Id: 611094, Address Id: 11755724 => Updated with Vin: 1G6YX36DX85600942 ## Total mail_history records updated with vin numbers: 15 out of 23 ============================================================ ====== Tracking Id: 1664 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-26 14:15:40') AND us2_order_type_id = 3 ## Order found: 1996 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1996 AND product_id = 114 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3451 ## Mailing found: '13208' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813137, Consumer Id: 626197, Address Id: 3245098 => Updated with Vin: 1G6DC67A850180607 ## Mail History Id: 30813113, Consumer Id: 628007, Address Id: 829382 => Updated with Vin: 2C3LA73W16H229993 ## Mail History Id: 30813122, Consumer Id: 614113, Address Id: 7689265 => Updated with Vin: 1GYEC63T33R255578 ## Mail History Id: 30813099, Consumer Id: 621627, Address Id: 11757552 => Updated with Vin: 1GYEC63T84R162248 ## Mail History Id: 30813114, Consumer Id: 623915, Address Id: 3240810 => Updated with Vin: 1G6DP577760118622 ## Mail History Id: 30813117, Consumer Id: 626830, Address Id: 11764136 => Updated with Vin: 3GYFK66NX5G221225 ## Mail History Id: 30813121, Consumer Id: 627974, Address Id: 1012038 => Updated with Vin: 1HGFA16846L064190 ## Mail History Id: 30813120, Consumer Id: 628006, Address Id: 11765376 => Updated with Vin: 2HJYK16547H522363 ## Mail History Id: 30813109, Consumer Id: 627971, Address Id: 11765353 => Updated with Vin: 1HGES16574L023421 ## Mail History Id: 30813116, Consumer Id: 627998, Address Id: 11765370 => Updated with Vin: 1GYEK63N43R119495 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 1665 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-26 14:15:52') AND us2_order_type_id = 3 ## Order found: 1996 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1996 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1666 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-26 14:15:56') AND us2_order_type_id = 3 ## Order found: 1996 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1996 AND product_id = 113 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3451 ## Mailing found: '13208' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813123, Consumer Id: 612531, Address Id: 839410 => Updated with Vin: 1G6KE54Y43U239803 ## Mail History Id: 30813145, Consumer Id: 611535, Address Id: 3246619 => Updated with Vin: 1G6DC67A060179095 ## Mail History Id: 30813127, Consumer Id: 628184, Address Id: 11765499 => Updated with Vin: 2G1WD58C579273003 ## Total mail_history records updated with vin numbers: 3 out of 5 ============================================================ ====== Tracking Id: 1667 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-26 19:16:17') AND us2_order_type_id = 3 ## Order found: 1994 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1994 AND product_id = 55 ## Job Group Found: '543' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('543') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808002') AND customer_id = 3357 ## Mailing found: '13256' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30756917, Consumer Id: 1781852, Address Id: 878894 => Updated with Vin: 1FTYR10U24PA27599 ## Mail History Id: 30756916, Consumer Id: 1808232, Address Id: 11715125 => Updated with Vin: 1FMYU94106KA17064 ## Mail History Id: 30756918, Consumer Id: 1672211, Address Id: 395028 => Updated with Vin: 1ZVFT84N175310853 ## Mail History Id: 30756919, Consumer Id: 1764603, Address Id: 16440625 => Updated with Vin: JM1BK32G781143712 ## Mail History Id: 30756920, Consumer Id: 1808238, Address Id: 16572639 => Updated with Vin: 1FMCU93148KE49008 ## Mail History Id: 30756921, Consumer Id: 1765750, Address Id: 404293 => Updated with Vin: 1FMCU93128KE64333 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 1668 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-26 20:16:13') AND us2_order_type_id = 3 ## Order found: 1980 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1980 AND product_id = 2153 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1669 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-26 20:16:17') AND us2_order_type_id = 3 ## Order found: 1980 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1980 AND product_id = 2152 ## Job Group Found: '566' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('566') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408006') AND customer_id = 3503 ## Mailing found: '13368' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30999344, Consumer Id: 2160507, Address Id: 9725953 => Updated with Vin: 4T1BF30K35U083025 ## Mail History Id: 30999346, Consumer Id: 2163146, Address Id: 9729542 => Updated with Vin: JTDBE32KX63045934 ## Mail History Id: 30999348, Consumer Id: 2172576, Address Id: 9720371 => Updated with Vin: JTDBT123510172605 ## Mail History Id: 30999352, Consumer Id: 609498, Address Id: 9729791 => Updated with Vin: 2T1BR32E87C811537 ## Mail History Id: 30999356, Consumer Id: 2167484, Address Id: 9734816 => Updated with Vin: JTMBD33V676040645 ## Mail History Id: 30999360, Consumer Id: 2172452, Address Id: 9720256 => Updated with Vin: JTEHH20V526055073 ## Mail History Id: 30999364, Consumer Id: 2164736, Address Id: 9731156 => Updated with Vin: 1NXBR32E26Z704366 ## Mail History Id: 30999366, Consumer Id: 2162258, Address Id: 461805 => Updated with Vin: 5TBJU32195S451599 ## Mail History Id: 30999368, Consumer Id: 2171199, Address Id: 9718958 => Updated with Vin: 2T1BR12E71C508597 ## Mail History Id: 30999372, Consumer Id: 96977, Address Id: 38715 => Updated with Vin: 4T1BK36B96U090081 ## Total mail_history records updated with vin numbers: 10 out of 17 ============================================================ ====== Tracking Id: 1670 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-26 20:16:30') AND us2_order_type_id = 3 ## Order found: 1980 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1980 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1671 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-26 20:16:34') AND us2_order_type_id = 3 ## Order found: 1980 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 1980 AND product_id = 2150 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3503 ## Mailing found: '13402,13913' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993165, Consumer Id: 2169578, Address Id: 4422461 => Updated with Vin: 5TELU42N08Z537318 ## Mail History Id: 30992458, Consumer Id: 2178962, Address Id: 9729939 => Updated with Vin: 4T1BE32K64U858898 ## Mail History Id: 30993453, Consumer Id: 2174927, Address Id: 9723024 => Updated with Vin: 5TBBT44131S165610 ## Mail History Id: 30992142, Consumer Id: 2168797, Address Id: 468562 => Updated with Vin: JTEBU11F570092508 ## Mail History Id: 30993371, Consumer Id: 2172176, Address Id: 9719902 => Updated with Vin: JTEHF21AX10039194 ## Mail History Id: 30992233, Consumer Id: 2162072, Address Id: 9728074 => Updated with Vin: 2T1BR32E55C490165 ## Mail History Id: 30992466, Consumer Id: 319774, Address Id: 8803175 => Updated with Vin: 4T1BK46K48U562535 ## Mail History Id: 30992207, Consumer Id: 2168687, Address Id: 9735992 => Updated with Vin: JTMBD31V176048784 ## Mail History Id: 30992445, Consumer Id: 2173410, Address Id: 9721123 => Updated with Vin: 5TDBT44A02S070379 ## Mail History Id: 30992833, Consumer Id: 2168979, Address Id: 9737617 => Updated with Vin: 5TBBV58147S487367 ## Total mail_history records updated with vin numbers: 10 out of 18 ============================================================ ====== Tracking Id: 1672 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-27 08:16:23') AND us2_order_type_id = 3 ## Order found: 2012 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2012 AND product_id = 55 ## Job Group Found: '543' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('543') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808002') AND customer_id = 3230 ## Mailing found: '13255' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30756928, Consumer Id: 1841027, Address Id: 48130 => Updated with Vin: 1FAHP35N89W101789 ## Mail History Id: 30756924, Consumer Id: 1841023, Address Id: 47763 => Updated with Vin: 1FTPX12V78FA76218 ## Mail History Id: 30756923, Consumer Id: 1805997, Address Id: 16571278 => Updated with Vin: 3FAFP373X2R234890 ## Mail History Id: 30756925, Consumer Id: 1841029, Address Id: 51016 => Updated with Vin: 1FTRF12248KE93160 ## Mail History Id: 30756926, Consumer Id: 1805995, Address Id: 16571276 => Updated with Vin: 1FTRX172X3NA09571 ## Mail History Id: 30756927, Consumer Id: 1841028, Address Id: 16571280 => Updated with Vin: 1GNDV23WX7D213126 ## Mail History Id: 30756927, Consumer Id: 1841024, Address Id: 16571280 => Updated with Vin: 2A8GP54L07R197742 ## Mail History Id: 30756927, Consumer Id: 1806001, Address Id: 16571280 => Updated with Vin: 2D4GP44L55R464424 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 1673 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-27 08:46:30') AND us2_order_type_id = 3 ## Order found: 2012 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2012 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3230 ## Mailing found: '13187' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1674 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-27 09:19:59') AND us2_order_type_id = 3 ## Order found: 2013 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2013 AND product_id = 114 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3470 ## Mailing found: '13209' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813031, Consumer Id: 576823, Address Id: 10725089 => Updated with Vin: 1J4FT48SX1L583878 ## Mail History Id: 30812984, Consumer Id: 575970, Address Id: 10723193 => Updated with Vin: 2C4GP24353R289459 ## Mail History Id: 30813030, Consumer Id: 578761, Address Id: 1545555 => Updated with Vin: 2C8GP64L22R657357 ## Mail History Id: 30813082, Consumer Id: 572711, Address Id: 10689457 => Updated with Vin: 2B3KA53H86H371109 ## Mail History Id: 30813078, Consumer Id: 572787, Address Id: 10701000 => Updated with Vin: 3A8FY48B18T117111 ## Mail History Id: 30813009, Consumer Id: 566914, Address Id: 10710704 => Updated with Vin: 1C3EL55R56N239755 ## Mail History Id: 30812986, Consumer Id: 579003, Address Id: 779967 => Updated with Vin: 1D7KS28C86J155630 ## Mail History Id: 30813059, Consumer Id: 569742, Address Id: 10698023 => Updated with Vin: 2C3KA63H16H535938 ## Mail History Id: 30813073, Consumer Id: 570075, Address Id: 10716847 => Updated with Vin: 2A8GM48L57R103478 ## Mail History Id: 30813086, Consumer Id: 580106, Address Id: 10736354 => Updated with Vin: 2C4GM68415R666567 ## Mail History Id: 30813044, Consumer Id: 571032, Address Id: 5328826 => Updated with Vin: 1J8GA39137L155104 ## Mail History Id: 30812988, Consumer Id: 581262, Address Id: 10740854 => Updated with Vin: 1J4GX48S34C353404 ## Mail History Id: 30813040, Consumer Id: 571031, Address Id: 3495425 => Updated with Vin: 2D4GP44L57R203961 ## Mail History Id: 30813032, Consumer Id: 571868, Address Id: 10717955 => Updated with Vin: 2C4GP54L85R219152 ## Mail History Id: 30813038, Consumer Id: 582626, Address Id: 10744322 => Updated with Vin: 1B3EL46X84N349507 ## Mail History Id: 30812994, Consumer Id: 572346, Address Id: 2021048 => Updated with Vin: 4A4MM41S44E002901 ## Mail History Id: 30813003, Consumer Id: 582643, Address Id: 10744332 => Updated with Vin: 1J4GX48S91C672799 ## Mail History Id: 30813096, Consumer Id: 582634, Address Id: 5707636 => Updated with Vin: 2C8GP64L12R708136 ## Mail History Id: 30813016, Consumer Id: 572796, Address Id: 10719324 => Updated with Vin: 1J8GS48KX8C105749 ## Mail History Id: 30812976, Consumer Id: 572790, Address Id: 4838899 => Updated with Vin: 2B3LA53H68H126641 ## Mail History Id: 30813095, Consumer Id: 572794, Address Id: 2546997 => Updated with Vin: 1J4FA54178L550310 ## Total mail_history records updated with vin numbers: 21 out of 24 ============================================================ ====== Tracking Id: 1675 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-27 09:20:11') AND us2_order_type_id = 3 ## Order found: 2013 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2013 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3470 ## Mailing found: '13209' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813063, Consumer Id: 872224, Address Id: 10687752 => Updated with Vin: 1J8HH48K28C134021 ## Mail History Id: 30812978, Consumer Id: 820359, Address Id: 2031191 => Updated with Vin: 2A8GM68X97R140323 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 1676 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-27 09:20:21') AND us2_order_type_id = 3 ## Order found: 2014 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2014 AND product_id = 142 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3768 ## Mailing found: '13198' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30825954, Consumer Id: 1108901, Address Id: 14982362 => Updated with Vin: 1GYFK63817R326382 ## Mail History Id: 30825955, Consumer Id: 1045016, Address Id: 8826981 => Updated with Vin: 1G6KE57Y04U147066 ## Mail History Id: 30825952, Consumer Id: 1111943, Address Id: 2778923 => Updated with Vin: 3GYFK66N96G133042 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1677 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-27 09:20:23') AND us2_order_type_id = 3 ## Order found: 2013 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2013 AND product_id = 113 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3470 ## Mailing found: '13209' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813046, Consumer Id: 556550, Address Id: 7605869 => Updated with Vin: 1J4GK48K64W103653 ## Mail History Id: 30813001, Consumer Id: 568481, Address Id: 7463642 => Updated with Vin: 2C3KA63H16H498387 ## Mail History Id: 30813071, Consumer Id: 564680, Address Id: 10705539 => Updated with Vin: 1J4FA44S86P717928 ## Mail History Id: 30812995, Consumer Id: 565825, Address Id: 1163999 => Updated with Vin: 2B3KA53H66H256203 ## Mail History Id: 30813011, Consumer Id: 569675, Address Id: 10701371 => Updated with Vin: 1J8HG48N36C231402 ## Mail History Id: 30813027, Consumer Id: 579969, Address Id: 10736273 => Updated with Vin: 1A4GP45R66B548732 ## Mail History Id: 30813074, Consumer Id: 581614, Address Id: 10693925 => Updated with Vin: 1D4HR38N23F620346 ## Mail History Id: 30812982, Consumer Id: 581467, Address Id: 10742836 => Updated with Vin: 1J4GW48S91C634041 ## Mail History Id: 30813089, Consumer Id: 572793, Address Id: 10719323 => Updated with Vin: 2A8GM48L37R356508 ## Mail History Id: 30813052, Consumer Id: 572849, Address Id: 2061106 => Updated with Vin: 3D7KS29A38G141670 ## Mail History Id: 30813007, Consumer Id: 583404, Address Id: 10699334 => Updated with Vin: 1C3EL55U21N503303 ## Mail History Id: 30813050, Consumer Id: 583353, Address Id: 10745447 => Updated with Vin: 2C3LA43R66H525973 ## Total mail_history records updated with vin numbers: 12 out of 14 ============================================================ ====== Tracking Id: 1678 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-27 09:20:36') AND us2_order_type_id = 3 ## Order found: 2014 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2014 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3768 ## Mailing found: '13215' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812672, Consumer Id: 1108605, Address Id: 14982264 => Updated with Vin: 1G6DW677150219999 ## Mail History Id: 30812662, Consumer Id: 1110598, Address Id: 5989323 => Updated with Vin: 1G6KD54Y5XU781808 ## Mail History Id: 30812654, Consumer Id: 1047484, Address Id: 2850860 => Updated with Vin: W06VR54R31R064744 ## Mail History Id: 30812650, Consumer Id: 1108318, Address Id: 3239478 => Updated with Vin: 1G6KD54Y52U194873 ## Mail History Id: 30812638, Consumer Id: 1107663, Address Id: 2775989 => Updated with Vin: 1G6KY54981U124568 ## Mail History Id: 30812652, Consumer Id: 1111307, Address Id: 14982799 => Updated with Vin: JNKCV54E75M410598 ## Mail History Id: 30812648, Consumer Id: 1109712, Address Id: 3238908 => Updated with Vin: W06VR52R4WR042536 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 1679 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-27 09:20:48') AND us2_order_type_id = 3 ## Order found: 2014 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2014 AND product_id = 113 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3768 ## Mailing found: '13215' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812668, Consumer Id: 1109436, Address Id: 14982586 => Updated with Vin: 1G6KD57Y58U143930 ## Mail History Id: 30812645, Consumer Id: 1116252, Address Id: 3238477 => Updated with Vin: 1G6KD57Y16U185847 ## Mail History Id: 30812671, Consumer Id: 1044911, Address Id: 1087441 => Updated with Vin: 1GYFK66897R431229 ## Mail History Id: 30812636, Consumer Id: 1107564, Address Id: 11449083 => Updated with Vin: 1G6KD54Y72U273297 ## Mail History Id: 30812656, Consumer Id: 1042434, Address Id: 8826718 => Updated with Vin: 1G6KD54Y04U110476 ## Mail History Id: 30812643, Consumer Id: 1114442, Address Id: 11450275 => Updated with Vin: 1G6KE54Y53U181264 ## Mail History Id: 30812658, Consumer Id: 1048970, Address Id: 8826963 => Updated with Vin: 1G6KD54Y83U241086 ## Mail History Id: 30812646, Consumer Id: 1109079, Address Id: 14982425 => Updated with Vin: 1G6DP577970112547 ## Total mail_history records updated with vin numbers: 8 out of 12 ============================================================ ====== Tracking Id: 1680 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-27 09:21:01') AND us2_order_type_id = 3 ## Order found: 2014 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2014 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1681 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-27 10:20:08') AND us2_order_type_id = 3 ## Order found: 2013 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2013 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3470 ## Mailing found: '13192' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826262, Consumer Id: 937988, Address Id: 1551447 => Updated with Vin: 3C8FY68B12T328432 ## Mail History Id: 30826250, Consumer Id: 562495, Address Id: 10700998 => Updated with Vin: 3C4FY58B95T589386 ## Mail History Id: 30826249, Consumer Id: 554185, Address Id: 4099943 => Updated with Vin: 1J4FA39S13P374653 ## Mail History Id: 30826271, Consumer Id: 579470, Address Id: 7153853 => Updated with Vin: 1B3HB28B17D127987 ## Mail History Id: 30826255, Consumer Id: 1006507, Address Id: 10700813 => Updated with Vin: 1J8GP28K28W133968 ## Mail History Id: 30826263, Consumer Id: 982002, Address Id: 10703819 => Updated with Vin: KL1TD56616B513742 ## Mail History Id: 30826270, Consumer Id: 564089, Address Id: 2108134 => Updated with Vin: 2B3KA43G36H234984 ## Mail History Id: 30826259, Consumer Id: 564231, Address Id: 1354489 => Updated with Vin: 1D4HD48D95F620827 ## Mail History Id: 30826246, Consumer Id: 572785, Address Id: 10686394 => Updated with Vin: 2D8HN54P38R113663 ## Mail History Id: 30826265, Consumer Id: 565309, Address Id: 10705802 => Updated with Vin: 1B3ES56C85D288978 ## Mail History Id: 30826248, Consumer Id: 581465, Address Id: 1545227 => Updated with Vin: 1J8GS48K67C517164 ## Mail History Id: 30826252, Consumer Id: 578532, Address Id: 10731326 => Updated with Vin: 2A8GF68486R826898 ## Mail History Id: 30826236, Consumer Id: 568586, Address Id: 10713847 => Updated with Vin: 2A4GM48416R911903 ## Mail History Id: 30826239, Consumer Id: 569142, Address Id: 10678104 => Updated with Vin: 2C3KA63H66H536017 ## Mail History Id: 30826243, Consumer Id: 569476, Address Id: 5391431 => Updated with Vin: 1J4FA54187L130196 ## Mail History Id: 30826234, Consumer Id: 579709, Address Id: 4676878 => Updated with Vin: 1J8GW68J82C247662 ## Mail History Id: 30826256, Consumer Id: 581247, Address Id: 10740836 => Updated with Vin: 2D8GP44LX7R180059 ## Mail History Id: 30826251, Consumer Id: 582159, Address Id: 10743656 => Updated with Vin: 1C3EL55R34N406059 ## Mail History Id: 30826269, Consumer Id: 572862, Address Id: 3129907 => Updated with Vin: 1J4GA59138L534800 ## Mail History Id: 30826237, Consumer Id: 573354, Address Id: 2045618 => Updated with Vin: 3TMJU62N46M028247 ## Total mail_history records updated with vin numbers: 20 out of 29 ============================================================ ====== Tracking Id: 1682 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-27 10:20:24') AND us2_order_type_id = 3 ## Order found: 2015 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2015 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3416 ## Mailing found: '13189' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826391, Consumer Id: 691262, Address Id: 11797888 => Updated with Vin: 1G6KD57Y86U194951 ## Mail History Id: 30826396, Consumer Id: 973849, Address Id: 1969557 => Updated with Vin: 1GBDM19W9VB135951 ## Mail History Id: 30826389, Consumer Id: 682270, Address Id: 1960691 => Updated with Vin: 1G6KD54Y6XU785494 ## Mail History Id: 30826388, Consumer Id: 691877, Address Id: 10933327 => Updated with Vin: 1G6KD57Y47U153878 ## Mail History Id: 30826394, Consumer Id: 687504, Address Id: 1968841 => Updated with Vin: 1GYEE637540184063 ## Mail History Id: 30826393, Consumer Id: 681925, Address Id: 11794944 => Updated with Vin: 1G6KD54Y91U232961 ## Mail History Id: 30826395, Consumer Id: 691915, Address Id: 11798144 => Updated with Vin: 1G6DW677X70114624 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 1683 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-27 10:21:12') AND us2_order_type_id = 3 ## Order found: 2016 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2016 AND product_id = 2150 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3418 ## Mailing found: '13190' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826370, Consumer Id: 680881, Address Id: 11794499 => Updated with Vin: 3VWEF71KX7M150795 ## Mail History Id: 30826384, Consumer Id: 680870, Address Id: 11794493 => Updated with Vin: 1G6KF52Y1SU302449 ## Mail History Id: 30826380, Consumer Id: 672536, Address Id: 11789386 => Updated with Vin: 1G6DW677950187867 ## Mail History Id: 30826323, Consumer Id: 610675, Address Id: 11755366 => Updated with Vin: 1GYEE637880132450 ## Mail History Id: 30826386, Consumer Id: 610664, Address Id: 11755358 => Updated with Vin: 1G2HX54K324124223 ## Mail History Id: 30826326, Consumer Id: 667315, Address Id: 4760861 => Updated with Vin: 1G6KF57924U133482 ## Mail History Id: 30826322, Consumer Id: 680865, Address Id: 11418751 => Updated with Vin: 1G6KD57Y17U155703 ## Mail History Id: 30826314, Consumer Id: 674437, Address Id: 11790617 => Updated with Vin: 1G6DM57T860133040 ## Mail History Id: 30826364, Consumer Id: 680807, Address Id: 11755072 => Updated with Vin: 1FTZR45E92PA73256 ## Mail History Id: 30826336, Consumer Id: 663594, Address Id: 11783052 => Updated with Vin: 1G6KD54Y4WU777442 ## Mail History Id: 30826376, Consumer Id: 677421, Address Id: 11788130 => Updated with Vin: 3GYFK62887G145314 ## Mail History Id: 30826311, Consumer Id: 678969, Address Id: 11418571 => Updated with Vin: 1GYEE637870150705 ## Total mail_history records updated with vin numbers: 12 out of 15 ============================================================ ====== Tracking Id: 1684 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-27 10:21:24') AND us2_order_type_id = 3 ## Order found: 2016 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2016 AND product_id = 2147 ## Job Group Found: '551' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('551') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082908002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082908002') AND customer_id = 3418 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 25 ============================================================ ====== Tracking Id: 1685 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-27 10:21:37') AND us2_order_type_id = 3 ## Order found: 2016 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2016 AND product_id = 2152 ## Job Group Found: '550' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('550') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082908001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082908001') AND customer_id = 3418 ## Mailing found: '13305' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30698153, Consumer Id: 672209, Address Id: 10323746 => Updated with Vin: 1G6KD54Y82U289508 ## Mail History Id: 30698155, Consumer Id: 666822, Address Id: 1958250 => Updated with Vin: 1G6KF57984U121465 ## Mail History Id: 30698157, Consumer Id: 672943, Address Id: 11789625 => Updated with Vin: 1G6YV34A655602973 ## Mail History Id: 30698159, Consumer Id: 674090, Address Id: 11790387 => Updated with Vin: 1G6DM57T860123169 ## Mail History Id: 30698161, Consumer Id: 675742, Address Id: 11755498 => Updated with Vin: 1G6DN57U060188555 ## Mail History Id: 30698163, Consumer Id: 677097, Address Id: 11792249 => Updated with Vin: 1G6KF57984U210064 ## Mail History Id: 30698165, Consumer Id: 677650, Address Id: 11792558 => Updated with Vin: 1G6DP577270124863 ## Mail History Id: 30698167, Consumer Id: 678705, Address Id: 11793174 => Updated with Vin: 1G6DM577240111454 ## Mail History Id: 30698169, Consumer Id: 670162, Address Id: 6609212 => Updated with Vin: 1G6KD54Y94U254415 ## Mail History Id: 30698173, Consumer Id: 664795, Address Id: 11783988 => Updated with Vin: 1G6EL12Y6YB703269 ## Mail History Id: 30698175, Consumer Id: 679971, Address Id: 6772371 => Updated with Vin: 1GYEE637670155692 ## Mail History Id: 30698177, Consumer Id: 680687, Address Id: 11794387 => Updated with Vin: 1GYEE637760166683 ## Mail History Id: 30698179, Consumer Id: 610336, Address Id: 11755070 => Updated with Vin: 1G6DG577480134019 ## Total mail_history records updated with vin numbers: 13 out of 16 ============================================================ ====== Tracking Id: 1686 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-27 10:21:49') AND us2_order_type_id = 3 ## Order found: 2016 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2016 AND product_id = 2153 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3418 ## Mailing found: '13206' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813160, Consumer Id: 610057, Address Id: 11754832 => Updated with Vin: 1G6DM57T860107599 ## Mail History Id: 30813158, Consumer Id: 610072, Address Id: 11754842 => Updated with Vin: 1GYFK66807R416599 ## Mail History Id: 30813153, Consumer Id: 610071, Address Id: 11754841 => Updated with Vin: 1G6DW677370162269 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1687 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-27 10:23:30') AND us2_order_type_id = 3 ## Order found: 2017 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2017 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3795 ## Mailing found: '13407' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992638, Consumer Id: 1068524, Address Id: 2512252 => Updated with Vin: 1HGCG1659WA013433 ## Mail History Id: 30992574, Consumer Id: 1068984, Address Id: 14956467 => Updated with Vin: 1HGCD5639RA141285 ## Mail History Id: 30992820, Consumer Id: 1054917, Address Id: 14955939 => Updated with Vin: 1HGEJ7221WL078421 ## Mail History Id: 30992874, Consumer Id: 1054283, Address Id: 3098600 => Updated with Vin: 1HGCG5644XA084345 ## Mail History Id: 30992724, Consumer Id: 1054600, Address Id: 182019 => Updated with Vin: 1HGCM56393A084156 ## Mail History Id: 30992572, Consumer Id: 1054956, Address Id: 7252568 => Updated with Vin: 1HGCM66544A011124 ## Mail History Id: 30992650, Consumer Id: 1057204, Address Id: 4726173 => Updated with Vin: 5J6YH18523L020538 ## Mail History Id: 30992872, Consumer Id: 1052704, Address Id: 3096369 => Updated with Vin: 5J6YH18564L001699 ## Mail History Id: 30993164, Consumer Id: 1053464, Address Id: 14955520 => Updated with Vin: 2HGES16404H626411 ## Mail History Id: 30992682, Consumer Id: 1053465, Address Id: 180090 => Updated with Vin: 1HGCM66554A081554 ## Mail History Id: 30992852, Consumer Id: 1058537, Address Id: 5184212 => Updated with Vin: 1HGCM72657A005793 ## Mail History Id: 30992822, Consumer Id: 1059972, Address Id: 11086062 => Updated with Vin: 2FMZA52471BB41547 ## Mail History Id: 30992646, Consumer Id: 1060785, Address Id: 3019939 => Updated with Vin: 2HJYK16528H508205 ## Mail History Id: 30992678, Consumer Id: 1059539, Address Id: 14957255 => Updated with Vin: 2HGFA16888H504203 ## Mail History Id: 30992900, Consumer Id: 1060048, Address Id: 3108382 => Updated with Vin: 1HGFA16528L035862 ## Mail History Id: 30992706, Consumer Id: 1060741, Address Id: 181293 => Updated with Vin: JTEZU14R650052830 ## Mail History Id: 30992478, Consumer Id: 1060649, Address Id: 8663077 => Updated with Vin: 1HGFA16838L074177 ## Mail History Id: 30992918, Consumer Id: 1060727, Address Id: 14957566 => Updated with Vin: 2HGFA16518H330626 ## Mail History Id: 30992680, Consumer Id: 1060782, Address Id: 14957582 => Updated with Vin: 2HGFA16548H522946 ## Mail History Id: 30992906, Consumer Id: 1060678, Address Id: 3109556 => Updated with Vin: 5J6RE38388L003466 ## Mail History Id: 30992560, Consumer Id: 1060614, Address Id: 4945838 => Updated with Vin: 1HGFA16528L082888 ## Mail History Id: 30992488, Consumer Id: 1060708, Address Id: 7238953 => Updated with Vin: 5FNYF18538B027858 ## Mail History Id: 30992930, Consumer Id: 1068842, Address Id: 14957821 => Updated with Vin: JHMAP21474T005308 ## Mail History Id: 30992756, Consumer Id: 1061281, Address Id: 14957713 => Updated with Vin: SHSRD68452U001986 ## Mail History Id: 30992832, Consumer Id: 1059399, Address Id: 187074 => Updated with Vin: 2HKYF18584H608106 ## Mail History Id: 30992908, Consumer Id: 1069015, Address Id: 4267432 => Updated with Vin: 1FTRW08L81KC16236 ## Mail History Id: 30992626, Consumer Id: 1054023, Address Id: 14955687 => Updated with Vin: JHMEH9695PS008469 ## Total mail_history records updated with vin numbers: 27 out of 33 ============================================================ ====== Tracking Id: 1688 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-27 10:23:42') AND us2_order_type_id = 3 ## Order found: 2017 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2017 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3795 ## Mailing found: '13384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30999007, Consumer Id: 1053739, Address Id: 7703347 => Updated with Vin: 1HGCG16581A005283 ## Mail History Id: 30999029, Consumer Id: 1057884, Address Id: 3075551 => Updated with Vin: 1HGCM56347A040961 ## Mail History Id: 30999013, Consumer Id: 1060018, Address Id: 8508030 => Updated with Vin: JTEDP21A850044489 ## Mail History Id: 30998943, Consumer Id: 1060036, Address Id: 7559688 => Updated with Vin: 1HGFA15568L027054 ## Mail History Id: 30998855, Consumer Id: 1059980, Address Id: 14956368 => Updated with Vin: 1HGCP26468A045031 ## Mail History Id: 30998821, Consumer Id: 1059981, Address Id: 8662723 => Updated with Vin: 1HGCP26798A052274 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 1689 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-27 10:23:54') AND us2_order_type_id = 3 ## Order found: 2017 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2017 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3795 ## Mailing found: '13384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998989, Consumer Id: 1068771, Address Id: 14961399 => Updated with Vin: 1HGCP26888A002118 ## Mail History Id: 30999027, Consumer Id: 1054315, Address Id: 10169570 => Updated with Vin: 2HKRL18012H562746 ## Mail History Id: 30998983, Consumer Id: 1055560, Address Id: 14956132 => Updated with Vin: 2HKYF18533H546841 ## Mail History Id: 30998340, Consumer Id: 1055850, Address Id: 3106042 => Updated with Vin: 1HGCM665X5A077209 ## Mail History Id: 30998849, Consumer Id: 1060282, Address Id: 14957437 => Updated with Vin: 1HGCS22838A007781 ## Mail History Id: 30999041, Consumer Id: 1058507, Address Id: 3098064 => Updated with Vin: 2HKRL1863YH564947 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 1690 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-27 10:24:06') AND us2_order_type_id = 3 ## Order found: 2017 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2017 AND product_id = 114 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3795 ## Mailing found: '13384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998807, Consumer Id: 1059615, Address Id: 14957269 => Updated with Vin: 1HGCM56726A183795 ## Mail History Id: 30998953, Consumer Id: 1059619, Address Id: 14955924 => Updated with Vin: 2HGFG12838H512522 ## Mail History Id: 30998969, Consumer Id: 1059929, Address Id: 3060815 => Updated with Vin: 1HGCG5641WA257981 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1691 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-27 10:24:06') AND us2_order_type_id = 3 ## Order found: 2018 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2018 AND product_id = 142 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3697 ## Mailing found: '13195' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826069, Consumer Id: 1044743, Address Id: 14827399 => Updated with Vin: 1GYEE637850209698 ## Mail History Id: 30826080, Consumer Id: 1045984, Address Id: 5993860 => Updated with Vin: 1G6KD54Y14U107831 ## Mail History Id: 30826073, Consumer Id: 1109308, Address Id: 12935718 => Updated with Vin: 1G6DP577870176787 ## Mail History Id: 30826078, Consumer Id: 1044606, Address Id: 5985979 => Updated with Vin: 1G6KF57964U231673 ## Mail History Id: 30826077, Consumer Id: 1045472, Address Id: 14953139 => Updated with Vin: 1G6DN56S450120158 ## Mail History Id: 30826081, Consumer Id: 1049103, Address Id: 14954120 => Updated with Vin: 1GYEE637860207452 ## Mail History Id: 30826074, Consumer Id: 1051528, Address Id: 14954494 => Updated with Vin: 1G6DW677160190117 ## Total mail_history records updated with vin numbers: 7 out of 9 ============================================================ ====== Tracking Id: 1692 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-27 10:24:18') AND us2_order_type_id = 3 ## Order found: 2018 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2018 AND product_id = 113 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3697 ## Mailing found: '13213' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812739, Consumer Id: 1042769, Address Id: 14952367 => Updated with Vin: 1G6KF57933U188280 ## Mail History Id: 30812764, Consumer Id: 1042823, Address Id: 14952379 => Updated with Vin: 1G6KD54Y53U263451 ## Mail History Id: 30812733, Consumer Id: 1042017, Address Id: 12938029 => Updated with Vin: 1G6KF57982U293475 ## Mail History Id: 30812754, Consumer Id: 1042160, Address Id: 5990007 => Updated with Vin: 1G6KD54YXWU700574 ## Mail History Id: 30812729, Consumer Id: 1116524, Address Id: 2849001 => Updated with Vin: 1G6KF57953U284279 ## Mail History Id: 30812734, Consumer Id: 1046633, Address Id: 14953454 => Updated with Vin: 1GYEK13R2YR115507 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 1693 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-27 10:24:30') AND us2_order_type_id = 3 ## Order found: 2018 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2018 AND product_id = 114 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3697 ## Mailing found: '13213' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812767, Consumer Id: 1045348, Address Id: 6815165 => Updated with Vin: 1G6KD57916U127956 ## Mail History Id: 30812761, Consumer Id: 1047741, Address Id: 1087454 => Updated with Vin: 3GYFK66N45G243219 ## Mail History Id: 30812738, Consumer Id: 1045132, Address Id: 2851680 => Updated with Vin: 1G3NK52F22C191436 ## Mail History Id: 30812759, Consumer Id: 1048744, Address Id: 14954031 => Updated with Vin: 1GYEK63N25R205780 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1694 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-27 10:24:43') AND us2_order_type_id = 3 ## Order found: 2018 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2018 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3697 ## Mailing found: '13213' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812718, Consumer Id: 1051849, Address Id: 14954946 => Updated with Vin: W06VR54R51R068939 ## Mail History Id: 30812727, Consumer Id: 1051847, Address Id: 9707878 => Updated with Vin: 1GYFK63807R138937 ## Mail History Id: 30812766, Consumer Id: 1047901, Address Id: 4938097 => Updated with Vin: 1G6KD57Y76U108447 ## Mail History Id: 30812742, Consumer Id: 1043389, Address Id: 3240228 => Updated with Vin: 1G3GS64C014139488 ## Mail History Id: 30812741, Consumer Id: 1042001, Address Id: 2853783 => Updated with Vin: 1G3WS52H6YF347930 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 1695 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-27 10:26:23') AND us2_order_type_id = 3 ## Order found: 2019 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2019 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3815 ## Mailing found: '13200' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30825898, Consumer Id: 1378002, Address Id: 2569481 => Updated with Vin: JHLRE387X7C000112 ## Mail History Id: 30825917, Consumer Id: 1359309, Address Id: 15632055 => Updated with Vin: 5FNRL18923B159146 ## Mail History Id: 30825917, Consumer Id: 1368521, Address Id: 15632055 => Updated with Vin: JHMCG5647XC004649 ## Mail History Id: 30825929, Consumer Id: 1370225, Address Id: 15634840 => Updated with Vin: 5FNRL18602B047482 ## Mail History Id: 30825892, Consumer Id: 1373378, Address Id: 6160329 => Updated with Vin: 5FNRL38715B056894 ## Mail History Id: 30825905, Consumer Id: 1368405, Address Id: 15633444 => Updated with Vin: 1HGCG6672YA130742 ## Mail History Id: 30825878, Consumer Id: 1365273, Address Id: 15638236 => Updated with Vin: 1HGCM66557A062703 ## Mail History Id: 30825922, Consumer Id: 1376358, Address Id: 15670259 => Updated with Vin: JHMEG1245SS000993 ## Mail History Id: 30825882, Consumer Id: 1360746, Address Id: 2568037 => Updated with Vin: 5J6YH28624L021026 ## Mail History Id: 30825903, Consumer Id: 1359070, Address Id: 15631875 => Updated with Vin: 1HGEM21931L070712 ## Mail History Id: 30825921, Consumer Id: 1365801, Address Id: 15631902 => Updated with Vin: 1HGCM726X7A014778 ## Mail History Id: 30825909, Consumer Id: 1359539, Address Id: 9052017 => Updated with Vin: 1HGCM72623A030371 ## Mail History Id: 30825914, Consumer Id: 1364921, Address Id: 8347379 => Updated with Vin: 2HGFA55597H703015 ## Mail History Id: 30825884, Consumer Id: 1367365, Address Id: 15640032 => Updated with Vin: 5J6YH18358L008910 ## Mail History Id: 30825893, Consumer Id: 1362106, Address Id: 15634328 => Updated with Vin: 5FNRL38755B126476 ## Mail History Id: 30825930, Consumer Id: 1378540, Address Id: 15635161 => Updated with Vin: 1HGCM665X3A089275 ## Mail History Id: 30825888, Consumer Id: 1376499, Address Id: 15670331 => Updated with Vin: 2HJYK165X6H546679 ## Mail History Id: 30825901, Consumer Id: 1377909, Address Id: 15671089 => Updated with Vin: 5J6YH28625L029824 ## Mail History Id: 30825900, Consumer Id: 1363937, Address Id: 15636981 => Updated with Vin: 1HGCM56726A140753 ## Mail History Id: 30825874, Consumer Id: 1377076, Address Id: 15670663 => Updated with Vin: JHMCG6674YC010717 ## Mail History Id: 30825927, Consumer Id: 1378504, Address Id: 15670809 => Updated with Vin: JT8BD69S710142267 ## Mail History Id: 30825867, Consumer Id: 1377744, Address Id: 15671008 => Updated with Vin: 5FNRL189X3B097432 ## Mail History Id: 30825880, Consumer Id: 1360114, Address Id: 15632670 => Updated with Vin: 1HGCM56664A088080 ## Mail History Id: 30825915, Consumer Id: 1367825, Address Id: 15634188 => Updated with Vin: 1HGCG5649XA057092 ## Mail History Id: 30825883, Consumer Id: 1370183, Address Id: 6158990 => Updated with Vin: 1HGEM22561L075690 ## Mail History Id: 30825896, Consumer Id: 1364648, Address Id: 15637634 => Updated with Vin: 2HGFG128X7H512726 ## Mail History Id: 30825868, Consumer Id: 1371843, Address Id: 15638110 => Updated with Vin: 1HGCP26808A073183 ## Mail History Id: 30825869, Consumer Id: 1365082, Address Id: 15638106 => Updated with Vin: 5FNYF28597B029425 ## Mail History Id: 30825876, Consumer Id: 1365798, Address Id: 15638738 => Updated with Vin: 1HGCM56497A159324 ## Mail History Id: 30825881, Consumer Id: 1365812, Address Id: 15638748 => Updated with Vin: KL5VJ52L24B118445 ## Mail History Id: 30825890, Consumer Id: 1365829, Address Id: 15638756 => Updated with Vin: 5FNRL38747B075622 ## Mail History Id: 30825906, Consumer Id: 1371934, Address Id: 7933253 => Updated with Vin: 5J6YH28523L044876 ## Mail History Id: 30825897, Consumer Id: 1371819, Address Id: 1948342 => Updated with Vin: 1HGCP36898A055450 ## Mail History Id: 30825919, Consumer Id: 1366824, Address Id: 15639632 => Updated with Vin: JHLRE38557C082037 ## Mail History Id: 30825931, Consumer Id: 1367451, Address Id: 15640083 => Updated with Vin: 1HGCP36828A046833 ## Mail History Id: 30825924, Consumer Id: 1379762, Address Id: 15672068 => Updated with Vin: 1HGCG32521A014577 ## Mail History Id: 30825887, Consumer Id: 1379800, Address Id: 15672089 => Updated with Vin: 19UYA2253XL010374 ## Mail History Id: 30825894, Consumer Id: 1371936, Address Id: 6159475 => Updated with Vin: 1HGCS22898A012399 ## Mail History Id: 30825902, Consumer Id: 1371926, Address Id: 15668739 => Updated with Vin: 5FNRL386X8B043217 ## Total mail_history records updated with vin numbers: 39 out of 44 ============================================================ ====== Tracking Id: 1696 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-27 10:26:28') AND us2_order_type_id = 3 ## Order found: 2019 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2019 AND product_id = 2150 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1697 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-27 10:26:32') AND us2_order_type_id = 3 ## Order found: 2019 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2019 AND product_id = 2147 ## Job Group Found: '551' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('551') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082908002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082908002') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 12 ============================================================ ====== Tracking Id: 1698 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-27 10:26:44') AND us2_order_type_id = 3 ## Order found: 2019 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2019 AND product_id = 2152 ## Job Group Found: '550' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('550') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082908001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082908001') AND customer_id = 3815 ## Mailing found: '13307' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30698181, Consumer Id: 1369222, Address Id: 15636074 => Updated with Vin: JHMBB6247WC012318 ## Mail History Id: 30698183, Consumer Id: 1362330, Address Id: 15634477 => Updated with Vin: 1HGCG5642YA027143 ## Mail History Id: 30698185, Consumer Id: 1371253, Address Id: 15639385 => Updated with Vin: 5J6YH172X3L004465 ## Mail History Id: 30698187, Consumer Id: 1361536, Address Id: 15633708 => Updated with Vin: 1HGCM72685A012685 ## Mail History Id: 30698189, Consumer Id: 1379075, Address Id: 15671714 => Updated with Vin: 5FNYF18535B006861 ## Mail History Id: 30698191, Consumer Id: 1379122, Address Id: 15638065 => Updated with Vin: 2HGFG12838H507868 ## Mail History Id: 30698193, Consumer Id: 1365356, Address Id: 15638289 => Updated with Vin: 1HGCG16572A043945 ## Mail History Id: 30698195, Consumer Id: 1365955, Address Id: 15638832 => Updated with Vin: 2HGFG21537H709461 ## Mail History Id: 30698197, Consumer Id: 1366281, Address Id: 15639186 => Updated with Vin: 5FNYF28137B025805 ## Mail History Id: 30698199, Consumer Id: 1379123, Address Id: 15671729 => Updated with Vin: 1HGCM72644A004209 ## Total mail_history records updated with vin numbers: 10 out of 12 ============================================================ ====== Tracking Id: 1699 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-27 10:46:08') AND us2_order_type_id = 3 ## Order found: 2012 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2012 AND product_id = 140 ## Job Group Found: '550' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('550') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082908001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082908001') AND customer_id = 3230 ## Mailing found: '13304' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1700 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-27 11:16:21') AND us2_order_type_id = 3 ## Order found: 2020 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2020 AND product_id = 113 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3486 ## Mailing found: '13211' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812892, Consumer Id: 489942, Address Id: 1209491 => Updated with Vin: 2G1FP22K922105226 ## Mail History Id: 30812897, Consumer Id: 485323, Address Id: 9824687 => Updated with Vin: 2GCEC13T661121752 ## Mail History Id: 30812921, Consumer Id: 490137, Address Id: 4376287 => Updated with Vin: 1GNEC13T15J185886 ## Mail History Id: 30812889, Consumer Id: 469118, Address Id: 3855369 => Updated with Vin: 1G1AK15F477174956 ## Mail History Id: 30812919, Consumer Id: 470885, Address Id: 2524764 => Updated with Vin: 2G2WS522151162770 ## Mail History Id: 30812878, Consumer Id: 485127, Address Id: 1072174 => Updated with Vin: 1GNEC13Z63R221655 ## Mail History Id: 30812857, Consumer Id: 485088, Address Id: 5417032 => Updated with Vin: 1GNEC13T11J260015 ## Mail History Id: 30812912, Consumer Id: 485556, Address Id: 9825551 => Updated with Vin: 1GCEK19T0YE145086 ## Mail History Id: 30812880, Consumer Id: 470904, Address Id: 9823349 => Updated with Vin: 2C4GP54L53R203715 ## Mail History Id: 30812883, Consumer Id: 490407, Address Id: 9826532 => Updated with Vin: 1GNEC13Z83R140916 ## Mail History Id: 30812902, Consumer Id: 490460, Address Id: 1067552 => Updated with Vin: 1GCCS19W9Y8264402 ## Mail History Id: 30812894, Consumer Id: 490409, Address Id: 1562093 => Updated with Vin: 2G1WB58K469156752 ## Mail History Id: 30812940, Consumer Id: 471092, Address Id: 9823438 => Updated with Vin: JTKKT604960139003 ## Mail History Id: 30812920, Consumer Id: 464986, Address Id: 1038991 => Updated with Vin: 1GNEC13Z54J310262 ## Total mail_history records updated with vin numbers: 14 out of 21 ============================================================ ====== Tracking Id: 1701 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-27 11:16:34') AND us2_order_type_id = 3 ## Order found: 2020 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2020 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1702 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-27 11:16:37') AND us2_order_type_id = 3 ## Order found: 2020 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2020 AND product_id = 114 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3486 ## Mailing found: '13211' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812942, Consumer Id: 463107, Address Id: 9820069 => Updated with Vin: 3GNEC16Z13G257538 ## Mail History Id: 30812901, Consumer Id: 463403, Address Id: 938114 => Updated with Vin: 1GNEC13Z04R160532 ## Mail History Id: 30812890, Consumer Id: 476674, Address Id: 1035604 => Updated with Vin: 1GNEK13Z03J265457 ## Mail History Id: 30812931, Consumer Id: 485583, Address Id: 1568606 => Updated with Vin: 1GKEC16Z43J158773 ## Mail History Id: 30812871, Consumer Id: 484551, Address Id: 5419781 => Updated with Vin: 1G1ND52J716118969 ## Mail History Id: 30812922, Consumer Id: 476916, Address Id: 4376402 => Updated with Vin: 1GCDT136858160473 ## Mail History Id: 30812865, Consumer Id: 466960, Address Id: 4372434 => Updated with Vin: 1GNDS13S152299869 ## Mail History Id: 30812923, Consumer Id: 479727, Address Id: 8117181 => Updated with Vin: 1GBEG25K6PF338683 ## Mail History Id: 30812913, Consumer Id: 481612, Address Id: 4374867 => Updated with Vin: 1G1JC524017234066 ## Mail History Id: 30812884, Consumer Id: 469206, Address Id: 2518805 => Updated with Vin: 2GCEC13T551107078 ## Mail History Id: 30812945, Consumer Id: 485072, Address Id: 9825344 => Updated with Vin: 2GCEK13TX51274961 ## Mail History Id: 30812873, Consumer Id: 470314, Address Id: 9823016 => Updated with Vin: 1GNEK13T45J171712 ## Mail History Id: 30812932, Consumer Id: 489739, Address Id: 636487 => Updated with Vin: 3GNEK12T04G101965 ## Total mail_history records updated with vin numbers: 13 out of 17 ============================================================ ====== Tracking Id: 1703 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-27 11:17:13') AND us2_order_type_id = 3 ## Order found: 2015 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2015 AND product_id = 114 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3416 ## Mailing found: '13205' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813181, Consumer Id: 692492, Address Id: 4792791 => Updated with Vin: 1G2JB524527145576 ## Mail History Id: 30813225, Consumer Id: 625602, Address Id: 11766003 => Updated with Vin: 1G6KD57Y68U108894 ## Mail History Id: 30813204, Consumer Id: 679351, Address Id: 11417976 => Updated with Vin: 1G6DP577X70164012 ## Mail History Id: 30813207, Consumer Id: 692896, Address Id: 11798571 => Updated with Vin: 2HNYD18935H535353 ## Mail History Id: 30813214, Consumer Id: 692890, Address Id: 1960291 => Updated with Vin: 1G6DW677470194034 ## Mail History Id: 30813202, Consumer Id: 692897, Address Id: 11798572 => Updated with Vin: 5GTDN13E178139963 ## Mail History Id: 30813173, Consumer Id: 692887, Address Id: 11581175 => Updated with Vin: 1G6KD52Y2TU280680 ## Mail History Id: 30813209, Consumer Id: 690168, Address Id: 3755612 => Updated with Vin: 3GYEK63NX2G343952 ## Mail History Id: 30813179, Consumer Id: 681396, Address Id: 1969206 => Updated with Vin: 1G6DM57N730167273 ## Mail History Id: 30813172, Consumer Id: 686599, Address Id: 3762730 => Updated with Vin: 1G6KF57964U221032 ## Mail History Id: 30813232, Consumer Id: 682993, Address Id: 11795247 => Updated with Vin: 1G6KD54Y4WU741301 ## Mail History Id: 30813205, Consumer Id: 625714, Address Id: 11766099 => Updated with Vin: 1G6KD54Y55U132913 ## Mail History Id: 30813228, Consumer Id: 686190, Address Id: 1962552 => Updated with Vin: 1G6ET1297VU608325 ## Total mail_history records updated with vin numbers: 13 out of 13 ============================================================ ====== Tracking Id: 1704 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-27 11:17:21') AND us2_order_type_id = 3 ## Order found: 2021 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2021 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3491 ## Mailing found: '13194' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826086, Consumer Id: 809079, Address Id: 11875691 => Updated with Vin: 2CNDL73FX66017126 ## Mail History Id: 30826119, Consumer Id: 810821, Address Id: 11885328 => Updated with Vin: 1G1AK55F967829036 ## Mail History Id: 30826088, Consumer Id: 811679, Address Id: 11886793 => Updated with Vin: 1G1AK12FX57602272 ## Mail History Id: 30826092, Consumer Id: 839073, Address Id: 11874511 => Updated with Vin: 2GCEK13M871700190 ## Mail History Id: 30826094, Consumer Id: 814398, Address Id: 11888991 => Updated with Vin: 2GCEC19C571616369 ## Mail History Id: 30826084, Consumer Id: 809574, Address Id: 11884221 => Updated with Vin: 1GNES16S666126939 ## Mail History Id: 30826087, Consumer Id: 811705, Address Id: 11883229 => Updated with Vin: 1GCEC19Z07Z148790 ## Mail History Id: 30826095, Consumer Id: 808632, Address Id: 11881212 => Updated with Vin: 1GCEC14T52Z173695 ## Mail History Id: 30826107, Consumer Id: 832790, Address Id: 11891039 => Updated with Vin: 2G2FS22K8T2207970 ## Mail History Id: 30826117, Consumer Id: 838005, Address Id: 11894506 => Updated with Vin: 19UUA56813A003062 ## Mail History Id: 30826114, Consumer Id: 828251, Address Id: 11882681 => Updated with Vin: 1GNEK13ZX3R154707 ## Mail History Id: 30826108, Consumer Id: 833899, Address Id: 11892035 => Updated with Vin: 1D4GP24R95B172198 ## Mail History Id: 30826100, Consumer Id: 814440, Address Id: 11889027 => Updated with Vin: 2G1WJ15K779419043 ## Total mail_history records updated with vin numbers: 13 out of 23 ============================================================ ====== Tracking Id: 1705 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-27 11:17:26') AND us2_order_type_id = 3 ## Order found: 2015 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2015 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1706 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-27 11:17:29') AND us2_order_type_id = 3 ## Order found: 2015 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2015 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3416 ## Mailing found: '13205' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813199, Consumer Id: 625909, Address Id: 11766186 => Updated with Vin: 5GTEN13E988184154 ## Mail History Id: 30813194, Consumer Id: 693215, Address Id: 11798728 => Updated with Vin: 1G6DP577470101794 ## Mail History Id: 30813231, Consumer Id: 693293, Address Id: 8331781 => Updated with Vin: 5GTDN136468160068 ## Mail History Id: 30813230, Consumer Id: 689893, Address Id: 11797435 => Updated with Vin: 1GYEE637750231658 ## Mail History Id: 30813218, Consumer Id: 686076, Address Id: 1961296 => Updated with Vin: 1G6KS54Y7YU347333 ## Mail History Id: 30813212, Consumer Id: 685463, Address Id: 1959618 => Updated with Vin: 1G6KD54Y62U206240 ## Mail History Id: 30813180, Consumer Id: 691997, Address Id: 1969212 => Updated with Vin: 1G6KD54Y64U139481 ## Mail History Id: 30813211, Consumer Id: 689576, Address Id: 1959451 => Updated with Vin: 1G6DW677X60107008 ## Mail History Id: 30813206, Consumer Id: 685862, Address Id: 1966525 => Updated with Vin: 1G6KD54Y82U300975 ## Mail History Id: 30813186, Consumer Id: 688171, Address Id: 11796777 => Updated with Vin: 1G6KS52Y7VU838564 ## Mail History Id: 30813238, Consumer Id: 689892, Address Id: 11797434 => Updated with Vin: 1G6DP577560121793 ## Mail History Id: 30813235, Consumer Id: 690807, Address Id: 1965818 => Updated with Vin: 1GYEE637160198075 ## Mail History Id: 30813189, Consumer Id: 690743, Address Id: 11797712 => Updated with Vin: 1GYEE637960179273 ## Mail History Id: 30813197, Consumer Id: 691820, Address Id: 11798118 => Updated with Vin: 1G6DC67A560202919 ## Total mail_history records updated with vin numbers: 14 out of 15 ============================================================ ====== Tracking Id: 1707 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-27 11:17:35') AND us2_order_type_id = 3 ## Order found: 2021 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2021 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3491 ## Mailing found: '13212' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812793, Consumer Id: 809533, Address Id: 11884189 => Updated with Vin: 2G1WZ121749354985 ## Mail History Id: 30812771, Consumer Id: 812933, Address Id: 11887521 => Updated with Vin: 2G1WT58N179271429 ## Mail History Id: 30812841, Consumer Id: 814412, Address Id: 11889001 => Updated with Vin: 1G1AK55F177411524 ## Mail History Id: 30812827, Consumer Id: 840069, Address Id: 11893753 => Updated with Vin: 2GCEC19T931206975 ## Mail History Id: 30812799, Consumer Id: 840081, Address Id: 11895364 => Updated with Vin: 1GCEK19T42Z266770 ## Mail History Id: 30812815, Consumer Id: 840078, Address Id: 11895648 => Updated with Vin: 1G1ZT68N37F225840 ## Mail History Id: 30812789, Consumer Id: 840070, Address Id: 1300652 => Updated with Vin: 2GCEK19T1Y1390416 ## Mail History Id: 30812778, Consumer Id: 836833, Address Id: 1298502 => Updated with Vin: 2G1WF52E329340968 ## Mail History Id: 30812797, Consumer Id: 815995, Address Id: 11891195 => Updated with Vin: 2G2WP552471161788 ## Mail History Id: 30812826, Consumer Id: 839387, Address Id: 11888341 => Updated with Vin: 1J4GW48S82C101454 ## Mail History Id: 30812805, Consumer Id: 810674, Address Id: 11885230 => Updated with Vin: 1GCEC19X26Z209201 ## Mail History Id: 30812811, Consumer Id: 810676, Address Id: 11885231 => Updated with Vin: 3GNEC12J97G116528 ## Mail History Id: 30812838, Consumer Id: 835588, Address Id: 11887452 => Updated with Vin: 2GCEC13T451334018 ## Mail History Id: 30812826, Consumer Id: 813855, Address Id: 11888341 => Updated with Vin: 2GCEC13T451334018 ## Mail History Id: 30812781, Consumer Id: 827305, Address Id: 1299401 => Updated with Vin: 2GCEC19T0Y1162047 ## Total mail_history records updated with vin numbers: 15 out of 15 ============================================================ ====== Tracking Id: 1708 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-27 11:17:47') AND us2_order_type_id = 3 ## Order found: 2021 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2021 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1709 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-27 11:17:51') AND us2_order_type_id = 3 ## Order found: 2021 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2021 AND product_id = 113 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3491 ## Mailing found: '13212' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812843, Consumer Id: 839513, Address Id: 11895275 => Updated with Vin: 1GNDV23157D104206 ## Mail History Id: 30812801, Consumer Id: 839906, Address Id: 11895511 => Updated with Vin: 1GNEK13Z64R316933 ## Mail History Id: 30812814, Consumer Id: 829251, Address Id: 11884766 => Updated with Vin: 2GCEK19T211284711 ## Mail History Id: 30812820, Consumer Id: 839927, Address Id: 11895519 => Updated with Vin: 1Y1SK5287WZ412290 ## Mail History Id: 30812842, Consumer Id: 836121, Address Id: 11893344 => Updated with Vin: 2G4WB55K211255486 ## Mail History Id: 30812837, Consumer Id: 835302, Address Id: 11892967 => Updated with Vin: 3GNFK16TXYG111763 ## Mail History Id: 30812796, Consumer Id: 839931, Address Id: 11895521 => Updated with Vin: 1G1JC524XY7340454 ## Mail History Id: 30812774, Consumer Id: 815396, Address Id: 11888929 => Updated with Vin: 3GNEK18R0WG150243 ## Total mail_history records updated with vin numbers: 8 out of 10 ============================================================ ====== Tracking Id: 1710 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-27 11:18:56') AND us2_order_type_id = 3 ## Order found: 2022 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2022 AND product_id = 144 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3705 ## Mailing found: '13196' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826056, Consumer Id: 978132, Address Id: 14831832 => Updated with Vin: 1GNEC16Z86J104089 ## Mail History Id: 30826024, Consumer Id: 974805, Address Id: 14843417 => Updated with Vin: 1GCHK29144E150223 ## Mail History Id: 30826030, Consumer Id: 975652, Address Id: 14843955 => Updated with Vin: 1GTEC19V15Z212328 ## Mail History Id: 30826026, Consumer Id: 963035, Address Id: 14835809 => Updated with Vin: 1G1YY36U765104495 ## Mail History Id: 30826017, Consumer Id: 964507, Address Id: 14837044 => Updated with Vin: 2GCEC13T861100918 ## Mail History Id: 30826032, Consumer Id: 964504, Address Id: 14837041 => Updated with Vin: 3G5DA03L46S537189 ## Mail History Id: 30826043, Consumer Id: 964889, Address Id: 14837313 => Updated with Vin: 1G1JC12F857202854 ## Mail History Id: 30826004, Consumer Id: 966745, Address Id: 9159216 => Updated with Vin: 1GNFC16007R261270 ## Mail History Id: 30826029, Consumer Id: 967148, Address Id: 14839006 => Updated with Vin: 1GCCS138868190557 ## Mail History Id: 30826055, Consumer Id: 969197, Address Id: 14840500 => Updated with Vin: 3G5DA03L77S560368 ## Mail History Id: 30825994, Consumer Id: 968915, Address Id: 9492140 => Updated with Vin: 2CNDL13F976048947 ## Mail History Id: 30826064, Consumer Id: 971054, Address Id: 14841883 => Updated with Vin: 1GCEC14X38Z100854 ## Mail History Id: 30826038, Consumer Id: 971789, Address Id: 14842406 => Updated with Vin: 1GBJG31U971158963 ## Mail History Id: 30826033, Consumer Id: 972556, Address Id: 14836255 => Updated with Vin: 1GKDT13S962152453 ## Mail History Id: 30825988, Consumer Id: 972587, Address Id: 14843019 => Updated with Vin: 1GKER23728J180950 ## Mail History Id: 30826019, Consumer Id: 973933, Address Id: 14840408 => Updated with Vin: 1GCEC14X38Z268090 ## Mail History Id: 30826011, Consumer Id: 973936, Address Id: 9159576 => Updated with Vin: 2GCEC19V761116598 ## Mail History Id: 30825981, Consumer Id: 973937, Address Id: 14903200 => Updated with Vin: 1G2AL18F787310003 ## Mail History Id: 30826005, Consumer Id: 973938, Address Id: 14903201 => Updated with Vin: 1GKDT13S742251480 ## Mail History Id: 30826015, Consumer Id: 973943, Address Id: 14903204 => Updated with Vin: 1D7HA18N04S765232 ## Mail History Id: 30826034, Consumer Id: 973327, Address Id: 14836973 => Updated with Vin: 1G4HR54K01U208127 ## Mail History Id: 30826013, Consumer Id: 960987, Address Id: 9159639 => Updated with Vin: 1G4HP54K6YU231105 ## Mail History Id: 30825984, Consumer Id: 959887, Address Id: 14831100 => Updated with Vin: 1G4HP52K23U114262 ## Mail History Id: 30826046, Consumer Id: 974478, Address Id: 14831532 => Updated with Vin: 1G1JF12F637363465 ## Mail History Id: 30826010, Consumer Id: 962519, Address Id: 14835346 => Updated with Vin: 1GNDS13S352388780 ## Mail History Id: 30826008, Consumer Id: 976551, Address Id: 10443744 => Updated with Vin: 5Y2SL638X5Z473167 ## Mail History Id: 30826003, Consumer Id: 977513, Address Id: 14845054 => Updated with Vin: 1GCCS19W7Y8213691 ## Mail History Id: 30826025, Consumer Id: 979962, Address Id: 14846040 => Updated with Vin: 2GCEC19NX41346049 ## Mail History Id: 30826022, Consumer Id: 980142, Address Id: 14846498 => Updated with Vin: 1GCDS13E188141956 ## Mail History Id: 30825982, Consumer Id: 980409, Address Id: 14846648 => Updated with Vin: 1G4HP57277U144386 ## Mail History Id: 30825996, Consumer Id: 980917, Address Id: 7085754 => Updated with Vin: 2GCEC13J681128525 ## Mail History Id: 30826012, Consumer Id: 982781, Address Id: 14903208 => Updated with Vin: 2G1FP22G412141464 ## Mail History Id: 30826018, Consumer Id: 980994, Address Id: 14846890 => Updated with Vin: 2GTEK19T541262996 ## Mail History Id: 30826027, Consumer Id: 982782, Address Id: 14903209 => Updated with Vin: 2GCEK13T361195083 ## Mail History Id: 30826050, Consumer Id: 982780, Address Id: 10552187 => Updated with Vin: 3VWST71K36M795718 ## Total mail_history records updated with vin numbers: 35 out of 50 ============================================================ ====== Tracking Id: 1711 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-27 11:19:12') AND us2_order_type_id = 3 ## Order found: 2022 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2022 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3705 ## Mailing found: '13214' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812681, Consumer Id: 974885, Address Id: 7071460 => Updated with Vin: 2G1WF52E349386352 ## Mail History Id: 30812697, Consumer Id: 975529, Address Id: 14843884 => Updated with Vin: 2G4WD532351291481 ## Mail History Id: 30812710, Consumer Id: 971410, Address Id: 14841444 => Updated with Vin: 1GCEC19J47E593602 ## Mail History Id: 30812707, Consumer Id: 972420, Address Id: 14842832 => Updated with Vin: 2GTEC13C281165217 ## Mail History Id: 30812715, Consumer Id: 972422, Address Id: 14837150 => Updated with Vin: 3GCEC13J08G236999 ## Mail History Id: 30812694, Consumer Id: 972423, Address Id: 14842834 => Updated with Vin: 2G4WD582581147380 ## Mail History Id: 30812712, Consumer Id: 972425, Address Id: 14842836 => Updated with Vin: 1GCEC14X68Z166248 ## Mail History Id: 30812701, Consumer Id: 972427, Address Id: 9184960 => Updated with Vin: 3GTEK13M68G130893 ## Mail History Id: 30812690, Consumer Id: 972430, Address Id: 14842839 => Updated with Vin: 2CNDL53F186071292 ## Mail History Id: 30812698, Consumer Id: 972433, Address Id: 14842842 => Updated with Vin: 1GTEC14X04Z274410 ## Mail History Id: 30812689, Consumer Id: 978158, Address Id: 14843554 => Updated with Vin: 1GNDX03E42D138289 ## Mail History Id: 30812700, Consumer Id: 977556, Address Id: 9274056 => Updated with Vin: 5GAES13M352230598 ## Mail History Id: 30812691, Consumer Id: 978762, Address Id: 14845708 => Updated with Vin: 3GKEC16Z14G252726 ## Mail History Id: 30812684, Consumer Id: 980121, Address Id: 14846489 => Updated with Vin: 3GNDA23P46S608745 ## Mail History Id: 30812699, Consumer Id: 980365, Address Id: 14846621 => Updated with Vin: 2GCEK13T461152727 ## Total mail_history records updated with vin numbers: 15 out of 17 ============================================================ ====== Tracking Id: 1712 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-27 11:19:24') AND us2_order_type_id = 3 ## Order found: 2022 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2022 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1713 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-27 11:19:36') AND us2_order_type_id = 3 ## Order found: 2022 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2022 AND product_id = 106 ## Job Group Found: '545' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('545') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808004') AND customer_id = 3705 ## Mailing found: '13257' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30756906, Consumer Id: 971340, Address Id: 14842070 => Updated with Vin: 3GNDA23D47S539885 ## Mail History Id: 30756904, Consumer Id: 971350, Address Id: 11387169 => Updated with Vin: 1GNFC13J97R372378 ## Mail History Id: 30756907, Consumer Id: 971343, Address Id: 14842072 => Updated with Vin: 2G2WR554271101276 ## Mail History Id: 30756905, Consumer Id: 971344, Address Id: 14839335 => Updated with Vin: 2CNDL63F776116692 ## Mail History Id: 30756908, Consumer Id: 971345, Address Id: 14842073 => Updated with Vin: 2G2WP552271196779 ## Mail History Id: 30756903, Consumer Id: 971351, Address Id: 2618471 => Updated with Vin: 2GCEC19J681148541 ## Mail History Id: 30756909, Consumer Id: 971354, Address Id: 14842076 => Updated with Vin: 1GNDS13S382151100 ## Total mail_history records updated with vin numbers: 7 out of 9 ============================================================ ====== Tracking Id: 1714 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-27 11:19:51') AND us2_order_type_id = 3 ## Order found: 2023 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2023 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3808 ## Mailing found: '13199' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30825950, Consumer Id: 1172181, Address Id: 15030264 => Updated with Vin: 1GNFC13J87R404804 ## Mail History Id: 30825946, Consumer Id: 1172179, Address Id: 15030262 => Updated with Vin: 1G2ZH58N374157641 ## Mail History Id: 30825951, Consumer Id: 1172213, Address Id: 15030288 => Updated with Vin: 1GNDT13S862112402 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1715 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-27 11:19:59') AND us2_order_type_id = 3 ## Order found: 2023 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2023 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3808 ## Mailing found: '13216' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812600, Consumer Id: 1171269, Address Id: 15029474 => Updated with Vin: 1GCCS196648212526 ## Mail History Id: 30812604, Consumer Id: 1171162, Address Id: 15029379 => Updated with Vin: 3GNDA23D77S589521 ## Mail History Id: 30812626, Consumer Id: 1170748, Address Id: 15028995 => Updated with Vin: 1G1ZT51806F200083 ## Mail History Id: 30812581, Consumer Id: 1171242, Address Id: 15029451 => Updated with Vin: 3GCEC13Y07G500914 ## Mail History Id: 30812593, Consumer Id: 1171271, Address Id: 15029476 => Updated with Vin: 1G2ZG58N674118657 ## Mail History Id: 30812619, Consumer Id: 1171121, Address Id: 15029339 => Updated with Vin: 3GNFK12Y67G318540 ## Mail History Id: 30812618, Consumer Id: 1171205, Address Id: 15029416 => Updated with Vin: 2GCEC19T4X1202001 ## Mail History Id: 30812615, Consumer Id: 1171250, Address Id: 15029458 => Updated with Vin: 2GTEC19V111302601 ## Mail History Id: 30812585, Consumer Id: 1171200, Address Id: 15029411 => Updated with Vin: 1GCJK39181E314415 ## Mail History Id: 30812574, Consumer Id: 1171232, Address Id: 15029442 => Updated with Vin: 2GCEK19TXY1119273 ## Mail History Id: 30812602, Consumer Id: 1171248, Address Id: 15029456 => Updated with Vin: 1GTEC14M9WZ548082 ## Mail History Id: 30812587, Consumer Id: 1171246, Address Id: 15029454 => Updated with Vin: 2GCEC19VX31253305 ## Mail History Id: 30812620, Consumer Id: 1171229, Address Id: 15029439 => Updated with Vin: 1GCEC19T1YZ153025 ## Mail History Id: 30812632, Consumer Id: 1171227, Address Id: 15029437 => Updated with Vin: 1G1NE52J9Y6260845 ## Mail History Id: 30812629, Consumer Id: 1171252, Address Id: 15029460 => Updated with Vin: 1GCCS196458113673 ## Mail History Id: 30812582, Consumer Id: 1171270, Address Id: 15029475 => Updated with Vin: 3GNEC12Z55G242923 ## Total mail_history records updated with vin numbers: 16 out of 19 ============================================================ ====== Tracking Id: 1716 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-27 11:20:02') AND us2_order_type_id = 3 ## Order found: 2024 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2024 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3721 ## Mailing found: '13197' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30825978, Consumer Id: 1012111, Address Id: 6668846 => Updated with Vin: 4F2CZ04105KM40527 ## Mail History Id: 30825967, Consumer Id: 1009785, Address Id: 14931673 => Updated with Vin: JM1BK34L781839982 ## Total mail_history records updated with vin numbers: 2 out of 5 ============================================================ ====== Tracking Id: 1717 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-27 11:20:11') AND us2_order_type_id = 3 ## Order found: 2023 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2023 AND product_id = 113 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3808 ## Mailing found: '13216' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812614, Consumer Id: 1266070, Address Id: 15437631 => Updated with Vin: 2G1WT58K569154974 ## Mail History Id: 30812613, Consumer Id: 1265966, Address Id: 15437537 => Updated with Vin: 1GNDV03L55D240550 ## Mail History Id: 30812611, Consumer Id: 1266075, Address Id: 15437636 => Updated with Vin: 2CNDL63F476005002 ## Mail History Id: 30812590, Consumer Id: 1265956, Address Id: 15437527 => Updated with Vin: 3GNDA23D17S550181 ## Mail History Id: 30812606, Consumer Id: 1266106, Address Id: 15437663 => Updated with Vin: 1NXBR32E15Z489822 ## Mail History Id: 30812595, Consumer Id: 1265961, Address Id: 15437532 => Updated with Vin: 3GKFK16Z64G138101 ## Mail History Id: 30812609, Consumer Id: 1266069, Address Id: 15437630 => Updated with Vin: 1GCEC19R3WR118990 ## Mail History Id: 30812598, Consumer Id: 1265879, Address Id: 15437456 => Updated with Vin: 2GTEC19V421393686 ## Mail History Id: 30812579, Consumer Id: 1265992, Address Id: 15437561 => Updated with Vin: 5B4LP57G323346656 ## Mail History Id: 30812584, Consumer Id: 1266082, Address Id: 15437643 => Updated with Vin: 2GCEK19NX31394345 ## Total mail_history records updated with vin numbers: 10 out of 12 ============================================================ ====== Tracking Id: 1718 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-27 11:20:24') AND us2_order_type_id = 3 ## Order found: 2023 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2023 AND product_id = 114 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3808 ## Mailing found: '13216' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812605, Consumer Id: 1287364, Address Id: 15464591 => Updated with Vin: KM8SC13D34U605466 ## Mail History Id: 30812617, Consumer Id: 1287251, Address Id: 4511039 => Updated with Vin: 1GCEC19Z96Z210394 ## Mail History Id: 30812580, Consumer Id: 1287336, Address Id: 15462777 => Updated with Vin: 2G1WB58K479243066 ## Mail History Id: 30812599, Consumer Id: 1287330, Address Id: 15464578 => Updated with Vin: 1G2HX54K114224187 ## Mail History Id: 30812589, Consumer Id: 1272898, Address Id: 15453280 => Updated with Vin: 2G1WH55K429385980 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 1719 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-27 11:46:21') AND us2_order_type_id = 3 ## Order found: 2025 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2025 AND product_id = 142 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3357 ## Mailing found: '13188' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826440, Consumer Id: 200006, Address Id: 407815 => Updated with Vin: JTEGH20V210021766 ## Mail History Id: 30826420, Consumer Id: 187299, Address Id: 398082 => Updated with Vin: 1FAHP55S62G246427 ## Mail History Id: 30826406, Consumer Id: 189864, Address Id: 399937 => Updated with Vin: 1FAFP44454F108360 ## Mail History Id: 30826419, Consumer Id: 196282, Address Id: 405345 => Updated with Vin: 1FTYR10D35PA07346 ## Mail History Id: 30826423, Consumer Id: 153278, Address Id: 395533 => Updated with Vin: 3VWCK21C92M449234 ## Mail History Id: 30826403, Consumer Id: 152451, Address Id: 394778 => Updated with Vin: 1ZVFT80N665142230 ## Mail History Id: 30826432, Consumer Id: 939743, Address Id: 11961415 => Updated with Vin: WBAVB33536PS10954 ## Mail History Id: 30826401, Consumer Id: 630076, Address Id: 11770521 => Updated with Vin: 1FTRF12277NA12590 ## Mail History Id: 30826428, Consumer Id: 190682, Address Id: 401095 => Updated with Vin: 1FMYU22XXWUC13001 ## Mail History Id: 30826435, Consumer Id: 920410, Address Id: 11950509 => Updated with Vin: JM1BK324681852783 ## Mail History Id: 30826431, Consumer Id: 631035, Address Id: 11771104 => Updated with Vin: 1HGCP36798A004179 ## Mail History Id: 30826433, Consumer Id: 155577, Address Id: 397621 => Updated with Vin: 1FMCU59HX8KB90635 ## Mail History Id: 30826413, Consumer Id: 195731, Address Id: 405021 => Updated with Vin: 5LMEU68H45ZJ16241 ## Mail History Id: 30826438, Consumer Id: 1005520, Address Id: 14928038 => Updated with Vin: 1MEPM36X0RK602583 ## Mail History Id: 30826405, Consumer Id: 742569, Address Id: 407597 => Updated with Vin: 1LNLM91V8VY662882 ## Total mail_history records updated with vin numbers: 15 out of 17 ============================================================ ====== Tracking Id: 1720 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-27 11:46:25') AND us2_order_type_id = 3 ## Order found: 2025 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2025 AND product_id = 114 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3357 ## Mailing found: '13204' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813326, Consumer Id: 187894, Address Id: 399076 => Updated with Vin: 2FMZA524X2BA85234 ## Mail History Id: 30813263, Consumer Id: 153041, Address Id: 395322 => Updated with Vin: 1YVGF22C425273166 ## Mail History Id: 30813261, Consumer Id: 195152, Address Id: 404683 => Updated with Vin: 1FAFP33P22W290361 ## Mail History Id: 30813331, Consumer Id: 197440, Address Id: 407180 => Updated with Vin: 19UUA56633A048891 ## Mail History Id: 30813351, Consumer Id: 197718, Address Id: 407197 => Updated with Vin: 1FMFU18L33LB30713 ## Mail History Id: 30813257, Consumer Id: 197364, Address Id: 406935 => Updated with Vin: 4T1BE32KX3U169638 ## Mail History Id: 30813311, Consumer Id: 197802, Address Id: 398358 => Updated with Vin: JM3LW28A440529842 ## Mail History Id: 30813260, Consumer Id: 197503, Address Id: 407183 => Updated with Vin: 1HGCM56725A043891 ## Mail History Id: 30813322, Consumer Id: 155158, Address Id: 397237 => Updated with Vin: 2T1KR32E85C376810 ## Mail History Id: 30813307, Consumer Id: 196909, Address Id: 400093 => Updated with Vin: 4T1BK36B85U053487 ## Mail History Id: 30813348, Consumer Id: 154991, Address Id: 397084 => Updated with Vin: JM1BK324171698157 ## Mail History Id: 30813276, Consumer Id: 195012, Address Id: 404524 => Updated with Vin: 1FMRU15W72LA42967 ## Mail History Id: 30813315, Consumer Id: 188906, Address Id: 399295 => Updated with Vin: 1FAFP55S23G219704 ## Mail History Id: 30813295, Consumer Id: 155487, Address Id: 397536 => Updated with Vin: 3FAHP07Z88R157439 ## Mail History Id: 30813330, Consumer Id: 197350, Address Id: 407012 => Updated with Vin: 1ZWFT61LXY5632315 ## Mail History Id: 30813255, Consumer Id: 197551, Address Id: 407187 => Updated with Vin: 2MEFM74W9YX624509 ## Total mail_history records updated with vin numbers: 16 out of 17 ============================================================ ====== Tracking Id: 1721 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-27 11:46:34') AND us2_order_type_id = 3 ## Order found: 2024 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2024 AND product_id = 2147 ## Job Group Found: '551' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('551') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082908002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082908002') AND customer_id = 3721 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 6 ============================================================ ====== Tracking Id: 1722 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-27 11:46:38') AND us2_order_type_id = 3 ## Order found: 2025 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2025 AND product_id = 113 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3357 ## Mailing found: '13204' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813339, Consumer Id: 155775, Address Id: 397809 => Updated with Vin: JA3AH86C96U042227 ## Mail History Id: 30813321, Consumer Id: 155774, Address Id: 397808 => Updated with Vin: 1FMFU18578LA38612 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1723 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-27 12:18:59') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 1724 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-27 12:19:02') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 1725 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-27 12:19:05') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 1726 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-27 12:19:18') AND us2_order_type_id = 3 ## Order found: 2026 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2026 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3471 ## Mailing found: '13193' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826197, Consumer Id: 803526, Address Id: 4230717 => Updated with Vin: 1GHDT13W9W2716093 ## Mail History Id: 30826213, Consumer Id: 803473, Address Id: 11872441 => Updated with Vin: 1G6KD54Y5YU230036 ## Mail History Id: 30826211, Consumer Id: 805999, Address Id: 4234854 => Updated with Vin: 1G6ET12961B104130 ## Mail History Id: 30826164, Consumer Id: 823518, Address Id: 7416732 => Updated with Vin: 1G6DW67V280124922 ## Mail History Id: 30826176, Consumer Id: 821956, Address Id: 10215492 => Updated with Vin: 1G6KD54Y55U267812 ## Mail History Id: 30826144, Consumer Id: 816786, Address Id: 7878825 => Updated with Vin: 1G6DP567950200674 ## Mail History Id: 30826215, Consumer Id: 807140, Address Id: 11874320 => Updated with Vin: 1G6KD54Y44U176139 ## Mail History Id: 30826215, Consumer Id: 807140, Address Id: 11874320 => Updated with Vin: 1G6KD54Y44U176139 ## Mail History Id: 30826183, Consumer Id: 800956, Address Id: 10215969 => Updated with Vin: 1GHDT13S722223195 ## Mail History Id: 30826203, Consumer Id: 803147, Address Id: 11872269 => Updated with Vin: 1G3HN52K0W4815980 ## Mail History Id: 30826202, Consumer Id: 799597, Address Id: 10220008 => Updated with Vin: 1G3NL52E2YC315587 ## Mail History Id: 30826212, Consumer Id: 798450, Address Id: 11869871 => Updated with Vin: 1G6KF5792YU346843 ## Mail History Id: 30826141, Consumer Id: 822809, Address Id: 7415464 => Updated with Vin: 3GYEK62NX6G117899 ## Mail History Id: 30826222, Consumer Id: 799747, Address Id: 11870518 => Updated with Vin: 1G6KE57Y91U193202 ## Mail History Id: 30826133, Consumer Id: 802810, Address Id: 7878357 => Updated with Vin: 1GYEK13R6YR163799 ## Mail History Id: 30826221, Consumer Id: 798452, Address Id: 11869872 => Updated with Vin: 1G6KS54Y3WU933475 ## Mail History Id: 30826192, Consumer Id: 799717, Address Id: 10217602 => Updated with Vin: 1G6KY5296TU836082 ## Mail History Id: 30826135, Consumer Id: 799801, Address Id: 7878404 => Updated with Vin: 1G6KE57Y01U160959 ## Mail History Id: 30826180, Consumer Id: 816210, Address Id: 10215706 => Updated with Vin: 1GYEK63N15R195355 ## Mail History Id: 30826182, Consumer Id: 822574, Address Id: 10215755 => Updated with Vin: 1GYFK63897R359629 ## Mail History Id: 30826172, Consumer Id: 822274, Address Id: 10214959 => Updated with Vin: 1GYFK63827R328562 ## Mail History Id: 30826168, Consumer Id: 816262, Address Id: 10561260 => Updated with Vin: 1GYEK63N64R322681 ## Mail History Id: 30826184, Consumer Id: 803655, Address Id: 10215867 => Updated with Vin: 3GYFK66NX4G173062 ## Mail History Id: 30826193, Consumer Id: 798186, Address Id: 10217614 => Updated with Vin: 3GYFK66N23G229042 ## Mail History Id: 30826147, Consumer Id: 807116, Address Id: 7415676 => Updated with Vin: 3GYFK66N04G337368 ## Mail History Id: 30826205, Consumer Id: 807459, Address Id: 11876578 => Updated with Vin: 1G6KD54Y14U119669 ## Mail History Id: 30826150, Consumer Id: 800828, Address Id: 7415799 => Updated with Vin: 1GYEK63N53R138203 ## Mail History Id: 30826188, Consumer Id: 816816, Address Id: 10217360 => Updated with Vin: 1GYEK63N35R119345 ## Mail History Id: 30826152, Consumer Id: 817051, Address Id: 7415911 => Updated with Vin: 3GYFK66N23G240364 ## Mail History Id: 30826195, Consumer Id: 821842, Address Id: 10217736 => Updated with Vin: 1GYEK63N62R102180 ## Mail History Id: 30826171, Consumer Id: 818329, Address Id: 10214870 => Updated with Vin: W06VR54R11R077878 ## Mail History Id: 30826156, Consumer Id: 818299, Address Id: 7416163 => Updated with Vin: 3GYFK66N16G104439 ## Mail History Id: 30826159, Consumer Id: 822624, Address Id: 7416314 => Updated with Vin: 1G6KD57Y86U167135 ## Mail History Id: 30826187, Consumer Id: 760397, Address Id: 11851022 => Updated with Vin: 1GYEE63AX70167100 ## Mail History Id: 30826227, Consumer Id: 773043, Address Id: 6424722 => Updated with Vin: 1GYEE637050171965 ## Mail History Id: 30826145, Consumer Id: 773028, Address Id: 11874240 => Updated with Vin: 1GYFK66808R173619 ## Mail History Id: 30826163, Consumer Id: 760382, Address Id: 11851013 => Updated with Vin: 1GYFK63827R322227 ## Mail History Id: 30826142, Consumer Id: 806977, Address Id: 11876260 => Updated with Vin: 1GYEE637470136638 ## Mail History Id: 30826142, Consumer Id: 806977, Address Id: 11876260 => Updated with Vin: 1GYEE637470136638 ## Mail History Id: 30826198, Consumer Id: 817858, Address Id: 10218155 => Updated with Vin: 1G6DM577340137626 ## Mail History Id: 30826177, Consumer Id: 823510, Address Id: 11876409 => Updated with Vin: 1GYEE437180133282 ## Mail History Id: 30826126, Consumer Id: 823512, Address Id: 11878937 => Updated with Vin: 1GYFK63847R332595 ## Mail History Id: 30826200, Consumer Id: 823492, Address Id: 4553846 => Updated with Vin: 1GYEK63NX4R129983 ## Mail History Id: 30826196, Consumer Id: 823493, Address Id: 11876674 => Updated with Vin: 1GYFK63837R314833 ## Mail History Id: 30826162, Consumer Id: 807089, Address Id: 7416576 => Updated with Vin: 1G6KD57Y38U116208 ## Mail History Id: 30826138, Consumer Id: 760412, Address Id: 11851027 => Updated with Vin: 1LNHM87A23Y669148 ## Mail History Id: 30826131, Consumer Id: 807108, Address Id: 11877051 => Updated with Vin: 4T1BE32K24U904839 ## Total mail_history records updated with vin numbers: 47 out of 54 ============================================================ ====== Tracking Id: 1727 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-27 12:19:28') AND us2_order_type_id = 3 ## Order found: 2026 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2026 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3471 ## Mailing found: '13210' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812964, Consumer Id: 817366, Address Id: 10216963 => Updated with Vin: 1G6KS54Y44U173277 ## Mail History Id: 30812962, Consumer Id: 816623, Address Id: 11876240 => Updated with Vin: 1G6KS54Y72U194976 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1728 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-27 14:16:13') AND us2_order_type_id = 3 ## Order found: 2016 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2016 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3418 ## Mailing found: '13190' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826332, Consumer Id: 664057, Address Id: 10326659 => Updated with Vin: 1G6DM57N330163835 ## Mail History Id: 30826343, Consumer Id: 666414, Address Id: 11785190 => Updated with Vin: 1G6KD54Y33U279874 ## Mail History Id: 30826377, Consumer Id: 611083, Address Id: 11755713 => Updated with Vin: 1GYFK63828R232285 ## Mail History Id: 30826371, Consumer Id: 611142, Address Id: 11755759 => Updated with Vin: 1G6DF577280151968 ## Mail History Id: 30826354, Consumer Id: 673997, Address Id: 11790324 => Updated with Vin: 2G4WS52JX31193477 ## Mail History Id: 30826316, Consumer Id: 626895, Address Id: 11764558 => Updated with Vin: 1G6KF57924U145275 ## Mail History Id: 30826372, Consumer Id: 629256, Address Id: 11769704 => Updated with Vin: 1G6DC67A160101442 ## Mail History Id: 30826330, Consumer Id: 674378, Address Id: 11755236 => Updated with Vin: 1G6KD57Y36U116898 ## Mail History Id: 30826366, Consumer Id: 668601, Address Id: 11786769 => Updated with Vin: 1GYEE637840145306 ## Mail History Id: 30826381, Consumer Id: 677670, Address Id: 10126919 => Updated with Vin: 1GYEE637560209899 ## Mail History Id: 30826339, Consumer Id: 677864, Address Id: 11792681 => Updated with Vin: 1G6DP577670105717 ## Mail History Id: 30826329, Consumer Id: 676994, Address Id: 11792190 => Updated with Vin: 1G6DP577170101560 ## Mail History Id: 30826337, Consumer Id: 678747, Address Id: 6912888 => Updated with Vin: 3GYFK62807G219227 ## Mail History Id: 30826368, Consumer Id: 611088, Address Id: 11755718 => Updated with Vin: 1G6DW677470176438 ## Mail History Id: 30826308, Consumer Id: 611080, Address Id: 11755710 => Updated with Vin: 1G6DW67V780119375 ## Mail History Id: 30826308, Consumer Id: 611105, Address Id: 11755710 => Updated with Vin: 1GYEE637380104782 ## Mail History Id: 30826365, Consumer Id: 680144, Address Id: 11794038 => Updated with Vin: 1G6DM57T870195877 ## Mail History Id: 30826320, Consumer Id: 662916, Address Id: 11782634 => Updated with Vin: 3GYFK66N23G318559 ## Mail History Id: 30826362, Consumer Id: 610655, Address Id: 11755350 => Updated with Vin: 1G6DW67V080107908 ## Mail History Id: 30826338, Consumer Id: 681266, Address Id: 8873337 => Updated with Vin: WBABN53432JU28144 ## Mail History Id: 30826358, Consumer Id: 679647, Address Id: 11785590 => Updated with Vin: 1FTNX21LXYEA02634 ## Total mail_history records updated with vin numbers: 21 out of 30 ============================================================ ====== Tracking Id: 1729 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-27 14:16:29') AND us2_order_type_id = 3 ## Order found: 2027 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2027 AND product_id = 113 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3451 ## Mailing found: '13208' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813125, Consumer Id: 627464, Address Id: 11758346 => Updated with Vin: 1G6KD54Y85U168983 ## Mail History Id: 30813102, Consumer Id: 628013, Address Id: 3404023 => Updated with Vin: 1G6KD54Y35U104866 ## Mail History Id: 30813148, Consumer Id: 619356, Address Id: 11760987 => Updated with Vin: 1G6DP577870107369 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 1730 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-27 14:16:41') AND us2_order_type_id = 3 ## Order found: 2027 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2027 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3451 ## Mailing found: '13208' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813111, Consumer Id: 624431, Address Id: 829151 => Updated with Vin: 1G6DW677750160456 ## Mail History Id: 30813110, Consumer Id: 624432, Address Id: 11763242 => Updated with Vin: 1G6KD57YX6U113772 ## Mail History Id: 30813139, Consumer Id: 628574, Address Id: 11765775 => Updated with Vin: 1G6YV34A055603696 ## Mail History Id: 30813146, Consumer Id: 628560, Address Id: 11765765 => Updated with Vin: YV4CZ982571365434 ## Mail History Id: 30813141, Consumer Id: 628566, Address Id: 11765769 => Updated with Vin: 5FNRL38657B001794 ## Mail History Id: 30813103, Consumer Id: 628573, Address Id: 11765774 => Updated with Vin: 1GYEC63T65R130724 ## Mail History Id: 30813101, Consumer Id: 619545, Address Id: 11761265 => Updated with Vin: 1G6DM577740156678 ## Mail History Id: 30813138, Consumer Id: 628556, Address Id: 11765761 => Updated with Vin: KL1TD56696B550683 ## Mail History Id: 30813140, Consumer Id: 628577, Address Id: 11765777 => Updated with Vin: 1GYFK638X7R380635 ## Total mail_history records updated with vin numbers: 9 out of 16 ============================================================ ====== Tracking Id: 1731 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-27 14:16:53') AND us2_order_type_id = 3 ## Order found: 2027 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2027 AND product_id = 114 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3451 ## Mailing found: '13208' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1732 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3997 AND DATE(cart_created_date) = DATE('2008-08-27 14:26:32') AND us2_order_type_id = 3 ## Order found: 2040 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2040 AND product_id = 54 ## Job Group Found: '540' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('540') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda082708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda082708001') AND customer_id = 3997 ## Mailing found: '13173' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 1733 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3997 AND DATE(cart_created_date) = DATE('2008-08-27 15:03:51') AND us2_order_type_id = 3 ## Order found: 2040 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2040 AND product_id = 54 ## Job Group Found: '540' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('540') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda082708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda082708001') AND customer_id = 3997 ## Mailing found: '13173' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 1734 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3997 AND DATE(cart_created_date) = DATE('2008-08-27 15:06:48') AND us2_order_type_id = 3 ## Order found: 2040 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2040 AND product_id = 54 ## Job Group Found: '540' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('540') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda082708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda082708001') AND customer_id = 3997 ## Mailing found: '13173' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 1735 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3997 AND DATE(cart_created_date) = DATE('2008-08-27 15:07:11') AND us2_order_type_id = 3 ## Order found: 2040 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2040 AND product_id = 54 ## Job Group Found: '540' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('540') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda082708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda082708001') AND customer_id = 3997 ## Mailing found: '13173' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 1736 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3997 AND DATE(cart_created_date) = DATE('2008-08-27 15:14:18') AND us2_order_type_id = 3 ## Order found: 2040 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2040 AND product_id = 54 ## Job Group Found: '540' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('540') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda082708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda082708001') AND customer_id = 3997 ## Mailing found: '13173' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 1737 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3997 AND DATE(cart_created_date) = DATE('2008-08-27 15:14:46') AND us2_order_type_id = 3 ## Order found: 2040 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2040 AND product_id = 54 ## Job Group Found: '540' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('540') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda082708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda082708001') AND customer_id = 3997 ## Mailing found: '13173' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 1738 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3997 AND DATE(cart_created_date) = DATE('2008-08-27 15:17:11') AND us2_order_type_id = 3 ## Order found: 2040 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2040 AND product_id = 54 ## Job Group Found: '540' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('540') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda082708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda082708001') AND customer_id = 3997 ## Mailing found: '13173' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 1739 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3997 AND DATE(cart_created_date) = DATE('2008-08-27 15:18:51') AND us2_order_type_id = 3 ## Order found: 2040 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2040 AND product_id = 54 ## Job Group Found: '540' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('540') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda082708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda082708001') AND customer_id = 3997 ## Mailing found: '13173' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 1740 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3997 AND DATE(cart_created_date) = DATE('2008-08-27 15:21:47') AND us2_order_type_id = 3 ## Order found: 2040 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2040 AND product_id = 54 ## Job Group Found: '540' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('540') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda082708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda082708001') AND customer_id = 3997 ## Mailing found: '13173' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 1741 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3997 AND DATE(cart_created_date) = DATE('2008-08-27 15:22:31') AND us2_order_type_id = 3 ## Order found: 2040 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2040 AND product_id = 54 ## Job Group Found: '540' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('540') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda082708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda082708001') AND customer_id = 3997 ## Mailing found: '13173' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 1742 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3997 AND DATE(cart_created_date) = DATE('2008-08-27 15:23:04') AND us2_order_type_id = 3 ## Order found: 2040 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2040 AND product_id = 54 ## Job Group Found: '540' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('540') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda082708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda082708001') AND customer_id = 3997 ## Mailing found: '13173' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 1743 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3997 AND DATE(cart_created_date) = DATE('2008-08-27 15:25:02') AND us2_order_type_id = 3 ## Order found: 2040 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2040 AND product_id = 54 ## Job Group Found: '540' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('540') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda082708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda082708001') AND customer_id = 3997 ## Mailing found: '13173' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 1744 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3997 AND DATE(cart_created_date) = DATE('2008-08-27 15:25:16') AND us2_order_type_id = 3 ## Order found: 2040 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2040 AND product_id = 54 ## Job Group Found: '540' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('540') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda082708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda082708001') AND customer_id = 3997 ## Mailing found: '13173' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 1745 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3997 AND DATE(cart_created_date) = DATE('2008-08-27 15:28:51') AND us2_order_type_id = 3 ## Order found: 2040 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2040 AND product_id = 54 ## Job Group Found: '540' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('540') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda082708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda082708001') AND customer_id = 3997 ## Mailing found: '13173' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 1746 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3997 AND DATE(cart_created_date) = DATE('2008-08-27 15:31:27') AND us2_order_type_id = 3 ## Order found: 2040 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2040 AND product_id = 54 ## Job Group Found: '540' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('540') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda082708001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda082708001') AND customer_id = 3997 ## Mailing found: '13173' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 1747 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-27 19:16:22') AND us2_order_type_id = 3 ## Order found: 2025 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2025 AND product_id = 55 ## Job Group Found: '543' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('543') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808002') AND customer_id = 3357 ## Mailing found: '13256' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1748 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-27 20:16:17') AND us2_order_type_id = 3 ## Order found: 2041 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2041 AND product_id = 2153 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1749 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-27 20:16:21') AND us2_order_type_id = 3 ## Order found: 2041 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2041 AND product_id = 2152 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1750 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-27 20:16:24') AND us2_order_type_id = 3 ## Order found: 2041 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2041 AND product_id = 2150 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3503 ## Mailing found: '13478' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 13 ============================================================ ====== Tracking Id: 1751 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-27 20:16:37') AND us2_order_type_id = 3 ## Order found: 2041 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2041 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1752 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-28 07:16:37') AND us2_order_type_id = 3 ## Order found: 2057 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2057 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3503 ## Mailing found: '13402,13913' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992391, Consumer Id: 2158788, Address Id: 468632 => Updated with Vin: JT3HN86R8Y0323186 ## Mail History Id: 30992290, Consumer Id: 2174619, Address Id: 9722744 => Updated with Vin: 2T1AE09B1RC046918 ## Mail History Id: 30992086, Consumer Id: 2163897, Address Id: 9730316 => Updated with Vin: JTEGD21A340105557 ## Mail History Id: 30992277, Consumer Id: 2161983, Address Id: 9728005 => Updated with Vin: JTEBU14R850073082 ## Mail History Id: 30993129, Consumer Id: 2162029, Address Id: 9728042 => Updated with Vin: 4T1BE32K15U533190 ## Mail History Id: 30992266, Consumer Id: 2162079, Address Id: 9728080 => Updated with Vin: 4T1BK36B55U043869 ## Mail History Id: 30993259, Consumer Id: 2171556, Address Id: 9719287 => Updated with Vin: JT3HN86R0Y0298493 ## Mail History Id: 30993605, Consumer Id: 2168272, Address Id: 9735674 => Updated with Vin: JTMBD33VX76052863 ## Mail History Id: 30992310, Consumer Id: 2169372, Address Id: 42122 => Updated with Vin: 4T1BK46K58U067907 ## Mail History Id: 30992146, Consumer Id: 2167879, Address Id: 9735117 => Updated with Vin: JTDKB20U173239065 ## Mail History Id: 30992377, Consumer Id: 2172717, Address Id: 9720494 => Updated with Vin: JT2BG22K810554816 ## Mail History Id: 30992141, Consumer Id: 2181868, Address Id: 9734467 => Updated with Vin: JTDBE32K140246913 ## Mail History Id: 30993613, Consumer Id: 2174656, Address Id: 9722775 => Updated with Vin: JT2BK12U620051846 ## Mail History Id: 30993545, Consumer Id: 2158912, Address Id: 9722462 => Updated with Vin: 4T1BE32K93U246693 ## Mail History Id: 30992705, Consumer Id: 2159340, Address Id: 9723573 => Updated with Vin: JTEGD20V840011016 ## Mail History Id: 30993581, Consumer Id: 2159199, Address Id: 9723457 => Updated with Vin: 2T1BR38E64C210095 ## Mail History Id: 30993539, Consumer Id: 383939, Address Id: 9724030 => Updated with Vin: JTEHF21A020056703 ## Mail History Id: 30993521, Consumer Id: 2171428, Address Id: 9719169 => Updated with Vin: 4T1BE30K22U591971 ## Mail History Id: 30992229, Consumer Id: 2168975, Address Id: 9737614 => Updated with Vin: JTEHH20V310073220 ## Mail History Id: 30992265, Consumer Id: 2161163, Address Id: 9726826 => Updated with Vin: 5TDZA23C55S244186 ## Mail History Id: 30992543, Consumer Id: 2179112, Address Id: 9730032 => Updated with Vin: 4T1BE32K52U089615 ## Mail History Id: 30992493, Consumer Id: 2167741, Address Id: 9735014 => Updated with Vin: 5TBDV54147S461625 ## Mail History Id: 30992569, Consumer Id: 2162660, Address Id: 9728773 => Updated with Vin: JTDBE32K653028997 ## Mail History Id: 30992531, Consumer Id: 2174980, Address Id: 9723066 => Updated with Vin: 1LNHM97V3XY704696 ## Mail History Id: 30992450, Consumer Id: 2169991, Address Id: 9735478 => Updated with Vin: 4T1BK36B48U299263 ## Mail History Id: 30992105, Consumer Id: 2164383, Address Id: 9730898 => Updated with Vin: 4T1BE32K46U741470 ## Mail History Id: 30992247, Consumer Id: 2163802, Address Id: 9722582 => Updated with Vin: 5TELU42N06Z155349 ## Mail History Id: 30993727, Consumer Id: 2169417, Address Id: 9738032 => Updated with Vin: 2T1BR32E45C465970 ## Mail History Id: 30993741, Consumer Id: 2171711, Address Id: 9719439 => Updated with Vin: 4T3ZF13C5WU073175 ## Mail History Id: 30992999, Consumer Id: 2171774, Address Id: 9719499 => Updated with Vin: 4T1BG22K1XU616769 ## Mail History Id: 30992911, Consumer Id: 2166140, Address Id: 499495 => Updated with Vin: 4T1BK36B46U108101 ## Mail History Id: 30992971, Consumer Id: 2162591, Address Id: 9728726 => Updated with Vin: JTEGD20V550087827 ## Mail History Id: 30993393, Consumer Id: 2160346, Address Id: 9725829 => Updated with Vin: JTEEP21A940030958 ## Mail History Id: 30992985, Consumer Id: 2177876, Address Id: 9727584 => Updated with Vin: 2T1BR32E84C229143 ## Mail History Id: 30993403, Consumer Id: 2165199, Address Id: 460200 => Updated with Vin: 5TEUU42N46Z287776 ## Mail History Id: 30992963, Consumer Id: 289887, Address Id: 4423689 => Updated with Vin: JM1BK12F741152318 ## Mail History Id: 30993719, Consumer Id: 2176084, Address Id: 9724620 => Updated with Vin: 2T1KR32E43C003101 ## Mail History Id: 30993571, Consumer Id: 2169053, Address Id: 9737669 => Updated with Vin: JTEES43AX82028511 ## Mail History Id: 30992368, Consumer Id: 2175541, Address Id: 9723823 => Updated with Vin: 5TBBT48123S410877 ## Mail History Id: 30992102, Consumer Id: 2173983, Address Id: 9721858 => Updated with Vin: JTEBT14RX30003048 ## Mail History Id: 30992857, Consumer Id: 2178859, Address Id: 9729240 => Updated with Vin: 2T1BR38E84C254163 ## Mail History Id: 30993593, Consumer Id: 2169807, Address Id: 9723058 => Updated with Vin: 4T1BK36B68U274607 ## Mail History Id: 30992387, Consumer Id: 2168524, Address Id: 8743077 => Updated with Vin: JTKDE167480229833 ## Mail History Id: 30992785, Consumer Id: 2169234, Address Id: 9737809 => Updated with Vin: 1GCEK19T71E208853 ## Total mail_history records updated with vin numbers: 44 out of 110 ============================================================ ====== Tracking Id: 1753 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-28 08:46:27') AND us2_order_type_id = 3 ## Order found: 2058 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2058 AND product_id = 113 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3230 ## Mailing found: '13203' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813357, Consumer Id: 937110, Address Id: 11959543 => Updated with Vin: 1FTPX14515FA97901 ## Mail History Id: 30813359, Consumer Id: 64362, Address Id: 47564 => Updated with Vin: 1FTNX21F21EA16138 ## Mail History Id: 30813355, Consumer Id: 64248, Address Id: 48571 => Updated with Vin: 1FTSW31P93ED57639 ## Mail History Id: 30813358, Consumer Id: 65841, Address Id: 52397 => Updated with Vin: 1FTRW07W91KE65835 ## Mail History Id: 30813356, Consumer Id: 93546, Address Id: 52042 => Updated with Vin: 3A4FY48B66T371413 ## Total mail_history records updated with vin numbers: 5 out of 8 ============================================================ ====== Tracking Id: 1754 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-28 08:46:32') AND us2_order_type_id = 3 ## Order found: 2058 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2058 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3230 ## Mailing found: '13187' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826456, Consumer Id: 871872, Address Id: 11912181 => Updated with Vin: 2FMDK46C77BA56199 ## Mail History Id: 30826478, Consumer Id: 66871, Address Id: 49245 => Updated with Vin: 2FMZA516X6BA51965 ## Mail History Id: 30826479, Consumer Id: 63186, Address Id: 51062 => Updated with Vin: 1FMZU73K34ZA28857 ## Mail History Id: 30826474, Consumer Id: 67004, Address Id: 47962 => Updated with Vin: 2FMZA51646BA11090 ## Mail History Id: 30826459, Consumer Id: 92811, Address Id: 51225 => Updated with Vin: 1FTPX14V17NA11169 ## Mail History Id: 30826472, Consumer Id: 66778, Address Id: 52208 => Updated with Vin: 1FMZU67E52UB08475 ## Mail History Id: 30826443, Consumer Id: 103299, Address Id: 53624 => Updated with Vin: 3FAFP13P01R197246 ## Mail History Id: 30826451, Consumer Id: 66189, Address Id: 49762 => Updated with Vin: 1FAFP56S85A186891 ## Total mail_history records updated with vin numbers: 8 out of 13 ============================================================ ====== Tracking Id: 1755 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-28 09:20:11') AND us2_order_type_id = 3 ## Order found: 2059 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2059 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3470 ## Mailing found: '13209' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813075, Consumer Id: 872528, Address Id: 1554216 => Updated with Vin: 1C4GJ15B32B679653 ## Mail History Id: 30812987, Consumer Id: 560568, Address Id: 2002785 => Updated with Vin: 2C3JA53G45H595630 ## Mail History Id: 30812990, Consumer Id: 566417, Address Id: 796571 => Updated with Vin: 1J8HH48K16C106563 ## Mail History Id: 30813068, Consumer Id: 582864, Address Id: 10699104 => Updated with Vin: 1C3EL55T63N525475 ## Mail History Id: 30813034, Consumer Id: 579057, Address Id: 3405281 => Updated with Vin: 1J4FT68S6XL534214 ## Mail History Id: 30813012, Consumer Id: 570443, Address Id: 7466383 => Updated with Vin: WDBRF81J55F686938 ## Mail History Id: 30813056, Consumer Id: 570607, Address Id: 10717274 => Updated with Vin: 1J4GA39157L189675 ## Mail History Id: 30813018, Consumer Id: 571393, Address Id: 8794405 => Updated with Vin: 3D7KR19D27G833840 ## Mail History Id: 30812989, Consumer Id: 872526, Address Id: 3489691 => Updated with Vin: 2A8GM48L97R318507 ## Mail History Id: 30813062, Consumer Id: 572107, Address Id: 10719018 => Updated with Vin: 2A8HR64X48R646137 ## Mail History Id: 30812977, Consumer Id: 573362, Address Id: 10719643 => Updated with Vin: 2B3KA43G98H226827 ## Mail History Id: 30813064, Consumer Id: 663153, Address Id: 1550649 => Updated with Vin: 3D7MX48A97G799063 ## Mail History Id: 30813041, Consumer Id: 871336, Address Id: 1348289 => Updated with Vin: 2C3LA43R48H157926 ## Mail History Id: 30813043, Consumer Id: 871338, Address Id: 11911865 => Updated with Vin: 1J8GP28K48W249351 ## Mail History Id: 30813092, Consumer Id: 871337, Address Id: 11911864 => Updated with Vin: 1J8FT47068D593455 ## Total mail_history records updated with vin numbers: 15 out of 17 ============================================================ ====== Tracking Id: 1756 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-28 09:20:23') AND us2_order_type_id = 3 ## Order found: 2059 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2059 AND product_id = 114 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3470 ## Mailing found: '13209' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813085, Consumer Id: 576886, Address Id: 10725696 => Updated with Vin: 1J4GX58S42C282653 ## Mail History Id: 30812997, Consumer Id: 579002, Address Id: 10732245 => Updated with Vin: 1B7GL12X32S522005 ## Mail History Id: 30813004, Consumer Id: 573646, Address Id: 10678165 => Updated with Vin: 1J4GW58N9YC337314 ## Mail History Id: 30812981, Consumer Id: 561381, Address Id: 10699289 => Updated with Vin: 1J4GK38K35W598048 ## Mail History Id: 30813080, Consumer Id: 572807, Address Id: 7353004 => Updated with Vin: 1J8GA69168L555855 ## Mail History Id: 30813026, Consumer Id: 562997, Address Id: 10701311 => Updated with Vin: 3C4FY58B25T578486 ## Mail History Id: 30813035, Consumer Id: 570077, Address Id: 10703604 => Updated with Vin: 1J8GS48K37C576740 ## Mail History Id: 30812983, Consumer Id: 564205, Address Id: 10703849 => Updated with Vin: 1J4GK38K05W679265 ## Mail History Id: 30812999, Consumer Id: 574757, Address Id: 10722321 => Updated with Vin: 2C4GP54L35R279369 ## Mail History Id: 30813055, Consumer Id: 566916, Address Id: 10710706 => Updated with Vin: 1C8GJ453X3B201286 ## Mail History Id: 30813021, Consumer Id: 572700, Address Id: 2051880 => Updated with Vin: 1D7HA18257J630151 ## Mail History Id: 30813057, Consumer Id: 568579, Address Id: 10697503 => Updated with Vin: 3A4FY58B36T364456 ## Mail History Id: 30813020, Consumer Id: 579298, Address Id: 1332421 => Updated with Vin: 3D7LA38C53G778410 ## Mail History Id: 30812985, Consumer Id: 570703, Address Id: 2047618 => Updated with Vin: 3C4FY58B25T638265 ## Mail History Id: 30813019, Consumer Id: 571833, Address Id: 10718925 => Updated with Vin: 2A8GM68XX7R356665 ## Mail History Id: 30813039, Consumer Id: 1913379, Address Id: 16773063 => Updated with Vin: 3D7ML48C46G278988 ## Mail History Id: 30813049, Consumer Id: 572812, Address Id: 7199800 => Updated with Vin: 3A8FY58B78T126451 ## Total mail_history records updated with vin numbers: 17 out of 23 ============================================================ ====== Tracking Id: 1757 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-28 09:20:36') AND us2_order_type_id = 3 ## Order found: 2059 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2059 AND product_id = 113 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3470 ## Mailing found: '13209' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813065, Consumer Id: 570967, Address Id: 10693765 => Updated with Vin: 2C3KA43R07H774119 ## Mail History Id: 30813015, Consumer Id: 570012, Address Id: 5605520 => Updated with Vin: 1D7HA18217S195686 ## Mail History Id: 30813014, Consumer Id: 567235, Address Id: 10701151 => Updated with Vin: 1J4GL48596W232108 ## Mail History Id: 30813083, Consumer Id: 563390, Address Id: 3498296 => Updated with Vin: 1D7HU18D55S208977 ## Mail History Id: 30813081, Consumer Id: 564287, Address Id: 10705393 => Updated with Vin: 2C3KA63H06H246520 ## Mail History Id: 30813072, Consumer Id: 579928, Address Id: 1552610 => Updated with Vin: 1B3ES66S35D187909 ## Mail History Id: 30813053, Consumer Id: 566178, Address Id: 10707591 => Updated with Vin: 1J4FA44S06P726686 ## Mail History Id: 30813028, Consumer Id: 577455, Address Id: 5572876 => Updated with Vin: 1D7HE22K85S335717 ## Mail History Id: 30813093, Consumer Id: 567234, Address Id: 10710895 => Updated with Vin: 1J4GS48KX6C290948 ## Mail History Id: 30813047, Consumer Id: 567496, Address Id: 1351779 => Updated with Vin: 2C3KA43R26H297403 ## Mail History Id: 30812996, Consumer Id: 569473, Address Id: 3160163 => Updated with Vin: 2B3KA43RX6H300996 ## Mail History Id: 30813029, Consumer Id: 569472, Address Id: 1545453 => Updated with Vin: 2D4GP44L57R182013 ## Mail History Id: 30813091, Consumer Id: 570968, Address Id: 4899872 => Updated with Vin: 1C3LC55R78N618489 ## Mail History Id: 30813069, Consumer Id: 571363, Address Id: 10717844 => Updated with Vin: 1J8GS48K87C680639 ## Mail History Id: 30813067, Consumer Id: 571679, Address Id: 10717918 => Updated with Vin: 2C3LA63H36H109253 ## Mail History Id: 30813023, Consumer Id: 571677, Address Id: 10717917 => Updated with Vin: 1J8HH48P17C691495 ## Mail History Id: 30812993, Consumer Id: 583346, Address Id: 10718003 => Updated with Vin: 1J4FA64S76P715681 ## Mail History Id: 30813025, Consumer Id: 581694, Address Id: 1337239 => Updated with Vin: 1D8GT28KX7W735844 ## Mail History Id: 30813037, Consumer Id: 583352, Address Id: 1546162 => Updated with Vin: 3D7HA18N42G126825 ## Mail History Id: 30812998, Consumer Id: 582469, Address Id: 10744055 => Updated with Vin: 1J4GX48S93C518788 ## Mail History Id: 30813088, Consumer Id: 582958, Address Id: 10745072 => Updated with Vin: 1J4GK48K63W597060 ## Mail History Id: 30812992, Consumer Id: 583351, Address Id: 10745446 => Updated with Vin: 2B3KA43R07H624007 ## Mail History Id: 30813054, Consumer Id: 583355, Address Id: 1547933 => Updated with Vin: 1J4GX58N53C510039 ## Mail History Id: 30813042, Consumer Id: 583362, Address Id: 1546241 => Updated with Vin: 2D4GP44L65R148465 ## Total mail_history records updated with vin numbers: 24 out of 25 ============================================================ ====== Tracking Id: 1758 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-28 09:20:51') AND us2_order_type_id = 3 ## Order found: 2060 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2060 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3768 ## Mailing found: '13215' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812663, Consumer Id: 1108884, Address Id: 3595611 => Updated with Vin: 1G6KD57YX7U154663 ## Mail History Id: 30812674, Consumer Id: 1109386, Address Id: 14982567 => Updated with Vin: 1G6DW677770133065 ## Mail History Id: 30812669, Consumer Id: 1042588, Address Id: 12938220 => Updated with Vin: 1G6KD54Y81U108194 ## Mail History Id: 30812651, Consumer Id: 1051962, Address Id: 14953402 => Updated with Vin: 1G6KF57964U229678 ## Mail History Id: 30812655, Consumer Id: 1043230, Address Id: 2851731 => Updated with Vin: 1G6KD54Y91U193773 ## Mail History Id: 30812667, Consumer Id: 1047759, Address Id: 5991234 => Updated with Vin: 1G6DP577660116182 ## Mail History Id: 30812641, Consumer Id: 1109896, Address Id: 2776670 => Updated with Vin: 1G6DW52P6SR715518 ## Mail History Id: 30812657, Consumer Id: 1109819, Address Id: 5985158 => Updated with Vin: 1G6KD54Y54U107931 ## Mail History Id: 30812675, Consumer Id: 1109594, Address Id: 9401489 => Updated with Vin: 1GNEK13Z43R196077 ## Mail History Id: 30812661, Consumer Id: 1107594, Address Id: 5988359 => Updated with Vin: 1G6KE54Y03U190129 ## Mail History Id: 30812665, Consumer Id: 1108568, Address Id: 8828170 => Updated with Vin: 1GYEE637360138590 ## Mail History Id: 30812666, Consumer Id: 1111010, Address Id: 8193688 => Updated with Vin: 1G6DP567050162400 ## Mail History Id: 30812670, Consumer Id: 1048902, Address Id: 5993354 => Updated with Vin: 1G6DM57T760105424 ## Mail History Id: 30812637, Consumer Id: 1116602, Address Id: 11155730 => Updated with Vin: 1GYEK63R1YR183617 ## Total mail_history records updated with vin numbers: 14 out of 14 ============================================================ ====== Tracking Id: 1759 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-28 09:21:02') AND us2_order_type_id = 3 ## Order found: 2060 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2060 AND product_id = 113 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3768 ## Mailing found: '13215' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812649, Consumer Id: 1116289, Address Id: 14984018 => Updated with Vin: 2GCEC19V911318609 ## Mail History Id: 30812653, Consumer Id: 1107788, Address Id: 14982124 => Updated with Vin: 1G6KY5297VU824557 ## Mail History Id: 30812640, Consumer Id: 1115697, Address Id: 11449590 => Updated with Vin: 1G2HX54K724153501 ## Mail History Id: 30812660, Consumer Id: 1111495, Address Id: 1147283 => Updated with Vin: 1G6KD54Y6XU700718 ## Mail History Id: 30812676, Consumer Id: 1110294, Address Id: 14982477 => Updated with Vin: 1G6DM577940170193 ## Mail History Id: 30812673, Consumer Id: 1109853, Address Id: 14982230 => Updated with Vin: 1G6KS54Y3XU936264 ## Mail History Id: 30812642, Consumer Id: 1116059, Address Id: 11450126 => Updated with Vin: 3GNFK16U66G117596 ## Mail History Id: 30812659, Consumer Id: 1111795, Address Id: 14982871 => Updated with Vin: 1G6CD53BXP4267003 ## Mail History Id: 30812677, Consumer Id: 1114865, Address Id: 14983657 => Updated with Vin: 1G6DM57NX30142268 ## Mail History Id: 30812664, Consumer Id: 1116297, Address Id: 14967057 => Updated with Vin: 1G6KD54Y9XU726908 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 1760 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-28 09:21:14') AND us2_order_type_id = 3 ## Order found: 2060 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2060 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1761 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-28 10:19:40') AND us2_order_type_id = 3 ## Order found: 2059 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2059 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3470 ## Mailing found: '13192' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826241, Consumer Id: 573957, Address Id: 3167123 => Updated with Vin: 1J4GX48S52C137647 ## Mail History Id: 30826253, Consumer Id: 573637, Address Id: 5327684 => Updated with Vin: 1J4GX48S33C541029 ## Mail History Id: 30826238, Consumer Id: 575911, Address Id: 5390844 => Updated with Vin: 1J4GZ78SXRC355900 ## Mail History Id: 30826232, Consumer Id: 555379, Address Id: 2333218 => Updated with Vin: 1J4GX48S64C153391 ## Mail History Id: 30826244, Consumer Id: 572481, Address Id: 7466932 => Updated with Vin: 3D7KR19D27G833837 ## Mail History Id: 30826242, Consumer Id: 558263, Address Id: 7465622 => Updated with Vin: 2C3AA63H65H170408 ## Mail History Id: 30826254, Consumer Id: 576578, Address Id: 10723830 => Updated with Vin: 1D4GP25343B108951 ## Mail History Id: 30826264, Consumer Id: 629588, Address Id: 10697552 => Updated with Vin: 2D8HN44H08R603819 ## Mail History Id: 30826240, Consumer Id: 561733, Address Id: 10699534 => Updated with Vin: 1D4HD38N25F548744 ## Mail History Id: 30826229, Consumer Id: 565315, Address Id: 10705805 => Updated with Vin: 1J8HH58N06C175745 ## Mail History Id: 30826229, Consumer Id: 565315, Address Id: 10705805 => Updated with Vin: 1J8HH58N06C175745 ## Mail History Id: 30826246, Consumer Id: 572785, Address Id: 10686394 => Updated with Vin: 2D8HN54P38R113663 ## Mail History Id: 30826266, Consumer Id: 566899, Address Id: 10710695 => Updated with Vin: 3D7MX48D26G240186 ## Mail History Id: 30826257, Consumer Id: 577410, Address Id: 10726608 => Updated with Vin: 1B3ES56C95D156036 ## Mail History Id: 30826268, Consumer Id: 568515, Address Id: 3176910 => Updated with Vin: 1B3HB48B67D528530 ## Mail History Id: 30826272, Consumer Id: 569653, Address Id: 7736143 => Updated with Vin: 2C3KA53G16H538131 ## Mail History Id: 30826230, Consumer Id: 573516, Address Id: 10686558 => Updated with Vin: 2C3LA43R76H273506 ## Mail History Id: 30826260, Consumer Id: 570675, Address Id: 10515572 => Updated with Vin: 2C3LA53G27H807887 ## Mail History Id: 30826256, Consumer Id: 581247, Address Id: 10740836 => Updated with Vin: 2D8GP44LX7R180059 ## Mail History Id: 30826258, Consumer Id: 582483, Address Id: 10744067 => Updated with Vin: 1D7HA18D14S589010 ## Mail History Id: 30826245, Consumer Id: 582639, Address Id: 5595356 => Updated with Vin: 1D4GP24RX7B110165 ## Mail History Id: 30826247, Consumer Id: 572991, Address Id: 10719412 => Updated with Vin: 2A4GM484X6R709268 ## Mail History Id: 30826233, Consumer Id: 573314, Address Id: 3157031 => Updated with Vin: 2C3LA53G88H165340 ## Mail History Id: 30826267, Consumer Id: 630514, Address Id: 11770947 => Updated with Vin: 1J8HH48K68C158516 ## Mail History Id: 30826228, Consumer Id: 662400, Address Id: 11782596 => Updated with Vin: 2A8GM68X48R606547 ## Mail History Id: 30826235, Consumer Id: 982675, Address Id: 4892664 => Updated with Vin: 2C8GP54L65R136186 ## Mail History Id: 30826231, Consumer Id: 982003, Address Id: 14929164 => Updated with Vin: 3G2JB12F15S152976 ## Total mail_history records updated with vin numbers: 27 out of 45 ============================================================ ====== Tracking Id: 1762 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-28 10:19:52') AND us2_order_type_id = 3 ## Order found: 2061 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2061 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3416 ## Mailing found: '13189' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826399, Consumer Id: 625671, Address Id: 11766074 => Updated with Vin: 1G6KD57Y17U115962 ## Mail History Id: 30826398, Consumer Id: 938465, Address Id: 11960571 => Updated with Vin: 1G6DW677050164056 ## Mail History Id: 30826397, Consumer Id: 982107, Address Id: 1969918 => Updated with Vin: 1G6DL67A280155237 ## Mail History Id: 30826390, Consumer Id: 687764, Address Id: 1960830 => Updated with Vin: 1G6KD57Y84U188564 ## Mail History Id: 30826387, Consumer Id: 982105, Address Id: 1966883 => Updated with Vin: 1G6KD54Y95U255579 ## Mail History Id: 30826392, Consumer Id: 691898, Address Id: 1962700 => Updated with Vin: 1G6DP577170134509 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 1763 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-28 10:20:34') AND us2_order_type_id = 3 ## Order found: 2062 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2062 AND product_id = 2147 ## Job Group Found: '551' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('551') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082908002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082908002') AND customer_id = 3418 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 25 ============================================================ ====== Tracking Id: 1764 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-28 10:20:47') AND us2_order_type_id = 3 ## Order found: 2062 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2062 AND product_id = 2150 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3418 ## Mailing found: '13190' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826315, Consumer Id: 665744, Address Id: 11784700 => Updated with Vin: 1G6KD54Y83U121644 ## Mail History Id: 30826360, Consumer Id: 663577, Address Id: 11783040 => Updated with Vin: 1G6DM57N130167463 ## Mail History Id: 30826331, Consumer Id: 666276, Address Id: 10326622 => Updated with Vin: 1G6DM577340106022 ## Mail History Id: 30826301, Consumer Id: 666806, Address Id: 10323387 => Updated with Vin: 1G6KD54Y24U114898 ## Mail History Id: 30826325, Consumer Id: 610233, Address Id: 11754979 => Updated with Vin: 1GYEE637470186309 ## Mail History Id: 30826344, Consumer Id: 672938, Address Id: 11789623 => Updated with Vin: 1GYEE637750187404 ## Mail History Id: 30826319, Consumer Id: 673413, Address Id: 11789933 => Updated with Vin: 1G6DW677250227268 ## Mail History Id: 30826342, Consumer Id: 674547, Address Id: 11790693 => Updated with Vin: 1G6ET1292SU622581 ## Mail History Id: 30826306, Consumer Id: 676480, Address Id: 11791904 => Updated with Vin: 1G6DM57T360205195 ## Mail History Id: 30826302, Consumer Id: 676306, Address Id: 11791800 => Updated with Vin: 1G6DM57T760209962 ## Mail History Id: 30826382, Consumer Id: 678895, Address Id: 8876329 => Updated with Vin: 1G6KY54922U239832 ## Mail History Id: 30826321, Consumer Id: 680437, Address Id: 11794232 => Updated with Vin: 1GYFK63887R337198 ## Mail History Id: 30826357, Consumer Id: 680092, Address Id: 11794008 => Updated with Vin: 1GYEE637540165075 ## Mail History Id: 30826324, Consumer Id: 610540, Address Id: 11755252 => Updated with Vin: 1G6KD57Y27U233261 ## Mail History Id: 30826350, Consumer Id: 680818, Address Id: 11794464 => Updated with Vin: 1G6KD57977U229134 ## Total mail_history records updated with vin numbers: 15 out of 23 ============================================================ ====== Tracking Id: 1765 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-28 10:21:04') AND us2_order_type_id = 3 ## Order found: 2062 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2062 AND product_id = 2153 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3418 ## Mailing found: '13206' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813162, Consumer Id: 668835, Address Id: 11786928 => Updated with Vin: 1G6KE57Y0YU233032 ## Mail History Id: 30813165, Consumer Id: 673097, Address Id: 11789735 => Updated with Vin: 1G6DW677850229896 ## Mail History Id: 30813163, Consumer Id: 680491, Address Id: 11788317 => Updated with Vin: 1G1ZT53886F297112 ## Mail History Id: 30813156, Consumer Id: 675365, Address Id: 8879458 => Updated with Vin: 1G6KY54962U120603 ## Mail History Id: 30813166, Consumer Id: 677058, Address Id: 11792225 => Updated with Vin: 1G6KD57Y66U242592 ## Mail History Id: 30813159, Consumer Id: 677810, Address Id: 11792647 => Updated with Vin: 1G6DW677170118478 ## Mail History Id: 30813155, Consumer Id: 679689, Address Id: 11793762 => Updated with Vin: 1GYFK63877R392676 ## Mail History Id: 30813164, Consumer Id: 675232, Address Id: 11791170 => Updated with Vin: 1G6DM57T160160192 ## Mail History Id: 30813161, Consumer Id: 610107, Address Id: 11754868 => Updated with Vin: 1G6KD57Y87U134671 ## Mail History Id: 30813154, Consumer Id: 680448, Address Id: 11794240 => Updated with Vin: 3G5DA03LX7S549803 ## Mail History Id: 30813168, Consumer Id: 610062, Address Id: 11754834 => Updated with Vin: 1G6KD57Y58U118008 ## Mail History Id: 30813167, Consumer Id: 680467, Address Id: 11794252 => Updated with Vin: 1G6KS52Y6SU834873 ## Total mail_history records updated with vin numbers: 12 out of 14 ============================================================ ====== Tracking Id: 1766 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-28 10:23:04') AND us2_order_type_id = 3 ## Order found: 2063 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2063 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3795 ## Mailing found: '13407' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993164, Consumer Id: 1053464, Address Id: 14955520 => Updated with Vin: 2HGES16404H626411 ## Mail History Id: 30992484, Consumer Id: 1058169, Address Id: 5809136 => Updated with Vin: 2HJYK16377H505507 ## Mail History Id: 30992552, Consumer Id: 1057860, Address Id: 7250641 => Updated with Vin: 5FNRL38727B407699 ## Mail History Id: 30992846, Consumer Id: 1059704, Address Id: 5179668 => Updated with Vin: 5FNRL38478B006902 ## Mail History Id: 30992492, Consumer Id: 1059984, Address Id: 6375190 => Updated with Vin: 2HJYK16558H521868 ## Mail History Id: 30993264, Consumer Id: 1060740, Address Id: 14957568 => Updated with Vin: 2HGFA55528H704170 ## Mail History Id: 30992792, Consumer Id: 1060152, Address Id: 14955137 => Updated with Vin: 5FNRL38708B035314 ## Mail History Id: 30992796, Consumer Id: 1058989, Address Id: 4265398 => Updated with Vin: 1HGCG1658YA012504 ## Mail History Id: 30992730, Consumer Id: 1052579, Address Id: 182250 => Updated with Vin: 1HGEJ1265PL003397 ## Mail History Id: 30992548, Consumer Id: 1068867, Address Id: 14961425 => Updated with Vin: JH4CL968X6C025788 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 1767 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-28 10:23:18') AND us2_order_type_id = 3 ## Order found: 2063 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2063 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3795 ## Mailing found: '13384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998771, Consumer Id: 1068653, Address Id: 14961362 => Updated with Vin: 4S6CK58W7W4418511 ## Mail History Id: 30998843, Consumer Id: 1068654, Address Id: 7659480 => Updated with Vin: 1HGEJ8143XL079600 ## Mail History Id: 30998935, Consumer Id: 1068652, Address Id: 3946954 => Updated with Vin: 1HGCG5655WA025750 ## Mail History Id: 30998356, Consumer Id: 1068649, Address Id: 14961361 => Updated with Vin: 2HGEJ6523XH506204 ## Mail History Id: 30998993, Consumer Id: 1068651, Address Id: 6565060 => Updated with Vin: 1HGCD5623TA006091 ## Mail History Id: 30998869, Consumer Id: 1053194, Address Id: 14955432 => Updated with Vin: 2HKRL18681H516348 ## Mail History Id: 30998865, Consumer Id: 1061104, Address Id: 6084453 => Updated with Vin: 5FNRL18903B041127 ## Mail History Id: 30998981, Consumer Id: 1054647, Address Id: 3065981 => Updated with Vin: JHMCN36495C001257 ## Mail History Id: 30998338, Consumer Id: 1056318, Address Id: 14955764 => Updated with Vin: SHSRD68546U400595 ## Mail History Id: 30998851, Consumer Id: 1057078, Address Id: 531889 => Updated with Vin: JHMGD37667S001049 ## Mail History Id: 30998833, Consumer Id: 1058000, Address Id: 8664986 => Updated with Vin: 1HGFA16597L023433 ## Mail History Id: 30998909, Consumer Id: 1060020, Address Id: 6612049 => Updated with Vin: 3A4FY58B16T211106 ## Mail History Id: 30998875, Consumer Id: 1060008, Address Id: 4262287 => Updated with Vin: JHMFA165X6S000454 ## Mail History Id: 30998883, Consumer Id: 1059992, Address Id: 7252285 => Updated with Vin: 5J6YH18948L005386 ## Mail History Id: 30999015, Consumer Id: 1059997, Address Id: 4487278 => Updated with Vin: JHLRE38588C015255 ## Total mail_history records updated with vin numbers: 15 out of 19 ============================================================ ====== Tracking Id: 1768 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-28 10:23:31') AND us2_order_type_id = 3 ## Order found: 2063 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2063 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1769 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-28 10:23:46') AND us2_order_type_id = 3 ## Order found: 2064 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2064 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3697 ## Mailing found: '13213' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812735, Consumer Id: 1045727, Address Id: 14953211 => Updated with Vin: 1G6KD57Y87U194630 ## Mail History Id: 30812724, Consumer Id: 1044027, Address Id: 2777599 => Updated with Vin: 1G6DW677X60123919 ## Mail History Id: 30812740, Consumer Id: 1046999, Address Id: 2853727 => Updated with Vin: 1G6DP567X50215183 ## Mail History Id: 30812757, Consumer Id: 1042910, Address Id: 14952401 => Updated with Vin: W06VR54R91R011580 ## Mail History Id: 30812749, Consumer Id: 1048753, Address Id: 8827750 => Updated with Vin: 1G6DM577440135089 ## Mail History Id: 30812756, Consumer Id: 1051867, Address Id: 5993871 => Updated with Vin: 1G6KD57Y47U115633 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 1770 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-28 10:23:57') AND us2_order_type_id = 3 ## Order found: 2064 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2064 AND product_id = 113 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3697 ## Mailing found: '13213' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812755, Consumer Id: 1045131, Address Id: 14953043 => Updated with Vin: 1G6DN56S750113804 ## Mail History Id: 30812748, Consumer Id: 1046469, Address Id: 14953419 => Updated with Vin: 1G6KD54Y44U216039 ## Mail History Id: 30812744, Consumer Id: 1051610, Address Id: 14954829 => Updated with Vin: 1G3WS52K7WF338047 ## Mail History Id: 30812737, Consumer Id: 1047294, Address Id: 12411910 => Updated with Vin: 1G6DM577540179246 ## Mail History Id: 30812722, Consumer Id: 1049238, Address Id: 2776288 => Updated with Vin: 1GYEK63N84R299968 ## Mail History Id: 30812760, Consumer Id: 1051246, Address Id: 14954655 => Updated with Vin: 1GYFK63808R139216 ## Mail History Id: 30812763, Consumer Id: 1049114, Address Id: 3598382 => Updated with Vin: 1G3GR64H914110773 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 1771 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-28 10:25:52') AND us2_order_type_id = 3 ## Order found: 2065 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2065 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3815 ## Mailing found: '13200' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1772 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-28 10:26:00') AND us2_order_type_id = 3 ## Order found: 2065 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2065 AND product_id = 2147 ## Job Group Found: '551' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('551') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082908002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082908002') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1773 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-28 10:26:13') AND us2_order_type_id = 3 ## Order found: 2065 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2065 AND product_id = 2150 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3815 ## Mailing found: '13200' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30825904, Consumer Id: 1372785, Address Id: 9402222 => Updated with Vin: 2HGEJ6675TH526734 ## Mail History Id: 30825889, Consumer Id: 1370702, Address Id: 15638346 => Updated with Vin: 1HGCG2253WA031485 ## Mail History Id: 30825918, Consumer Id: 1361679, Address Id: 15633805 => Updated with Vin: 2HKYF18624H510990 ## Mail History Id: 30825908, Consumer Id: 1360972, Address Id: 6162180 => Updated with Vin: 1HGCM66804A063697 ## Mail History Id: 30825910, Consumer Id: 1362020, Address Id: 8299060 => Updated with Vin: 1HGCM56705A157792 ## Mail History Id: 30825866, Consumer Id: 1362022, Address Id: 15634276 => Updated with Vin: 1HGCM66545A067582 ## Mail History Id: 30825907, Consumer Id: 1363090, Address Id: 15635866 => Updated with Vin: 2HKYF18604H575756 ## Mail History Id: 30825864, Consumer Id: 1364325, Address Id: 10158703 => Updated with Vin: 5FNRL38716B460716 ## Mail History Id: 30825886, Consumer Id: 1367154, Address Id: 15639912 => Updated with Vin: 1HGFA15578L040086 ## Mail History Id: 30825875, Consumer Id: 1366276, Address Id: 15639182 => Updated with Vin: 1HGCM82654A021221 ## Mail History Id: 30825934, Consumer Id: 1367149, Address Id: 15639909 => Updated with Vin: JHLRE48778C027114 ## Mail History Id: 30825862, Consumer Id: 1367099, Address Id: 15639879 => Updated with Vin: 5FNRL38757B138596 ## Total mail_history records updated with vin numbers: 12 out of 20 ============================================================ ====== Tracking Id: 1774 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-28 10:26:25') AND us2_order_type_id = 3 ## Order found: 2065 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2065 AND product_id = 2153 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3815 ## Mailing found: '13217' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812567, Consumer Id: 1367815, Address Id: 15634178 => Updated with Vin: 1HGES165X3L012444 ## Mail History Id: 30812571, Consumer Id: 1369180, Address Id: 15636051 => Updated with Vin: JHLRD28431S010853 ## Mail History Id: 30812563, Consumer Id: 1375888, Address Id: 15669997 => Updated with Vin: SHHEP33573U407067 ## Mail History Id: 30812561, Consumer Id: 1366515, Address Id: 15636521 => Updated with Vin: 2HGFA16567H513213 ## Mail History Id: 30812570, Consumer Id: 1378981, Address Id: 15671602 => Updated with Vin: JHMBB6242VC009454 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 1775 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-28 10:26:40') AND us2_order_type_id = 3 ## Order found: 2065 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2065 AND product_id = 2152 ## Job Group Found: '550' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('550') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082908001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082908001') AND customer_id = 3815 ## Mailing found: '13307' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30698148, Consumer Id: 1365865, Address Id: 15635889 => Updated with Vin: JHLRE38587C053602 ## Mail History Id: 30698150, Consumer Id: 1362966, Address Id: 3454408 => Updated with Vin: 1HGFA16826L033598 ## Mail History Id: 30698152, Consumer Id: 1375840, Address Id: 15639587 => Updated with Vin: 5FNYF18685B062772 ## Mail History Id: 30698154, Consumer Id: 1379106, Address Id: 15669098 => Updated with Vin: 1HGEJ8141XL077876 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1776 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-28 10:46:08') AND us2_order_type_id = 3 ## Order found: 2058 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2058 AND product_id = 140 ## Job Group Found: '550' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('550') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082908001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082908001') AND customer_id = 3230 ## Mailing found: '13304' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1777 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-28 10:46:57') AND us2_order_type_id = 3 ## Order found: 2066 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2066 AND product_id = 140 ## Job Group Found: '550' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('550') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082908001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082908001') AND customer_id = 3808 ## Mailing found: '13306' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1778 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-28 11:16:23') AND us2_order_type_id = 3 ## Order found: 2067 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2067 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3486 ## Mailing found: '13211' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812915, Consumer Id: 480189, Address Id: 1566284 => Updated with Vin: 1GCEC14T9XZ104709 ## Mail History Id: 30812936, Consumer Id: 477155, Address Id: 4378248 => Updated with Vin: 1GAHG39RX21134036 ## Mail History Id: 30812886, Consumer Id: 478454, Address Id: 1207569 => Updated with Vin: 1GNDT13S022163175 ## Mail History Id: 30812859, Consumer Id: 465512, Address Id: 5417218 => Updated with Vin: 1G1ZT54804F173993 ## Mail History Id: 30812910, Consumer Id: 465943, Address Id: 8116033 => Updated with Vin: 1G1ZU64864F236579 ## Mail History Id: 30812885, Consumer Id: 476692, Address Id: 4373646 => Updated with Vin: 2G1WW12E949178727 ## Mail History Id: 30812872, Consumer Id: 466689, Address Id: 5419886 => Updated with Vin: 1GNDS13S552370037 ## Mail History Id: 30812896, Consumer Id: 480196, Address Id: 677884 => Updated with Vin: 1G1ZT52845F280761 ## Mail History Id: 30812876, Consumer Id: 468250, Address Id: 3039705 => Updated with Vin: 1GNDV33L35D183735 ## Mail History Id: 30812925, Consumer Id: 468670, Address Id: 9822168 => Updated with Vin: 1GNDS13SX22160321 ## Mail History Id: 30812952, Consumer Id: 470196, Address Id: 9822950 => Updated with Vin: 1G1YY25UX75122938 ## Mail History Id: 30812926, Consumer Id: 478169, Address Id: 4377274 => Updated with Vin: 2G1WW12E8Y9205051 ## Mail History Id: 30812935, Consumer Id: 490324, Address Id: 4912853 => Updated with Vin: 1GNES16S366170607 ## Mail History Id: 30812882, Consumer Id: 470955, Address Id: 8228342 => Updated with Vin: 1GTEK19T24Z291184 ## Mail History Id: 30812887, Consumer Id: 490483, Address Id: 9826558 => Updated with Vin: 1GNEC16ZX3J100847 ## Mail History Id: 30812924, Consumer Id: 490491, Address Id: 9826561 => Updated with Vin: 2G1WT58K879392738 ## Mail History Id: 30812943, Consumer Id: 490505, Address Id: 9826570 => Updated with Vin: 1GNFC13JX7J133310 ## Total mail_history records updated with vin numbers: 17 out of 18 ============================================================ ====== Tracking Id: 1779 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-28 11:16:40') AND us2_order_type_id = 3 ## Order found: 2067 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2067 AND product_id = 114 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3486 ## Mailing found: '13211' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812900, Consumer Id: 490031, Address Id: 1037065 => Updated with Vin: 1GNEK13Z63R127780 ## Mail History Id: 30812927, Consumer Id: 475954, Address Id: 4377413 => Updated with Vin: 1GCEK19T6YE383427 ## Mail History Id: 30812853, Consumer Id: 462763, Address Id: 1032113 => Updated with Vin: 1GNEK13ZX3R317372 ## Mail History Id: 30812899, Consumer Id: 463916, Address Id: 1037025 => Updated with Vin: 3GNEC12T44G219272 ## Mail History Id: 30812909, Consumer Id: 490045, Address Id: 1565248 => Updated with Vin: 1GCCS1946YK121716 ## Mail History Id: 30812904, Consumer Id: 465552, Address Id: 1037736 => Updated with Vin: 1GNEC13V84J332429 ## Mail History Id: 30812868, Consumer Id: 465553, Address Id: 9820903 => Updated with Vin: 1GCDS136058184284 ## Mail History Id: 30812953, Consumer Id: 490014, Address Id: 9826361 => Updated with Vin: 1GNEC13Z04J198213 ## Mail History Id: 30812888, Consumer Id: 466009, Address Id: 2519927 => Updated with Vin: 2G1WW12E449441514 ## Mail History Id: 30812934, Consumer Id: 478520, Address Id: 1568715 => Updated with Vin: 1GCEK14T42Z342785 ## Mail History Id: 30812944, Consumer Id: 467408, Address Id: 9821561 => Updated with Vin: 2GCEK19T141243961 ## Mail History Id: 30812851, Consumer Id: 486734, Address Id: 5415285 => Updated with Vin: 1GNFC13J47J356121 ## Mail History Id: 30812949, Consumer Id: 468178, Address Id: 8119871 => Updated with Vin: 1GNES16S466143139 ## Mail History Id: 30812916, Consumer Id: 468300, Address Id: 2007339 => Updated with Vin: 2G1WB58K769420160 ## Mail History Id: 30812879, Consumer Id: 484331, Address Id: 5421278 => Updated with Vin: 1GCFG29T331141240 ## Mail History Id: 30812914, Consumer Id: 469207, Address Id: 9822405 => Updated with Vin: 1G1AL15F467750511 ## Mail History Id: 30812933, Consumer Id: 469882, Address Id: 9822760 => Updated with Vin: 3GNEC12007G244535 ## Mail History Id: 30812849, Consumer Id: 486036, Address Id: 9825763 => Updated with Vin: 2GCEK19C871642984 ## Mail History Id: 30812898, Consumer Id: 486719, Address Id: 9826080 => Updated with Vin: 1G1ZT51896F256300 ## Mail History Id: 30812905, Consumer Id: 486753, Address Id: 9826094 => Updated with Vin: 1G2NF52EX4M705580 ## Mail History Id: 30812881, Consumer Id: 490003, Address Id: 3855220 => Updated with Vin: 2G1WF55E819154028 ## Mail History Id: 30812855, Consumer Id: 490029, Address Id: 9826344 => Updated with Vin: 1G2HZ541724206487 ## Mail History Id: 30812955, Consumer Id: 490015, Address Id: 9826362 => Updated with Vin: 1GNES16SX36143481 ## Mail History Id: 30812954, Consumer Id: 470772, Address Id: 9821455 => Updated with Vin: 1G1ZU57N27F218905 ## Total mail_history records updated with vin numbers: 24 out of 27 ============================================================ ====== Tracking Id: 1780 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-28 11:16:53') AND us2_order_type_id = 3 ## Order found: 2067 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2067 AND product_id = 113 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3486 ## Mailing found: '13211' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812907, Consumer Id: 479068, Address Id: 1565077 => Updated with Vin: 2GCEC19T221413206 ## Mail History Id: 30812864, Consumer Id: 476464, Address Id: 5417652 => Updated with Vin: 1G1YY32G5Y5121430 ## Mail History Id: 30812877, Consumer Id: 477548, Address Id: 5420843 => Updated with Vin: 1G1YY22G215110885 ## Mail History Id: 30812957, Consumer Id: 490408, Address Id: 9824378 => Updated with Vin: 1GCEK19J07Z528919 ## Mail History Id: 30812947, Consumer Id: 467852, Address Id: 9821759 => Updated with Vin: 3GNEC13T42G177777 ## Mail History Id: 30812948, Consumer Id: 479814, Address Id: 8119856 => Updated with Vin: 1GCEC19T75Z232419 ## Mail History Id: 30812918, Consumer Id: 469349, Address Id: 679362 => Updated with Vin: 1GNFC13CX7R329251 ## Mail History Id: 30812870, Consumer Id: 470253, Address Id: 9822974 => Updated with Vin: 2GCEC19C471578049 ## Mail History Id: 30812903, Consumer Id: 470252, Address Id: 9822973 => Updated with Vin: 1GNFC13J97R141500 ## Mail History Id: 30812895, Consumer Id: 470530, Address Id: 9823141 => Updated with Vin: 2CNDL13F676254095 ## Mail History Id: 30812937, Consumer Id: 471042, Address Id: 9821140 => Updated with Vin: 1GNFK13038R151581 ## Mail History Id: 30812941, Consumer Id: 471076, Address Id: 9823428 => Updated with Vin: 1GNDS13S962241221 ## Mail History Id: 30812860, Consumer Id: 490457, Address Id: 3850674 => Updated with Vin: 1GNEC13T2YJ198022 ## Total mail_history records updated with vin numbers: 13 out of 18 ============================================================ ====== Tracking Id: 1781 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-28 11:17:00') AND us2_order_type_id = 3 ## Order found: 2061 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2061 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3416 ## Mailing found: '13205' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813193, Consumer Id: 625957, Address Id: 1970060 => Updated with Vin: 1G6KD57Y58U114671 ## Mail History Id: 30813221, Consumer Id: 693058, Address Id: 11798657 => Updated with Vin: 1G6DW677470142256 ## Mail History Id: 30813170, Consumer Id: 693299, Address Id: 11798773 => Updated with Vin: 1G6KE54Y2XU702124 ## Mail History Id: 30813203, Consumer Id: 610493, Address Id: 11755211 => Updated with Vin: 1G6DF577380138677 ## Mail History Id: 30813224, Consumer Id: 681404, Address Id: 1961944 => Updated with Vin: 1G6KS54Y31U247672 ## Mail History Id: 30813223, Consumer Id: 691949, Address Id: 1961514 => Updated with Vin: 1GYFK63897R270370 ## Mail History Id: 30813233, Consumer Id: 682110, Address Id: 11794984 => Updated with Vin: 1GYEK13R7YR115972 ## Mail History Id: 30813219, Consumer Id: 690699, Address Id: 11797700 => Updated with Vin: 1G6DP577060185319 ## Mail History Id: 30813217, Consumer Id: 690149, Address Id: 1961273 => Updated with Vin: 1G6KD57Y56U116272 ## Mail History Id: 30813237, Consumer Id: 691586, Address Id: 7549285 => Updated with Vin: 5GTDN13E178120667 ## Total mail_history records updated with vin numbers: 10 out of 12 ============================================================ ====== Tracking Id: 1782 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-28 11:17:07') AND us2_order_type_id = 3 ## Order found: 2068 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2068 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3491 ## Mailing found: '13194' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826085, Consumer Id: 812131, Address Id: 11884278 => Updated with Vin: 2G1WT55K769409208 ## Mail History Id: 30826102, Consumer Id: 809932, Address Id: 11884475 => Updated with Vin: KL1TD56636B609906 ## Mail History Id: 30826089, Consumer Id: 811800, Address Id: 11886159 => Updated with Vin: 1GCHC29U77E113811 ## Mail History Id: 30826123, Consumer Id: 811989, Address Id: 11886886 => Updated with Vin: 2G1WB58K179174725 ## Mail History Id: 30826120, Consumer Id: 1006878, Address Id: 11886815 => Updated with Vin: 1G1AK18F187178489 ## Mail History Id: 30826091, Consumer Id: 815573, Address Id: 11886744 => Updated with Vin: 3GNDA23P38S570055 ## Mail History Id: 30826115, Consumer Id: 813268, Address Id: 11887967 => Updated with Vin: 3GCEC13J17G516817 ## Mail History Id: 30826099, Consumer Id: 815245, Address Id: 11875583 => Updated with Vin: KL1TD56698B111535 ## Mail History Id: 30826122, Consumer Id: 815488, Address Id: 11890275 => Updated with Vin: 3GNDA33P27S509865 ## Mail History Id: 30826105, Consumer Id: 815813, Address Id: 11890517 => Updated with Vin: 2C4GF68495R396773 ## Mail History Id: 30826097, Consumer Id: 816045, Address Id: 11888106 => Updated with Vin: 1GCEC14X48Z196316 ## Mail History Id: 30826106, Consumer Id: 816081, Address Id: 11891255 => Updated with Vin: 2C8GP54L85R512130 ## Mail History Id: 30826121, Consumer Id: 982326, Address Id: 14929591 => Updated with Vin: 1GTCS138X68306017 ## Mail History Id: 30826116, Consumer Id: 824668, Address Id: 11880108 => Updated with Vin: 2G1FP32P5R2176922 ## Mail History Id: 30826098, Consumer Id: 832132, Address Id: 11890368 => Updated with Vin: 1GCEK19T44E339064 ## Mail History Id: 30826101, Consumer Id: 814719, Address Id: 11882156 => Updated with Vin: 2G1WH52K749141120 ## Mail History Id: 30826093, Consumer Id: 824150, Address Id: 11879351 => Updated with Vin: 2GCEC19TX21351621 ## Mail History Id: 30826113, Consumer Id: 825283, Address Id: 11880473 => Updated with Vin: 1GNDT13S122481614 ## Mail History Id: 30826111, Consumer Id: 816024, Address Id: 11891216 => Updated with Vin: 3GNDA23D17S523711 ## Mail History Id: 30826096, Consumer Id: 823896, Address Id: 1302213 => Updated with Vin: 1G1NE52J02M653779 ## Mail History Id: 30826104, Consumer Id: 814739, Address Id: 11886440 => Updated with Vin: 1GCEC14X75Z167887 ## Mail History Id: 30826110, Consumer Id: 815604, Address Id: 4198095 => Updated with Vin: 2G1WB55KX89139882 ## Mail History Id: 30826083, Consumer Id: 831802, Address Id: 11875603 => Updated with Vin: 1GNET16S146134859 ## Mail History Id: 30826103, Consumer Id: 832739, Address Id: 11879151 => Updated with Vin: 1G1ZT62834F195897 ## Total mail_history records updated with vin numbers: 24 out of 44 ============================================================ ====== Tracking Id: 1783 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-28 11:17:13') AND us2_order_type_id = 3 ## Order found: 2061 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2061 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1784 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-28 11:17:20') AND us2_order_type_id = 3 ## Order found: 2068 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2068 AND product_id = 114 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3491 ## Mailing found: '13212' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812794, Consumer Id: 832672, Address Id: 1302142 => Updated with Vin: 1G1ZT54855F180648 ## Mail History Id: 30812830, Consumer Id: 814449, Address Id: 11889035 => Updated with Vin: 2G1WH52K739315962 ## Mail History Id: 30812809, Consumer Id: 827182, Address Id: 11876068 => Updated with Vin: 1G1JH52F027333930 ## Mail History Id: 30812824, Consumer Id: 839413, Address Id: 11879354 => Updated with Vin: 1GCGK29R9TE143204 ## Mail History Id: 30812770, Consumer Id: 832638, Address Id: 11875175 => Updated with Vin: 1GNEC13T65R152545 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 1785 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-28 11:17:41') AND us2_order_type_id = 3 ## Order found: 2068 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2068 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1786 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-28 11:17:44') AND us2_order_type_id = 3 ## Order found: 2068 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2068 AND product_id = 113 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3491 ## Mailing found: '13212' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812833, Consumer Id: 815449, Address Id: 11890245 => Updated with Vin: 5GTDN136368156142 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 1787 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-28 11:18:45') AND us2_order_type_id = 3 ## Order found: 2069 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2069 AND product_id = 144 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3705 ## Mailing found: '13196' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826006, Consumer Id: 975107, Address Id: 14843610 => Updated with Vin: 3G2JB12F65S103451 ## Mail History Id: 30826057, Consumer Id: 963114, Address Id: 10552246 => Updated with Vin: 1GNDS13S342313804 ## Mail History Id: 30826060, Consumer Id: 968339, Address Id: 14836499 => Updated with Vin: 3GNEC12057G250265 ## Mail History Id: 30826067, Consumer Id: 969538, Address Id: 14840783 => Updated with Vin: 3GCDA15D77S626275 ## Mail History Id: 30826014, Consumer Id: 972218, Address Id: 10444234 => Updated with Vin: 5Y2SL65887Z425036 ## Mail History Id: 30825995, Consumer Id: 972404, Address Id: 14842820 => Updated with Vin: 1GNFC13068R127725 ## Mail History Id: 30826001, Consumer Id: 973939, Address Id: 14903202 => Updated with Vin: JM1BK12F771715405 ## Mail History Id: 30826040, Consumer Id: 973945, Address Id: 14903206 => Updated with Vin: 1G1AL18F287266125 ## Mail History Id: 30826061, Consumer Id: 973954, Address Id: 14903239 => Updated with Vin: 1G2ZH57N184154000 ## Mail History Id: 30826042, Consumer Id: 973142, Address Id: 14835471 => Updated with Vin: 1G2WR52122F154054 ## Mail History Id: 30825999, Consumer Id: 982879, Address Id: 14840005 => Updated with Vin: 2GTEK13T251133768 ## Mail History Id: 30825987, Consumer Id: 961215, Address Id: 14832119 => Updated with Vin: 1G1JC52F037367673 ## Mail History Id: 30826009, Consumer Id: 961105, Address Id: 11386916 => Updated with Vin: 1G6DM57N430116572 ## Mail History Id: 30826035, Consumer Id: 976181, Address Id: 14836155 => Updated with Vin: 3GNEC12Z65G205749 ## Mail History Id: 30826025, Consumer Id: 979962, Address Id: 14846040 => Updated with Vin: 2GCEC19NX41346049 ## Mail History Id: 30826053, Consumer Id: 982874, Address Id: 14903253 => Updated with Vin: 3GNEC16Z83G284834 ## Mail History Id: 30826007, Consumer Id: 982875, Address Id: 14903254 => Updated with Vin: 1G1ZS58F97F310834 ## Mail History Id: 30826023, Consumer Id: 982880, Address Id: 14903257 => Updated with Vin: 2G4WE587481130224 ## Mail History Id: 30826063, Consumer Id: 979972, Address Id: 14843681 => Updated with Vin: 1GKFC13037R125121 ## Mail History Id: 30826049, Consumer Id: 973952, Address Id: 14841177 => Updated with Vin: 1GKEC16K7RJ764659 ## Total mail_history records updated with vin numbers: 20 out of 27 ============================================================ ====== Tracking Id: 1788 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-28 11:18:50') AND us2_order_type_id = 3 ## Order found: 2069 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2069 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1789 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-28 11:19:02') AND us2_order_type_id = 3 ## Order found: 2069 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2069 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3705 ## Mailing found: '13214' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812685, Consumer Id: 961415, Address Id: 14834526 => Updated with Vin: 1G4HP52K65U249070 ## Mail History Id: 30812686, Consumer Id: 969602, Address Id: 9159150 => Updated with Vin: 2CNDL63F876239983 ## Mail History Id: 30812693, Consumer Id: 970972, Address Id: 11387027 => Updated with Vin: 2GCEC13CX71728822 ## Mail History Id: 30812706, Consumer Id: 972418, Address Id: 14842830 => Updated with Vin: 5GAER23788J236578 ## Mail History Id: 30812696, Consumer Id: 972439, Address Id: 14842846 => Updated with Vin: 2G1WT58N679291904 ## Mail History Id: 30812679, Consumer Id: 972440, Address Id: 11171602 => Updated with Vin: 1GKEC63858J195380 ## Mail History Id: 30812704, Consumer Id: 973237, Address Id: 14836216 => Updated with Vin: 2G2FV22G122138962 ## Mail History Id: 30812703, Consumer Id: 959855, Address Id: 14831075 => Updated with Vin: 1G4CU541214226841 ## Mail History Id: 30812687, Consumer Id: 976632, Address Id: 14844557 => Updated with Vin: 1GNEC13V45R164338 ## Mail History Id: 30812711, Consumer Id: 979093, Address Id: 14845901 => Updated with Vin: 1GBHG31V031186720 ## Mail History Id: 30812713, Consumer Id: 980375, Address Id: 14846626 => Updated with Vin: 1G2MG35X67Y128389 ## Mail History Id: 30812692, Consumer Id: 980372, Address Id: 14846624 => Updated with Vin: 1GNEC13T71R139362 ## Total mail_history records updated with vin numbers: 12 out of 15 ============================================================ ====== Tracking Id: 1790 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-28 11:19:15') AND us2_order_type_id = 3 ## Order found: 2069 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2069 AND product_id = 106 ## Job Group Found: '545' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('545') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808004') AND customer_id = 3705 ## Mailing found: '13257' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1791 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-28 11:19:15') AND us2_order_type_id = 3 ## Order found: 2066 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2066 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3808 ## Mailing found: '13199' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30825937, Consumer Id: 1172416, Address Id: 15030454 => Updated with Vin: 2G1WX12K159320718 ## Mail History Id: 30825943, Consumer Id: 1172429, Address Id: 15030465 => Updated with Vin: 3GCEC13J27G500352 ## Mail History Id: 30825936, Consumer Id: 1172339, Address Id: 15030393 => Updated with Vin: 2GCEC13V571168757 ## Mail History Id: 30825948, Consumer Id: 1172321, Address Id: 15030376 => Updated with Vin: JN1AZ34D33T108319 ## Mail History Id: 30825940, Consumer Id: 1172372, Address Id: 15030420 => Updated with Vin: 1G1YY22G635119592 ## Mail History Id: 30825949, Consumer Id: 1172337, Address Id: 15030391 => Updated with Vin: 2GBEK19R5T1102155 ## Mail History Id: 30825935, Consumer Id: 1172378, Address Id: 15030253 => Updated with Vin: 3GNEK13T22G114910 ## Mail History Id: 30825945, Consumer Id: 1172381, Address Id: 11572382 => Updated with Vin: 1GCCS1446W8235765 ## Mail History Id: 30825941, Consumer Id: 1172375, Address Id: 15030422 => Updated with Vin: 2GCEC19J871590557 ## Mail History Id: 30825944, Consumer Id: 1172389, Address Id: 15030432 => Updated with Vin: 2G1WF55E419312543 ## Mail History Id: 30825939, Consumer Id: 1172431, Address Id: 15030467 => Updated with Vin: 2GCEC19TX41218599 ## Mail History Id: 30825938, Consumer Id: 1172411, Address Id: 15030114 => Updated with Vin: 1G2NW12E74C175938 ## Mail History Id: 30825947, Consumer Id: 1172366, Address Id: 15030414 => Updated with Vin: 2G1WH55K129152154 ## Total mail_history records updated with vin numbers: 13 out of 21 ============================================================ ====== Tracking Id: 1792 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-28 11:19:27') AND us2_order_type_id = 3 ## Order found: 2066 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2066 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3808 ## Mailing found: '13216' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30812592, Consumer Id: 1171223, Address Id: 15029433 => Updated with Vin: 3GCEC14V76G224461 ## Mail History Id: 30812610, Consumer Id: 1171292, Address Id: 15029493 => Updated with Vin: 1GNET16S966141562 ## Mail History Id: 30812631, Consumer Id: 1171224, Address Id: 15029434 => Updated with Vin: 1GNEK13Z64R159985 ## Mail History Id: 30812573, Consumer Id: 1171222, Address Id: 15029432 => Updated with Vin: 1GCEC19T56Z131655 ## Mail History Id: 30812630, Consumer Id: 1171290, Address Id: 15029491 => Updated with Vin: 3GNEK12T64G206087 ## Mail History Id: 30812578, Consumer Id: 1171259, Address Id: 15029466 => Updated with Vin: 3GKEC16T2YG121046 ## Mail History Id: 30812596, Consumer Id: 1171289, Address Id: 15029490 => Updated with Vin: 1GNDM19X53B135499 ## Mail History Id: 30812576, Consumer Id: 1171226, Address Id: 15029436 => Updated with Vin: 2GCEC19T311136760 ## Mail History Id: 30812572, Consumer Id: 1171319, Address Id: 15029516 => Updated with Vin: 2G1WC58R479100211 ## Mail History Id: 30812608, Consumer Id: 1171291, Address Id: 15029492 => Updated with Vin: 1GTEK19TX4E158843 ## Mail History Id: 30812625, Consumer Id: 1171221, Address Id: 15029431 => Updated with Vin: 1GCHK23164F158374 ## Mail History Id: 30812594, Consumer Id: 1171251, Address Id: 15029459 => Updated with Vin: 1GKDM19W8YB534970 ## Mail History Id: 30812622, Consumer Id: 1171268, Address Id: 15029356 => Updated with Vin: 1GCEC19M0WR153457 ## Mail History Id: 30812597, Consumer Id: 1171326, Address Id: 15029522 => Updated with Vin: 3GNEC12Z55G108297 ## Total mail_history records updated with vin numbers: 14 out of 15 ============================================================ ====== Tracking Id: 1793 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-28 11:19:28') AND us2_order_type_id = 3 ## Order found: 2070 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2070 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3721 ## Mailing found: '13197' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30825972, Consumer Id: 1013101, Address Id: 6663685 => Updated with Vin: 1YVFP80C135M39594 ## Mail History Id: 30825958, Consumer Id: 1010152, Address Id: 14931819 => Updated with Vin: 1YVHP80C485M25821 ## Mail History Id: 30825958, Consumer Id: 1010141, Address Id: 14931819 => Updated with Vin: JM1BK32F981837714 ## Mail History Id: 30825965, Consumer Id: 1017624, Address Id: 14933560 => Updated with Vin: 1YVHP80C185M45718 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1794 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-28 11:19:40') AND us2_order_type_id = 3 ## Order found: 2066 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2066 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1795 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-28 11:46:19') AND us2_order_type_id = 3 ## Order found: 2071 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2071 AND product_id = 142 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3357 ## Mailing found: '13188' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826415, Consumer Id: 198457, Address Id: 397606 => Updated with Vin: 1MEHM42145G622151 ## Mail History Id: 30826404, Consumer Id: 420542, Address Id: 9800023 => Updated with Vin: JM1BK344981855965 ## Mail History Id: 30826439, Consumer Id: 1005534, Address Id: 14928047 => Updated with Vin: 1FTRE142X1HB69617 ## Mail History Id: 30826421, Consumer Id: 188696, Address Id: 399331 => Updated with Vin: 1FTWW33PX5EC05189 ## Mail History Id: 30826422, Consumer Id: 1005584, Address Id: 14928083 => Updated with Vin: 1FAFP40482F187347 ## Mail History Id: 30826429, Consumer Id: 1005573, Address Id: 11851830 => Updated with Vin: 3VWEG71K97M112908 ## Mail History Id: 30826407, Consumer Id: 1005556, Address Id: 401539 => Updated with Vin: 1FAFP34ZX3W215487 ## Mail History Id: 30826407, Consumer Id: 1005556, Address Id: 401539 => Updated with Vin: 1FAFP34ZX3W215487 ## Mail History Id: 30826414, Consumer Id: 151668, Address Id: 394054 => Updated with Vin: 1FMDU63E85UB20205 ## Mail History Id: 30826417, Consumer Id: 1005517, Address Id: 8346136 => Updated with Vin: 1FTPW14526FB25595 ## Mail History Id: 30826437, Consumer Id: 194827, Address Id: 404514 => Updated with Vin: 1FMYU92Z66KB47083 ## Mail History Id: 30826408, Consumer Id: 155065, Address Id: 397152 => Updated with Vin: JM3ER29L270148253 ## Mail History Id: 30826416, Consumer Id: 154651, Address Id: 396792 => Updated with Vin: 1ZVHT85H275283471 ## Mail History Id: 30826402, Consumer Id: 1005526, Address Id: 14928041 => Updated with Vin: 2LMDU88C77BJ28103 ## Mail History Id: 30826436, Consumer Id: 420569, Address Id: 9800042 => Updated with Vin: JM1NC25F780140029 ## Mail History Id: 30826409, Consumer Id: 940244, Address Id: 11961760 => Updated with Vin: JM1NC25F280143548 ## Mail History Id: 30826418, Consumer Id: 544370, Address Id: 10413555 => Updated with Vin: JM1BK32GX81835818 ## Mail History Id: 30826410, Consumer Id: 189151, Address Id: 400299 => Updated with Vin: JM3LW28G6Y0129078 ## Mail History Id: 30826400, Consumer Id: 420588, Address Id: 9800055 => Updated with Vin: 1ZVHT84N085133450 ## Mail History Id: 30826434, Consumer Id: 155873, Address Id: 397900 => Updated with Vin: 2FMDK36C48BA11104 ## Mail History Id: 30826412, Consumer Id: 981238, Address Id: 14919811 => Updated with Vin: 2LMDU88C48BJ00499 ## Mail History Id: 30826426, Consumer Id: 154963, Address Id: 397061 => Updated with Vin: 1FMCU94118KA22030 ## Mail History Id: 30826425, Consumer Id: 1005575, Address Id: 14928078 => Updated with Vin: 1NXBR32E18Z010299 ## Mail History Id: 30826430, Consumer Id: 187196, Address Id: 397986 => Updated with Vin: 1FMDA11U6VZB92853 ## Mail History Id: 30826411, Consumer Id: 1005533, Address Id: 14928046 => Updated with Vin: 4M2DV11W1TDJ53070 ## Mail History Id: 30826424, Consumer Id: 1005525, Address Id: 14928040 => Updated with Vin: 2B4GP25R6VR375043 ## Mail History Id: 30826424, Consumer Id: 1005525, Address Id: 14928040 => Updated with Vin: 2B4GP25R6VR375043 ## Mail History Id: 30826427, Consumer Id: 187696, Address Id: 399017 => Updated with Vin: 1FMDU83P8YZA03275 ## Total mail_history records updated with vin numbers: 28 out of 35 ============================================================ ====== Tracking Id: 1796 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-28 11:46:32') AND us2_order_type_id = 3 ## Order found: 2071 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2071 AND product_id = 114 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3357 ## Mailing found: '13204' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813273, Consumer Id: 188913, Address Id: 399296 => Updated with Vin: 2FAHP74W83X164016 ## Mail History Id: 30813299, Consumer Id: 196949, Address Id: 406043 => Updated with Vin: 1LNHM86S52Y620678 ## Mail History Id: 30813291, Consumer Id: 153171, Address Id: 395442 => Updated with Vin: 1FMFU20516LA67974 ## Mail History Id: 30813333, Consumer Id: 154910, Address Id: 397019 => Updated with Vin: JM1NC25F970126924 ## Mail History Id: 30813338, Consumer Id: 155492, Address Id: 397541 => Updated with Vin: 1FAFP34NX7W111228 ## Mail History Id: 30813253, Consumer Id: 198145, Address Id: 407221 => Updated with Vin: 1FMCU031X5KA43029 ## Total mail_history records updated with vin numbers: 6 out of 11 ============================================================ ====== Tracking Id: 1797 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-28 11:46:38') AND us2_order_type_id = 3 ## Order found: 2070 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2070 AND product_id = 2150 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3721 ## Mailing found: '13197' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30825960, Consumer Id: 1017489, Address Id: 6657996 => Updated with Vin: JM1NC25F380139122 ## Mail History Id: 30825961, Consumer Id: 1011539, Address Id: 6658344 => Updated with Vin: JM3LW28J340526589 ## Mail History Id: 30825968, Consumer Id: 1009886, Address Id: 14931748 => Updated with Vin: 4F2CZ02Z58KM17788 ## Mail History Id: 30825979, Consumer Id: 1008732, Address Id: 14930756 => Updated with Vin: 4F2CZ061X4KM02945 ## Mail History Id: 30825974, Consumer Id: 1009896, Address Id: 14931756 => Updated with Vin: 1YVHP80D075M07565 ## Mail History Id: 30825963, Consumer Id: 1009874, Address Id: 14931739 => Updated with Vin: JM3TB28A780125676 ## Mail History Id: 30825973, Consumer Id: 1009877, Address Id: 14931742 => Updated with Vin: 1G6ET1297VU611984 ## Mail History Id: 30825980, Consumer Id: 1009883, Address Id: 12941518 => Updated with Vin: 1YVHP80C075M60208 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 1798 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-28 11:46:45') AND us2_order_type_id = 3 ## Order found: 2071 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2071 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3357 ## Mailing found: '13204' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813303, Consumer Id: 436708, Address Id: 406284 => Updated with Vin: 1ZVHT80N185141711 ## Mail History Id: 30813246, Consumer Id: 194173, Address Id: 403284 => Updated with Vin: 1FMFU18L91LB28199 ## Mail History Id: 30813325, Consumer Id: 435945, Address Id: 9800277 => Updated with Vin: 2MEFM75W81X683393 ## Mail History Id: 30813268, Consumer Id: 194021, Address Id: 403874 => Updated with Vin: 1FMZU73W82ZC59009 ## Mail History Id: 30813259, Consumer Id: 436374, Address Id: 8300940 => Updated with Vin: 1FTNW20F32ED58915 ## Mail History Id: 30813277, Consumer Id: 435935, Address Id: 9800270 => Updated with Vin: 1FAFP44412F179505 ## Mail History Id: 30813335, Consumer Id: 155708, Address Id: 397745 => Updated with Vin: 4T3ZF13C62U437890 ## Mail History Id: 30813327, Consumer Id: 199069, Address Id: 407479 => Updated with Vin: 1FMZU73E92ZA60722 ## Mail History Id: 30813306, Consumer Id: 435928, Address Id: 9800265 => Updated with Vin: 5FNRL18643B140085 ## Mail History Id: 30813349, Consumer Id: 196382, Address Id: 398738 => Updated with Vin: 1FMYU931X3KC54304 ## Mail History Id: 30813265, Consumer Id: 191124, Address Id: 401693 => Updated with Vin: 1YVFP80C745N45887 ## Mail History Id: 30813337, Consumer Id: 152979, Address Id: 395267 => Updated with Vin: 1ZVHT84N155253754 ## Mail History Id: 30813250, Consumer Id: 155737, Address Id: 397772 => Updated with Vin: 1FTRW12W05KC83539 ## Mail History Id: 30813319, Consumer Id: 193594, Address Id: 403185 => Updated with Vin: JM1BK12G661455182 ## Mail History Id: 30813304, Consumer Id: 152094, Address Id: 394451 => Updated with Vin: 1ZVHT82HX65150928 ## Mail History Id: 30813251, Consumer Id: 435941, Address Id: 9800273 => Updated with Vin: 1FAFP34N16W248413 ## Mail History Id: 30813336, Consumer Id: 155578, Address Id: 397622 => Updated with Vin: JM1BK32G081805694 ## Mail History Id: 30813345, Consumer Id: 155536, Address Id: 397582 => Updated with Vin: JM1BK344681841618 ## Mail History Id: 30813274, Consumer Id: 188467, Address Id: 399194 => Updated with Vin: 1FTNW21F62EB84613 ## Mail History Id: 30813296, Consumer Id: 436168, Address Id: 9800476 => Updated with Vin: 1ZVHT82H785169956 ## Mail History Id: 30813353, Consumer Id: 460252, Address Id: 9818745 => Updated with Vin: 1FMCU03118KA83990 ## Mail History Id: 30813275, Consumer Id: 167706, Address Id: 434401 => Updated with Vin: 1FAHP34N58W163179 ## Mail History Id: 30813283, Consumer Id: 200350, Address Id: 395137 => Updated with Vin: 1FAFP33P91W180549 ## Mail History Id: 30813266, Consumer Id: 195854, Address Id: 405259 => Updated with Vin: 4M2DU86W84ZJ03209 ## Mail History Id: 30813302, Consumer Id: 192842, Address Id: 402957 => Updated with Vin: 1FMZU35P0WZA69628 ## Mail History Id: 30813252, Consumer Id: 436711, Address Id: 2355977 => Updated with Vin: 1LNHM83W1YY851237 ## Total mail_history records updated with vin numbers: 26 out of 27 ============================================================ ====== Tracking Id: 1799 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-28 11:46:50') AND us2_order_type_id = 3 ## Order found: 2070 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2070 AND product_id = 2147 ## Job Group Found: '551' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('551') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082908002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082908002') AND customer_id = 3721 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 5 ============================================================ ====== Tracking Id: 1800 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-28 11:46:58') AND us2_order_type_id = 3 ## Order found: 2071 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2071 AND product_id = 113 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3357 ## Mailing found: '13204' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813278, Consumer Id: 188861, Address Id: 400765 => Updated with Vin: 1FAHP60A13Y112294 ## Mail History Id: 30813284, Consumer Id: 189574, Address Id: 401562 => Updated with Vin: 1FAFP55S03G257593 ## Mail History Id: 30813286, Consumer Id: 189359, Address Id: 399905 => Updated with Vin: 1FMDU75E12ZA88750 ## Mail History Id: 30813292, Consumer Id: 153032, Address Id: 395313 => Updated with Vin: 1FTWW31P16ED21689 ## Total mail_history records updated with vin numbers: 4 out of 7 ============================================================ ====== Tracking Id: 1801 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-28 12:17:48') AND us2_order_type_id = 3 ## Order found: 2072 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2072 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1802 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-28 12:17:51') AND us2_order_type_id = 3 ## Order found: 2072 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2072 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1803 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-28 12:17:55') AND us2_order_type_id = 3 ## Order found: 2072 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2072 AND product_id = 114 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3427 ## Mailing found: '13207' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813151, Consumer Id: 482835, Address Id: 9837598 => Updated with Vin: 1GKFK66U63J316474 ## Mail History Id: 30813152, Consumer Id: 482837, Address Id: 9837600 => Updated with Vin: 1HGCM56674A098942 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 1804 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-28 12:17:58') AND us2_order_type_id = 3 ## Order found: 2073 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2073 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3471 ## Mailing found: '13193' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826130, Consumer Id: 799808, Address Id: 10211570 => Updated with Vin: 1G6KD52Y1TU259402 ## Mail History Id: 30826128, Consumer Id: 798006, Address Id: 10210065 => Updated with Vin: 1G6CD53BXN4204609 ## Mail History Id: 30826134, Consumer Id: 802546, Address Id: 7878370 => Updated with Vin: 1GYEK13R2YR166814 ## Mail History Id: 30826154, Consumer Id: 802705, Address Id: 10213863 => Updated with Vin: 1G6EL1158KU610949 ## Mail History Id: 30826175, Consumer Id: 798239, Address Id: 10215454 => Updated with Vin: 1GHDT13S122123710 ## Mail History Id: 30826181, Consumer Id: 802457, Address Id: 10215734 => Updated with Vin: 1G6ET1291WU603770 ## Mail History Id: 30826129, Consumer Id: 823499, Address Id: 10211473 => Updated with Vin: 1G6KD54Y45U262794 ## Mail History Id: 30826204, Consumer Id: 798820, Address Id: 11870045 => Updated with Vin: 1G6KE57Y5YU338553 ## Mail History Id: 30826218, Consumer Id: 798943, Address Id: 11870110 => Updated with Vin: 1GYEK63N42R154830 ## Mail History Id: 30826190, Consumer Id: 807080, Address Id: 10217486 => Updated with Vin: 1G6KD57Y58U100379 ## Mail History Id: 30826157, Consumer Id: 816584, Address Id: 7416187 => Updated with Vin: 1G6KD54Y63U290948 ## Mail History Id: 30826206, Consumer Id: 760506, Address Id: 11851066 => Updated with Vin: 1G3GR64H424128065 ## Mail History Id: 30826173, Consumer Id: 804017, Address Id: 11872617 => Updated with Vin: 1G3WS52H02F167642 ## Mail History Id: 30826220, Consumer Id: 817205, Address Id: 11876766 => Updated with Vin: 3GYEK63N82G338488 ## Mail History Id: 30826127, Consumer Id: 802227, Address Id: 7877929 => Updated with Vin: 1G3GS64C314230349 ## Mail History Id: 30826199, Consumer Id: 804770, Address Id: 10218428 => Updated with Vin: 1G6KD57Y34U195731 ## Mail History Id: 30826224, Consumer Id: 807079, Address Id: 11877041 => Updated with Vin: 1G6DD67V680168363 ## Mail History Id: 30826151, Consumer Id: 807170, Address Id: 7416465 => Updated with Vin: 1GYEK63N65R112518 ## Mail History Id: 30826209, Consumer Id: 807540, Address Id: 11876618 => Updated with Vin: 1G6KD54Y74U129364 ## Mail History Id: 30826161, Consumer Id: 772852, Address Id: 11873933 => Updated with Vin: 1G6DW677070121842 ## Mail History Id: 30826226, Consumer Id: 817232, Address Id: 11877641 => Updated with Vin: 1G6KD54Y3XU775408 ## Mail History Id: 30826136, Consumer Id: 817153, Address Id: 7878451 => Updated with Vin: 1G6DN56S450233494 ## Mail History Id: 30826140, Consumer Id: 818192, Address Id: 7878560 => Updated with Vin: 1GYEK63N46R124085 ## Mail History Id: 30826178, Consumer Id: 821272, Address Id: 10561583 => Updated with Vin: 1GYFK63867R165527 ## Mail History Id: 30826178, Consumer Id: 821272, Address Id: 10561583 => Updated with Vin: 1GYFK63867R165527 ## Mail History Id: 30826214, Consumer Id: 798841, Address Id: 11870063 => Updated with Vin: 1G6KF579X1U101004 ## Mail History Id: 30826167, Consumer Id: 773041, Address Id: 10214734 => Updated with Vin: 3GYEK62N84G262405 ## Mail History Id: 30826169, Consumer Id: 803643, Address Id: 11872502 => Updated with Vin: 1G6KS52Y6TU829917 ## Mail History Id: 30826174, Consumer Id: 760433, Address Id: 11851038 => Updated with Vin: 1G6KD54Y63U260462 ## Mail History Id: 30826207, Consumer Id: 759655, Address Id: 11850940 => Updated with Vin: 1G6DT57V780184214 ## Mail History Id: 30826146, Consumer Id: 759649, Address Id: 11850936 => Updated with Vin: 1GYFK63888R238575 ## Mail History Id: 30826149, Consumer Id: 759651, Address Id: 11850937 => Updated with Vin: 1G6DT57V380184811 ## Mail History Id: 30826149, Consumer Id: 759651, Address Id: 11850937 => Updated with Vin: 1G6DT57V380184811 ## Total mail_history records updated with vin numbers: 33 out of 40 ============================================================ ====== Tracking Id: 1805 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-28 12:18:06') AND us2_order_type_id = 3 ## Order found: 2073 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2073 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3471 ## Mailing found: '13210' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1806 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-28 12:18:18') AND us2_order_type_id = 3 ## Order found: 2074 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2074 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3451 ## Mailing found: '13191' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826287, Consumer Id: 613126, Address Id: 831773 => Updated with Vin: 1G6KE57Y6YU270831 ## Mail History Id: 30826285, Consumer Id: 622854, Address Id: 830113 => Updated with Vin: 2G4WS52J131260676 ## Mail History Id: 30826282, Consumer Id: 622396, Address Id: 11762515 => Updated with Vin: 1G6EL133XLU620511 ## Mail History Id: 30826278, Consumer Id: 617625, Address Id: 825384 => Updated with Vin: 1G6KD54Y52U103228 ## Mail History Id: 30826289, Consumer Id: 624191, Address Id: 11759371 => Updated with Vin: 1G6DW677150160727 ## Mail History Id: 30826276, Consumer Id: 619718, Address Id: 823243 => Updated with Vin: 1G6KD54Y04U182620 ## Mail History Id: 30826293, Consumer Id: 615836, Address Id: 839080 => Updated with Vin: 1G6KE54Y22U264164 ## Mail History Id: 30826280, Consumer Id: 871027, Address Id: 11910004 => Updated with Vin: 1G6CD53B1N4307188 ## Mail History Id: 30826288, Consumer Id: 611950, Address Id: 7671151 => Updated with Vin: 1G6DM57T460197771 ## Mail History Id: 30826299, Consumer Id: 619328, Address Id: 11760968 => Updated with Vin: 1G1YY22G435118876 ## Mail History Id: 30826299, Consumer Id: 619328, Address Id: 11760968 => Updated with Vin: 1G1YY22G435118876 ## Mail History Id: 30826279, Consumer Id: 619404, Address Id: 825964 => Updated with Vin: 1G6KD57Y67U167703 ## Mail History Id: 30826290, Consumer Id: 628284, Address Id: 11758815 => Updated with Vin: 1G6DW677960139609 ## Mail History Id: 30826297, Consumer Id: 871356, Address Id: 11911888 => Updated with Vin: 1G6DC67A070151640 ## Mail History Id: 30826275, Consumer Id: 871031, Address Id: 11910007 => Updated with Vin: 1G6KD57Y92U103972 ## Mail History Id: 30826296, Consumer Id: 871029, Address Id: 11910005 => Updated with Vin: 1G6KS5152JU809829 ## Mail History Id: 30826286, Consumer Id: 871030, Address Id: 11910006 => Updated with Vin: 1GYEC63838R177046 ## Mail History Id: 30826294, Consumer Id: 871359, Address Id: 11911890 => Updated with Vin: 1G6DP567850124719 ## Mail History Id: 30826292, Consumer Id: 871360, Address Id: 11911891 => Updated with Vin: 1G6DW677050235448 ## Mail History Id: 30826283, Consumer Id: 872271, Address Id: 11912522 => Updated with Vin: 1FAFP4044XF222750 ## Mail History Id: 30826284, Consumer Id: 872272, Address Id: 11912523 => Updated with Vin: 1GYEE637460190746 ## Mail History Id: 30826295, Consumer Id: 619233, Address Id: 11758759 => Updated with Vin: 1GYEC63T12R294264 ## Total mail_history records updated with vin numbers: 22 out of 36 ============================================================ ====== Tracking Id: 1807 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-28 14:16:09') AND us2_order_type_id = 3 ## Order found: 2062 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2062 AND product_id = 143 ## Job Group Found: '542' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('542') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808001') AND customer_id = 3418 ## Mailing found: '13190' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30826374, Consumer Id: 663475, Address Id: 11782961 => Updated with Vin: 1G6KD54Y5YU252473 ## Mail History Id: 30826335, Consumer Id: 629801, Address Id: 11770017 => Updated with Vin: 1G6DW677360111966 ## Mail History Id: 30826318, Consumer Id: 675723, Address Id: 11791464 => Updated with Vin: 1G6DC67AX60184403 ## Mail History Id: 30826359, Consumer Id: 681269, Address Id: 11794733 => Updated with Vin: 1GYEE637260186940 ## Mail History Id: 30826312, Consumer Id: 611146, Address Id: 11755763 => Updated with Vin: 1G6KD57Y76U246893 ## Mail History Id: 30826356, Consumer Id: 612327, Address Id: 11756033 => Updated with Vin: 1G6DW67V180103379 ## Mail History Id: 30826351, Consumer Id: 680043, Address Id: 11792393 => Updated with Vin: 1G6KD57997U192412 ## Mail History Id: 30826313, Consumer Id: 678307, Address Id: 11418597 => Updated with Vin: 1G6DM57TX70138130 ## Mail History Id: 30826305, Consumer Id: 675897, Address Id: 11783186 => Updated with Vin: 1G6DM57T060180031 ## Mail History Id: 30826308, Consumer Id: 611101, Address Id: 11755710 => Updated with Vin: 1G6DS57V880188341 ## Mail History Id: 30826379, Consumer Id: 679204, Address Id: 11793470 => Updated with Vin: 1G6DM57T370170241 ## Mail History Id: 30826378, Consumer Id: 678534, Address Id: 11050684 => Updated with Vin: 1G6KD57Y57U160676 ## Mail History Id: 30826307, Consumer Id: 675291, Address Id: 11784110 => Updated with Vin: 1G6KD57946U148865 ## Mail History Id: 30826347, Consumer Id: 663849, Address Id: 11783260 => Updated with Vin: 1G6KS52Y8TU814190 ## Mail History Id: 30826349, Consumer Id: 610162, Address Id: 11754918 => Updated with Vin: 1G6DM577X80116682 ## Total mail_history records updated with vin numbers: 15 out of 26 ============================================================ ====== Tracking Id: 1808 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-28 14:16:18') AND us2_order_type_id = 3 ## Order found: 2074 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2074 AND product_id = 112 ## Job Group Found: '544' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('544') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm082808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm082808003') AND customer_id = 3451 ## Mailing found: '13208' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30813108, Consumer Id: 612465, Address Id: 826553 => Updated with Vin: 1G6KD54Y6YU171188 ## Mail History Id: 30813118, Consumer Id: 613281, Address Id: 11756643 => Updated with Vin: 1GYEC63T02R105376 ## Mail History Id: 30813100, Consumer Id: 626447, Address Id: 3807275 => Updated with Vin: 1G6KD57Y46U110852 ## Mail History Id: 30813131, Consumer Id: 615806, Address Id: 3243980 => Updated with Vin: 1G6KF57961U149129 ## Mail History Id: 30813119, Consumer Id: 620143, Address Id: 835976 => Updated with Vin: 3GYEK62NX4G331482 ## Mail History Id: 30813112, Consumer Id: 622440, Address Id: 829274 => Updated with Vin: 3GYFK66N05G227860 ## Mail History Id: 30813105, Consumer Id: 615521, Address Id: 825784 => Updated with Vin: 1G6DM57N530152447 ## Mail History Id: 30813129, Consumer Id: 626847, Address Id: 11760461 => Updated with Vin: 1G6DP577860104924 ## Mail History Id: 30813130, Consumer Id: 628561, Address Id: 1244433 => Updated with Vin: 2HGES16375H555037 ## Mail History Id: 30813136, Consumer Id: 627296, Address Id: 11764815 => Updated with Vin: 1G6DM577240129212 ## Mail History Id: 30813133, Consumer Id: 627482, Address Id: 11765030 => Updated with Vin: 1HGCM56337A017140 ## Mail History Id: 30813106, Consumer Id: 619262, Address Id: 11760728 => Updated with Vin: 1G6DM57T560162222 ## Mail History Id: 30813126, Consumer Id: 627783, Address Id: 11765218 => Updated with Vin: 3GYFK62807G307436 ## Mail History Id: 30813124, Consumer Id: 628568, Address Id: 11765771 => Updated with Vin: YV1MC682X7J021924 ## Mail History Id: 30813132, Consumer Id: 628570, Address Id: 11765772 => Updated with Vin: 2HJYK16467H540371 ## Mail History Id: 30813104, Consumer Id: 628579, Address Id: 11765779 => Updated with Vin: YV1RS592352447396 ## Mail History Id: 30813147, Consumer Id: 618817, Address Id: 3246653 => Updated with Vin: 3GYEK63N83G194989 ## Mail History Id: 30813134, Consumer Id: 628555, Address Id: 1252789 => Updated with Vin: 2HJYK16536H532672 ## Mail History Id: 30813135, Consumer Id: 628554, Address Id: 11765760 => Updated with Vin: JN8AZ08T83W103651 ## Mail History Id: 30813143, Consumer Id: 614971, Address Id: 11757675 => Updated with Vin: 1G6KE54Y9XU713606 ## Mail History Id: 30813107, Consumer Id: 619538, Address Id: 11761258 => Updated with Vin: 1G6KD57Y47U185097 ## Total mail_history records updated with vin numbers: 21 out of 23 ============================================================ ====== Tracking Id: 1809 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-28 14:16:31') AND us2_order_type_id = 3 ## Order found: 2074 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2074 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1810 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-28 20:16:23') AND us2_order_type_id = 3 ## Order found: 2057 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2057 AND product_id = 2152 ## Job Group Found: '566' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('566') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408006') AND customer_id = 3503 ## Mailing found: '13368' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31001369, Consumer Id: 2165986, Address Id: 9732948 => Updated with Vin: 5TBJU32116S468687 ## Mail History Id: 31001373, Consumer Id: 2180852, Address Id: 9733583 => Updated with Vin: JTEGH20V020072491 ## Mail History Id: 31001375, Consumer Id: 2160130, Address Id: 9725229 => Updated with Vin: 5TDBT44A04S221353 ## Mail History Id: 31001377, Consumer Id: 2171748, Address Id: 9719472 => Updated with Vin: JTEHF21A010019097 ## Mail History Id: 30999395, Consumer Id: 2165089, Address Id: 9731636 => Updated with Vin: JTKDE177160142189 ## Mail History Id: 30999295, Consumer Id: 2166646, Address Id: 9728716 => Updated with Vin: JTNBB46K573029615 ## Total mail_history records updated with vin numbers: 6 out of 15 ============================================================ ====== Tracking Id: 1811 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-28 20:16:38') AND us2_order_type_id = 3 ## Order found: 2057 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2057 AND product_id = 2153 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3503 ## Mailing found: '13380' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998353, Consumer Id: 2168787, Address Id: 9737477 => Updated with Vin: 5TBBV54167S483875 ## Mail History Id: 30998423, Consumer Id: 2178064, Address Id: 9727746 => Updated with Vin: JTEGF21A230121208 ## Mail History Id: 30998429, Consumer Id: 2159104, Address Id: 9722620 => Updated with Vin: 4T1BE32K43U257603 ## Mail History Id: 30998543, Consumer Id: 2165549, Address Id: 9721615 => Updated with Vin: JTEHF21A810031790 ## Mail History Id: 30998405, Consumer Id: 2177583, Address Id: 9726986 => Updated with Vin: 4T1BG22K7YU946708 ## Mail History Id: 30998477, Consumer Id: 2168767, Address Id: 9725996 => Updated with Vin: 2T1BR32E98C890637 ## Mail History Id: 30998559, Consumer Id: 2168760, Address Id: 9737457 => Updated with Vin: 4T1BE46K28U208326 ## Mail History Id: 30998581, Consumer Id: 414632, Address Id: 9730182 => Updated with Vin: JTEHT05J942065365 ## Mail History Id: 30998361, Consumer Id: 2168559, Address Id: 9735895 => Updated with Vin: 2T1BR32EX8C871157 ## Mail History Id: 30998351, Consumer Id: 2168277, Address Id: 9735679 => Updated with Vin: JTMBK31V676023594 ## Mail History Id: 30998535, Consumer Id: 2168697, Address Id: 9735999 => Updated with Vin: JTMBD33V175104919 ## Mail History Id: 30998367, Consumer Id: 2168759, Address Id: 9737456 => Updated with Vin: JTDKB20U973295769 ## Mail History Id: 30998625, Consumer Id: 2168778, Address Id: 9737470 => Updated with Vin: JTMBD31V185126181 ## Mail History Id: 30998513, Consumer Id: 2168542, Address Id: 9735881 => Updated with Vin: JTMBD31V075100671 ## Mail History Id: 30998539, Consumer Id: 2168766, Address Id: 36759 => Updated with Vin: 4T1BE46K48U203001 ## Mail History Id: 30998609, Consumer Id: 2168538, Address Id: 8731947 => Updated with Vin: 4T1BK46K97U543641 ## Mail History Id: 30998487, Consumer Id: 2179231, Address Id: 9730679 => Updated with Vin: JTEEP21AX40002831 ## Mail History Id: 30998395, Consumer Id: 2165882, Address Id: 9732227 => Updated with Vin: 5TEHN72N54Z438573 ## Mail History Id: 30998615, Consumer Id: 2177631, Address Id: 9727031 => Updated with Vin: 5TEPM62N93Z242370 ## Mail History Id: 30998599, Consumer Id: 2168297, Address Id: 9735695 => Updated with Vin: JTMBD33V176038043 ## Mail History Id: 30998383, Consumer Id: 391088, Address Id: 9747696 => Updated with Vin: JTEBU14R770115633 ## Mail History Id: 30998457, Consumer Id: 2180263, Address Id: 9732809 => Updated with Vin: 2T1BR32E73C121711 ## Mail History Id: 30998547, Consumer Id: 2181693, Address Id: 9735219 => Updated with Vin: 4T1BE32K65U988908 ## Mail History Id: 30998369, Consumer Id: 2162054, Address Id: 9728061 => Updated with Vin: JTEHD21A650037101 ## Mail History Id: 30998447, Consumer Id: 2176425, Address Id: 9723611 => Updated with Vin: JTEBT14R538005355 ## Mail History Id: 30998449, Consumer Id: 2160381, Address Id: 9725854 => Updated with Vin: 4T1BF28BX4U378586 ## Mail History Id: 30998617, Consumer Id: 2168451, Address Id: 9735815 => Updated with Vin: 5TDZK23C47S007611 ## Mail History Id: 30998443, Consumer Id: 2161161, Address Id: 9726824 => Updated with Vin: JTDKB20U753006966 ## Mail History Id: 30998381, Consumer Id: 2168364, Address Id: 9735746 => Updated with Vin: JTMBD33V876040923 ## Total mail_history records updated with vin numbers: 29 out of 53 ============================================================ ====== Tracking Id: 1812 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-28 20:16:53') AND us2_order_type_id = 3 ## Order found: 2057 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2057 AND product_id = 2147 ## Job Group Found: '562' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('562') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408002') AND customer_id = 3503 ## Mailing found: '13414' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31003351, Consumer Id: 2160562, Address Id: 34606 => Updated with Vin: 4T1BE32K82U031322 ## Mail History Id: 31003353, Consumer Id: 2181911, Address Id: 9734291 => Updated with Vin: 4T1BE32K95U420460 ## Mail History Id: 31003365, Consumer Id: 2175327, Address Id: 9723371 => Updated with Vin: JTDBT123110135521 ## Mail History Id: 31003367, Consumer Id: 401207, Address Id: 9719073 => Updated with Vin: 5TBBT44165S460657 ## Total mail_history records updated with vin numbers: 4 out of 12 ============================================================ ====== Tracking Id: 1813 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-28 20:17:05') AND us2_order_type_id = 3 ## Order found: 2057 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2057 AND product_id = 2150 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3503 ## Mailing found: '13402,13913' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992342, Consumer Id: 2179660, Address Id: 42805 => Updated with Vin: 4T1CE30P44U861074 ## Mail History Id: 30993169, Consumer Id: 2169528, Address Id: 9734355 => Updated with Vin: JTEEP21A150071411 ## Mail History Id: 30992218, Consumer Id: 2159731, Address Id: 9724475 => Updated with Vin: 4T1CA38P64U024150 ## Mail History Id: 30992248, Consumer Id: 2168885, Address Id: 9737551 => Updated with Vin: 4T1BE32K95U504133 ## Total mail_history records updated with vin numbers: 4 out of 14 ============================================================ ====== Tracking Id: 1814 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-29 07:16:38') AND us2_order_type_id = 3 ## Order found: 2103 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2103 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3503 ## Mailing found: '13402,13913' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992689, Consumer Id: 2173773, Address Id: 9721667 => Updated with Vin: 4T1SK12E0NU135346 ## Mail History Id: 30992403, Consumer Id: 2174440, Address Id: 9722255 => Updated with Vin: JTEHH20V010067598 ## Mail History Id: 30992591, Consumer Id: 2166283, Address Id: 9733182 => Updated with Vin: JTMBD32V176026282 ## Mail History Id: 30992170, Consumer Id: 2162043, Address Id: 9728052 => Updated with Vin: 4T1BF32K75U608696 ## Mail History Id: 30992601, Consumer Id: 2159792, Address Id: 9724527 => Updated with Vin: JTEHD20V840016690 ## Mail History Id: 30992399, Consumer Id: 2169992, Address Id: 9729357 => Updated with Vin: 4T1BE46KX9U797482 ## Mail History Id: 30992929, Consumer Id: 2181983, Address Id: 9733487 => Updated with Vin: 4T1BE32K04U937564 ## Mail History Id: 30993091, Consumer Id: 2160531, Address Id: 9725970 => Updated with Vin: JTKDE177650007899 ## Mail History Id: 30993057, Consumer Id: 2162391, Address Id: 9728561 => Updated with Vin: JTEEP21A850113458 ## Mail History Id: 30993669, Consumer Id: 2180635, Address Id: 9733555 => Updated with Vin: JTEHD21A240031973 ## Mail History Id: 30993135, Consumer Id: 2166578, Address Id: 9733404 => Updated with Vin: 5TDZA23C56S553786 ## Mail History Id: 30992973, Consumer Id: 2169425, Address Id: 499584 => Updated with Vin: 2T1BR32E88C936930 ## Mail History Id: 30992163, Consumer Id: 2158562, Address Id: 9721301 => Updated with Vin: JTEHF21A030122541 ## Mail History Id: 30993213, Consumer Id: 2165785, Address Id: 9732152 => Updated with Vin: 5TDZA22C26S522836 ## Mail History Id: 30993161, Consumer Id: 2172050, Address Id: 9719770 => Updated with Vin: JTEHF21A520086571 ## Mail History Id: 30993211, Consumer Id: 2166173, Address Id: 9724141 => Updated with Vin: 2T1BR32EX4C172959 ## Mail History Id: 30993211, Consumer Id: 2166173, Address Id: 9724141 => Updated with Vin: 2T1BR32EX4C172959 ## Mail History Id: 30993183, Consumer Id: 2164377, Address Id: 9726429 => Updated with Vin: JTDBR38E742027190 ## Mail History Id: 30992348, Consumer Id: 2161986, Address Id: 9728007 => Updated with Vin: 4T1BF30K35U615518 ## Mail History Id: 30993441, Consumer Id: 2160985, Address Id: 9726685 => Updated with Vin: 4T1BF28B24U383023 ## Mail History Id: 30992128, Consumer Id: 2159593, Address Id: 61080 => Updated with Vin: 4T1BE32K93U751634 ## Mail History Id: 30993281, Consumer Id: 2164540, Address Id: 9731013 => Updated with Vin: JTEEP21A360163878 ## Mail History Id: 30993645, Consumer Id: 2161192, Address Id: 447014 => Updated with Vin: JTEBU17R458034454 ## Mail History Id: 30992124, Consumer Id: 2158659, Address Id: 9721373 => Updated with Vin: 4T1BF28B83U328137 ## Mail History Id: 30993513, Consumer Id: 2172447, Address Id: 9720251 => Updated with Vin: 4T1BF22K4YU943252 ## Mail History Id: 30993487, Consumer Id: 2160544, Address Id: 36995 => Updated with Vin: 2T1BR32E73C026954 ## Mail History Id: 30992487, Consumer Id: 2166066, Address Id: 9733012 => Updated with Vin: 4T1BE46K97U582172 ## Mail History Id: 30993753, Consumer Id: 2159603, Address Id: 9724370 => Updated with Vin: 2T1BR32E94C263852 ## Mail History Id: 30993357, Consumer Id: 2165991, Address Id: 9732952 => Updated with Vin: JTEBU11F270027132 ## Mail History Id: 30992529, Consumer Id: 2177250, Address Id: 9726432 => Updated with Vin: JTEBU17R738009593 ## Mail History Id: 30992221, Consumer Id: 2159237, Address Id: 9723488 => Updated with Vin: 4T1CE38P84U804882 ## Mail History Id: 30993035, Consumer Id: 2173759, Address Id: 9721655 => Updated with Vin: 4T1BF30K62U525243 ## Mail History Id: 30993795, Consumer Id: 2163261, Address Id: 9718949 => Updated with Vin: JTEGH20VX26000579 ## Mail History Id: 30992765, Consumer Id: 2179682, Address Id: 465610 => Updated with Vin: JT3HP10V5W7098379 ## Mail History Id: 30992453, Consumer Id: 2173097, Address Id: 9720836 => Updated with Vin: 4T1BE32K13U149858 ## Mail History Id: 30992415, Consumer Id: 2159889, Address Id: 9725043 => Updated with Vin: JTDDR32T640176119 ## Mail History Id: 30992991, Consumer Id: 2173429, Address Id: 9721142 => Updated with Vin: 4T1BF28BX3U289874 ## Mail History Id: 30992979, Consumer Id: 2181047, Address Id: 9734336 => Updated with Vin: JTDBE32K340270405 ## Mail History Id: 30992127, Consumer Id: 2169475, Address Id: 9738425 => Updated with Vin: JTLKE50E581050941 ## Mail History Id: 30992950, Consumer Id: 2181400, Address Id: 9734241 => Updated with Vin: JTEEP21AX40060356 ## Mail History Id: 30992284, Consumer Id: 2158670, Address Id: 9721380 => Updated with Vin: 2T1BR32E84C173897 ## Mail History Id: 30992851, Consumer Id: 2166330, Address Id: 9733216 => Updated with Vin: 5TDZA23C76S582027 ## Mail History Id: 30992328, Consumer Id: 2161420, Address Id: 9727314 => Updated with Vin: 5TBBT44115S458556 ## Mail History Id: 30993655, Consumer Id: 2175561, Address Id: 500051 => Updated with Vin: 4T1BE32K02U075816 ## Mail History Id: 30992749, Consumer Id: 2181417, Address Id: 9734244 => Updated with Vin: 4T1BE32K25U946705 ## Mail History Id: 30992363, Consumer Id: 2169862, Address Id: 9753713 => Updated with Vin: KMHCG45C11U171848 ## Mail History Id: 30992361, Consumer Id: 2166342, Address Id: 9733228 => Updated with Vin: JTEBU17R868076188 ## Mail History Id: 30992839, Consumer Id: 2170007, Address Id: 11911774 => Updated with Vin: 5TDBT44A45S233734 ## Mail History Id: 30992783, Consumer Id: 2176169, Address Id: 9724689 => Updated with Vin: 4T3ZF13C4XU107012 ## Mail History Id: 30992279, Consumer Id: 2162979, Address Id: 9729012 => Updated with Vin: 5TDZA23C15S377284 ## Mail History Id: 30992919, Consumer Id: 458855, Address Id: 9737550 => Updated with Vin: 5TBBV54137S461400 ## Total mail_history records updated with vin numbers: 51 out of 111 ============================================================ ====== Tracking Id: 1815 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-29 08:16:34') AND us2_order_type_id = 3 ## Order found: 2104 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2104 AND product_id = 55 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 1816 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-29 08:46:28') AND us2_order_type_id = 3 ## Order found: 2104 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2104 AND product_id = 113 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 1817 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-29 08:46:34') AND us2_order_type_id = 3 ## Order found: 2104 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2104 AND product_id = 143 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 1818 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-29 09:20:17') AND us2_order_type_id = 3 ## Order found: 2105 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2105 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3470 ## Mailing found: '13325' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955746, Consumer Id: 580107, Address Id: 3169520 => Updated with Vin: 1J8GW58N73C602660 ## Mail History Id: 30955882, Consumer Id: 554110, Address Id: 7479250 => Updated with Vin: 2C8GM68474R348837 ## Mail History Id: 30955740, Consumer Id: 554737, Address Id: 7197757 => Updated with Vin: 1J4GX48S04C209972 ## Mail History Id: 30955622, Consumer Id: 578410, Address Id: 2961232 => Updated with Vin: 1J4GK58K12W263393 ## Mail History Id: 30955636, Consumer Id: 556924, Address Id: 10692588 => Updated with Vin: 1D7GL12K54S503775 ## Mail History Id: 30955700, Consumer Id: 557421, Address Id: 10693716 => Updated with Vin: 3C3AY55E75T286040 ## Mail History Id: 30955892, Consumer Id: 573889, Address Id: 10720646 => Updated with Vin: 1B3ES56C93D172315 ## Mail History Id: 30955798, Consumer Id: 561197, Address Id: 7349422 => Updated with Vin: 2C4GP44R05R119982 ## Mail History Id: 30955754, Consumer Id: 561755, Address Id: 10699545 => Updated with Vin: 2C4GM68425R424662 ## Mail History Id: 30955866, Consumer Id: 561756, Address Id: 1551348 => Updated with Vin: 1B3ES56C95D160071 ## Mail History Id: 30955706, Consumer Id: 571033, Address Id: 10701563 => Updated with Vin: 1D7HA18227S206856 ## Mail History Id: 30955632, Consumer Id: 561382, Address Id: 7461997 => Updated with Vin: 2C4GM48LX5R381605 ## Mail History Id: 30955852, Consumer Id: 566225, Address Id: 1549050 => Updated with Vin: 1J4GK48K56W153768 ## Mail History Id: 30955864, Consumer Id: 567287, Address Id: 1551310 => Updated with Vin: 2C4GM68435R589233 ## Mail History Id: 30955716, Consumer Id: 567549, Address Id: 2075977 => Updated with Vin: 2C3KA63H56H535795 ## Mail History Id: 30955888, Consumer Id: 571030, Address Id: 1985081 => Updated with Vin: 1C3LC45K58N633988 ## Mail History Id: 30955614, Consumer Id: 572116, Address Id: 7356923 => Updated with Vin: 2A8HR64X88R661823 ## Mail History Id: 30955810, Consumer Id: 572767, Address Id: 7473835 => Updated with Vin: 1D4HD48NX5F563692 ## Mail History Id: 30955696, Consumer Id: 583093, Address Id: 10744665 => Updated with Vin: 1J4GK58K26W205234 ## Mail History Id: 30955732, Consumer Id: 572825, Address Id: 10719335 => Updated with Vin: 1D8GT58K48W150261 ## Mail History Id: 30955792, Consumer Id: 572816, Address Id: 10719332 => Updated with Vin: 1D8HN54P48B119020 ## Mail History Id: 30955860, Consumer Id: 572817, Address Id: 10719333 => Updated with Vin: 1J4FA54168L565025 ## Mail History Id: 30955872, Consumer Id: 572826, Address Id: 10719336 => Updated with Vin: 1J8GP28K28W134893 ## Total mail_history records updated with vin numbers: 23 out of 28 ============================================================ ====== Tracking Id: 1819 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-29 09:20:30') AND us2_order_type_id = 3 ## Order found: 2105 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2105 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3470 ## Mailing found: '13325' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955692, Consumer Id: 575089, Address Id: 10721465 => Updated with Vin: 1B4GP44G7YB726024 ## Mail History Id: 30955660, Consumer Id: 561358, Address Id: 5569477 => Updated with Vin: 2C4GM68415R661420 ## Mail History Id: 30955689, Consumer Id: 574279, Address Id: 10720876 => Updated with Vin: 1D7HU18D65S213766 ## Mail History Id: 30955836, Consumer Id: 565824, Address Id: 2744895 => Updated with Vin: 1D7HA18256S555301 ## Mail History Id: 30955846, Consumer Id: 567364, Address Id: 10711938 => Updated with Vin: 1J8HH58256C291853 ## Mail History Id: 30955606, Consumer Id: 567860, Address Id: 10712088 => Updated with Vin: 2B3KA53H36H148430 ## Mail History Id: 30955910, Consumer Id: 569658, Address Id: 10716608 => Updated with Vin: 1C3LC56K27N506277 ## Mail History Id: 30955908, Consumer Id: 571218, Address Id: 2549909 => Updated with Vin: 1J4GS48K35C727056 ## Mail History Id: 30955652, Consumer Id: 571264, Address Id: 10717795 => Updated with Vin: 1J4GK48K94W159067 ## Mail History Id: 30955666, Consumer Id: 571323, Address Id: 10717828 => Updated with Vin: 1J4GX48S64C295630 ## Mail History Id: 30955794, Consumer Id: 572448, Address Id: 1345563 => Updated with Vin: 1D4GP25R37B225415 ## Mail History Id: 30955902, Consumer Id: 571585, Address Id: 10718863 => Updated with Vin: 1A4GJ45R77B204409 ## Mail History Id: 30955648, Consumer Id: 582697, Address Id: 799974 => Updated with Vin: 1C3LC46K47N522488 ## Mail History Id: 30955848, Consumer Id: 573287, Address Id: 10719545 => Updated with Vin: 2A8GM68X17R328625 ## Mail History Id: 30955904, Consumer Id: 582961, Address Id: 10745074 => Updated with Vin: WDBRF61J41F050350 ## Mail History Id: 30955800, Consumer Id: 583349, Address Id: 10745444 => Updated with Vin: 1B3ES66S05D206576 ## Mail History Id: 30955742, Consumer Id: 583363, Address Id: 10745450 => Updated with Vin: 1J4GK48K13W529958 ## Mail History Id: 30955655, Consumer Id: 583366, Address Id: 2056179 => Updated with Vin: 2D4FV48T05H514812 ## Mail History Id: 30955679, Consumer Id: 573057, Address Id: 10719439 => Updated with Vin: 2A8HR64X08R690278 ## Mail History Id: 30955646, Consumer Id: 573059, Address Id: 2021807 => Updated with Vin: 1J4GB39168L578260 ## Mail History Id: 30955642, Consumer Id: 573060, Address Id: 6508968 => Updated with Vin: KNAFE121255177468 ## Mail History Id: 30955870, Consumer Id: 573062, Address Id: 10719442 => Updated with Vin: 3A8FY48B88T124802 ## Total mail_history records updated with vin numbers: 22 out of 25 ============================================================ ====== Tracking Id: 1820 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-29 09:20:43') AND us2_order_type_id = 3 ## Order found: 2105 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2105 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3470 ## Mailing found: '13325' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955770, Consumer Id: 872228, Address Id: 7469358 => Updated with Vin: 1C3LC65M08N118717 ## Mail History Id: 30955790, Consumer Id: 558988, Address Id: 10695721 => Updated with Vin: 2C4GP64L05R251826 ## Mail History Id: 30955708, Consumer Id: 566731, Address Id: 10699556 => Updated with Vin: 1J8HH58NX6C291857 ## Mail History Id: 30955752, Consumer Id: 578518, Address Id: 4099984 => Updated with Vin: 2C3HE76KX4H680114 ## Mail History Id: 30955856, Consumer Id: 872229, Address Id: 1549315 => Updated with Vin: 1D7HA18N08S518718 ## Mail History Id: 30955612, Consumer Id: 566694, Address Id: 10710566 => Updated with Vin: 1D7HE28K36S533498 ## Mail History Id: 30955884, Consumer Id: 629123, Address Id: 10710936 => Updated with Vin: 1D7HA18K98J147599 ## Mail History Id: 30955640, Consumer Id: 578012, Address Id: 10728331 => Updated with Vin: 1B3ES56C05D279580 ## Mail History Id: 30955834, Consumer Id: 578980, Address Id: 1547346 => Updated with Vin: 1J4GL38K96W289893 ## Mail History Id: 30955928, Consumer Id: 568526, Address Id: 10713823 => Updated with Vin: 1J8HG58266C363999 ## Mail History Id: 30955672, Consumer Id: 578711, Address Id: 3493153 => Updated with Vin: 1J8HH58N66C107126 ## Mail History Id: 30955924, Consumer Id: 569668, Address Id: 10690298 => Updated with Vin: 1D7HA18297J571251 ## Mail History Id: 30955880, Consumer Id: 571013, Address Id: 10717472 => Updated with Vin: 2A8GM68X57R269482 ## Mail History Id: 30955668, Consumer Id: 573068, Address Id: 3165414 => Updated with Vin: 1J8GS48K98C109789 ## Mail History Id: 30955738, Consumer Id: 873695, Address Id: 11913150 => Updated with Vin: 1J4GK58K15W588176 ## Mail History Id: 30955690, Consumer Id: 759953, Address Id: 4895963 => Updated with Vin: 2C3KA53G37H705641 ## Mail History Id: 30955822, Consumer Id: 759543, Address Id: 2798649 => Updated with Vin: 3A8FY48B08T104575 ## Mail History Id: 30955637, Consumer Id: 873711, Address Id: 11913160 => Updated with Vin: 1J4FA44S95P331369 ## Mail History Id: 30955750, Consumer Id: 871017, Address Id: 1339193 => Updated with Vin: 1J4GX48S92C132855 ## Mail History Id: 30955774, Consumer Id: 871604, Address Id: 11911868 => Updated with Vin: 1J8FT47W17D363597 ## Mail History Id: 30955764, Consumer Id: 873706, Address Id: 8911671 => Updated with Vin: 1J4GS48K46C161913 ## Mail History Id: 30955698, Consumer Id: 873713, Address Id: 1174178 => Updated with Vin: 2C3HD36M72H279260 ## Mail History Id: 30955712, Consumer Id: 872227, Address Id: 1544209 => Updated with Vin: 2B3KA43G48H272551 ## Total mail_history records updated with vin numbers: 23 out of 28 ============================================================ ====== Tracking Id: 1821 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-29 09:20:56') AND us2_order_type_id = 3 ## Order found: 2106 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2106 AND product_id = 142 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3768 ## Mailing found: '13293' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30915980, Consumer Id: 1107155, Address Id: 14981991 => Updated with Vin: 1G6KD57Y47U103062 ## Mail History Id: 30915970, Consumer Id: 1042402, Address Id: 5984637 => Updated with Vin: 1G6KY54902U221961 ## Mail History Id: 30915958, Consumer Id: 1110833, Address Id: 2852043 => Updated with Vin: 1GYEE63A250114453 ## Mail History Id: 30915944, Consumer Id: 1112140, Address Id: 5979432 => Updated with Vin: 1G6KD57906U152945 ## Mail History Id: 30915944, Consumer Id: 1112140, Address Id: 5979432 => Updated with Vin: 1G6KD57906U152945 ## Mail History Id: 30915990, Consumer Id: 1112698, Address Id: 8828551 => Updated with Vin: 1G6KE57Y44U210024 ## Mail History Id: 30915992, Consumer Id: 1049678, Address Id: 8829025 => Updated with Vin: 1GYFK63867R171716 ## Total mail_history records updated with vin numbers: 7 out of 10 ============================================================ ====== Tracking Id: 1822 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-29 09:21:00') AND us2_order_type_id = 3 ## Order found: 2106 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2106 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1823 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-29 09:21:03') AND us2_order_type_id = 3 ## Order found: 2106 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2106 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3768 ## Mailing found: '13331' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956412, Consumer Id: 1109516, Address Id: 14982633 => Updated with Vin: 1G6DC67A970192333 ## Mail History Id: 30956330, Consumer Id: 1111413, Address Id: 3239294 => Updated with Vin: 1G6DP577X60107131 ## Total mail_history records updated with vin numbers: 2 out of 4 ============================================================ ====== Tracking Id: 1824 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-08-29 10:16:58') AND us2_order_type_id = 3 ## Order found: 2107 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2107 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3846 ## Mailing found: '13410' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993667, Consumer Id: 1179268, Address Id: 15366206 => Updated with Vin: JF1SF65581H703420 ## Mail History Id: 30992186, Consumer Id: 1181976, Address Id: 15368784 => Updated with Vin: 4S4WX83C464423431 ## Mail History Id: 30992621, Consumer Id: 1179383, Address Id: 15366297 => Updated with Vin: 4S3BK4359T7307728 ## Mail History Id: 30992583, Consumer Id: 1178671, Address Id: 15367315 => Updated with Vin: 4S3BL676456212451 ## Mail History Id: 30992617, Consumer Id: 1179295, Address Id: 45498 => Updated with Vin: JF1SF63531H753211 ## Mail History Id: 30992236, Consumer Id: 1185378, Address Id: 46809 => Updated with Vin: JF1GG61647H801810 ## Mail History Id: 30992123, Consumer Id: 1183513, Address Id: 15368241 => Updated with Vin: 4S3BH815647638454 ## Mail History Id: 30992123, Consumer Id: 1183513, Address Id: 15368241 => Updated with Vin: 4S3BH815647638454 ## Mail History Id: 30992503, Consumer Id: 1178379, Address Id: 15366467 => Updated with Vin: 4S3BH806717663515 ## Mail History Id: 30992212, Consumer Id: 1182250, Address Id: 15369175 => Updated with Vin: JF1GD70626L518544 ## Mail History Id: 30992212, Consumer Id: 1182250, Address Id: 15369175 => Updated with Vin: JF1GD70626L518544 ## Mail History Id: 30993061, Consumer Id: 1184339, Address Id: 15368596 => Updated with Vin: 4S3BL616X56213323 ## Mail History Id: 30993757, Consumer Id: 1182377, Address Id: 15369880 => Updated with Vin: 4S4WX92D184401857 ## Mail History Id: 30992101, Consumer Id: 1184888, Address Id: 9731047 => Updated with Vin: 4S4BP61C667327403 ## Mail History Id: 30993113, Consumer Id: 1178354, Address Id: 15366453 => Updated with Vin: JF1SG65603H762177 ## Mail History Id: 30993041, Consumer Id: 1186525, Address Id: 4378611 => Updated with Vin: JF1GH61648H809484 ## Mail History Id: 30993119, Consumer Id: 1186482, Address Id: 9733187 => Updated with Vin: 4S4BP61C377311449 ## Mail History Id: 30993087, Consumer Id: 1186453, Address Id: 15370874 => Updated with Vin: 4S4BP61C256382287 ## Mail History Id: 30993147, Consumer Id: 293895, Address Id: 4498881 => Updated with Vin: JF1GG63617H805018 ## Mail History Id: 30993143, Consumer Id: 1183953, Address Id: 15366739 => Updated with Vin: 4S3BP616X57354441 ## Mail History Id: 30993069, Consumer Id: 1183961, Address Id: 15367995 => Updated with Vin: JF1SG63645H743105 ## Mail History Id: 30992428, Consumer Id: 1178734, Address Id: 9721652 => Updated with Vin: 4S3BL676756211150 ## Mail History Id: 30992316, Consumer Id: 1186751, Address Id: 470580 => Updated with Vin: JF1GE61678G506794 ## Mail History Id: 30993677, Consumer Id: 1186811, Address Id: 15371271 => Updated with Vin: 4S4BP61C287343892 ## Mail History Id: 30992299, Consumer Id: 1186399, Address Id: 9751433 => Updated with Vin: JF1SG63675H734348 ## Mail History Id: 30993029, Consumer Id: 1179650, Address Id: 15366501 => Updated with Vin: JF1SF65671H750429 ## Mail History Id: 30993163, Consumer Id: 1179002, Address Id: 15367770 => Updated with Vin: JF1SG65618H715330 ## Mail History Id: 30992204, Consumer Id: 1182691, Address Id: 15367939 => Updated with Vin: 4S4BP61C977335481 ## Mail History Id: 30993257, Consumer Id: 1178846, Address Id: 499671 => Updated with Vin: JF1SG65624H708557 ## Mail History Id: 30993265, Consumer Id: 1179810, Address Id: 9719037 => Updated with Vin: 4S3BK4257V6325977 ## Mail History Id: 30992181, Consumer Id: 1183814, Address Id: 15367947 => Updated with Vin: 4S4BP67C054314900 ## Mail History Id: 30992145, Consumer Id: 1185389, Address Id: 4371897 => Updated with Vin: JF1GG68502H811739 ## Mail History Id: 30992155, Consumer Id: 1180620, Address Id: 15366995 => Updated with Vin: 4S3BE625047202937 ## Mail History Id: 30992175, Consumer Id: 1179113, Address Id: 9751280 => Updated with Vin: JF1GM6753YG402210 ## Mail History Id: 30992167, Consumer Id: 1182582, Address Id: 461075 => Updated with Vin: 4S4BP62C777332951 ## Mail History Id: 30992167, Consumer Id: 1179147, Address Id: 461075 => Updated with Vin: JTKDE177950026530 ## Mail History Id: 30993227, Consumer Id: 1185838, Address Id: 469953 => Updated with Vin: 4S4BP61C667320130 ## Mail History Id: 30993175, Consumer Id: 1187213, Address Id: 15369199 => Updated with Vin: JF1SG63608H713393 ## Mail History Id: 30993215, Consumer Id: 1182077, Address Id: 15368818 => Updated with Vin: 4S4BP61C467324614 ## Mail History Id: 30993221, Consumer Id: 1178421, Address Id: 9741617 => Updated with Vin: JF1SG63624G716537 ## Mail History Id: 30993195, Consumer Id: 1179175, Address Id: 15366129 => Updated with Vin: JF1SF65661H738420 ## Mail History Id: 30993195, Consumer Id: 1179175, Address Id: 15366129 => Updated with Vin: JF1SF65661H738420 ## Mail History Id: 30993223, Consumer Id: 1187137, Address Id: 15366377 => Updated with Vin: 4S4BP86C484354785 ## Mail History Id: 30992201, Consumer Id: 1182281, Address Id: 15369177 => Updated with Vin: JF1SG65616H756862 ## Mail History Id: 30992685, Consumer Id: 1179137, Address Id: 15367909 => Updated with Vin: JF1SG63664H720469 ## Mail History Id: 30992410, Consumer Id: 269632, Address Id: 472976 => Updated with Vin: JF1SG63623H730320 ## Mail History Id: 30992456, Consumer Id: 1180104, Address Id: 15366889 => Updated with Vin: JF1SF6556XH740572 ## Mail History Id: 30992456, Consumer Id: 1180104, Address Id: 15366889 => Updated with Vin: JF1SF6556XH740572 ## Mail History Id: 30992460, Consumer Id: 1186010, Address Id: 15370052 => Updated with Vin: 4S4WX85D274409115 ## Mail History Id: 30992316, Consumer Id: 1179008, Address Id: 470580 => Updated with Vin: 4S3BL616X87218567 ## Mail History Id: 30993423, Consumer Id: 1179072, Address Id: 15367809 => Updated with Vin: 4S4BP86C774336506 ## Mail History Id: 30992873, Consumer Id: 1178980, Address Id: 15367757 => Updated with Vin: 4S4BP62C487321794 ## Mail History Id: 30993451, Consumer Id: 1186607, Address Id: 4371874 => Updated with Vin: 4S4BP60C287336992 ## Mail History Id: 30993821, Consumer Id: 1184021, Address Id: 15368103 => Updated with Vin: JF1GG67575G809773 ## Mail History Id: 30993827, Consumer Id: 1183692, Address Id: 15367842 => Updated with Vin: 4S4BP67C154327624 ## Mail History Id: 30992140, Consumer Id: 1184141, Address Id: 15368233 => Updated with Vin: 4S4BP62C257340615 ## Mail History Id: 30992134, Consumer Id: 1185248, Address Id: 9740163 => Updated with Vin: 4S4BP61C267342075 ## Mail History Id: 30992134, Consumer Id: 1185248, Address Id: 9740163 => Updated with Vin: 4S4BP61C267342075 ## Mail History Id: 30993437, Consumer Id: 1185401, Address Id: 9746622 => Updated with Vin: JF1GD67696H526367 ## Mail History Id: 30993437, Consumer Id: 1185401, Address Id: 9746622 => Updated with Vin: JF1GD67696H526367 ## Mail History Id: 30993437, Consumer Id: 1185401, Address Id: 9746622 => Updated with Vin: JF1GD67696H526367 ## Mail History Id: 30993333, Consumer Id: 1179048, Address Id: 15367796 => Updated with Vin: JF1GD61607H511430 ## Mail History Id: 30992763, Consumer Id: 1185709, Address Id: 460326 => Updated with Vin: JF1GG636X7G811647 ## Mail History Id: 30992173, Consumer Id: 1186579, Address Id: 454662 => Updated with Vin: JF1GG29653G802834 ## Mail History Id: 30992173, Consumer Id: 1186579, Address Id: 454662 => Updated with Vin: JF1GG29653G802834 ## Mail History Id: 30992144, Consumer Id: 1187140, Address Id: 15371452 => Updated with Vin: JF1SG63654G719075 ## Mail History Id: 30992623, Consumer Id: 1186993, Address Id: 15371385 => Updated with Vin: JF1GE61618H514514 ## Mail History Id: 30992205, Consumer Id: 1184089, Address Id: 15368315 => Updated with Vin: JF1SG63653H768916 ## Mail History Id: 30992133, Consumer Id: 1178667, Address Id: 15367312 => Updated with Vin: JF1SG69624H762919 ## Mail History Id: 30992709, Consumer Id: 1185530, Address Id: 15369508 => Updated with Vin: 4S4BP61C076317778 ## Mail History Id: 30993303, Consumer Id: 1180463, Address Id: 15367210 => Updated with Vin: JF1SF65521G747774 ## Mail History Id: 30993307, Consumer Id: 1179183, Address Id: 15366135 => Updated with Vin: 4S3BH6355Y7308733 ## Mail History Id: 30993307, Consumer Id: 1179183, Address Id: 15366135 => Updated with Vin: 4S3BH6355Y7308733 ## Mail History Id: 30993283, Consumer Id: 1187005, Address Id: 15366763 => Updated with Vin: 4S4BP61C187341468 ## Mail History Id: 30993251, Consumer Id: 1179807, Address Id: 15366601 => Updated with Vin: JF1SF65622H730610 ## Mail History Id: 30993623, Consumer Id: 1179009, Address Id: 9727644 => Updated with Vin: 3N1CB51D51L453866 ## Mail History Id: 30993499, Consumer Id: 1184655, Address Id: 15368730 => Updated with Vin: JF1GG68696H805503 ## Mail History Id: 30993499, Consumer Id: 1184655, Address Id: 15368730 => Updated with Vin: JF1GG68696H805503 ## Mail History Id: 30993595, Consumer Id: 1182316, Address Id: 9739464 => Updated with Vin: 4S4WX97D884407549 ## Mail History Id: 30993625, Consumer Id: 1178622, Address Id: 15367227 => Updated with Vin: JF1SG63674H767753 ## Mail History Id: 30993625, Consumer Id: 1178622, Address Id: 15367227 => Updated with Vin: JF1SG63674H767753 ## Mail History Id: 30993505, Consumer Id: 1185514, Address Id: 9753499 => Updated with Vin: 4S4BP61CX77318656 ## Mail History Id: 30993491, Consumer Id: 1184920, Address Id: 453667 => Updated with Vin: 4S4BL86C264212217 ## Mail History Id: 30993473, Consumer Id: 1179983, Address Id: 15366760 => Updated with Vin: 4S3BH665426652191 ## Mail History Id: 30993591, Consumer Id: 1181942, Address Id: 12693159 => Updated with Vin: JF1GG68686H801989 ## Mail History Id: 30993483, Consumer Id: 1178510, Address Id: 9728543 => Updated with Vin: JF1SG636X4H739848 ## Mail History Id: 30993693, Consumer Id: 1179094, Address Id: 15367823 => Updated with Vin: 4S4BP61C487309632 ## Mail History Id: 30993693, Consumer Id: 1179094, Address Id: 15367823 => Updated with Vin: 4S4BP61C487309632 ## Mail History Id: 30992877, Consumer Id: 1181951, Address Id: 15368753 => Updated with Vin: 4S4BP61C367324555 ## Mail History Id: 30992208, Consumer Id: 1178589, Address Id: 15367138 => Updated with Vin: 4S3BH675446629947 ## Mail History Id: 30992589, Consumer Id: 1186249, Address Id: 15370183 => Updated with Vin: JF1SG63607H748255 ## Mail History Id: 30992182, Consumer Id: 1178350, Address Id: 15366451 => Updated with Vin: 4S3BH6358Y7311738 ## Mail History Id: 30992180, Consumer Id: 1182622, Address Id: 15369893 => Updated with Vin: JF1GH636X8H812676 ## Mail History Id: 30992465, Consumer Id: 1180082, Address Id: 15366832 => Updated with Vin: JF1SF63531H720371 ## Mail History Id: 30992665, Consumer Id: 292018, Address Id: 4467012 => Updated with Vin: 4S3BH6865Y7648725 ## Mail History Id: 30992661, Consumer Id: 1184677, Address Id: 15368737 => Updated with Vin: JF1SG67606H726278 ## Mail History Id: 30992535, Consumer Id: 1185393, Address Id: 14946335 => Updated with Vin: 4S4WX82C164425719 ## Mail History Id: 30992657, Consumer Id: 1179854, Address Id: 9752374 => Updated with Vin: JF1SG65683H757308 ## Mail History Id: 30993731, Consumer Id: 958657, Address Id: 12121035 => Updated with Vin: 4S3BK4356T7314006 ## Mail History Id: 30992473, Consumer Id: 1180864, Address Id: 15366128 => Updated with Vin: JF1SF6357WH758354 ## Mail History Id: 30992473, Consumer Id: 1180864, Address Id: 15366128 => Updated with Vin: JF1SF6357WH758354 ## Mail History Id: 30992497, Consumer Id: 1179193, Address Id: 9748090 => Updated with Vin: JF1SF63562H749445 ## Mail History Id: 30992497, Consumer Id: 1179193, Address Id: 9748090 => Updated with Vin: JF1SF63562H749445 ## Mail History Id: 30993729, Consumer Id: 1185724, Address Id: 14949163 => Updated with Vin: 4S4BP61C367327939 ## Mail History Id: 30992537, Consumer Id: 1179815, Address Id: 11679318 => Updated with Vin: 4S3BH6452Y7304279 ## Mail History Id: 30992537, Consumer Id: 1179815, Address Id: 11679318 => Updated with Vin: 4S3BH6452Y7304279 ## Mail History Id: 30992637, Consumer Id: 290806, Address Id: 4446875 => Updated with Vin: JF1SF6358YH728315 ## Mail History Id: 30992637, Consumer Id: 290806, Address Id: 4446875 => Updated with Vin: JF1SF6358YH728315 ## Mail History Id: 30992513, Consumer Id: 292899, Address Id: 4376596 => Updated with Vin: 4S3BH806537634582 ## Mail History Id: 30992513, Consumer Id: 292899, Address Id: 4376596 => Updated with Vin: 4S3BH806537634582 ## Mail History Id: 30992653, Consumer Id: 1179128, Address Id: 11767775 => Updated with Vin: 4S4BP61C277344538 ## Mail History Id: 30992547, Consumer Id: 1869704, Address Id: 16740761 => Updated with Vin: 4S3BE635227201767 ## Mail History Id: 30992671, Consumer Id: 1178676, Address Id: 15366416 => Updated with Vin: 4S4BL84C554210740 ## Mail History Id: 30992523, Consumer Id: 1185306, Address Id: 448380 => Updated with Vin: JF1GD79686G509486 ## Mail History Id: 30992964, Consumer Id: 1185329, Address Id: 15369157 => Updated with Vin: JF1SF6350WH767591 ## Mail History Id: 30992964, Consumer Id: 1185329, Address Id: 15369157 => Updated with Vin: JF1SF6350WH767591 ## Mail History Id: 30992194, Consumer Id: 1185218, Address Id: 15369381 => Updated with Vin: 4S4BP85C964351007 ## Mail History Id: 30993315, Consumer Id: 1187070, Address Id: 15371442 => Updated with Vin: 4S4WX83C464427866 ## Mail History Id: 30993315, Consumer Id: 1187070, Address Id: 15371442 => Updated with Vin: 4S4WX83C464427866 ## Mail History Id: 30993197, Consumer Id: 1187124, Address Id: 15371363 => Updated with Vin: 4S4BP61CX87327651 ## Mail History Id: 30993431, Consumer Id: 1184960, Address Id: 15369002 => Updated with Vin: JF1SG65645G721320 ## Mail History Id: 30993341, Consumer Id: 1185592, Address Id: 15369435 => Updated with Vin: JF1GG29602G833133 ## Mail History Id: 30993341, Consumer Id: 1185592, Address Id: 15369435 => Updated with Vin: JF1GG29602G833133 ## Mail History Id: 30992779, Consumer Id: 1179018, Address Id: 15367778 => Updated with Vin: JF1SG66668G701315 ## Mail History Id: 30993345, Consumer Id: 1182240, Address Id: 15366485 => Updated with Vin: 4S4WX82D774410717 ## Mail History Id: 30993345, Consumer Id: 1182240, Address Id: 15366485 => Updated with Vin: 4S4WX82D774410717 ## Mail History Id: 30993367, Consumer Id: 1178723, Address Id: 15367401 => Updated with Vin: JF1SG63665H734468 ## Mail History Id: 30993389, Consumer Id: 1178836, Address Id: 15367565 => Updated with Vin: JF1SG63625H754961 ## Mail History Id: 30993383, Consumer Id: 1179474, Address Id: 15366361 => Updated with Vin: 4S3BH675637623558 ## Mail History Id: 30993309, Consumer Id: 1179496, Address Id: 15366379 => Updated with Vin: JF1GG68532H829359 ## Mail History Id: 30993385, Consumer Id: 1179111, Address Id: 15367895 => Updated with Vin: 4S4BP62C787344874 ## Mail History Id: 30993379, Consumer Id: 1185710, Address Id: 15369560 => Updated with Vin: JF1GD74667G508815 ## Mail History Id: 30993365, Consumer Id: 1179806, Address Id: 15366600 => Updated with Vin: 4S3BH6864Y7631088 ## Mail History Id: 30993373, Consumer Id: 1186839, Address Id: 15371248 => Updated with Vin: JF1GG63667H816676 ## Mail History Id: 30993651, Consumer Id: 1185116, Address Id: 15369133 => Updated with Vin: 4S3BL626067209999 ## Mail History Id: 30992915, Consumer Id: 1183918, Address Id: 9729280 => Updated with Vin: JF1GG67575H807158 ## Mail History Id: 30992420, Consumer Id: 1186713, Address Id: 15371003 => Updated with Vin: 4S3BH665527610008 ## Mail History Id: 30992436, Consumer Id: 1178540, Address Id: 15367024 => Updated with Vin: 4S3BH806547637841 ## Mail History Id: 30992243, Consumer Id: 1183805, Address Id: 15367870 => Updated with Vin: JF1GG67555H804291 ## Mail History Id: 30992267, Consumer Id: 1179150, Address Id: 459089 => Updated with Vin: 4S4BP86C084331973 ## Mail History Id: 30992297, Consumer Id: 1179880, Address Id: 15366685 => Updated with Vin: 4S3BH645517303486 ## Mail History Id: 30992787, Consumer Id: 1186787, Address Id: 15371105 => Updated with Vin: JF1GE61618H516408 ## Mail History Id: 30993725, Consumer Id: 1184684, Address Id: 15368739 => Updated with Vin: 4S3BH675647641690 ## Mail History Id: 30993745, Consumer Id: 1179933, Address Id: 15366723 => Updated with Vin: JF1SF65522H751724 ## Mail History Id: 30993765, Consumer Id: 1178799, Address Id: 9748823 => Updated with Vin: JF1GG67575G812480 ## Mail History Id: 30993797, Consumer Id: 1179036, Address Id: 4461059 => Updated with Vin: 4S4BP62C487319026 ## Mail History Id: 30993803, Consumer Id: 1178713, Address Id: 15367393 => Updated with Vin: JF1SG67655H703366 ## Mail History Id: 30993003, Consumer Id: 1179356, Address Id: 15366279 => Updated with Vin: 4S3BH806217676351 ## Mail History Id: 30992336, Consumer Id: 1186535, Address Id: 15371080 => Updated with Vin: JF1GG67626G803020 ## Mail History Id: 30992969, Consumer Id: 1184151, Address Id: 15368326 => Updated with Vin: 4S4BP62C557389601 ## Mail History Id: 30992925, Consumer Id: 1180346, Address Id: 15367101 => Updated with Vin: JF1SG63623H750955 ## Mail History Id: 30992925, Consumer Id: 1180346, Address Id: 15367101 => Updated with Vin: JF1SG63623H750955 ## Mail History Id: 30993709, Consumer Id: 1187116, Address Id: 15371467 => Updated with Vin: 4S4WX97D984414283 ## Mail History Id: 30993023, Consumer Id: 1181958, Address Id: 15366127 => Updated with Vin: JF1SG63673H769503 ## Mail History Id: 30992975, Consumer Id: 1183757, Address Id: 15367989 => Updated with Vin: 4S3BE896947203885 ## Mail History Id: 30992981, Consumer Id: 1179081, Address Id: 15367814 => Updated with Vin: 2G1WF52E659363357 ## Mail History Id: 30992965, Consumer Id: 1185341, Address Id: 15369259 => Updated with Vin: JF1SG63667H707483 ## Mail History Id: 30992909, Consumer Id: 1178689, Address Id: 15367327 => Updated with Vin: JF1GG68535H806247 ## Mail History Id: 30993413, Consumer Id: 1179932, Address Id: 9724931 => Updated with Vin: 4S3BH665927654741 ## Mail History Id: 30992917, Consumer Id: 1179572, Address Id: 15366425 => Updated with Vin: JF1SF6355WH758448 ## Mail History Id: 30993185, Consumer Id: 1182243, Address Id: 15368901 => Updated with Vin: 4S4BP61C957371765 ## Mail History Id: 30993185, Consumer Id: 1182243, Address Id: 15368901 => Updated with Vin: 4S4BP61C957371765 ## Mail History Id: 30993185, Consumer Id: 1182243, Address Id: 15368901 => Updated with Vin: 4S4BP61C957371765 ## Mail History Id: 30992681, Consumer Id: 1186996, Address Id: 15366500 => Updated with Vin: JF2SH61619H712346 ## Mail History Id: 30992639, Consumer Id: 1179121, Address Id: 15367898 => Updated with Vin: JF1GE616X8H519128 ## Mail History Id: 30992639, Consumer Id: 1179121, Address Id: 15367898 => Updated with Vin: JF1GE616X8H519128 ## Mail History Id: 30992639, Consumer Id: 1179121, Address Id: 15367898 => Updated with Vin: JF1GE616X8H519128 ## Mail History Id: 30992495, Consumer Id: 1178520, Address Id: 9747655 => Updated with Vin: JF1SG69664H725548 ## Mail History Id: 30993317, Consumer Id: 1184733, Address Id: 15368854 => Updated with Vin: 4S3BH806337625783 ## Mail History Id: 30993317, Consumer Id: 1184733, Address Id: 15368854 => Updated with Vin: 4S3BH806337625783 ## Mail History Id: 30993377, Consumer Id: 1182003, Address Id: 14948621 => Updated with Vin: 4S3BL626577213077 ## Mail History Id: 30992390, Consumer Id: 1185139, Address Id: 11676804 => Updated with Vin: JF1SG65696H747990 ## Mail History Id: 30992386, Consumer Id: 1179127, Address Id: 15367902 => Updated with Vin: 4S4BP60C687353083 ## Mail History Id: 30993020, Consumer Id: 1179149, Address Id: 2863620 => Updated with Vin: 4S4BP61C987360091 ## Mail History Id: 30992635, Consumer Id: 1179116, Address Id: 9725838 => Updated with Vin: JF1SG63636H705527 ## Mail History Id: 30992096, Consumer Id: 1178425, Address Id: 15366661 => Updated with Vin: 4S3BD4354X7256168 ## Mail History Id: 30992096, Consumer Id: 1178425, Address Id: 15366661 => Updated with Vin: 4S3BD4354X7256168 ## Mail History Id: 30992092, Consumer Id: 1178572, Address Id: 9725963 => Updated with Vin: JF1SG65624H761078 ## Mail History Id: 30992861, Consumer Id: 1186304, Address Id: 15370188 => Updated with Vin: 4S3BH675XY7663116 ## Mail History Id: 30992845, Consumer Id: 1178797, Address Id: 4446963 => Updated with Vin: 4S4WX82C664402338 ## Mail History Id: 30992100, Consumer Id: 1178794, Address Id: 9739157 => Updated with Vin: 4S4WX85C964402555 ## Mail History Id: 30992100, Consumer Id: 1182532, Address Id: 9739157 => Updated with Vin: JF1GG67616H810289 ## Mail History Id: 30992100, Consumer Id: 1182532, Address Id: 9739157 => Updated with Vin: JF1GG67616H810289 ## Mail History Id: 30992841, Consumer Id: 1179791, Address Id: 9723553 => Updated with Vin: JF1SF656X1G765450 ## Mail History Id: 30992954, Consumer Id: 1185451, Address Id: 15369457 => Updated with Vin: 4S4BP61C766327514 ## Mail History Id: 30992725, Consumer Id: 1184445, Address Id: 15368569 => Updated with Vin: 4S4BP61C967313396 ## Mail History Id: 30992825, Consumer Id: 1180030, Address Id: 15366792 => Updated with Vin: 4S3BK4355X6300223 ## Mail History Id: 30992729, Consumer Id: 1187100, Address Id: 9720826 => Updated with Vin: JF1SG66628H715514 ## Mail History Id: 30992727, Consumer Id: 1183460, Address Id: 15368042 => Updated with Vin: JF1SG63674H739192 ## Mail History Id: 30992795, Consumer Id: 294161, Address Id: 4501097 => Updated with Vin: JF1SG65617H723443 ## Mail History Id: 30992701, Consumer Id: 1186444, Address Id: 15370573 => Updated with Vin: JF1SG65638H715765 ## Mail History Id: 30992813, Consumer Id: 1184968, Address Id: 15368877 => Updated with Vin: 4S4BP61C057344048 ## Mail History Id: 30992365, Consumer Id: 1185781, Address Id: 451706 => Updated with Vin: 4S4BP61C177325382 ## Mail History Id: 30992383, Consumer Id: 1179587, Address Id: 15366434 => Updated with Vin: 4S3BH806927639234 ## Mail History Id: 30992375, Consumer Id: 1185443, Address Id: 15369410 => Updated with Vin: 4S3BL676166201392 ## Mail History Id: 30993695, Consumer Id: 1179467, Address Id: 15366355 => Updated with Vin: JF1SG63673H752572 ## Mail History Id: 30992775, Consumer Id: 1181983, Address Id: 9738620 => Updated with Vin: JF1SG67656H735901 ## Mail History Id: 30992339, Consumer Id: 1178847, Address Id: 4381396 => Updated with Vin: 4S4BP61C757365463 ## Mail History Id: 30993601, Consumer Id: 1178355, Address Id: 15366454 => Updated with Vin: JF1SG63613G767252 ## Mail History Id: 30993565, Consumer Id: 1182005, Address Id: 9728234 => Updated with Vin: JF1SG63696H712997 ## Mail History Id: 30993565, Consumer Id: 1182005, Address Id: 9728234 => Updated with Vin: JF1SG63696H712997 ## Mail History Id: 30992797, Consumer Id: 1183964, Address Id: 15368140 => Updated with Vin: 4S3BG6850X6625870 ## Mail History Id: 30992253, Consumer Id: 1186268, Address Id: 452036 => Updated with Vin: 4S3BH675747631184 ## Mail History Id: 30993033, Consumer Id: 1179659, Address Id: 475271 => Updated with Vin: JF1SG636X3H703088 ## Mail History Id: 30993033, Consumer Id: 1179659, Address Id: 475271 => Updated with Vin: JF1SG636X3H703088 ## Mail History Id: 30993079, Consumer Id: 1184422, Address Id: 15368407 => Updated with Vin: 4S3BE635217207650 ## Mail History Id: 30993083, Consumer Id: 1186534, Address Id: 15370714 => Updated with Vin: 4S3BL616987208340 ## Mail History Id: 30993189, Consumer Id: 1179868, Address Id: 15366641 => Updated with Vin: JF1SF65581H759051 ## Mail History Id: 30993149, Consumer Id: 1184839, Address Id: 15368865 => Updated with Vin: JF1SG636X6H719926 ## Mail History Id: 30992126, Consumer Id: 1186463, Address Id: 15367829 => Updated with Vin: JF1GG61687H818643 ## Mail History Id: 30993017, Consumer Id: 1185991, Address Id: 15369969 => Updated with Vin: 4S3BP626766317997 ## Mail History Id: 30993139, Consumer Id: 1180266, Address Id: 15367042 => Updated with Vin: 4S3BH665X16671679 ## Mail History Id: 30993139, Consumer Id: 1180266, Address Id: 15367042 => Updated with Vin: 4S3BH665X16671679 ## Mail History Id: 30993533, Consumer Id: 1185586, Address Id: 15369602 => Updated with Vin: JF1SG63644G709721 ## Mail History Id: 30992733, Consumer Id: 290790, Address Id: 4446816 => Updated with Vin: 4S3BE896427209462 ## Mail History Id: 30992255, Consumer Id: 1180615, Address Id: 15367376 => Updated with Vin: JF1SG63653H717030 ## Mail History Id: 30992255, Consumer Id: 1180615, Address Id: 15367376 => Updated with Vin: JF1SG63653H717030 ## Mail History Id: 30992185, Consumer Id: 1179519, Address Id: 15366393 => Updated with Vin: 4S3BH635217306217 ## Mail History Id: 30992185, Consumer Id: 1179519, Address Id: 15366393 => Updated with Vin: 4S3BH635217306217 ## Mail History Id: 30993285, Consumer Id: 1184493, Address Id: 15368651 => Updated with Vin: 4S4BP61C857332150 ## Mail History Id: 30993807, Consumer Id: 1180148, Address Id: 15366923 => Updated with Vin: 4S3BG6850W7616711 ## Mail History Id: 30993773, Consumer Id: 1183580, Address Id: 15367578 => Updated with Vin: JF1SF6550XH731656 ## Mail History Id: 30993717, Consumer Id: 743066, Address Id: 9722065 => Updated with Vin: 4S3BH675227652019 ## Mail History Id: 30992789, Consumer Id: 1186020, Address Id: 15370153 => Updated with Vin: 4S4BP62C367353262 ## Mail History Id: 30992739, Consumer Id: 1184995, Address Id: 15367915 => Updated with Vin: 4S3BH806647623821 ## Mail History Id: 30992757, Consumer Id: 1187148, Address Id: 15371455 => Updated with Vin: JF1SG63675H732647 ## Mail History Id: 30992755, Consumer Id: 1186025, Address Id: 9732828 => Updated with Vin: 4S3BE686727202513 ## Total mail_history records updated with vin numbers: 227 out of 238 ============================================================ ====== Tracking Id: 1825 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-29 10:19:38') AND us2_order_type_id = 3 ## Order found: 2105 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2105 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3470 ## Mailing found: '13287' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916236, Consumer Id: 579227, Address Id: 5396857 => Updated with Vin: 3C8FY68B72T315085 ## Mail History Id: 30916200, Consumer Id: 573992, Address Id: 1544489 => Updated with Vin: 1D4GP24R24B551641 ## Mail History Id: 30916280, Consumer Id: 573676, Address Id: 7025625 => Updated with Vin: 1FACP52U0LA162138 ## Mail History Id: 30916280, Consumer Id: 574887, Address Id: 7025625 => Updated with Vin: 3B7HF12Z1WG170861 ## Mail History Id: 30916184, Consumer Id: 568774, Address Id: 10713928 => Updated with Vin: 1J4HR48N06C126764 ## Mail History Id: 30916218, Consumer Id: 568574, Address Id: 10713844 => Updated with Vin: 2A8GP54L47R193418 ## Mail History Id: 30916240, Consumer Id: 581121, Address Id: 10740720 => Updated with Vin: 2C3JA43R95H506341 ## Mail History Id: 30916256, Consumer Id: 581819, Address Id: 1550515 => Updated with Vin: 2C8GP64L82R697829 ## Mail History Id: 30916242, Consumer Id: 572680, Address Id: 10718147 => Updated with Vin: 1C3LC65M78N635030 ## Mail History Id: 30916160, Consumer Id: 571933, Address Id: 734908 => Updated with Vin: 1J4GA591X8L527827 ## Mail History Id: 30916246, Consumer Id: 582632, Address Id: 1352243 => Updated with Vin: 1B3HB28B27D545247 ## Mail History Id: 30916208, Consumer Id: 572668, Address Id: 5613845 => Updated with Vin: 1D8HD58297F500578 ## Mail History Id: 30916260, Consumer Id: 573230, Address Id: 10686345 => Updated with Vin: 2A8GM68X37R328657 ## Mail History Id: 30916266, Consumer Id: 573256, Address Id: 10719527 => Updated with Vin: 1A8HX58298F112069 ## Mail History Id: 30916248, Consumer Id: 573238, Address Id: 7196667 => Updated with Vin: JT8BF28G1Y5099526 ## Mail History Id: 30916238, Consumer Id: 552693, Address Id: 10602622 => Updated with Vin: 3A8FY48B68T125401 ## Mail History Id: 30916178, Consumer Id: 626799, Address Id: 2030689 => Updated with Vin: 1B3HB28C58D609663 ## Mail History Id: 30916170, Consumer Id: 1624674, Address Id: 16106798 => Updated with Vin: 1J4GK48K87W516260 ## Mail History Id: 30916244, Consumer Id: 982018, Address Id: 14929174 => Updated with Vin: 1D7HE32K58S612818 ## Total mail_history records updated with vin numbers: 19 out of 37 ============================================================ ====== Tracking Id: 1826 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-29 10:20:00') AND us2_order_type_id = 3 ## Order found: 2108 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2108 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3416 ## Mailing found: '13284' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30915943, Consumer Id: 625588, Address Id: 11766028 => Updated with Vin: 5GTDN13E778247830 ## Mail History Id: 30916590, Consumer Id: 1006616, Address Id: 14929291 => Updated with Vin: 1C3EL56R55N683750 ## Mail History Id: 30916604, Consumer Id: 1006618, Address Id: 14929292 => Updated with Vin: 1MEFM55S93A632059 ## Mail History Id: 30916594, Consumer Id: 1006620, Address Id: 14929293 => Updated with Vin: 1NXBR32E23Z153075 ## Mail History Id: 30916600, Consumer Id: 982109, Address Id: 14929289 => Updated with Vin: 1G6KD54YX5U149657 ## Mail History Id: 30915983, Consumer Id: 691507, Address Id: 1970312 => Updated with Vin: 1G6KD54YX3U237766 ## Mail History Id: 30916652, Consumer Id: 630277, Address Id: 11770708 => Updated with Vin: 1G6KD57Y37U155623 ## Mail History Id: 30915965, Consumer Id: 626000, Address Id: 11765953 => Updated with Vin: 5GTEN43E388182921 ## Mail History Id: 30916704, Consumer Id: 682241, Address Id: 11766112 => Updated with Vin: 1G6KY54931U156554 ## Mail History Id: 30916668, Consumer Id: 628694, Address Id: 11766264 => Updated with Vin: 1G6KE54Y83U109605 ## Mail History Id: 30916582, Consumer Id: 685320, Address Id: 1961033 => Updated with Vin: 1G6KD57Y42U183388 ## Mail History Id: 30916662, Consumer Id: 688641, Address Id: 1969944 => Updated with Vin: 1G6KD54Y72U233317 ## Mail History Id: 30916568, Consumer Id: 688416, Address Id: 10933298 => Updated with Vin: 1G6KD52YXTU231307 ## Mail History Id: 30915985, Consumer Id: 628698, Address Id: 11766267 => Updated with Vin: 1G6KS54Y63U119803 ## Mail History Id: 30916642, Consumer Id: 689292, Address Id: 11797180 => Updated with Vin: 1G6DC67AX50192452 ## Mail History Id: 30916620, Consumer Id: 691089, Address Id: 11797831 => Updated with Vin: 1G6KD57976U128352 ## Mail History Id: 30916630, Consumer Id: 692010, Address Id: 11798175 => Updated with Vin: 1GKFK66U34J278221 ## Total mail_history records updated with vin numbers: 17 out of 22 ============================================================ ====== Tracking Id: 1827 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-29 10:20:37') AND us2_order_type_id = 3 ## Order found: 2109 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2109 AND product_id = 2147 ## Job Group Found: '556' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('556') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208002') AND customer_id = 3418 ## Mailing found: '13301' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916794, Consumer Id: 610995, Address Id: 11755638 => Updated with Vin: 1GYFK63848R215181 ## Mail History Id: 30916796, Consumer Id: 666976, Address Id: 10326242 => Updated with Vin: 1G6KY54912U292781 ## Mail History Id: 30916798, Consumer Id: 610732, Address Id: 11755412 => Updated with Vin: 1G6KD57Y18U119043 ## Mail History Id: 30916800, Consumer Id: 681252, Address Id: 11794726 => Updated with Vin: 1J4GW58S51C590688 ## Mail History Id: 30916802, Consumer Id: 681203, Address Id: 11794693 => Updated with Vin: 1G6DP577660105666 ## Mail History Id: 30916806, Consumer Id: 610905, Address Id: 11755565 => Updated with Vin: 1G6DW677550183363 ## Mail History Id: 30916808, Consumer Id: 681251, Address Id: 11794725 => Updated with Vin: 1J8FT28017D410920 ## Mail History Id: 30916812, Consumer Id: 610987, Address Id: 11755631 => Updated with Vin: 1G6DS57V580175238 ## Mail History Id: 30916814, Consumer Id: 610983, Address Id: 11755628 => Updated with Vin: 1FTPW14515FA75271 ## Mail History Id: 30916816, Consumer Id: 610989, Address Id: 11755633 => Updated with Vin: 1G6DS57V980176621 ## Mail History Id: 30916818, Consumer Id: 611051, Address Id: 11755685 => Updated with Vin: WMWRC33546TK68111 ## Mail History Id: 30916820, Consumer Id: 611060, Address Id: 11755692 => Updated with Vin: 1MEFM55S15A632916 ## Mail History Id: 30916822, Consumer Id: 610963, Address Id: 11755610 => Updated with Vin: 1GYFK638X8R198550 ## Mail History Id: 30916824, Consumer Id: 611026, Address Id: 10326733 => Updated with Vin: 1GYFK63848R165527 ## Mail History Id: 30916826, Consumer Id: 610873, Address Id: 11755536 => Updated with Vin: 1GYFK63818R194094 ## Mail History Id: 30916828, Consumer Id: 610977, Address Id: 11755623 => Updated with Vin: 1G6DH577480174923 ## Mail History Id: 30916830, Consumer Id: 680886, Address Id: 6923286 => Updated with Vin: 1GYEE63AX50159432 ## Mail History Id: 30916832, Consumer Id: 669891, Address Id: 11755354 => Updated with Vin: 1G6DM577840177703 ## Mail History Id: 30916834, Consumer Id: 665189, Address Id: 11784286 => Updated with Vin: 1G6KS52Y0VU841158 ## Mail History Id: 30916836, Consumer Id: 678803, Address Id: 11755057 => Updated with Vin: 1GYFK63887R323043 ## Mail History Id: 30916838, Consumer Id: 673343, Address Id: 11789887 => Updated with Vin: 1G6DM56T850236989 ## Mail History Id: 30916840, Consumer Id: 673397, Address Id: 11789921 => Updated with Vin: 1G6DM56T950235494 ## Mail History Id: 30916842, Consumer Id: 610967, Address Id: 11418015 => Updated with Vin: 1GYEE637780133752 ## Mail History Id: 30916844, Consumer Id: 676200, Address Id: 11417950 => Updated with Vin: 1G6DW677560190413 ## Mail History Id: 30916846, Consumer Id: 676389, Address Id: 11791851 => Updated with Vin: JTHBA30G055091350 ## Mail History Id: 30916848, Consumer Id: 675477, Address Id: 10326918 => Updated with Vin: 1G6DP577760178724 ## Mail History Id: 30916850, Consumer Id: 676112, Address Id: 11417807 => Updated with Vin: 1G6KS54Y23U156508 ## Mail History Id: 30916852, Consumer Id: 676986, Address Id: 11792182 => Updated with Vin: 1GYFK63837R191454 ## Mail History Id: 30916854, Consumer Id: 677418, Address Id: 11418042 => Updated with Vin: 1G6DM57T760212327 ## Mail History Id: 30916856, Consumer Id: 677694, Address Id: 11792580 => Updated with Vin: 1G6DP577860211679 ## Mail History Id: 30916858, Consumer Id: 678739, Address Id: 11418196 => Updated with Vin: 1G6DM57T070149718 ## Mail History Id: 30916860, Consumer Id: 677911, Address Id: 11792709 => Updated with Vin: 1G6DW677470126218 ## Mail History Id: 30916862, Consumer Id: 678751, Address Id: 11793202 => Updated with Vin: 1G6DW677670134644 ## Mail History Id: 30916864, Consumer Id: 674368, Address Id: 6608473 => Updated with Vin: 1G6DW677660135033 ## Mail History Id: 30916866, Consumer Id: 680351, Address Id: 11786258 => Updated with Vin: 1G6DM57T570196887 ## Mail History Id: 30916868, Consumer Id: 680386, Address Id: 11794193 => Updated with Vin: 1G6DP577670180711 ## Mail History Id: 30916870, Consumer Id: 671023, Address Id: 11788398 => Updated with Vin: 1G6DP567650120278 ## Mail History Id: 30916872, Consumer Id: 677909, Address Id: 11784862 => Updated with Vin: 1G6DW677570129340 ## Mail History Id: 30916874, Consumer Id: 667475, Address Id: 11785946 => Updated with Vin: 1G6KY5498YU245871 ## Mail History Id: 30916876, Consumer Id: 610168, Address Id: 11754924 => Updated with Vin: 1G6DM577880110752 ## Mail History Id: 30916878, Consumer Id: 675907, Address Id: 6773364 => Updated with Vin: 1G6DW677760180496 ## Mail History Id: 30916880, Consumer Id: 610350, Address Id: 11755082 => Updated with Vin: 1G4HD57266U145116 ## Total mail_history records updated with vin numbers: 42 out of 47 ============================================================ ====== Tracking Id: 1828 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-29 10:20:50') AND us2_order_type_id = 3 ## Order found: 2109 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2109 AND product_id = 2150 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3418 ## Mailing found: '13285' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916388, Consumer Id: 681050, Address Id: 11792733 => Updated with Vin: 3GNEK12Z06G102119 ## Mail History Id: 30916452, Consumer Id: 681056, Address Id: 11794606 => Updated with Vin: 1GYEE437180131838 ## Mail History Id: 30916412, Consumer Id: 681043, Address Id: 11794601 => Updated with Vin: 1GYEE637570167770 ## Mail History Id: 30916444, Consumer Id: 681055, Address Id: 11794605 => Updated with Vin: 1FAFP36N05W156432 ## Mail History Id: 30916350, Consumer Id: 681030, Address Id: 11794592 => Updated with Vin: 1GKFK66UX5J175895 ## Mail History Id: 30916404, Consumer Id: 610735, Address Id: 11755415 => Updated with Vin: JF1SG63667H724168 ## Mail History Id: 30916344, Consumer Id: 663920, Address Id: 10323658 => Updated with Vin: 1G6DM57N330170591 ## Mail History Id: 30916402, Consumer Id: 667316, Address Id: 10326594 => Updated with Vin: 1G6KS54Y54U131331 ## Mail History Id: 30916386, Consumer Id: 610479, Address Id: 11755199 => Updated with Vin: 1G6DS57V380150953 ## Mail History Id: 30916548, Consumer Id: 674406, Address Id: 11372821 => Updated with Vin: 1G6KD54Y25U113087 ## Mail History Id: 30916458, Consumer Id: 678429, Address Id: 11791887 => Updated with Vin: 1G2NF52F22C147090 ## Mail History Id: 30916532, Consumer Id: 675288, Address Id: 11791210 => Updated with Vin: 1G6DW677960157401 ## Mail History Id: 30916500, Consumer Id: 610621, Address Id: 11755322 => Updated with Vin: 1G6DG577080151772 ## Mail History Id: 30916450, Consumer Id: 678683, Address Id: 6914645 => Updated with Vin: 1GYFK63817R251375 ## Mail History Id: 30916454, Consumer Id: 680750, Address Id: 11794426 => Updated with Vin: 1G6KD54Y75U202024 ## Mail History Id: 30916472, Consumer Id: 669804, Address Id: 11787598 => Updated with Vin: 1GYEE637940184468 ## Mail History Id: 30916396, Consumer Id: 676882, Address Id: 11417832 => Updated with Vin: 1G6KD57Y76U244142 ## Mail History Id: 30916370, Consumer Id: 676664, Address Id: 11786242 => Updated with Vin: 1GYFK63817R130829 ## Mail History Id: 30916496, Consumer Id: 677981, Address Id: 11792757 => Updated with Vin: 1G6DW677X70125901 ## Mail History Id: 30916520, Consumer Id: 674244, Address Id: 11790498 => Updated with Vin: 1G6DM577240101765 ## Total mail_history records updated with vin numbers: 20 out of 21 ============================================================ ====== Tracking Id: 1829 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-29 10:21:02') AND us2_order_type_id = 3 ## Order found: 2109 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2109 AND product_id = 2153 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3418 ## Mailing found: '13322' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955715, Consumer Id: 663480, Address Id: 11782965 => Updated with Vin: 1G6KD54Y93U256194 ## Mail History Id: 30955725, Consumer Id: 671710, Address Id: 11788839 => Updated with Vin: 1G6KD54Y25U162970 ## Mail History Id: 30955705, Consumer Id: 679509, Address Id: 11793651 => Updated with Vin: 1GYFK63897R375863 ## Mail History Id: 30955721, Consumer Id: 680463, Address Id: 11794249 => Updated with Vin: 1FAFP53U23G219500 ## Mail History Id: 30955711, Consumer Id: 610086, Address Id: 11754852 => Updated with Vin: 1G6DM577780111584 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 1830 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-29 10:21:14') AND us2_order_type_id = 3 ## Order found: 2109 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2109 AND product_id = 2152 ## Job Group Found: '560' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('560') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208006') AND customer_id = 3418 ## Mailing found: '13316' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30917089, Consumer Id: 610309, Address Id: 11755045 => Updated with Vin: 1G6KD54Y23U261219 ## Mail History Id: 30917091, Consumer Id: 610361, Address Id: 11755093 => Updated with Vin: 1GYFK63807R422214 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1831 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-29 10:23:06') AND us2_order_type_id = 3 ## Order found: 2110 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2110 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3795 ## Mailing found: '13407' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992926, Consumer Id: 1068729, Address Id: 14961385 => Updated with Vin: 2HJYK16296H561356 ## Mail History Id: 30992598, Consumer Id: 1053663, Address Id: 531994 => Updated with Vin: 1HGCG16592A032607 ## Mail History Id: 30992654, Consumer Id: 1056042, Address Id: 3952008 => Updated with Vin: 1HGCM56334A039215 ## Mail History Id: 30992490, Consumer Id: 1053564, Address Id: 6589606 => Updated with Vin: 2HKYF18654H616365 ## Mail History Id: 30992894, Consumer Id: 1056398, Address Id: 3105449 => Updated with Vin: 2HKRL1869YH579050 ## Mail History Id: 30992672, Consumer Id: 1059702, Address Id: 4468384 => Updated with Vin: JHLRE38798C015170 ## Mail History Id: 30992470, Consumer Id: 1060658, Address Id: 6579557 => Updated with Vin: 1HGCS22878A013924 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 1832 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-29 10:23:17') AND us2_order_type_id = 3 ## Order found: 2110 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2110 AND product_id = 114 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3795 ## Mailing found: '13384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30999019, Consumer Id: 1068549, Address Id: 5334363 => Updated with Vin: JHMCM56373C004032 ## Mail History Id: 30999033, Consumer Id: 1056974, Address Id: 193927 => Updated with Vin: SHSRD788X6U430569 ## Mail History Id: 30998336, Consumer Id: 1059604, Address Id: 3103241 => Updated with Vin: 2HGES16364H578467 ## Mail History Id: 30998927, Consumer Id: 1059885, Address Id: 7260992 => Updated with Vin: 4T1BE32K62U042707 ## Mail History Id: 30998825, Consumer Id: 1059850, Address Id: 14957325 => Updated with Vin: 4T3ZF13C71U380078 ## Total mail_history records updated with vin numbers: 5 out of 9 ============================================================ ====== Tracking Id: 1833 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-29 10:23:29') AND us2_order_type_id = 3 ## Order found: 2110 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2110 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3795 ## Mailing found: '13384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998907, Consumer Id: 1068783, Address Id: 6076517 => Updated with Vin: 2HKRL18611H006598 ## Mail History Id: 30999031, Consumer Id: 1053181, Address Id: 193883 => Updated with Vin: 1HGCG56722A113764 ## Mail History Id: 30998835, Consumer Id: 1058161, Address Id: 5811713 => Updated with Vin: 5FNRL38477B417893 ## Mail History Id: 30998867, Consumer Id: 1060298, Address Id: 6608755 => Updated with Vin: 5J6YH18927L009581 ## Mail History Id: 30999043, Consumer Id: 1058223, Address Id: 3100317 => Updated with Vin: 2HGFG12847H525018 ## Mail History Id: 30998881, Consumer Id: 1058762, Address Id: 6075934 => Updated with Vin: 3C3JY45X76T309023 ## Mail History Id: 30998959, Consumer Id: 1058635, Address Id: 12841918 => Updated with Vin: 1HGCM72707A012353 ## Mail History Id: 30999035, Consumer Id: 1059053, Address Id: 14957123 => Updated with Vin: 2HJYK16327H549463 ## Mail History Id: 30998893, Consumer Id: 1059419, Address Id: 7684637 => Updated with Vin: 5FNRL18043B086296 ## Mail History Id: 30998929, Consumer Id: 1059114, Address Id: 3005489 => Updated with Vin: 5FNYF28167B019724 ## Mail History Id: 30998949, Consumer Id: 1059239, Address Id: 2516729 => Updated with Vin: 1HGCM56767A097441 ## Mail History Id: 30998947, Consumer Id: 1059782, Address Id: 179184 => Updated with Vin: 5FNRL38777B136946 ## Mail History Id: 30998819, Consumer Id: 1060232, Address Id: 4621139 => Updated with Vin: 1HGCS21818A004573 ## Mail History Id: 30998879, Consumer Id: 1059476, Address Id: 11650615 => Updated with Vin: 1HGCG1653WA062403 ## Total mail_history records updated with vin numbers: 14 out of 17 ============================================================ ====== Tracking Id: 1834 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-29 10:23:33') AND us2_order_type_id = 3 ## Order found: 2111 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2111 AND product_id = 142 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 1835 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-29 10:23:42') AND us2_order_type_id = 3 ## Order found: 2111 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2111 AND product_id = 140 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 1836 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-29 10:23:45') AND us2_order_type_id = 3 ## Order found: 2111 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2111 AND product_id = 112 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 1837 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-29 10:23:53') AND us2_order_type_id = 3 ## Order found: 2110 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2110 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3795 ## Mailing found: '13384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998913, Consumer Id: 1053424, Address Id: 7254106 => Updated with Vin: 1HGCM56364A119155 ## Mail History Id: 30999023, Consumer Id: 1059068, Address Id: 193026 => Updated with Vin: 5FNRL38447B451015 ## Mail History Id: 30998348, Consumer Id: 1068655, Address Id: 14957187 => Updated with Vin: 1HGCG56682A117437 ## Mail History Id: 30998871, Consumer Id: 1060009, Address Id: 4943787 => Updated with Vin: 5FNRL38688B403634 ## Mail History Id: 30999025, Consumer Id: 1060011, Address Id: 193298 => Updated with Vin: 5TDZA22C64S029951 ## Mail History Id: 30998674, Consumer Id: 1060001, Address Id: 14957360 => Updated with Vin: 1HGCP26398A055074 ## Mail History Id: 30998674, Consumer Id: 1059996, Address Id: 14957360 => Updated with Vin: 5FNYF18248B006930 ## Mail History Id: 30998915, Consumer Id: 1054969, Address Id: 4950740 => Updated with Vin: JHMBB6246VC012910 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 1838 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-29 10:23:57') AND us2_order_type_id = 3 ## Order found: 2111 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2111 AND product_id = 114 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 1839 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-29 10:24:11') AND us2_order_type_id = 3 ## Order found: 2111 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2111 AND product_id = 113 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 1840 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-29 10:26:00') AND us2_order_type_id = 3 ## Order found: 2112 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2112 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3815 ## Mailing found: '13295' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916042, Consumer Id: 1369883, Address Id: 15636873 => Updated with Vin: 1HGCG1651YA081163 ## Mail History Id: 30916136, Consumer Id: 1368299, Address Id: 3456080 => Updated with Vin: 1HGES26731L024102 ## Mail History Id: 30916094, Consumer Id: 1370799, Address Id: 15638408 => Updated with Vin: 1HGCG22522A017927 ## Mail History Id: 30916044, Consumer Id: 1362598, Address Id: 15635143 => Updated with Vin: 5FNYF18716B005484 ## Mail History Id: 30916142, Consumer Id: 1363225, Address Id: 15635962 => Updated with Vin: SHSRD78806U425574 ## Mail History Id: 30915940, Consumer Id: 1367390, Address Id: 15637614 => Updated with Vin: 5J6YH28767L005831 ## Mail History Id: 30916140, Consumer Id: 1364814, Address Id: 15637744 => Updated with Vin: 5FNYF28567B010153 ## Mail History Id: 30916012, Consumer Id: 1378839, Address Id: 15671569 => Updated with Vin: JHMEJ6679WS014405 ## Mail History Id: 30916120, Consumer Id: 1367385, Address Id: 15632303 => Updated with Vin: 1HGCM56757A156480 ## Mail History Id: 30916014, Consumer Id: 1371940, Address Id: 15668747 => Updated with Vin: JHMAP212X8S000940 ## Mail History Id: 30916030, Consumer Id: 1371879, Address Id: 15668715 => Updated with Vin: 5FNYF18786B011850 ## Mail History Id: 30916032, Consumer Id: 1371200, Address Id: 15639352 => Updated with Vin: 1FTEF15E9BPA93948 ## Total mail_history records updated with vin numbers: 12 out of 21 ============================================================ ====== Tracking Id: 1841 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-29 10:26:17') AND us2_order_type_id = 3 ## Order found: 2112 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2112 AND product_id = 2150 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3815 ## Mailing found: '13295' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30915936, Consumer Id: 1368041, Address Id: 15634675 => Updated with Vin: JHLRD1865XC005085 ## Mail History Id: 30916010, Consumer Id: 1368876, Address Id: 3451531 => Updated with Vin: 4S6CM58VXV4412072 ## Mail History Id: 30916062, Consumer Id: 1378352, Address Id: 15671328 => Updated with Vin: 5FNRL38676B403685 ## Mail History Id: 30916072, Consumer Id: 1364327, Address Id: 15632350 => Updated with Vin: 5FNRL38746B124185 ## Mail History Id: 30916102, Consumer Id: 1360853, Address Id: 15633217 => Updated with Vin: 1HGCM72615A000636 ## Mail History Id: 30915942, Consumer Id: 1361842, Address Id: 8131972 => Updated with Vin: 2HJYK16466H513640 ## Mail History Id: 30916074, Consumer Id: 1378974, Address Id: 9402137 => Updated with Vin: 1HGEJ8243XL029620 ## Mail History Id: 30916050, Consumer Id: 1366262, Address Id: 15634959 => Updated with Vin: 1HGCM56727A081219 ## Mail History Id: 30916154, Consumer Id: 1366546, Address Id: 15639341 => Updated with Vin: JHLRD78854C014160 ## Mail History Id: 30916022, Consumer Id: 1367087, Address Id: 15639424 => Updated with Vin: 2HKYF18535H554084 ## Mail History Id: 30916152, Consumer Id: 1367163, Address Id: 15639918 => Updated with Vin: 1HGCM82694A016734 ## Total mail_history records updated with vin numbers: 11 out of 11 ============================================================ ====== Tracking Id: 1842 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-29 10:26:29') AND us2_order_type_id = 3 ## Order found: 2112 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2112 AND product_id = 2147 ## Job Group Found: '556' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('556') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208002') AND customer_id = 3815 ## Mailing found: '13303' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916882, Consumer Id: 1379587, Address Id: 15639245 => Updated with Vin: JHLRE48307C027676 ## Mail History Id: 30916884, Consumer Id: 1362014, Address Id: 15634271 => Updated with Vin: JHMES16595S005460 ## Mail History Id: 30916886, Consumer Id: 1367499, Address Id: 15636612 => Updated with Vin: 1HGCP367X8A034727 ## Mail History Id: 30916888, Consumer Id: 1368265, Address Id: 15634837 => Updated with Vin: 1HGCG2251XA001239 ## Mail History Id: 30916890, Consumer Id: 1377681, Address Id: 15670979 => Updated with Vin: JH4KA9653XC010252 ## Mail History Id: 30916892, Consumer Id: 1372716, Address Id: 15669203 => Updated with Vin: 5FNRL18614B135010 ## Mail History Id: 30916894, Consumer Id: 1377583, Address Id: 15670918 => Updated with Vin: 5FNRL38625B053431 ## Mail History Id: 30916896, Consumer Id: 1364552, Address Id: 9094336 => Updated with Vin: 1HGCM66316A067958 ## Mail History Id: 30916898, Consumer Id: 1368803, Address Id: 15635475 => Updated with Vin: 1HGCM56623A026741 ## Mail History Id: 30916900, Consumer Id: 1364832, Address Id: 15637756 => Updated with Vin: 1HGCM56897A073143 ## Mail History Id: 30916902, Consumer Id: 1366064, Address Id: 15639052 => Updated with Vin: 5TDZA23C15S333754 ## Mail History Id: 30916904, Consumer Id: 1379592, Address Id: 15671974 => Updated with Vin: JHMES96615S024253 ## Mail History Id: 30916906, Consumer Id: 1379525, Address Id: 15671937 => Updated with Vin: 1HGCD5636VA077300 ## Mail History Id: 30916908, Consumer Id: 1379589, Address Id: 15671972 => Updated with Vin: JHLRD186XXC011545 ## Mail History Id: 30916910, Consumer Id: 1367524, Address Id: 15640125 => Updated with Vin: 5FNYF28528B018025 ## Mail History Id: 30916912, Consumer Id: 1367526, Address Id: 15640127 => Updated with Vin: 5J6RE48708L007598 ## Total mail_history records updated with vin numbers: 16 out of 17 ============================================================ ====== Tracking Id: 1843 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-29 10:26:42') AND us2_order_type_id = 3 ## Order found: 2112 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2112 AND product_id = 2153 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3815 ## Mailing found: '13333' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956458, Consumer Id: 1366494, Address Id: 15633292 => Updated with Vin: 1HGCM56827A215526 ## Mail History Id: 30956480, Consumer Id: 1361331, Address Id: 7936327 => Updated with Vin: 1HGES267X5L004323 ## Mail History Id: 30956470, Consumer Id: 1378907, Address Id: 15671588 => Updated with Vin: 1HGCG5542YA114106 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 1844 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-29 10:26:54') AND us2_order_type_id = 3 ## Order found: 2112 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2112 AND product_id = 2152 ## Job Group Found: '560' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('560') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208006') AND customer_id = 3815 ## Mailing found: '13318' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1845 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-29 11:16:36') AND us2_order_type_id = 3 ## Order found: 2113 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2113 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3486 ## Mailing found: '13327' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955417, Consumer Id: 463345, Address Id: 1037029 => Updated with Vin: 3GNEK13T33G291158 ## Mail History Id: 30955399, Consumer Id: 481309, Address Id: 3854089 => Updated with Vin: 2GCEC19T231134212 ## Mail History Id: 30955433, Consumer Id: 490016, Address Id: 9826363 => Updated with Vin: 1G1NE52J62M721874 ## Mail History Id: 30955563, Consumer Id: 478481, Address Id: 1570636 => Updated with Vin: 1GCCS1441W8142412 ## Mail History Id: 30955489, Consumer Id: 484866, Address Id: 2008704 => Updated with Vin: 2G1WL52M6T9204075 ## Mail History Id: 30955573, Consumer Id: 490026, Address Id: 9826369 => Updated with Vin: 1G1ZS58F57F111957 ## Mail History Id: 30955567, Consumer Id: 489994, Address Id: 9826356 => Updated with Vin: 2G1WF52E559389030 ## Mail History Id: 30955409, Consumer Id: 490023, Address Id: 6435167 => Updated with Vin: 1GNDU03E83D304310 ## Mail History Id: 30955619, Consumer Id: 490061, Address Id: 9826379 => Updated with Vin: 1GNES13H072228447 ## Mail History Id: 30955609, Consumer Id: 470781, Address Id: 9823275 => Updated with Vin: 1GNES13H282185134 ## Total mail_history records updated with vin numbers: 10 out of 18 ============================================================ ====== Tracking Id: 1846 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-29 11:16:48') AND us2_order_type_id = 3 ## Order found: 2113 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2113 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3486 ## Mailing found: '13327' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955499, Consumer Id: 462335, Address Id: 4377305 => Updated with Vin: 1GNDS13S632266203 ## Mail History Id: 30955381, Consumer Id: 477765, Address Id: 2520552 => Updated with Vin: 1Y1SK5267SZ045190 ## Mail History Id: 30955565, Consumer Id: 464249, Address Id: 2014221 => Updated with Vin: 1G1ND52J33M640741 ## Mail History Id: 30955535, Consumer Id: 477826, Address Id: 4378410 => Updated with Vin: 1GNEC13Z42J201790 ## Mail History Id: 30955447, Consumer Id: 467455, Address Id: 9821579 => Updated with Vin: 1GCHK23D96F152663 ## Mail History Id: 30955439, Consumer Id: 478940, Address Id: 8115303 => Updated with Vin: 2G1WH55K519100525 ## Mail History Id: 30955561, Consumer Id: 467823, Address Id: 9821749 => Updated with Vin: 3GNFK16Z45G284744 ## Mail History Id: 30955581, Consumer Id: 481878, Address Id: 9825029 => Updated with Vin: 2G1WT58K879126331 ## Mail History Id: 30955617, Consumer Id: 469436, Address Id: 9822526 => Updated with Vin: 1GNFC13C07J255305 ## Mail History Id: 30955505, Consumer Id: 485322, Address Id: 9825450 => Updated with Vin: 2G1WZ121459164160 ## Mail History Id: 30955591, Consumer Id: 470217, Address Id: 9822960 => Updated with Vin: KL1TD66637B738543 ## Mail History Id: 30955621, Consumer Id: 471242, Address Id: 9823525 => Updated with Vin: 1GTEK19Z75Z123840 ## Mail History Id: 30955423, Consumer Id: 471223, Address Id: 9823515 => Updated with Vin: 3GNEC12J07G209504 ## Mail History Id: 30955437, Consumer Id: 490493, Address Id: 9826562 => Updated with Vin: 1GCHK23265F900041 ## Mail History Id: 30955473, Consumer Id: 490518, Address Id: 5284075 => Updated with Vin: 1GCHK23697F526403 ## Total mail_history records updated with vin numbers: 15 out of 25 ============================================================ ====== Tracking Id: 1847 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-29 11:17:00') AND us2_order_type_id = 3 ## Order found: 2113 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2113 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3486 ## Mailing found: '13327' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955487, Consumer Id: 476841, Address Id: 1038981 => Updated with Vin: 1GNEC13T31J252305 ## Mail History Id: 30955511, Consumer Id: 490410, Address Id: 9826533 => Updated with Vin: 1GNEK13T5YJ142403 ## Mail History Id: 30955527, Consumer Id: 481577, Address Id: 9824932 => Updated with Vin: 1G1ND52F24M571943 ## Mail History Id: 30955541, Consumer Id: 469508, Address Id: 8118466 => Updated with Vin: 1GCCS196458228791 ## Mail History Id: 30955587, Consumer Id: 485488, Address Id: 9825523 => Updated with Vin: 1GCCS136368216898 ## Mail History Id: 30955615, Consumer Id: 485307, Address Id: 9825441 => Updated with Vin: 1D7HA18D84S778205 ## Mail History Id: 30955455, Consumer Id: 470510, Address Id: 9823129 => Updated with Vin: 3GNEC12087G317571 ## Mail History Id: 30955427, Consumer Id: 489799, Address Id: 9826267 => Updated with Vin: 1GCDS136068148242 ## Mail History Id: 30955401, Consumer Id: 471123, Address Id: 9823457 => Updated with Vin: KL1TD56618B084069 ## Mail History Id: 30955395, Consumer Id: 470900, Address Id: 9823347 => Updated with Vin: 1GNFC13018R213590 ## Mail History Id: 30955475, Consumer Id: 471085, Address Id: 1038604 => Updated with Vin: 1G1AK58F787151143 ## Mail History Id: 30955585, Consumer Id: 490411, Address Id: 3855879 => Updated with Vin: 1GNEC13Z24J155346 ## Mail History Id: 30955539, Consumer Id: 471087, Address Id: 8811899 => Updated with Vin: 1G1YY24U055107363 ## Mail History Id: 30955377, Consumer Id: 490472, Address Id: 9826554 => Updated with Vin: 3GNDA23D97S591111 ## Mail History Id: 30955569, Consumer Id: 490394, Address Id: 9826530 => Updated with Vin: 1GCGG25V451120881 ## Mail History Id: 30955491, Consumer Id: 471099, Address Id: 7969695 => Updated with Vin: 3GNDA13DX8S630154 ## Mail History Id: 30955475, Consumer Id: 465254, Address Id: 1038604 => Updated with Vin: 1G1ZS52F65F135660 ## Mail History Id: 30955583, Consumer Id: 471100, Address Id: 9823444 => Updated with Vin: 1G1ZS52F65F135660 ## Total mail_history records updated with vin numbers: 18 out of 29 ============================================================ ====== Tracking Id: 1848 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-29 11:18:02') AND us2_order_type_id = 3 ## Order found: 2108 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2108 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3416 ## Mailing found: '13321' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955729, Consumer Id: 625204, Address Id: 11765855 => Updated with Vin: 1G6DP577X70138932 ## Mail History Id: 30955741, Consumer Id: 684432, Address Id: 3750596 => Updated with Vin: 1G6KD54YX1U221807 ## Mail History Id: 30955735, Consumer Id: 687616, Address Id: 10934255 => Updated with Vin: 1G6KS52Y9VU844463 ## Mail History Id: 30955753, Consumer Id: 625983, Address Id: 11766220 => Updated with Vin: 5GTEN13E488184563 ## Mail History Id: 30955817, Consumer Id: 625972, Address Id: 4791301 => Updated with Vin: 1G6DT57V180172415 ## Mail History Id: 30955751, Consumer Id: 625386, Address Id: 11765937 => Updated with Vin: 1G6DP577270144286 ## Mail History Id: 30955791, Consumer Id: 692995, Address Id: 1968290 => Updated with Vin: 1G4HR57Y37U104644 ## Mail History Id: 30955801, Consumer Id: 689992, Address Id: 11797469 => Updated with Vin: 1G6DW677460129232 ## Mail History Id: 30955835, Consumer Id: 626001, Address Id: 4798289 => Updated with Vin: 2G4WB52K921103422 ## Mail History Id: 30955803, Consumer Id: 686347, Address Id: 11796235 => Updated with Vin: 137FA90382E197286 ## Mail History Id: 30955713, Consumer Id: 674570, Address Id: 1958455 => Updated with Vin: 1GYEE637350107564 ## Mail History Id: 30955765, Consumer Id: 687668, Address Id: 1964734 => Updated with Vin: 2G1WH55K439122180 ## Mail History Id: 30955727, Consumer Id: 689754, Address Id: 7437252 => Updated with Vin: 1G6DC67A460111995 ## Mail History Id: 30955749, Consumer Id: 682730, Address Id: 1960883 => Updated with Vin: 1GYEK13R9YR108733 ## Mail History Id: 30955797, Consumer Id: 691735, Address Id: 11798089 => Updated with Vin: 5GRGN23U05H113142 ## Total mail_history records updated with vin numbers: 15 out of 16 ============================================================ ====== Tracking Id: 1849 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-29 11:18:09') AND us2_order_type_id = 3 ## Order found: 2114 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2114 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3491 ## Mailing found: '13289' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916135, Consumer Id: 837437, Address Id: 11894144 => Updated with Vin: 2CNDL13F956014598 ## Mail History Id: 30916207, Consumer Id: 811717, Address Id: 11886808 => Updated with Vin: 1GNFK13077R276842 ## Mail History Id: 30916103, Consumer Id: 813176, Address Id: 1302673 => Updated with Vin: 1GCEK14VX7Z153227 ## Mail History Id: 30916091, Consumer Id: 814394, Address Id: 11888988 => Updated with Vin: 1G4HP57226U149512 ## Mail History Id: 30916205, Consumer Id: 815035, Address Id: 11889676 => Updated with Vin: 2GCEC19T931272250 ## Mail History Id: 30916219, Consumer Id: 815485, Address Id: 11890273 => Updated with Vin: 1GNFC13098R118694 ## Mail History Id: 30916193, Consumer Id: 982334, Address Id: 14929598 => Updated with Vin: 1GNFK13047J108140 ## Mail History Id: 30916215, Consumer Id: 1006890, Address Id: 11892036 => Updated with Vin: 1GNDV23198D150056 ## Mail History Id: 30916161, Consumer Id: 1026843, Address Id: 14940783 => Updated with Vin: KL1TD56678B068815 ## Mail History Id: 30916133, Consumer Id: 829481, Address Id: 11885551 => Updated with Vin: 2G1WF55E2Y9314866 ## Mail History Id: 30916111, Consumer Id: 825354, Address Id: 11880612 => Updated with Vin: 2G1WF52K639348120 ## Mail History Id: 30916119, Consumer Id: 812720, Address Id: 11880437 => Updated with Vin: 1GCEC14037Z524620 ## Mail History Id: 30916089, Consumer Id: 982341, Address Id: 1298375 => Updated with Vin: 3GNDA23D28S588813 ## Mail History Id: 30916145, Consumer Id: 834473, Address Id: 11874818 => Updated with Vin: 1GCEC14X15Z272036 ## Mail History Id: 30916073, Consumer Id: 833914, Address Id: 1295224 => Updated with Vin: 1GCEC14X45Z220268 ## Mail History Id: 30916097, Consumer Id: 1006889, Address Id: 11884801 => Updated with Vin: 1GNDV23187D148975 ## Total mail_history records updated with vin numbers: 16 out of 31 ============================================================ ====== Tracking Id: 1850 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-29 11:18:14') AND us2_order_type_id = 3 ## Order found: 2108 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2108 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3416 ## Mailing found: '13321' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955781, Consumer Id: 625363, Address Id: 10934175 => Updated with Vin: 1GYEK63N44R310352 ## Mail History Id: 30955719, Consumer Id: 625833, Address Id: 11756087 => Updated with Vin: 1G6DW67V280122068 ## Mail History Id: 30955853, Consumer Id: 686973, Address Id: 1970433 => Updated with Vin: 1G6KD54Y5VU280866 ## Mail History Id: 30955795, Consumer Id: 688731, Address Id: 1968723 => Updated with Vin: 1G6KS54Y03U182234 ## Mail History Id: 30955851, Consumer Id: 687669, Address Id: 1970134 => Updated with Vin: 1G6KD54Y91U297230 ## Mail History Id: 30955845, Consumer Id: 693155, Address Id: 11797905 => Updated with Vin: 1GCJK39103E163816 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 1851 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-29 11:18:23') AND us2_order_type_id = 3 ## Order found: 2114 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2114 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1852 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-29 11:18:27') AND us2_order_type_id = 3 ## Order found: 2114 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2114 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3491 ## Mailing found: '13328' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956214, Consumer Id: 811685, Address Id: 11886796 => Updated with Vin: 3GCEC14X07G220061 ## Mail History Id: 30955990, Consumer Id: 812723, Address Id: 11887387 => Updated with Vin: 2GCEC13Z171144703 ## Mail History Id: 30956098, Consumer Id: 813340, Address Id: 11884161 => Updated with Vin: 3GNDA33P07S517754 ## Mail History Id: 30956046, Consumer Id: 814030, Address Id: 11888751 => Updated with Vin: 1GNFK13017R429330 ## Mail History Id: 30956050, Consumer Id: 815382, Address Id: 11890205 => Updated with Vin: 1FMFU18L53LA63757 ## Mail History Id: 30956206, Consumer Id: 840071, Address Id: 11895643 => Updated with Vin: 3G1JC1245YS124358 ## Mail History Id: 30956058, Consumer Id: 840036, Address Id: 11884209 => Updated with Vin: 1GCHK29235E202841 ## Mail History Id: 30956170, Consumer Id: 840038, Address Id: 11895622 => Updated with Vin: 1G1AL15F067652074 ## Mail History Id: 30956070, Consumer Id: 816017, Address Id: 11891211 => Updated with Vin: 1J4GL48K86W126383 ## Mail History Id: 30956068, Consumer Id: 816018, Address Id: 11875545 => Updated with Vin: KL1TD66658B114356 ## Mail History Id: 30956234, Consumer Id: 816019, Address Id: 11891212 => Updated with Vin: 1G2ZH58NX74170970 ## Mail History Id: 30956226, Consumer Id: 816020, Address Id: 11891213 => Updated with Vin: 1GNDS13S582181392 ## Mail History Id: 30956084, Consumer Id: 816027, Address Id: 11891219 => Updated with Vin: 1GKEK13Z43R208063 ## Mail History Id: 30956154, Consumer Id: 824489, Address Id: 11879487 => Updated with Vin: 1GCHK23G12F183698 ## Mail History Id: 30956048, Consumer Id: 840037, Address Id: 1303859 => Updated with Vin: 2GCEC19W6X1280063 ## Mail History Id: 30956136, Consumer Id: 808317, Address Id: 11882661 => Updated with Vin: 2GCEC13T351372405 ## Mail History Id: 30956116, Consumer Id: 832055, Address Id: 11890727 => Updated with Vin: 1GHDT13WX12205534 ## Mail History Id: 30956224, Consumer Id: 830134, Address Id: 11887102 => Updated with Vin: 1GCEC14WX2Z313105 ## Mail History Id: 30956178, Consumer Id: 833013, Address Id: 11891315 => Updated with Vin: 1GCDS136358178754 ## Total mail_history records updated with vin numbers: 19 out of 20 ============================================================ ====== Tracking Id: 1853 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-29 11:18:39') AND us2_order_type_id = 3 ## Order found: 2114 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2114 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3491 ## Mailing found: '13328' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956246, Consumer Id: 815064, Address Id: 11889694 => Updated with Vin: 1GTEK19Z67Z203665 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 1854 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-29 11:20:02') AND us2_order_type_id = 3 ## Order found: 2115 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2115 AND product_id = 144 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3705 ## Mailing found: '13291' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916339, Consumer Id: 960141, Address Id: 14831298 => Updated with Vin: 1G1ND52M7XY145967 ## Mail History Id: 30916347, Consumer Id: 964420, Address Id: 14836980 => Updated with Vin: 1GBE4C1245F521999 ## Mail History Id: 30916331, Consumer Id: 964625, Address Id: 14837124 => Updated with Vin: 1GKET66M166147254 ## Mail History Id: 30916381, Consumer Id: 960722, Address Id: 14831456 => Updated with Vin: 1GNEC16Z83R160188 ## Mail History Id: 30916399, Consumer Id: 973965, Address Id: 14838372 => Updated with Vin: 2GCEK13V261306756 ## Mail History Id: 30916241, Consumer Id: 966229, Address Id: 14838295 => Updated with Vin: 3GNEC12TX4G144206 ## Mail History Id: 30916267, Consumer Id: 966988, Address Id: 14838901 => Updated with Vin: 2GCEC13VX71156622 ## Mail History Id: 30916359, Consumer Id: 968578, Address Id: 14840082 => Updated with Vin: 5GADV33107D106641 ## Mail History Id: 30916343, Consumer Id: 969937, Address Id: 14831104 => Updated with Vin: 1GKDS13S872142839 ## Mail History Id: 30916255, Consumer Id: 972500, Address Id: 14842961 => Updated with Vin: 2CNDL13F156160025 ## Mail History Id: 30916293, Consumer Id: 972813, Address Id: 14843171 => Updated with Vin: 2GCEK13C681113611 ## Mail History Id: 30916289, Consumer Id: 973955, Address Id: 14903240 => Updated with Vin: 3GNCA13D18S696300 ## Mail History Id: 30916393, Consumer Id: 973956, Address Id: 14838922 => Updated with Vin: 1GNFC13068R185169 ## Mail History Id: 30916291, Consumer Id: 973957, Address Id: 14903241 => Updated with Vin: 1GKER13778J181568 ## Mail History Id: 30915991, Consumer Id: 973964, Address Id: 18267 => Updated with Vin: 1G4HD57298U183586 ## Mail History Id: 30916371, Consumer Id: 973959, Address Id: 14903242 => Updated with Vin: 1GKDS13S982198242 ## Mail History Id: 30916277, Consumer Id: 973960, Address Id: 14903243 => Updated with Vin: 3GNDA13D48S608473 ## Mail History Id: 30916239, Consumer Id: 973961, Address Id: 14903244 => Updated with Vin: 1GNDS13S782110761 ## Mail History Id: 30916229, Consumer Id: 973962, Address Id: 14903245 => Updated with Vin: 1GKFC16018R167154 ## Mail History Id: 30916355, Consumer Id: 961119, Address Id: 14831774 => Updated with Vin: 1G4BN52PXRR427028 ## Mail History Id: 30916363, Consumer Id: 959953, Address Id: 9161801 => Updated with Vin: 1GKDS13S532385129 ## Mail History Id: 30916335, Consumer Id: 1007241, Address Id: 14844274 => Updated with Vin: JT4RN93P1M5026914 ## Total mail_history records updated with vin numbers: 22 out of 26 ============================================================ ====== Tracking Id: 1855 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-29 11:20:17') AND us2_order_type_id = 3 ## Order found: 2115 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2115 AND product_id = 106 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1856 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-29 11:20:20') AND us2_order_type_id = 3 ## Order found: 2115 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2115 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1857 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-29 11:21:16') AND us2_order_type_id = 3 ## Order found: 2116 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2116 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3808 ## Mailing found: '13294' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916059, Consumer Id: 1172357, Address Id: 15030407 => Updated with Vin: 1GCHK23D56F142387 ## Mail History Id: 30916057, Consumer Id: 1171178, Address Id: 15029392 => Updated with Vin: 1G1ZS51826F105270 ## Mail History Id: 30916031, Consumer Id: 1172410, Address Id: 15030451 => Updated with Vin: 1GCHK34J2VF049013 ## Mail History Id: 30916041, Consumer Id: 1172359, Address Id: 15030409 => Updated with Vin: 1GCGC13U42F142278 ## Mail History Id: 30916001, Consumer Id: 1172406, Address Id: 15030448 => Updated with Vin: 3GNEC12T84G343898 ## Mail History Id: 30916019, Consumer Id: 1172371, Address Id: 15030419 => Updated with Vin: 1GNET16P746111680 ## Mail History Id: 30916043, Consumer Id: 1172400, Address Id: 15030442 => Updated with Vin: 2G1WW12E859272437 ## Mail History Id: 30916021, Consumer Id: 1172415, Address Id: 4507904 => Updated with Vin: 1GNDV23L65D204765 ## Total mail_history records updated with vin numbers: 8 out of 12 ============================================================ ====== Tracking Id: 1858 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-29 11:21:27') AND us2_order_type_id = 3 ## Order found: 2116 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2116 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3808 ## Mailing found: '13332' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956005, Consumer Id: 1171385, Address Id: 15029576 => Updated with Vin: 1GNFK13007R347301 ## Mail History Id: 30956047, Consumer Id: 1171391, Address Id: 15029582 => Updated with Vin: 1GCHC23K67F503347 ## Mail History Id: 30955915, Consumer Id: 1171384, Address Id: 15029575 => Updated with Vin: 1GNEC13T96R102501 ## Mail History Id: 30955977, Consumer Id: 1171392, Address Id: 15029583 => Updated with Vin: 1GYEK63N73R313602 ## Mail History Id: 30955957, Consumer Id: 1171296, Address Id: 15029497 => Updated with Vin: 6G2VX12U76L810389 ## Mail History Id: 30955971, Consumer Id: 1171299, Address Id: 15029500 => Updated with Vin: 2G4WS52J011104318 ## Mail History Id: 30955917, Consumer Id: 1171393, Address Id: 15029584 => Updated with Vin: 2G1WT58K589226663 ## Mail History Id: 30955985, Consumer Id: 1171321, Address Id: 15029518 => Updated with Vin: 1GCEC14K8NE154125 ## Mail History Id: 30955993, Consumer Id: 1171328, Address Id: 15029524 => Updated with Vin: 3GNFC16J97G320616 ## Mail History Id: 30955989, Consumer Id: 1171294, Address Id: 15029495 => Updated with Vin: 1Y1SK5265VZ462781 ## Mail History Id: 30955953, Consumer Id: 1171322, Address Id: 15029519 => Updated with Vin: 2CNDL63F456093157 ## Mail History Id: 30956001, Consumer Id: 1171300, Address Id: 15029501 => Updated with Vin: 1GNDX13E51D234839 ## Mail History Id: 30955929, Consumer Id: 1171329, Address Id: 15029525 => Updated with Vin: 1GBJC34F9YF518486 ## Mail History Id: 30956035, Consumer Id: 1171388, Address Id: 15029579 => Updated with Vin: 3GNFK16R4VG181243 ## Mail History Id: 30955999, Consumer Id: 1171324, Address Id: 5228706 => Updated with Vin: 1GCEK19T9YZ238228 ## Total mail_history records updated with vin numbers: 15 out of 16 ============================================================ ====== Tracking Id: 1859 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-29 11:21:54') AND us2_order_type_id = 3 ## Order found: 2117 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2117 AND product_id = 143 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 1860 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-29 11:22:15') AND us2_order_type_id = 3 ## Order found: 2115 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2115 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1861 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-29 11:22:36') AND us2_order_type_id = 3 ## Order found: 2116 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2116 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3808 ## Mailing found: '13332' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956264, Consumer Id: 1287140, Address Id: 15464447 => Updated with Vin: 3GCEC14X27G149302 ## Mail History Id: 30956023, Consumer Id: 1287283, Address Id: 15464556 => Updated with Vin: 2GCEK19TX41375844 ## Mail History Id: 30956037, Consumer Id: 1287188, Address Id: 15464479 => Updated with Vin: 3GNEC13T82G316101 ## Mail History Id: 30955997, Consumer Id: 1287281, Address Id: 15464554 => Updated with Vin: 3GCEC13J87G521464 ## Mail History Id: 30956019, Consumer Id: 1287284, Address Id: 15464557 => Updated with Vin: 1G8ZG5285SZ378214 ## Mail History Id: 30955909, Consumer Id: 1285035, Address Id: 15029290 => Updated with Vin: 3GNFK16337G186383 ## Mail History Id: 30955967, Consumer Id: 1275245, Address Id: 15455498 => Updated with Vin: 2G1WL52M0W1118182 ## Total mail_history records updated with vin numbers: 7 out of 11 ============================================================ ====== Tracking Id: 1862 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-29 11:22:48') AND us2_order_type_id = 3 ## Order found: 2116 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2116 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1863 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-29 11:48:29') AND us2_order_type_id = 3 ## Order found: 2118 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2118 AND product_id = 142 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3357 ## Mailing found: '13283' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916711, Consumer Id: 195737, Address Id: 403101 => Updated with Vin: 5LMEU88HX5ZJ21813 ## Mail History Id: 30916727, Consumer Id: 187590, Address Id: 398422 => Updated with Vin: 1FMCU04131KA64054 ## Mail History Id: 30916689, Consumer Id: 198444, Address Id: 407700 => Updated with Vin: 1FTWW33F02ED33234 ## Mail History Id: 30916693, Consumer Id: 1005574, Address Id: 14928077 => Updated with Vin: 2HKYF18643H503232 ## Mail History Id: 30916709, Consumer Id: 152382, Address Id: 394714 => Updated with Vin: JM1FE17NX50157626 ## Mail History Id: 30916701, Consumer Id: 193478, Address Id: 403149 => Updated with Vin: 1YVHP84DX55M14627 ## Mail History Id: 30916759, Consumer Id: 154606, Address Id: 396749 => Updated with Vin: JM1BK34MX71728592 ## Mail History Id: 30916779, Consumer Id: 153441, Address Id: 395688 => Updated with Vin: 1ZVFT80N175208183 ## Mail History Id: 30916779, Consumer Id: 153441, Address Id: 395688 => Updated with Vin: 1ZVFT80N175208183 ## Mail History Id: 30916707, Consumer Id: 153440, Address Id: 394360 => Updated with Vin: 1ZVHT82H075223211 ## Mail History Id: 30916777, Consumer Id: 1005568, Address Id: 14928074 => Updated with Vin: 5FNRL38737B401622 ## Mail History Id: 30916785, Consumer Id: 461204, Address Id: 9819183 => Updated with Vin: JM3TB38V980145436 ## Total mail_history records updated with vin numbers: 12 out of 26 ============================================================ ====== Tracking Id: 1864 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-29 11:48:33') AND us2_order_type_id = 3 ## Order found: 2118 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2118 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3357 ## Mailing found: '13320' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955568, Consumer Id: 190310, Address Id: 400425 => Updated with Vin: 1FTRW12WX5FA28308 ## Mail History Id: 30955574, Consumer Id: 456724, Address Id: 6903497 => Updated with Vin: 1FAFP40471F112881 ## Mail History Id: 30955412, Consumer Id: 456719, Address Id: 874911 => Updated with Vin: 1FAFP36371W234388 ## Mail History Id: 30955424, Consumer Id: 198373, Address Id: 407690 => Updated with Vin: 1FMZU73E62ZA28536 ## Mail History Id: 30956461, Consumer Id: 456730, Address Id: 9815890 => Updated with Vin: 1FMCU94173KA06102 ## Mail History Id: 30955494, Consumer Id: 456735, Address Id: 9815895 => Updated with Vin: 2D4GP44L33R235396 ## Mail History Id: 30955402, Consumer Id: 456734, Address Id: 9815894 => Updated with Vin: JTEEP21A540040953 ## Mail History Id: 30956509, Consumer Id: 436553, Address Id: 9800657 => Updated with Vin: JM1CR29L270145529 ## Mail History Id: 30955542, Consumer Id: 233911, Address Id: 394827 => Updated with Vin: 1D7HU18267J590475 ## Mail History Id: 30956469, Consumer Id: 196516, Address Id: 401293 => Updated with Vin: 1FTRW07L11KA53852 ## Mail History Id: 30955532, Consumer Id: 436556, Address Id: 9800659 => Updated with Vin: 1FMCU49H08KD15054 ## Mail History Id: 30955530, Consumer Id: 436554, Address Id: 9800658 => Updated with Vin: 1FTZR45E08PA76099 ## Mail History Id: 30955418, Consumer Id: 456720, Address Id: 2359274 => Updated with Vin: 4M2XV11T2YDJ27927 ## Mail History Id: 30955456, Consumer Id: 456729, Address Id: 9815889 => Updated with Vin: 1FAFP52SXWG135574 ## Total mail_history records updated with vin numbers: 14 out of 19 ============================================================ ====== Tracking Id: 1865 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-29 11:48:51') AND us2_order_type_id = 3 ## Order found: 2117 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2117 AND product_id = 2147 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 1866 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-29 11:48:52') AND us2_order_type_id = 3 ## Order found: 2118 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2118 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3357 ## Mailing found: '13320' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955430, Consumer Id: 199816, Address Id: 407804 => Updated with Vin: JM1CR29L870143638 ## Mail History Id: 30956499, Consumer Id: 200155, Address Id: 407821 => Updated with Vin: 1FTRX17263NA90259 ## Mail History Id: 30955588, Consumer Id: 200073, Address Id: 406356 => Updated with Vin: JN8AZ08W73W223936 ## Mail History Id: 30955444, Consumer Id: 194318, Address Id: 404779 => Updated with Vin: 5LMFU27R74LJ06182 ## Mail History Id: 30955500, Consumer Id: 197627, Address Id: 407320 => Updated with Vin: JTDBF32K350166835 ## Mail History Id: 30955546, Consumer Id: 192355, Address Id: 402190 => Updated with Vin: 1FMCU93115KB29463 ## Mail History Id: 30956507, Consumer Id: 198921, Address Id: 407397 => Updated with Vin: 1FMNU41S0YEB87011 ## Mail History Id: 30956505, Consumer Id: 200368, Address Id: 407832 => Updated with Vin: 1FMFU18C9YLC18009 ## Total mail_history records updated with vin numbers: 8 out of 12 ============================================================ ====== Tracking Id: 1867 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-29 11:49:09') AND us2_order_type_id = 3 ## Order found: 2117 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2117 AND product_id = 2150 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 1868 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-29 11:49:09') AND us2_order_type_id = 3 ## Order found: 2118 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2118 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3357 ## Mailing found: '13320' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955554, Consumer Id: 200369, Address Id: 407486 => Updated with Vin: 1FTZX17211KF51639 ## Mail History Id: 30955398, Consumer Id: 200357, Address Id: 407484 => Updated with Vin: 1FTNX21S92EA70065 ## Mail History Id: 30955516, Consumer Id: 200413, Address Id: 407489 => Updated with Vin: 2T1KR32E13C080248 ## Mail History Id: 30955450, Consumer Id: 196298, Address Id: 405126 => Updated with Vin: 1FTRW08L53KA98777 ## Mail History Id: 30955582, Consumer Id: 200381, Address Id: 407487 => Updated with Vin: JNKCV51EX3M319052 ## Mail History Id: 30955488, Consumer Id: 191370, Address Id: 398646 => Updated with Vin: 1FMZU63K73UC61226 ## Mail History Id: 30956431, Consumer Id: 155494, Address Id: 397543 => Updated with Vin: 1C4GJ44R0YB788578 ## Mail History Id: 30955380, Consumer Id: 193427, Address Id: 403139 => Updated with Vin: 1FMDU74W05UA27093 ## Mail History Id: 30955400, Consumer Id: 154903, Address Id: 397013 => Updated with Vin: JM3TB38C170114856 ## Mail History Id: 30956475, Consumer Id: 155484, Address Id: 397533 => Updated with Vin: 2FMDK48C17BA51397 ## Mail History Id: 30955580, Consumer Id: 200342, Address Id: 407483 => Updated with Vin: 3N1BC13E47L408014 ## Mail History Id: 30955490, Consumer Id: 155495, Address Id: 397544 => Updated with Vin: 1FAHP33N58W111956 ## Mail History Id: 30955550, Consumer Id: 200259, Address Id: 404670 => Updated with Vin: 2HGEJ6322YH101018 ## Total mail_history records updated with vin numbers: 13 out of 18 ============================================================ ====== Tracking Id: 1869 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-29 12:19:14') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 1870 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-29 12:19:18') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 1871 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-29 12:19:21') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 1872 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-29 12:19:27') AND us2_order_type_id = 3 ## Order found: 2119 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2119 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3471 ## Mailing found: '13288' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916561, Consumer Id: 799308, Address Id: 11870330 => Updated with Vin: 1G6KE57YX2U305264 ## Mail History Id: 30916443, Consumer Id: 803866, Address Id: 7415723 => Updated with Vin: 3GYEK62N24G166351 ## Mail History Id: 30916555, Consumer Id: 801285, Address Id: 11871516 => Updated with Vin: 1G6KD54YX3U153558 ## Mail History Id: 30916477, Consumer Id: 803550, Address Id: 7416623 => Updated with Vin: 1G6KD54Y1YU320025 ## Mail History Id: 30916411, Consumer Id: 801644, Address Id: 10211260 => Updated with Vin: 1G6KF5495WU800343 ## Mail History Id: 30916557, Consumer Id: 798524, Address Id: 11869888 => Updated with Vin: 1G6KD52Y3TU259756 ## Mail History Id: 30916563, Consumer Id: 821362, Address Id: 11876596 => Updated with Vin: 1G6KD54Y85U213503 ## Mail History Id: 30916415, Consumer Id: 805471, Address Id: 10211487 => Updated with Vin: 1G6KD54Y33U213485 ## Mail History Id: 30916517, Consumer Id: 800679, Address Id: 10216680 => Updated with Vin: 1G6KS52Y8VU823958 ## Mail History Id: 30916497, Consumer Id: 801387, Address Id: 10215591 => Updated with Vin: 1G6KD54Y22U149955 ## Mail History Id: 30916495, Consumer Id: 821130, Address Id: 11876343 => Updated with Vin: 1GYFK63837R171124 ## Mail History Id: 30916523, Consumer Id: 800722, Address Id: 10216900 => Updated with Vin: 1G6KF5798YU347141 ## Mail History Id: 30916559, Consumer Id: 797793, Address Id: 11869580 => Updated with Vin: 1G3NK52T21C234158 ## Mail History Id: 30916453, Consumer Id: 798192, Address Id: 7415954 => Updated with Vin: 1GYEK63N82R123693 ## Mail History Id: 30916525, Consumer Id: 799470, Address Id: 10216923 => Updated with Vin: 1G6KF57902U202618 ## Mail History Id: 30916543, Consumer Id: 820853, Address Id: 11871558 => Updated with Vin: 1G6KD54Y95U265545 ## Mail History Id: 30916479, Consumer Id: 820456, Address Id: 4230260 => Updated with Vin: 1G6DC67A660133559 ## Mail History Id: 30916529, Consumer Id: 799257, Address Id: 10216523 => Updated with Vin: 1G6DM57N030173898 ## Mail History Id: 30916545, Consumer Id: 821104, Address Id: 10219566 => Updated with Vin: 1G6DC67A160105250 ## Mail History Id: 30916505, Consumer Id: 822158, Address Id: 11873967 => Updated with Vin: 1GYFK66877R308318 ## Mail History Id: 30916437, Consumer Id: 817670, Address Id: 7878990 => Updated with Vin: 3GYEK62N55G278014 ## Mail History Id: 30916515, Consumer Id: 772954, Address Id: 10216643 => Updated with Vin: 3GYFK66N54G320095 ## Mail History Id: 30916519, Consumer Id: 817833, Address Id: 10216829 => Updated with Vin: 1G6DP577660106915 ## Mail History Id: 30916569, Consumer Id: 823242, Address Id: 11876695 => Updated with Vin: 1GYFK63827R414065 ## Mail History Id: 30916413, Consumer Id: 760420, Address Id: 7878246 => Updated with Vin: 1GYEE637160136451 ## Mail History Id: 30916463, Consumer Id: 816837, Address Id: 7416217 => Updated with Vin: 3GYFK66N15G167863 ## Mail History Id: 30916459, Consumer Id: 821583, Address Id: 7416032 => Updated with Vin: 1GYEK63N64R251806 ## Mail History Id: 30916511, Consumer Id: 806890, Address Id: 11876491 => Updated with Vin: 3GYFK62857G302670 ## Mail History Id: 30916427, Consumer Id: 806929, Address Id: 11876232 => Updated with Vin: 1GYEK63N35R216352 ## Mail History Id: 30916573, Consumer Id: 759647, Address Id: 11850934 => Updated with Vin: 1G6KD57Y97U116731 ## Mail History Id: 30916455, Consumer Id: 821752, Address Id: 7415980 => Updated with Vin: 1G6KD57Y86U111003 ## Total mail_history records updated with vin numbers: 31 out of 53 ============================================================ ====== Tracking Id: 1873 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-29 12:19:37') AND us2_order_type_id = 3 ## Order found: 2119 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2119 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3471 ## Mailing found: '13326' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956155, Consumer Id: 799812, Address Id: 10215152 => Updated with Vin: 1G6KE57Y62U191490 ## Mail History Id: 30956189, Consumer Id: 823387, Address Id: 6530565 => Updated with Vin: 1G6KD57Y76U158359 ## Mail History Id: 30956199, Consumer Id: 823394, Address Id: 10219239 => Updated with Vin: 1G6KD579X6U232785 ## Mail History Id: 30956183, Consumer Id: 798327, Address Id: 10217033 => Updated with Vin: 1G6KS54Y0WU926662 ## Mail History Id: 30956137, Consumer Id: 772825, Address Id: 11873911 => Updated with Vin: 1GYFK63807R430670 ## Mail History Id: 30956107, Consumer Id: 816783, Address Id: 10211189 => Updated with Vin: 1G6DM57NX30116575 ## Mail History Id: 30956113, Consumer Id: 818312, Address Id: 7878455 => Updated with Vin: 1G6KS54Y04U170408 ## Mail History Id: 30956173, Consumer Id: 823282, Address Id: 11876367 => Updated with Vin: 1GYFK66897R299864 ## Mail History Id: 30956177, Consumer Id: 823385, Address Id: 11876378 => Updated with Vin: 1GYEE63A750207131 ## Mail History Id: 30956133, Consumer Id: 807014, Address Id: 11876894 => Updated with Vin: 1FMDU74W13ZB12024 ## Total mail_history records updated with vin numbers: 10 out of 13 ============================================================ ====== Tracking Id: 1874 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-29 12:19:40') AND us2_order_type_id = 3 ## Order found: 2120 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2120 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3451 ## Mailing found: '13286' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916641, Consumer Id: 618289, Address Id: 11760013 => Updated with Vin: 1G6EL1298PU617666 ## Mail History Id: 30916619, Consumer Id: 619528, Address Id: 11761249 => Updated with Vin: 3GYFK66N65G252956 ## Total mail_history records updated with vin numbers: 2 out of 6 ============================================================ ====== Tracking Id: 1875 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-29 14:16:19') AND us2_order_type_id = 3 ## Order found: 2109 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2109 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3418 ## Mailing found: '13285' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916530, Consumer Id: 629802, Address Id: 8875976 => Updated with Vin: 1G6DP577660114884 ## Mail History Id: 30916342, Consumer Id: 677896, Address Id: 10323657 => Updated with Vin: 1G6KD57Y27U136870 ## Mail History Id: 30916372, Consumer Id: 611112, Address Id: 11755737 => Updated with Vin: 1GYEE437480150416 ## Mail History Id: 30916484, Consumer Id: 612261, Address Id: 11755980 => Updated with Vin: 1G2AL15F777174667 ## Mail History Id: 30916338, Consumer Id: 611115, Address Id: 11755740 => Updated with Vin: 1G6KD57Y38U172410 ## Mail History Id: 30916438, Consumer Id: 666594, Address Id: 11785311 => Updated with Vin: 1G6DM577840106341 ## Mail History Id: 30916464, Consumer Id: 681282, Address Id: 11794740 => Updated with Vin: 1HGCG2251YA023128 ## Mail History Id: 30916400, Consumer Id: 629800, Address Id: 11770016 => Updated with Vin: 1GYFK63897R422129 ## Mail History Id: 30916368, Consumer Id: 611154, Address Id: 11755768 => Updated with Vin: 1G6DH577080159254 ## Mail History Id: 30916346, Consumer Id: 611118, Address Id: 6608511 => Updated with Vin: 1GYEE437580170870 ## Mail History Id: 30916486, Consumer Id: 611158, Address Id: 11755772 => Updated with Vin: 1GYFK66808R168257 ## Mail History Id: 30916334, Consumer Id: 611125, Address Id: 11755748 => Updated with Vin: 1GYEE637680105618 ## Mail History Id: 30916490, Consumer Id: 611113, Address Id: 11755738 => Updated with Vin: 1GYFK66878R195651 ## Mail History Id: 30916326, Consumer Id: 629603, Address Id: 11769999 => Updated with Vin: 5GTDN136668217368 ## Mail History Id: 30916482, Consumer Id: 630536, Address Id: 11770974 => Updated with Vin: 2G1WL15C079419663 ## Mail History Id: 30916432, Consumer Id: 677451, Address Id: 11786099 => Updated with Vin: 1G6DX67D960204512 ## Mail History Id: 30916360, Consumer Id: 611135, Address Id: 10933103 => Updated with Vin: 1GYEE637280117944 ## Mail History Id: 30916498, Consumer Id: 611124, Address Id: 11755747 => Updated with Vin: 1GYEE637680127120 ## Mail History Id: 30916408, Consumer Id: 612345, Address Id: 11756046 => Updated with Vin: 1G6DM57T560108659 ## Mail History Id: 30916528, Consumer Id: 679261, Address Id: 11783388 => Updated with Vin: 3GYFK62887G273004 ## Mail History Id: 30916430, Consumer Id: 679852, Address Id: 11791567 => Updated with Vin: 1G6DP567550101382 ## Mail History Id: 30916380, Consumer Id: 675737, Address Id: 6926381 => Updated with Vin: 1G6DW677860186534 ## Mail History Id: 30916434, Consumer Id: 675898, Address Id: 11791565 => Updated with Vin: 1G6DP577860182782 ## Mail History Id: 30916378, Consumer Id: 610458, Address Id: 11755180 => Updated with Vin: 1G6DR57V780150062 ## Mail History Id: 30916516, Consumer Id: 676924, Address Id: 11792148 => Updated with Vin: 1G6DW677460218170 ## Mail History Id: 30916436, Consumer Id: 677968, Address Id: 11792748 => Updated with Vin: 1GYEE637970129801 ## Mail History Id: 30916558, Consumer Id: 612182, Address Id: 11755922 => Updated with Vin: 1GYFK63897R260647 ## Mail History Id: 30916448, Consumer Id: 677885, Address Id: 11792695 => Updated with Vin: 1G6DP577070132153 ## Mail History Id: 30916540, Consumer Id: 612377, Address Id: 11756072 => Updated with Vin: 1G6KD54Y33U273413 ## Mail History Id: 30916534, Consumer Id: 612292, Address Id: 11756003 => Updated with Vin: 1G6DC67A050143194 ## Mail History Id: 30916474, Consumer Id: 679429, Address Id: 11793602 => Updated with Vin: 1G6DP567750103876 ## Mail History Id: 30916514, Consumer Id: 663535, Address Id: 11783008 => Updated with Vin: 1G6KD54Y1YU254852 ## Mail History Id: 30916518, Consumer Id: 663419, Address Id: 11782920 => Updated with Vin: 1G6KD54Y43U259813 ## Mail History Id: 30916406, Consumer Id: 610123, Address Id: 11754883 => Updated with Vin: 1G6DP57V680115650 ## Mail History Id: 30916446, Consumer Id: 680730, Address Id: 11794413 => Updated with Vin: 1G6DM577240109218 ## Total mail_history records updated with vin numbers: 35 out of 52 ============================================================ ====== Tracking Id: 1876 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-29 14:16:35') AND us2_order_type_id = 3 ## Order found: 2120 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2120 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1877 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-29 14:16:38') AND us2_order_type_id = 3 ## Order found: 2120 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2120 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3451 ## Mailing found: '13324' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956395, Consumer Id: 616571, Address Id: 11758642 => Updated with Vin: 1G6KD54Y0YU345143 ## Mail History Id: 30956301, Consumer Id: 611375, Address Id: 4550721 => Updated with Vin: 1G6KD54Y15U100444 ## Mail History Id: 30956315, Consumer Id: 626801, Address Id: 11764115 => Updated with Vin: 1G6KD54Y85U185931 ## Mail History Id: 30956303, Consumer Id: 613821, Address Id: 4550738 => Updated with Vin: 1G6KD54Y6YU243104 ## Mail History Id: 30956281, Consumer Id: 622692, Address Id: 11762703 => Updated with Vin: 3GYEK63N23G144542 ## Mail History Id: 30956245, Consumer Id: 628347, Address Id: 824865 => Updated with Vin: YV1MC68227J016331 ## Mail History Id: 30956359, Consumer Id: 628183, Address Id: 3244207 => Updated with Vin: 3GYFK66N44G341004 ## Mail History Id: 30956319, Consumer Id: 628348, Address Id: 839638 => Updated with Vin: JHMFA36236S011099 ## Mail History Id: 30956295, Consumer Id: 628337, Address Id: 11765606 => Updated with Vin: 5FNYF284X6B003809 ## Mail History Id: 30956339, Consumer Id: 628338, Address Id: 11765607 => Updated with Vin: YV1RS61T242318638 ## Mail History Id: 30956401, Consumer Id: 628328, Address Id: 11765598 => Updated with Vin: 1HGCM56344A151358 ## Mail History Id: 30956309, Consumer Id: 628330, Address Id: 11765600 => Updated with Vin: 2HGFG12617H520308 ## Mail History Id: 30956399, Consumer Id: 628353, Address Id: 11765616 => Updated with Vin: 4A3AE55H01E007582 ## Mail History Id: 30956337, Consumer Id: 628346, Address Id: 11765612 => Updated with Vin: 1GYEK63N73R280276 ## Mail History Id: 30956367, Consumer Id: 628343, Address Id: 11765610 => Updated with Vin: YV1MC68217J015624 ## Mail History Id: 30956397, Consumer Id: 619459, Address Id: 11761205 => Updated with Vin: 1G6DR57V380149992 ## Total mail_history records updated with vin numbers: 16 out of 18 ============================================================ ====== Tracking Id: 1878 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-29 14:17:39') AND us2_order_type_id = 3 ## Order found: 2120 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2120 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3451 ## Mailing found: '13324' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1879 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-08-29 19:56:09') AND us2_order_type_id = 3 ## Order found: 2107 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2107 AND product_id = 2147 ## Job Group Found: '562' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('562') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408002') AND customer_id = 3846 ## Mailing found: '13417' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31003419, Consumer Id: 1184918, Address Id: 15368994 => Updated with Vin: 4S4WX86C064425396 ## Mail History Id: 31003421, Consumer Id: 1186967, Address Id: 15371429 => Updated with Vin: 4S4BT61C336105205 ## Mail History Id: 31003423, Consumer Id: 290663, Address Id: 4417755 => Updated with Vin: JF1SF6359XH721632 ## Mail History Id: 31003425, Consumer Id: 1179044, Address Id: 15367794 => Updated with Vin: 4S4BP61CX77329396 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1880 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-08-29 19:56:22') AND us2_order_type_id = 3 ## Order found: 2107 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2107 AND product_id = 2150 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3846 ## Mailing found: '13410' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992171, Consumer Id: 1182524, Address Id: 15369890 => Updated with Vin: 4S4BP61C887337188 ## Mail History Id: 30992192, Consumer Id: 1178376, Address Id: 15366464 => Updated with Vin: JF1SF655X2H711066 ## Mail History Id: 30993381, Consumer Id: 1186915, Address Id: 15371372 => Updated with Vin: 4S4BP61C687336959 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1881 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-08-29 19:56:34') AND us2_order_type_id = 3 ## Order found: 2107 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2107 AND product_id = 2152 ## Job Group Found: '566' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('566') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408006') AND customer_id = 3846 ## Mailing found: '13370' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30999297, Consumer Id: 1186777, Address Id: 15371101 => Updated with Vin: JF1GC6753YG505713 ## Mail History Id: 30999299, Consumer Id: 292599, Address Id: 451005 => Updated with Vin: JF1SG65676H717645 ## Mail History Id: 30999301, Consumer Id: 1186815, Address Id: 15371290 => Updated with Vin: 4S4WX86C764406649 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1882 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-29 20:16:20') AND us2_order_type_id = 3 ## Order found: 2103 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2103 AND product_id = 2152 ## Job Group Found: '566' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('566') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408006') AND customer_id = 3503 ## Mailing found: '13368' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30999305, Consumer Id: 2179539, Address Id: 9730133 => Updated with Vin: JT3HN87R7Y0277624 ## Mail History Id: 30999309, Consumer Id: 2167614, Address Id: 9719576 => Updated with Vin: 4T1BF28B21U189927 ## Mail History Id: 30999311, Consumer Id: 2168128, Address Id: 9735554 => Updated with Vin: 5TDZK23C87S050185 ## Mail History Id: 30999315, Consumer Id: 2160944, Address Id: 9726652 => Updated with Vin: 2T1BR32E45C379283 ## Mail History Id: 30999317, Consumer Id: 2172468, Address Id: 9720267 => Updated with Vin: 4T3ZF19C21U357251 ## Total mail_history records updated with vin numbers: 5 out of 9 ============================================================ ====== Tracking Id: 1883 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-29 20:16:32') AND us2_order_type_id = 3 ## Order found: 2103 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2103 AND product_id = 2153 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3503 ## Mailing found: '13380' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998393, Consumer Id: 380515, Address Id: 9751436 => Updated with Vin: JT2BK12U930084468 ## Mail History Id: 30998565, Consumer Id: 2175481, Address Id: 9723772 => Updated with Vin: 4T1BF28B51U167694 ## Mail History Id: 30998505, Consumer Id: 2159082, Address Id: 9722602 => Updated with Vin: JTEHD21A620013506 ## Mail History Id: 30998509, Consumer Id: 2159553, Address Id: 9724328 => Updated with Vin: 4T1BF32K24U070875 ## Mail History Id: 30998425, Consumer Id: 2171160, Address Id: 9718920 => Updated with Vin: JTEHF21A420083385 ## Mail History Id: 30998397, Consumer Id: 2171588, Address Id: 9719314 => Updated with Vin: 4T1BF28BXYU102771 ## Mail History Id: 30998533, Consumer Id: 2160774, Address Id: 9726156 => Updated with Vin: JTEBU17R048026608 ## Mail History Id: 30998377, Consumer Id: 2166543, Address Id: 9733381 => Updated with Vin: 5TEHN72N93Z174997 ## Mail History Id: 30998611, Consumer Id: 2158373, Address Id: 448741 => Updated with Vin: JTDBT123510158199 ## Mail History Id: 30998507, Consumer Id: 2174565, Address Id: 9722691 => Updated with Vin: 4T1BG22K11U076072 ## Total mail_history records updated with vin numbers: 10 out of 18 ============================================================ ====== Tracking Id: 1884 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-30 07:16:30') AND us2_order_type_id = 3 ## Order found: 2154 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2154 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1885 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-30 08:46:28') AND us2_order_type_id = 3 ## Order found: 2135 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2135 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3230 ## Mailing found: '13319' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955881, Consumer Id: 93025, Address Id: 51453 => Updated with Vin: 1FAHP34N07W218961 ## Mail History Id: 30955869, Consumer Id: 103836, Address Id: 53217 => Updated with Vin: 4M2ZV12T32DJ16093 ## Mail History Id: 30955883, Consumer Id: 63115, Address Id: 51575 => Updated with Vin: 1FAFP58244A186494 ## Mail History Id: 30956266, Consumer Id: 103841, Address Id: 53873 => Updated with Vin: 2FMZA51493BA91271 ## Mail History Id: 30955875, Consumer Id: 93553, Address Id: 52062 => Updated with Vin: 1FMCU93138KC07424 ## Mail History Id: 30955873, Consumer Id: 67474, Address Id: 52742 => Updated with Vin: 1MEHM55S31G636899 ## Mail History Id: 30955863, Consumer Id: 101103, Address Id: 48558 => Updated with Vin: 1FAFP55U21G273518 ## Mail History Id: 30955861, Consumer Id: 103372, Address Id: 53650 => Updated with Vin: 1MEFM42185G616554 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 1886 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-30 08:46:34') AND us2_order_type_id = 3 ## Order found: 2135 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2135 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3230 ## Mailing found: '13282' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916754, Consumer Id: 871224, Address Id: 51294 => Updated with Vin: 1FAHP35N28W125309 ## Mail History Id: 30916466, Consumer Id: 871875, Address Id: 11912183 => Updated with Vin: 3FAHP01108R220763 ## Mail History Id: 30915989, Consumer Id: 63295, Address Id: 49732 => Updated with Vin: 2FMDA58215BA27338 ## Mail History Id: 30916774, Consumer Id: 872876, Address Id: 11912757 => Updated with Vin: 1ZVHT85H585189702 ## Mail History Id: 30915961, Consumer Id: 871876, Address Id: 11912184 => Updated with Vin: 3FAHP07Z78R209272 ## Mail History Id: 30916422, Consumer Id: 872879, Address Id: 11912758 => Updated with Vin: 1FTRX14W58FB81922 ## Mail History Id: 30916420, Consumer Id: 65455, Address Id: 49220 => Updated with Vin: 1FTPX145X5KC36396 ## Mail History Id: 30916418, Consumer Id: 872877, Address Id: 50003 => Updated with Vin: 1FTRX14W78FB65270 ## Mail History Id: 30915953, Consumer Id: 871225, Address Id: 53190 => Updated with Vin: 1C4GJ25382B583984 ## Mail History Id: 30915953, Consumer Id: 67058, Address Id: 53190 => Updated with Vin: 1FAFP36N25W260839 ## Mail History Id: 30916784, Consumer Id: 65309, Address Id: 49914 => Updated with Vin: 2FTZX172X1CA51807 ## Mail History Id: 30915957, Consumer Id: 64503, Address Id: 49280 => Updated with Vin: 1G2NF12E61M662022 ## Mail History Id: 30916752, Consumer Id: 871227, Address Id: 50694 => Updated with Vin: 1LNHM87A92Y696720 ## Mail History Id: 30916672, Consumer Id: 93197, Address Id: 49631 => Updated with Vin: 1FTPX14VX7FB22183 ## Mail History Id: 30916678, Consumer Id: 93111, Address Id: 48395 => Updated with Vin: 1FTWX31R38EA91087 ## Mail History Id: 30916780, Consumer Id: 92412, Address Id: 48343 => Updated with Vin: 2FMZA58276BA05383 ## Mail History Id: 30916512, Consumer Id: 909656, Address Id: 11939978 => Updated with Vin: 2FMDK48C08BA71965 ## Mail History Id: 30916750, Consumer Id: 66530, Address Id: 50401 => Updated with Vin: 1FMZU73K82UD49240 ## Mail History Id: 30915935, Consumer Id: 93150, Address Id: 50959 => Updated with Vin: 3FAHP08Z87R259241 ## Mail History Id: 30916762, Consumer Id: 872878, Address Id: 50165 => Updated with Vin: 1FTPX14VX8FA59541 ## Mail History Id: 30915933, Consumer Id: 103589, Address Id: 52854 => Updated with Vin: 1FMYU03107KA25504 ## Mail History Id: 30916424, Consumer Id: 871226, Address Id: 11911657 => Updated with Vin: 2MEFM75W4XX660914 ## Mail History Id: 30916574, Consumer Id: 871874, Address Id: 11912182 => Updated with Vin: 1FAHP35N68W215904 ## Mail History Id: 30916682, Consumer Id: 93262, Address Id: 51755 => Updated with Vin: 1ZVHT85H285134334 ## Mail History Id: 30916674, Consumer Id: 101761, Address Id: 48864 => Updated with Vin: 1FAFP42R73F415977 ## Mail History Id: 30916690, Consumer Id: 38576, Address Id: 51684 => Updated with Vin: 3FAFP11381R142317 ## Mail History Id: 30916680, Consumer Id: 62902, Address Id: 48515 => Updated with Vin: 1FTRX18L7YNA14824 ## Mail History Id: 30915939, Consumer Id: 93560, Address Id: 52067 => Updated with Vin: 3FAHP02197R189199 ## Total mail_history records updated with vin numbers: 28 out of 36 ============================================================ ====== Tracking Id: 1887 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-30 10:46:37') AND us2_order_type_id = 3 ## Order found: 2135 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2135 AND product_id = 140 ## Job Group Found: '560' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('560') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208006') AND customer_id = 3230 ## Mailing found: '13315' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30917095, Consumer Id: 93394, Address Id: 51886 => Updated with Vin: 3FAHP07Z38R165979 ## Mail History Id: 30917097, Consumer Id: 92755, Address Id: 48891 => Updated with Vin: 1FMYU931X7KB87984 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 1888 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-30 09:20:06') AND us2_order_type_id = 3 ## Order found: 2137 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2137 AND product_id = 142 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1889 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-30 09:21:18') AND us2_order_type_id = 3 ## Order found: 2137 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2137 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3768 ## Mailing found: '13331' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956344, Consumer Id: 1049027, Address Id: 2849130 => Updated with Vin: 3GYEK62N45G192466 ## Mail History Id: 30956392, Consumer Id: 1115854, Address Id: 8827735 => Updated with Vin: 1G6KD57Y87U129289 ## Mail History Id: 30956326, Consumer Id: 1050447, Address Id: 11450935 => Updated with Vin: 2C4GP34313R139225 ## Mail History Id: 30956328, Consumer Id: 1042809, Address Id: 14952375 => Updated with Vin: 1G6KS52Y1VU823929 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 1890 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-08-30 10:16:44') AND us2_order_type_id = 3 ## Order found: 2139 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2139 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3846 ## Mailing found: '13410' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993127, Consumer Id: 293670, Address Id: 4496483 => Updated with Vin: 4S3BH686X47606349 ## Mail History Id: 30992143, Consumer Id: 1178855, Address Id: 11754426 => Updated with Vin: JF1SG65684H755771 ## Mail History Id: 30992268, Consumer Id: 1178721, Address Id: 15367399 => Updated with Vin: 4S4BT63C655104488 ## Mail History Id: 30992420, Consumer Id: 1186713, Address Id: 15371003 => Updated with Vin: 4S3BH665527610008 ## Mail History Id: 30993391, Consumer Id: 1178833, Address Id: 15367563 => Updated with Vin: 4S4WX83C764402153 ## Mail History Id: 30993749, Consumer Id: 1186744, Address Id: 9753496 => Updated with Vin: JF1SG63688H728160 ## Mail History Id: 30993325, Consumer Id: 1183748, Address Id: 15367859 => Updated with Vin: JF1SG63674H704927 ## Mail History Id: 30992817, Consumer Id: 1184005, Address Id: 465307 => Updated with Vin: 4S4BP67C754346176 ## Mail History Id: 30992383, Consumer Id: 1179587, Address Id: 15366434 => Updated with Vin: 4S3BH806927639234 ## Mail History Id: 30992185, Consumer Id: 1179519, Address Id: 15366393 => Updated with Vin: 4S3BH635217306217 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 1891 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-30 10:19:43') AND us2_order_type_id = 3 ## Order found: 2138 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2138 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3470 ## Mailing found: '13287' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916190, Consumer Id: 557749, Address Id: 10693922 => Updated with Vin: 1G1JC524517238842 ## Mail History Id: 30916180, Consumer Id: 560579, Address Id: 10697941 => Updated with Vin: 2D8GV58295H545735 ## Mail History Id: 30916254, Consumer Id: 567868, Address Id: 10686495 => Updated with Vin: 1J4GS48K06C351546 ## Mail History Id: 30916258, Consumer Id: 563042, Address Id: 10703442 => Updated with Vin: 2D4GP44L65R515638 ## Mail History Id: 30916186, Consumer Id: 564673, Address Id: 10705535 => Updated with Vin: 2A4GP44R66R704500 ## Mail History Id: 30916196, Consumer Id: 579264, Address Id: 5392940 => Updated with Vin: 2A4GM48436R871517 ## Mail History Id: 30916166, Consumer Id: 569409, Address Id: 10716454 => Updated with Vin: 1J8FT47W87D223174 ## Mail History Id: 30916216, Consumer Id: 570692, Address Id: 10717312 => Updated with Vin: 1B3HB78K77D275669 ## Mail History Id: 30916264, Consumer Id: 570908, Address Id: 10686572 => Updated with Vin: 1J8GS48K87C545063 ## Mail History Id: 30916284, Consumer Id: 982019, Address Id: 10717324 => Updated with Vin: 1J8FT48W58D758429 ## Mail History Id: 30916214, Consumer Id: 571654, Address Id: 4099721 => Updated with Vin: 1J8HH48K27C696628 ## Mail History Id: 30916242, Consumer Id: 572680, Address Id: 10718147 => Updated with Vin: 1C3LC65M78N635030 ## Mail History Id: 30916246, Consumer Id: 582632, Address Id: 1352243 => Updated with Vin: 1B3HB28B27D545247 ## Mail History Id: 30916272, Consumer Id: 573121, Address Id: 10719470 => Updated with Vin: 1J4GS48K26C173042 ## Mail History Id: 30916222, Consumer Id: 583423, Address Id: 1344917 => Updated with Vin: 2B4GP2434VR441151 ## Mail History Id: 30916174, Consumer Id: 982017, Address Id: 14929173 => Updated with Vin: 2A8GP64L06R915181 ## Total mail_history records updated with vin numbers: 16 out of 28 ============================================================ ====== Tracking Id: 1892 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-30 10:20:08') AND us2_order_type_id = 3 ## Order found: 2140 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2140 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3416 ## Mailing found: '13284' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916562, Consumer Id: 625241, Address Id: 11765872 => Updated with Vin: 5GTDN13E178194350 ## Mail History Id: 30916650, Consumer Id: 1006621, Address Id: 11798475 => Updated with Vin: WBADT43491GX22815 ## Mail History Id: 30916578, Consumer Id: 625587, Address Id: 10933473 => Updated with Vin: 1G6KD54Y81U258998 ## Mail History Id: 30915981, Consumer Id: 693150, Address Id: 11582216 => Updated with Vin: 2G4WS52J0Y1261213 ## Mail History Id: 30916618, Consumer Id: 1006617, Address Id: 11798646 => Updated with Vin: 1G6DT57V580142480 ## Mail History Id: 30916572, Consumer Id: 690255, Address Id: 11797561 => Updated with Vin: 1G6KD57996U125808 ## Mail History Id: 30916640, Consumer Id: 629323, Address Id: 1969269 => Updated with Vin: 1G6DP567950115947 ## Mail History Id: 30916646, Consumer Id: 685305, Address Id: 1969502 => Updated with Vin: 1G6KS54Y83U269735 ## Mail History Id: 30916598, Consumer Id: 686046, Address Id: 10933964 => Updated with Vin: 1G6KD54Y7VU232866 ## Mail History Id: 30916580, Consumer Id: 662947, Address Id: 1960650 => Updated with Vin: 1GYEE637040188439 ## Mail History Id: 30916660, Consumer Id: 627084, Address Id: 1969825 => Updated with Vin: 5GTDN136768234826 ## Mail History Id: 30916624, Consumer Id: 689756, Address Id: 11797373 => Updated with Vin: 1G6KD54Y01U222772 ## Mail History Id: 30916668, Consumer Id: 628694, Address Id: 11766264 => Updated with Vin: 1G6KE54Y83U109605 ## Mail History Id: 30916658, Consumer Id: 627176, Address Id: 1969735 => Updated with Vin: 1G6KD57Y16U106774 ## Mail History Id: 30916608, Consumer Id: 689297, Address Id: 11797184 => Updated with Vin: JNKBF01A32M006268 ## Mail History Id: 30916358, Consumer Id: 982111, Address Id: 11765990 => Updated with Vin: 5GTEN13E188111621 ## Mail History Id: 30916632, Consumer Id: 689437, Address Id: 11797255 => Updated with Vin: 1G6KS54Y03U254467 ## Mail History Id: 30916592, Consumer Id: 627189, Address Id: 11764751 => Updated with Vin: 1G6KD54YX5U116710 ## Mail History Id: 30916612, Consumer Id: 689848, Address Id: 11797414 => Updated with Vin: 1G6KD54Y65U199455 ## Mail History Id: 30916610, Consumer Id: 691294, Address Id: 11795203 => Updated with Vin: 1GYEE637660191056 ## Mail History Id: 30916726, Consumer Id: 625721, Address Id: 11764692 => Updated with Vin: 5GTEN13E788135230 ## Mail History Id: 30916630, Consumer Id: 692010, Address Id: 11798175 => Updated with Vin: 1GKFK66U34J278221 ## Total mail_history records updated with vin numbers: 22 out of 34 ============================================================ ====== Tracking Id: 1893 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-30 10:20:42') AND us2_order_type_id = 3 ## Order found: 2141 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2141 AND product_id = 2153 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1894 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-30 10:20:45') AND us2_order_type_id = 3 ## Order found: 2141 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2141 AND product_id = 2152 ## Job Group Found: '560' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('560') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208006') AND customer_id = 3418 ## Mailing found: '13316' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30917052, Consumer Id: 674242, Address Id: 11790496 => Updated with Vin: 1G6KY54992U181282 ## Mail History Id: 30917054, Consumer Id: 676672, Address Id: 11792015 => Updated with Vin: 1G6DP577660212345 ## Mail History Id: 30917056, Consumer Id: 677571, Address Id: 11792515 => Updated with Vin: 1G6DW677960216222 ## Mail History Id: 30917058, Consumer Id: 610397, Address Id: 8871995 => Updated with Vin: 1G6KD57Y08U136755 ## Mail History Id: 30917060, Consumer Id: 677735, Address Id: 11792601 => Updated with Vin: 1G6KD57Y17U126962 ## Mail History Id: 30917062, Consumer Id: 679866, Address Id: 11793883 => Updated with Vin: 1G6KD52B0SU213327 ## Mail History Id: 30917064, Consumer Id: 666847, Address Id: 10326693 => Updated with Vin: 1GYEK63N22R110874 ## Mail History Id: 30917066, Consumer Id: 663542, Address Id: 11783014 => Updated with Vin: 1G6KF57961U299404 ## Mail History Id: 30917068, Consumer Id: 666370, Address Id: 10326833 => Updated with Vin: 1G6KD54Y32U144151 ## Mail History Id: 30917070, Consumer Id: 680681, Address Id: 11783574 => Updated with Vin: 2GNBJ13C736914948 ## Mail History Id: 30917072, Consumer Id: 680679, Address Id: 11794383 => Updated with Vin: 1G2WP52K8YF258877 ## Mail History Id: 30917074, Consumer Id: 680672, Address Id: 11794377 => Updated with Vin: JTJHF10U510192119 ## Mail History Id: 30917076, Consumer Id: 675810, Address Id: 11791510 => Updated with Vin: 1G6DW677860184475 ## Mail History Id: 30917078, Consumer Id: 610319, Address Id: 11755054 => Updated with Vin: 1G6KD57Y08U129708 ## Mail History Id: 30917080, Consumer Id: 670899, Address Id: 11788316 => Updated with Vin: 1G6DM57N930118737 ## Total mail_history records updated with vin numbers: 15 out of 17 ============================================================ ====== Tracking Id: 1895 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-30 10:23:12') AND us2_order_type_id = 3 ## Order found: 2142 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2142 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3795 ## Mailing found: '13407' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992538, Consumer Id: 1052932, Address Id: 6073325 => Updated with Vin: JHMBB2259RC002878 ## Mail History Id: 30992632, Consumer Id: 1053378, Address Id: 2999708 => Updated with Vin: 1HGCG5650WA262551 ## Mail History Id: 30992874, Consumer Id: 1054283, Address Id: 3098600 => Updated with Vin: 1HGCG5644XA084345 ## Mail History Id: 30992618, Consumer Id: 1055368, Address Id: 6618128 => Updated with Vin: 1HGCM56825A124270 ## Mail History Id: 30992526, Consumer Id: 1061172, Address Id: 7663352 => Updated with Vin: 1HGFA165X6L079265 ## Mail History Id: 30992854, Consumer Id: 1057660, Address Id: 2523139 => Updated with Vin: 5FNRL38296B116510 ## Mail History Id: 30992594, Consumer Id: 1060141, Address Id: 14957405 => Updated with Vin: 2HJYK16528H529460 ## Mail History Id: 30992792, Consumer Id: 1060152, Address Id: 14955137 => Updated with Vin: 5FNRL38708B035314 ## Mail History Id: 30992756, Consumer Id: 1061281, Address Id: 14957713 => Updated with Vin: SHSRD68452U001986 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 1896 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-30 10:23:25') AND us2_order_type_id = 3 ## Order found: 2142 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2142 AND product_id = 114 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3795 ## Mailing found: '13384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998863, Consumer Id: 1068554, Address Id: 7249566 => Updated with Vin: WVWSK61J03W106169 ## Mail History Id: 30998887, Consumer Id: 1054481, Address Id: 12227593 => Updated with Vin: 2HKRL1866YH581452 ## Mail History Id: 30998354, Consumer Id: 1059074, Address Id: 14956721 => Updated with Vin: JHMAP21406S001268 ## Mail History Id: 30998905, Consumer Id: 1058541, Address Id: 6868707 => Updated with Vin: 2HGFA55507H707115 ## Mail History Id: 30998997, Consumer Id: 1059712, Address Id: 14957293 => Updated with Vin: JHMGD374X8S005525 ## Mail History Id: 30998813, Consumer Id: 1059864, Address Id: 4454070 => Updated with Vin: 2HGFG11678H510630 ## Mail History Id: 30998961, Consumer Id: 1055043, Address Id: 14955977 => Updated with Vin: 1HGCG16582A054677 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 1897 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-30 10:23:37') AND us2_order_type_id = 3 ## Order found: 2142 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2142 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3795 ## Mailing found: '13384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1898 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-30 10:23:39') AND us2_order_type_id = 3 ## Order found: 2143 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2143 AND product_id = 142 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3697 ## Mailing found: '13290' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30915954, Consumer Id: 1044913, Address Id: 14952970 => Updated with Vin: 1G6KD54Y54U229625 ## Mail History Id: 30915984, Consumer Id: 1045339, Address Id: 5990124 => Updated with Vin: 1G6DW677470195152 ## Mail History Id: 30915968, Consumer Id: 1044608, Address Id: 5983931 => Updated with Vin: 1G6KD57947U184783 ## Mail History Id: 30916004, Consumer Id: 1047059, Address Id: 14953571 => Updated with Vin: 1GYEK63N75R242372 ## Mail History Id: 30916008, Consumer Id: 921249, Address Id: 11953391 => Updated with Vin: 1FTYR14U08PA46099 ## Mail History Id: 30915986, Consumer Id: 1050216, Address Id: 12938901 => Updated with Vin: 1G6DC67A260193614 ## Mail History Id: 30915998, Consumer Id: 1047896, Address Id: 8194039 => Updated with Vin: 1G6DM577440109897 ## Mail History Id: 30915956, Consumer Id: 1049060, Address Id: 2849617 => Updated with Vin: 1G6DP577760176973 ## Mail History Id: 30915972, Consumer Id: 1041604, Address Id: 6908221 => Updated with Vin: 1G3CX52K4S4321538 ## Total mail_history records updated with vin numbers: 9 out of 11 ============================================================ ====== Tracking Id: 1899 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-30 10:23:48') AND us2_order_type_id = 3 ## Order found: 2143 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2143 AND product_id = 140 ## Job Group Found: '560' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('560') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208006') AND customer_id = 3697 ## Mailing found: '13317' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1900 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-30 10:24:00') AND us2_order_type_id = 3 ## Order found: 2143 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2143 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3697 ## Mailing found: '13329' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956342, Consumer Id: 1044925, Address Id: 14952973 => Updated with Vin: 1GYEE637670148273 ## Mail History Id: 30955691, Consumer Id: 1047297, Address Id: 14953638 => Updated with Vin: 1GYEK63N75R241223 ## Mail History Id: 30956440, Consumer Id: 1043624, Address Id: 14952593 => Updated with Vin: 1GKFK66UX4J242221 ## Mail History Id: 30956270, Consumer Id: 1051388, Address Id: 2773599 => Updated with Vin: 1G6KD54Y9YU196375 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 1901 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-30 10:24:12') AND us2_order_type_id = 3 ## Order found: 2143 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2143 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3697 ## Mailing found: '13329' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1902 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-30 10:25:56') AND us2_order_type_id = 3 ## Order found: 2144 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2144 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3815 ## Mailing found: '13295' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916116, Consumer Id: 1365802, Address Id: 15638741 => Updated with Vin: 5FNRL38767B088095 ## Mail History Id: 30916038, Consumer Id: 1368719, Address Id: 15635420 => Updated with Vin: 5FNRL18573B038724 ## Mail History Id: 30916028, Consumer Id: 1362287, Address Id: 15634447 => Updated with Vin: 1HGCM56815A189921 ## Mail History Id: 30916098, Consumer Id: 1370030, Address Id: 15636960 => Updated with Vin: 1HGEM22512L020467 ## Mail History Id: 30916018, Consumer Id: 1371953, Address Id: 15634050 => Updated with Vin: 1HGCP26868A126694 ## Mail History Id: 30916048, Consumer Id: 1366179, Address Id: 15634952 => Updated with Vin: 1HGCM56867A210507 ## Mail History Id: 30916056, Consumer Id: 1367404, Address Id: 15639403 => Updated with Vin: 1HGCM56765A079518 ## Mail History Id: 30916064, Consumer Id: 1363496, Address Id: 15636451 => Updated with Vin: 5FNRL386X6B039374 ## Mail History Id: 30915950, Consumer Id: 1366389, Address Id: 15636581 => Updated with Vin: 5J6RE38387L001084 ## Mail History Id: 30916086, Consumer Id: 1363973, Address Id: 15637005 => Updated with Vin: 5FNRL38686B096527 ## Mail History Id: 30915938, Consumer Id: 1365036, Address Id: 15638081 => Updated with Vin: 1HGCM56387A099527 ## Mail History Id: 30915938, Consumer Id: 1365036, Address Id: 15638081 => Updated with Vin: 1HGCM56387A099527 ## Mail History Id: 30916122, Consumer Id: 1365582, Address Id: 15638603 => Updated with Vin: 5FNRL38737B068239 ## Mail History Id: 30916130, Consumer Id: 1371935, Address Id: 15634540 => Updated with Vin: 1HGFA16898L084504 ## Mail History Id: 30916040, Consumer Id: 1371961, Address Id: 15668756 => Updated with Vin: 5FNRL38788B026425 ## Mail History Id: 30916146, Consumer Id: 1371899, Address Id: 11361745 => Updated with Vin: 1HGCM56307A144525 ## Total mail_history records updated with vin numbers: 16 out of 27 ============================================================ ====== Tracking Id: 1903 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-30 10:26:04') AND us2_order_type_id = 3 ## Order found: 2144 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2144 AND product_id = 2152 ## Job Group Found: '560' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('560') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208006') AND customer_id = 3815 ## Mailing found: '13318' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30917014, Consumer Id: 1369695, Address Id: 2569379 => Updated with Vin: JHLRD1861WC041404 ## Mail History Id: 30917016, Consumer Id: 1376988, Address Id: 2111009 => Updated with Vin: 2HNYD18671H528812 ## Mail History Id: 30917018, Consumer Id: 1369249, Address Id: 2569538 => Updated with Vin: JHMCG5645XC010062 ## Mail History Id: 30917020, Consumer Id: 1370328, Address Id: 15637506 => Updated with Vin: 2HKRL18681H516012 ## Mail History Id: 30917022, Consumer Id: 1376045, Address Id: 6159974 => Updated with Vin: 19UUA66294A014670 ## Mail History Id: 30917024, Consumer Id: 1365943, Address Id: 15632359 => Updated with Vin: JHLRE48797C080783 ## Mail History Id: 30917026, Consumer Id: 1371575, Address Id: 15639843 => Updated with Vin: 5J6YH28634L005823 ## Mail History Id: 30917028, Consumer Id: 1370021, Address Id: 15636954 => Updated with Vin: 2HKRL18661H556072 ## Mail History Id: 30917030, Consumer Id: 1365199, Address Id: 10680863 => Updated with Vin: 2HJYK16497H514105 ## Mail History Id: 30917032, Consumer Id: 1378289, Address Id: 9423496 => Updated with Vin: 1HGCG5641XA046653 ## Mail History Id: 30917034, Consumer Id: 1362464, Address Id: 15635052 => Updated with Vin: 1HGCM72706A000329 ## Mail History Id: 30917038, Consumer Id: 1364773, Address Id: 15637719 => Updated with Vin: 5FNRL38827B013726 ## Mail History Id: 30917040, Consumer Id: 1366455, Address Id: 15635043 => Updated with Vin: 1HGCP26888A002765 ## Mail History Id: 30917042, Consumer Id: 1379124, Address Id: 15671730 => Updated with Vin: 1HGEJ7223VL035357 ## Mail History Id: 30917044, Consumer Id: 1366842, Address Id: 15639641 => Updated with Vin: 5J6RE38558L000042 ## Mail History Id: 30917032, Consumer Id: 1366781, Address Id: 9423496 => Updated with Vin: 4T1BE46K07U119711 ## Total mail_history records updated with vin numbers: 16 out of 18 ============================================================ ====== Tracking Id: 1904 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-30 10:26:16') AND us2_order_type_id = 3 ## Order found: 2144 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2144 AND product_id = 2150 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3815 ## Mailing found: '13295' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916034, Consumer Id: 1370062, Address Id: 15637322 => Updated with Vin: 1HGCM56763A031983 ## Mail History Id: 30916132, Consumer Id: 1360240, Address Id: 15632767 => Updated with Vin: SHSRD78814U234405 ## Mail History Id: 30916046, Consumer Id: 1362328, Address Id: 15634476 => Updated with Vin: 1HGCM55465A066579 ## Mail History Id: 30916084, Consumer Id: 1376081, Address Id: 9094547 => Updated with Vin: JH4DC4468TS015061 ## Mail History Id: 30916128, Consumer Id: 1363774, Address Id: 15636630 => Updated with Vin: 5FNRL38246B101011 ## Mail History Id: 30916100, Consumer Id: 1377377, Address Id: 15670797 => Updated with Vin: 5FNRL38776B428451 ## Mail History Id: 30916112, Consumer Id: 1379340, Address Id: 15671831 => Updated with Vin: 2HNYD18672H503376 ## Mail History Id: 30916148, Consumer Id: 1379366, Address Id: 2415121 => Updated with Vin: JTDBE32K540248146 ## Mail History Id: 30915930, Consumer Id: 1367145, Address Id: 15639907 => Updated with Vin: 1HGFA15818L019129 ## Total mail_history records updated with vin numbers: 9 out of 11 ============================================================ ====== Tracking Id: 1905 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-30 10:26:28') AND us2_order_type_id = 3 ## Order found: 2144 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2144 AND product_id = 2153 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3815 ## Mailing found: '13333' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956444, Consumer Id: 1360462, Address Id: 15632937 => Updated with Vin: 2HGES15574H604240 ## Mail History Id: 30956490, Consumer Id: 1360998, Address Id: 15633322 => Updated with Vin: 5FNRL38475B024666 ## Mail History Id: 30956452, Consumer Id: 1373812, Address Id: 15669850 => Updated with Vin: 2HGES16593H566684 ## Mail History Id: 30956314, Consumer Id: 1363610, Address Id: 15636520 => Updated with Vin: JHLRD68826C013304 ## Mail History Id: 30956450, Consumer Id: 1378879, Address Id: 15670910 => Updated with Vin: 1HGCM66583A035232 ## Mail History Id: 30956474, Consumer Id: 1377916, Address Id: 15671094 => Updated with Vin: 4S6CM58WXW4403270 ## Mail History Id: 30956464, Consumer Id: 1378938, Address Id: 8298396 => Updated with Vin: 1HGCG3250YA007525 ## Mail History Id: 30956468, Consumer Id: 1378945, Address Id: 15671597 => Updated with Vin: SHSRD78862U002069 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 1906 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-30 11:16:29') AND us2_order_type_id = 3 ## Order found: 2145 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2145 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1907 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-30 11:16:32') AND us2_order_type_id = 3 ## Order found: 2145 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2145 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3486 ## Mailing found: '13327' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1908 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-30 11:17:20') AND us2_order_type_id = 3 ## Order found: 2140 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2140 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3416 ## Mailing found: '13321' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955793, Consumer Id: 691077, Address Id: 4781476 => Updated with Vin: 1G6DM57N330124663 ## Mail History Id: 30955825, Consumer Id: 685664, Address Id: 11796026 => Updated with Vin: 1G6KD52B4SU216389 ## Mail History Id: 30955839, Consumer Id: 685304, Address Id: 1969711 => Updated with Vin: 1G6KF57991U161209 ## Mail History Id: 30955837, Consumer Id: 689931, Address Id: 11795113 => Updated with Vin: 5GRGN23U35H133689 ## Mail History Id: 30955785, Consumer Id: 685556, Address Id: 7548676 => Updated with Vin: 1G6KD54Y74U158024 ## Mail History Id: 30955887, Consumer Id: 625677, Address Id: 1970345 => Updated with Vin: 2C3HD46J7WH194081 ## Mail History Id: 30955831, Consumer Id: 625689, Address Id: 11766084 => Updated with Vin: 1GYEE637080128599 ## Mail History Id: 30955893, Consumer Id: 689560, Address Id: 11797297 => Updated with Vin: 5GTDN136668101412 ## Mail History Id: 30955889, Consumer Id: 689847, Address Id: 11797413 => Updated with Vin: 5GTDN136568126415 ## Mail History Id: 30955743, Consumer Id: 690752, Address Id: 11797715 => Updated with Vin: 1GYEE637560178699 ## Mail History Id: 30955815, Consumer Id: 691863, Address Id: 1969134 => Updated with Vin: 1G6KD54YX4U112560 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 1909 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-30 11:17:32') AND us2_order_type_id = 3 ## Order found: 2146 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2146 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3491 ## Mailing found: '13289' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916169, Consumer Id: 809730, Address Id: 11884332 => Updated with Vin: 1G1AK55F567740273 ## Mail History Id: 30916191, Consumer Id: 810721, Address Id: 11885257 => Updated with Vin: 3GCEC14X06G251650 ## Mail History Id: 30916065, Consumer Id: 811187, Address Id: 11875181 => Updated with Vin: 3GNEK12T54G335826 ## Mail History Id: 30916195, Consumer Id: 811765, Address Id: 11886144 => Updated with Vin: 2G1WC58R679117141 ## Mail History Id: 30916125, Consumer Id: 812528, Address Id: 11875961 => Updated with Vin: 2G1WC581869269995 ## Mail History Id: 30916211, Consumer Id: 773172, Address Id: 11851145 => Updated with Vin: 2G1WL15C579255522 ## Mail History Id: 30916217, Consumer Id: 812929, Address Id: 11887518 => Updated with Vin: 3GNDA13D37S547969 ## Mail History Id: 30916071, Consumer Id: 813868, Address Id: 1294193 => Updated with Vin: 1G1AP11P567707864 ## Mail History Id: 30916085, Consumer Id: 813851, Address Id: 1298189 => Updated with Vin: 3GCEC13J37G515104 ## Mail History Id: 30916095, Consumer Id: 814004, Address Id: 1299739 => Updated with Vin: 1GCJK33687F553793 ## Mail History Id: 30916107, Consumer Id: 814385, Address Id: 11888981 => Updated with Vin: 1GCHK23K27F545887 ## Mail History Id: 30916213, Consumer Id: 814446, Address Id: 11889033 => Updated with Vin: 2GCEC13J771566386 ## Mail History Id: 30916113, Consumer Id: 809938, Address Id: 11884481 => Updated with Vin: 2G1WC581369300294 ## Mail History Id: 30916181, Consumer Id: 839878, Address Id: 11895499 => Updated with Vin: 1G1AK18F487221609 ## Mail History Id: 30916087, Consumer Id: 1006892, Address Id: 11876167 => Updated with Vin: 1Y1SK52881Z414235 ## Mail History Id: 30916025, Consumer Id: 982344, Address Id: 14929604 => Updated with Vin: 1GNFC160X8R251184 ## Mail History Id: 30916201, Consumer Id: 824590, Address Id: 11879179 => Updated with Vin: 1LNHM82W3XY649841 ## Mail History Id: 30916165, Consumer Id: 982357, Address Id: 14929617 => Updated with Vin: KL1TG56678B180313 ## Mail History Id: 30916101, Consumer Id: 823730, Address Id: 11879111 => Updated with Vin: 2G1FP22K222169236 ## Mail History Id: 30916163, Consumer Id: 810477, Address Id: 11885084 => Updated with Vin: KL1TG66606B584282 ## Mail History Id: 30916167, Consumer Id: 823545, Address Id: 11878962 => Updated with Vin: 1G1JC5241T7111606 ## Mail History Id: 30916171, Consumer Id: 1006895, Address Id: 14929633 => Updated with Vin: JTDKB20U577549227 ## Mail History Id: 30916141, Consumer Id: 830615, Address Id: 11874790 => Updated with Vin: 3GNFK16T51G148516 ## Mail History Id: 30916143, Consumer Id: 829619, Address Id: 11874810 => Updated with Vin: 1G1ND52J12M501495 ## Mail History Id: 30916187, Consumer Id: 833015, Address Id: 11891317 => Updated with Vin: 1GNES16SX56140972 ## Mail History Id: 30916123, Consumer Id: 835790, Address Id: 11875827 => Updated with Vin: 1GNEK13T95R251945 ## Total mail_history records updated with vin numbers: 26 out of 43 ============================================================ ====== Tracking Id: 1910 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-30 11:18:01') AND us2_order_type_id = 3 ## Order found: 2146 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2146 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3491 ## Mailing found: '13328' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956004, Consumer Id: 837372, Address Id: 1299127 => Updated with Vin: 1G2NF52E2YC541849 ## Mail History Id: 30955988, Consumer Id: 813693, Address Id: 11888234 => Updated with Vin: 1GCEC14C77Z549062 ## Mail History Id: 30956128, Consumer Id: 839324, Address Id: 11894369 => Updated with Vin: 1GNFK130X7J347398 ## Mail History Id: 30956132, Consumer Id: 839902, Address Id: 11895509 => Updated with Vin: 2GCEC13C781107586 ## Mail History Id: 30956012, Consumer Id: 839912, Address Id: 1300052 => Updated with Vin: 2GCEC19V121328181 ## Mail History Id: 30956236, Consumer Id: 839907, Address Id: 11895512 => Updated with Vin: 1J4GW48N7YC151619 ## Mail History Id: 30956106, Consumer Id: 815943, Address Id: 11874907 => Updated with Vin: 1GCCS1449R8218835 ## Mail History Id: 30956140, Consumer Id: 815942, Address Id: 11890611 => Updated with Vin: 1GNET16S956144203 ## Mail History Id: 30955992, Consumer Id: 839934, Address Id: 11895522 => Updated with Vin: 1NXBR32E45Z561435 ## Mail History Id: 30956202, Consumer Id: 839930, Address Id: 11891609 => Updated with Vin: 1G1AL55F377111416 ## Mail History Id: 30956242, Consumer Id: 814273, Address Id: 11888913 => Updated with Vin: 1G1ZS58FX7F307330 ## Mail History Id: 30956102, Consumer Id: 825713, Address Id: 11880756 => Updated with Vin: 3GNEK13T53G299469 ## Mail History Id: 30956018, Consumer Id: 835891, Address Id: 11893197 => Updated with Vin: 1G1ZS52FX5F288736 ## Mail History Id: 30955958, Consumer Id: 839296, Address Id: 11883396 => Updated with Vin: 1GNFK13087R121779 ## Total mail_history records updated with vin numbers: 14 out of 16 ============================================================ ====== Tracking Id: 1911 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-30 11:18:13') AND us2_order_type_id = 3 ## Order found: 2146 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2146 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3491 ## Mailing found: '13328' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956022, Consumer Id: 809627, Address Id: 11875006 => Updated with Vin: 1G1AK15F767718686 ## Mail History Id: 30956212, Consumer Id: 813365, Address Id: 11888025 => Updated with Vin: 2G1WX12K539405705 ## Mail History Id: 30955954, Consumer Id: 838357, Address Id: 1293377 => Updated with Vin: 1G1AL15F577235616 ## Mail History Id: 30956164, Consumer Id: 815278, Address Id: 11889832 => Updated with Vin: 2G1WC58R379103522 ## Mail History Id: 30955960, Consumer Id: 815277, Address Id: 4194713 => Updated with Vin: 1G1YY22G125113245 ## Mail History Id: 30955996, Consumer Id: 839380, Address Id: 1298481 => Updated with Vin: 2GCEK19V411312073 ## Mail History Id: 30956076, Consumer Id: 824273, Address Id: 11879401 => Updated with Vin: 1GNDT13WXW2179733 ## Mail History Id: 30956008, Consumer Id: 837317, Address Id: 11874607 => Updated with Vin: 1GCHK23D36F197808 ## Mail History Id: 30956020, Consumer Id: 829208, Address Id: 11874984 => Updated with Vin: 1GNEC13V03R113917 ## Mail History Id: 30956220, Consumer Id: 827311, Address Id: 11881894 => Updated with Vin: 1GCEC14X84Z138042 ## Mail History Id: 30956204, Consumer Id: 831971, Address Id: 11890689 => Updated with Vin: 1G1ZS52F25F153167 ## Mail History Id: 30955968, Consumer Id: 834022, Address Id: 11875517 => Updated with Vin: 1GCGG25U651155087 ## Mail History Id: 30955940, Consumer Id: 808265, Address Id: 11875126 => Updated with Vin: 1GNES16S556145870 ## Total mail_history records updated with vin numbers: 13 out of 13 ============================================================ ====== Tracking Id: 1912 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-30 11:18:25') AND us2_order_type_id = 3 ## Order found: 2146 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2146 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3491 ## Mailing found: '13328' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956176, Consumer Id: 837691, Address Id: 11894358 => Updated with Vin: 2GCEC19X131251802 ## Mail History Id: 30955970, Consumer Id: 812107, Address Id: 11886926 => Updated with Vin: 2G1WC581569275124 ## Mail History Id: 30956122, Consumer Id: 811683, Address Id: 11886795 => Updated with Vin: 1B3EL46R85N517231 ## Mail History Id: 30956040, Consumer Id: 814186, Address Id: 11888856 => Updated with Vin: 1FTRX14W26KC47413 ## Mail History Id: 30955976, Consumer Id: 814397, Address Id: 11888990 => Updated with Vin: 2GCEK13T451222984 ## Mail History Id: 30956216, Consumer Id: 814383, Address Id: 11888980 => Updated with Vin: 1GCEK19B35E171118 ## Mail History Id: 30956248, Consumer Id: 815384, Address Id: 11885070 => Updated with Vin: JTDJT923075034525 ## Mail History Id: 30956238, Consumer Id: 839644, Address Id: 11895373 => Updated with Vin: 1FTSW21P86EA04419 ## Mail History Id: 30956028, Consumer Id: 840057, Address Id: 11895633 => Updated with Vin: 1GKER23798J196806 ## Mail History Id: 30956130, Consumer Id: 840053, Address Id: 11895630 => Updated with Vin: 1FTZX1726XKA22177 ## Mail History Id: 30956120, Consumer Id: 829238, Address Id: 11880047 => Updated with Vin: 1GCEK19T24E247872 ## Mail History Id: 30956148, Consumer Id: 827303, Address Id: 11881888 => Updated with Vin: 3GNFK16T5YG142953 ## Mail History Id: 30956100, Consumer Id: 827112, Address Id: 11881763 => Updated with Vin: 1GCEK19TX3E377803 ## Mail History Id: 30956210, Consumer Id: 828144, Address Id: 11882645 => Updated with Vin: 2G1FP22G322161853 ## Mail History Id: 30956172, Consumer Id: 835581, Address Id: 11893057 => Updated with Vin: 1G1ND52F34M631003 ## Total mail_history records updated with vin numbers: 15 out of 16 ============================================================ ====== Tracking Id: 1913 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-30 11:19:23') AND us2_order_type_id = 3 ## Order found: 2147 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2147 AND product_id = 144 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3705 ## Mailing found: '13291' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916337, Consumer Id: 963088, Address Id: 14835847 => Updated with Vin: 3GKEC16Z35G291934 ## Mail History Id: 30916295, Consumer Id: 964853, Address Id: 14837289 => Updated with Vin: 1G1AK15F467813321 ## Mail History Id: 30916243, Consumer Id: 966972, Address Id: 14838888 => Updated with Vin: 1G2MB35B27Y107705 ## Mail History Id: 30916367, Consumer Id: 969543, Address Id: 14840786 => Updated with Vin: 5GAEV23768J107895 ## Mail History Id: 30916389, Consumer Id: 969794, Address Id: 14834939 => Updated with Vin: 2CKDL63F276085784 ## Mail History Id: 30916329, Consumer Id: 970590, Address Id: 14841526 => Updated with Vin: 1GKFC16007R406157 ## Mail History Id: 30916301, Consumer Id: 970696, Address Id: 14841646 => Updated with Vin: 5GAER23748J149728 ## Mail History Id: 30916273, Consumer Id: 974962, Address Id: 14842510 => Updated with Vin: 1GKEC13T15R186065 ## Mail History Id: 30916269, Consumer Id: 972657, Address Id: 11386590 => Updated with Vin: 1G1ZT68N37F138505 ## Mail History Id: 30916303, Consumer Id: 982533, Address Id: 14839500 => Updated with Vin: KL1TD56608B022906 ## Mail History Id: 30916247, Consumer Id: 982556, Address Id: 14929907 => Updated with Vin: 1G2ZG57N584155475 ## Mail History Id: 30916275, Consumer Id: 982535, Address Id: 14929892 => Updated with Vin: 5GAER23708J145160 ## Mail History Id: 30916311, Consumer Id: 982537, Address Id: 14929894 => Updated with Vin: 5GZCZ63417S833761 ## Mail History Id: 30916333, Consumer Id: 982527, Address Id: 14929890 => Updated with Vin: 2GCEK13M581188969 ## Mail History Id: 30916253, Consumer Id: 982528, Address Id: 11386478 => Updated with Vin: 2G1WT58K781312992 ## Mail History Id: 30916281, Consumer Id: 982530, Address Id: 14929891 => Updated with Vin: 1FTRF12W54NA46008 ## Mail History Id: 30916317, Consumer Id: 982539, Address Id: 14929895 => Updated with Vin: 2C3JA53G65H631446 ## Mail History Id: 30916251, Consumer Id: 982540, Address Id: 14929896 => Updated with Vin: 1GKFC66828J180772 ## Mail History Id: 30916287, Consumer Id: 982578, Address Id: 14831160 => Updated with Vin: 1GKER23738J127609 ## Mail History Id: 30916299, Consumer Id: 975707, Address Id: 14841549 => Updated with Vin: 1GCEC19Z95E237469 ## Mail History Id: 30916261, Consumer Id: 974526, Address Id: 9158779 => Updated with Vin: 1G4HP54K144135280 ## Mail History Id: 30916357, Consumer Id: 960877, Address Id: 14831525 => Updated with Vin: 2GCEC19TX31372678 ## Mail History Id: 30916315, Consumer Id: 982538, Address Id: 14837912 => Updated with Vin: 1G1YY22GXY5130893 ## Mail History Id: 30916377, Consumer Id: 968686, Address Id: 14838713 => Updated with Vin: 1GCHK33677F511582 ## Mail History Id: 30916279, Consumer Id: 978420, Address Id: 14845529 => Updated with Vin: 1GCCS138358245009 ## Mail History Id: 30916321, Consumer Id: 978802, Address Id: 9184497 => Updated with Vin: 1G1YY22G3Y5133070 ## Mail History Id: 30916341, Consumer Id: 1007264, Address Id: 14845762 => Updated with Vin: 1GNEC13Z62R260972 ## Mail History Id: 30916297, Consumer Id: 979059, Address Id: 14845881 => Updated with Vin: 2G1WF52E459206068 ## Mail History Id: 30916327, Consumer Id: 979971, Address Id: 14846399 => Updated with Vin: 1G2ZH368264273428 ## Mail History Id: 30916375, Consumer Id: 980203, Address Id: 14846538 => Updated with Vin: 1G2AL15F977135725 ## Mail History Id: 30916257, Consumer Id: 979947, Address Id: 14846386 => Updated with Vin: 2GCEC13Z671160296 ## Mail History Id: 30916325, Consumer Id: 960751, Address Id: 12056085 => Updated with Vin: 1GCGK29U6XZ179242 ## Total mail_history records updated with vin numbers: 32 out of 46 ============================================================ ====== Tracking Id: 1914 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-30 11:19:37') AND us2_order_type_id = 3 ## Order found: 2147 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2147 AND product_id = 106 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1915 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-30 11:20:21') AND us2_order_type_id = 3 ## Order found: 2148 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2148 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3808 ## Mailing found: '13294' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916063, Consumer Id: 1172419, Address Id: 15030457 => Updated with Vin: 3GNEC12027G317162 ## Mail History Id: 30916037, Consumer Id: 1172421, Address Id: 15029391 => Updated with Vin: 1GBDX23E94D144262 ## Mail History Id: 30916007, Consumer Id: 1172392, Address Id: 15029989 => Updated with Vin: 1GCJC33163F140847 ## Mail History Id: 30916013, Consumer Id: 1172417, Address Id: 15030455 => Updated with Vin: 1GCHC39F2WF030738 ## Mail History Id: 30916005, Consumer Id: 1172373, Address Id: 15029014 => Updated with Vin: 1GCEC14T3YZ176118 ## Mail History Id: 30916045, Consumer Id: 1172382, Address Id: 15030427 => Updated with Vin: 1G1ND52J53M572278 ## Total mail_history records updated with vin numbers: 6 out of 12 ============================================================ ====== Tracking Id: 1916 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-30 11:20:28') AND us2_order_type_id = 3 ## Order found: 2148 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2148 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3808 ## Mailing found: '13332' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956009, Consumer Id: 1266305, Address Id: 15437816 => Updated with Vin: 1G1AL55F967704163 ## Mail History Id: 30955939, Consumer Id: 1266280, Address Id: 15437794 => Updated with Vin: 3GNDA23D16S634578 ## Mail History Id: 30955963, Consumer Id: 1266270, Address Id: 15437785 => Updated with Vin: 1G1JC124127175040 ## Mail History Id: 30955983, Consumer Id: 1266503, Address Id: 15437977 => Updated with Vin: 1GDHG31R311901254 ## Mail History Id: 30955933, Consumer Id: 1266186, Address Id: 15437724 => Updated with Vin: 1GNES13H482103209 ## Mail History Id: 30955903, Consumer Id: 1266278, Address Id: 15437792 => Updated with Vin: 1GKEK13V35R154769 ## Mail History Id: 30955913, Consumer Id: 1265772, Address Id: 15437364 => Updated with Vin: 1GNET16S436164310 ## Mail History Id: 30956027, Consumer Id: 1266309, Address Id: 6140667 => Updated with Vin: 2GCEK19V141106973 ## Mail History Id: 30955905, Consumer Id: 1266183, Address Id: 15437721 => Updated with Vin: 1GNEC13Z92R294288 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 1917 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-30 11:20:33') AND us2_order_type_id = 3 ## Order found: 2149 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2149 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3721 ## Mailing found: '13292' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916300, Consumer Id: 1012312, Address Id: 6661800 => Updated with Vin: 4F2YU09132KM34486 ## Total mail_history records updated with vin numbers: 1 out of 3 ============================================================ ====== Tracking Id: 1918 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-30 11:20:40') AND us2_order_type_id = 3 ## Order found: 2148 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2148 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1919 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-30 11:20:44') AND us2_order_type_id = 3 ## Order found: 2148 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2148 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3808 ## Mailing found: '13332' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955923, Consumer Id: 1171338, Address Id: 15029534 => Updated with Vin: 3GCEC14X26G244876 ## Mail History Id: 30956033, Consumer Id: 1171345, Address Id: 4511797 => Updated with Vin: 2G1FP22K5W2123017 ## Mail History Id: 30956007, Consumer Id: 1171111, Address Id: 15029330 => Updated with Vin: 1G2NF52F74C110524 ## Mail History Id: 30955921, Consumer Id: 1171343, Address Id: 15029539 => Updated with Vin: 1GBJG31U951239507 ## Mail History Id: 30956039, Consumer Id: 1171346, Address Id: 15029541 => Updated with Vin: 1G6KF52Y0SU295722 ## Mail History Id: 30955981, Consumer Id: 1171303, Address Id: 15029503 => Updated with Vin: 2GCEC19T021181219 ## Mail History Id: 30956017, Consumer Id: 1171344, Address Id: 15029540 => Updated with Vin: 1G1YY26U375139479 ## Mail History Id: 30956029, Consumer Id: 1171342, Address Id: 15029538 => Updated with Vin: 2GCEK19T9X1239869 ## Mail History Id: 30955973, Consumer Id: 1171336, Address Id: 15029532 => Updated with Vin: 2GCEC19T011243135 ## Mail History Id: 30956025, Consumer Id: 1171198, Address Id: 15029409 => Updated with Vin: 2G1WF55E9Y9142528 ## Mail History Id: 30955927, Consumer Id: 1171333, Address Id: 15029529 => Updated with Vin: 1GBLP37JXT3300113 ## Mail History Id: 30955969, Consumer Id: 1171352, Address Id: 15029547 => Updated with Vin: 2G1WF52E929300152 ## Mail History Id: 30955931, Consumer Id: 1171350, Address Id: 15029545 => Updated with Vin: 2GCEK19V531379249 ## Total mail_history records updated with vin numbers: 13 out of 14 ============================================================ ====== Tracking Id: 1920 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-30 11:46:20') AND us2_order_type_id = 3 ## Order found: 2150 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2150 AND product_id = 142 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3357 ## Mailing found: '13283' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916691, Consumer Id: 1005585, Address Id: 14928084 => Updated with Vin: JM1BK12GX61528375 ## Mail History Id: 30916699, Consumer Id: 583552, Address Id: 10863244 => Updated with Vin: JM3ER29L580206082 ## Mail History Id: 30916763, Consumer Id: 820245, Address Id: 6903087 => Updated with Vin: 1D4GP24R56B650215 ## Mail History Id: 30916681, Consumer Id: 921674, Address Id: 11959867 => Updated with Vin: JM1BK344681865529 ## Mail History Id: 30916749, Consumer Id: 187872, Address Id: 399065 => Updated with Vin: 1FMYU60EX3UC04559 ## Mail History Id: 30916731, Consumer Id: 225061, Address Id: 434498 => Updated with Vin: 1FTPW14525KD44529 ## Mail History Id: 30916751, Consumer Id: 1005552, Address Id: 406199 => Updated with Vin: WDBPJ75J83A037431 ## Mail History Id: 30916733, Consumer Id: 1005557, Address Id: 14928065 => Updated with Vin: 1GNEK13T93R247150 ## Mail History Id: 30916729, Consumer Id: 151679, Address Id: 394064 => Updated with Vin: 1FTPX12575FB19578 ## Mail History Id: 30916773, Consumer Id: 1005589, Address Id: 12681357 => Updated with Vin: 1FMDU74E55ZA63713 ## Mail History Id: 30916697, Consumer Id: 195805, Address Id: 394956 => Updated with Vin: JM1BK324561537700 ## Mail History Id: 30916719, Consumer Id: 1005558, Address Id: 14928066 => Updated with Vin: 3D7LX38C66G192480 ## Mail History Id: 30916761, Consumer Id: 152320, Address Id: 394657 => Updated with Vin: 1FMCU93166KB18864 ## Mail History Id: 30916761, Consumer Id: 152320, Address Id: 394657 => Updated with Vin: 1FMCU93166KB18864 ## Mail History Id: 30916757, Consumer Id: 155145, Address Id: 397224 => Updated with Vin: JM3TB28C270116139 ## Mail History Id: 30916713, Consumer Id: 940245, Address Id: 397720 => Updated with Vin: JM1BK32G081851137 ## Mail History Id: 30916759, Consumer Id: 154606, Address Id: 396749 => Updated with Vin: JM1BK34MX71728592 ## Mail History Id: 30916783, Consumer Id: 155586, Address Id: 397630 => Updated with Vin: 2FMDK38C57BB68328 ## Mail History Id: 30916783, Consumer Id: 155586, Address Id: 397630 => Updated with Vin: 2FMDK38C57BB68328 ## Mail History Id: 30916737, Consumer Id: 196756, Address Id: 399429 => Updated with Vin: 1FTPW14557KD01600 ## Mail History Id: 30916781, Consumer Id: 155677, Address Id: 397714 => Updated with Vin: 4M2EU47E67UJ09434 ## Mail History Id: 30916705, Consumer Id: 1005564, Address Id: 14928071 => Updated with Vin: 1FAHP37N07W157297 ## Mail History Id: 30916741, Consumer Id: 174100, Address Id: 445939 => Updated with Vin: 1FTWW31R68ED02415 ## Mail History Id: 30916735, Consumer Id: 155588, Address Id: 397632 => Updated with Vin: 1FMCU59H98KB90934 ## Mail History Id: 30916767, Consumer Id: 198590, Address Id: 405896 => Updated with Vin: 1FDKE30G7THB67837 ## Mail History Id: 30916747, Consumer Id: 1005590, Address Id: 14928086 => Updated with Vin: JHMCG6694YC009441 ## Mail History Id: 30916765, Consumer Id: 1005562, Address Id: 14928069 => Updated with Vin: 1FMYU60X8YUA28992 ## Total mail_history records updated with vin numbers: 27 out of 45 ============================================================ ====== Tracking Id: 1921 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-30 11:46:25') AND us2_order_type_id = 3 ## Order found: 2150 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2150 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3357 ## Mailing found: '13320' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955512, Consumer Id: 199145, Address Id: 407402 => Updated with Vin: 1FTNW21F51EC96236 ## Mail History Id: 30955586, Consumer Id: 199972, Address Id: 400471 => Updated with Vin: 1FAFP40491F192698 ## Mail History Id: 30955544, Consumer Id: 199532, Address Id: 406687 => Updated with Vin: 1FTRW08L81KD84376 ## Mail History Id: 30955372, Consumer Id: 187285, Address Id: 398070 => Updated with Vin: 1FMFU16L24LB00011 ## Mail History Id: 30955384, Consumer Id: 192054, Address Id: 401488 => Updated with Vin: 1FAFP44654F242545 ## Mail History Id: 30955442, Consumer Id: 189606, Address Id: 399922 => Updated with Vin: JM1BK343X51268371 ## Mail History Id: 30955596, Consumer Id: 152463, Address Id: 394790 => Updated with Vin: 1FTPW14596FA53021 ## Mail History Id: 30955492, Consumer Id: 198808, Address Id: 399707 => Updated with Vin: 1FTYR44E22PA42198 ## Mail History Id: 30955452, Consumer Id: 197736, Address Id: 407198 => Updated with Vin: 1FMZU63KX2UD30148 ## Mail History Id: 30956501, Consumer Id: 197472, Address Id: 398231 => Updated with Vin: 4M2ZU86W82UJ22309 ## Mail History Id: 30955520, Consumer Id: 200177, Address Id: 407471 => Updated with Vin: 5FNRL18523B032927 ## Mail History Id: 30956479, Consumer Id: 192314, Address Id: 401840 => Updated with Vin: 1FMFU15L33LB19571 ## Mail History Id: 30955416, Consumer Id: 197511, Address Id: 405741 => Updated with Vin: 1LNHM87AX3Y647298 ## Mail History Id: 30956471, Consumer Id: 199764, Address Id: 407443 => Updated with Vin: 1FTSW31P04EB44483 ## Mail History Id: 30956419, Consumer Id: 200219, Address Id: 407476 => Updated with Vin: 5LMFU28R74LJ08061 ## Mail History Id: 30956497, Consumer Id: 152025, Address Id: 394389 => Updated with Vin: JM1FE173550158309 ## Mail History Id: 30955476, Consumer Id: 200044, Address Id: 397735 => Updated with Vin: 1HGCM55755A035138 ## Mail History Id: 30955368, Consumer Id: 193108, Address Id: 403064 => Updated with Vin: 1FMYU03165KA32034 ## Mail History Id: 30955436, Consumer Id: 194099, Address Id: 404443 => Updated with Vin: 1FTPW14595KC36196 ## Mail History Id: 30955564, Consumer Id: 200223, Address Id: 407477 => Updated with Vin: WVWAD63B95P050192 ## Mail History Id: 30956423, Consumer Id: 155549, Address Id: 397593 => Updated with Vin: 5LMEU88H15ZJ14944 ## Mail History Id: 30956467, Consumer Id: 200207, Address Id: 407474 => Updated with Vin: JM1BK324X61405631 ## Mail History Id: 30956417, Consumer Id: 153300, Address Id: 395555 => Updated with Vin: 1ZVHT82H865215730 ## Mail History Id: 30955374, Consumer Id: 197745, Address Id: 407199 => Updated with Vin: 1FDWF34P86EB20069 ## Mail History Id: 30956453, Consumer Id: 153299, Address Id: 395554 => Updated with Vin: 1FTPX12556KA91174 ## Mail History Id: 30955426, Consumer Id: 154541, Address Id: 396696 => Updated with Vin: JM1CR29L770147356 ## Mail History Id: 30955408, Consumer Id: 195206, Address Id: 404878 => Updated with Vin: JM1BK324371618079 ## Mail History Id: 30955496, Consumer Id: 199935, Address Id: 407455 => Updated with Vin: 1NXBR32E67Z906693 ## Mail History Id: 30955382, Consumer Id: 187781, Address Id: 399035 => Updated with Vin: 1FAFP55S21A146852 ## Mail History Id: 30955388, Consumer Id: 197828, Address Id: 407011 => Updated with Vin: 4F2YU08171KM11910 ## Mail History Id: 30955464, Consumer Id: 188171, Address Id: 399146 => Updated with Vin: 1YVFP80D735M55355 ## Mail History Id: 30956433, Consumer Id: 155107, Address Id: 397192 => Updated with Vin: 1ZVHT82H385104893 ## Mail History Id: 30955446, Consumer Id: 199611, Address Id: 407432 => Updated with Vin: 4M2DU86P9YUJ48199 ## Total mail_history records updated with vin numbers: 33 out of 41 ============================================================ ====== Tracking Id: 1922 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-30 11:46:32') AND us2_order_type_id = 3 ## Order found: 2149 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2149 AND product_id = 2150 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3721 ## Mailing found: '13292' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916292, Consumer Id: 1010706, Address Id: 6660203 => Updated with Vin: 1YVFP84C045N55719 ## Mail History Id: 30916296, Consumer Id: 1012820, Address Id: 6660684 => Updated with Vin: JM1NB354640409140 ## Mail History Id: 30916294, Consumer Id: 1008641, Address Id: 14930723 => Updated with Vin: 1YVGF22D4W5740407 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1923 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-30 11:46:38') AND us2_order_type_id = 3 ## Order found: 2150 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2150 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1924 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-30 11:46:41') AND us2_order_type_id = 3 ## Order found: 2150 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2150 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3357 ## Mailing found: '13320' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955390, Consumer Id: 187877, Address Id: 398518 => Updated with Vin: 1FMDU75W93ZA44456 ## Mail History Id: 30956495, Consumer Id: 196211, Address Id: 405327 => Updated with Vin: JM1BK343051247058 ## Mail History Id: 30956455, Consumer Id: 460565, Address Id: 9818754 => Updated with Vin: 1ZVFT80N855189337 ## Mail History Id: 30955414, Consumer Id: 460572, Address Id: 9818757 => Updated with Vin: 1FAHP34NX6W159383 ## Mail History Id: 30955556, Consumer Id: 154511, Address Id: 396667 => Updated with Vin: JM1FE173370210006 ## Mail History Id: 30956427, Consumer Id: 155009, Address Id: 397102 => Updated with Vin: JM1BK324X71627880 ## Mail History Id: 30956483, Consumer Id: 154748, Address Id: 396879 => Updated with Vin: JM1BK32G971682704 ## Mail History Id: 30955576, Consumer Id: 154645, Address Id: 396786 => Updated with Vin: 1YVHP80C675M36060 ## Mail History Id: 30955528, Consumer Id: 460563, Address Id: 9818752 => Updated with Vin: JM1BK32G771616183 ## Mail History Id: 30955478, Consumer Id: 460254, Address Id: 9818746 => Updated with Vin: 1FAFP34N07W237534 ## Mail History Id: 30955540, Consumer Id: 451090, Address Id: 9815881 => Updated with Vin: 4M2CU81138KJ20862 ## Total mail_history records updated with vin numbers: 11 out of 17 ============================================================ ====== Tracking Id: 1925 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-30 12:18:47') AND us2_order_type_id = 3 ## Order found: 2151 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2151 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1926 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-30 12:18:51') AND us2_order_type_id = 3 ## Order found: 2151 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2151 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3427 ## Mailing found: '13323' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1927 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-30 12:19:02') AND us2_order_type_id = 3 ## Order found: 2151 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2151 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3427 ## Mailing found: '13323' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956280, Consumer Id: 483451, Address Id: 8539737 => Updated with Vin: JHMGD37428S005504 ## Mail History Id: 30956296, Consumer Id: 483438, Address Id: 8540322 => Updated with Vin: 1HGFA16518L037067 ## Mail History Id: 30956284, Consumer Id: 483441, Address Id: 9838141 => Updated with Vin: 4S2CM57W224340582 ## Mail History Id: 30956294, Consumer Id: 483443, Address Id: 8540256 => Updated with Vin: 1HGCP36818A024998 ## Mail History Id: 30956274, Consumer Id: 483444, Address Id: 9838142 => Updated with Vin: 1HGFA16868L033185 ## Mail History Id: 30956286, Consumer Id: 483445, Address Id: 8540026 => Updated with Vin: 5FNYF18698B037366 ## Mail History Id: 30956282, Consumer Id: 483678, Address Id: 9838217 => Updated with Vin: 5FNRL389X8B012821 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 1928 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-30 12:19:02') AND us2_order_type_id = 3 ## Order found: 2152 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2152 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3471 ## Mailing found: '13288' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916489, Consumer Id: 800623, Address Id: 10214892 => Updated with Vin: 1GYEK63N23R171238 ## Mail History Id: 30916487, Consumer Id: 799353, Address Id: 7416888 => Updated with Vin: 1G6KE57Y62U191828 ## Mail History Id: 30916475, Consumer Id: 803592, Address Id: 7416622 => Updated with Vin: 1G6KY54953U111229 ## Mail History Id: 30916449, Consumer Id: 822041, Address Id: 11876266 => Updated with Vin: 1GYFK66867R293293 ## Mail History Id: 30916539, Consumer Id: 798336, Address Id: 10218449 => Updated with Vin: 1G6KS54Y6YU238751 ## Mail History Id: 30916433, Consumer Id: 773036, Address Id: 7415478 => Updated with Vin: 1GYEK63N85R172168 ## Mail History Id: 30916533, Consumer Id: 817014, Address Id: 10217802 => Updated with Vin: 1GYEE63A250107101 ## Total mail_history records updated with vin numbers: 7 out of 12 ============================================================ ====== Tracking Id: 1929 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-30 12:19:14') AND us2_order_type_id = 3 ## Order found: 2152 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2152 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3471 ## Mailing found: '13326' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956125, Consumer Id: 805498, Address Id: 7878745 => Updated with Vin: 1G6KD54Y61U115659 ## Mail History Id: 30956159, Consumer Id: 799811, Address Id: 10215271 => Updated with Vin: 1G6DM57NX30102529 ## Mail History Id: 30956179, Consumer Id: 806221, Address Id: 10216379 => Updated with Vin: 1GHDU03E3WD202999 ## Mail History Id: 30956143, Consumer Id: 799596, Address Id: 7416195 => Updated with Vin: 1G3GS64C024206236 ## Mail History Id: 30956119, Consumer Id: 803105, Address Id: 6527218 => Updated with Vin: 3GYEK63N72G342936 ## Mail History Id: 30956157, Consumer Id: 806937, Address Id: 11870781 => Updated with Vin: 1G6KD57Y96U154121 ## Mail History Id: 30956153, Consumer Id: 798121, Address Id: 7416986 => Updated with Vin: 1G6KS54Y9YU146923 ## Mail History Id: 30956205, Consumer Id: 772880, Address Id: 11873947 => Updated with Vin: 1GYFK66857R320337 ## Mail History Id: 30956141, Consumer Id: 805505, Address Id: 7416031 => Updated with Vin: 1GYEK63N43R270207 ## Mail History Id: 30956135, Consumer Id: 823389, Address Id: 11876290 => Updated with Vin: 1G6DG577980130421 ## Mail History Id: 30956147, Consumer Id: 823392, Address Id: 11876321 => Updated with Vin: 1G6DN57S740185115 ## Mail History Id: 30956171, Consumer Id: 823377, Address Id: 11876359 => Updated with Vin: W06VR54R3XR116060 ## Mail History Id: 30956165, Consumer Id: 823395, Address Id: 10215739 => Updated with Vin: 1GKFK66U76J158375 ## Mail History Id: 30956203, Consumer Id: 823396, Address Id: 11876506 => Updated with Vin: 1GYFK63867R181520 ## Mail History Id: 30956217, Consumer Id: 807015, Address Id: 11876895 => Updated with Vin: SAJEA51D03XD40489 ## Mail History Id: 30956103, Consumer Id: 806885, Address Id: 11876771 => Updated with Vin: 1G6DR57V680153714 ## Total mail_history records updated with vin numbers: 16 out of 17 ============================================================ ====== Tracking Id: 1930 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-30 12:19:15') AND us2_order_type_id = 3 ## Order found: 2153 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2153 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3451 ## Mailing found: '13286' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916579, Consumer Id: 626538, Address Id: 823693 => Updated with Vin: 1G6DW677950219720 ## Mail History Id: 30916623, Consumer Id: 613777, Address Id: 835141 => Updated with Vin: 1G6DM57N730111673 ## Mail History Id: 30916633, Consumer Id: 612540, Address Id: 11756187 => Updated with Vin: 1G6KF57911U161298 ## Mail History Id: 30916599, Consumer Id: 615826, Address Id: 11758195 => Updated with Vin: 1G6DM57N830160882 ## Mail History Id: 30916611, Consumer Id: 615813, Address Id: 11758187 => Updated with Vin: 1G6CB53B7P4200395 ## Mail History Id: 30916639, Consumer Id: 872546, Address Id: 11759002 => Updated with Vin: 1G6DM57T670168029 ## Mail History Id: 30916591, Consumer Id: 617980, Address Id: 825899 => Updated with Vin: 1G6KD54Y52U148900 ## Mail History Id: 30916671, Consumer Id: 613871, Address Id: 11757002 => Updated with Vin: 1G6DM57NX30149656 ## Mail History Id: 30916675, Consumer Id: 619833, Address Id: 11760905 => Updated with Vin: 1G6KD54Y54U141450 ## Mail History Id: 30916575, Consumer Id: 621839, Address Id: 822704 => Updated with Vin: 1GYEK63N85R228786 ## Mail History Id: 30916653, Consumer Id: 623918, Address Id: 11762941 => Updated with Vin: 1G6VS3397PU100114 ## Mail History Id: 30916661, Consumer Id: 611583, Address Id: 11759426 => Updated with Vin: 1G6KD54Y73U223355 ## Mail History Id: 30916605, Consumer Id: 627007, Address Id: 3404215 => Updated with Vin: 1GYEE637X50201991 ## Mail History Id: 30916621, Consumer Id: 611921, Address Id: 835117 => Updated with Vin: 1G6KD57Y46U235494 ## Mail History Id: 30916595, Consumer Id: 626429, Address Id: 11763895 => Updated with Vin: 1GYFK638X7R224188 ## Mail History Id: 30916635, Consumer Id: 628163, Address Id: 11765483 => Updated with Vin: 1G6KD57Y37U114487 ## Mail History Id: 30916665, Consumer Id: 871622, Address Id: 3246369 => Updated with Vin: 3GYFK62867G196715 ## Mail History Id: 30916627, Consumer Id: 873740, Address Id: 11765069 => Updated with Vin: 1G6EL12Y1TU605778 ## Mail History Id: 30916677, Consumer Id: 871623, Address Id: 11911892 => Updated with Vin: 1G6YV34A345602184 ## Mail History Id: 30915995, Consumer Id: 872545, Address Id: 11912526 => Updated with Vin: 1G6KD57Y64U127875 ## Mail History Id: 30916581, Consumer Id: 872273, Address Id: 11912524 => Updated with Vin: 1G6KD54Y13U181698 ## Mail History Id: 30916585, Consumer Id: 872274, Address Id: 11912525 => Updated with Vin: 1G6DM577180110480 ## Total mail_history records updated with vin numbers: 22 out of 49 ============================================================ ====== Tracking Id: 1931 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-30 14:16:49') AND us2_order_type_id = 3 ## Order found: 2153 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2153 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3451 ## Mailing found: '13324' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956241, Consumer Id: 613608, Address Id: 824029 => Updated with Vin: 1G6KD54Y91U166007 ## Mail History Id: 30956361, Consumer Id: 626849, Address Id: 11764147 => Updated with Vin: 1G6KD54Y62U146511 ## Mail History Id: 30956357, Consumer Id: 627976, Address Id: 1246135 => Updated with Vin: 1G6DP567150151082 ## Mail History Id: 30956321, Consumer Id: 627595, Address Id: 11765093 => Updated with Vin: KMHDN46D86U264049 ## Mail History Id: 30956291, Consumer Id: 627978, Address Id: 11765357 => Updated with Vin: 1GNEC13Z14J275459 ## Mail History Id: 30956413, Consumer Id: 627899, Address Id: 11765302 => Updated with Vin: 1G6YX36D465602828 ## Mail History Id: 30956341, Consumer Id: 628018, Address Id: 3404681 => Updated with Vin: 1G6KD54Y15U217618 ## Mail History Id: 30956305, Consumer Id: 627982, Address Id: 11765361 => Updated with Vin: JTKDE177770156292 ## Mail History Id: 30956333, Consumer Id: 628019, Address Id: 11765381 => Updated with Vin: 1GYFK63837R384526 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 1932 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-08-30 19:56:08') AND us2_order_type_id = 3 ## Order found: 2139 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2139 AND product_id = 2152 ## Job Group Found: '566' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('566') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408006') AND customer_id = 3846 ## Mailing found: '13370' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30999321, Consumer Id: 1179420, Address Id: 15366323 => Updated with Vin: 4S3BH635727309146 ## Mail History Id: 30999323, Consumer Id: 289886, Address Id: 4423688 => Updated with Vin: 4S3BH635927309133 ## Mail History Id: 30999325, Consumer Id: 1186188, Address Id: 11678184 => Updated with Vin: JF1SG63648H704454 ## Mail History Id: 30999327, Consumer Id: 1182139, Address Id: 15367482 => Updated with Vin: 4S3BP686254321621 ## Mail History Id: 30999331, Consumer Id: 1185148, Address Id: 15369287 => Updated with Vin: 4S3BH815947622622 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 1933 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-08-30 19:56:20') AND us2_order_type_id = 3 ## Order found: 2139 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2139 AND product_id = 2147 ## Job Group Found: '562' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('562') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408002') AND customer_id = 3846 ## Mailing found: '13417' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31003422, Consumer Id: 1186975, Address Id: 15371316 => Updated with Vin: 4S3BE896837203505 ## Mail History Id: 31003424, Consumer Id: 1186986, Address Id: 15371433 => Updated with Vin: 4S3BH686216636561 ## Mail History Id: 31003426, Consumer Id: 1186981, Address Id: 15371425 => Updated with Vin: JF2SH64609H700104 ## Mail History Id: 31003428, Consumer Id: 1186977, Address Id: 11960123 => Updated with Vin: 4S3BH6650Y7617134 ## Mail History Id: 31003430, Consumer Id: 1186710, Address Id: 15371228 => Updated with Vin: 4S4BP60CX87310110 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 1934 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-08-30 19:56:32') AND us2_order_type_id = 3 ## Order found: 2139 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2139 AND product_id = 2150 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3846 ## Mailing found: '13410' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1935 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-30 20:16:21') AND us2_order_type_id = 3 ## Order found: 2154 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2154 AND product_id = 2147 ## Job Group Found: '562' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('562') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408002') AND customer_id = 3503 ## Mailing found: '13414' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31003432, Consumer Id: 2159190, Address Id: 9723448 => Updated with Vin: JTDBR32EX42039584 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 1936 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-30 20:16:33') AND us2_order_type_id = 3 ## Order found: 2154 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2154 AND product_id = 2152 ## Job Group Found: '566' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('566') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408006') AND customer_id = 3503 ## Mailing found: '13368' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30999335, Consumer Id: 2164680, Address Id: 461105 => Updated with Vin: 4T1BE32K04U790243 ## Mail History Id: 30999341, Consumer Id: 2173823, Address Id: 9721712 => Updated with Vin: 2T1CF22P7YC335808 ## Total mail_history records updated with vin numbers: 2 out of 5 ============================================================ ====== Tracking Id: 1937 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-08-31 08:46:32') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 1938 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-31 09:20:00') AND us2_order_type_id = 3 ## Order found: 2155 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2155 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3470 ## Mailing found: '13325' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955758, Consumer Id: 572836, Address Id: 4101217 => Updated with Vin: 2B3KA33G08H158475 ## Mail History Id: 30955641, Consumer Id: 572977, Address Id: 10719407 => Updated with Vin: JHMAP21435S004485 ## Mail History Id: 30955665, Consumer Id: 572986, Address Id: 6214949 => Updated with Vin: 2D8HN44H98R632297 ## Mail History Id: 30955631, Consumer Id: 572871, Address Id: 3958210 => Updated with Vin: 1A8HX58N88F120478 ## Mail History Id: 30955695, Consumer Id: 572870, Address Id: 2505746 => Updated with Vin: 2D8HN54XX8R645332 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 1939 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-31 09:20:33') AND us2_order_type_id = 3 ## Order found: 2156 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2156 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1940 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-08-31 09:20:36') AND us2_order_type_id = 3 ## Order found: 2156 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2156 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3768 ## Mailing found: '13331' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955701, Consumer Id: 1047937, Address Id: 14953821 => Updated with Vin: 1G6KD54Y91U248898 ## Mail History Id: 30956268, Consumer Id: 1115964, Address Id: 14983929 => Updated with Vin: 3GYEK63N22G280815 ## Mail History Id: 30956354, Consumer Id: 1115702, Address Id: 7345383 => Updated with Vin: JNKCV51E63M304077 ## Mail History Id: 30956408, Consumer Id: 1050251, Address Id: 14952661 => Updated with Vin: 1G6CD53BXP4234857 ## Mail History Id: 30956350, Consumer Id: 1108386, Address Id: 2850836 => Updated with Vin: 1G6KD54Y1WU763627 ## Mail History Id: 30956382, Consumer Id: 1115958, Address Id: 5987170 => Updated with Vin: 1G6KD54Y15U212628 ## Mail History Id: 30956324, Consumer Id: 1107489, Address Id: 3238511 => Updated with Vin: 1G3WH15M8RD316322 ## Mail History Id: 30956352, Consumer Id: 1114137, Address Id: 14983452 => Updated with Vin: 1G6KS5333LU832003 ## Mail History Id: 30956358, Consumer Id: 1115961, Address Id: 14983928 => Updated with Vin: 1G6DW547XMR705767 ## Mail History Id: 30956384, Consumer Id: 1112744, Address Id: 14983116 => Updated with Vin: 1G6KY5290SU813749 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 1941 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-08-31 10:16:43') AND us2_order_type_id = 3 ## Order found: 2157 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2157 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3846 ## Mailing found: '13486' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 13 ============================================================ ====== Tracking Id: 1942 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-08-31 10:19:37') AND us2_order_type_id = 3 ## Order found: 2155 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2155 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3470 ## Mailing found: '13287' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916164, Consumer Id: 582360, Address Id: 1955801 => Updated with Vin: JTKDE177070173306 ## Mail History Id: 30916210, Consumer Id: 570466, Address Id: 10692115 => Updated with Vin: 1D8HD48P57F500390 ## Mail History Id: 30916192, Consumer Id: 558367, Address Id: 10686611 => Updated with Vin: 2C4GP44R65R122014 ## Mail History Id: 30916250, Consumer Id: 982021, Address Id: 10699353 => Updated with Vin: 1B3HB28B48D742437 ## Mail History Id: 30916286, Consumer Id: 572842, Address Id: 7267253 => Updated with Vin: 2C3LA63H67H790753 ## Mail History Id: 30916224, Consumer Id: 573541, Address Id: 5396031 => Updated with Vin: 1J4GK58K75W593379 ## Mail History Id: 30916212, Consumer Id: 567320, Address Id: 10711921 => Updated with Vin: 1J4GS48K56C297208 ## Mail History Id: 30916196, Consumer Id: 579264, Address Id: 5392940 => Updated with Vin: 2A4GM48436R871517 ## Mail History Id: 30916228, Consumer Id: 570633, Address Id: 10717282 => Updated with Vin: 1D8GT28KX7W683518 ## Mail History Id: 30916228, Consumer Id: 570633, Address Id: 10717282 => Updated with Vin: 1D8GT28KX7W683518 ## Mail History Id: 30916206, Consumer Id: 581172, Address Id: 10740768 => Updated with Vin: 1J4GL58K82W176006 ## Mail History Id: 30916168, Consumer Id: 572230, Address Id: 10718024 => Updated with Vin: 1D7HE22K97S253580 ## Mail History Id: 30916194, Consumer Id: 572040, Address Id: 10718991 => Updated with Vin: 1B3LC56K68N582065 ## Mail History Id: 30916204, Consumer Id: 571622, Address Id: 1182842 => Updated with Vin: 2B3KA43R58H107318 ## Mail History Id: 30916274, Consumer Id: 571558, Address Id: 10718853 => Updated with Vin: 5N1AR18U36C614745 ## Mail History Id: 30916270, Consumer Id: 571354, Address Id: 10717840 => Updated with Vin: 2B3KA43R57H865903 ## Mail History Id: 30916198, Consumer Id: 572286, Address Id: 1544409 => Updated with Vin: 2A8HR44H08R604139 ## Mail History Id: 30916232, Consumer Id: 552697, Address Id: 10602626 => Updated with Vin: 1J8GP28K18W144640 ## Mail History Id: 30916262, Consumer Id: 982030, Address Id: 14929177 => Updated with Vin: 1J8HH48N58C154063 ## Mail History Id: 30916282, Consumer Id: 982027, Address Id: 7266968 => Updated with Vin: 2A8HR54P08R709924 ## Mail History Id: 30916226, Consumer Id: 982032, Address Id: 4904314 => Updated with Vin: 1J4GB59147L104592 ## Mail History Id: 30916188, Consumer Id: 1026737, Address Id: 5391072 => Updated with Vin: 1J4FA24138L618763 ## Total mail_history records updated with vin numbers: 22 out of 48 ============================================================ ====== Tracking Id: 1943 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-31 10:19:53') AND us2_order_type_id = 3 ## Order found: 2158 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2158 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3416 ## Mailing found: '13284' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916602, Consumer Id: 625300, Address Id: 1964411 => Updated with Vin: 1G6KS54Y63U288848 ## Mail History Id: 30916556, Consumer Id: 625508, Address Id: 7431045 => Updated with Vin: 1G6KE54Y92U129571 ## Mail History Id: 30916622, Consumer Id: 693073, Address Id: 11798522 => Updated with Vin: 1N4BA41E87C837553 ## Mail History Id: 30916616, Consumer Id: 625891, Address Id: 11766177 => Updated with Vin: 1G6DG577680155826 ## Mail History Id: 30916606, Consumer Id: 693317, Address Id: 11798783 => Updated with Vin: JNKCV54E83M213212 ## Mail History Id: 30916588, Consumer Id: 1006635, Address Id: 14929300 => Updated with Vin: 2T2HA31U04C036068 ## Mail History Id: 30916596, Consumer Id: 1006626, Address Id: 3760873 => Updated with Vin: 1G6KY5299TU836335 ## Mail History Id: 30916628, Consumer Id: 1006625, Address Id: 14929295 => Updated with Vin: 1G6KY5296VU841592 ## Mail History Id: 30916564, Consumer Id: 982113, Address Id: 1967007 => Updated with Vin: 1G6KD57YX8U140845 ## Mail History Id: 30916644, Consumer Id: 683130, Address Id: 1969494 => Updated with Vin: 1G6KD54YX1U281179 ## Mail History Id: 30916654, Consumer Id: 689941, Address Id: 1969613 => Updated with Vin: 1GYEK63N23R146128 ## Mail History Id: 30916664, Consumer Id: 688464, Address Id: 1969976 => Updated with Vin: 1G6DP567150109771 ## Mail History Id: 30916586, Consumer Id: 691732, Address Id: 10933566 => Updated with Vin: 1GYEE637540179204 ## Mail History Id: 30916570, Consumer Id: 871365, Address Id: 1959195 => Updated with Vin: 1G6DD67V680178276 ## Mail History Id: 30916626, Consumer Id: 1006628, Address Id: 14929298 => Updated with Vin: 1G1NE52J7Y6143183 ## Mail History Id: 30916656, Consumer Id: 872276, Address Id: 4798425 => Updated with Vin: 1G6KD57966U115866 ## Mail History Id: 30916634, Consumer Id: 629826, Address Id: 3764379 => Updated with Vin: 1G6DP577070140429 ## Mail History Id: 30916584, Consumer Id: 687260, Address Id: 1961111 => Updated with Vin: 1G6KD54Y6WU703164 ## Mail History Id: 30916560, Consumer Id: 690974, Address Id: 11797791 => Updated with Vin: 1G6KF57984U146446 ## Mail History Id: 30916614, Consumer Id: 625279, Address Id: 1968024 => Updated with Vin: 1GYEE63A270185459 ## Mail History Id: 30916666, Consumer Id: 629301, Address Id: 1969984 => Updated with Vin: 1G6DP577360176601 ## Mail History Id: 30916636, Consumer Id: 684840, Address Id: 1969179 => Updated with Vin: 1G6DM57N030166269 ## Mail History Id: 30916648, Consumer Id: 691568, Address Id: 1969525 => Updated with Vin: 1G6KD57Y77U125105 ## Mail History Id: 30916638, Consumer Id: 627155, Address Id: 11764741 => Updated with Vin: 1G6KD54Y75U216599 ## Mail History Id: 30916566, Consumer Id: 627093, Address Id: 3750928 => Updated with Vin: 1G6DP577960135468 ## Total mail_history records updated with vin numbers: 25 out of 36 ============================================================ ====== Tracking Id: 1944 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-31 10:20:32') AND us2_order_type_id = 3 ## Order found: 2159 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2159 AND product_id = 2150 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3418 ## Mailing found: '13285' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916524, Consumer Id: 610720, Address Id: 11755404 => Updated with Vin: 1G6DS57V580152400 ## Mail History Id: 30916504, Consumer Id: 610734, Address Id: 11755414 => Updated with Vin: 1G6KS54Y14U131147 ## Mail History Id: 30916348, Consumer Id: 610723, Address Id: 11755407 => Updated with Vin: 1GYEE437080136819 ## Total mail_history records updated with vin numbers: 3 out of 5 ============================================================ ====== Tracking Id: 1945 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-31 10:20:44') AND us2_order_type_id = 3 ## Order found: 2159 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2159 AND product_id = 2153 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1946 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-31 10:20:47') AND us2_order_type_id = 3 ## Order found: 2159 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2159 AND product_id = 2152 ## Job Group Found: '560' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('560') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208006') AND customer_id = 3418 ## Mailing found: '13316' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30917082, Consumer Id: 610342, Address Id: 11755076 => Updated with Vin: 1GYFK63858R140975 ## Mail History Id: 30917084, Consumer Id: 676747, Address Id: 8873986 => Updated with Vin: 1G6DM57T860210358 ## Mail History Id: 30917086, Consumer Id: 668556, Address Id: 11786739 => Updated with Vin: 1G6KS52Y6SU821038 ## Mail History Id: 30917088, Consumer Id: 674952, Address Id: 11755719 => Updated with Vin: 1G6DW677760156862 ## Mail History Id: 30917090, Consumer Id: 675970, Address Id: 6773495 => Updated with Vin: 1G6DP577460123342 ## Mail History Id: 30917092, Consumer Id: 680243, Address Id: 11794100 => Updated with Vin: 1GKDT13S522341207 ## Mail History Id: 30917094, Consumer Id: 671701, Address Id: 11788832 => Updated with Vin: 1G6DC67A050164546 ## Mail History Id: 30917096, Consumer Id: 673119, Address Id: 11785586 => Updated with Vin: 1G6DC67A650167807 ## Mail History Id: 30917098, Consumer Id: 610155, Address Id: 11754911 => Updated with Vin: 1GYEE637080106392 ## Mail History Id: 30917015, Consumer Id: 680680, Address Id: 11794384 => Updated with Vin: 1G1ZT54864F242993 ## Mail History Id: 30917017, Consumer Id: 680682, Address Id: 11794385 => Updated with Vin: 3MEFM07156R666226 ## Mail History Id: 30917019, Consumer Id: 680677, Address Id: 11794381 => Updated with Vin: 1G6DW677560173014 ## Total mail_history records updated with vin numbers: 12 out of 14 ============================================================ ====== Tracking Id: 1947 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-31 10:22:55') AND us2_order_type_id = 3 ## Order found: 2160 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2160 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3795 ## Mailing found: '13483' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 22 ============================================================ ====== Tracking Id: 1948 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-31 10:23:07') AND us2_order_type_id = 3 ## Order found: 2160 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2160 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3795 ## Mailing found: '13463' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100209, Consumer Id: 1053205, Address Id: 7705896 => Updated with Vin: 1HGEJ8242YL129371 ## Mail History Id: 31100199, Consumer Id: 1055044, Address Id: 14955978 => Updated with Vin: 2HGEJ6616YH578442 ## Mail History Id: 31100227, Consumer Id: 1055224, Address Id: 3104954 => Updated with Vin: 1G2HX52K5XH221409 ## Mail History Id: 31100073, Consumer Id: 1056322, Address Id: 14956353 => Updated with Vin: 2HJYK16246H550054 ## Mail History Id: 31100229, Consumer Id: 1058363, Address Id: 14956916 => Updated with Vin: 5FNRL38726B434139 ## Mail History Id: 31100211, Consumer Id: 1058558, Address Id: 190399 => Updated with Vin: 5FNYF28107B035479 ## Mail History Id: 31100141, Consumer Id: 1059878, Address Id: 4955783 => Updated with Vin: 1GBFG15R521136225 ## Mail History Id: 31100143, Consumer Id: 1059871, Address Id: 14884019 => Updated with Vin: 1HGCP26838A017318 ## Mail History Id: 31100107, Consumer Id: 1059873, Address Id: 7678524 => Updated with Vin: 1HGCP26888A028735 ## Mail History Id: 31100207, Consumer Id: 1058490, Address Id: 186261 => Updated with Vin: 2HKRL1862YH537075 ## Mail History Id: 31100129, Consumer Id: 1059870, Address Id: 4947278 => Updated with Vin: 1FTNX21L84EC67921 ## Mail History Id: 31100111, Consumer Id: 1053867, Address Id: 6083052 => Updated with Vin: 1HGCM56316A059014 ## Total mail_history records updated with vin numbers: 12 out of 16 ============================================================ ====== Tracking Id: 1949 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-08-31 10:23:19') AND us2_order_type_id = 3 ## Order found: 2160 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2160 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3795 ## Mailing found: '13463' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100183, Consumer Id: 1055025, Address Id: 14955970 => Updated with Vin: 1HGCG5649XA118036 ## Mail History Id: 31100127, Consumer Id: 1060015, Address Id: 6868599 => Updated with Vin: 1FMEU63E36UA35892 ## Mail History Id: 31100079, Consumer Id: 1060019, Address Id: 14957364 => Updated with Vin: KMHWF35H65A211211 ## Mail History Id: 31100147, Consumer Id: 1061076, Address Id: 3011268 => Updated with Vin: 1HGEM229X4L020831 ## Total mail_history records updated with vin numbers: 4 out of 7 ============================================================ ====== Tracking Id: 1950 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-31 10:23:39') AND us2_order_type_id = 3 ## Order found: 2161 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2161 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3697 ## Mailing found: '13329' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955625, Consumer Id: 1044418, Address Id: 14952823 => Updated with Vin: 1GYEE637870154382 ## Mail History Id: 30956438, Consumer Id: 1049063, Address Id: 14954110 => Updated with Vin: 1GYFK63847R178518 ## Mail History Id: 30956402, Consumer Id: 1041541, Address Id: 14952111 => Updated with Vin: 1GHDX03E9XD290224 ## Mail History Id: 30956406, Consumer Id: 1051621, Address Id: 14954835 => Updated with Vin: 1G6KD54Y51U248865 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1951 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-08-31 10:23:51') AND us2_order_type_id = 3 ## Order found: 2161 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2161 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3697 ## Mailing found: '13329' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956332, Consumer Id: 1042024, Address Id: 3239497 => Updated with Vin: 1G6KS54YX1U144233 ## Mail History Id: 30956300, Consumer Id: 1050499, Address Id: 11939021 => Updated with Vin: 1G6KE57Y4YU224818 ## Mail History Id: 30956336, Consumer Id: 1042166, Address Id: 1144368 => Updated with Vin: 1G6DM57N930112825 ## Mail History Id: 30956398, Consumer Id: 1042573, Address Id: 5989240 => Updated with Vin: 1G6KE57Y33U205668 ## Mail History Id: 30956436, Consumer Id: 1051389, Address Id: 10725242 => Updated with Vin: 1GKES16S736197138 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 1952 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-31 10:25:48') AND us2_order_type_id = 3 ## Order found: 2162 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2162 AND product_id = 2153 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3815 ## Mailing found: '13333' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956448, Consumer Id: 1368108, Address Id: 15634722 => Updated with Vin: 1HGCD5631TA161859 ## Mail History Id: 30956318, Consumer Id: 1378899, Address Id: 15671587 => Updated with Vin: 1HGCG1654WA065164 ## Mail History Id: 30956486, Consumer Id: 1364415, Address Id: 3456315 => Updated with Vin: JHLRD78812C001399 ## Mail History Id: 30956472, Consumer Id: 1369279, Address Id: 15634150 => Updated with Vin: 1HGCM66583A035523 ## Mail History Id: 30956466, Consumer Id: 1360864, Address Id: 15633223 => Updated with Vin: 5FNRL38245B008195 ## Mail History Id: 30956396, Consumer Id: 1367710, Address Id: 15634103 => Updated with Vin: 1HGCD5636TA154387 ## Mail History Id: 30956462, Consumer Id: 1377679, Address Id: 15670977 => Updated with Vin: 2HKRL18632H517473 ## Mail History Id: 30956446, Consumer Id: 1365129, Address Id: 15638135 => Updated with Vin: SHSRD78444U226229 ## Mail History Id: 30956316, Consumer Id: 1366520, Address Id: 15639322 => Updated with Vin: JHLRE48747C113964 ## Mail History Id: 30956456, Consumer Id: 1366481, Address Id: 15639295 => Updated with Vin: 5J6RE48577L009345 ## Mail History Id: 30956496, Consumer Id: 1366521, Address Id: 15639323 => Updated with Vin: 1HGCM82657A004939 ## Mail History Id: 30956302, Consumer Id: 1366412, Address Id: 4719594 => Updated with Vin: 2HGFG11837H565088 ## Total mail_history records updated with vin numbers: 12 out of 13 ============================================================ ====== Tracking Id: 1953 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-31 10:26:00') AND us2_order_type_id = 3 ## Order found: 2162 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2162 AND product_id = 2152 ## Job Group Found: '560' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('560') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208006') AND customer_id = 3815 ## Mailing found: '13318' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30917021, Consumer Id: 1371673, Address Id: 15640210 => Updated with Vin: 1HGCG2254XA026863 ## Mail History Id: 30917023, Consumer Id: 1366697, Address Id: 6223642 => Updated with Vin: 5FNRL38437B143883 ## Mail History Id: 30917025, Consumer Id: 1360987, Address Id: 15633314 => Updated with Vin: 5J6YH28634L037025 ## Mail History Id: 30917027, Consumer Id: 1361856, Address Id: 15633936 => Updated with Vin: SHSRD78865U329642 ## Mail History Id: 30917029, Consumer Id: 1361855, Address Id: 15633935 => Updated with Vin: SHSRD78915U336572 ## Mail History Id: 30917031, Consumer Id: 1366470, Address Id: 15635979 => Updated with Vin: 1HGCM568X7A114928 ## Mail History Id: 30917033, Consumer Id: 1366836, Address Id: 10917732 => Updated with Vin: JHMCP267X8C000735 ## Mail History Id: 30917035, Consumer Id: 1379126, Address Id: 2111537 => Updated with Vin: 2HGFG12627H534850 ## Mail History Id: 30917037, Consumer Id: 1379108, Address Id: 15671723 => Updated with Vin: 5FNYF18685B062772 ## Mail History Id: 30917039, Consumer Id: 1366844, Address Id: 8956786 => Updated with Vin: 5J6RE48528L000070 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 1954 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-08-31 10:26:12') AND us2_order_type_id = 3 ## Order found: 2162 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2162 AND product_id = 2150 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3815 ## Mailing found: '13295' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1955 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-31 11:16:33') AND us2_order_type_id = 3 ## Order found: 2163 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2163 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3486 ## Mailing found: '13327' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955595, Consumer Id: 471259, Address Id: 3862134 => Updated with Vin: 1GNFC13007R272015 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 1956 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-08-31 11:16:45') AND us2_order_type_id = 3 ## Order found: 2163 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2163 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3486 ## Mailing found: '13327' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955393, Consumer Id: 464957, Address Id: 1036648 => Updated with Vin: 1GNEC13Z04J158567 ## Mail History Id: 30955513, Consumer Id: 478623, Address Id: 9824234 => Updated with Vin: 1GCEK14V53Z260468 ## Mail History Id: 30955521, Consumer Id: 467500, Address Id: 1343564 => Updated with Vin: 1GNDS13S132383462 ## Mail History Id: 30955593, Consumer Id: 481063, Address Id: 9824776 => Updated with Vin: 1GNEK13Z12R261496 ## Mail History Id: 30955367, Consumer Id: 485708, Address Id: 1208698 => Updated with Vin: 2G1WW15E729160123 ## Mail History Id: 30955523, Consumer Id: 490030, Address Id: 1343681 => Updated with Vin: 1GCEC19XX4Z120456 ## Mail History Id: 30955551, Consumer Id: 490013, Address Id: 1084122 => Updated with Vin: 1GNEC13V85R165069 ## Mail History Id: 30956298, Consumer Id: 470771, Address Id: 9823272 => Updated with Vin: 1G1AK58F577348858 ## Mail History Id: 30955403, Consumer Id: 470778, Address Id: 9823273 => Updated with Vin: 1G1AK15F677171802 ## Mail History Id: 30955557, Consumer Id: 490057, Address Id: 9826377 => Updated with Vin: 1GNEC16Z12J303494 ## Total mail_history records updated with vin numbers: 10 out of 14 ============================================================ ====== Tracking Id: 1957 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-31 11:17:28') AND us2_order_type_id = 3 ## Order found: 2158 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2158 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3416 ## Mailing found: '13321' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955799, Consumer Id: 692898, Address Id: 11798573 => Updated with Vin: 1HGES16514L001141 ## Mail History Id: 30955841, Consumer Id: 692893, Address Id: 11798569 => Updated with Vin: 1G6KY54981U144058 ## Mail History Id: 30955891, Consumer Id: 625683, Address Id: 11766079 => Updated with Vin: 1G6DP567450110431 ## Mail History Id: 30955771, Consumer Id: 683717, Address Id: 11795457 => Updated with Vin: 1G6KD54Y0YU248847 ## Mail History Id: 30955763, Consumer Id: 689568, Address Id: 11795975 => Updated with Vin: 1G6KD52Y7TU202881 ## Mail History Id: 30955745, Consumer Id: 684802, Address Id: 1959394 => Updated with Vin: 1G6ET1293WU605570 ## Mail History Id: 30955811, Consumer Id: 686708, Address Id: 11796351 => Updated with Vin: 2G1WL52M7W1104148 ## Mail History Id: 30955759, Consumer Id: 625708, Address Id: 11766096 => Updated with Vin: 1G6KD57YX8U116562 ## Mail History Id: 30955773, Consumer Id: 688249, Address Id: 11796800 => Updated with Vin: 1G6DP567650152065 ## Total mail_history records updated with vin numbers: 9 out of 11 ============================================================ ====== Tracking Id: 1958 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-31 11:17:40') AND us2_order_type_id = 3 ## Order found: 2164 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2164 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3491 ## Mailing found: '13289' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916129, Consumer Id: 814282, Address Id: 11876038 => Updated with Vin: 2GCEK190571730090 ## Mail History Id: 30916189, Consumer Id: 815338, Address Id: 11890173 => Updated with Vin: 1GNDV33W97D191979 ## Mail History Id: 30916183, Consumer Id: 839663, Address Id: 11885819 => Updated with Vin: 1G1JC524417355456 ## Mail History Id: 30916223, Consumer Id: 815759, Address Id: 11890474 => Updated with Vin: 3GNDA13D58S589058 ## Mail History Id: 30916083, Consumer Id: 815585, Address Id: 11888260 => Updated with Vin: 1GNEK13Z44R217818 ## Mail History Id: 30916197, Consumer Id: 815558, Address Id: 11887549 => Updated with Vin: 2A4GM68466R867232 ## Mail History Id: 30916127, Consumer Id: 815531, Address Id: 11890301 => Updated with Vin: 1D4GP25R35B306105 ## Mail History Id: 30916099, Consumer Id: 815977, Address Id: 11891182 => Updated with Vin: 1GCHK23688F171273 ## Mail History Id: 30916185, Consumer Id: 982355, Address Id: 14929615 => Updated with Vin: 1G6KE57Y31U174161 ## Mail History Id: 30916177, Consumer Id: 1027240, Address Id: 14941124 => Updated with Vin: 2G2WR524051335790 ## Mail History Id: 30916115, Consumer Id: 982362, Address Id: 14929621 => Updated with Vin: 1G1AK58F587313223 ## Mail History Id: 30916077, Consumer Id: 982352, Address Id: 14929612 => Updated with Vin: 3GNCA13D98S679194 ## Mail History Id: 30916109, Consumer Id: 982351, Address Id: 14929611 => Updated with Vin: KL1TD66648B192661 ## Mail History Id: 30916151, Consumer Id: 835272, Address Id: 11892793 => Updated with Vin: 2GCEC19T751343867 ## Mail History Id: 30916203, Consumer Id: 830446, Address Id: 11887200 => Updated with Vin: 1GNEK13R0TJ416166 ## Mail History Id: 30916067, Consumer Id: 824031, Address Id: 11878984 => Updated with Vin: 2GCEK19K9N1148539 ## Mail History Id: 30916173, Consumer Id: 839139, Address Id: 11892315 => Updated with Vin: 1GNFC13J27R166870 ## Mail History Id: 30916149, Consumer Id: 773217, Address Id: 11851185 => Updated with Vin: 2GCEC19V031120164 ## Mail History Id: 30916081, Consumer Id: 826036, Address Id: 11876014 => Updated with Vin: 1GNES16S626126577 ## Mail History Id: 30916069, Consumer Id: 1006896, Address Id: 1293871 => Updated with Vin: 1G3GS64C814219685 ## Mail History Id: 30916221, Consumer Id: 839696, Address Id: 11895401 => Updated with Vin: WDBGA51E5NA026631 ## Total mail_history records updated with vin numbers: 21 out of 36 ============================================================ ====== Tracking Id: 1959 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-08-31 11:17:40') AND us2_order_type_id = 3 ## Order found: 2158 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2158 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3416 ## Mailing found: '13321' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 1960 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-31 11:17:57') AND us2_order_type_id = 3 ## Order found: 2164 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2164 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1961 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-31 11:18:01') AND us2_order_type_id = 3 ## Order found: 2164 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2164 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1962 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-08-31 11:18:04') AND us2_order_type_id = 3 ## Order found: 2164 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2164 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3491 ## Mailing found: '13328' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956072, Consumer Id: 816007, Address Id: 11891204 => Updated with Vin: 1D7HE48KX6S588428 ## Mail History Id: 30956118, Consumer Id: 816122, Address Id: 11889777 => Updated with Vin: 1G1ZG57B78F238582 ## Mail History Id: 30956086, Consumer Id: 816036, Address Id: 11891227 => Updated with Vin: 1LNHM83W2XY624427 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 1963 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-31 11:19:44') AND us2_order_type_id = 3 ## Order found: 2165 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2165 AND product_id = 144 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3705 ## Mailing found: '13291' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916313, Consumer Id: 1028070, Address Id: 14837128 => Updated with Vin: 3GNEC12078G214630 ## Mail History Id: 30916245, Consumer Id: 982526, Address Id: 9171725 => Updated with Vin: 2GCEC13T151366098 ## Mail History Id: 30916271, Consumer Id: 982557, Address Id: 14929908 => Updated with Vin: 1GTDS13EX88180285 ## Mail History Id: 30916353, Consumer Id: 982546, Address Id: 14929900 => Updated with Vin: 3GNCA53P78S696383 ## Mail History Id: 30916365, Consumer Id: 982547, Address Id: 14929901 => Updated with Vin: 1D7HA18D95S283593 ## Mail History Id: 30916379, Consumer Id: 982563, Address Id: 14929914 => Updated with Vin: 1G1AZ55F077164573 ## Mail History Id: 30916385, Consumer Id: 982548, Address Id: 7532136 => Updated with Vin: 1GNDS13S582123430 ## Mail History Id: 30916369, Consumer Id: 982549, Address Id: 14929902 => Updated with Vin: 2T1KR32E15C342918 ## Mail History Id: 30916405, Consumer Id: 982551, Address Id: 14929904 => Updated with Vin: 1GNFC13088R135793 ## Mail History Id: 30916307, Consumer Id: 982552, Address Id: 14929905 => Updated with Vin: 2GCEC19J781258241 ## Mail History Id: 30916287, Consumer Id: 982578, Address Id: 14831160 => Updated with Vin: 1GKER23738J127609 ## Mail History Id: 30916401, Consumer Id: 982564, Address Id: 14929915 => Updated with Vin: 1G2ZF57B684268571 ## Mail History Id: 30916283, Consumer Id: 982559, Address Id: 14929910 => Updated with Vin: 1G1AL55F377259940 ## Mail History Id: 30916361, Consumer Id: 982560, Address Id: 14929911 => Updated with Vin: 3A4FY48BX7T518110 ## Mail History Id: 30916237, Consumer Id: 982561, Address Id: 14929912 => Updated with Vin: 5Y2SL65876Z424328 ## Total mail_history records updated with vin numbers: 15 out of 19 ============================================================ ====== Tracking Id: 1964 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-31 11:20:01') AND us2_order_type_id = 3 ## Order found: 2165 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2165 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1965 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-08-31 11:20:13') AND us2_order_type_id = 3 ## Order found: 2165 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2165 AND product_id = 106 ## Job Group Found: '558' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('558') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208004') AND customer_id = 3705 ## Mailing found: '13299' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916938, Consumer Id: 971380, Address Id: 14842094 => Updated with Vin: 2G1WF52E439158617 ## Mail History Id: 30916946, Consumer Id: 971384, Address Id: 14842097 => Updated with Vin: 1GTHC24K97E532958 ## Mail History Id: 30916939, Consumer Id: 971385, Address Id: 689033 => Updated with Vin: 3GTEC13J88G110650 ## Mail History Id: 30916947, Consumer Id: 971386, Address Id: 14842098 => Updated with Vin: 1GBHG31V071158115 ## Mail History Id: 30916940, Consumer Id: 976576, Address Id: 14844516 => Updated with Vin: 1GCHK231X2F221456 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 1966 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-31 11:20:50') AND us2_order_type_id = 3 ## Order found: 2166 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2166 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3808 ## Mailing found: '13294' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916023, Consumer Id: 1172537, Address Id: 15029907 => Updated with Vin: 1GCCS13E378169445 ## Mail History Id: 30916009, Consumer Id: 1172436, Address Id: 15030471 => Updated with Vin: 3GNFK16R2XG159518 ## Mail History Id: 30916027, Consumer Id: 1172414, Address Id: 15030453 => Updated with Vin: 1GNCS13W02K144904 ## Mail History Id: 30916017, Consumer Id: 1172418, Address Id: 15030456 => Updated with Vin: 2G1FP22K3T2115896 ## Mail History Id: 30916037, Consumer Id: 1172422, Address Id: 15029391 => Updated with Vin: 1GBJC34U24E342556 ## Mail History Id: 30916049, Consumer Id: 1172497, Address Id: 15030514 => Updated with Vin: 1GKEK13R1XR500033 ## Mail History Id: 30916003, Consumer Id: 1172387, Address Id: 15030430 => Updated with Vin: 1GCDR14K8HJ104220 ## Mail History Id: 30916033, Consumer Id: 1172600, Address Id: 15030600 => Updated with Vin: 3GNDA23P16S589152 ## Mail History Id: 30916011, Consumer Id: 1172363, Address Id: 15030412 => Updated with Vin: 2GCEC13Z461299745 ## Mail History Id: 30916053, Consumer Id: 1170866, Address Id: 15029104 => Updated with Vin: 3GNFK12387G284220 ## Mail History Id: 30916029, Consumer Id: 1171509, Address Id: 15029686 => Updated with Vin: 1GNFK13038R205851 ## Total mail_history records updated with vin numbers: 11 out of 20 ============================================================ ====== Tracking Id: 1967 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-08-31 11:20:53') AND us2_order_type_id = 3 ## Order found: 2166 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2166 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3808 ## Mailing found: '13332' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955959, Consumer Id: 1283560, Address Id: 12128739 => Updated with Vin: 1GCHC23U86F236681 ## Mail History Id: 30956011, Consumer Id: 1287057, Address Id: 15464383 => Updated with Vin: 2GCEC13T241298201 ## Mail History Id: 30955965, Consumer Id: 1271988, Address Id: 15452467 => Updated with Vin: 1GNDX03E2VD191237 ## Mail History Id: 30955987, Consumer Id: 1278091, Address Id: 15456432 => Updated with Vin: 1GNDT13W0XK107392 ## Mail History Id: 30955925, Consumer Id: 1281306, Address Id: 15460416 => Updated with Vin: 1GCHC23134F103359 ## Mail History Id: 30956013, Consumer Id: 1285611, Address Id: 15463349 => Updated with Vin: 1GNFK16Z35J175139 ## Mail History Id: 30955943, Consumer Id: 1285732, Address Id: 14813956 => Updated with Vin: 1GCHK23D26F211066 ## Mail History Id: 30955937, Consumer Id: 1285932, Address Id: 15463593 => Updated with Vin: 1GNFK13007R146918 ## Total mail_history records updated with vin numbers: 8 out of 21 ============================================================ ====== Tracking Id: 1968 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-31 11:46:23') AND us2_order_type_id = 3 ## Order found: 2167 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2167 AND product_id = 142 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3357 ## Mailing found: '13283' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916771, Consumer Id: 1005586, Address Id: 11716379 => Updated with Vin: 5LMFU28R42LJ14364 ## Mail History Id: 30916755, Consumer Id: 1005576, Address Id: 399479 => Updated with Vin: 1ZVHT89S375337334 ## Mail History Id: 30916787, Consumer Id: 188610, Address Id: 394640 => Updated with Vin: 1FTWW33P93ED66288 ## Mail History Id: 30916787, Consumer Id: 188610, Address Id: 394640 => Updated with Vin: 1FTWW33P93ED66288 ## Mail History Id: 30916739, Consumer Id: 1005579, Address Id: 403042 => Updated with Vin: 1FMZU72X6YUB71351 ## Mail History Id: 30916685, Consumer Id: 154515, Address Id: 396670 => Updated with Vin: JM1FE173760203686 ## Mail History Id: 30916725, Consumer Id: 153206, Address Id: 395473 => Updated with Vin: JM3LW28A560566823 ## Mail History Id: 30916743, Consumer Id: 194914, Address Id: 403952 => Updated with Vin: 1ZVFT84NX65122170 ## Mail History Id: 30916717, Consumer Id: 153435, Address Id: 395684 => Updated with Vin: 1FTSW21P66EC98029 ## Mail History Id: 30916753, Consumer Id: 154127, Address Id: 396313 => Updated with Vin: 1FTPW14557KC40586 ## Mail History Id: 30916781, Consumer Id: 155677, Address Id: 397714 => Updated with Vin: 4M2EU47E67UJ09434 ## Mail History Id: 30916769, Consumer Id: 872910, Address Id: 407773 => Updated with Vin: 4F2CZ92Z88KM11410 ## Mail History Id: 30916767, Consumer Id: 198590, Address Id: 405896 => Updated with Vin: 1FDKE30G7THB67837 ## Total mail_history records updated with vin numbers: 13 out of 18 ============================================================ ====== Tracking Id: 1969 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-31 11:46:39') AND us2_order_type_id = 3 ## Order found: 2167 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2167 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3357 ## Mailing found: '13320' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956489, Consumer Id: 199828, Address Id: 407806 => Updated with Vin: JM1BK343941119450 ## Mail History Id: 30955486, Consumer Id: 199087, Address Id: 407585 => Updated with Vin: 1FMCU041X1KB28400 ## Mail History Id: 30955472, Consumer Id: 188754, Address Id: 399276 => Updated with Vin: JM3LW28J320325742 ## Mail History Id: 30956441, Consumer Id: 188303, Address Id: 398640 => Updated with Vin: 1FMZU72K73ZA61991 ## Mail History Id: 30955432, Consumer Id: 188750, Address Id: 399275 => Updated with Vin: 1FMYU60E13UB73041 ## Mail History Id: 30955448, Consumer Id: 190490, Address Id: 400914 => Updated with Vin: JM1FE173440139524 ## Mail History Id: 30955518, Consumer Id: 200186, Address Id: 407824 => Updated with Vin: WVWPD63B62P181327 ## Mail History Id: 30955484, Consumer Id: 200233, Address Id: 407826 => Updated with Vin: JTEGF21A530083652 ## Mail History Id: 30955584, Consumer Id: 199736, Address Id: 407799 => Updated with Vin: 1HGCM56613A113501 ## Mail History Id: 30955458, Consumer Id: 194129, Address Id: 403280 => Updated with Vin: JM3LW28A640517157 ## Mail History Id: 30956485, Consumer Id: 154477, Address Id: 396635 => Updated with Vin: JM1BK144661480246 ## Mail History Id: 30955572, Consumer Id: 199882, Address Id: 407807 => Updated with Vin: 2G1WD58C469284170 ## Mail History Id: 30955420, Consumer Id: 152879, Address Id: 395177 => Updated with Vin: 1FTPW12506KC45695 ## Mail History Id: 30956443, Consumer Id: 199801, Address Id: 407803 => Updated with Vin: 2A8GP44R36R731426 ## Mail History Id: 30956445, Consumer Id: 197090, Address Id: 406956 => Updated with Vin: 3N1BC13E47L371031 ## Mail History Id: 30955570, Consumer Id: 155701, Address Id: 397738 => Updated with Vin: 1FMEU73E77UB13758 ## Mail History Id: 30955392, Consumer Id: 187335, Address Id: 398314 => Updated with Vin: 2FMZA50483BB21085 ## Total mail_history records updated with vin numbers: 17 out of 29 ============================================================ ====== Tracking Id: 1970 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-31 11:46:44') AND us2_order_type_id = 3 ## Order found: 2168 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2168 AND product_id = 2147 ## Job Group Found: '556' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('556') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208002') AND customer_id = 3721 ## Mailing found: '13302' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916917, Consumer Id: 1017166, Address Id: 14933365 => Updated with Vin: JM1BK34LX81794990 ## Mail History Id: 30916919, Consumer Id: 1012314, Address Id: 14932078 => Updated with Vin: JM1BK323451261015 ## Mail History Id: 30916921, Consumer Id: 1016466, Address Id: 14933190 => Updated with Vin: JM3ER293470150828 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1971 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-08-31 11:46:52') AND us2_order_type_id = 3 ## Order found: 2167 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2167 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1972 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-08-31 11:46:56') AND us2_order_type_id = 3 ## Order found: 2168 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2168 AND product_id = 2150 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3721 ## Mailing found: '13292' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916322, Consumer Id: 1007509, Address Id: 14930364 => Updated with Vin: 1YVFP80C035M05369 ## Mail History Id: 30916312, Consumer Id: 1008524, Address Id: 1639220 => Updated with Vin: JM1HD4617R0309668 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 1973 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-31 12:18:53') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 1974 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-08-31 12:18:57') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 1975 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-31 12:19:10') AND us2_order_type_id = 3 ## Order found: 2169 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2169 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3471 ## Mailing found: '13288' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916537, Consumer Id: 760311, Address Id: 11850986 => Updated with Vin: 1GYFK63867R169366 ## Mail History Id: 30916541, Consumer Id: 807071, Address Id: 4553862 => Updated with Vin: 3GYFK62848G232791 ## Total mail_history records updated with vin numbers: 2 out of 5 ============================================================ ====== Tracking Id: 1976 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-08-31 12:19:20') AND us2_order_type_id = 3 ## Order found: 2169 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2169 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3471 ## Mailing found: '13326' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956109, Consumer Id: 798025, Address Id: 4551761 => Updated with Vin: 1G6KD54Y8XU723983 ## Mail History Id: 30956163, Consumer Id: 800830, Address Id: 10215730 => Updated with Vin: 1G6KS54Y0WU920635 ## Mail History Id: 30956167, Consumer Id: 798620, Address Id: 10216179 => Updated with Vin: 1G3WH52HX1F135424 ## Mail History Id: 30956213, Consumer Id: 800532, Address Id: 11870944 => Updated with Vin: 1G6KS54Y91U289991 ## Mail History Id: 30956209, Consumer Id: 816162, Address Id: 11876675 => Updated with Vin: W06VR54R11R001738 ## Mail History Id: 30956193, Consumer Id: 806944, Address Id: 11876874 => Updated with Vin: 5GRGN23U95H117142 ## Mail History Id: 30956225, Consumer Id: 806930, Address Id: 11876869 => Updated with Vin: 1G6KD57Y58U164230 ## Mail History Id: 30956117, Consumer Id: 823393, Address Id: 11876256 => Updated with Vin: 1G6DN57S440177344 ## Mail History Id: 30956221, Consumer Id: 807009, Address Id: 11876893 => Updated with Vin: 5GRGN23U63H121212 ## Mail History Id: 30956223, Consumer Id: 807016, Address Id: 11876896 => Updated with Vin: 1GYFK63858R107538 ## Total mail_history records updated with vin numbers: 10 out of 13 ============================================================ ====== Tracking Id: 1977 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-08-31 14:16:11') AND us2_order_type_id = 3 ## Order found: 2159 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2159 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3418 ## Mailing found: '13285' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916366, Consumer Id: 611111, Address Id: 11755736 => Updated with Vin: 1G6DF577080185696 ## Mail History Id: 30916460, Consumer Id: 611150, Address Id: 11755766 => Updated with Vin: 1G6DD67V180185376 ## Mail History Id: 30916522, Consumer Id: 611108, Address Id: 11755733 => Updated with Vin: 1GYEE53A780170631 ## Mail History Id: 30916536, Consumer Id: 611123, Address Id: 11755746 => Updated with Vin: WDBJF70J71X059865 ## Mail History Id: 30916390, Consumer Id: 666721, Address Id: 11788615 => Updated with Vin: 1G6KD57Y38U185058 ## Mail History Id: 30916392, Consumer Id: 611144, Address Id: 11755761 => Updated with Vin: 1G6DG577280187429 ## Mail History Id: 30916364, Consumer Id: 611121, Address Id: 11755744 => Updated with Vin: 1G6KD57Y38U180328 ## Mail History Id: 30916542, Consumer Id: 611152, Address Id: 11755767 => Updated with Vin: 1GYEE437180143908 ## Mail History Id: 30916374, Consumer Id: 611153, Address Id: 8879857 => Updated with Vin: 1G6DT57V780188795 ## Mail History Id: 30916526, Consumer Id: 611149, Address Id: 11755765 => Updated with Vin: 1G6DG577580187229 ## Mail History Id: 30916440, Consumer Id: 611114, Address Id: 11755739 => Updated with Vin: 1G6DA67VX80176152 ## Mail History Id: 30916354, Consumer Id: 611137, Address Id: 11755037 => Updated with Vin: 1G6DD67V780186385 ## Mail History Id: 30916332, Consumer Id: 611147, Address Id: 6607985 => Updated with Vin: 1G6KD57Y08U182618 ## Total mail_history records updated with vin numbers: 13 out of 15 ============================================================ ====== Tracking Id: 1978 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-31 14:16:25') AND us2_order_type_id = 3 ## Order found: 2170 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2170 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1979 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-08-31 14:16:29') AND us2_order_type_id = 3 ## Order found: 2170 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2170 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3451 ## Mailing found: '13324' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956335, Consumer Id: 613599, Address Id: 3242367 => Updated with Vin: 1G6DM57N930134579 ## Mail History Id: 30956233, Consumer Id: 624511, Address Id: 823005 => Updated with Vin: W06VR52R7XR020659 ## Mail History Id: 30956355, Consumer Id: 628331, Address Id: 3243559 => Updated with Vin: 1G6KS54Y8YU167021 ## Mail History Id: 30956363, Consumer Id: 627861, Address Id: 3244331 => Updated with Vin: 1GYEE637370148747 ## Mail History Id: 30956287, Consumer Id: 619962, Address Id: 11761073 => Updated with Vin: 1GYEK63N64R189856 ## Mail History Id: 30956311, Consumer Id: 621435, Address Id: 11761990 => Updated with Vin: 1HGCG22572A000072 ## Mail History Id: 30956323, Consumer Id: 611670, Address Id: 11756657 => Updated with Vin: 1G6KY5496XU903315 ## Mail History Id: 30956267, Consumer Id: 628333, Address Id: 11765602 => Updated with Vin: 1GKDS13S332128079 ## Mail History Id: 30956257, Consumer Id: 611863, Address Id: 11759980 => Updated with Vin: 1GYFK63877R229347 ## Mail History Id: 30956407, Consumer Id: 627484, Address Id: 11765031 => Updated with Vin: WDDDJ75XX6A068313 ## Mail History Id: 30956383, Consumer Id: 627665, Address Id: 11765144 => Updated with Vin: 3GYEK63N12G287111 ## Mail History Id: 30956299, Consumer Id: 627716, Address Id: 11765178 => Updated with Vin: YV1RS59V142350836 ## Mail History Id: 30956375, Consumer Id: 627715, Address Id: 11765177 => Updated with Vin: 4T1BF28B31U119742 ## Mail History Id: 30956379, Consumer Id: 619275, Address Id: 11760213 => Updated with Vin: 1GYEE63A180104369 ## Mail History Id: 30956411, Consumer Id: 628342, Address Id: 11765609 => Updated with Vin: 5TDZT34A03S158469 ## Mail History Id: 30956297, Consumer Id: 619334, Address Id: 11760972 => Updated with Vin: 1G6DP577870108604 ## Mail History Id: 30956347, Consumer Id: 628332, Address Id: 11765601 => Updated with Vin: 1GYEE63A870170447 ## Mail History Id: 30956353, Consumer Id: 619365, Address Id: 11760994 => Updated with Vin: 2MEFM74V47X631275 ## Mail History Id: 30956385, Consumer Id: 619420, Address Id: 11761034 => Updated with Vin: 1FTPW12504KB79937 ## Mail History Id: 30956389, Consumer Id: 619406, Address Id: 11761025 => Updated with Vin: JT2BG22KXX0331220 ## Mail History Id: 30956283, Consumer Id: 619409, Address Id: 11759479 => Updated with Vin: 1G6KD54Y03U128314 ## Mail History Id: 30956239, Consumer Id: 619435, Address Id: 823908 => Updated with Vin: 1G6DF577X80146307 ## Mail History Id: 30956349, Consumer Id: 628327, Address Id: 11765597 => Updated with Vin: 3GYEK62N74G156494 ## Total mail_history records updated with vin numbers: 23 out of 26 ============================================================ ====== Tracking Id: 1980 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-08-31 19:56:09') AND us2_order_type_id = 3 ## Order found: 2157 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2157 AND product_id = 2152 ## Job Group Found: '574' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('574') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808006') AND customer_id = 3846 ## Mailing found: '13444' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31101139, Consumer Id: 1180863, Address Id: 15367645 => Updated with Vin: 4S3BH686X47607808 ## Mail History Id: 31101141, Consumer Id: 1185897, Address Id: 15369929 => Updated with Vin: 4S3BH806537637322 ## Mail History Id: 31101143, Consumer Id: 1183705, Address Id: 15368204 => Updated with Vin: 4S3BH675536634461 ## Mail History Id: 31101038, Consumer Id: 1186864, Address Id: 15371293 => Updated with Vin: JF1SG63636H759877 ## Total mail_history records updated with vin numbers: 4 out of 6 ============================================================ ====== Tracking Id: 1981 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-08-31 19:56:21') AND us2_order_type_id = 3 ## Order found: 2157 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2157 AND product_id = 2150 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3846 ## Mailing found: '13486' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 1982 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-31 20:16:23') AND us2_order_type_id = 3 ## Order found: 2171 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2171 AND product_id = 2147 ## Job Group Found: '562' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('562') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408002') AND customer_id = 3503 ## Mailing found: '13414' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31003468, Consumer Id: 2169924, Address Id: 9818816 => Updated with Vin: 2T1BR32E27C774940 ## Mail History Id: 31003315, Consumer Id: 2169923, Address Id: 4393608 => Updated with Vin: 5TEUU42N98Z559581 ## Mail History Id: 31003319, Consumer Id: 2169915, Address Id: 9800152 => Updated with Vin: 2T1BR32E43C022828 ## Mail History Id: 31003321, Consumer Id: 2179578, Address Id: 64652 => Updated with Vin: 4T1BE32K64U330102 ## Mail History Id: 31003325, Consumer Id: 2169834, Address Id: 9738676 => Updated with Vin: 1NXBR32E18Z047157 ## Mail History Id: 31003327, Consumer Id: 382907, Address Id: 9758411 => Updated with Vin: 5TELU42N05Z073524 ## Mail History Id: 31003329, Consumer Id: 2169919, Address Id: 9818812 => Updated with Vin: 4T1BE46K29U807518 ## Mail History Id: 31003333, Consumer Id: 2169916, Address Id: 9800553 => Updated with Vin: JTEEP21A270206642 ## Mail History Id: 31003335, Consumer Id: 2169023, Address Id: 9732938 => Updated with Vin: JTDJT923285147040 ## Mail History Id: 31003339, Consumer Id: 2169918, Address Id: 9818811 => Updated with Vin: 5TDZK23C18S183033 ## Mail History Id: 31003343, Consumer Id: 2169930, Address Id: 9818819 => Updated with Vin: JTDBT923981241444 ## Mail History Id: 31003345, Consumer Id: 2182320, Address Id: 9736369 => Updated with Vin: 5TEUU42N05Z019807 ## Mail History Id: 31003347, Consumer Id: 416538, Address Id: 9788188 => Updated with Vin: JTEHD21A250033126 ## Total mail_history records updated with vin numbers: 13 out of 28 ============================================================ ====== Tracking Id: 1983 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-31 20:16:35') AND us2_order_type_id = 3 ## Order found: 2171 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2171 AND product_id = 2150 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1984 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-31 20:16:38') AND us2_order_type_id = 3 ## Order found: 2171 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2171 AND product_id = 2152 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1985 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-08-31 20:16:41') AND us2_order_type_id = 3 ## Order found: 2171 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2171 AND product_id = 2153 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3503 ## Mailing found: '13380' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998563, Consumer Id: 2161970, Address Id: 45444 => Updated with Vin: 4T1BE32K15U581983 ## Mail History Id: 30998585, Consumer Id: 2168325, Address Id: 9735716 => Updated with Vin: 2T1BR30EX7C840850 ## Mail History Id: 30998551, Consumer Id: 2168737, Address Id: 9737444 => Updated with Vin: JTMBD33V876045961 ## Mail History Id: 30998595, Consumer Id: 2181646, Address Id: 9736293 => Updated with Vin: 5TDZA23C25S263780 ## Mail History Id: 30998451, Consumer Id: 2162981, Address Id: 9729014 => Updated with Vin: JTKDE177260083296 ## Mail History Id: 30998359, Consumer Id: 391002, Address Id: 9737464 => Updated with Vin: 5TDZK23C98S110539 ## Mail History Id: 30998503, Consumer Id: 2180998, Address Id: 9734231 => Updated with Vin: JTEEP21A040062410 ## Mail History Id: 30998407, Consumer Id: 2181837, Address Id: 9734464 => Updated with Vin: 4T1BA32K15U506938 ## Mail History Id: 30998485, Consumer Id: 2173978, Address Id: 9721854 => Updated with Vin: 4T1BE32K02U627279 ## Mail History Id: 30998633, Consumer Id: 233732, Address Id: 443886 => Updated with Vin: 4T1BE46K68U735897 ## Mail History Id: 30998613, Consumer Id: 421826, Address Id: 9751110 => Updated with Vin: 5TDZA23C35S373169 ## Mail History Id: 30998387, Consumer Id: 2174100, Address Id: 9721957 => Updated with Vin: 4T1BE32K32U584539 ## Mail History Id: 30998519, Consumer Id: 2167267, Address Id: 9730103 => Updated with Vin: JTDJT923575100731 ## Mail History Id: 30998515, Consumer Id: 2158663, Address Id: 9721254 => Updated with Vin: 5TDZA23C54S023024 ## Mail History Id: 30998587, Consumer Id: 2163591, Address Id: 9729876 => Updated with Vin: JTEEP21A860143464 ## Mail History Id: 30998627, Consumer Id: 2163242, Address Id: 9729619 => Updated with Vin: JTKDE177360089642 ## Mail History Id: 30998619, Consumer Id: 354089, Address Id: 9750971 => Updated with Vin: 4T1BK46K27U033647 ## Mail History Id: 30998441, Consumer Id: 2163713, Address Id: 9730186 => Updated with Vin: 5TDBA22C25S052436 ## Mail History Id: 30998349, Consumer Id: 2168730, Address Id: 9736019 => Updated with Vin: 4T1BK36B37U200821 ## Mail History Id: 30998347, Consumer Id: 2168329, Address Id: 467085 => Updated with Vin: JTLKE50E281023616 ## Total mail_history records updated with vin numbers: 20 out of 36 ============================================================ ====== Tracking Id: 1986 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-01 07:16:28') AND us2_order_type_id = 3 ## Order found: 2172 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2172 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3503 ## Mailing found: '13402,13913' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992625, Consumer Id: 2172880, Address Id: 4393597 => Updated with Vin: 4T1BE32K43U127644 ## Mail History Id: 30993045, Consumer Id: 2177353, Address Id: 9726517 => Updated with Vin: JTEBU14R230018091 ## Mail History Id: 30992354, Consumer Id: 2168843, Address Id: 9729985 => Updated with Vin: 4T1BE30K34U834724 ## Mail History Id: 30992232, Consumer Id: 2171297, Address Id: 9719050 => Updated with Vin: 4T1BF22K7VU011851 ## Mail History Id: 30992151, Consumer Id: 2170003, Address Id: 9720484 => Updated with Vin: 2T1AE09BXRC080727 ## Mail History Id: 30992151, Consumer Id: 2170003, Address Id: 9720484 => Updated with Vin: 2T1AE09BXRC080727 ## Mail History Id: 30993231, Consumer Id: 2168597, Address Id: 9735925 => Updated with Vin: JTEEP21A470228044 ## Mail History Id: 30992129, Consumer Id: 2170005, Address Id: 11912963 => Updated with Vin: 4T1BK36B58U287915 ## Mail History Id: 30992693, Consumer Id: 2170002, Address Id: 11911775 => Updated with Vin: JTKDE167080238027 ## Mail History Id: 30992406, Consumer Id: 2171829, Address Id: 9719551 => Updated with Vin: 4T1BG22K9XU575081 ## Mail History Id: 30992994, Consumer Id: 2170022, Address Id: 11940076 => Updated with Vin: WBAEW534X4PN32267 ## Mail History Id: 30992154, Consumer Id: 2170016, Address Id: 9749847 => Updated with Vin: JTLKE50E381023060 ## Mail History Id: 30993435, Consumer Id: 2179772, Address Id: 9732548 => Updated with Vin: 4T1BE32K34U343938 ## Mail History Id: 30992152, Consumer Id: 2168284, Address Id: 9732831 => Updated with Vin: 2T1BR32E68C876498 ## Mail History Id: 30992457, Consumer Id: 2170045, Address Id: 11952497 => Updated with Vin: JTDBL40E39J014999 ## Mail History Id: 30993297, Consumer Id: 170959, Address Id: 437895 => Updated with Vin: 5TDBA22C26S072445 ## Mail History Id: 30993583, Consumer Id: 2174066, Address Id: 9721928 => Updated with Vin: 2T1BR12E42C538416 ## Mail History Id: 30993253, Consumer Id: 2159896, Address Id: 9725050 => Updated with Vin: JTKKT624040062693 ## Mail History Id: 30993627, Consumer Id: 2175166, Address Id: 9723227 => Updated with Vin: 2T1BA02E4VC211696 ## Mail History Id: 30993539, Consumer Id: 2169246, Address Id: 9724030 => Updated with Vin: 5TEMU52N58Z506415 ## Mail History Id: 30993461, Consumer Id: 2175236, Address Id: 9723290 => Updated with Vin: 2T1KR32E53C076400 ## Mail History Id: 30993485, Consumer Id: 2160186, Address Id: 9725275 => Updated with Vin: 4T1BE32K34U340747 ## Mail History Id: 30993689, Consumer Id: 2170047, Address Id: 9724447 => Updated with Vin: 4T1BE46K59U274984 ## Mail History Id: 30993679, Consumer Id: 2168631, Address Id: 460398 => Updated with Vin: 5TBBV54147S482238 ## Mail History Id: 30992507, Consumer Id: 2170004, Address Id: 9748488 => Updated with Vin: JTDKB20U487769038 ## Mail History Id: 30992553, Consumer Id: 2164732, Address Id: 9731153 => Updated with Vin: 4T1BK46KX7U006759 ## Mail History Id: 30993247, Consumer Id: 2166652, Address Id: 9733673 => Updated with Vin: 2T1BR32E27C766627 ## Mail History Id: 30992647, Consumer Id: 2174750, Address Id: 472435 => Updated with Vin: 4T1BF22K4VU904219 ## Mail History Id: 30992505, Consumer Id: 2164013, Address Id: 9730404 => Updated with Vin: 5TBDT48136S522889 ## Mail History Id: 30992459, Consumer Id: 2175546, Address Id: 9723827 => Updated with Vin: 4T1BE30K23U214185 ## Mail History Id: 30992471, Consumer Id: 2170008, Address Id: 11909813 => Updated with Vin: JTMBK33V386033272 ## Mail History Id: 30993349, Consumer Id: 2164647, Address Id: 9720969 => Updated with Vin: 4T1BK46K77U504577 ## Mail History Id: 30993002, Consumer Id: 2166631, Address Id: 9733450 => Updated with Vin: 5TDBA22C86S076774 ## Mail History Id: 30992281, Consumer Id: 381915, Address Id: 9746107 => Updated with Vin: JTEHH20V916000706 ## Mail History Id: 30992901, Consumer Id: 453852, Address Id: 9729549 => Updated with Vin: JTEHD20V250074327 ## Mail History Id: 30992227, Consumer Id: 2163472, Address Id: 9729792 => Updated with Vin: JTEHD20V250074327 ## Mail History Id: 30992285, Consumer Id: 2176331, Address Id: 9724826 => Updated with Vin: JT2BK18U830086820 ## Mail History Id: 30992217, Consumer Id: 2169042, Address Id: 9737661 => Updated with Vin: JTMBD31V385130409 ## Mail History Id: 30992439, Consumer Id: 2170010, Address Id: 11912962 => Updated with Vin: 4T1BK46K19U581996 ## Mail History Id: 30992447, Consumer Id: 2177886, Address Id: 9727593 => Updated with Vin: 2T1BR32E34C228031 ## Mail History Id: 30993781, Consumer Id: 2167312, Address Id: 9734687 => Updated with Vin: JTDKB20U277626300 ## Mail History Id: 30993007, Consumer Id: 2176255, Address Id: 9724769 => Updated with Vin: JTEHH20V210029760 ## Mail History Id: 30992907, Consumer Id: 2180378, Address Id: 9733515 => Updated with Vin: JTEHD20V140030513 ## Mail History Id: 30992903, Consumer Id: 2169343, Address Id: 9730752 => Updated with Vin: JTEBU14R280129621 ## Mail History Id: 30992378, Consumer Id: 2170046, Address Id: 11952498 => Updated with Vin: 5TFBV541X8X066780 ## Mail History Id: 30992376, Consumer Id: 2160082, Address Id: 9725186 => Updated with Vin: 4T1BE32K04U311819 ## Mail History Id: 30992275, Consumer Id: 2170015, Address Id: 11940075 => Updated with Vin: 4T1BE46K99U277631 ## Mail History Id: 30992087, Consumer Id: 2169995, Address Id: 496279 => Updated with Vin: JTMBD31V275074770 ## Total mail_history records updated with vin numbers: 48 out of 97 ============================================================ ====== Tracking Id: 1987 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-01 08:46:31') AND us2_order_type_id = 3 ## Order found: 2173 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2173 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3230 ## Mailing found: '13319' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955859, Consumer Id: 67050, Address Id: 50575 => Updated with Vin: 1FAHP34N66W243331 ## Mail History Id: 30955871, Consumer Id: 103839, Address Id: 53871 => Updated with Vin: 4M2ZV12T52DJ03491 ## Mail History Id: 30955857, Consumer Id: 65557, Address Id: 49871 => Updated with Vin: 1FMZK04176GA03199 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 1988 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-01 08:46:35') AND us2_order_type_id = 3 ## Order found: 2173 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2173 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3230 ## Mailing found: '13282' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30915937, Consumer Id: 92900, Address Id: 51328 => Updated with Vin: 1FTPX14VX7FA47243 ## Mail History Id: 30916702, Consumer Id: 103106, Address Id: 53541 => Updated with Vin: 1FTNW20LX2ED03464 ## Mail History Id: 30916698, Consumer Id: 93144, Address Id: 51552 => Updated with Vin: 1FMCU04108KA84000 ## Mail History Id: 30915951, Consumer Id: 103804, Address Id: 49258 => Updated with Vin: 1MEHM42117G610364 ## Mail History Id: 30916730, Consumer Id: 93098, Address Id: 47273 => Updated with Vin: 1FTPW14V47FB51083 ## Mail History Id: 30915969, Consumer Id: 63612, Address Id: 52232 => Updated with Vin: 1FMSU45P54ED92164 ## Mail History Id: 30915979, Consumer Id: 65303, Address Id: 50060 => Updated with Vin: 1FMZU72K63ZB40844 ## Mail History Id: 30915931, Consumer Id: 63004, Address Id: 48394 => Updated with Vin: 1FMZU77E23UB07680 ## Mail History Id: 30916712, Consumer Id: 872716, Address Id: 50551 => Updated with Vin: 1FAHP32N78W175983 ## Mail History Id: 30916428, Consumer Id: 93241, Address Id: 51736 => Updated with Vin: 1FAHP34N17W169754 ## Mail History Id: 30915923, Consumer Id: 872032, Address Id: 11912185 => Updated with Vin: 2MEFM74W53X638772 ## Mail History Id: 30916506, Consumer Id: 103187, Address Id: 53579 => Updated with Vin: 3FAFP13P1YR230751 ## Mail History Id: 30916776, Consumer Id: 63106, Address Id: 48016 => Updated with Vin: 1FMPU16LX2LA89339 ## Mail History Id: 30915949, Consumer Id: 872033, Address Id: 11912186 => Updated with Vin: 2FTEX2769VCA79546 ## Mail History Id: 30916676, Consumer Id: 63900, Address Id: 52600 => Updated with Vin: 1FAFP53U53A259069 ## Mail History Id: 30916694, Consumer Id: 67227, Address Id: 48607 => Updated with Vin: 1FAFP53U12G231202 ## Mail History Id: 30915929, Consumer Id: 38453, Address Id: 49116 => Updated with Vin: 1FTNF21L21EA50024 ## Mail History Id: 30916760, Consumer Id: 92962, Address Id: 51391 => Updated with Vin: 1FAFP31NX7W240574 ## Mail History Id: 30916716, Consumer Id: 102941, Address Id: 48587 => Updated with Vin: 1FAFP52U1WG173423 ## Mail History Id: 30916734, Consumer Id: 93335, Address Id: 47875 => Updated with Vin: 1ZVHT82H675360489 ## Mail History Id: 30916746, Consumer Id: 62990, Address Id: 49092 => Updated with Vin: 3FAFP37383R145661 ## Mail History Id: 30916740, Consumer Id: 63051, Address Id: 47698 => Updated with Vin: 1FMZU74E91ZA63858 ## Mail History Id: 30916718, Consumer Id: 872031, Address Id: 53143 => Updated with Vin: 1FMYU03157KA05345 ## Mail History Id: 30916744, Consumer Id: 101924, Address Id: 51183 => Updated with Vin: 3FAFP11392R177269 ## Mail History Id: 30916758, Consumer Id: 67405, Address Id: 50315 => Updated with Vin: 3FAFP07126R117470 ## Mail History Id: 30916770, Consumer Id: 66126, Address Id: 51165 => Updated with Vin: 1FAFP52U33A244880 ## Mail History Id: 30916732, Consumer Id: 103473, Address Id: 53090 => Updated with Vin: 3LNHM26T67R647075 ## Mail History Id: 30916706, Consumer Id: 872880, Address Id: 11912759 => Updated with Vin: 1FMDK02175GA76486 ## Mail History Id: 30915977, Consumer Id: 93540, Address Id: 52038 => Updated with Vin: 1FMEU74E88UA27214 ## Mail History Id: 30916724, Consumer Id: 66426, Address Id: 50250 => Updated with Vin: 1FAFP38383W164528 ## Mail History Id: 30916756, Consumer Id: 93470, Address Id: 47897 => Updated with Vin: 1FTPX14V38FA83146 ## Mail History Id: 30916714, Consumer Id: 65276, Address Id: 47629 => Updated with Vin: 1FAFP34362W176214 ## Total mail_history records updated with vin numbers: 32 out of 41 ============================================================ ====== Tracking Id: 1989 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-01 09:19:47') AND us2_order_type_id = 3 ## Order found: 2174 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2174 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3470 ## Mailing found: '13325' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955776, Consumer Id: 557665, Address Id: 7116697 => Updated with Vin: 2C8GP64L55R207061 ## Mail History Id: 30955714, Consumer Id: 575243, Address Id: 5328380 => Updated with Vin: 1J4GW58S1XC787737 ## Mail History Id: 30955760, Consumer Id: 557773, Address Id: 4101301 => Updated with Vin: 1D7HA16K34J197413 ## Mail History Id: 30955926, Consumer Id: 576951, Address Id: 10725723 => Updated with Vin: 3C4FY58BX2T373090 ## Mail History Id: 30955912, Consumer Id: 578248, Address Id: 10728519 => Updated with Vin: 1J4FA69S35P339293 ## Mail History Id: 30955676, Consumer Id: 562506, Address Id: 10701004 => Updated with Vin: 1J4GX58S02C282567 ## Mail History Id: 30955639, Consumer Id: 564715, Address Id: 10705556 => Updated with Vin: 1D7HA18DX5S299348 ## Mail History Id: 30955710, Consumer Id: 564699, Address Id: 10705548 => Updated with Vin: 2C8GP54L55R543481 ## Mail History Id: 30955818, Consumer Id: 570455, Address Id: 1612180 => Updated with Vin: 2B3KA43R77H742197 ## Mail History Id: 30955654, Consumer Id: 570618, Address Id: 1163259 => Updated with Vin: 1D8GU58617W620230 ## Mail History Id: 30955840, Consumer Id: 571836, Address Id: 10717949 => Updated with Vin: 1B3HB28B67D506032 ## Mail History Id: 30955688, Consumer Id: 581507, Address Id: 10742857 => Updated with Vin: 2C3KA43R37H803371 ## Mail History Id: 30955826, Consumer Id: 572091, Address Id: 10686406 => Updated with Vin: 1D7HA182X8S518716 ## Mail History Id: 30955894, Consumer Id: 571941, Address Id: 10623526 => Updated with Vin: 1J8FT28W18D570477 ## Mail History Id: 30955638, Consumer Id: 572747, Address Id: 6508871 => Updated with Vin: 3C4FY48B25T600934 ## Mail History Id: 30955896, Consumer Id: 573390, Address Id: 10689414 => Updated with Vin: 1D8HN44H98B139508 ## Mail History Id: 30955628, Consumer Id: 552653, Address Id: 6751701 => Updated with Vin: 2C3KA43R88H158881 ## Mail History Id: 30955900, Consumer Id: 662409, Address Id: 11782600 => Updated with Vin: 1J4FA24168L601312 ## Mail History Id: 30955627, Consumer Id: 873129, Address Id: 11913146 => Updated with Vin: 1J4GB39108L620096 ## Total mail_history records updated with vin numbers: 19 out of 20 ============================================================ ====== Tracking Id: 1990 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-01 09:20:00') AND us2_order_type_id = 3 ## Order found: 2174 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2174 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3470 ## Mailing found: '13325' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955736, Consumer Id: 573080, Address Id: 10703776 => Updated with Vin: 1D7HA18N48J125522 ## Mail History Id: 30955808, Consumer Id: 566872, Address Id: 10710676 => Updated with Vin: 3C8FY78G54T321648 ## Mail History Id: 30955682, Consumer Id: 574084, Address Id: 10695520 => Updated with Vin: 1C4GJ25392B501468 ## Mail History Id: 30955720, Consumer Id: 570624, Address Id: 5605648 => Updated with Vin: 2C3KA43R77H774120 ## Mail History Id: 30955674, Consumer Id: 554370, Address Id: 10678099 => Updated with Vin: 1D7HL48X53S362505 ## Mail History Id: 30955780, Consumer Id: 555576, Address Id: 10690187 => Updated with Vin: 1D4GP25R73B253230 ## Mail History Id: 30955724, Consumer Id: 559000, Address Id: 10695726 => Updated with Vin: 3C8FY68B84T352973 ## Mail History Id: 30955726, Consumer Id: 579796, Address Id: 5613456 => Updated with Vin: 2B4GP44332R765263 ## Mail History Id: 30955786, Consumer Id: 574085, Address Id: 10720765 => Updated with Vin: 2C4GP44R35R136145 ## Mail History Id: 30955673, Consumer Id: 576200, Address Id: 7011942 => Updated with Vin: 1B3EJ56H9YN216233 ## Mail History Id: 30955934, Consumer Id: 565633, Address Id: 10707171 => Updated with Vin: 1D7HU18256S555919 ## Mail History Id: 30955814, Consumer Id: 566693, Address Id: 3172059 => Updated with Vin: 3D7HA18HX5G734539 ## Mail History Id: 30955618, Consumer Id: 577352, Address Id: 4674505 => Updated with Vin: 2CNDL63F856152369 ## Mail History Id: 30955657, Consumer Id: 579567, Address Id: 8550264 => Updated with Vin: 1J4GX48S82C113455 ## Mail History Id: 30955756, Consumer Id: 570627, Address Id: 1342595 => Updated with Vin: 1J8GS48KX7C643575 ## Mail History Id: 30955681, Consumer Id: 580816, Address Id: 10740006 => Updated with Vin: 2A4GM48476R708286 ## Mail History Id: 30955670, Consumer Id: 571270, Address Id: 10612404 => Updated with Vin: 1D4GP45R06B609193 ## Mail History Id: 30955796, Consumer Id: 581350, Address Id: 10741888 => Updated with Vin: 1J8HH48K27C547684 ## Mail History Id: 30955645, Consumer Id: 571595, Address Id: 2050894 => Updated with Vin: 1C3LC55R28N139672 ## Mail History Id: 30955862, Consumer Id: 571952, Address Id: 10718960 => Updated with Vin: 2B3KA43G46H136370 ## Mail History Id: 30955675, Consumer Id: 571940, Address Id: 2546839 => Updated with Vin: 3VWSE69M55M023164 ## Mail History Id: 30955663, Consumer Id: 572804, Address Id: 4595526 => Updated with Vin: 2C3KA43R97H688792 ## Mail History Id: 30955662, Consumer Id: 582954, Address Id: 10744614 => Updated with Vin: 1J4GW58J22C149075 ## Mail History Id: 30955722, Consumer Id: 572908, Address Id: 10719366 => Updated with Vin: 2A4GP44R57R138962 ## Mail History Id: 30955620, Consumer Id: 583033, Address Id: 7347669 => Updated with Vin: 2D4FV47V66H436069 ## Mail History Id: 30955748, Consumer Id: 573283, Address Id: 2054978 => Updated with Vin: 1B3LC56R68N684673 ## Mail History Id: 30955659, Consumer Id: 573267, Address Id: 8550328 => Updated with Vin: 2C3KA53G27H767032 ## Mail History Id: 30955920, Consumer Id: 573071, Address Id: 10719446 => Updated with Vin: 1J8FT47098D603704 ## Mail History Id: 30955650, Consumer Id: 573079, Address Id: 10719448 => Updated with Vin: 1J4GA591X8L553781 ## Mail History Id: 30955898, Consumer Id: 573082, Address Id: 10719450 => Updated with Vin: 3A8FY58BX8T124810 ## Mail History Id: 30955669, Consumer Id: 573077, Address Id: 8314347 => Updated with Vin: 1J8FT28W18D521277 ## Mail History Id: 30955830, Consumer Id: 573081, Address Id: 10719449 => Updated with Vin: 1D4HB48276F133115 ## Mail History Id: 30955610, Consumer Id: 573073, Address Id: 10719447 => Updated with Vin: 2A8HR54P48R701387 ## Total mail_history records updated with vin numbers: 33 out of 37 ============================================================ ====== Tracking Id: 1991 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-01 09:20:12') AND us2_order_type_id = 3 ## Order found: 2174 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2174 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3470 ## Mailing found: '13325' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955772, Consumer Id: 574844, Address Id: 10721374 => Updated with Vin: 1C3EL55R72N308147 ## Mail History Id: 30955694, Consumer Id: 576427, Address Id: 10692296 => Updated with Vin: 2D4GP44LX5R218260 ## Mail History Id: 30955930, Consumer Id: 571036, Address Id: 7354768 => Updated with Vin: 3A4FY58B47T598963 ## Mail History Id: 30955762, Consumer Id: 575969, Address Id: 7468463 => Updated with Vin: 1C3EL45U41N718224 ## Mail History Id: 30955838, Consumer Id: 576824, Address Id: 1547495 => Updated with Vin: 2C4GM68455R554483 ## Mail History Id: 30955702, Consumer Id: 577863, Address Id: 10728219 => Updated with Vin: 1J4GL48K96W177147 ## Mail History Id: 30955647, Consumer Id: 572168, Address Id: 10697523 => Updated with Vin: 1J8HS48N78C133880 ## Mail History Id: 30955766, Consumer Id: 579230, Address Id: 10733746 => Updated with Vin: 2C8GM48L15R521801 ## Mail History Id: 30955661, Consumer Id: 570705, Address Id: 2288537 => Updated with Vin: 1J4HS58N26C208778 ## Mail History Id: 30955634, Consumer Id: 571266, Address Id: 10717796 => Updated with Vin: 2C3KA43R97H774118 ## Mail History Id: 30955730, Consumer Id: 583106, Address Id: 10718002 => Updated with Vin: 1J4GX58N64C130872 ## Mail History Id: 30955918, Consumer Id: 572153, Address Id: 7354038 => Updated with Vin: 1J8HR78307C649086 ## Mail History Id: 30955718, Consumer Id: 582235, Address Id: 1181801 => Updated with Vin: 1J4GS48K36C215377 ## Mail History Id: 30955630, Consumer Id: 583108, Address Id: 794605 => Updated with Vin: 3C4FY48BX3T647903 ## Mail History Id: 30955667, Consumer Id: 583109, Address Id: 10744673 => Updated with Vin: 2D8FV47T66H369728 ## Mail History Id: 30955651, Consumer Id: 583110, Address Id: 10744674 => Updated with Vin: 1J4GX48NX4C336206 ## Mail History Id: 30955816, Consumer Id: 583114, Address Id: 3172134 => Updated with Vin: 1J4GK38K46W196816 ## Mail History Id: 30955626, Consumer Id: 583115, Address Id: 10744678 => Updated with Vin: 1C3AN65L95X049924 ## Mail History Id: 30955788, Consumer Id: 583117, Address Id: 7470246 => Updated with Vin: 3N1CB51D03L781201 ## Mail History Id: 30955671, Consumer Id: 583118, Address Id: 6629441 => Updated with Vin: 1C3EL55R36N211954 ## Mail History Id: 30955629, Consumer Id: 572873, Address Id: 10719354 => Updated with Vin: 2B3KA43G28H205348 ## Total mail_history records updated with vin numbers: 21 out of 27 ============================================================ ====== Tracking Id: 1992 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-01 09:20:19') AND us2_order_type_id = 3 ## Order found: 2175 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2175 AND product_id = 142 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3768 ## Mailing found: '13293' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30915988, Consumer Id: 1110155, Address Id: 5991033 => Updated with Vin: 1G6KD54Y72U199850 ## Mail History Id: 30915994, Consumer Id: 1111157, Address Id: 5993487 => Updated with Vin: 1GYEE637040159216 ## Total mail_history records updated with vin numbers: 2 out of 4 ============================================================ ====== Tracking Id: 1993 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-01 09:20:25') AND us2_order_type_id = 3 ## Order found: 2175 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2175 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 1994 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-01 09:20:28') AND us2_order_type_id = 3 ## Order found: 2175 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2175 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3768 ## Mailing found: '13331' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956494, Consumer Id: 1050414, Address Id: 14954448 => Updated with Vin: 1G6DW677460214832 ## Mail History Id: 30956051, Consumer Id: 1109128, Address Id: 14982443 => Updated with Vin: 1G6DP577870177048 ## Mail History Id: 30956312, Consumer Id: 1109519, Address Id: 14982636 => Updated with Vin: 1GYEE637170193122 ## Mail History Id: 30956394, Consumer Id: 1046967, Address Id: 8827770 => Updated with Vin: 1G6DM56T550209930 ## Mail History Id: 30956502, Consumer Id: 1114606, Address Id: 14983571 => Updated with Vin: 1G6DM57N930104286 ## Mail History Id: 30956426, Consumer Id: 1108229, Address Id: 5992979 => Updated with Vin: 1G6KD54Y0VU294481 ## Mail History Id: 30956304, Consumer Id: 1115281, Address Id: 11449408 => Updated with Vin: 1G6DW677750195885 ## Mail History Id: 30956418, Consumer Id: 1107896, Address Id: 5992063 => Updated with Vin: 1G6DM57NX30107245 ## Mail History Id: 30956322, Consumer Id: 1111306, Address Id: 14982798 => Updated with Vin: 1GYEK63N55R261650 ## Mail History Id: 30956378, Consumer Id: 1050555, Address Id: 14954476 => Updated with Vin: 1G6KS54Y0WU923227 ## Mail History Id: 30956372, Consumer Id: 1114498, Address Id: 14971609 => Updated with Vin: 1G6KD54Y1WU716307 ## Total mail_history records updated with vin numbers: 11 out of 11 ============================================================ ====== Tracking Id: 1995 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-01 10:19:38') AND us2_order_type_id = 3 ## Order found: 2174 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2174 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3470 ## Mailing found: '13287' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916202, Consumer Id: 982035, Address Id: 14929180 => Updated with Vin: 1FMYU041X5KB42373 ## Mail History Id: 30916278, Consumer Id: 1026736, Address Id: 14940717 => Updated with Vin: 5N1BV28U54N371205 ## Mail History Id: 30916234, Consumer Id: 1026738, Address Id: 14940718 => Updated with Vin: 1J8HH48K68C134023 ## Mail History Id: 30916268, Consumer Id: 1105101, Address Id: 14980770 => Updated with Vin: 1C3LC56K08N175328 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 1996 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-01 10:20:35') AND us2_order_type_id = 3 ## Order found: 2176 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2176 AND product_id = 2150 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3418 ## Mailing found: '13285' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916480, Consumer Id: 681053, Address Id: 11794604 => Updated with Vin: 1G6KD54Y0XU787158 ## Mail History Id: 30916362, Consumer Id: 610652, Address Id: 11755348 => Updated with Vin: 1G6DG577880142107 ## Mail History Id: 30916414, Consumer Id: 681039, Address Id: 11794597 => Updated with Vin: W06VR54R1YR040940 ## Mail History Id: 30916456, Consumer Id: 680797, Address Id: 11764198 => Updated with Vin: 1G6DW677050138427 ## Mail History Id: 30916328, Consumer Id: 678385, Address Id: 11417666 => Updated with Vin: 1G6DP577770137575 ## Mail History Id: 30916502, Consumer Id: 669328, Address Id: 11787251 => Updated with Vin: 1G6DM57N430165660 ## Mail History Id: 30916410, Consumer Id: 679566, Address Id: 11793691 => Updated with Vin: 1G6DW677460202275 ## Mail History Id: 30916462, Consumer Id: 663827, Address Id: 11783244 => Updated with Vin: 1G6KD54YXYU149551 ## Mail History Id: 30916508, Consumer Id: 672769, Address Id: 11756078 => Updated with Vin: 1G6KD54Y65U217257 ## Mail History Id: 30916488, Consumer Id: 628864, Address Id: 6609162 => Updated with Vin: 1G6DW677860212419 ## Mail History Id: 30916550, Consumer Id: 610676, Address Id: 8877920 => Updated with Vin: 1G6DW677760154254 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 1997 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-01 10:20:47') AND us2_order_type_id = 3 ## Order found: 2176 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2176 AND product_id = 2152 ## Job Group Found: '560' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('560') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208006') AND customer_id = 3418 ## Mailing found: '13316' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30917041, Consumer Id: 673142, Address Id: 11785455 => Updated with Vin: 1G6KD54Y85U226512 ## Mail History Id: 30917043, Consumer Id: 665311, Address Id: 11784378 => Updated with Vin: 1G6KD54Y12U248833 ## Mail History Id: 30917045, Consumer Id: 679393, Address Id: 11754974 => Updated with Vin: WVWYH63B02E006723 ## Mail History Id: 30917047, Consumer Id: 674790, Address Id: 11790859 => Updated with Vin: 1G6DM57T360143331 ## Mail History Id: 30917053, Consumer Id: 610270, Address Id: 11755012 => Updated with Vin: 4M2DU86W94ZJ36820 ## Mail History Id: 30917065, Consumer Id: 707607, Address Id: 8872792 => Updated with Vin: 1GYEE63A460203216 ## Mail History Id: 30917069, Consumer Id: 610355, Address Id: 11755087 => Updated with Vin: 1G6DM577780127378 ## Total mail_history records updated with vin numbers: 7 out of 16 ============================================================ ====== Tracking Id: 1998 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-01 10:20:59') AND us2_order_type_id = 3 ## Order found: 2176 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2176 AND product_id = 2147 ## Job Group Found: '556' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('556') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208002') AND customer_id = 3418 ## Mailing found: '13301' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916914, Consumer Id: 681001, Address Id: 11794574 => Updated with Vin: 1G6DP577570145643 ## Mail History Id: 30916916, Consumer Id: 681224, Address Id: 11794707 => Updated with Vin: 1G6DM57N530139908 ## Mail History Id: 30916920, Consumer Id: 681253, Address Id: 11794727 => Updated with Vin: 1G8ZS57NX7F243249 ## Mail History Id: 30916795, Consumer Id: 611022, Address Id: 11755661 => Updated with Vin: 1G6DF577880174848 ## Mail History Id: 30916797, Consumer Id: 611059, Address Id: 11755691 => Updated with Vin: 1MEFM55S55A604715 ## Mail History Id: 30916799, Consumer Id: 681225, Address Id: 11794708 => Updated with Vin: 1G6DP577970100897 ## Mail History Id: 30916801, Consumer Id: 681227, Address Id: 11794709 => Updated with Vin: 1FTEE1462VHA99165 ## Mail History Id: 30916803, Consumer Id: 666763, Address Id: 11785441 => Updated with Vin: 3GYEK63N53G336957 ## Mail History Id: 30916805, Consumer Id: 669526, Address Id: 11787399 => Updated with Vin: 1G3WX52K2WF393670 ## Mail History Id: 30916807, Consumer Id: 677908, Address Id: 10323393 => Updated with Vin: 1GYEE637170131655 ## Mail History Id: 30916809, Consumer Id: 611054, Address Id: 8871298 => Updated with Vin: 1G6DF577680169938 ## Mail History Id: 30916811, Consumer Id: 673602, Address Id: 11755613 => Updated with Vin: 1G6DP567650216492 ## Mail History Id: 30916813, Consumer Id: 674197, Address Id: 11790462 => Updated with Vin: 1G6DP577X60122194 ## Mail History Id: 30916815, Consumer Id: 676764, Address Id: 11792065 => Updated with Vin: 1G6DW677960173811 ## Mail History Id: 30916819, Consumer Id: 678282, Address Id: 11792932 => Updated with Vin: 1G6DC67A660209989 ## Mail History Id: 30916821, Consumer Id: 676856, Address Id: 11418081 => Updated with Vin: 1GYEE637060218994 ## Mail History Id: 30916823, Consumer Id: 676680, Address Id: 11792019 => Updated with Vin: 1G6DM57T060212038 ## Mail History Id: 30916825, Consumer Id: 677361, Address Id: 11792397 => Updated with Vin: 1G6DW677960211750 ## Mail History Id: 30916827, Consumer Id: 677633, Address Id: 11792549 => Updated with Vin: 1GYEE637360201252 ## Mail History Id: 30916829, Consumer Id: 677910, Address Id: 11792708 => Updated with Vin: 1G6DW677670127211 ## Mail History Id: 30916831, Consumer Id: 677906, Address Id: 11792706 => Updated with Vin: 1G6DW677070128614 ## Mail History Id: 30916833, Consumer Id: 678435, Address Id: 8877779 => Updated with Vin: 1GYFK66827R207574 ## Mail History Id: 30916835, Consumer Id: 677123, Address Id: 11418146 => Updated with Vin: 1G6DW677260219236 ## Mail History Id: 30916839, Consumer Id: 678065, Address Id: 11417946 => Updated with Vin: 1G6DP577X70124786 ## Mail History Id: 30916841, Consumer Id: 610300, Address Id: 11755038 => Updated with Vin: 1GYFK63807R427395 ## Mail History Id: 30916843, Consumer Id: 680683, Address Id: 11786689 => Updated with Vin: 1G6DW677060106885 ## Total mail_history records updated with vin numbers: 26 out of 31 ============================================================ ====== Tracking Id: 1999 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-01 10:21:11') AND us2_order_type_id = 3 ## Order found: 2176 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2176 AND product_id = 2153 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3418 ## Mailing found: '13322' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955709, Consumer Id: 668367, Address Id: 6922011 => Updated with Vin: 1G6KD54Y1YU205375 ## Mail History Id: 30955723, Consumer Id: 671021, Address Id: 11788396 => Updated with Vin: 1G6DP567350123056 ## Mail History Id: 30955717, Consumer Id: 675245, Address Id: 11791180 => Updated with Vin: 1G6DP577160166973 ## Mail History Id: 30955703, Consumer Id: 680451, Address Id: 11794241 => Updated with Vin: 1GYFK63807R311839 ## Mail History Id: 30955707, Consumer Id: 677057, Address Id: 11783519 => Updated with Vin: 1G6KD57Y76U243931 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2000 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-01 10:23:09') AND us2_order_type_id = 3 ## Order found: 2177 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2177 AND product_id = 114 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3795 ## Mailing found: '13384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998937, Consumer Id: 1055042, Address Id: 14955976 => Updated with Vin: 1HGCG5647XA090284 ## Mail History Id: 30998991, Consumer Id: 1064668, Address Id: 14956202 => Updated with Vin: 1HGCG5641YA028560 ## Mail History Id: 30998925, Consumer Id: 1052772, Address Id: 5799041 => Updated with Vin: 2HGES16324H577672 ## Mail History Id: 30999039, Consumer Id: 1059883, Address Id: 3093375 => Updated with Vin: 1HGCM66555A026877 ## Mail History Id: 30999003, Consumer Id: 1057334, Address Id: 9317296 => Updated with Vin: 1HGCG165X2A063283 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2001 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-01 10:23:21') AND us2_order_type_id = 3 ## Order found: 2177 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2177 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3795 ## Mailing found: '13384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30999017, Consumer Id: 1060175, Address Id: 14957417 => Updated with Vin: 1C4GP45R75B311400 ## Mail History Id: 30998977, Consumer Id: 1060225, Address Id: 12847036 => Updated with Vin: 5FNYF28398B021521 ## Mail History Id: 30998346, Consumer Id: 1060185, Address Id: 14957420 => Updated with Vin: 1HGCG56631A025456 ## Mail History Id: 30998973, Consumer Id: 1060227, Address Id: 7417921 => Updated with Vin: 1G8ZK5272YZ249796 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2002 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-01 10:23:27') AND us2_order_type_id = 3 ## Order found: 2178 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2178 AND product_id = 142 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3697 ## Mailing found: '13290' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30915964, Consumer Id: 1044600, Address Id: 3240083 => Updated with Vin: 1G6KD54Y95U113961 ## Mail History Id: 30915976, Consumer Id: 1044842, Address Id: 5986568 => Updated with Vin: 1G6KS54Y44U156706 ## Mail History Id: 30915960, Consumer Id: 1047898, Address Id: 2852118 => Updated with Vin: 1G6KS52Y6VU841018 ## Mail History Id: 30915962, Consumer Id: 1041475, Address Id: 2852373 => Updated with Vin: 1G6KF579X1U116120 ## Mail History Id: 30915926, Consumer Id: 1045176, Address Id: 2775723 => Updated with Vin: 1G6DM577140169104 ## Mail History Id: 30915946, Consumer Id: 1048964, Address Id: 3237846 => Updated with Vin: 1GYEE637260191023 ## Mail History Id: 30915982, Consumer Id: 1043382, Address Id: 5989453 => Updated with Vin: 1G6KD54Y73U275844 ## Total mail_history records updated with vin numbers: 7 out of 13 ============================================================ ====== Tracking Id: 2003 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-01 10:23:32') AND us2_order_type_id = 3 ## Order found: 2177 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2177 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3795 ## Mailing found: '13384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998919, Consumer Id: 1060021, Address Id: 6615887 => Updated with Vin: 1HGCP36798A011178 ## Mail History Id: 30998917, Consumer Id: 1060026, Address Id: 7255097 => Updated with Vin: 1FAFP34N16W254678 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2004 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-01 10:23:41') AND us2_order_type_id = 3 ## Order found: 2178 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2178 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3697 ## Mailing found: '13329' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956366, Consumer Id: 1044344, Address Id: 14952795 => Updated with Vin: 1GYFK63887R327903 ## Mail History Id: 30956422, Consumer Id: 1045776, Address Id: 12937932 => Updated with Vin: 5GRGN23U15H109150 ## Mail History Id: 30956442, Consumer Id: 1048226, Address Id: 12191584 => Updated with Vin: 1G6DM577340157424 ## Mail History Id: 30956428, Consumer Id: 1043436, Address Id: 14952523 => Updated with Vin: 1GYEK63N64R238585 ## Mail History Id: 30956362, Consumer Id: 1043546, Address Id: 14952567 => Updated with Vin: 1G6DP577760151264 ## Mail History Id: 30956432, Consumer Id: 1051864, Address Id: 14954955 => Updated with Vin: 1GKEK63U24J241158 ## Mail History Id: 30956310, Consumer Id: 1048612, Address Id: 795574 => Updated with Vin: 1G6DP577660132950 ## Mail History Id: 30956388, Consumer Id: 1051858, Address Id: 11666644 => Updated with Vin: 1G6KD57Y27U198835 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 2005 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-01 10:23:53') AND us2_order_type_id = 3 ## Order found: 2178 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2178 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3697 ## Mailing found: '13329' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956376, Consumer Id: 1041885, Address Id: 14952175 => Updated with Vin: 1G6KD54Y6YU329139 ## Mail History Id: 30956364, Consumer Id: 1050607, Address Id: 14954493 => Updated with Vin: 1G6KD54Y81U168802 ## Mail History Id: 30956370, Consumer Id: 1045359, Address Id: 6908222 => Updated with Vin: 1G6DW677950155808 ## Mail History Id: 30956334, Consumer Id: 1046386, Address Id: 3239520 => Updated with Vin: 1G6KF57955U182192 ## Mail History Id: 30956430, Consumer Id: 1051411, Address Id: 14954732 => Updated with Vin: W06VR52RXVR059307 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 2006 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-01 10:25:38') AND us2_order_type_id = 3 ## Order found: 2179 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2179 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3815 ## Mailing found: '13295' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916096, Consumer Id: 1369022, Address Id: 15635620 => Updated with Vin: 5FNRL18013B090063 ## Mail History Id: 30916052, Consumer Id: 1359059, Address Id: 15631811 => Updated with Vin: JHLRD1763WC055385 ## Mail History Id: 30916020, Consumer Id: 1364895, Address Id: 15637999 => Updated with Vin: 5FNYF28637B016873 ## Mail History Id: 30916024, Consumer Id: 1368266, Address Id: 15634838 => Updated with Vin: 2HNYD18783H512291 ## Mail History Id: 30916104, Consumer Id: 1379839, Address Id: 15668831 => Updated with Vin: JM1BK34L681820419 ## Mail History Id: 30916058, Consumer Id: 1363716, Address Id: 15632319 => Updated with Vin: 1HGCM56806A147077 ## Mail History Id: 30916068, Consumer Id: 1375989, Address Id: 15635754 => Updated with Vin: 1HGEJ6674XL027772 ## Mail History Id: 30916158, Consumer Id: 1362289, Address Id: 15634449 => Updated with Vin: 1HGCM55415A176097 ## Mail History Id: 30916144, Consumer Id: 1363427, Address Id: 8194682 => Updated with Vin: 5FNRL18993B108727 ## Mail History Id: 30915950, Consumer Id: 1366389, Address Id: 15636581 => Updated with Vin: 5J6RE38387L001084 ## Mail History Id: 30915950, Consumer Id: 1363708, Address Id: 15636581 => Updated with Vin: SHSRD78896U428716 ## Mail History Id: 30916156, Consumer Id: 1364959, Address Id: 15638038 => Updated with Vin: 5FNRL18643B109354 ## Mail History Id: 30916106, Consumer Id: 1367210, Address Id: 8346318 => Updated with Vin: 1HGCP26838A051839 ## Mail History Id: 30916076, Consumer Id: 1378709, Address Id: 15671546 => Updated with Vin: 5FNRL38857B019293 ## Mail History Id: 30916118, Consumer Id: 1370031, Address Id: 15634133 => Updated with Vin: 1HGEJ8147WL070509 ## Mail History Id: 30916088, Consumer Id: 1379033, Address Id: 15671732 => Updated with Vin: 5FNRL38667B053886 ## Mail History Id: 30916150, Consumer Id: 1366724, Address Id: 15639579 => Updated with Vin: 3VWSF71K46M697501 ## Mail History Id: 30916068, Consumer Id: 1363532, Address Id: 15635754 => Updated with Vin: 1HGCM66504A024470 ## Mail History Id: 30916068, Consumer Id: 1371796, Address Id: 15635754 => Updated with Vin: 1HGCM66507A045985 ## Mail History Id: 30916068, Consumer Id: 1371796, Address Id: 15635754 => Updated with Vin: 1HGCM66507A045985 ## Mail History Id: 30916092, Consumer Id: 1371889, Address Id: 9052059 => Updated with Vin: JHMFA362X8S010258 ## Mail History Id: 30916082, Consumer Id: 1371959, Address Id: 9094520 => Updated with Vin: 1HGCP268X8A096793 ## Total mail_history records updated with vin numbers: 22 out of 32 ============================================================ ====== Tracking Id: 2007 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-01 10:25:48') AND us2_order_type_id = 3 ## Order found: 2179 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2179 AND product_id = 2153 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3815 ## Mailing found: '13333' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956460, Consumer Id: 1369632, Address Id: 15636354 => Updated with Vin: 1HGEM22581L088389 ## Mail History Id: 30956478, Consumer Id: 1378943, Address Id: 9095230 => Updated with Vin: JAEDJ58V0T7B00065 ## Mail History Id: 30956454, Consumer Id: 1369402, Address Id: 15636192 => Updated with Vin: 2HKYF18613H572847 ## Mail History Id: 30956476, Consumer Id: 1365626, Address Id: 15636419 => Updated with Vin: 1HGCM66515A072545 ## Mail History Id: 30956488, Consumer Id: 1360136, Address Id: 11307440 => Updated with Vin: SHSRD788X4U230188 ## Mail History Id: 30956492, Consumer Id: 1366526, Address Id: 11307639 => Updated with Vin: 2T1BR32E93C712882 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 2008 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-01 10:26:00') AND us2_order_type_id = 3 ## Order found: 2179 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2179 AND product_id = 2147 ## Job Group Found: '556' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('556') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208002') AND customer_id = 3815 ## Mailing found: '13303' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916877, Consumer Id: 1370809, Address Id: 15638415 => Updated with Vin: 1HGCG1651YA100410 ## Mail History Id: 30916879, Consumer Id: 1371507, Address Id: 15639821 => Updated with Vin: 1HGCG16531A037431 ## Mail History Id: 30916881, Consumer Id: 1360581, Address Id: 15633021 => Updated with Vin: 1HGCG1652YA094469 ## Mail History Id: 30916883, Consumer Id: 1360228, Address Id: 2570032 => Updated with Vin: 1HGCG1658YA094654 ## Mail History Id: 30916887, Consumer Id: 1360580, Address Id: 2568997 => Updated with Vin: 5FNRL18692B017834 ## Mail History Id: 30916889, Consumer Id: 1360751, Address Id: 15633149 => Updated with Vin: 1HGCM56394A150917 ## Mail History Id: 30916891, Consumer Id: 1364978, Address Id: 15633727 => Updated with Vin: 5FNYF18717B006698 ## Mail History Id: 30916893, Consumer Id: 1361826, Address Id: 15633912 => Updated with Vin: 1HGCM56845A148442 ## Mail History Id: 30916895, Consumer Id: 1361827, Address Id: 15633913 => Updated with Vin: 2HGES16564H583492 ## Mail History Id: 30916897, Consumer Id: 1376624, Address Id: 15670356 => Updated with Vin: 1HGCM56875A188224 ## Mail History Id: 30916899, Consumer Id: 1363737, Address Id: 15636602 => Updated with Vin: 1HGCM56486A111327 ## Mail History Id: 30916901, Consumer Id: 1379543, Address Id: 8299718 => Updated with Vin: 5FNYF18687B007595 ## Mail History Id: 30916903, Consumer Id: 1378489, Address Id: 15671398 => Updated with Vin: 5J6YH28554L038667 ## Mail History Id: 30916905, Consumer Id: 1365860, Address Id: 15638775 => Updated with Vin: 1HGCM66537A085073 ## Mail History Id: 30916907, Consumer Id: 1367028, Address Id: 9262646 => Updated with Vin: 1HGCM81603A032255 ## Mail History Id: 30916909, Consumer Id: 1379578, Address Id: 15671968 => Updated with Vin: 1HGCD5666TA241250 ## Mail History Id: 30916911, Consumer Id: 1379601, Address Id: 3453119 => Updated with Vin: 1HGCM56333A056398 ## Mail History Id: 30916913, Consumer Id: 1379616, Address Id: 4803726 => Updated with Vin: 2HGFG21546H709693 ## Mail History Id: 30916915, Consumer Id: 1379618, Address Id: 15671988 => Updated with Vin: 1HGCP36818A025715 ## Total mail_history records updated with vin numbers: 19 out of 22 ============================================================ ====== Tracking Id: 2009 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-01 10:26:13') AND us2_order_type_id = 3 ## Order found: 2179 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2179 AND product_id = 2152 ## Job Group Found: '560' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('560') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208006') AND customer_id = 3815 ## Mailing found: '13318' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30917073, Consumer Id: 1369113, Address Id: 15635683 => Updated with Vin: 2HKRL1864YH550152 ## Mail History Id: 30917075, Consumer Id: 1377725, Address Id: 15670260 => Updated with Vin: 1HGCM56175A122677 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 2010 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-01 10:26:25') AND us2_order_type_id = 3 ## Order found: 2179 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2179 AND product_id = 2150 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3815 ## Mailing found: '13295' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916126, Consumer Id: 1369727, Address Id: 15636768 => Updated with Vin: 1HGCG2258WA026024 ## Mail History Id: 30916124, Consumer Id: 1360973, Address Id: 15633301 => Updated with Vin: 2HKYF18565H513710 ## Mail History Id: 30916078, Consumer Id: 1362023, Address Id: 15634277 => Updated with Vin: 1HGCM56624A014915 ## Mail History Id: 30915922, Consumer Id: 1362512, Address Id: 15635090 => Updated with Vin: 2HGES26792H535571 ## Mail History Id: 30916054, Consumer Id: 1379378, Address Id: 9422276 => Updated with Vin: 19UUA66257A020700 ## Mail History Id: 30916108, Consumer Id: 1366983, Address Id: 9424290 => Updated with Vin: 5FNRL18044B017805 ## Mail History Id: 30916110, Consumer Id: 1379361, Address Id: 15639507 => Updated with Vin: JHMBB6140YC005893 ## Mail History Id: 30915934, Consumer Id: 1367079, Address Id: 15639865 => Updated with Vin: 1HGEM22923L077801 ## Mail History Id: 30915924, Consumer Id: 1367159, Address Id: 15639915 => Updated with Vin: 5FNRL38747B132675 ## Mail History Id: 30916036, Consumer Id: 1379380, Address Id: 15671849 => Updated with Vin: JHLRD18411C055827 ## Total mail_history records updated with vin numbers: 10 out of 12 ============================================================ ====== Tracking Id: 2011 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-01 11:16:45') AND us2_order_type_id = 3 ## Order found: 2180 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2180 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3486 ## Mailing found: '13327' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955387, Consumer Id: 484833, Address Id: 9822595 => Updated with Vin: KL1TD52635B407300 ## Mail History Id: 30955411, Consumer Id: 475670, Address Id: 1036927 => Updated with Vin: 1GNCS13W112129293 ## Mail History Id: 30955493, Consumer Id: 476470, Address Id: 635391 => Updated with Vin: 3GNEC16Z42G295716 ## Mail History Id: 30955575, Consumer Id: 471247, Address Id: 1571167 => Updated with Vin: 2CNDL23F486304533 ## Mail History Id: 30955547, Consumer Id: 475698, Address Id: 1569630 => Updated with Vin: 2G1WH52K839247459 ## Mail History Id: 30955533, Consumer Id: 463117, Address Id: 1568832 => Updated with Vin: 1G1ZU54834F103210 ## Mail History Id: 30955461, Consumer Id: 471272, Address Id: 2006715 => Updated with Vin: 1G1YY22G445131760 ## Mail History Id: 30955483, Consumer Id: 477825, Address Id: 1038774 => Updated with Vin: 1GNDS13S452197644 ## Mail History Id: 30955371, Consumer Id: 490534, Address Id: 4374297 => Updated with Vin: 1GKDS13S732187085 ## Mail History Id: 30955481, Consumer Id: 466711, Address Id: 9821273 => Updated with Vin: 3GNEC12Z85G271459 ## Mail History Id: 30955529, Consumer Id: 480418, Address Id: 3904114 => Updated with Vin: 1G3GR64H624128326 ## Mail History Id: 30955451, Consumer Id: 467415, Address Id: 8115806 => Updated with Vin: 2G1WX12K839296589 ## Mail History Id: 30955571, Consumer Id: 467701, Address Id: 9821698 => Updated with Vin: 1GCDS136468166887 ## Mail History Id: 30955597, Consumer Id: 479523, Address Id: 8119874 => Updated with Vin: 3GNDA23P26S525069 ## Mail History Id: 30956510, Consumer Id: 467829, Address Id: 1537030 => Updated with Vin: 2CNDL63F466004737 ## Mail History Id: 30955391, Consumer Id: 467828, Address Id: 1063270 => Updated with Vin: 2GCEC13T161208586 ## Mail History Id: 30955553, Consumer Id: 468247, Address Id: 9821959 => Updated with Vin: 1G1ZT61886F245018 ## Mail History Id: 30955519, Consumer Id: 481256, Address Id: 4378038 => Updated with Vin: 3GNEC16Z93G157249 ## Mail History Id: 30955497, Consumer Id: 470920, Address Id: 9822166 => Updated with Vin: 1GCCS13E288157286 ## Mail History Id: 30955555, Consumer Id: 486244, Address Id: 9825861 => Updated with Vin: 1GAHG39U941101794 ## Mail History Id: 30955397, Consumer Id: 490523, Address Id: 7539715 => Updated with Vin: 1G2WP12K91F152873 ## Mail History Id: 30955611, Consumer Id: 470984, Address Id: 9823384 => Updated with Vin: 1G2NF52T0YC501154 ## Mail History Id: 30955407, Consumer Id: 490070, Address Id: 9826381 => Updated with Vin: KL1TD56666B511646 ## Mail History Id: 30955605, Consumer Id: 490508, Address Id: 9826571 => Updated with Vin: 1GNFC13J07J113471 ## Mail History Id: 30955509, Consumer Id: 490509, Address Id: 9826572 => Updated with Vin: 1G1NE52J83M578587 ## Mail History Id: 30955415, Consumer Id: 490511, Address Id: 1216613 => Updated with Vin: 2G1WF52E749333105 ## Mail History Id: 30955623, Consumer Id: 471248, Address Id: 9823528 => Updated with Vin: 1GNFC13C67R261899 ## Mail History Id: 30955465, Consumer Id: 490532, Address Id: 9826582 => Updated with Vin: 2CNDL13F956044037 ## Mail History Id: 30956504, Consumer Id: 471262, Address Id: 9823538 => Updated with Vin: 4T1CE38P86U691244 ## Mail History Id: 30955577, Consumer Id: 490530, Address Id: 9826580 => Updated with Vin: 1GKCS13W812190962 ## Mail History Id: 30955385, Consumer Id: 490535, Address Id: 3853934 => Updated with Vin: 2G1WP551849119049 ## Total mail_history records updated with vin numbers: 31 out of 46 ============================================================ ====== Tracking Id: 2012 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-01 11:16:57') AND us2_order_type_id = 3 ## Order found: 2180 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2180 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3486 ## Mailing found: '13327' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955429, Consumer Id: 464379, Address Id: 3394486 => Updated with Vin: 1GCHC29U24E305455 ## Mail History Id: 30955503, Consumer Id: 477056, Address Id: 9823898 => Updated with Vin: 2G1WF52E939450182 ## Mail History Id: 30955599, Consumer Id: 465215, Address Id: 641973 => Updated with Vin: 1GNEC13Z34J320109 ## Mail History Id: 30955579, Consumer Id: 486605, Address Id: 9826026 => Updated with Vin: 1GNFC130X7R405668 ## Mail History Id: 30955383, Consumer Id: 489919, Address Id: 9826324 => Updated with Vin: 2G1WT55K769315541 ## Mail History Id: 30955545, Consumer Id: 470992, Address Id: 7886182 => Updated with Vin: 1G6DW677160147753 ## Mail History Id: 30955389, Consumer Id: 490393, Address Id: 8229707 => Updated with Vin: KL1TD62674B238953 ## Mail History Id: 30955471, Consumer Id: 490442, Address Id: 9826543 => Updated with Vin: 1GKFK63857J344294 ## Total mail_history records updated with vin numbers: 8 out of 15 ============================================================ ====== Tracking Id: 2013 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-01 11:17:09') AND us2_order_type_id = 3 ## Order found: 2180 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2180 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3486 ## Mailing found: '13327' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2014 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-01 11:18:03') AND us2_order_type_id = 3 ## Order found: 2181 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2181 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3416 ## Mailing found: '13321' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955775, Consumer Id: 693156, Address Id: 4776225 => Updated with Vin: 3GKEK18R5VG526091 ## Mail History Id: 30955747, Consumer Id: 693152, Address Id: 11798702 => Updated with Vin: 4S3BL626157211520 ## Mail History Id: 30955787, Consumer Id: 625836, Address Id: 11766151 => Updated with Vin: 1G6KD57YX7U235548 ## Mail History Id: 30955769, Consumer Id: 693157, Address Id: 11798704 => Updated with Vin: 1G6KS52Y0SU811346 ## Mail History Id: 30955819, Consumer Id: 693154, Address Id: 11798703 => Updated with Vin: 5GTDN13E178212507 ## Mail History Id: 30955779, Consumer Id: 625850, Address Id: 11766160 => Updated with Vin: 1G6KY54973U153420 ## Mail History Id: 30955789, Consumer Id: 688812, Address Id: 1968084 => Updated with Vin: 1G6KF57935U203377 ## Mail History Id: 30955783, Consumer Id: 690194, Address Id: 1966130 => Updated with Vin: 1G6DW677560141762 ## Mail History Id: 30955777, Consumer Id: 684306, Address Id: 1965750 => Updated with Vin: 1G6KS54Y1YU143773 ## Mail History Id: 30955739, Consumer Id: 690535, Address Id: 10934294 => Updated with Vin: 1G1JF52F437191802 ## Mail History Id: 30955767, Consumer Id: 688947, Address Id: 2754985 => Updated with Vin: 5GRGN22U55H119195 ## Mail History Id: 30955807, Consumer Id: 690314, Address Id: 10934777 => Updated with Vin: 5GTDN136868194210 ## Mail History Id: 30955821, Consumer Id: 691101, Address Id: 3764569 => Updated with Vin: 5GTDN136468301253 ## Mail History Id: 30955849, Consumer Id: 625704, Address Id: 1969979 => Updated with Vin: 1G6KD57YX8U128890 ## Total mail_history records updated with vin numbers: 14 out of 17 ============================================================ ====== Tracking Id: 2015 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-01 11:18:14') AND us2_order_type_id = 3 ## Order found: 2181 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2181 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2016 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-01 11:18:18') AND us2_order_type_id = 3 ## Order found: 2181 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2181 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3416 ## Mailing found: '13321' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955733, Consumer Id: 692761, Address Id: 11798508 => Updated with Vin: 1G6DM577640128967 ## Mail History Id: 30955737, Consumer Id: 692892, Address Id: 11798568 => Updated with Vin: 1G6KD57Y77U229741 ## Mail History Id: 30955757, Consumer Id: 683521, Address Id: 1963499 => Updated with Vin: 1G6KE54Y5XU769249 ## Mail History Id: 30955761, Consumer Id: 683827, Address Id: 4768709 => Updated with Vin: 1G6KD52Y5VU214028 ## Mail History Id: 30955813, Consumer Id: 685515, Address Id: 1968975 => Updated with Vin: 1G3WH52HX2F160289 ## Mail History Id: 30955755, Consumer Id: 686374, Address Id: 1963366 => Updated with Vin: 1G6KF57902U132568 ## Mail History Id: 30955833, Consumer Id: 686231, Address Id: 1969540 => Updated with Vin: 1GYEK63N04R210233 ## Mail History Id: 30955731, Consumer Id: 690167, Address Id: 10232820 => Updated with Vin: 1G4CW54K734181854 ## Total mail_history records updated with vin numbers: 8 out of 12 ============================================================ ====== Tracking Id: 2017 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-01 11:18:34') AND us2_order_type_id = 3 ## Order found: 2182 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2182 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3491 ## Mailing found: '13328' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956144, Consumer Id: 809548, Address Id: 11884200 => Updated with Vin: 1G1AK55FX67702988 ## Mail History Id: 30955986, Consumer Id: 811362, Address Id: 11885992 => Updated with Vin: 3GCEC14X26G211022 ## Mail History Id: 30956124, Consumer Id: 839932, Address Id: 11883221 => Updated with Vin: 1B3EL46X15N557794 ## Mail History Id: 30956228, Consumer Id: 814296, Address Id: 11888928 => Updated with Vin: 3FTNX20L54MA13885 ## Mail History Id: 30956064, Consumer Id: 814596, Address Id: 11889129 => Updated with Vin: 1G1ZS52F64F180581 ## Mail History Id: 30955956, Consumer Id: 814594, Address Id: 1293871 => Updated with Vin: JM1BJ227430647596 ## Mail History Id: 30955946, Consumer Id: 814787, Address Id: 11889512 => Updated with Vin: KNDJD733055335096 ## Mail History Id: 30955966, Consumer Id: 814877, Address Id: 11889573 => Updated with Vin: 1GNFK13037J108811 ## Mail History Id: 30956156, Consumer Id: 815210, Address Id: 11889794 => Updated with Vin: 1G2JB12F647361773 ## Mail History Id: 30956042, Consumer Id: 832712, Address Id: 11890996 => Updated with Vin: 1GCEK19V24E170521 ## Mail History Id: 30955998, Consumer Id: 839915, Address Id: 11895515 => Updated with Vin: 2GCEC19T731249727 ## Mail History Id: 30956166, Consumer Id: 839926, Address Id: 11895518 => Updated with Vin: 1GCEC19T84Z242276 ## Mail History Id: 30956003, Consumer Id: 839911, Address Id: 11895514 => Updated with Vin: 1GCEC19W5YZ339256 ## Mail History Id: 30956000, Consumer Id: 839916, Address Id: 1298756 => Updated with Vin: 1GCEK14T5YZ169089 ## Mail History Id: 30956252, Consumer Id: 809272, Address Id: 11883762 => Updated with Vin: 1G1ZS51F86F107989 ## Mail History Id: 30956168, Consumer Id: 838799, Address Id: 11894941 => Updated with Vin: 1G1YY26E575134485 ## Mail History Id: 30956152, Consumer Id: 835471, Address Id: 11893021 => Updated with Vin: 1GNEK13ZX3R107340 ## Mail History Id: 30956192, Consumer Id: 836680, Address Id: 11893698 => Updated with Vin: 1GNES13H762212986 ## Mail History Id: 30956044, Consumer Id: 825444, Address Id: 11880643 => Updated with Vin: 1GNEC13Z22R307012 ## Mail History Id: 30956218, Consumer Id: 826672, Address Id: 11881431 => Updated with Vin: 1G1JC52F837338910 ## Mail History Id: 30956208, Consumer Id: 829196, Address Id: 11884727 => Updated with Vin: 1GNEK13Z04R232204 ## Mail History Id: 30956052, Consumer Id: 839334, Address Id: 11891638 => Updated with Vin: 1GNCS13WX12144214 ## Total mail_history records updated with vin numbers: 22 out of 25 ============================================================ ====== Tracking Id: 2018 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-01 11:18:46') AND us2_order_type_id = 3 ## Order found: 2182 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2182 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3491 ## Mailing found: '13328' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955897, Consumer Id: 809930, Address Id: 11884473 => Updated with Vin: 1GCHK23D36F142985 ## Mail History Id: 30955964, Consumer Id: 840068, Address Id: 11893979 => Updated with Vin: 2GCEC19K2R1129107 ## Mail History Id: 30956090, Consumer Id: 812725, Address Id: 11887388 => Updated with Vin: 3GNDA13D47S517539 ## Mail History Id: 30956080, Consumer Id: 814926, Address Id: 11889606 => Updated with Vin: 1G1AK55F877148657 ## Mail History Id: 30956260, Consumer Id: 815648, Address Id: 11890391 => Updated with Vin: 2G1WT58K189265198 ## Mail History Id: 30956180, Consumer Id: 840035, Address Id: 11890251 => Updated with Vin: JM1BB1417T0328144 ## Mail History Id: 30956186, Consumer Id: 815930, Address Id: 11890600 => Updated with Vin: 3GNDA33D88S607807 ## Mail History Id: 30956250, Consumer Id: 839819, Address Id: 11895471 => Updated with Vin: 2G1WB58K079259524 ## Mail History Id: 30956092, Consumer Id: 840062, Address Id: 11895637 => Updated with Vin: 1GBE4E11X4F508286 ## Mail History Id: 30956258, Consumer Id: 815566, Address Id: 11890327 => Updated with Vin: 1GCEC14X15Z309912 ## Mail History Id: 30956010, Consumer Id: 840067, Address Id: 11895642 => Updated with Vin: 5TDBT48A16S270560 ## Mail History Id: 30956096, Consumer Id: 840039, Address Id: 11895623 => Updated with Vin: 1G1BL52P2RR125798 ## Mail History Id: 30955978, Consumer Id: 840050, Address Id: 11895628 => Updated with Vin: 1GCHC23102F172135 ## Mail History Id: 30956002, Consumer Id: 840056, Address Id: 11895632 => Updated with Vin: 2G1WT58K889151456 ## Mail History Id: 30956034, Consumer Id: 827309, Address Id: 1302434 => Updated with Vin: 3GNEC12T04G110663 ## Mail History Id: 30956049, Consumer Id: 840066, Address Id: 11895641 => Updated with Vin: 4T1BB46K18U043152 ## Mail History Id: 30956142, Consumer Id: 827307, Address Id: 11881891 => Updated with Vin: 2G1WN52MXT9140911 ## Mail History Id: 30956060, Consumer Id: 827306, Address Id: 11881890 => Updated with Vin: 1GBFG15R1Y1111797 ## Mail History Id: 30955980, Consumer Id: 835444, Address Id: 1297259 => Updated with Vin: 1G1AP14P057646398 ## Mail History Id: 30956222, Consumer Id: 824607, Address Id: 11880091 => Updated with Vin: 2G1FP22K4Y2100119 ## Mail History Id: 30956108, Consumer Id: 830664, Address Id: 11887763 => Updated with Vin: 1G1JC124317195885 ## Mail History Id: 30956024, Consumer Id: 828878, Address Id: 1301512 => Updated with Vin: 1GCHK23194F174777 ## Mail History Id: 30956078, Consumer Id: 828879, Address Id: 11884002 => Updated with Vin: 1G1ND52F34M520905 ## Mail History Id: 30956066, Consumer Id: 835297, Address Id: 11892965 => Updated with Vin: 2GCEK13T651320043 ## Mail History Id: 30956054, Consumer Id: 840047, Address Id: 11881255 => Updated with Vin: 1J4FT68S4WL249087 ## Total mail_history records updated with vin numbers: 25 out of 28 ============================================================ ====== Tracking Id: 2019 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-01 11:18:59') AND us2_order_type_id = 3 ## Order found: 2182 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2182 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3491 ## Mailing found: '13328' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955942, Consumer Id: 814307, Address Id: 11875183 => Updated with Vin: 2G1WF52E859101999 ## Mail History Id: 30956184, Consumer Id: 814548, Address Id: 11889100 => Updated with Vin: 2G2WP552971201069 ## Mail History Id: 30956254, Consumer Id: 814850, Address Id: 11889551 => Updated with Vin: 1G1AK55F467627561 ## Mail History Id: 30956162, Consumer Id: 815288, Address Id: 11889839 => Updated with Vin: 1D4HB48D24F174900 ## Mail History Id: 30956138, Consumer Id: 825550, Address Id: 11880688 => Updated with Vin: 2G1WH55K229240260 ## Mail History Id: 30956030, Consumer Id: 2047362, Address Id: 16793318 => Updated with Vin: 1GKDT13WXX2504525 ## Mail History Id: 30956196, Consumer Id: 833059, Address Id: 11891342 => Updated with Vin: 1G1JF524027342549 ## Mail History Id: 30955962, Consumer Id: 830147, Address Id: 11875418 => Updated with Vin: 1GCGK23UX4F226505 ## Mail History Id: 30956174, Consumer Id: 833631, Address Id: 11891826 => Updated with Vin: 2G4WB52K041240896 ## Mail History Id: 30956036, Consumer Id: 833929, Address Id: 1302485 => Updated with Vin: 1GCEC14X95Z105259 ## Total mail_history records updated with vin numbers: 10 out of 13 ============================================================ ====== Tracking Id: 2020 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-01 11:20:24') AND us2_order_type_id = 3 ## Order found: 2183 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2183 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3705 ## Mailing found: '13330' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956071, Consumer Id: 960418, Address Id: 14831915 => Updated with Vin: 2GTEC13T651310111 ## Mail History Id: 30956053, Consumer Id: 964510, Address Id: 14837046 => Updated with Vin: 3GCEC14X26G191094 ## Mail History Id: 30956077, Consumer Id: 964857, Address Id: 14837292 => Updated with Vin: 1G2ZH558364166952 ## Mail History Id: 30956079, Consumer Id: 967009, Address Id: 14838919 => Updated with Vin: 2GCEC13V971176456 ## Mail History Id: 30956083, Consumer Id: 967558, Address Id: 14839353 => Updated with Vin: 2GTEC13V771173281 ## Mail History Id: 30956089, Consumer Id: 968703, Address Id: 14840163 => Updated with Vin: 2GCEC13J371650902 ## Mail History Id: 30956099, Consumer Id: 971322, Address Id: 14842055 => Updated with Vin: 2GCEC13J781126282 ## Mail History Id: 30956075, Consumer Id: 972092, Address Id: 9247411 => Updated with Vin: 2GCEC190471703055 ## Mail History Id: 30956081, Consumer Id: 972097, Address Id: 14842610 => Updated with Vin: 1GNFC13018R114378 ## Mail History Id: 30956061, Consumer Id: 972098, Address Id: 14842611 => Updated with Vin: 5GAER23738J240277 ## Mail History Id: 30956073, Consumer Id: 972099, Address Id: 14842612 => Updated with Vin: 2CNDL537386042479 ## Mail History Id: 30956063, Consumer Id: 972101, Address Id: 14842614 => Updated with Vin: 2GTEC13V361322736 ## Mail History Id: 30956065, Consumer Id: 972104, Address Id: 14842617 => Updated with Vin: 3GNDA23DX7S605159 ## Mail History Id: 30956093, Consumer Id: 972106, Address Id: 14842619 => Updated with Vin: 1G1ZK57768F209973 ## Mail History Id: 30956055, Consumer Id: 972110, Address Id: 14842622 => Updated with Vin: 1GKDS13S482171594 ## Mail History Id: 30956091, Consumer Id: 972114, Address Id: 14842626 => Updated with Vin: 3GNDA23D98S595337 ## Mail History Id: 30956067, Consumer Id: 972117, Address Id: 14842629 => Updated with Vin: 2GTEC19CX81237482 ## Mail History Id: 30956057, Consumer Id: 972118, Address Id: 14842630 => Updated with Vin: 3GNDA13D18S593057 ## Mail History Id: 30956059, Consumer Id: 972123, Address Id: 2588639 => Updated with Vin: 3GNDA13D88S606189 ## Mail History Id: 30956097, Consumer Id: 960030, Address Id: 14831213 => Updated with Vin: 1GTEK19T13E350893 ## Mail History Id: 30956087, Consumer Id: 977199, Address Id: 7531945 => Updated with Vin: 1GTEC14V02Z206068 ## Mail History Id: 30956069, Consumer Id: 980410, Address Id: 14845506 => Updated with Vin: 1GTHK23193F146119 ## Mail History Id: 30956095, Consumer Id: 980377, Address Id: 14846628 => Updated with Vin: 1GTEC19CX7Z504853 ## Mail History Id: 30956085, Consumer Id: 980406, Address Id: 14831778 => Updated with Vin: 1GKEK63UX4J295212 ## Total mail_history records updated with vin numbers: 24 out of 25 ============================================================ ====== Tracking Id: 2021 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-01 11:20:36') AND us2_order_type_id = 3 ## Order found: 2183 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2183 AND product_id = 106 ## Job Group Found: '558' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('558') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208004') AND customer_id = 3705 ## Mailing found: '13299' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916948, Consumer Id: 970621, Address Id: 14841598 => Updated with Vin: 3GTEK13328G101060 ## Mail History Id: 30916941, Consumer Id: 971397, Address Id: 647783 => Updated with Vin: 3GTEC13C87G544146 ## Mail History Id: 30916949, Consumer Id: 971399, Address Id: 14842107 => Updated with Vin: 1GNFC13C38R102825 ## Mail History Id: 30916942, Consumer Id: 971400, Address Id: 10551876 => Updated with Vin: 3GNDA23D38S567341 ## Mail History Id: 30916950, Consumer Id: 971401, Address Id: 14839622 => Updated with Vin: 1GNEC13Z23R312695 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2022 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-01 11:21:09') AND us2_order_type_id = 3 ## Order found: 2184 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2184 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3808 ## Mailing found: '13294' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916055, Consumer Id: 1172494, Address Id: 15030511 => Updated with Vin: 1HGEJ8240YL100743 ## Mail History Id: 30916039, Consumer Id: 1170865, Address Id: 15029103 => Updated with Vin: 3GNFK16R1XG162720 ## Mail History Id: 30916015, Consumer Id: 1172481, Address Id: 15030502 => Updated with Vin: 2GTEC19R6V1510580 ## Mail History Id: 30916061, Consumer Id: 1172463, Address Id: 15030489 => Updated with Vin: 2G1WH52K139308697 ## Mail History Id: 30916035, Consumer Id: 1172493, Address Id: 15030510 => Updated with Vin: 1G2NE52E0XM782627 ## Mail History Id: 30916051, Consumer Id: 1172483, Address Id: 15029313 => Updated with Vin: 3GNEC13TX2G157114 ## Mail History Id: 30916047, Consumer Id: 1170755, Address Id: 15029001 => Updated with Vin: 1G3NL52M6WM315462 ## Total mail_history records updated with vin numbers: 7 out of 10 ============================================================ ====== Tracking Id: 2023 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-01 11:21:13') AND us2_order_type_id = 3 ## Order found: 2184 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2184 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2024 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-01 11:21:17') AND us2_order_type_id = 3 ## Order found: 2184 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2184 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2025 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-01 11:21:20') AND us2_order_type_id = 3 ## Order found: 2184 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2184 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3808 ## Mailing found: '13332' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955949, Consumer Id: 1285980, Address Id: 15463626 => Updated with Vin: 1GNFK13037R352296 ## Mail History Id: 30955935, Consumer Id: 1287580, Address Id: 15464697 => Updated with Vin: 1GNEK13T53R263426 ## Mail History Id: 30955945, Consumer Id: 1287582, Address Id: 15464698 => Updated with Vin: 1GNEC13ZX4J117637 ## Mail History Id: 30955941, Consumer Id: 1287450, Address Id: 15464648 => Updated with Vin: 1GCEC14S5RE151169 ## Mail History Id: 30955955, Consumer Id: 1270972, Address Id: 15451627 => Updated with Vin: 1GNDT13W1X2226830 ## Mail History Id: 30955911, Consumer Id: 1274774, Address Id: 15029819 => Updated with Vin: 1GNDS13S422426299 ## Mail History Id: 30955951, Consumer Id: 1277103, Address Id: 15457179 => Updated with Vin: 2GCEC19T941237905 ## Mail History Id: 30956045, Consumer Id: 1282669, Address Id: 15461361 => Updated with Vin: 1GCHK23295F929730 ## Mail History Id: 30956015, Consumer Id: 1279094, Address Id: 15458769 => Updated with Vin: 1GNEC13ZX3R127181 ## Mail History Id: 30956021, Consumer Id: 1267722, Address Id: 15451043 => Updated with Vin: KL1TD52634B227314 ## Mail History Id: 30955899, Consumer Id: 1267978, Address Id: 15437946 => Updated with Vin: 1GNEC13T95R170585 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 2026 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-01 11:21:21') AND us2_order_type_id = 3 ## Order found: 2185 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2185 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3721 ## Mailing found: '13292' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 2 ============================================================ ====== Tracking Id: 2027 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-01 11:46:36') AND us2_order_type_id = 3 ## Order found: 2186 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2186 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3357 ## Mailing found: '13320' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956457, Consumer Id: 200380, Address Id: 407833 => Updated with Vin: JM1BK34M971686108 ## Mail History Id: 30955462, Consumer Id: 200082, Address Id: 407817 => Updated with Vin: 1FAFP33Z33W312094 ## Mail History Id: 30956465, Consumer Id: 195096, Address Id: 404873 => Updated with Vin: 1FDXE45S44HA80908 ## Mail History Id: 30955482, Consumer Id: 196440, Address Id: 405790 => Updated with Vin: 5LMEU68H64ZJ48574 ## Mail History Id: 30955434, Consumer Id: 197397, Address Id: 406280 => Updated with Vin: 3FAFP31N05R107077 ## Mail History Id: 30955460, Consumer Id: 200238, Address Id: 407827 => Updated with Vin: 1FTRF12277KB92817 ## Mail History Id: 30955578, Consumer Id: 200012, Address Id: 407816 => Updated with Vin: 1FAFP4041YF107556 ## Total mail_history records updated with vin numbers: 7 out of 12 ============================================================ ====== Tracking Id: 2028 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-01 11:46:43') AND us2_order_type_id = 3 ## Order found: 2185 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2185 AND product_id = 2150 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3721 ## Mailing found: '13292' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916316, Consumer Id: 1017220, Address Id: 6666737 => Updated with Vin: JM1CR293860119001 ## Mail History Id: 30916320, Consumer Id: 1010705, Address Id: 6667446 => Updated with Vin: 4F2YU09171KM48731 ## Mail History Id: 30916288, Consumer Id: 1011695, Address Id: 6658642 => Updated with Vin: JM1FE173X40140063 ## Mail History Id: 30916290, Consumer Id: 1017500, Address Id: 14933483 => Updated with Vin: JM1BK323741123242 ## Mail History Id: 30916302, Consumer Id: 1009885, Address Id: 529425 => Updated with Vin: JM1BK12F361499406 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2029 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-01 11:46:48') AND us2_order_type_id = 3 ## Order found: 2186 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2186 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3357 ## Mailing found: '13320' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956493, Consumer Id: 198629, Address Id: 407720 => Updated with Vin: 5LMEU68H05ZJ29083 ## Mail History Id: 30955396, Consumer Id: 461219, Address Id: 399413 => Updated with Vin: 1FDWE35S01HB58599 ## Mail History Id: 30955406, Consumer Id: 188876, Address Id: 400767 => Updated with Vin: 1FMDU75K74ZA29906 ## Mail History Id: 30955378, Consumer Id: 187304, Address Id: 398086 => Updated with Vin: 1YVFP84D345N80655 ## Mail History Id: 30956491, Consumer Id: 191877, Address Id: 401102 => Updated with Vin: 1ZVHT85H455168772 ## Mail History Id: 30956463, Consumer Id: 188216, Address Id: 399719 => Updated with Vin: 1YVHP82D455M27540 ## Mail History Id: 30955376, Consumer Id: 456733, Address Id: 9815893 => Updated with Vin: 1FTYR14V12PB36636 ## Mail History Id: 30955386, Consumer Id: 199308, Address Id: 407414 => Updated with Vin: 1LNHM87AX2Y707451 ## Mail History Id: 30955366, Consumer Id: 436710, Address Id: 9800661 => Updated with Vin: 1FMYU93103KB58732 ## Mail History Id: 30955594, Consumer Id: 460904, Address Id: 9819014 => Updated with Vin: JTDDY38T040072638 ## Mail History Id: 30956421, Consumer Id: 165938, Address Id: 425623 => Updated with Vin: 1GCDS136948106455 ## Mail History Id: 30955422, Consumer Id: 189657, Address Id: 401952 => Updated with Vin: 1FTSW31P04EC23720 ## Mail History Id: 30955508, Consumer Id: 461211, Address Id: 9819189 => Updated with Vin: 2HKYF18484H616021 ## Mail History Id: 30955598, Consumer Id: 461208, Address Id: 9819186 => Updated with Vin: 1LNHM86S94Y666582 ## Mail History Id: 30955514, Consumer Id: 461210, Address Id: 9819188 => Updated with Vin: 5Y2SL62874Z430891 ## Mail History Id: 30955506, Consumer Id: 198331, Address Id: 407063 => Updated with Vin: 1ZVFT80N255239245 ## Mail History Id: 30955428, Consumer Id: 435949, Address Id: 9800280 => Updated with Vin: 2HNYD188X5H528083 ## Mail History Id: 30955592, Consumer Id: 197544, Address Id: 406044 => Updated with Vin: JM1BK124061418800 ## Mail History Id: 30955498, Consumer Id: 152336, Address Id: 394672 => Updated with Vin: JM1BK324161439621 ## Mail History Id: 30956473, Consumer Id: 152621, Address Id: 394938 => Updated with Vin: JM1BK12G061481017 ## Mail History Id: 30955560, Consumer Id: 461221, Address Id: 6903282 => Updated with Vin: 1ZVFT80N965140360 ## Mail History Id: 30955410, Consumer Id: 152611, Address Id: 394930 => Updated with Vin: 1ZVFT80N165142233 ## Mail History Id: 30955370, Consumer Id: 199720, Address Id: 406700 => Updated with Vin: 1YVHP82D665M04553 ## Mail History Id: 30955526, Consumer Id: 155819, Address Id: 397852 => Updated with Vin: 1YVFP80C965M66370 ## Mail History Id: 30956459, Consumer Id: 154600, Address Id: 396744 => Updated with Vin: 1G1AP14P167839676 ## Mail History Id: 30955470, Consumer Id: 197875, Address Id: 407016 => Updated with Vin: 1FTSW21P76EC40012 ## Mail History Id: 30956449, Consumer Id: 153559, Address Id: 395796 => Updated with Vin: JM1BK32G771615549 ## Mail History Id: 30956487, Consumer Id: 197607, Address Id: 406287 => Updated with Vin: JM1BK34M871715081 ## Mail History Id: 30955590, Consumer Id: 461223, Address Id: 9819198 => Updated with Vin: 3FAHP08117R111281 ## Mail History Id: 30955562, Consumer Id: 194153, Address Id: 403495 => Updated with Vin: 1FMPU18L5YLA63284 ## Mail History Id: 30955534, Consumer Id: 420552, Address Id: 9800032 => Updated with Vin: 1FTSW20R58EB04693 ## Mail History Id: 30956447, Consumer Id: 460763, Address Id: 9819012 => Updated with Vin: 1FMFK18538LA54795 ## Mail History Id: 30955548, Consumer Id: 460570, Address Id: 9818756 => Updated with Vin: 1FTHX26F7VEC83898 ## Mail History Id: 30955536, Consumer Id: 374781, Address Id: 9750937 => Updated with Vin: 3GKFK16T1YG134605 ## Total mail_history records updated with vin numbers: 34 out of 50 ============================================================ ====== Tracking Id: 2030 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-01 11:46:56') AND us2_order_type_id = 3 ## Order found: 2185 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2185 AND product_id = 2147 ## Job Group Found: '556' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('556') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208002') AND customer_id = 3721 ## Mailing found: '13302' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916863, Consumer Id: 1013242, Address Id: 6662000 => Updated with Vin: JM1BK343951228492 ## Mail History Id: 30916865, Consumer Id: 1017355, Address Id: 14933434 => Updated with Vin: 4F4YR16VXXTM17420 ## Mail History Id: 30916867, Consumer Id: 1017590, Address Id: 14933540 => Updated with Vin: JM3TB28Y770105620 ## Mail History Id: 30916869, Consumer Id: 1010189, Address Id: 14931855 => Updated with Vin: 2GCEC13T161120847 ## Mail History Id: 30916871, Consumer Id: 1015924, Address Id: 6658961 => Updated with Vin: JM1NC25F960118711 ## Mail History Id: 30916873, Consumer Id: 1015842, Address Id: 14933046 => Updated with Vin: JM1FE173350150998 ## Mail History Id: 30916875, Consumer Id: 1012315, Address Id: 6667910 => Updated with Vin: 1YVHP84D155M28531 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 2031 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-01 11:47:01') AND us2_order_type_id = 3 ## Order found: 2186 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2186 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3357 ## Mailing found: '13320' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955538, Consumer Id: 199889, Address Id: 407451 => Updated with Vin: JM1TA221521726414 ## Mail History Id: 30955394, Consumer Id: 188401, Address Id: 398664 => Updated with Vin: 1FTSE34L95HB04236 ## Mail History Id: 30955502, Consumer Id: 155501, Address Id: 395018 => Updated with Vin: 1FAHP28177G124670 ## Mail History Id: 30956429, Consumer Id: 155505, Address Id: 397553 => Updated with Vin: 1FMEU63E77UB37231 ## Mail History Id: 30956481, Consumer Id: 155497, Address Id: 397546 => Updated with Vin: JM1BK324381826013 ## Mail History Id: 30955566, Consumer Id: 190347, Address Id: 396518 => Updated with Vin: 1FAFP53U62G236735 ## Mail History Id: 30955438, Consumer Id: 199566, Address Id: 407430 => Updated with Vin: 3FAKP1135YR105119 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 2032 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-01 12:18:49') AND us2_order_type_id = 3 ## Order found: 2187 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2187 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2033 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-01 12:18:53') AND us2_order_type_id = 3 ## Order found: 2187 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2187 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2034 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-01 12:18:56') AND us2_order_type_id = 3 ## Order found: 2187 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2187 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3427 ## Mailing found: '13323' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956272, Consumer Id: 483574, Address Id: 9838183 => Updated with Vin: 5FNRL38748B400416 ## Mail History Id: 30956290, Consumer Id: 483575, Address Id: 9838184 => Updated with Vin: 1MEFM55S74G614545 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2035 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-01 12:19:04') AND us2_order_type_id = 3 ## Order found: 2188 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2188 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3471 ## Mailing found: '13288' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916457, Consumer Id: 822286, Address Id: 11876337 => Updated with Vin: 1G6KD57Y37U126171 ## Mail History Id: 30916551, Consumer Id: 800626, Address Id: 10220654 => Updated with Vin: 1G6KD54Y8WU715767 ## Mail History Id: 30916473, Consumer Id: 816278, Address Id: 7416503 => Updated with Vin: 1G6KD54Y55U103699 ## Mail History Id: 30916435, Consumer Id: 816154, Address Id: 4228915 => Updated with Vin: 1G6DW677250173261 ## Mail History Id: 30916513, Consumer Id: 760387, Address Id: 10215824 => Updated with Vin: 1G6KD52BXRU286831 ## Mail History Id: 30916431, Consumer Id: 808034, Address Id: 7878698 => Updated with Vin: 1GYEK63N55R167672 ## Mail History Id: 30916409, Consumer Id: 803806, Address Id: 7878111 => Updated with Vin: 1G6KS52Y1RU830174 ## Mail History Id: 30916445, Consumer Id: 817627, Address Id: 7415759 => Updated with Vin: 1G6KD54Y84U100617 ## Mail History Id: 30916485, Consumer Id: 800723, Address Id: 11870983 => Updated with Vin: 1GKDT13W7Y2256350 ## Mail History Id: 30916441, Consumer Id: 823344, Address Id: 7415673 => Updated with Vin: 1G6KD57Y67U111468 ## Mail History Id: 30916421, Consumer Id: 822895, Address Id: 7878339 => Updated with Vin: 1G6AL5781EE635925 ## Mail History Id: 30916543, Consumer Id: 820853, Address Id: 11871558 => Updated with Vin: 1G6KD54Y95U265545 ## Mail History Id: 30916565, Consumer Id: 806560, Address Id: 11874015 => Updated with Vin: 1G6KD54Y94U100433 ## Mail History Id: 30916425, Consumer Id: 803589, Address Id: 7878393 => Updated with Vin: 1G3NF52EX1C138655 ## Mail History Id: 30916545, Consumer Id: 821104, Address Id: 10219566 => Updated with Vin: 1G6DC67A160105250 ## Mail History Id: 30916481, Consumer Id: 821501, Address Id: 4553415 => Updated with Vin: 1GYFK63887R153458 ## Mail History Id: 30916483, Consumer Id: 821106, Address Id: 7416848 => Updated with Vin: 1GYEE63AX60207187 ## Mail History Id: 30916535, Consumer Id: 822871, Address Id: 10218066 => Updated with Vin: 1GYEK13R7YR104342 ## Mail History Id: 30916509, Consumer Id: 806676, Address Id: 10216206 => Updated with Vin: 1G6DP567150115179 ## Mail History Id: 30916493, Consumer Id: 801660, Address Id: 10215202 => Updated with Vin: 1GYEK63N13R124010 ## Mail History Id: 30916461, Consumer Id: 822404, Address Id: 7416096 => Updated with Vin: 1G6DC67AX50208603 ## Mail History Id: 30916423, Consumer Id: 818191, Address Id: 6524176 => Updated with Vin: 1GYEE63A960129226 ## Mail History Id: 30916417, Consumer Id: 818523, Address Id: 4551854 => Updated with Vin: 1GYEE637060147151 ## Mail History Id: 30916501, Consumer Id: 820771, Address Id: 10215718 => Updated with Vin: 1G6DW677760204540 ## Mail History Id: 30915997, Consumer Id: 822946, Address Id: 11040357 => Updated with Vin: 1GYFK66877R338466 ## Mail History Id: 30916527, Consumer Id: 822727, Address Id: 10216335 => Updated with Vin: 1G6KD54Y25U101134 ## Mail History Id: 30916547, Consumer Id: 806260, Address Id: 11873777 => Updated with Vin: 1G6DP567950105922 ## Mail History Id: 30916447, Consumer Id: 823172, Address Id: 11876316 => Updated with Vin: 1GYFK66867R327068 ## Mail History Id: 30916467, Consumer Id: 760352, Address Id: 7416333 => Updated with Vin: 1G6KE54Y74U217876 ## Mail History Id: 30916507, Consumer Id: 823427, Address Id: 10215761 => Updated with Vin: 1GYFK63867R299518 ## Mail History Id: 30916549, Consumer Id: 799802, Address Id: 11870546 => Updated with Vin: 1GYEK63N92R200314 ## Mail History Id: 30916451, Consumer Id: 798184, Address Id: 10213737 => Updated with Vin: 1G6KD54Y9XU785103 ## Total mail_history records updated with vin numbers: 32 out of 52 ============================================================ ====== Tracking Id: 2036 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-01 12:19:19') AND us2_order_type_id = 3 ## Order found: 2188 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2188 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3471 ## Mailing found: '13326' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956149, Consumer Id: 799595, Address Id: 11870456 => Updated with Vin: 1G3GR62C0W4115889 ## Mail History Id: 30956105, Consumer Id: 804592, Address Id: 7878116 => Updated with Vin: 1G6DM577740106847 ## Mail History Id: 30956151, Consumer Id: 821302, Address Id: 7416847 => Updated with Vin: 3G5DB03E02S521631 ## Mail History Id: 30956191, Consumer Id: 802349, Address Id: 10218396 => Updated with Vin: 1G6KE54Y8WU771561 ## Mail History Id: 30956131, Consumer Id: 823184, Address Id: 11876238 => Updated with Vin: 3GYFK62827G199398 ## Mail History Id: 30956197, Consumer Id: 823390, Address Id: 11878898 => Updated with Vin: 1GHDT13S222100663 ## Mail History Id: 30956123, Consumer Id: 823388, Address Id: 11878897 => Updated with Vin: 1G6KD54Y2VU255987 ## Mail History Id: 30956175, Consumer Id: 807044, Address Id: 11876903 => Updated with Vin: 1FMFU18L84LA33928 ## Mail History Id: 30956195, Consumer Id: 823397, Address Id: 11878899 => Updated with Vin: 4JGAB54EXXA135360 ## Total mail_history records updated with vin numbers: 9 out of 12 ============================================================ ====== Tracking Id: 2037 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-01 12:19:22') AND us2_order_type_id = 3 ## Order found: 2189 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2189 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3451 ## Mailing found: '13286' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916601, Consumer Id: 613113, Address Id: 829580 => Updated with Vin: 1G6KD54Y52U128467 ## Mail History Id: 30916629, Consumer Id: 613609, Address Id: 836629 => Updated with Vin: 1G6KD54Y8XU701112 ## Mail History Id: 30916663, Consumer Id: 612959, Address Id: 11756439 => Updated with Vin: 1G6CD53B9N4265806 ## Mail History Id: 30916589, Consumer Id: 613002, Address Id: 825114 => Updated with Vin: 1GYEK63N73R288247 ## Mail History Id: 30916587, Consumer Id: 616681, Address Id: 824791 => Updated with Vin: 1G6KD54Y0XU732175 ## Mail History Id: 30916625, Consumer Id: 618617, Address Id: 835627 => Updated with Vin: 1G6KF57931U269728 ## Mail History Id: 30916637, Consumer Id: 611637, Address Id: 11759459 => Updated with Vin: 1G6DP577060208226 ## Mail History Id: 30916649, Consumer Id: 626573, Address Id: 11763982 => Updated with Vin: 1G6EL12Y5WU610132 ## Mail History Id: 30916655, Consumer Id: 627315, Address Id: 11764828 => Updated with Vin: 1G6DP577X60159116 ## Mail History Id: 30916645, Consumer Id: 611918, Address Id: 11760196 => Updated with Vin: 1G6DP577360142609 ## Mail History Id: 30916593, Consumer Id: 619374, Address Id: 11760980 => Updated with Vin: 1G6KD57YX6U110192 ## Mail History Id: 30916669, Consumer Id: 617816, Address Id: 11759562 => Updated with Vin: 1G6KD54Y94U210575 ## Mail History Id: 30916617, Consumer Id: 873739, Address Id: 11913190 => Updated with Vin: 1GYFK63837R253242 ## Mail History Id: 30916659, Consumer Id: 873736, Address Id: 11913188 => Updated with Vin: 1G6DM57T570153778 ## Mail History Id: 30916647, Consumer Id: 909880, Address Id: 11940189 => Updated with Vin: 1G6DP567350209967 ## Total mail_history records updated with vin numbers: 15 out of 26 ============================================================ ====== Tracking Id: 2038 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-01 14:16:17') AND us2_order_type_id = 3 ## Order found: 2176 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2176 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3418 ## Mailing found: '13285' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916372, Consumer Id: 611112, Address Id: 11755737 => Updated with Vin: 1GYEE437480150416 ## Mail History Id: 30916510, Consumer Id: 629281, Address Id: 11769721 => Updated with Vin: 3GYEK63NX3G172976 ## Mail History Id: 30916468, Consumer Id: 681278, Address Id: 11794737 => Updated with Vin: 1G6KD579X7U186439 ## Mail History Id: 30916334, Consumer Id: 611125, Address Id: 11755748 => Updated with Vin: 1GYEE637680105618 ## Mail History Id: 30916334, Consumer Id: 611125, Address Id: 11755748 => Updated with Vin: 1GYEE637680105618 ## Mail History Id: 30916340, Consumer Id: 611109, Address Id: 11755734 => Updated with Vin: 1G6DT57V680188559 ## Mail History Id: 30916494, Consumer Id: 668724, Address Id: 11786842 => Updated with Vin: 3GYFK66N34G182542 ## Mail History Id: 30916326, Consumer Id: 629603, Address Id: 11769999 => Updated with Vin: 5GTDN136668217368 ## Mail History Id: 30916382, Consumer Id: 629263, Address Id: 11769710 => Updated with Vin: 1GYEK63N42R100945 ## Mail History Id: 30916492, Consumer Id: 610150, Address Id: 11754906 => Updated with Vin: 1G6DM577580109218 ## Mail History Id: 30916398, Consumer Id: 678125, Address Id: 11790770 => Updated with Vin: 2G1WM15K369358103 ## Mail History Id: 30916352, Consumer Id: 677894, Address Id: 11418505 => Updated with Vin: 1G6DP577770132747 ## Mail History Id: 30916330, Consumer Id: 675794, Address Id: 10323740 => Updated with Vin: 1G6KD57YX6U178721 ## Mail History Id: 30916394, Consumer Id: 678988, Address Id: 11770685 => Updated with Vin: 1YVGD31B2L5241094 ## Mail History Id: 30916526, Consumer Id: 663324, Address Id: 11755765 => Updated with Vin: 1GYEE637440181378 ## Mail History Id: 30916416, Consumer Id: 629785, Address Id: 11770004 => Updated with Vin: 1G6DM57T670115282 ## Mail History Id: 30916546, Consumer Id: 612234, Address Id: 11755958 => Updated with Vin: 1G6DP567050175308 ## Mail History Id: 30916336, Consumer Id: 679205, Address Id: 6608248 => Updated with Vin: 1G6KD57YX7U187548 ## Mail History Id: 30916384, Consumer Id: 680673, Address Id: 11794378 => Updated with Vin: 1G6KF5495XU795680 ## Total mail_history records updated with vin numbers: 19 out of 42 ============================================================ ====== Tracking Id: 2039 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-01 14:16:32') AND us2_order_type_id = 3 ## Order found: 2189 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2189 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3451 ## Mailing found: '13324' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956263, Consumer Id: 616559, Address Id: 828951 => Updated with Vin: 1G6DM57N130137637 ## Mail History Id: 30956313, Consumer Id: 614968, Address Id: 838857 => Updated with Vin: 1G6KE54Y4YU216173 ## Mail History Id: 30956377, Consumer Id: 628531, Address Id: 3245246 => Updated with Vin: 1G6DC67A260181544 ## Mail History Id: 30956365, Consumer Id: 620835, Address Id: 3244353 => Updated with Vin: 1G6KD54Y1YU355230 ## Mail History Id: 30956327, Consumer Id: 628532, Address Id: 11765745 => Updated with Vin: 1N6ED27T8YC350148 ## Mail History Id: 30956329, Consumer Id: 617057, Address Id: 11758954 => Updated with Vin: 1GYEC63T54R146914 ## Mail History Id: 30956345, Consumer Id: 616911, Address Id: 11758851 => Updated with Vin: 1GKDS13SX32363689 ## Mail History Id: 30956351, Consumer Id: 617184, Address Id: 4624692 => Updated with Vin: 1G6KD54Y03U202590 ## Mail History Id: 30956271, Consumer Id: 628360, Address Id: 11760036 => Updated with Vin: 1GYEE637260218088 ## Mail History Id: 30956253, Consumer Id: 621939, Address Id: 826627 => Updated with Vin: 1HGCG16502A050574 ## Mail History Id: 30956235, Consumer Id: 622831, Address Id: 823643 => Updated with Vin: 1G6KD54Y03U125137 ## Mail History Id: 30956249, Consumer Id: 626617, Address Id: 11764011 => Updated with Vin: 3GYEK62NX4G251518 ## Mail History Id: 30956307, Consumer Id: 627372, Address Id: 11764871 => Updated with Vin: 1D4HD48D74F212485 ## Mail History Id: 30956371, Consumer Id: 627370, Address Id: 11764869 => Updated with Vin: 1GYEC63N46R157679 ## Mail History Id: 30956409, Consumer Id: 612036, Address Id: 11759939 => Updated with Vin: 3GYEK62N34G247231 ## Mail History Id: 30956269, Consumer Id: 627756, Address Id: 11765202 => Updated with Vin: JHLRD68585C011772 ## Mail History Id: 30956415, Consumer Id: 627988, Address Id: 11765363 => Updated with Vin: 2HGES16651H924031 ## Mail History Id: 30956243, Consumer Id: 628223, Address Id: 11765529 => Updated with Vin: YV1MS382852083377 ## Mail History Id: 30956265, Consumer Id: 628524, Address Id: 11765740 => Updated with Vin: YV1TS59H741368778 ## Mail History Id: 30956251, Consumer Id: 628321, Address Id: 11765591 => Updated with Vin: 1GYFK668X7R217866 ## Mail History Id: 30956387, Consumer Id: 628534, Address Id: 11765746 => Updated with Vin: 3GYEK62N54G134347 ## Mail History Id: 30956289, Consumer Id: 628520, Address Id: 11765736 => Updated with Vin: KM8JN12D57U612074 ## Mail History Id: 30956277, Consumer Id: 628528, Address Id: 11765742 => Updated with Vin: 1G6KF57942U122691 ## Mail History Id: 30956247, Consumer Id: 628527, Address Id: 11765741 => Updated with Vin: 1GKEC13T83J286580 ## Mail History Id: 30956343, Consumer Id: 622686, Address Id: 3404703 => Updated with Vin: 1G6KD54Y65U121564 ## Mail History Id: 30956285, Consumer Id: 628553, Address Id: 11765759 => Updated with Vin: 2G1WT58K989113508 ## Mail History Id: 30956237, Consumer Id: 628535, Address Id: 10156634 => Updated with Vin: 1GYEK63N24R169491 ## Mail History Id: 30956279, Consumer Id: 628518, Address Id: 11765734 => Updated with Vin: 1GYEK63N92R177195 ## Mail History Id: 30956393, Consumer Id: 628523, Address Id: 11765739 => Updated with Vin: 1GYFK63837R386180 ## Mail History Id: 30956325, Consumer Id: 628543, Address Id: 11765752 => Updated with Vin: 1G6KD54Y9XU797302 ## Mail History Id: 30956293, Consumer Id: 628542, Address Id: 11765751 => Updated with Vin: 1GYEC63T32R133057 ## Mail History Id: 30956373, Consumer Id: 619543, Address Id: 11761263 => Updated with Vin: 2B3KA43R97H723358 ## Total mail_history records updated with vin numbers: 32 out of 37 ============================================================ ====== Tracking Id: 2040 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-01 14:16:44') AND us2_order_type_id = 3 ## Order found: 2189 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2189 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3451 ## Mailing found: '13324' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956331, Consumer Id: 616339, Address Id: 11756843 => Updated with Vin: 1G6KD54Y84U129342 ## Mail History Id: 30956273, Consumer Id: 628154, Address Id: 11763900 => Updated with Vin: 1G6KD54YXYU176152 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2041 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-01 19:56:11') AND us2_order_type_id = 3 ## Order found: 2190 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2190 AND product_id = 2147 ## Job Group Found: '562' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('562') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408002') AND customer_id = 3846 ## Mailing found: '13417' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31003375, Consumer Id: 1186997, Address Id: 15371436 => Updated with Vin: 4S4BP62C687335504 ## Mail History Id: 31003377, Consumer Id: 1178716, Address Id: 15367396 => Updated with Vin: JF1SG65625H721665 ## Mail History Id: 31003379, Consumer Id: 1183939, Address Id: 15368135 => Updated with Vin: JF1SF6352WG704286 ## Mail History Id: 31003381, Consumer Id: 1186992, Address Id: 471033 => Updated with Vin: 4S4BP61C257370117 ## Mail History Id: 31003383, Consumer Id: 1187001, Address Id: 15371438 => Updated with Vin: JF1GF4351XH811335 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2042 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-01 19:56:23') AND us2_order_type_id = 3 ## Order found: 2190 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2190 AND product_id = 2150 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3846 ## Mailing found: '13410' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993675, Consumer Id: 1185180, Address Id: 15369134 => Updated with Vin: 4S4BP61C957375623 ## Mail History Id: 30992627, Consumer Id: 1185155, Address Id: 15369078 => Updated with Vin: JF1SG65636H753123 ## Mail History Id: 30992395, Consumer Id: 1179279, Address Id: 453720 => Updated with Vin: 4S3BH635627310255 ## Mail History Id: 30992425, Consumer Id: 1182714, Address Id: 115778 => Updated with Vin: JF1GE61678G506620 ## Mail History Id: 30993043, Consumer Id: 1186946, Address Id: 15371374 => Updated with Vin: 4S3BH6866Y7645347 ## Mail History Id: 30992168, Consumer Id: 1182183, Address Id: 15368755 => Updated with Vin: JF1SG696X6H721165 ## Mail History Id: 30993621, Consumer Id: 1180098, Address Id: 15366887 => Updated with Vin: 4S3BD6351S7223536 ## Mail History Id: 30992663, Consumer Id: 1182600, Address Id: 15369841 => Updated with Vin: 4S3BL616677210707 ## Mail History Id: 30992411, Consumer Id: 1182016, Address Id: 15369857 => Updated with Vin: 4S4BP68C256330101 ## Mail History Id: 30993014, Consumer Id: 1186947, Address Id: 15371375 => Updated with Vin: 4S3BH635636301286 ## Mail History Id: 30992111, Consumer Id: 1185974, Address Id: 9755447 => Updated with Vin: JF1SG69615H744090 ## Total mail_history records updated with vin numbers: 11 out of 11 ============================================================ ====== Tracking Id: 2043 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-01 19:56:35') AND us2_order_type_id = 3 ## Order found: 2190 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2190 AND product_id = 2152 ## Job Group Found: '566' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('566') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408006') AND customer_id = 3846 ## Mailing found: '13370' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30999349, Consumer Id: 1184589, Address Id: 15366665 => Updated with Vin: JF1SG63695H702601 ## Mail History Id: 30999351, Consumer Id: 1186896, Address Id: 15371296 => Updated with Vin: JF1SG63623G723812 ## Mail History Id: 30999353, Consumer Id: 1183702, Address Id: 15369412 => Updated with Vin: JF1SF65661H703778 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2044 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-01 20:16:23') AND us2_order_type_id = 3 ## Order found: 2172 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2172 AND product_id = 2153 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3503 ## Mailing found: '13380' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998511, Consumer Id: 2160548, Address Id: 9725981 => Updated with Vin: JTDKB20U740101589 ## Mail History Id: 30998357, Consumer Id: 2158812, Address Id: 9722378 => Updated with Vin: 4T1BF28B63U334521 ## Mail History Id: 30998621, Consumer Id: 2161490, Address Id: 9727362 => Updated with Vin: 4T1BE32KX5U529820 ## Mail History Id: 30998583, Consumer Id: 2168793, Address Id: 9737480 => Updated with Vin: 4T1BB46K58U039279 ## Mail History Id: 30998471, Consumer Id: 2175400, Address Id: 4383176 => Updated with Vin: 2T1BR12E81C494712 ## Mail History Id: 30998411, Consumer Id: 2167439, Address Id: 9734781 => Updated with Vin: JTMBD32V376040992 ## Mail History Id: 30998461, Consumer Id: 2159203, Address Id: 9723460 => Updated with Vin: 4T1BF32K24U063134 ## Total mail_history records updated with vin numbers: 7 out of 22 ============================================================ ====== Tracking Id: 2045 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-01 20:16:35') AND us2_order_type_id = 3 ## Order found: 2172 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2172 AND product_id = 2147 ## Job Group Found: '562' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('562') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408002') AND customer_id = 3503 ## Mailing found: '13414' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31003318, Consumer Id: 2162559, Address Id: 9728700 => Updated with Vin: JTDKB20U653094330 ## Mail History Id: 31003322, Consumer Id: 2165448, Address Id: 9731906 => Updated with Vin: JTLKT324X64097036 ## Mail History Id: 31003328, Consumer Id: 2163212, Address Id: 9729594 => Updated with Vin: JTEBU14R650074585 ## Mail History Id: 31003330, Consumer Id: 2169319, Address Id: 9738315 => Updated with Vin: JTDBT923881216664 ## Mail History Id: 31003336, Consumer Id: 2169944, Address Id: 9747387 => Updated with Vin: JTEHH20VX36092248 ## Total mail_history records updated with vin numbers: 5 out of 13 ============================================================ ====== Tracking Id: 2046 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-01 20:16:47') AND us2_order_type_id = 3 ## Order found: 2172 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2172 AND product_id = 2150 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3503 ## Mailing found: '13402,13913' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992423, Consumer Id: 2172140, Address Id: 9719871 => Updated with Vin: JTEHF21A410028577 ## Mail History Id: 30992385, Consumer Id: 427279, Address Id: 9752334 => Updated with Vin: 2T1BR32E87C716959 ## Mail History Id: 30992571, Consumer Id: 2174923, Address Id: 9723021 => Updated with Vin: JTEHH20VX36073683 ## Mail History Id: 30992467, Consumer Id: 2165359, Address Id: 9731840 => Updated with Vin: JTMBD35V865037523 ## Total mail_history records updated with vin numbers: 4 out of 7 ============================================================ ====== Tracking Id: 2047 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-02 07:16:46') AND us2_order_type_id = 3 ## Order found: 2191 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2191 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3503 ## Mailing found: '13402,13913' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992333, Consumer Id: 2162680, Address Id: 9720570 => Updated with Vin: 5TDZA23C15S369282 ## Mail History Id: 30993055, Consumer Id: 2167529, Address Id: 9726024 => Updated with Vin: 4T1BK36B27U190508 ## Mail History Id: 30992338, Consumer Id: 2160572, Address Id: 9726000 => Updated with Vin: 4T1BE32K74U294730 ## Mail History Id: 30993267, Consumer Id: 2180050, Address Id: 9732591 => Updated with Vin: 4T1BE32K14U275414 ## Mail History Id: 30992303, Consumer Id: 2158628, Address Id: 9721350 => Updated with Vin: JTEHD21A230023709 ## Mail History Id: 30992147, Consumer Id: 2165150, Address Id: 9724491 => Updated with Vin: 2T1BR32E76C695245 ## Mail History Id: 30993699, Consumer Id: 2165331, Address Id: 9731819 => Updated with Vin: JTNBE46K973033948 ## Mail History Id: 30992875, Consumer Id: 2180048, Address Id: 9732790 => Updated with Vin: 1NXBR12E41Z432061 ## Mail History Id: 30992098, Consumer Id: 2160492, Address Id: 5292565 => Updated with Vin: 4T1BE32K84U373789 ## Mail History Id: 30992197, Consumer Id: 2174419, Address Id: 9722238 => Updated with Vin: 4T3ZF13CX2U460766 ## Mail History Id: 30992829, Consumer Id: 2174044, Address Id: 9721909 => Updated with Vin: 4T1BE32K72U563936 ## Mail History Id: 30993291, Consumer Id: 2161880, Address Id: 9727931 => Updated with Vin: JTEHD20V656029047 ## Mail History Id: 30993253, Consumer Id: 2159896, Address Id: 9725050 => Updated with Vin: JTKKT624040062693 ## Mail History Id: 30993711, Consumer Id: 2176482, Address Id: 9724953 => Updated with Vin: 4T1BF28B03U279662 ## Mail History Id: 30993573, Consumer Id: 2171150, Address Id: 9718912 => Updated with Vin: 4T3ZF13CX3U511068 ## Mail History Id: 30993539, Consumer Id: 2169246, Address Id: 9724030 => Updated with Vin: 5TEMU52N58Z506415 ## Mail History Id: 30993459, Consumer Id: 1031539, Address Id: 9747553 => Updated with Vin: 5TEWN72N02Z142221 ## Mail History Id: 30992184, Consumer Id: 2170014, Address Id: 9730324 => Updated with Vin: 5TELU42N08Z561795 ## Mail History Id: 30992469, Consumer Id: 2158915, Address Id: 9722464 => Updated with Vin: JTDBR32E742032592 ## Mail History Id: 30992669, Consumer Id: 2167968, Address Id: 9735430 => Updated with Vin: 4T1CA30P97U134173 ## Mail History Id: 30992976, Consumer Id: 2170031, Address Id: 11801675 => Updated with Vin: 5TELU42N38Z548930 ## Mail History Id: 30992347, Consumer Id: 2168608, Address Id: 458724 => Updated with Vin: 4T1BK36B67U245879 ## Mail History Id: 30992313, Consumer Id: 2160108, Address Id: 464953 => Updated with Vin: JTEEP21A540034554 ## Mail History Id: 30992434, Consumer Id: 2162128, Address Id: 9728114 => Updated with Vin: JTEGD21A750118622 ## Mail History Id: 30992121, Consumer Id: 2172786, Address Id: 9720557 => Updated with Vin: JT3HP10V1X7116684 ## Mail History Id: 30993405, Consumer Id: 2169129, Address Id: 9724933 => Updated with Vin: 4T1BE46K08U756471 ## Mail History Id: 30992223, Consumer Id: 1211181, Address Id: 9753328 => Updated with Vin: WDBRF81J75F666125 ## Mail History Id: 30992923, Consumer Id: 2161785, Address Id: 9724717 => Updated with Vin: JTEHF21A830141788 ## Mail History Id: 30993203, Consumer Id: 2169827, Address Id: 9738672 => Updated with Vin: JTEEW41A782011799 ## Mail History Id: 30992293, Consumer Id: 2170011, Address Id: 11912964 => Updated with Vin: JTEHP21A170193900 ## Mail History Id: 30993065, Consumer Id: 2171328, Address Id: 9719079 => Updated with Vin: JT3HN86RXY0290532 ## Mail History Id: 30992388, Consumer Id: 2165873, Address Id: 9732220 => Updated with Vin: JTEHP21A360165921 ## Mail History Id: 30993171, Consumer Id: 2173255, Address Id: 9720986 => Updated with Vin: 4T1BG22K8XU885089 ## Mail History Id: 30992889, Consumer Id: 2174955, Address Id: 9723046 => Updated with Vin: 2T1BR32EX3C030786 ## Mail History Id: 30992112, Consumer Id: 2174702, Address Id: 9722820 => Updated with Vin: 4T1BG22K0WU222369 ## Mail History Id: 30992114, Consumer Id: 2174375, Address Id: 9722201 => Updated with Vin: JT2BK18U230083038 ## Mail History Id: 30992362, Consumer Id: 2175893, Address Id: 9724125 => Updated with Vin: JT2BG22K6X0356096 ## Mail History Id: 30992769, Consumer Id: 2162125, Address Id: 9728112 => Updated with Vin: JTKKT624450107538 ## Mail History Id: 30992827, Consumer Id: 2161907, Address Id: 9727949 => Updated with Vin: 2T1KR32E95C425738 ## Mail History Id: 30993755, Consumer Id: 2174752, Address Id: 9722865 => Updated with Vin: 2T1BR32EX3C031193 ## Mail History Id: 30993449, Consumer Id: 2178017, Address Id: 9727701 => Updated with Vin: 5TBBT44144S440440 ## Mail History Id: 30992271, Consumer Id: 2164406, Address Id: 9730913 => Updated with Vin: JTEBU11FX70003189 ## Total mail_history records updated with vin numbers: 42 out of 74 ============================================================ ====== Tracking Id: 2048 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-02 08:46:38') AND us2_order_type_id = 3 ## Order found: 2192 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2192 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3230 ## Mailing found: '13319' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2049 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-02 08:46:41') AND us2_order_type_id = 3 ## Order found: 2192 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2192 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3230 ## Mailing found: '13282' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916686, Consumer Id: 93174, Address Id: 51593 => Updated with Vin: 1FTWW31R28EA72551 ## Mail History Id: 30916722, Consumer Id: 872845, Address Id: 53337 => Updated with Vin: 5LMFU28R21LJ20551 ## Mail History Id: 30915971, Consumer Id: 63615, Address Id: 50402 => Updated with Vin: 1FTPX045X4KD80667 ## Mail History Id: 30915975, Consumer Id: 93286, Address Id: 51795 => Updated with Vin: 1FTWW31RX8EB06963 ## Mail History Id: 30916426, Consumer Id: 872849, Address Id: 11912684 => Updated with Vin: 1FTZF1863WNB91512 ## Mail History Id: 30916782, Consumer Id: 38556, Address Id: 51671 => Updated with Vin: 1FTSW21R78EA71808 ## Mail History Id: 30916786, Consumer Id: 64410, Address Id: 47455 => Updated with Vin: 2FMZA57604BA55270 ## Mail History Id: 30915959, Consumer Id: 67288, Address Id: 50512 => Updated with Vin: 1FTRF122X6NB25531 ## Mail History Id: 30915925, Consumer Id: 65657, Address Id: 48188 => Updated with Vin: 1FTRX14W25FA86133 ## Mail History Id: 30915963, Consumer Id: 92688, Address Id: 49155 => Updated with Vin: 1FMZK02157GA11516 ## Mail History Id: 30915927, Consumer Id: 872848, Address Id: 49118 => Updated with Vin: 1FMCU03142KC29421 ## Mail History Id: 30915927, Consumer Id: 93052, Address Id: 49118 => Updated with Vin: 3FAHP07Z27R236264 ## Mail History Id: 30916768, Consumer Id: 66972, Address Id: 47967 => Updated with Vin: 1FAFP55S82G195004 ## Mail History Id: 30916778, Consumer Id: 65300, Address Id: 49154 => Updated with Vin: 1FMZU35P1XZC06948 ## Mail History Id: 30916748, Consumer Id: 65386, Address Id: 48055 => Updated with Vin: 2FMZA53402BB22306 ## Mail History Id: 30915945, Consumer Id: 65102, Address Id: 49247 => Updated with Vin: 1FAFP34N45W174483 ## Mail History Id: 30916766, Consumer Id: 64787, Address Id: 47857 => Updated with Vin: 1FTNX21F32EA17980 ## Mail History Id: 30916752, Consumer Id: 67062, Address Id: 50694 => Updated with Vin: 1FTWW31P06EA24722 ## Mail History Id: 30916738, Consumer Id: 63194, Address Id: 47755 => Updated with Vin: 1FTNW21F01EC82535 ## Mail History Id: 30916728, Consumer Id: 66453, Address Id: 47785 => Updated with Vin: 1FTYR44UX3PB67250 ## Mail History Id: 30916736, Consumer Id: 62870, Address Id: 47496 => Updated with Vin: 1FTSX31FX1EB64868 ## Mail History Id: 30916720, Consumer Id: 872846, Address Id: 49476 => Updated with Vin: 1FMZK02147GA06159 ## Mail History Id: 30916742, Consumer Id: 93055, Address Id: 51471 => Updated with Vin: 1FTPX12V57FB15564 ## Mail History Id: 30916764, Consumer Id: 92964, Address Id: 49897 => Updated with Vin: 1FAHP28197G128770 ## Mail History Id: 30916684, Consumer Id: 67751, Address Id: 50689 => Updated with Vin: 1FMYU93136KA77230 ## Mail History Id: 30916692, Consumer Id: 93019, Address Id: 51447 => Updated with Vin: 1FMCU03198KA44015 ## Mail History Id: 30916688, Consumer Id: 93435, Address Id: 51944 => Updated with Vin: 3GNDA23DX7S560577 ## Mail History Id: 30915941, Consumer Id: 872850, Address Id: 11912685 => Updated with Vin: 1FDLF47F2VEA53074 ## Total mail_history records updated with vin numbers: 28 out of 37 ============================================================ ====== Tracking Id: 2050 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-02 09:19:21') AND us2_order_type_id = 3 ## Order found: 2193 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2193 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3470 ## Mailing found: '13325' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955704, Consumer Id: 576107, Address Id: 4896518 => Updated with Vin: 3C4FY48B13T560441 ## Mail History Id: 30955649, Consumer Id: 575974, Address Id: 10723198 => Updated with Vin: 1B4HS28N7YF224283 ## Mail History Id: 30955644, Consumer Id: 568531, Address Id: 10695754 => Updated with Vin: 1D7KS28C26J246327 ## Mail History Id: 30955685, Consumer Id: 909588, Address Id: 7736111 => Updated with Vin: 2C4GP44323R275580 ## Mail History Id: 30955806, Consumer Id: 573225, Address Id: 10705403 => Updated with Vin: 1D7HA18K48J132489 ## Mail History Id: 30955744, Consumer Id: 567289, Address Id: 10710924 => Updated with Vin: 1J4GS48K46C290959 ## Mail History Id: 30955624, Consumer Id: 567964, Address Id: 4052742 => Updated with Vin: 2C3KA63H06H535932 ## Mail History Id: 30955608, Consumer Id: 567917, Address Id: 10712107 => Updated with Vin: 1J4GS48K66C259518 ## Mail History Id: 30955890, Consumer Id: 568116, Address Id: 10713679 => Updated with Vin: 1D7HA18N86J131238 ## Mail History Id: 30955684, Consumer Id: 569498, Address Id: 10716509 => Updated with Vin: 1D4GP24R86B554921 ## Mail History Id: 30955782, Consumer Id: 581605, Address Id: 10616663 => Updated with Vin: 1D8HD58267F561077 ## Mail History Id: 30955664, Consumer Id: 572952, Address Id: 10677429 => Updated with Vin: 2B3KA53H68H106725 ## Mail History Id: 30955922, Consumer Id: 552663, Address Id: 10602602 => Updated with Vin: 3D7KS19D48G162502 ## Mail History Id: 30955693, Consumer Id: 873702, Address Id: 8216955 => Updated with Vin: 2C4GM68405R367460 ## Mail History Id: 30955876, Consumer Id: 873704, Address Id: 11913155 => Updated with Vin: 2D8HN44H58R101596 ## Mail History Id: 30955678, Consumer Id: 909589, Address Id: 1172129 => Updated with Vin: 1G4HP54K95U190237 ## Mail History Id: 30955687, Consumer Id: 873130, Address Id: 11913147 => Updated with Vin: 1J8FT48W38D734968 ## Mail History Id: 30955677, Consumer Id: 874443, Address Id: 11913690 => Updated with Vin: 1C3LC65M68N147896 ## Mail History Id: 30955854, Consumer Id: 909846, Address Id: 11940164 => Updated with Vin: 2D4FV47T68H130409 ## Mail History Id: 30955656, Consumer Id: 909849, Address Id: 1163434 => Updated with Vin: 1B3LC46K88N670058 ## Total mail_history records updated with vin numbers: 20 out of 24 ============================================================ ====== Tracking Id: 2051 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-02 09:19:36') AND us2_order_type_id = 3 ## Order found: 2193 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2193 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3470 ## Mailing found: '13325' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955616, Consumer Id: 557742, Address Id: 10693921 => Updated with Vin: 1J4FA29164P764179 ## Mail History Id: 30955812, Consumer Id: 558413, Address Id: 10694171 => Updated with Vin: 3C4FY58B54T256472 ## Mail History Id: 30955842, Consumer Id: 558412, Address Id: 10694170 => Updated with Vin: 3C4FY48B24T322356 ## Mail History Id: 30955878, Consumer Id: 582354, Address Id: 10720709 => Updated with Vin: 2A4GM68486R926605 ## Mail History Id: 30955824, Consumer Id: 574280, Address Id: 10720878 => Updated with Vin: 3C4FY48BX3T500965 ## Mail History Id: 30955653, Consumer Id: 565311, Address Id: 8549265 => Updated with Vin: 3C4FY58B75T578452 ## Mail History Id: 30955802, Consumer Id: 577778, Address Id: 7473254 => Updated with Vin: 2C8GP64L02R639049 ## Mail History Id: 30955858, Consumer Id: 578839, Address Id: 1549609 => Updated with Vin: 1D4HD48K75F564451 ## Mail History Id: 30955868, Consumer Id: 570015, Address Id: 1551869 => Updated with Vin: 1D4GP45R06B741743 ## Mail History Id: 30955635, Consumer Id: 570628, Address Id: 6836937 => Updated with Vin: 1B3HB48B97D350354 ## Mail History Id: 30955680, Consumer Id: 571690, Address Id: 3234562 => Updated with Vin: 2B3KA43R87H853342 ## Mail History Id: 30955932, Consumer Id: 572459, Address Id: 10718071 => Updated with Vin: 1J4GB59108L523752 ## Mail History Id: 30955874, Consumer Id: 571956, Address Id: 10718961 => Updated with Vin: 1J8GP58K98W171747 ## Mail History Id: 30955850, Consumer Id: 583370, Address Id: 1548998 => Updated with Vin: 3A4FY48B47T622432 ## Mail History Id: 30955658, Consumer Id: 583371, Address Id: 10745452 => Updated with Vin: 3C4FY48B34T243908 ## Mail History Id: 30955828, Consumer Id: 573083, Address Id: 10719451 => Updated with Vin: 1B3HB28B78D503755 ## Total mail_history records updated with vin numbers: 16 out of 19 ============================================================ ====== Tracking Id: 2052 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-02 09:19:45') AND us2_order_type_id = 3 ## Order found: 2194 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2194 AND product_id = 142 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3768 ## Mailing found: '13293' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30915932, Consumer Id: 1107404, Address Id: 8130881 => Updated with Vin: 1G6KE57Y2YU247983 ## Mail History Id: 30915978, Consumer Id: 1111404, Address Id: 5987006 => Updated with Vin: 1G6KD54Y45U239404 ## Mail History Id: 30915974, Consumer Id: 1109668, Address Id: 8827232 => Updated with Vin: 2G4WD582571209892 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 2053 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-02 09:19:48') AND us2_order_type_id = 3 ## Order found: 2194 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2194 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3768 ## Mailing found: '13331' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956356, Consumer Id: 1046130, Address Id: 14953332 => Updated with Vin: 1G6KD52Y1TU210779 ## Mail History Id: 30956390, Consumer Id: 1113583, Address Id: 8827732 => Updated with Vin: 1G6DP577360172354 ## Mail History Id: 30956410, Consumer Id: 1111621, Address Id: 1080327 => Updated with Vin: 1G3WH52K7WF310280 ## Mail History Id: 30956404, Consumer Id: 1107344, Address Id: 5989980 => Updated with Vin: 1G6KD54Y1YU209104 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2054 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-02 09:20:00') AND us2_order_type_id = 3 ## Order found: 2193 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2193 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3470 ## Mailing found: '13325' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955778, Consumer Id: 572877, Address Id: 7469752 => Updated with Vin: 1J8GA69148L554915 ## Mail History Id: 30955804, Consumer Id: 572989, Address Id: 1546151 => Updated with Vin: 2A8GM68X58R638908 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2055 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-02 09:20:00') AND us2_order_type_id = 3 ## Order found: 2194 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2194 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3768 ## Mailing found: '13331' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956346, Consumer Id: 1109564, Address Id: 12939287 => Updated with Vin: 1D7HA18237J514706 ## Mail History Id: 30956416, Consumer Id: 1108322, Address Id: 5991108 => Updated with Vin: 1G6KD54Y2YU243925 ## Mail History Id: 30956380, Consumer Id: 1110249, Address Id: 5987382 => Updated with Vin: 1G6KD54Y0XU774622 ## Mail History Id: 30956386, Consumer Id: 1110542, Address Id: 8827576 => Updated with Vin: 1G6KD54Y25U129855 ## Mail History Id: 30956424, Consumer Id: 1110896, Address Id: 5793139 => Updated with Vin: 1G6DP567250146697 ## Mail History Id: 30956374, Consumer Id: 1116338, Address Id: 14982634 => Updated with Vin: 1G1YY23P6P5112744 ## Mail History Id: 30956420, Consumer Id: 1116298, Address Id: 14984024 => Updated with Vin: W06VR54RXYR047918 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 2056 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-02 10:16:48') AND us2_order_type_id = 3 ## Order found: 2195 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2195 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3846 ## Mailing found: '13410' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992633, Consumer Id: 1185300, Address Id: 15369197 => Updated with Vin: 4S4WX83C764424377 ## Mail History Id: 30993649, Consumer Id: 1186312, Address Id: 15370554 => Updated with Vin: JF1SF6359YH732258 ## Mail History Id: 30993779, Consumer Id: 1179788, Address Id: 15366586 => Updated with Vin: JF1SG63613H702024 ## Mail History Id: 30992967, Consumer Id: 1186299, Address Id: 15370377 => Updated with Vin: 4S4BP61CX76345295 ## Mail History Id: 30992771, Consumer Id: 291903, Address Id: 4462866 => Updated with Vin: 4S3BH675447622734 ## Mail History Id: 30992723, Consumer Id: 1179151, Address Id: 15367916 => Updated with Vin: 4S3BP626757302568 ## Mail History Id: 30992731, Consumer Id: 1179276, Address Id: 15366213 => Updated with Vin: 4S3BH635616302919 ## Mail History Id: 30992781, Consumer Id: 1181996, Address Id: 15368589 => Updated with Vin: JF1SG63606H719854 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 2057 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-02 10:19:31') AND us2_order_type_id = 3 ## Order found: 2193 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2193 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3470 ## Mailing found: '13287' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916252, Consumer Id: 580339, Address Id: 7880231 => Updated with Vin: 1J4GB39157L163266 ## Mail History Id: 30916182, Consumer Id: 555639, Address Id: 5389620 => Updated with Vin: 3C4FY48B04T209263 ## Mail History Id: 30916220, Consumer Id: 580537, Address Id: 3404612 => Updated with Vin: 1B3ES56C53D205343 ## Mail History Id: 30916220, Consumer Id: 580537, Address Id: 3404612 => Updated with Vin: 1B3ES56C53D205343 ## Mail History Id: 30916276, Consumer Id: 571353, Address Id: 10012389 => Updated with Vin: 1B3HB48B07D350355 ## Mail History Id: 30916176, Consumer Id: 1027212, Address Id: 10697625 => Updated with Vin: KNAFE161555107862 ## Mail History Id: 30916172, Consumer Id: 1235912, Address Id: 15420534 => Updated with Vin: 2A4GM48426R911859 ## Total mail_history records updated with vin numbers: 7 out of 11 ============================================================ ====== Tracking Id: 2058 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-02 10:19:44') AND us2_order_type_id = 3 ## Order found: 2196 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2196 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3416 ## Mailing found: '13284' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2059 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-02 10:20:23') AND us2_order_type_id = 3 ## Order found: 2209 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2209 AND product_id = 2152 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2060 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-02 10:22:32') AND us2_order_type_id = 3 ## Order found: 2197 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2197 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3795 ## Mailing found: '13407' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2061 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-02 10:22:43') AND us2_order_type_id = 3 ## Order found: 2197 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2197 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3795 ## Mailing found: '13384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998967, Consumer Id: 1053857, Address Id: 14888074 => Updated with Vin: JHLRD187X1S004164 ## Mail History Id: 30998891, Consumer Id: 1052290, Address Id: 14955151 => Updated with Vin: 2HKYF18474H536743 ## Mail History Id: 30998837, Consumer Id: 1061034, Address Id: 7654798 => Updated with Vin: 1HGCM66555A029116 ## Mail History Id: 30998995, Consumer Id: 1056219, Address Id: 185493 => Updated with Vin: 1HGFA15806L019121 ## Mail History Id: 30998921, Consumer Id: 1059995, Address Id: 14957150 => Updated with Vin: 1HGFA16568L041521 ## Mail History Id: 30998635, Consumer Id: 1067958, Address Id: 14961183 => Updated with Vin: 5FNRL38436B401740 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 2062 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-02 10:22:55') AND us2_order_type_id = 3 ## Order found: 2197 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2197 AND product_id = 114 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3795 ## Mailing found: '13384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998496, Consumer Id: 1059882, Address Id: 14957334 => Updated with Vin: 5FNRL38677B128031 ## Mail History Id: 30999009, Consumer Id: 1068544, Address Id: 10523697 => Updated with Vin: 1HGCG2254YA019574 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 2063 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-02 10:22:59') AND us2_order_type_id = 3 ## Order found: 2198 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2198 AND product_id = 142 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3697 ## Mailing found: '13290' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30915996, Consumer Id: 1045302, Address Id: 14953098 => Updated with Vin: 1GYFK63817R341173 ## Mail History Id: 30916006, Consumer Id: 1051781, Address Id: 14954908 => Updated with Vin: 1GYEE637440152348 ## Mail History Id: 30916000, Consumer Id: 1044953, Address Id: 14952982 => Updated with Vin: 1G6KD54Y94U210267 ## Mail History Id: 30916002, Consumer Id: 1042752, Address Id: 5994705 => Updated with Vin: 1G6KD54Y1YU209880 ## Mail History Id: 30915966, Consumer Id: 1051637, Address Id: 6907289 => Updated with Vin: 1G6KD57Y26U241293 ## Mail History Id: 30915952, Consumer Id: 1051539, Address Id: 14954784 => Updated with Vin: 1G6KD57Y27U113492 ## Total mail_history records updated with vin numbers: 6 out of 9 ============================================================ ====== Tracking Id: 2064 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-02 10:23:09') AND us2_order_type_id = 3 ## Order found: 2198 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2198 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3697 ## Mailing found: '13329' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956414, Consumer Id: 1050803, Address Id: 12938120 => Updated with Vin: 1G6DM57N030104175 ## Mail History Id: 30956500, Consumer Id: 1045593, Address Id: 14953179 => Updated with Vin: 3GYFK66N26G117099 ## Mail History Id: 30956368, Consumer Id: 1041470, Address Id: 11666397 => Updated with Vin: 1G6KE57Y92U237670 ## Mail History Id: 30956484, Consumer Id: 1044209, Address Id: 14952752 => Updated with Vin: 1G6DM577340133883 ## Mail History Id: 30956360, Consumer Id: 1041807, Address Id: 2853620 => Updated with Vin: 3GNEC16T51G180536 ## Mail History Id: 30956340, Consumer Id: 1051634, Address Id: 14954844 => Updated with Vin: 1G1YY26W185114602 ## Mail History Id: 30956434, Consumer Id: 1042330, Address Id: 14952269 => Updated with Vin: 1G6DM57N630115956 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 2065 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-02 10:23:21') AND us2_order_type_id = 3 ## Order found: 2198 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2198 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3697 ## Mailing found: '13329' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2066 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-02 10:24:55') AND us2_order_type_id = 3 ## Order found: 2199 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2199 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3815 ## Mailing found: '13295' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916090, Consumer Id: 1370648, Address Id: 9400400 => Updated with Vin: 1HGES16531L051521 ## Mail History Id: 30916070, Consumer Id: 1369882, Address Id: 15636872 => Updated with Vin: 5FNRL18903B010668 ## Mail History Id: 30916114, Consumer Id: 1369473, Address Id: 15636243 => Updated with Vin: 1HGCB9850NA016228 ## Mail History Id: 30915928, Consumer Id: 1363050, Address Id: 1348275 => Updated with Vin: 5FNYF186X6B012506 ## Mail History Id: 30916134, Consumer Id: 1360214, Address Id: 15632744 => Updated with Vin: 1HGCG22591A029037 ## Mail History Id: 30916138, Consumer Id: 1360461, Address Id: 15632936 => Updated with Vin: 1HGCM56734A145375 ## Mail History Id: 30916080, Consumer Id: 1363207, Address Id: 15635951 => Updated with Vin: 5FNRL38796B070706 ## Mail History Id: 30916026, Consumer Id: 1364643, Address Id: 15637630 => Updated with Vin: 1HGCM56885A133555 ## Mail History Id: 30916016, Consumer Id: 1365805, Address Id: 15638744 => Updated with Vin: 1HGCM56737A182088 ## Mail History Id: 30916060, Consumer Id: 1379080, Address Id: 15671741 => Updated with Vin: 2HGFG21526H704508 ## Mail History Id: 30916066, Consumer Id: 1371966, Address Id: 15668761 => Updated with Vin: 1HGFA16518L087810 ## Total mail_history records updated with vin numbers: 11 out of 15 ============================================================ ====== Tracking Id: 2067 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-02 10:25:02') AND us2_order_type_id = 3 ## Order found: 2199 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2199 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2068 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-02 10:25:06') AND us2_order_type_id = 3 ## Order found: 2199 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2199 AND product_id = 2152 ## Job Group Found: '560' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('560') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208006') AND customer_id = 3815 ## Mailing found: '13318' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30917077, Consumer Id: 1363948, Address Id: 15636987 => Updated with Vin: SHSRD78876U427306 ## Mail History Id: 30917079, Consumer Id: 1364729, Address Id: 15637689 => Updated with Vin: 5FNRL38867B023174 ## Mail History Id: 30917081, Consumer Id: 1365422, Address Id: 15638513 => Updated with Vin: 5FNYF28777B014942 ## Mail History Id: 30917083, Consumer Id: 1366780, Address Id: 15639611 => Updated with Vin: JHMGD38488S002346 ## Mail History Id: 30917085, Consumer Id: 1379035, Address Id: 15671733 => Updated with Vin: 4T1CE38P94U806740 ## Mail History Id: 30917087, Consumer Id: 1366845, Address Id: 15639642 => Updated with Vin: 5FNRL38865B117424 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 2069 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-02 10:25:17') AND us2_order_type_id = 3 ## Order found: 2199 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2199 AND product_id = 2153 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3815 ## Mailing found: '13333' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956482, Consumer Id: 1365498, Address Id: 15638557 => Updated with Vin: 1HGCM56817A138373 ## Mail History Id: 30956320, Consumer Id: 1377832, Address Id: 15671051 => Updated with Vin: 1HGEJ8140YL110318 ## Mail History Id: 30956338, Consumer Id: 1366437, Address Id: 15639274 => Updated with Vin: 2HJYK16267H548114 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2070 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-02 11:16:52') AND us2_order_type_id = 3 ## Order found: 2200 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2200 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3486 ## Mailing found: '13327' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955469, Consumer Id: 490450, Address Id: 1566256 => Updated with Vin: 3GCEC13C77G549872 ## Mail History Id: 30955379, Consumer Id: 476458, Address Id: 4374383 => Updated with Vin: 2G1WF55E229374542 ## Mail History Id: 30955525, Consumer Id: 476459, Address Id: 1568630 => Updated with Vin: 1G2WP52K92F255042 ## Mail History Id: 30955501, Consumer Id: 466926, Address Id: 4377336 => Updated with Vin: 1GCHK23205F843867 ## Mail History Id: 30955613, Consumer Id: 480526, Address Id: 9824632 => Updated with Vin: 1G1YY32G5Y5132119 ## Mail History Id: 30955375, Consumer Id: 468267, Address Id: 5423515 => Updated with Vin: 2CNDL63F956003064 ## Mail History Id: 30955507, Consumer Id: 485042, Address Id: 2011346 => Updated with Vin: 1GNDS13S662147202 ## Mail History Id: 30955531, Consumer Id: 489917, Address Id: 9826322 => Updated with Vin: 1GNEC13T65J232569 ## Mail History Id: 30955431, Consumer Id: 471146, Address Id: 9823474 => Updated with Vin: 2GCEC19J281217094 ## Mail History Id: 30955441, Consumer Id: 471154, Address Id: 9823477 => Updated with Vin: 2GCEC19C181237239 ## Mail History Id: 30955373, Consumer Id: 471051, Address Id: 9823416 => Updated with Vin: 2GCEC19J881212577 ## Mail History Id: 30955457, Consumer Id: 471059, Address Id: 1070825 => Updated with Vin: 1GNFC13038R160469 ## Mail History Id: 30955601, Consumer Id: 471063, Address Id: 9823421 => Updated with Vin: 1G1AK58FX87164775 ## Mail History Id: 30955425, Consumer Id: 471081, Address Id: 9823432 => Updated with Vin: 1GNFC13J28R192709 ## Mail History Id: 30955369, Consumer Id: 490429, Address Id: 3853760 => Updated with Vin: 1GNDS13S542267120 ## Mail History Id: 30955459, Consumer Id: 490446, Address Id: 6111632 => Updated with Vin: 1Y1SK52821Z432472 ## Total mail_history records updated with vin numbers: 16 out of 20 ============================================================ ====== Tracking Id: 2071 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-02 11:17:14') AND us2_order_type_id = 3 ## Order found: 2200 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2200 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3486 ## Mailing found: '13327' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955419, Consumer Id: 476842, Address Id: 1037031 => Updated with Vin: 1GNEC13Z02J310151 ## Mail History Id: 30955405, Consumer Id: 480473, Address Id: 1036868 => Updated with Vin: 1B4HR28N41F642253 ## Mail History Id: 30955537, Consumer Id: 468697, Address Id: 9821146 => Updated with Vin: 1GBJG312761176925 ## Mail History Id: 30955603, Consumer Id: 470816, Address Id: 1572890 => Updated with Vin: 2GCEC13J681148483 ## Mail History Id: 30955607, Consumer Id: 480374, Address Id: 1573020 => Updated with Vin: 3GKFK16Z53G228418 ## Mail History Id: 30955589, Consumer Id: 480235, Address Id: 9824567 => Updated with Vin: 2G1WF52E159311439 ## Mail History Id: 30955413, Consumer Id: 486428, Address Id: 9825148 => Updated with Vin: 2G1FP22G7W2140686 ## Mail History Id: 30955435, Consumer Id: 490202, Address Id: 9826445 => Updated with Vin: 1GCHK236X7F546241 ## Mail History Id: 30955515, Consumer Id: 490541, Address Id: 2527029 => Updated with Vin: 1G1YY22G9Y5131274 ## Mail History Id: 30955495, Consumer Id: 490504, Address Id: 9826569 => Updated with Vin: 1G4CW52K2X4614084 ## Mail History Id: 30955421, Consumer Id: 471253, Address Id: 6435001 => Updated with Vin: 3GNEC12J28G228315 ## Mail History Id: 30955485, Consumer Id: 490538, Address Id: 9826585 => Updated with Vin: 1GNCS13W61K112568 ## Mail History Id: 30955549, Consumer Id: 471276, Address Id: 5127394 => Updated with Vin: 1GNFC13067R214149 ## Mail History Id: 30955453, Consumer Id: 471280, Address Id: 9823550 => Updated with Vin: 5UXFB33523LH44913 ## Mail History Id: 30956508, Consumer Id: 467714, Address Id: 1031805 => Updated with Vin: 2GCEC19N961184837 ## Total mail_history records updated with vin numbers: 15 out of 23 ============================================================ ====== Tracking Id: 2072 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-02 11:17:27') AND us2_order_type_id = 3 ## Order found: 2200 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2200 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3486 ## Mailing found: '13327' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955559, Consumer Id: 468161, Address Id: 9821914 => Updated with Vin: 1GCFG15T051233795 ## Mail History Id: 30955467, Consumer Id: 476006, Address Id: 1566081 => Updated with Vin: 1GCEC14T8YZ208559 ## Mail History Id: 30955463, Consumer Id: 466452, Address Id: 4374963 => Updated with Vin: 2CNDL63F656060645 ## Mail History Id: 30955445, Consumer Id: 469883, Address Id: 5264266 => Updated with Vin: 3GYFK66N53G227771 ## Mail History Id: 30955449, Consumer Id: 489996, Address Id: 3045740 => Updated with Vin: 2CNDL13F886028447 ## Total mail_history records updated with vin numbers: 5 out of 10 ============================================================ ====== Tracking Id: 2073 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-02 11:18:07') AND us2_order_type_id = 3 ## Order found: 2196 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2196 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3416 ## Mailing found: '13321' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955885, Consumer Id: 625889, Address Id: 11766176 => Updated with Vin: 5GTEN13EX88177486 ## Mail History Id: 30955809, Consumer Id: 625893, Address Id: 1968906 => Updated with Vin: 5GTEN13E488156696 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2074 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-02 11:18:19') AND us2_order_type_id = 3 ## Order found: 2196 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2196 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3416 ## Mailing found: '13321' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955855, Consumer Id: 689990, Address Id: 11797468 => Updated with Vin: 1G6KD57Y96U108529 ## Mail History Id: 30955847, Consumer Id: 688753, Address Id: 11796967 => Updated with Vin: 1G6DP567350123929 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2075 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-02 11:18:23') AND us2_order_type_id = 3 ## Order found: 2201 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2201 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3491 ## Mailing found: '13289' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916079, Consumer Id: 836054, Address Id: 11893307 => Updated with Vin: 1GCEK19B65E319665 ## Mail History Id: 30916079, Consumer Id: 836054, Address Id: 11893307 => Updated with Vin: 1GCEK19B65E319665 ## Mail History Id: 30916225, Consumer Id: 812936, Address Id: 11879268 => Updated with Vin: 2CNDL63F776064934 ## Mail History Id: 30916075, Consumer Id: 839090, Address Id: 1295951 => Updated with Vin: 2CNDL63F376044714 ## Mail History Id: 30916155, Consumer Id: 815388, Address Id: 11890210 => Updated with Vin: 1G2NF52E54C254516 ## Mail History Id: 30916157, Consumer Id: 815627, Address Id: 11890374 => Updated with Vin: 1G1ZT51F46F289218 ## Mail History Id: 30916131, Consumer Id: 815736, Address Id: 11890453 => Updated with Vin: 1GCEC19Z56Z206262 ## Mail History Id: 30916117, Consumer Id: 824357, Address Id: 11875488 => Updated with Vin: 1GCHC23113F162487 ## Mail History Id: 30916139, Consumer Id: 833360, Address Id: 11874758 => Updated with Vin: 1GCEK14T25Z123988 ## Mail History Id: 30915999, Consumer Id: 824488, Address Id: 11879486 => Updated with Vin: 1GCEK19T7YE284129 ## Mail History Id: 30916137, Consumer Id: 832701, Address Id: 11890989 => Updated with Vin: 1G1ND52J22M548549 ## Mail History Id: 30916105, Consumer Id: 833150, Address Id: 11881159 => Updated with Vin: 1GCEC14X05Z180061 ## Mail History Id: 30916121, Consumer Id: 829515, Address Id: 11885574 => Updated with Vin: 3GNFK16Z63G255940 ## Mail History Id: 30916175, Consumer Id: 827075, Address Id: 11881737 => Updated with Vin: 1GNEK13Z84R132822 ## Mail History Id: 30916147, Consumer Id: 836764, Address Id: 11891794 => Updated with Vin: 1GNET16S246135373 ## Mail History Id: 30916159, Consumer Id: 834536, Address Id: 11892326 => Updated with Vin: 1GCEC14T65Z153430 ## Mail History Id: 30916153, Consumer Id: 834869, Address Id: 11892539 => Updated with Vin: 1GCDS136658257688 ## Total mail_history records updated with vin numbers: 17 out of 21 ============================================================ ====== Tracking Id: 2076 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-02 11:18:35') AND us2_order_type_id = 3 ## Order found: 2201 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2201 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3491 ## Mailing found: '13328' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956256, Consumer Id: 812828, Address Id: 11883091 => Updated with Vin: 2GCEC19J271553889 ## Mail History Id: 30956088, Consumer Id: 811845, Address Id: 11876031 => Updated with Vin: 1GCEC14X15Z241921 ## Mail History Id: 30956160, Consumer Id: 814591, Address Id: 11889126 => Updated with Vin: 1FAHP38Z25W174374 ## Mail History Id: 30956150, Consumer Id: 839534, Address Id: 11895318 => Updated with Vin: 1G1YY32G735113631 ## Mail History Id: 30956126, Consumer Id: 839613, Address Id: 11895357 => Updated with Vin: 1GNDS13S722133254 ## Mail History Id: 30955950, Consumer Id: 839628, Address Id: 11895366 => Updated with Vin: 5GZCZ53417S845161 ## Mail History Id: 30956194, Consumer Id: 815291, Address Id: 11889841 => Updated with Vin: 2G1WL52J3Y1267615 ## Mail History Id: 30956146, Consumer Id: 839091, Address Id: 11895089 => Updated with Vin: 1GNFC13067R151585 ## Mail History Id: 30956014, Consumer Id: 815292, Address Id: 11889842 => Updated with Vin: 3B7KF23Z1VG754072 ## Mail History Id: 30956158, Consumer Id: 828156, Address Id: 11882351 => Updated with Vin: 1GNDU03E2YD188853 ## Total mail_history records updated with vin numbers: 10 out of 13 ============================================================ ====== Tracking Id: 2077 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-02 11:18:47') AND us2_order_type_id = 3 ## Order found: 2201 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2201 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3491 ## Mailing found: '13328' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956032, Consumer Id: 810672, Address Id: 11885228 => Updated with Vin: 3GNDA23D66S666474 ## Mail History Id: 30956114, Consumer Id: 812102, Address Id: 11886923 => Updated with Vin: 1GNFC13C77R277741 ## Mail History Id: 30955972, Consumer Id: 813667, Address Id: 11888214 => Updated with Vin: 1G1ZS58F47F221351 ## Mail History Id: 30956016, Consumer Id: 813669, Address Id: 11888216 => Updated with Vin: 1G1ZT58F87F299824 ## Mail History Id: 30955984, Consumer Id: 814727, Address Id: 11889479 => Updated with Vin: 1GNEK13037R112581 ## Mail History Id: 30956026, Consumer Id: 840046, Address Id: 11884441 => Updated with Vin: 1G1AL55F467686493 ## Mail History Id: 30956200, Consumer Id: 840048, Address Id: 11890166 => Updated with Vin: 1GCEC19VX6Z156942 ## Mail History Id: 30956074, Consumer Id: 840061, Address Id: 11895636 => Updated with Vin: 1G3GR62C8T4102254 ## Mail History Id: 30956112, Consumer Id: 826614, Address Id: 11881384 => Updated with Vin: 1G3HN52K1S4823094 ## Mail History Id: 30956104, Consumer Id: 827670, Address Id: 11882173 => Updated with Vin: 1GCEC14T72Z336105 ## Total mail_history records updated with vin numbers: 10 out of 14 ============================================================ ====== Tracking Id: 2078 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-02 11:18:59') AND us2_order_type_id = 3 ## Order found: 2201 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2201 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3491 ## Mailing found: '13328' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956062, Consumer Id: 811365, Address Id: 11886691 => Updated with Vin: 1GCCS136458113990 ## Mail History Id: 30956244, Consumer Id: 811723, Address Id: 11886811 => Updated with Vin: 1GMDV33L56D214277 ## Mail History Id: 30956038, Consumer Id: 839935, Address Id: 11895523 => Updated with Vin: 3N1AB61E47L629367 ## Mail History Id: 30956094, Consumer Id: 839948, Address Id: 11895529 => Updated with Vin: 1GCHK23164F112558 ## Mail History Id: 30956056, Consumer Id: 815955, Address Id: 11890617 => Updated with Vin: 1J4GL48K36W169450 ## Mail History Id: 30956240, Consumer Id: 815957, Address Id: 11890618 => Updated with Vin: 1GCHC24U55E297795 ## Mail History Id: 30956230, Consumer Id: 815959, Address Id: 11890619 => Updated with Vin: 1C3LC46K27N570622 ## Mail History Id: 30956110, Consumer Id: 815958, Address Id: 11885729 => Updated with Vin: 1G1JC52F257164688 ## Mail History Id: 30955936, Consumer Id: 815961, Address Id: 11890621 => Updated with Vin: 1FMZU73K05UB71280 ## Mail History Id: 30955944, Consumer Id: 815755, Address Id: 11890470 => Updated with Vin: 1D4GP45R76B546609 ## Mail History Id: 30956134, Consumer Id: 823731, Address Id: 11879112 => Updated with Vin: 2G1WL54T5L9282058 ## Mail History Id: 30955938, Consumer Id: 826461, Address Id: 11881268 => Updated with Vin: 2GCEK19T731189452 ## Mail History Id: 30955948, Consumer Id: 838737, Address Id: 11879934 => Updated with Vin: 1GCEK19B97Z107595 ## Mail History Id: 30955994, Consumer Id: 838092, Address Id: 11894554 => Updated with Vin: WDBGA51G4XA410467 ## Total mail_history records updated with vin numbers: 14 out of 16 ============================================================ ====== Tracking Id: 2079 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-02 11:20:06') AND us2_order_type_id = 3 ## Order found: 2202 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2202 AND product_id = 144 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3705 ## Mailing found: '13291' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916351, Consumer Id: 973468, Address Id: 14838552 => Updated with Vin: 3GKEC16Z74G253976 ## Mail History Id: 30916383, Consumer Id: 963328, Address Id: 14836026 => Updated with Vin: 3GKEC16Z05G296251 ## Mail History Id: 30916319, Consumer Id: 969085, Address Id: 12056399 => Updated with Vin: 1GNDT13X23K129672 ## Mail History Id: 30916285, Consumer Id: 973223, Address Id: 14831733 => Updated with Vin: 1GCEC14V1YZ210039 ## Mail History Id: 30916401, Consumer Id: 982583, Address Id: 14929915 => Updated with Vin: 2GCEC13V071134743 ## Mail History Id: 30916345, Consumer Id: 982566, Address Id: 14843535 => Updated with Vin: 1G1AK58F887302359 ## Mail History Id: 30916231, Consumer Id: 982570, Address Id: 14929918 => Updated with Vin: 3GCEC13C88G132035 ## Mail History Id: 30916323, Consumer Id: 982571, Address Id: 14929919 => Updated with Vin: 1D7HA18N24J240162 ## Mail History Id: 30916391, Consumer Id: 982572, Address Id: 14929920 => Updated with Vin: 3GNCA73X98S676941 ## Mail History Id: 30916235, Consumer Id: 982584, Address Id: 14929927 => Updated with Vin: 3N1AB61E08L681399 ## Mail History Id: 30916349, Consumer Id: 1026920, Address Id: 14834603 => Updated with Vin: 3GNFC16018G204450 ## Mail History Id: 30916263, Consumer Id: 1026923, Address Id: 9158798 => Updated with Vin: 1GKEC63838J193272 ## Mail History Id: 30916397, Consumer Id: 1026924, Address Id: 14940837 => Updated with Vin: 1GCEK19J78Z161101 ## Mail History Id: 30916387, Consumer Id: 982568, Address Id: 11389338 => Updated with Vin: 1D7HA18277S238038 ## Mail History Id: 30916265, Consumer Id: 982588, Address Id: 14836128 => Updated with Vin: 3GCEC13J68G212822 ## Mail History Id: 30916233, Consumer Id: 960285, Address Id: 14831410 => Updated with Vin: 2GTEC19T3Y1302205 ## Mail History Id: 30916259, Consumer Id: 1459611, Address Id: 14838914 => Updated with Vin: 1G3AG55M7R6384099 ## Total mail_history records updated with vin numbers: 17 out of 22 ============================================================ ====== Tracking Id: 2080 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-02 11:20:18') AND us2_order_type_id = 3 ## Order found: 2202 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2202 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2081 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-02 11:20:30') AND us2_order_type_id = 3 ## Order found: 2202 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2202 AND product_id = 106 ## Job Group Found: '558' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('558') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208004') AND customer_id = 3705 ## Mailing found: '13299' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916943, Consumer Id: 969974, Address Id: 14841091 => Updated with Vin: 1GTDS13E678161540 ## Mail History Id: 30916951, Consumer Id: 969724, Address Id: 14840917 => Updated with Vin: 1GKER13778J114839 ## Mail History Id: 30916944, Consumer Id: 971408, Address Id: 14842113 => Updated with Vin: 5Y2SL65837Z438356 ## Mail History Id: 30916952, Consumer Id: 979538, Address Id: 14846150 => Updated with Vin: 3GKEC16Z45G175643 ## Mail History Id: 30916945, Consumer Id: 979770, Address Id: 14846280 => Updated with Vin: 1GNDV23LX5D170524 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2082 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-02 11:21:16') AND us2_order_type_id = 3 ## Order found: 2203 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2203 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2083 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-02 11:21:19') AND us2_order_type_id = 3 ## Order found: 2203 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2203 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3808 ## Mailing found: '13332' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2084 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-02 11:46:32') AND us2_order_type_id = 3 ## Order found: 2204 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2204 AND product_id = 142 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3357 ## Mailing found: '13283' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916723, Consumer Id: 197985, Address Id: 407029 => Updated with Vin: 1FTRX17L51NB62882 ## Mail History Id: 30916715, Consumer Id: 192347, Address Id: 401843 => Updated with Vin: 1FTRF12W74NB26152 ## Mail History Id: 30916695, Consumer Id: 609961, Address Id: 11754756 => Updated with Vin: 1FMZU73E42ZA48719 ## Mail History Id: 30916745, Consumer Id: 435556, Address Id: 6902297 => Updated with Vin: 1FAFP406X4F167542 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2085 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-02 11:46:43') AND us2_order_type_id = 3 ## Order found: 2204 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2204 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3357 ## Mailing found: '13320' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956425, Consumer Id: 461635, Address Id: 9819457 => Updated with Vin: 1YVHP84D355M39787 ## Mail History Id: 30956439, Consumer Id: 460990, Address Id: 9819178 => Updated with Vin: JT8BF28G415112839 ## Mail History Id: 30955440, Consumer Id: 151986, Address Id: 394350 => Updated with Vin: 1FMCU02193KA69720 ## Mail History Id: 30955468, Consumer Id: 155030, Address Id: 397120 => Updated with Vin: 5LMFU28R04LJ24585 ## Mail History Id: 30956477, Consumer Id: 460992, Address Id: 9819180 => Updated with Vin: 3VWSE69M04M105558 ## Mail History Id: 30955522, Consumer Id: 461632, Address Id: 9819455 => Updated with Vin: 1YVHP80C875M13489 ## Mail History Id: 30955510, Consumer Id: 191291, Address Id: 402066 => Updated with Vin: 1FMPU18L4XLB82409 ## Mail History Id: 30956435, Consumer Id: 155383, Address Id: 397438 => Updated with Vin: JM1BK32G681807191 ## Total mail_history records updated with vin numbers: 8 out of 15 ============================================================ ====== Tracking Id: 2086 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-02 11:46:49') AND us2_order_type_id = 3 ## Order found: 2205 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2205 AND product_id = 2150 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3721 ## Mailing found: '13292' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916306, Consumer Id: 1014613, Address Id: 14932708 => Updated with Vin: 1YVGD31BXL5239397 ## Mail History Id: 30916310, Consumer Id: 1011445, Address Id: 6665788 => Updated with Vin: JM1TA221321726167 ## Mail History Id: 30916318, Consumer Id: 1008840, Address Id: 6667370 => Updated with Vin: JM1TA221821725922 ## Mail History Id: 30916314, Consumer Id: 1014175, Address Id: 6666100 => Updated with Vin: 1YVHP84C065M37729 ## Mail History Id: 30916298, Consumer Id: 1009888, Address Id: 14931750 => Updated with Vin: 2G4WS52J241210029 ## Mail History Id: 30916304, Consumer Id: 1009892, Address Id: 12021454 => Updated with Vin: 1HGCG1652XA018006 ## Mail History Id: 30916308, Consumer Id: 1015925, Address Id: 14933066 => Updated with Vin: 1YVFP80C765M09598 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 2087 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-02 11:46:57') AND us2_order_type_id = 3 ## Order found: 2204 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2204 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3357 ## Mailing found: '13320' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955552, Consumer Id: 194042, Address Id: 395646 => Updated with Vin: 1FAHP38302W139582 ## Mail History Id: 30955600, Consumer Id: 199658, Address Id: 406517 => Updated with Vin: 1FMYU95H95KD66363 ## Mail History Id: 30955524, Consumer Id: 155874, Address Id: 397901 => Updated with Vin: 1FMFK205X8LA48977 ## Total mail_history records updated with vin numbers: 3 out of 5 ============================================================ ====== Tracking Id: 2088 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-02 11:47:02') AND us2_order_type_id = 3 ## Order found: 2205 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2205 AND product_id = 2147 ## Job Group Found: '556' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('556') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208002') AND customer_id = 3721 ## Mailing found: '13302' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916845, Consumer Id: 1009013, Address Id: 6665973 => Updated with Vin: JM1TA221711710116 ## Mail History Id: 30916847, Consumer Id: 1016988, Address Id: 14933307 => Updated with Vin: JM1BK32F071771438 ## Mail History Id: 30916849, Consumer Id: 1009358, Address Id: 6662783 => Updated with Vin: 4F2YZ04194KM25061 ## Mail History Id: 30916851, Consumer Id: 1012113, Address Id: 6661271 => Updated with Vin: JM1FE173140122678 ## Mail History Id: 30916853, Consumer Id: 1017568, Address Id: 14931544 => Updated with Vin: JM1NA3519L0104030 ## Mail History Id: 30916855, Consumer Id: 1010133, Address Id: 14931813 => Updated with Vin: JM3ER293680189390 ## Mail History Id: 30916857, Consumer Id: 1017585, Address Id: 14933536 => Updated with Vin: 4F2YZ06186KM13595 ## Mail History Id: 30916859, Consumer Id: 1017591, Address Id: 1636742 => Updated with Vin: 1YVHP81C975M32759 ## Mail History Id: 30916861, Consumer Id: 1010179, Address Id: 11322576 => Updated with Vin: JS3TE947474201236 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 2089 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-02 11:47:09') AND us2_order_type_id = 3 ## Order found: 2204 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2204 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3357 ## Mailing found: '13320' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30955454, Consumer Id: 155511, Address Id: 397559 => Updated with Vin: 5N1BV28U94N338188 ## Mail History Id: 30956451, Consumer Id: 155508, Address Id: 397556 => Updated with Vin: JM1BK12G061523380 ## Mail History Id: 30955480, Consumer Id: 155514, Address Id: 397562 => Updated with Vin: 1FAHP34N37W226925 ## Total mail_history records updated with vin numbers: 3 out of 6 ============================================================ ====== Tracking Id: 2090 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-02 12:19:31') AND us2_order_type_id = 3 ## Order found: 2206 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2206 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2091 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-02 12:19:35') AND us2_order_type_id = 3 ## Order found: 2206 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2206 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2092 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-02 12:19:38') AND us2_order_type_id = 3 ## Order found: 2206 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2206 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3427 ## Mailing found: '13323' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956288, Consumer Id: 483895, Address Id: 9838385 => Updated with Vin: JHLRD78482C016933 ## Mail History Id: 30956276, Consumer Id: 483896, Address Id: 9838386 => Updated with Vin: 1HGFA16588L047546 ## Mail History Id: 30956292, Consumer Id: 483897, Address Id: 9827872 => Updated with Vin: 2HJYK16416H558825 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2093 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-02 12:19:48') AND us2_order_type_id = 3 ## Order found: 2207 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2207 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3471 ## Mailing found: '13288' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916471, Consumer Id: 800455, Address Id: 7416387 => Updated with Vin: 1G3NF12E4YC336134 ## Mail History Id: 30916439, Consumer Id: 818035, Address Id: 7415587 => Updated with Vin: 1G6DP577960117343 ## Mail History Id: 30916513, Consumer Id: 760387, Address Id: 10215824 => Updated with Vin: 1G6KD52BXRU286831 ## Mail History Id: 30916489, Consumer Id: 800623, Address Id: 10214892 => Updated with Vin: 1GYEK63N23R171238 ## Mail History Id: 30916521, Consumer Id: 797948, Address Id: 10216848 => Updated with Vin: 1G3WS52K8WF357979 ## Mail History Id: 30916503, Consumer Id: 798562, Address Id: 10215738 => Updated with Vin: 1G6KY5490WU929343 ## Mail History Id: 30916491, Consumer Id: 800675, Address Id: 10215118 => Updated with Vin: 1G6EL12Y7XU609078 ## Mail History Id: 30916531, Consumer Id: 805085, Address Id: 10217484 => Updated with Vin: 1GHDX03E8YD176328 ## Mail History Id: 30916553, Consumer Id: 821013, Address Id: 10220749 => Updated with Vin: 1GYEE637160197119 ## Mail History Id: 30916571, Consumer Id: 816345, Address Id: 11876722 => Updated with Vin: 1GYEK63N54R291360 ## Mail History Id: 30916567, Consumer Id: 807073, Address Id: 11869932 => Updated with Vin: 3GYEK62N85G164914 ## Mail History Id: 30916499, Consumer Id: 805955, Address Id: 10215674 => Updated with Vin: 3GYFK66NX3G316140 ## Mail History Id: 30916419, Consumer Id: 807886, Address Id: 7878337 => Updated with Vin: 1G6DC67A750159666 ## Mail History Id: 30916407, Consumer Id: 803179, Address Id: 10210300 => Updated with Vin: 3GYFK66N34G125256 ## Mail History Id: 30916429, Consumer Id: 821913, Address Id: 7878647 => Updated with Vin: 3GYEK63N13G299633 ## Mail History Id: 30916573, Consumer Id: 759647, Address Id: 11850934 => Updated with Vin: 1G6KD57Y97U116731 ## Mail History Id: 30916465, Consumer Id: 760228, Address Id: 7416326 => Updated with Vin: 1G6KY54962U158641 ## Total mail_history records updated with vin numbers: 17 out of 26 ============================================================ ====== Tracking Id: 2094 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-02 12:20:00') AND us2_order_type_id = 3 ## Order found: 2207 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2207 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3471 ## Mailing found: '13326' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956211, Consumer Id: 820769, Address Id: 11876680 => Updated with Vin: 1G6KD57Y86U185649 ## Mail History Id: 30956129, Consumer Id: 797866, Address Id: 10213248 => Updated with Vin: 1G6KY5494XU906052 ## Mail History Id: 30956101, Consumer Id: 817145, Address Id: 7877969 => Updated with Vin: 1G6DM577040173631 ## Mail History Id: 30956115, Consumer Id: 803636, Address Id: 7878621 => Updated with Vin: 1GYEK63N24R130772 ## Mail History Id: 30956185, Consumer Id: 807190, Address Id: 10217430 => Updated with Vin: 3GYEK62N84G341878 ## Mail History Id: 30956111, Consumer Id: 807028, Address Id: 11872521 => Updated with Vin: 1GYEK63N55R140598 ## Mail History Id: 30956169, Consumer Id: 816836, Address Id: 10216184 => Updated with Vin: 1GYEK63N95R219577 ## Mail History Id: 30956145, Consumer Id: 821351, Address Id: 10214130 => Updated with Vin: 1G6DN57S040191712 ## Mail History Id: 30956215, Consumer Id: 822812, Address Id: 11876734 => Updated with Vin: 1GYFK66887R399549 ## Mail History Id: 30956139, Consumer Id: 773054, Address Id: 11874257 => Updated with Vin: 1GYFK66878R171267 ## Mail History Id: 30956161, Consumer Id: 823373, Address Id: 10561459 => Updated with Vin: 1GYEK63N04R202004 ## Mail History Id: 30956187, Consumer Id: 823376, Address Id: 10562973 => Updated with Vin: 1GYFK66887R339609 ## Mail History Id: 30956207, Consumer Id: 823383, Address Id: 11878895 => Updated with Vin: 1GKEV33748J176044 ## Mail History Id: 30956219, Consumer Id: 806921, Address Id: 11874363 => Updated with Vin: 3GYEK62NX4G285961 ## Total mail_history records updated with vin numbers: 14 out of 17 ============================================================ ====== Tracking Id: 2095 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-02 12:20:06') AND us2_order_type_id = 3 ## Order found: 2208 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2208 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3451 ## Mailing found: '13286' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30916657, Consumer Id: 612952, Address Id: 11756435 => Updated with Vin: 1G6AS6987EE826755 ## Mail History Id: 30916607, Consumer Id: 613866, Address Id: 11756999 => Updated with Vin: 1G6ET1291RU618998 ## Mail History Id: 30916577, Consumer Id: 621576, Address Id: 3807053 => Updated with Vin: 1GYEK63N25R224961 ## Mail History Id: 30916597, Consumer Id: 622119, Address Id: 3873428 => Updated with Vin: 1G6DW677950218583 ## Mail History Id: 30916643, Consumer Id: 622688, Address Id: 11762701 => Updated with Vin: 1G6KS54Y81U115071 ## Mail History Id: 30916613, Consumer Id: 611381, Address Id: 834092 => Updated with Vin: 1G6KD54Y75U101050 ## Mail History Id: 30916605, Consumer Id: 627007, Address Id: 3404215 => Updated with Vin: 1GYEE637X50201991 ## Mail History Id: 30916583, Consumer Id: 612032, Address Id: 824284 => Updated with Vin: 1G6KD57Y16U125843 ## Mail History Id: 30916631, Consumer Id: 628108, Address Id: 11765448 => Updated with Vin: 1GYEC63T63R161579 ## Mail History Id: 30916775, Consumer Id: 628313, Address Id: 11765589 => Updated with Vin: 1GYEK63R1YR231021 ## Mail History Id: 30916603, Consumer Id: 909592, Address Id: 11939888 => Updated with Vin: 1G6KY5298RU817574 ## Mail History Id: 30916667, Consumer Id: 873737, Address Id: 11762346 => Updated with Vin: 1G6EL12Y62B104878 ## Mail History Id: 30916615, Consumer Id: 910920, Address Id: 11941018 => Updated with Vin: 1GYEC63828R183789 ## Total mail_history records updated with vin numbers: 13 out of 20 ============================================================ ====== Tracking Id: 2096 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-02 14:16:24') AND us2_order_type_id = 3 ## Order found: 2209 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2209 AND product_id = 143 ## Job Group Found: '555' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('555') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208001') AND customer_id = 3418 ## Mailing found: '13285' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30915973, Consumer Id: 680966, Address Id: 11794550 => Updated with Vin: 1GYEE637250160434 ## Mail History Id: 30916478, Consumer Id: 672418, Address Id: 11789315 => Updated with Vin: 1G6DM57N530100347 ## Mail History Id: 30916538, Consumer Id: 612306, Address Id: 11756015 => Updated with Vin: 3GYFK62847G163745 ## Mail History Id: 30916356, Consumer Id: 611116, Address Id: 11755741 => Updated with Vin: 1G6DK67V480168464 ## Mail History Id: 30916378, Consumer Id: 610458, Address Id: 11755180 => Updated with Vin: 1G6DR57V780150062 ## Mail History Id: 30916442, Consumer Id: 677599, Address Id: 11792531 => Updated with Vin: 1G6DC67A770119364 ## Mail History Id: 30916470, Consumer Id: 679147, Address Id: 11793434 => Updated with Vin: 1GYDE637X40107121 ## Mail History Id: 30916376, Consumer Id: 679448, Address Id: 11793613 => Updated with Vin: 1G6DW677270176244 ## Mail History Id: 30916552, Consumer Id: 671112, Address Id: 11788461 => Updated with Vin: 1G6KD54Y45U139951 ## Mail History Id: 30916554, Consumer Id: 678535, Address Id: 11793079 => Updated with Vin: 1G6DW677170143137 ## Mail History Id: 30916544, Consumer Id: 611141, Address Id: 6772973 => Updated with Vin: 1G6KD54Y55U105307 ## Total mail_history records updated with vin numbers: 11 out of 20 ============================================================ ====== Tracking Id: 2097 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-02 14:16:40') AND us2_order_type_id = 3 ## Order found: 2208 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2208 AND product_id = 114 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3451 ## Mailing found: '13324' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956259, Consumer Id: 617119, Address Id: 827161 => Updated with Vin: 1GYEK13R3YR137385 ## Mail History Id: 30956317, Consumer Id: 626196, Address Id: 839548 => Updated with Vin: 1G6KD54Y4YU353746 ## Mail History Id: 30956261, Consumer Id: 615821, Address Id: 828211 => Updated with Vin: 1GYEC63T92R282279 ## Mail History Id: 30956381, Consumer Id: 627338, Address Id: 1258998 => Updated with Vin: 1G6DP567850133078 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 2098 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-02 14:16:52') AND us2_order_type_id = 3 ## Order found: 2208 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2208 AND product_id = 112 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3451 ## Mailing found: '13324' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956405, Consumer Id: 621566, Address Id: 11762068 => Updated with Vin: 1G6KY5497YU148838 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 2099 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-02 14:17:04') AND us2_order_type_id = 3 ## Order found: 2208 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2208 AND product_id = 113 ## Job Group Found: '557' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('557') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090208003') AND customer_id = 3451 ## Mailing found: '13324' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30956255, Consumer Id: 625079, Address Id: 11763632 => Updated with Vin: 1GYEC63N86R125673 ## Mail History Id: 30956403, Consumer Id: 628350, Address Id: 3405800 => Updated with Vin: 1G6KD54Y85U101185 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2100 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-02 19:56:15') AND us2_order_type_id = 3 ## Order found: 2195 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2195 AND product_id = 2150 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3846 ## Mailing found: '13410' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2101 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-02 19:56:27') AND us2_order_type_id = 3 ## Order found: 2195 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2195 AND product_id = 2147 ## Job Group Found: '562' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('562') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408002') AND customer_id = 3846 ## Mailing found: '13417' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31003360, Consumer Id: 1179975, Address Id: 15366753 => Updated with Vin: 4S3BG6858V7633979 ## Mail History Id: 31003362, Consumer Id: 1182497, Address Id: 15369592 => Updated with Vin: JF1SG65657H723705 ## Mail History Id: 31003364, Consumer Id: 1179348, Address Id: 15366273 => Updated with Vin: 4S3BK435XX7302625 ## Mail History Id: 31003366, Consumer Id: 1186699, Address Id: 15371227 => Updated with Vin: JF1GG63607G813178 ## Mail History Id: 31003368, Consumer Id: 1187008, Address Id: 9741588 => Updated with Vin: 4S4BP67C164361922 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2102 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-02 19:56:40') AND us2_order_type_id = 3 ## Order found: 2195 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2195 AND product_id = 2152 ## Job Group Found: '566' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('566') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408006') AND customer_id = 3846 ## Mailing found: '13370' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30999357, Consumer Id: 1184985, Address Id: 9753658 => Updated with Vin: JF1SG65606H749286 ## Mail History Id: 30999359, Consumer Id: 1182703, Address Id: 9753361 => Updated with Vin: JF1GH61608G808189 ## Mail History Id: 30999361, Consumer Id: 1184061, Address Id: 9721009 => Updated with Vin: 4S4BP86C054367562 ## Mail History Id: 30999363, Consumer Id: 1186909, Address Id: 380290 => Updated with Vin: 4S3BL616987210993 ## Mail History Id: 30999365, Consumer Id: 1184037, Address Id: 15368194 => Updated with Vin: 4S3BH675127644316 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2103 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-02 20:16:26') AND us2_order_type_id = 3 ## Order found: 2191 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2191 AND product_id = 2152 ## Job Group Found: '566' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('566') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408006') AND customer_id = 3503 ## Mailing found: '13368' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30999371, Consumer Id: 2177128, Address Id: 9726330 => Updated with Vin: JTDBR32E742033564 ## Mail History Id: 31001366, Consumer Id: 2167754, Address Id: 9735024 => Updated with Vin: 2T1BR32E77C850152 ## Mail History Id: 31001374, Consumer Id: 2175672, Address Id: 9723934 => Updated with Vin: 4T1BF30K03U037309 ## Mail History Id: 31001384, Consumer Id: 2158450, Address Id: 9720202 => Updated with Vin: 4T1BE32K83U186843 ## Mail History Id: 30999394, Consumer Id: 2165782, Address Id: 9732149 => Updated with Vin: JTDKB20U967524359 ## Mail History Id: 30999396, Consumer Id: 2178310, Address Id: 9728336 => Updated with Vin: 4T1BF28BX4U349542 ## Mail History Id: 30999292, Consumer Id: 2174921, Address Id: 9723019 => Updated with Vin: 4T1BF32K93U041100 ## Mail History Id: 30999296, Consumer Id: 2167804, Address Id: 9735066 => Updated with Vin: JTEBU11F370085038 ## Mail History Id: 30999300, Consumer Id: 2168685, Address Id: 9735990 => Updated with Vin: 4T1BE46K68U204005 ## Total mail_history records updated with vin numbers: 9 out of 19 ============================================================ ====== Tracking Id: 2104 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-02 20:16:38') AND us2_order_type_id = 3 ## Order found: 2191 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2191 AND product_id = 2153 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2105 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-02 20:16:42') AND us2_order_type_id = 3 ## Order found: 2191 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2191 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2106 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-02 20:16:45') AND us2_order_type_id = 3 ## Order found: 2191 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2191 AND product_id = 2150 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3503 ## Mailing found: '13402,13913' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992491, Consumer Id: 2167736, Address Id: 9735011 => Updated with Vin: 4T1BE46K77U163091 ## Mail History Id: 30992485, Consumer Id: 2169756, Address Id: 9738623 => Updated with Vin: 4T1BG22K21U031058 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2107 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-03 07:16:51') AND us2_order_type_id = 3 ## Order found: 2273 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2273 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3503 ## Mailing found: '13478' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 54 ============================================================ ====== Tracking Id: 2108 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-03 08:46:40') AND us2_order_type_id = 3 ## Order found: 2274 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2274 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3230 ## Mailing found: '13394' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993434, Consumer Id: 103871, Address Id: 48057 => Updated with Vin: 1FMYU92Z25KD98844 ## Mail History Id: 30993414, Consumer Id: 873039, Address Id: 11912761 => Updated with Vin: 1FTWW33F11EB60712 ## Mail History Id: 30993416, Consumer Id: 64540, Address Id: 47596 => Updated with Vin: 1FTRX18L13NA09076 ## Mail History Id: 30993458, Consumer Id: 92561, Address Id: 50928 => Updated with Vin: 1FAHP36N47W153903 ## Mail History Id: 30993298, Consumer Id: 66104, Address Id: 49718 => Updated with Vin: 1FTPX14515FB15295 ## Mail History Id: 30993448, Consumer Id: 66529, Address Id: 48032 => Updated with Vin: 1FMYU93166KB66452 ## Mail History Id: 30993446, Consumer Id: 103170, Address Id: 47418 => Updated with Vin: 2MEFM74W25X659694 ## Mail History Id: 30993452, Consumer Id: 92367, Address Id: 50490 => Updated with Vin: 1FAFP34N26W176427 ## Mail History Id: 30993424, Consumer Id: 65046, Address Id: 51488 => Updated with Vin: 2FTRX17214CA61131 ## Mail History Id: 30993450, Consumer Id: 103307, Address Id: 53627 => Updated with Vin: 1FAFP25185G151594 ## Mail History Id: 30993440, Consumer Id: 64951, Address Id: 52764 => Updated with Vin: 1FAFP45XX1F263958 ## Mail History Id: 30993454, Consumer Id: 93292, Address Id: 51800 => Updated with Vin: 1FTPW14V87FB21990 ## Mail History Id: 30993418, Consumer Id: 873037, Address Id: 11912760 => Updated with Vin: 1FMZU64K65UA74772 ## Mail History Id: 30993430, Consumer Id: 93391, Address Id: 48207 => Updated with Vin: 1FMEU73E47UB04404 ## Mail History Id: 30993430, Consumer Id: 62924, Address Id: 48207 => Updated with Vin: 1FTNX21F91EA98336 ## Mail History Id: 30993428, Consumer Id: 66334, Address Id: 49859 => Updated with Vin: 1FMZK01145GA61242 ## Mail History Id: 30993444, Consumer Id: 91861, Address Id: 51296 => Updated with Vin: 1FAHP24157G124592 ## Mail History Id: 30993438, Consumer Id: 64356, Address Id: 52437 => Updated with Vin: 1FAFP38Z54W148230 ## Mail History Id: 30993432, Consumer Id: 67326, Address Id: 50220 => Updated with Vin: 1FMPU16585LA09977 ## Mail History Id: 30993420, Consumer Id: 66785, Address Id: 50407 => Updated with Vin: 1FTSX21576EC99248 ## Mail History Id: 30993426, Consumer Id: 103553, Address Id: 52998 => Updated with Vin: 1FALP4048TF218911 ## Mail History Id: 30993436, Consumer Id: 66150, Address Id: 49758 => Updated with Vin: 1FAFP34N75W301372 ## Mail History Id: 30993422, Consumer Id: 93315, Address Id: 51814 => Updated with Vin: 2FMDK38C67BB63381 ## Mail History Id: 30993410, Consumer Id: 93592, Address Id: 67807 => Updated with Vin: 1FAHP35N28W126833 ## Mail History Id: 30993456, Consumer Id: 874263, Address Id: 11913588 => Updated with Vin: 1FMCU03ZX8KE21151 ## Mail History Id: 30993412, Consumer Id: 874264, Address Id: 49422 => Updated with Vin: 3FAHP07ZX8R232500 ## Total mail_history records updated with vin numbers: 26 out of 33 ============================================================ ====== Tracking Id: 2109 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-03 09:19:34') AND us2_order_type_id = 3 ## Order found: 2275 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2275 AND product_id = 114 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3470 ## Mailing found: '13376' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998588, Consumer Id: 573944, Address Id: 10720679 => Updated with Vin: 2C8GP64L01R338604 ## Mail History Id: 30998600, Consumer Id: 581775, Address Id: 2798186 => Updated with Vin: 1B3ES56C83D252771 ## Mail History Id: 30998542, Consumer Id: 566907, Address Id: 10710700 => Updated with Vin: 1D7HE48K56S533630 ## Mail History Id: 30998520, Consumer Id: 572004, Address Id: 10718979 => Updated with Vin: 2C8GM68444R551796 ## Mail History Id: 30998526, Consumer Id: 583013, Address Id: 4890337 => Updated with Vin: 2D4FV47V46H436359 ## Mail History Id: 30998548, Consumer Id: 583016, Address Id: 10744626 => Updated with Vin: 1D3HW48N95S129026 ## Mail History Id: 30998562, Consumer Id: 583017, Address Id: 7115677 => Updated with Vin: 1D7HA18D24S648016 ## Mail History Id: 30998628, Consumer Id: 572868, Address Id: 10719353 => Updated with Vin: 2C3KA53G76H259119 ## Mail History Id: 30998512, Consumer Id: 583026, Address Id: 570523 => Updated with Vin: 1J4GK48K76W282904 ## Mail History Id: 30998552, Consumer Id: 572993, Address Id: 10719413 => Updated with Vin: KMHWF25H03A788100 ## Total mail_history records updated with vin numbers: 10 out of 12 ============================================================ ====== Tracking Id: 2110 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-03 09:19:46') AND us2_order_type_id = 3 ## Order found: 2275 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2275 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3470 ## Mailing found: '13376' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998598, Consumer Id: 574478, Address Id: 10721261 => Updated with Vin: 1B3ES26C72D547728 ## Mail History Id: 30998620, Consumer Id: 577869, Address Id: 10690489 => Updated with Vin: WD2YD641425392305 ## Mail History Id: 30998650, Consumer Id: 566920, Address Id: 4131048 => Updated with Vin: 2A4GP44R16R696340 ## Mail History Id: 30998502, Consumer Id: 873707, Address Id: 11913157 => Updated with Vin: 1J4GK48K94W274882 ## Mail History Id: 30998606, Consumer Id: 910074, Address Id: 10695880 => Updated with Vin: 3C8FY4BB71T631078 ## Mail History Id: 30998558, Consumer Id: 560229, Address Id: 10697685 => Updated with Vin: 1J4GX48N24C436431 ## Mail History Id: 30998524, Consumer Id: 910079, Address Id: 2541319 => Updated with Vin: 1D7HE48K37S192553 ## Mail History Id: 30998590, Consumer Id: 563913, Address Id: 7472552 => Updated with Vin: 2B3KA53H16H192037 ## Mail History Id: 30998652, Consumer Id: 552704, Address Id: 10602628 => Updated with Vin: 2C3LA53G38H165343 ## Mail History Id: 30998564, Consumer Id: 571265, Address Id: 3403092 => Updated with Vin: 2A8GM68XX7R269509 ## Mail History Id: 30998534, Consumer Id: 567135, Address Id: 10710832 => Updated with Vin: 2D4GP44L96R791491 ## Mail History Id: 30998504, Consumer Id: 579577, Address Id: 10735006 => Updated with Vin: 1FMRU15W61LB10741 ## Mail History Id: 30998602, Consumer Id: 580102, Address Id: 10736347 => Updated with Vin: 3C4FY58B65T608489 ## Mail History Id: 30998660, Consumer Id: 583244, Address Id: 534086 => Updated with Vin: 2B3KA43G38H219159 ## Mail History Id: 30998596, Consumer Id: 582259, Address Id: 10743943 => Updated with Vin: 1C3EL45R52N106272 ## Mail History Id: 30998672, Consumer Id: 583191, Address Id: 10027241 => Updated with Vin: 2A8HR44H48R605651 ## Mail History Id: 30998570, Consumer Id: 583185, Address Id: 5614380 => Updated with Vin: 1J8GK58K44W325452 ## Mail History Id: 30998522, Consumer Id: 871331, Address Id: 2019454 => Updated with Vin: 3A4FY58B26T293900 ## Mail History Id: 30998538, Consumer Id: 910073, Address Id: 11940173 => Updated with Vin: 3D7HA18N02G209426 ## Mail History Id: 30998576, Consumer Id: 910078, Address Id: 1340660 => Updated with Vin: 2C3KA53G36H309658 ## Mail History Id: 30998586, Consumer Id: 910075, Address Id: 3405000 => Updated with Vin: 1D8HB58D34F175591 ## Mail History Id: 30998618, Consumer Id: 909850, Address Id: 11940167 => Updated with Vin: 1G1ZT58N88F114602 ## Mail History Id: 30998500, Consumer Id: 909854, Address Id: 10716606 => Updated with Vin: 1B3HB48B57D165251 ## Mail History Id: 30998530, Consumer Id: 909852, Address Id: 4077749 => Updated with Vin: 2C3AA53GX5H644720 ## Mail History Id: 30998642, Consumer Id: 909853, Address Id: 11940168 => Updated with Vin: 3GNDA23D68S547536 ## Mail History Id: 30998622, Consumer Id: 909855, Address Id: 10619458 => Updated with Vin: 1J4GL48K06W139581 ## Total mail_history records updated with vin numbers: 26 out of 30 ============================================================ ====== Tracking Id: 2111 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-03 09:19:55') AND us2_order_type_id = 3 ## Order found: 2276 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2276 AND product_id = 142 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3768 ## Mailing found: '13406' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993064, Consumer Id: 1107210, Address Id: 14982005 => Updated with Vin: 1G6DM577X40144993 ## Mail History Id: 30993172, Consumer Id: 1109520, Address Id: 14954279 => Updated with Vin: 3GYFK62828G196003 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2112 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-03 09:19:58') AND us2_order_type_id = 3 ## Order found: 2275 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2275 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3470 ## Mailing found: '13376' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998662, Consumer Id: 573092, Address Id: 7008004 => Updated with Vin: 1D7HA18218J143885 ## Mail History Id: 30998640, Consumer Id: 573093, Address Id: 10719458 => Updated with Vin: 1J8FT28W37D312069 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2113 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-03 09:20:10') AND us2_order_type_id = 3 ## Order found: 2276 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2276 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3768 ## Mailing found: '13383' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998699, Consumer Id: 1045376, Address Id: 14953118 => Updated with Vin: 1GYFK668X7R228012 ## Mail History Id: 30998763, Consumer Id: 1045144, Address Id: 8828097 => Updated with Vin: 3GYEK62N24G244563 ## Mail History Id: 30998743, Consumer Id: 1041718, Address Id: 5988301 => Updated with Vin: 1G6KD54Y42U129092 ## Mail History Id: 30998661, Consumer Id: 1111794, Address Id: 2776010 => Updated with Vin: 1G6DM57T460124710 ## Mail History Id: 30998769, Consumer Id: 1116614, Address Id: 1080690 => Updated with Vin: WDBJF65H2XA929288 ## Mail History Id: 30998753, Consumer Id: 1116623, Address Id: 14984157 => Updated with Vin: 1G6KD54Y01U196528 ## Mail History Id: 30998667, Consumer Id: 1116169, Address Id: 8334261 => Updated with Vin: 1FMEU53897UB01626 ## Mail History Id: 30998747, Consumer Id: 1114696, Address Id: 5989189 => Updated with Vin: 1G6KD52B4SU218448 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 2114 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-03 09:20:22') AND us2_order_type_id = 3 ## Order found: 2276 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2276 AND product_id = 114 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3768 ## Mailing found: '13383' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998745, Consumer Id: 1109196, Address Id: 14982474 => Updated with Vin: 1G6KE57Y61U139971 ## Mail History Id: 30998695, Consumer Id: 1109488, Address Id: 14982607 => Updated with Vin: 1G6DP567X50191306 ## Mail History Id: 30998709, Consumer Id: 1109489, Address Id: 12186130 => Updated with Vin: 3GCEK13M87G514933 ## Mail History Id: 30998761, Consumer Id: 1041938, Address Id: 12935592 => Updated with Vin: 1G6KD54Y6XU760109 ## Mail History Id: 30998713, Consumer Id: 1049161, Address Id: 2850810 => Updated with Vin: 1G4CU5217V4630016 ## Mail History Id: 30998787, Consumer Id: 1050913, Address Id: 14954559 => Updated with Vin: 3GYFK66N44G219775 ## Mail History Id: 30998610, Consumer Id: 1115999, Address Id: 14983939 => Updated with Vin: 1GYEE63A540150118 ## Mail History Id: 30998679, Consumer Id: 1115997, Address Id: 11450570 => Updated with Vin: 1G6KD54Y34U122184 ## Mail History Id: 30998657, Consumer Id: 1048220, Address Id: 2774436 => Updated with Vin: 1GYEK63N75R243215 ## Mail History Id: 30998705, Consumer Id: 1052112, Address Id: 14955075 => Updated with Vin: 1GYEK63N75R176972 ## Mail History Id: 30998757, Consumer Id: 1042620, Address Id: 8827934 => Updated with Vin: 1G6EL12Y2YU156960 ## Mail History Id: 30998711, Consumer Id: 1112015, Address Id: 14982939 => Updated with Vin: 1G3WS52HXXF358833 ## Total mail_history records updated with vin numbers: 12 out of 12 ============================================================ ====== Tracking Id: 2115 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-03 09:20:34') AND us2_order_type_id = 3 ## Order found: 2276 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2276 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3768 ## Mailing found: '13383' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998749, Consumer Id: 1044269, Address Id: 5989132 => Updated with Vin: 1G6KE54Y14U106871 ## Mail History Id: 30998669, Consumer Id: 1116024, Address Id: 14983946 => Updated with Vin: 1G6KS52Y3VU820403 ## Mail History Id: 30998687, Consumer Id: 1110948, Address Id: 3239235 => Updated with Vin: 3GYFK66N45G207756 ## Mail History Id: 30998789, Consumer Id: 1110398, Address Id: 14964733 => Updated with Vin: 1G6DM577640172855 ## Mail History Id: 30998671, Consumer Id: 1111581, Address Id: 3237826 => Updated with Vin: 1G6DP577760122072 ## Mail History Id: 30998677, Consumer Id: 1116335, Address Id: 14984040 => Updated with Vin: 1G6KD57Y96U137335 ## Mail History Id: 30998673, Consumer Id: 1112361, Address Id: 3237914 => Updated with Vin: 1G6KD54Y3XU779846 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 2116 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-03 10:16:39') AND us2_order_type_id = 3 ## Order found: 2277 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2277 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3846 ## Mailing found: '13410' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993219, Consumer Id: 1187156, Address Id: 15371473 => Updated with Vin: JF1SG63668H716301 ## Mail History Id: 30992177, Consumer Id: 1185319, Address Id: 447622 => Updated with Vin: 4S4BP62C366323085 ## Mail History Id: 30993823, Consumer Id: 1185335, Address Id: 15369397 => Updated with Vin: JF1SG63675H732941 ## Mail History Id: 30993681, Consumer Id: 1182416, Address Id: 15369881 => Updated with Vin: 4S4BP61C467343180 ## Mail History Id: 30993385, Consumer Id: 1179111, Address Id: 15367895 => Updated with Vin: 4S4BP62C787344874 ## Mail History Id: 30992879, Consumer Id: 1185543, Address Id: 15369431 => Updated with Vin: 4S3BH675327635164 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2117 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-03 10:18:29') AND us2_order_type_id = 3 ## Order found: 2275 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2275 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3470 ## Mailing found: '13399' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993188, Consumer Id: 1006535, Address Id: 10699155 => Updated with Vin: 1B3ES56C05D258602 ## Mail History Id: 30993206, Consumer Id: 554145, Address Id: 10688766 => Updated with Vin: 1J4GX48S64C209961 ## Mail History Id: 30993220, Consumer Id: 564743, Address Id: 6511290 => Updated with Vin: 1J4FA39S05P374114 ## Mail History Id: 30993192, Consumer Id: 558591, Address Id: 3160648 => Updated with Vin: 1J4FA29164P778857 ## Mail History Id: 30993180, Consumer Id: 574861, Address Id: 1783616 => Updated with Vin: 2C4GP54L35R136177 ## Mail History Id: 30993234, Consumer Id: 565337, Address Id: 4106926 => Updated with Vin: 1C3EL45XX5N677050 ## Mail History Id: 30993204, Consumer Id: 577231, Address Id: 4099169 => Updated with Vin: 1D7HA18D95S360821 ## Mail History Id: 30993212, Consumer Id: 566241, Address Id: 4687919 => Updated with Vin: 1D4GP45R86B564617 ## Mail History Id: 30993226, Consumer Id: 567538, Address Id: 7474811 => Updated with Vin: 1J4GK38K65W542816 ## Mail History Id: 30993238, Consumer Id: 580297, Address Id: 10737513 => Updated with Vin: 1D8GP24R36B684409 ## Mail History Id: 30993224, Consumer Id: 580735, Address Id: 7474790 => Updated with Vin: 1J4GX48S84C224574 ## Mail History Id: 30993194, Consumer Id: 570998, Address Id: 7465088 => Updated with Vin: 2B3KA43G27H818164 ## Mail History Id: 30993200, Consumer Id: 573090, Address Id: 10719456 => Updated with Vin: 1D8GT28K68W109144 ## Mail History Id: 30993232, Consumer Id: 581134, Address Id: 10740735 => Updated with Vin: 1D7HU18D75J626592 ## Mail History Id: 30993230, Consumer Id: 572075, Address Id: 10686541 => Updated with Vin: 1B3HB48B97D408253 ## Mail History Id: 30993218, Consumer Id: 571657, Address Id: 10718879 => Updated with Vin: 2C3KA63H97H758522 ## Mail History Id: 30993208, Consumer Id: 573466, Address Id: 5396432 => Updated with Vin: 1J8GS48K57C684423 ## Mail History Id: 30993216, Consumer Id: 573251, Address Id: 10719524 => Updated with Vin: 2B3KA43R98H163102 ## Mail History Id: 30993464, Consumer Id: 573113, Address Id: 10719464 => Updated with Vin: 1J8HR78378C143580 ## Mail History Id: 30993222, Consumer Id: 609381, Address Id: 11754504 => Updated with Vin: 1J8GP58K48W240800 ## Mail History Id: 30993196, Consumer Id: 1157829, Address Id: 2591638 => Updated with Vin: 1J4GL48K93W723828 ## Total mail_history records updated with vin numbers: 21 out of 38 ============================================================ ====== Tracking Id: 2118 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-03 10:18:39') AND us2_order_type_id = 3 ## Order found: 2278 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2278 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3416 ## Mailing found: '13396' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993392, Consumer Id: 626013, Address Id: 1967832 => Updated with Vin: 1GYEK63N45R151981 ## Mail History Id: 30993390, Consumer Id: 732679, Address Id: 11849326 => Updated with Vin: 1G6KD54Y95U141971 ## Mail History Id: 30993406, Consumer Id: 627146, Address Id: 1969885 => Updated with Vin: 1G6DM57N530109453 ## Mail History Id: 30993396, Consumer Id: 681687, Address Id: 1969019 => Updated with Vin: 1G6EL12Y8WU606592 ## Mail History Id: 30993376, Consumer Id: 629831, Address Id: 1967181 => Updated with Vin: 1G6ET1294XU610505 ## Mail History Id: 30993460, Consumer Id: 687422, Address Id: 11796546 => Updated with Vin: 5GRGN23U45H102497 ## Mail History Id: 30993384, Consumer Id: 685915, Address Id: 1962757 => Updated with Vin: 1G6KD54Y93U134709 ## Mail History Id: 30993386, Consumer Id: 683635, Address Id: 1964148 => Updated with Vin: 1G6CD53B5N4258948 ## Total mail_history records updated with vin numbers: 8 out of 10 ============================================================ ====== Tracking Id: 2119 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-03 10:19:05') AND us2_order_type_id = 3 ## Order found: 2279 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2279 AND product_id = 2150 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3418 ## Mailing found: '13397' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993318, Consumer Id: 610716, Address Id: 11755400 => Updated with Vin: 1G2ZG558664163188 ## Mail History Id: 30993314, Consumer Id: 678571, Address Id: 11783969 => Updated with Vin: 1G6KD57996U180243 ## Mail History Id: 30993296, Consumer Id: 673181, Address Id: 11789779 => Updated with Vin: 1G6DP567850194561 ## Mail History Id: 30993316, Consumer Id: 664311, Address Id: 11783607 => Updated with Vin: 1G6EL12Y7WU618152 ## Total mail_history records updated with vin numbers: 4 out of 6 ============================================================ ====== Tracking Id: 2120 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-03 10:19:19') AND us2_order_type_id = 3 ## Order found: 2279 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2279 AND product_id = 2152 ## Job Group Found: '566' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('566') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408006') AND customer_id = 3418 ## Mailing found: '13367' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30999304, Consumer Id: 678186, Address Id: 11792879 => Updated with Vin: 1G6KD54Y34U133377 ## Mail History Id: 30999306, Consumer Id: 672695, Address Id: 11783567 => Updated with Vin: 1G6KE57Y75U177697 ## Mail History Id: 30999308, Consumer Id: 679363, Address Id: 11784635 => Updated with Vin: 1G6DW677370166208 ## Mail History Id: 30999310, Consumer Id: 665849, Address Id: 11784778 => Updated with Vin: 1G6KF5492VU298695 ## Mail History Id: 30999312, Consumer Id: 675234, Address Id: 11791171 => Updated with Vin: 1G6KD57Y35U137880 ## Mail History Id: 30999314, Consumer Id: 670701, Address Id: 11754970 => Updated with Vin: 1G6KY54923U221669 ## Mail History Id: 30999316, Consumer Id: 680852, Address Id: 11794482 => Updated with Vin: 1G6KD57Y86U120719 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 2121 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-03 10:19:31') AND us2_order_type_id = 3 ## Order found: 2279 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2279 AND product_id = 2147 ## Job Group Found: '562' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('562') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408002') AND customer_id = 3418 ## Mailing found: '13413' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2122 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-03 10:20:25') AND us2_order_type_id = 3 ## Order found: 2280 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2280 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3795 ## Mailing found: '13407' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992472, Consumer Id: 1054242, Address Id: 6579866 => Updated with Vin: SHSRD78955U301548 ## Mail History Id: 30992902, Consumer Id: 1056655, Address Id: 3108414 => Updated with Vin: 1HGFA16546L052837 ## Mail History Id: 30992814, Consumer Id: 1057958, Address Id: 5358393 => Updated with Vin: 2HGFG12657H512616 ## Mail History Id: 30992716, Consumer Id: 1125659, Address Id: 181590 => Updated with Vin: 5FNYF18208B055901 ## Mail History Id: 30992868, Consumer Id: 1060510, Address Id: 3092781 => Updated with Vin: JHLRE38598C039354 ## Mail History Id: 30992708, Consumer Id: 1069025, Address Id: 181335 => Updated with Vin: 1HGES26731L054734 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 2123 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-03 10:20:47') AND us2_order_type_id = 3 ## Order found: 2281 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2281 AND product_id = 142 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3697 ## Mailing found: '13403' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993062, Consumer Id: 1045303, Address Id: 14952384 => Updated with Vin: 1GYEE637280135652 ## Mail History Id: 30993068, Consumer Id: 1042476, Address Id: 8828934 => Updated with Vin: 1G6KS54Y11U258346 ## Mail History Id: 30993058, Consumer Id: 1044581, Address Id: 5990346 => Updated with Vin: 1GYFK66827R355319 ## Mail History Id: 30993066, Consumer Id: 1043857, Address Id: 8828824 => Updated with Vin: 1G6DM577340110295 ## Mail History Id: 30993060, Consumer Id: 1043331, Address Id: 14952500 => Updated with Vin: 1G6DP567850120881 ## Mail History Id: 30993054, Consumer Id: 1044968, Address Id: 14952990 => Updated with Vin: 1G6KD57Y97U229126 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 2124 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-03 10:20:55') AND us2_order_type_id = 3 ## Order found: 2281 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2281 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2125 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-03 10:20:58') AND us2_order_type_id = 3 ## Order found: 2281 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2281 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3697 ## Mailing found: '13381' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998777, Consumer Id: 1044632, Address Id: 5993105 => Updated with Vin: 1GYFK63827R382413 ## Mail History Id: 30998725, Consumer Id: 1049615, Address Id: 8134560 => Updated with Vin: 3GYEK62N75G157226 ## Mail History Id: 30998719, Consumer Id: 1046091, Address Id: 2854017 => Updated with Vin: 1G6EL12Y5YU192917 ## Mail History Id: 30998733, Consumer Id: 1042996, Address Id: 5986626 => Updated with Vin: 1G6KS54Y52U234102 ## Mail History Id: 30998791, Consumer Id: 1051583, Address Id: 14954811 => Updated with Vin: 1G6KD54Y34U140720 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2126 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-03 10:21:59') AND us2_order_type_id = 3 ## Order found: 2282 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2282 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3815 ## Mailing found: '13409' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993140, Consumer Id: 1368697, Address Id: 3455700 => Updated with Vin: SHSRD784X2U008356 ## Mail History Id: 30993126, Consumer Id: 1367958, Address Id: 15634613 => Updated with Vin: 1HGCD5602VA068261 ## Mail History Id: 30993034, Consumer Id: 1359311, Address Id: 1350383 => Updated with Vin: 2HGES16563H612715 ## Mail History Id: 30993114, Consumer Id: 1360576, Address Id: 15633018 => Updated with Vin: 5FNYF18534B008785 ## Mail History Id: 30993152, Consumer Id: 1367197, Address Id: 15633544 => Updated with Vin: 5FNYF18658B025652 ## Mail History Id: 30993110, Consumer Id: 1373321, Address Id: 15669569 => Updated with Vin: JHMES96674S015569 ## Mail History Id: 30993084, Consumer Id: 1362601, Address Id: 15635146 => Updated with Vin: 1HGCF86682A175312 ## Mail History Id: 30993128, Consumer Id: 1364071, Address Id: 15637067 => Updated with Vin: 1HGFA16596L127791 ## Mail History Id: 30993098, Consumer Id: 1365547, Address Id: 15638585 => Updated with Vin: 2CNDL13F956199557 ## Mail History Id: 30993086, Consumer Id: 1379470, Address Id: 15671906 => Updated with Vin: 5J6RE38377L000766 ## Mail History Id: 30993150, Consumer Id: 1379518, Address Id: 9054742 => Updated with Vin: 5J6YH28327L005435 ## Mail History Id: 30993030, Consumer Id: 1371967, Address Id: 15668762 => Updated with Vin: 1HGCP26728A061950 ## Mail History Id: 30993046, Consumer Id: 1371886, Address Id: 15668720 => Updated with Vin: 1HGCP26728A056425 ## Mail History Id: 30993078, Consumer Id: 1371969, Address Id: 15668764 => Updated with Vin: 5J6RE48578L010240 ## Mail History Id: 30993076, Consumer Id: 1379834, Address Id: 15672105 => Updated with Vin: 4S6DM58W0Y4404791 ## Mail History Id: 30993076, Consumer Id: 1379834, Address Id: 15672105 => Updated with Vin: 4S6DM58W0Y4404791 ## Total mail_history records updated with vin numbers: 16 out of 23 ============================================================ ====== Tracking Id: 2127 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-03 10:22:06') AND us2_order_type_id = 3 ## Order found: 2282 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2282 AND product_id = 2150 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3815 ## Mailing found: '13409' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993106, Consumer Id: 1370188, Address Id: 15637408 => Updated with Vin: 1HGCD563XTA127225 ## Mail History Id: 30993048, Consumer Id: 1367178, Address Id: 15639928 => Updated with Vin: 5FNYF18598B031171 ## Mail History Id: 30993148, Consumer Id: 1369635, Address Id: 11307669 => Updated with Vin: 1HGCG56451A024582 ## Mail History Id: 30993120, Consumer Id: 1379379, Address Id: 15671848 => Updated with Vin: 1HGCE189XVA004583 ## Mail History Id: 30993134, Consumer Id: 1360854, Address Id: 15633218 => Updated with Vin: JHMBB624XXC008636 ## Mail History Id: 30993130, Consumer Id: 1361174, Address Id: 15633442 => Updated with Vin: 1HGCG56682A063847 ## Mail History Id: 30993080, Consumer Id: 1379373, Address Id: 9421795 => Updated with Vin: JHLRD68494C005422 ## Mail History Id: 30993044, Consumer Id: 1363577, Address Id: 15636501 => Updated with Vin: SHSRD78894U243949 ## Mail History Id: 30993118, Consumer Id: 1377390, Address Id: 9094549 => Updated with Vin: 19UUA662X6A024482 ## Mail History Id: 30993090, Consumer Id: 1378084, Address Id: 15671167 => Updated with Vin: 1HGFA16816L004741 ## Mail History Id: 30993088, Consumer Id: 1366013, Address Id: 15639026 => Updated with Vin: JHLRE38597C060171 ## Mail History Id: 30993032, Consumer Id: 1379375, Address Id: 5761186 => Updated with Vin: 1HGCM56383A139079 ## Mail History Id: 30993096, Consumer Id: 1379396, Address Id: 15671859 => Updated with Vin: 1HGCD5636TA267000 ## Mail History Id: 30993132, Consumer Id: 1379406, Address Id: 15671869 => Updated with Vin: 1HGCG5652WA163522 ## Mail History Id: 30993028, Consumer Id: 1367185, Address Id: 15639934 => Updated with Vin: 1HGCP368X8A022103 ## Mail History Id: 30993142, Consumer Id: 1379392, Address Id: 15671856 => Updated with Vin: 1HGCG1650XA034690 ## Total mail_history records updated with vin numbers: 16 out of 16 ============================================================ ====== Tracking Id: 2128 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-03 10:22:18') AND us2_order_type_id = 3 ## Order found: 2282 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2282 AND product_id = 2152 ## Job Group Found: '566' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('566') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408006') AND customer_id = 3815 ## Mailing found: '13369' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30999318, Consumer Id: 1363766, Address Id: 15632088 => Updated with Vin: JHMAP11422T007829 ## Mail History Id: 30999320, Consumer Id: 1368433, Address Id: 15634949 => Updated with Vin: 1HGCG55632A008028 ## Mail History Id: 30999322, Consumer Id: 1371608, Address Id: 15640173 => Updated with Vin: 1HGCM66503A042997 ## Mail History Id: 30999324, Consumer Id: 1359696, Address Id: 9401254 => Updated with Vin: JHMES96614S006995 ## Mail History Id: 30999326, Consumer Id: 1361322, Address Id: 15633548 => Updated with Vin: 1HGCM568X5A062665 ## Mail History Id: 30999328, Consumer Id: 1366880, Address Id: 2112155 => Updated with Vin: JHMCG5674YC014485 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2129 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-03 10:22:30') AND us2_order_type_id = 3 ## Order found: 2282 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2282 AND product_id = 2153 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3815 ## Mailing found: '13386' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998801, Consumer Id: 1366531, Address Id: 15639330 => Updated with Vin: JHMCG6694YC007401 ## Mail History Id: 30998809, Consumer Id: 1366429, Address Id: 10680415 => Updated with Vin: 1HGFA16828L002239 ## Mail History Id: 30998799, Consumer Id: 1366439, Address Id: 15639276 => Updated with Vin: 5FNRL38767B110340 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2130 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-03 10:27:20') AND us2_order_type_id = 3 ## Order found: 2280 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2280 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3795 ## Mailing found: '13384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998612, Consumer Id: 1068424, Address Id: 14961302 => Updated with Vin: 5FNRL38876B061317 ## Mail History Id: 30998827, Consumer Id: 1054472, Address Id: 5796879 => Updated with Vin: 1HGCG5657WA087120 ## Mail History Id: 30998941, Consumer Id: 1054037, Address Id: 14955691 => Updated with Vin: 1HGEJ6673XL036706 ## Mail History Id: 30998853, Consumer Id: 1060030, Address Id: 6573704 => Updated with Vin: 1HGCM56633A061871 ## Total mail_history records updated with vin numbers: 4 out of 6 ============================================================ ====== Tracking Id: 2131 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-03 10:27:32') AND us2_order_type_id = 3 ## Order found: 2280 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2280 AND product_id = 114 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3795 ## Mailing found: '13384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998805, Consumer Id: 1068561, Address Id: 14961344 => Updated with Vin: 1HGCM563X3A074350 ## Mail History Id: 30998957, Consumer Id: 1059890, Address Id: 14956813 => Updated with Vin: 1HGFA15597L130998 ## Mail History Id: 30998965, Consumer Id: 1067984, Address Id: 3059297 => Updated with Vin: 5FNRL180X4B001334 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2132 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-03 10:27:44') AND us2_order_type_id = 3 ## Order found: 2280 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2280 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3795 ## Mailing found: '13384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998987, Consumer Id: 1057249, Address Id: 184958 => Updated with Vin: 2HGEJ6618YH529131 ## Mail History Id: 30998344, Consumer Id: 1054358, Address Id: 3112337 => Updated with Vin: 1HGCM56323A050124 ## Mail History Id: 30998859, Consumer Id: 1060197, Address Id: 6074461 => Updated with Vin: 1HGCP26478A083920 ## Mail History Id: 30998342, Consumer Id: 1060250, Address Id: 14957434 => Updated with Vin: 1GTEC19T8YZ308671 ## Total mail_history records updated with vin numbers: 4 out of 6 ============================================================ ====== Tracking Id: 2133 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-03 10:46:13') AND us2_order_type_id = 3 ## Order found: 2274 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2274 AND product_id = 140 ## Job Group Found: '566' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('566') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408006') AND customer_id = 3230 ## Mailing found: '13366' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2134 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-03 11:16:31') AND us2_order_type_id = 3 ## Order found: 2283 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2283 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3486 ## Mailing found: '13378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998402, Consumer Id: 524340, Address Id: 1553319 => Updated with Vin: 1GTGG25VX51188750 ## Mail History Id: 30998376, Consumer Id: 477171, Address Id: 1034842 => Updated with Vin: 1G1NE52J43M595659 ## Mail History Id: 30998438, Consumer Id: 466801, Address Id: 4377289 => Updated with Vin: 1GNES16S956199110 ## Mail History Id: 30998432, Consumer Id: 464237, Address Id: 1039224 => Updated with Vin: 1GCEC19T23Z273831 ## Mail History Id: 30998480, Consumer Id: 524341, Address Id: 9821304 => Updated with Vin: 1G6KD54Y13U121307 ## Mail History Id: 30998488, Consumer Id: 484870, Address Id: 9821364 => Updated with Vin: 2G1WT58K969357060 ## Mail History Id: 30998448, Consumer Id: 478942, Address Id: 9715198 => Updated with Vin: 3GNGK26G94G170553 ## Mail History Id: 30998360, Consumer Id: 470408, Address Id: 9821941 => Updated with Vin: 2GCEC19C471732629 ## Mail History Id: 30998454, Consumer Id: 470374, Address Id: 9823050 => Updated with Vin: 3GNFC16087G268922 ## Mail History Id: 30998422, Consumer Id: 470692, Address Id: 9823228 => Updated with Vin: 2G1WL15C969435651 ## Mail History Id: 30998378, Consumer Id: 471120, Address Id: 9823456 => Updated with Vin: 3GNDA13D08S599142 ## Mail History Id: 30998428, Consumer Id: 470890, Address Id: 9823341 => Updated with Vin: 2G1WU583489255643 ## Mail History Id: 30998406, Consumer Id: 524339, Address Id: 8062909 => Updated with Vin: 1GNCS13W1V2220330 ## Mail History Id: 30998424, Consumer Id: 486608, Address Id: 5284800 => Updated with Vin: 1GCHG39R411101359 ## Mail History Id: 30998398, Consumer Id: 524334, Address Id: 7962774 => Updated with Vin: 1G2WP52K9YF301977 ## Mail History Id: 30998426, Consumer Id: 471273, Address Id: 9823546 => Updated with Vin: 1GTEC14X24Z315832 ## Mail History Id: 30998410, Consumer Id: 524366, Address Id: 9826576 => Updated with Vin: 2GCEC13V161209187 ## Total mail_history records updated with vin numbers: 17 out of 20 ============================================================ ====== Tracking Id: 2135 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-03 11:16:43') AND us2_order_type_id = 3 ## Order found: 2283 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2283 AND product_id = 114 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3486 ## Mailing found: '13378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998382, Consumer Id: 463918, Address Id: 2003505 => Updated with Vin: 2GCEK19T221242766 ## Mail History Id: 30998414, Consumer Id: 480044, Address Id: 942444 => Updated with Vin: 1GCJC33285F921171 ## Mail History Id: 30998476, Consumer Id: 466008, Address Id: 2014434 => Updated with Vin: 1GKEC13V73R135457 ## Mail History Id: 30998462, Consumer Id: 476183, Address Id: 4378225 => Updated with Vin: 3GNEC13T72G345573 ## Mail History Id: 30998370, Consumer Id: 469210, Address Id: 2105178 => Updated with Vin: 3GNFC16J47G198456 ## Mail History Id: 30998400, Consumer Id: 470342, Address Id: 9821265 => Updated with Vin: 2GCEK13M971648570 ## Mail History Id: 30998482, Consumer Id: 485627, Address Id: 9825581 => Updated with Vin: 2G1WF52E649376558 ## Mail History Id: 30998474, Consumer Id: 485605, Address Id: 1570685 => Updated with Vin: 3GNEC16Z34G272169 ## Mail History Id: 30998444, Consumer Id: 486485, Address Id: 1072410 => Updated with Vin: 1GNEK13Z82R304294 ## Mail History Id: 30998472, Consumer Id: 470773, Address Id: 5567926 => Updated with Vin: 3GNFK16318G100523 ## Mail History Id: 30998390, Consumer Id: 470798, Address Id: 9823282 => Updated with Vin: KL1TD56658B091235 ## Mail History Id: 30998452, Consumer Id: 490036, Address Id: 9826372 => Updated with Vin: 1GNEK13T76R136729 ## Mail History Id: 30998358, Consumer Id: 489998, Address Id: 815932 => Updated with Vin: 1GNEC13T25R189575 ## Mail History Id: 30998418, Consumer Id: 490066, Address Id: 945573 => Updated with Vin: 1GCEK14V1YZ366570 ## Mail History Id: 30998388, Consumer Id: 490033, Address Id: 9826371 => Updated with Vin: 1GCHK23104F148102 ## Mail History Id: 30998392, Consumer Id: 490065, Address Id: 9826380 => Updated with Vin: 1GKFK66U73J271349 ## Total mail_history records updated with vin numbers: 16 out of 19 ============================================================ ====== Tracking Id: 2136 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-03 11:17:04') AND us2_order_type_id = 3 ## Order found: 2278 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2278 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2137 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-03 11:17:07') AND us2_order_type_id = 3 ## Order found: 2278 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2278 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3416 ## Mailing found: '13373' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998698, Consumer Id: 625576, Address Id: 11766021 => Updated with Vin: 1GYFK638X7R409793 ## Mail History Id: 30998678, Consumer Id: 684838, Address Id: 10933187 => Updated with Vin: 1G6KD54Y0XU713934 ## Mail History Id: 30998688, Consumer Id: 682986, Address Id: 1964141 => Updated with Vin: 1G4HP54K724113135 ## Mail History Id: 30998702, Consumer Id: 689440, Address Id: 11795630 => Updated with Vin: 1G3GR62C2S4146524 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2138 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-03 11:17:10') AND us2_order_type_id = 3 ## Order found: 2284 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2284 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3491 ## Mailing found: '13401' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993544, Consumer Id: 808420, Address Id: 11882891 => Updated with Vin: 1G1ZS51F46F105866 ## Mail History Id: 30993568, Consumer Id: 815215, Address Id: 11885541 => Updated with Vin: KL1TD56668B077005 ## Mail History Id: 30993516, Consumer Id: 812930, Address Id: 11887519 => Updated with Vin: 1G1ZT68N47F204477 ## Mail History Id: 30993526, Consumer Id: 814717, Address Id: 11874759 => Updated with Vin: 2CNDL13FX76246355 ## Mail History Id: 30993560, Consumer Id: 814931, Address Id: 11889610 => Updated with Vin: 1GCEC14XX5Z310086 ## Mail History Id: 30993548, Consumer Id: 815714, Address Id: 11890437 => Updated with Vin: 1J4GW48S24C269464 ## Mail History Id: 30993584, Consumer Id: 816103, Address Id: 11886855 => Updated with Vin: 1G1AL18F187230507 ## Mail History Id: 30993566, Consumer Id: 773241, Address Id: 11851209 => Updated with Vin: 1GCEC19XX8Z170439 ## Mail History Id: 30993564, Consumer Id: 815744, Address Id: 11890460 => Updated with Vin: 1GCEC19X16Z288277 ## Mail History Id: 30993508, Consumer Id: 816068, Address Id: 1296513 => Updated with Vin: 1G1ZH57B88F252102 ## Mail History Id: 30993524, Consumer Id: 760570, Address Id: 11851092 => Updated with Vin: 2G1WT58N779300416 ## Mail History Id: 30993552, Consumer Id: 1126137, Address Id: 11885062 => Updated with Vin: 1G1AK18F487292342 ## Mail History Id: 30993512, Consumer Id: 1026842, Address Id: 1297008 => Updated with Vin: 1G4CW52KXSH635301 ## Mail History Id: 30993550, Consumer Id: 834282, Address Id: 11879400 => Updated with Vin: 1GTCS198748151124 ## Mail History Id: 30993554, Consumer Id: 815533, Address Id: 11889291 => Updated with Vin: 1GNFK13098R194046 ## Mail History Id: 30993562, Consumer Id: 814354, Address Id: 11874969 => Updated with Vin: 1G1AL15FX77381168 ## Mail History Id: 30993578, Consumer Id: 825601, Address Id: 11880713 => Updated with Vin: 1GNCS13W3Y2207034 ## Mail History Id: 30993558, Consumer Id: 825967, Address Id: 11880822 => Updated with Vin: 1GNDX03E01D242809 ## Mail History Id: 30993574, Consumer Id: 815434, Address Id: 11890234 => Updated with Vin: 1G1AL18F087184569 ## Mail History Id: 30993556, Consumer Id: 834928, Address Id: 11892575 => Updated with Vin: 2CNDL23F356170822 ## Mail History Id: 30993546, Consumer Id: 835357, Address Id: 11892983 => Updated with Vin: 1G1ND52F75M162869 ## Mail History Id: 30993536, Consumer Id: 1006901, Address Id: 14929637 => Updated with Vin: 2G2FV22P5V2204594 ## Mail History Id: 30993538, Consumer Id: 826727, Address Id: 11881468 => Updated with Vin: 1G3AG54N7P6385566 ## Mail History Id: 30993514, Consumer Id: 773156, Address Id: 1297259 => Updated with Vin: 1GNDS13S972206115 ## Total mail_history records updated with vin numbers: 24 out of 39 ============================================================ ====== Tracking Id: 2139 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-03 11:17:19') AND us2_order_type_id = 3 ## Order found: 2284 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2284 AND product_id = 114 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3491 ## Mailing found: '13379' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998820, Consumer Id: 808264, Address Id: 11875947 => Updated with Vin: 1G1AK52FX57566087 ## Mail History Id: 30998848, Consumer Id: 837646, Address Id: 11894292 => Updated with Vin: 1G1YY32GXW5109738 ## Mail History Id: 30998830, Consumer Id: 811843, Address Id: 11875012 => Updated with Vin: 3GNFK16Z23G256034 ## Mail History Id: 30998822, Consumer Id: 814173, Address Id: 11888844 => Updated with Vin: 1J4GW48N44C366630 ## Mail History Id: 30998864, Consumer Id: 814692, Address Id: 11889189 => Updated with Vin: 1D7HW22KX5S252660 ## Mail History Id: 30998804, Consumer Id: 815296, Address Id: 11889846 => Updated with Vin: 1D8HB48P17F546658 ## Mail History Id: 30998844, Consumer Id: 829522, Address Id: 11885581 => Updated with Vin: 2G1FP22P4S2213281 ## Mail History Id: 30998858, Consumer Id: 833478, Address Id: 11891625 => Updated with Vin: 2G1WW12E519309583 ## Mail History Id: 30998868, Consumer Id: 831827, Address Id: 11890644 => Updated with Vin: 1GNDS13S252149446 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 2140 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-03 11:17:31') AND us2_order_type_id = 3 ## Order found: 2284 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2284 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2141 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-03 11:17:31') AND us2_order_type_id = 3 ## Order found: 2278 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2278 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3416 ## Mailing found: '13373' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998680, Consumer Id: 625969, Address Id: 11766215 => Updated with Vin: 5GTEN43E388182868 ## Mail History Id: 30998710, Consumer Id: 625967, Address Id: 11766213 => Updated with Vin: 1G6KD57Y28U121447 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2142 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-03 11:17:36') AND us2_order_type_id = 3 ## Order found: 2284 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2284 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3491 ## Mailing found: '13379' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998878, Consumer Id: 814531, Address Id: 11889088 => Updated with Vin: 1D7HE28K85S337278 ## Mail History Id: 30998826, Consumer Id: 814210, Address Id: 11888877 => Updated with Vin: 3GCEC13027G504294 ## Mail History Id: 30998854, Consumer Id: 814909, Address Id: 11889594 => Updated with Vin: 2GCEK13T061230789 ## Mail History Id: 30998814, Consumer Id: 810695, Address Id: 11879921 => Updated with Vin: 1G1AK15F767815936 ## Total mail_history records updated with vin numbers: 4 out of 6 ============================================================ ====== Tracking Id: 2143 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-03 11:18:02') AND us2_order_type_id = 3 ## Order found: 2285 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2285 AND product_id = 144 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3705 ## Mailing found: '13404' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993668, Consumer Id: 961220, Address Id: 14832121 => Updated with Vin: 1G4HR54K34U148820 ## Mail History Id: 30993604, Consumer Id: 973411, Address Id: 14838507 => Updated with Vin: 3GKEC16Z04G239191 ## Mail History Id: 30993600, Consumer Id: 962528, Address Id: 14835352 => Updated with Vin: 1GNET16S656160018 ## Mail History Id: 30993656, Consumer Id: 964623, Address Id: 14837122 => Updated with Vin: 3GNDA23D46S650001 ## Mail History Id: 30993618, Consumer Id: 977562, Address Id: 14838568 => Updated with Vin: 2CNDL13F576015606 ## Mail History Id: 30993608, Consumer Id: 982587, Address Id: 9158975 => Updated with Vin: 5Y2SL65846Z402268 ## Mail History Id: 30993610, Consumer Id: 967494, Address Id: 9159302 => Updated with Vin: 2GCEK13M471530653 ## Mail History Id: 30993634, Consumer Id: 967669, Address Id: 14839430 => Updated with Vin: 1GAHG39U861212100 ## Mail History Id: 30993638, Consumer Id: 982580, Address Id: 14929925 => Updated with Vin: 3GNDA23D97S611163 ## Mail History Id: 30993630, Consumer Id: 1026916, Address Id: 14940833 => Updated with Vin: 2G1WU58RX79275317 ## Mail History Id: 30993646, Consumer Id: 982585, Address Id: 14929928 => Updated with Vin: 1G1AL18F687294607 ## Mail History Id: 30993594, Consumer Id: 1026917, Address Id: 14940834 => Updated with Vin: 1GKEC63858J221329 ## Mail History Id: 30993664, Consumer Id: 1026918, Address Id: 14940835 => Updated with Vin: 1FAFP53U27A214466 ## Mail History Id: 30993596, Consumer Id: 1026921, Address Id: 30831 => Updated with Vin: 3GSCL33P68S523711 ## Mail History Id: 30993636, Consumer Id: 959817, Address Id: 14831042 => Updated with Vin: 1GKFK66U93J122313 ## Mail History Id: 30993652, Consumer Id: 973599, Address Id: 14840016 => Updated with Vin: 1G1ND52J63M554632 ## Mail History Id: 30993606, Consumer Id: 975024, Address Id: 14831813 => Updated with Vin: 4T1BG22K2VU099706 ## Mail History Id: 30993644, Consumer Id: 973460, Address Id: 14831582 => Updated with Vin: 2G1WW12E639304959 ## Mail History Id: 30993614, Consumer Id: 959934, Address Id: 14831137 => Updated with Vin: 1G6KD54Y42U246333 ## Mail History Id: 30993640, Consumer Id: 959889, Address Id: 14831102 => Updated with Vin: 1G4HR54K1YU305878 ## Mail History Id: 30993592, Consumer Id: 973530, Address Id: 14839259 => Updated with Vin: 1GYEC63T54R216928 ## Mail History Id: 30993662, Consumer Id: 975597, Address Id: 14843927 => Updated with Vin: 1G3GR64H524199727 ## Mail History Id: 30993658, Consumer Id: 974625, Address Id: 14842898 => Updated with Vin: 1GCFG15X951119152 ## Mail History Id: 30993622, Consumer Id: 978072, Address Id: 14845343 => Updated with Vin: 2G1WF52E949300543 ## Mail History Id: 30993648, Consumer Id: 980183, Address Id: 14846530 => Updated with Vin: 1GKER23758J156447 ## Total mail_history records updated with vin numbers: 25 out of 27 ============================================================ ====== Tracking Id: 2144 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-03 11:18:06') AND us2_order_type_id = 3 ## Order found: 2285 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2285 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2145 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-03 11:18:19') AND us2_order_type_id = 3 ## Order found: 2285 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2285 AND product_id = 106 ## Job Group Found: '564' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('564') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408004') AND customer_id = 3705 ## Mailing found: '13393' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30999219, Consumer Id: 971391, Address Id: 14842101 => Updated with Vin: 1GKFC13C48R162979 ## Mail History Id: 30999220, Consumer Id: 971411, Address Id: 14842115 => Updated with Vin: 1GCEC19T44Z160402 ## Mail History Id: 30999221, Consumer Id: 971415, Address Id: 14842119 => Updated with Vin: 2GCEC19T221322470 ## Mail History Id: 30999222, Consumer Id: 971416, Address Id: 14834563 => Updated with Vin: 2G2WR554971101484 ## Mail History Id: 30999223, Consumer Id: 971417, Address Id: 14842120 => Updated with Vin: 5Y2SL62824Z428756 ## Mail History Id: 30999224, Consumer Id: 971418, Address Id: 14842121 => Updated with Vin: 1GNDT13S372157796 ## Mail History Id: 30999225, Consumer Id: 971423, Address Id: 14842124 => Updated with Vin: 2CKDL63F776112798 ## Mail History Id: 30999226, Consumer Id: 971426, Address Id: 14841278 => Updated with Vin: 1GNDS13S672157066 ## Mail History Id: 30999227, Consumer Id: 971427, Address Id: 14842126 => Updated with Vin: 2G2WP552961185972 ## Mail History Id: 30999228, Consumer Id: 971428, Address Id: 11572862 => Updated with Vin: 1G1AL15F477128637 ## Mail History Id: 30999229, Consumer Id: 971429, Address Id: 14842127 => Updated with Vin: 2GTEC13J381170490 ## Total mail_history records updated with vin numbers: 11 out of 11 ============================================================ ====== Tracking Id: 2146 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-03 11:18:30') AND us2_order_type_id = 3 ## Order found: 2286 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2286 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3808 ## Mailing found: '13408' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993490, Consumer Id: 1172595, Address Id: 15030595 => Updated with Vin: 2GCEC13J571602382 ## Mail History Id: 30993480, Consumer Id: 1172517, Address Id: 15030531 => Updated with Vin: 2GCEC19R1V1110636 ## Mail History Id: 30993468, Consumer Id: 1172545, Address Id: 15030556 => Updated with Vin: 2G1WH55K429391083 ## Mail History Id: 30993476, Consumer Id: 1170862, Address Id: 15029100 => Updated with Vin: 1GMDX03E11D126944 ## Mail History Id: 30993482, Consumer Id: 1171361, Address Id: 15029111 => Updated with Vin: 2GCEK19V431292135 ## Mail History Id: 30993494, Consumer Id: 1171262, Address Id: 15029468 => Updated with Vin: 3GNEC12Z75G251686 ## Mail History Id: 30993498, Consumer Id: 1172454, Address Id: 15030482 => Updated with Vin: 1GNDS13S222173161 ## Mail History Id: 30993470, Consumer Id: 1172551, Address Id: 15030561 => Updated with Vin: 1G1JH14F247145807 ## Mail History Id: 30993478, Consumer Id: 1171196, Address Id: 15029407 => Updated with Vin: 2CNDL73F776114107 ## Mail History Id: 30993484, Consumer Id: 1172464, Address Id: 15029971 => Updated with Vin: 1GNEK13TX1J143634 ## Mail History Id: 30993472, Consumer Id: 1172469, Address Id: 15029581 => Updated with Vin: 3GNGK26K47G303650 ## Total mail_history records updated with vin numbers: 11 out of 19 ============================================================ ====== Tracking Id: 2147 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-03 11:18:31') AND us2_order_type_id = 3 ## Order found: 2285 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2285 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3705 ## Mailing found: '13382' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2148 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-03 11:18:42') AND us2_order_type_id = 3 ## Order found: 2287 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2287 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3721 ## Mailing found: '13405' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993258, Consumer Id: 1013384, Address Id: 6667628 => Updated with Vin: JM1BK12F051308913 ## Mail History Id: 30993254, Consumer Id: 1017369, Address Id: 6662607 => Updated with Vin: JM3ER293670162477 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 2149 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-03 11:18:43') AND us2_order_type_id = 3 ## Order found: 2286 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2286 AND product_id = 114 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3808 ## Mailing found: '13385' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998774, Consumer Id: 1286492, Address Id: 15463949 => Updated with Vin: 2GCEK19B551290368 ## Mail History Id: 30998718, Consumer Id: 1286890, Address Id: 15029556 => Updated with Vin: 1GNFC13C18R129554 ## Mail History Id: 30998780, Consumer Id: 1287183, Address Id: 15464477 => Updated with Vin: 1GKEC16Z54J110040 ## Mail History Id: 30998882, Consumer Id: 1287248, Address Id: 15464530 => Updated with Vin: 1G6KS54Y0WU916942 ## Mail History Id: 30998784, Consumer Id: 1287576, Address Id: 15464695 => Updated with Vin: 1GNDS13S522382250 ## Mail History Id: 30998802, Consumer Id: 1287455, Address Id: 15464650 => Updated with Vin: 3GCEC14X97G208913 ## Mail History Id: 30998754, Consumer Id: 1287559, Address Id: 15464686 => Updated with Vin: 2CNBJ1860X6919014 ## Mail History Id: 30998778, Consumer Id: 1287442, Address Id: 15464644 => Updated with Vin: 1G1BL52P0RR168813 ## Mail History Id: 30998720, Consumer Id: 1287578, Address Id: 15464696 => Updated with Vin: 1GNEC13TX1R122104 ## Mail History Id: 30998770, Consumer Id: 1277945, Address Id: 15457955 => Updated with Vin: 1GCHC29244E252319 ## Mail History Id: 30998742, Consumer Id: 1287443, Address Id: 15453445 => Updated with Vin: 1GCEK19B96Z220557 ## Mail History Id: 30998758, Consumer Id: 1271002, Address Id: 15451646 => Updated with Vin: 1GCHK23GX1F148253 ## Total mail_history records updated with vin numbers: 12 out of 15 ============================================================ ====== Tracking Id: 2150 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-03 11:18:55') AND us2_order_type_id = 3 ## Order found: 2286 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2286 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3808 ## Mailing found: '13385' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998730, Consumer Id: 1171542, Address Id: 15029715 => Updated with Vin: 1GCDT136758126525 ## Mail History Id: 30998744, Consumer Id: 1171460, Address Id: 15029643 => Updated with Vin: 1G6ET129XTU608719 ## Mail History Id: 30998764, Consumer Id: 1171463, Address Id: 15029646 => Updated with Vin: 2G1WH52K239264970 ## Mail History Id: 30998792, Consumer Id: 1171544, Address Id: 15029717 => Updated with Vin: 1GBKP37N3R3300901 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2151 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-03 11:19:07') AND us2_order_type_id = 3 ## Order found: 2286 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2286 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3808 ## Mailing found: '13385' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998800, Consumer Id: 1266504, Address Id: 15437978 => Updated with Vin: 2GCEC19ZX51179614 ## Mail History Id: 30998752, Consumer Id: 1266285, Address Id: 15030510 => Updated with Vin: 2G1WX15KX19172901 ## Mail History Id: 30998736, Consumer Id: 1266184, Address Id: 15437722 => Updated with Vin: 1GCHK23D37F122513 ## Mail History Id: 30998726, Consumer Id: 1266297, Address Id: 15437808 => Updated with Vin: 1GNFC13C77R430599 ## Mail History Id: 30998722, Consumer Id: 1266303, Address Id: 15437814 => Updated with Vin: 1G1NE52M9XY131954 ## Mail History Id: 30998772, Consumer Id: 1266437, Address Id: 15437916 => Updated with Vin: 1GHDT13S122179100 ## Mail History Id: 30998768, Consumer Id: 1266439, Address Id: 15437918 => Updated with Vin: 1GCEC19X55Z270573 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 2152 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-03 11:46:24') AND us2_order_type_id = 3 ## Order found: 2288 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2288 AND product_id = 142 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3357 ## Mailing found: '13395' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993804, Consumer Id: 151814, Address Id: 394188 => Updated with Vin: JM1BK143451300476 ## Mail History Id: 30993806, Consumer Id: 152809, Address Id: 395110 => Updated with Vin: 1FAHP36N96W214712 ## Mail History Id: 30993816, Consumer Id: 154523, Address Id: 396678 => Updated with Vin: 1YVHP80D775M10110 ## Mail History Id: 30993824, Consumer Id: 190835, Address Id: 400017 => Updated with Vin: 1FMPU18L5XLC06958 ## Mail History Id: 30993826, Consumer Id: 187228, Address Id: 398015 => Updated with Vin: 1FMRU17L7XLB13482 ## Mail History Id: 30993808, Consumer Id: 609950, Address Id: 10889001 => Updated with Vin: 1FMEU15H6RLB48403 ## Mail History Id: 30993818, Consumer Id: 1027156, Address Id: 14940940 => Updated with Vin: 1FTYR14X8YPB65562 ## Total mail_history records updated with vin numbers: 7 out of 9 ============================================================ ====== Tracking Id: 2153 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-03 11:46:28') AND us2_order_type_id = 3 ## Order found: 2288 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2288 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3357 ## Mailing found: '13372' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998976, Consumer Id: 461870, Address Id: 2358473 => Updated with Vin: 1MEFM50293G619221 ## Mail History Id: 30999014, Consumer Id: 191167, Address Id: 401368 => Updated with Vin: 1FAFP42X21F239304 ## Mail History Id: 30999004, Consumer Id: 193605, Address Id: 403571 => Updated with Vin: 2FTRX18LX3CA05517 ## Mail History Id: 30999000, Consumer Id: 461861, Address Id: 394493 => Updated with Vin: 1N4BL11D25N479982 ## Mail History Id: 30998958, Consumer Id: 189262, Address Id: 400627 => Updated with Vin: 1FMCU96H46KA08582 ## Mail History Id: 30999018, Consumer Id: 461862, Address Id: 6903427 => Updated with Vin: 1MEFM50UX2G602217 ## Mail History Id: 30998984, Consumer Id: 187918, Address Id: 399643 => Updated with Vin: 1YVFP80C335M50712 ## Mail History Id: 30999038, Consumer Id: 461859, Address Id: 407830 => Updated with Vin: 1FTRF12W35NA30584 ## Mail History Id: 30999042, Consumer Id: 461734, Address Id: 9819588 => Updated with Vin: 2GCEC13C671541707 ## Mail History Id: 30999028, Consumer Id: 197851, Address Id: 407491 => Updated with Vin: JM1BK32F581774899 ## Mail History Id: 30998948, Consumer Id: 461735, Address Id: 9819589 => Updated with Vin: 3MEHM02118R649040 ## Mail History Id: 30998964, Consumer Id: 461863, Address Id: 9819592 => Updated with Vin: 1FMDU35P5VUC53839 ## Total mail_history records updated with vin numbers: 12 out of 13 ============================================================ ====== Tracking Id: 2154 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-03 11:46:36') AND us2_order_type_id = 3 ## Order found: 2287 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2287 AND product_id = 2147 ## Job Group Found: '562' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('562') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408002') AND customer_id = 3721 ## Mailing found: '13415' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31003342, Consumer Id: 1011522, Address Id: 6666247 => Updated with Vin: 1YVGF22DX25299859 ## Mail History Id: 31003344, Consumer Id: 1016063, Address Id: 14933134 => Updated with Vin: JM3ER293X70156245 ## Mail History Id: 31003346, Consumer Id: 1011816, Address Id: 6661515 => Updated with Vin: 4F2CZ04125KM28119 ## Mail History Id: 31003348, Consumer Id: 1014524, Address Id: 6662544 => Updated with Vin: 2HGES16535H617776 ## Mail History Id: 31003350, Consumer Id: 1009897, Address Id: 14931757 => Updated with Vin: 1YVHP80CX75M47773 ## Mail History Id: 31003352, Consumer Id: 1017538, Address Id: 14933510 => Updated with Vin: JM1BK12F041180459 ## Mail History Id: 31003354, Consumer Id: 1017539, Address Id: 6660377 => Updated with Vin: 4F2YU09112KM28606 ## Mail History Id: 31003356, Consumer Id: 1017588, Address Id: 11562758 => Updated with Vin: 1YVHP80D865M22779 ## Mail History Id: 31003358, Consumer Id: 1008514, Address Id: 14930686 => Updated with Vin: JM1TA2219S1129590 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 2155 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-03 11:46:41') AND us2_order_type_id = 3 ## Order found: 2288 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2288 AND product_id = 114 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3357 ## Mailing found: '13372' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998968, Consumer Id: 190623, Address Id: 400921 => Updated with Vin: 4F2CZ96155KM04009 ## Mail History Id: 30999024, Consumer Id: 200103, Address Id: 407466 => Updated with Vin: 1FAFP55U63G263688 ## Mail History Id: 30998986, Consumer Id: 197149, Address Id: 406960 => Updated with Vin: JHMES96603S026668 ## Mail History Id: 30999010, Consumer Id: 199802, Address Id: 407446 => Updated with Vin: 4T1BE46K27U541625 ## Mail History Id: 30999008, Consumer Id: 191042, Address Id: 401355 => Updated with Vin: 1FAFP40442F203737 ## Mail History Id: 30998970, Consumer Id: 199686, Address Id: 407437 => Updated with Vin: 1FMPU18L9YLC30780 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 2156 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-03 12:17:34') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2157 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-03 12:17:38') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2158 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-03 12:17:41') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2159 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-03 12:17:42') AND us2_order_type_id = 3 ## Order found: 2289 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2289 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3471 ## Mailing found: '13400' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993758, Consumer Id: 802308, Address Id: 4235547 => Updated with Vin: 1G6KE54Y2XU779740 ## Mail History Id: 30993754, Consumer Id: 798618, Address Id: 10220817 => Updated with Vin: 1GHDX23E91D311057 ## Mail History Id: 30993748, Consumer Id: 816193, Address Id: 10218982 => Updated with Vin: 1G3GR62C6S4113946 ## Mail History Id: 30993694, Consumer Id: 801516, Address Id: 7415995 => Updated with Vin: 1G6KD54Y33U214961 ## Mail History Id: 30993682, Consumer Id: 803066, Address Id: 7415473 => Updated with Vin: 1GYEK63N73R165631 ## Mail History Id: 30993698, Consumer Id: 821503, Address Id: 10213906 => Updated with Vin: 1G6KD54Y2WU748666 ## Mail History Id: 30993674, Consumer Id: 803148, Address Id: 7878207 => Updated with Vin: 1G6KS54Y41U184372 ## Mail History Id: 30993696, Consumer Id: 803199, Address Id: 7416141 => Updated with Vin: 1G3WS52HX1F121198 ## Mail History Id: 30993704, Consumer Id: 800454, Address Id: 4553315 => Updated with Vin: 1G3GR64H614124968 ## Mail History Id: 30993720, Consumer Id: 822810, Address Id: 10215245 => Updated with Vin: 3GYFK62807G300972 ## Mail History Id: 30993740, Consumer Id: 800509, Address Id: 10218090 => Updated with Vin: 1G6KD54Y12U264157 ## Mail History Id: 30993738, Consumer Id: 821642, Address Id: 10217912 => Updated with Vin: 1GYEK63N84R156616 ## Mail History Id: 30993688, Consumer Id: 798023, Address Id: 7416402 => Updated with Vin: 1GYEK63N23R199542 ## Mail History Id: 30993730, Consumer Id: 799467, Address Id: 10216463 => Updated with Vin: 1G6KS54Y42U171395 ## Mail History Id: 30993700, Consumer Id: 800663, Address Id: 10213927 => Updated with Vin: 1GYEK63N73R316466 ## Mail History Id: 30993756, Consumer Id: 801007, Address Id: 11871455 => Updated with Vin: 1GYEK63N33R111727 ## Mail History Id: 30993684, Consumer Id: 808101, Address Id: 10212669 => Updated with Vin: 1G6KY5496WU927614 ## Mail History Id: 30993708, Consumer Id: 816137, Address Id: 7416396 => Updated with Vin: 3GYFK66N25G101502 ## Mail History Id: 30993680, Consumer Id: 817263, Address Id: 7878675 => Updated with Vin: 1GYEK63N55R244038 ## Mail History Id: 30993722, Consumer Id: 817230, Address Id: 10215989 => Updated with Vin: 1GYEK63N95R260209 ## Mail History Id: 30993718, Consumer Id: 816782, Address Id: 10214987 => Updated with Vin: 1G6ET1294YB705076 ## Mail History Id: 30993710, Consumer Id: 820984, Address Id: 7416647 => Updated with Vin: 1G6DP577960113096 ## Mail History Id: 30993690, Consumer Id: 823514, Address Id: 11878939 => Updated with Vin: 1G3GR62CXT4123445 ## Mail History Id: 30993742, Consumer Id: 823515, Address Id: 11876684 => Updated with Vin: 1G6DP57V180110162 ## Mail History Id: 30993760, Consumer Id: 807086, Address Id: 11876726 => Updated with Vin: 1G6DS57V980172472 ## Mail History Id: 30993728, Consumer Id: 760384, Address Id: 10216631 => Updated with Vin: 1GYFK63838R240184 ## Mail History Id: 30993728, Consumer Id: 760384, Address Id: 10216631 => Updated with Vin: 1GYFK63838R240184 ## Mail History Id: 30993752, Consumer Id: 807093, Address Id: 11876481 => Updated with Vin: 1GYFK63828R243352 ## Mail History Id: 30993752, Consumer Id: 807093, Address Id: 11876481 => Updated with Vin: 1GYFK63828R243352 ## Mail History Id: 30993678, Consumer Id: 807806, Address Id: 7878591 => Updated with Vin: 1G1YY22G215119988 ## Mail History Id: 30993716, Consumer Id: 798623, Address Id: 10214858 => Updated with Vin: 1GHDT13S222391634 ## Total mail_history records updated with vin numbers: 31 out of 36 ============================================================ ====== Tracking Id: 2160 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-03 12:17:47') AND us2_order_type_id = 3 ## Order found: 2289 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2289 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3471 ## Mailing found: '13377' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998902, Consumer Id: 807249, Address Id: 11874374 => Updated with Vin: 1G6DN57S740180027 ## Mail History Id: 30998900, Consumer Id: 819907, Address Id: 10217294 => Updated with Vin: 1GHDX03E61D215097 ## Mail History Id: 30998898, Consumer Id: 823371, Address Id: 7415919 => Updated with Vin: 1G6KD54Y71U199605 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 2161 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-03 12:17:59') AND us2_order_type_id = 3 ## Order found: 2290 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2290 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3451 ## Mailing found: '13398' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993780, Consumer Id: 615951, Address Id: 11758264 => Updated with Vin: 1G6DW5471LR711584 ## Mail History Id: 30993764, Consumer Id: 617962, Address Id: 826804 => Updated with Vin: 1G6KD54Y1XU742228 ## Mail History Id: 30993776, Consumer Id: 612953, Address Id: 11756436 => Updated with Vin: 1G6KD54Y42U128248 ## Mail History Id: 30993766, Consumer Id: 613141, Address Id: 11756546 => Updated with Vin: 1G6KD52Y1TU293565 ## Mail History Id: 30993770, Consumer Id: 613945, Address Id: 834129 => Updated with Vin: 1G6KD54Y63U224948 ## Mail History Id: 30993784, Consumer Id: 615950, Address Id: 840221 => Updated with Vin: 1G6KD54Y7XU729211 ## Mail History Id: 30993772, Consumer Id: 617683, Address Id: 11759478 => Updated with Vin: 1G6KD54Y4XU743809 ## Mail History Id: 30993788, Consumer Id: 611569, Address Id: 11759423 => Updated with Vin: 1G6KD54YX5U153109 ## Mail History Id: 30993790, Consumer Id: 619138, Address Id: 11760648 => Updated with Vin: 1G6DM57N930166481 ## Mail History Id: 30993774, Consumer Id: 611708, Address Id: 11758501 => Updated with Vin: 1G6KD57Y37U122122 ## Mail History Id: 30993814, Consumer Id: 626675, Address Id: 11764043 => Updated with Vin: 1G6DW52P5RR709235 ## Mail History Id: 30993786, Consumer Id: 612119, Address Id: 11760473 => Updated with Vin: 1G6DW677150193145 ## Mail History Id: 30993778, Consumer Id: 628545, Address Id: 838568 => Updated with Vin: 1G6KD54Y55U149078 ## Mail History Id: 30993782, Consumer Id: 873735, Address Id: 11913187 => Updated with Vin: 1G6KY5297PU836856 ## Mail History Id: 30993768, Consumer Id: 874501, Address Id: 3404197 => Updated with Vin: 1G6DP567450177580 ## Mail History Id: 30993792, Consumer Id: 910921, Address Id: 11941019 => Updated with Vin: 1G6DF577880197269 ## Total mail_history records updated with vin numbers: 16 out of 22 ============================================================ ====== Tracking Id: 2162 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-03 14:16:21') AND us2_order_type_id = 3 ## Order found: 2279 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2279 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3418 ## Mailing found: '13397' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993360, Consumer Id: 677891, Address Id: 11783617 => Updated with Vin: 1G6KD57Y77U135438 ## Mail History Id: 30993308, Consumer Id: 681279, Address Id: 11794738 => Updated with Vin: 1G6DN57U670187296 ## Mail History Id: 30993342, Consumer Id: 628738, Address Id: 11764935 => Updated with Vin: 1G6DR57V180180917 ## Mail History Id: 30993364, Consumer Id: 611140, Address Id: 8875883 => Updated with Vin: 1G6DM577X80100644 ## Mail History Id: 30993346, Consumer Id: 612163, Address Id: 11755906 => Updated with Vin: 1G6ET12922B105390 ## Mail History Id: 30993352, Consumer Id: 629261, Address Id: 11769708 => Updated with Vin: 1G6KD54Y23U170418 ## Mail History Id: 30993328, Consumer Id: 612197, Address Id: 11755934 => Updated with Vin: 1G6DM57T370118236 ## Mail History Id: 30993344, Consumer Id: 612269, Address Id: 6609174 => Updated with Vin: 1G6DP577660101343 ## Mail History Id: 30993350, Consumer Id: 680019, Address Id: 11793965 => Updated with Vin: 1G6KD54Y53U291797 ## Mail History Id: 30993368, Consumer Id: 679913, Address Id: 11754900 => Updated with Vin: 1G6DM577840127898 ## Mail History Id: 30993334, Consumer Id: 612192, Address Id: 11755930 => Updated with Vin: 1G6KY54972U143727 ## Mail History Id: 30993332, Consumer Id: 612241, Address Id: 11755964 => Updated with Vin: 1G6KD54Y4YU259804 ## Mail History Id: 30993304, Consumer Id: 626912, Address Id: 11764570 => Updated with Vin: 1G6CD4789G4317110 ## Mail History Id: 30993300, Consumer Id: 678995, Address Id: 10326864 => Updated with Vin: 1G6KD57Y06U107026 ## Total mail_history records updated with vin numbers: 14 out of 45 ============================================================ ====== Tracking Id: 2163 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-03 14:16:30') AND us2_order_type_id = 3 ## Order found: 2290 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2290 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3451 ## Mailing found: '13375' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998920, Consumer Id: 627576, Address Id: 829042 => Updated with Vin: 1G6KD57Y36U196140 ## Mail History Id: 30998934, Consumer Id: 623913, Address Id: 11762938 => Updated with Vin: 1GYEK63NX5R187383 ## Mail History Id: 30998914, Consumer Id: 624627, Address Id: 11763346 => Updated with Vin: 1G6DW677250148361 ## Mail History Id: 30998928, Consumer Id: 626826, Address Id: 11764133 => Updated with Vin: 1G6KD54Y31U206548 ## Mail History Id: 30998912, Consumer Id: 612033, Address Id: 11757680 => Updated with Vin: 1G6DM57N630108831 ## Mail History Id: 30998916, Consumer Id: 626438, Address Id: 11763899 => Updated with Vin: 1G6KE57Y44U160466 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2164 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-03 14:16:43') AND us2_order_type_id = 3 ## Order found: 2290 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2290 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3451 ## Mailing found: '13375' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2165 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-03 19:56:16') AND us2_order_type_id = 3 ## Order found: 2277 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2277 AND product_id = 2147 ## Job Group Found: '562' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('562') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408002') AND customer_id = 3846 ## Mailing found: '13417' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31003436, Consumer Id: 1180496, Address Id: 473266 => Updated with Vin: 4S3BH806247601900 ## Mail History Id: 31003438, Consumer Id: 1185618, Address Id: 469238 => Updated with Vin: JF1GG296X3G807818 ## Mail History Id: 31003440, Consumer Id: 1179849, Address Id: 9737235 => Updated with Vin: 4S3BD6757X6257777 ## Mail History Id: 31003442, Consumer Id: 1182326, Address Id: 9750272 => Updated with Vin: JF1SG63636G728425 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2166 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-03 19:56:29') AND us2_order_type_id = 3 ## Order found: 2277 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2277 AND product_id = 2150 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3846 ## Mailing found: '13410' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992541, Consumer Id: 1178392, Address Id: 15366654 => Updated with Vin: JF1SG65684H703332 ## Mail History Id: 30993337, Consumer Id: 1186962, Address Id: 15371378 => Updated with Vin: 4S3BH686717664771 ## Mail History Id: 30993771, Consumer Id: 1179461, Address Id: 9729646 => Updated with Vin: JF1GD67582H516415 ## Mail History Id: 30992753, Consumer Id: 1182625, Address Id: 15369798 => Updated with Vin: 4S4BP61C677341562 ## Mail History Id: 30993495, Consumer Id: 1179542, Address Id: 4498794 => Updated with Vin: 4S3BH665527645874 ## Mail History Id: 30993173, Consumer Id: 1186959, Address Id: 15371377 => Updated with Vin: 4S3BG6853W7627086 ## Mail History Id: 30992135, Consumer Id: 1184842, Address Id: 1730525 => Updated with Vin: 4S4BP61C757356990 ## Mail History Id: 30993075, Consumer Id: 1186928, Address Id: 15371373 => Updated with Vin: 4S3BH675137632801 ## Total mail_history records updated with vin numbers: 8 out of 10 ============================================================ ====== Tracking Id: 2167 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-03 20:16:25') AND us2_order_type_id = 3 ## Order found: 2273 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2273 AND product_id = 2147 ## Job Group Found: '570' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('570') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808002') AND customer_id = 3503 ## Mailing found: '13497' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 17 ============================================================ ====== Tracking Id: 2168 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-03 20:16:38') AND us2_order_type_id = 3 ## Order found: 2273 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2273 AND product_id = 2153 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3503 ## Mailing found: '13459' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099693, Consumer Id: 2174709, Address Id: 4444969 => Updated with Vin: 2T1BR32E03C156557 ## Mail History Id: 31099615, Consumer Id: 2168010, Address Id: 9735466 => Updated with Vin: JTEGD21A770171047 ## Mail History Id: 31099763, Consumer Id: 2166620, Address Id: 9733440 => Updated with Vin: 5TDZA23C06S562377 ## Mail History Id: 31099725, Consumer Id: 2163130, Address Id: 9729526 => Updated with Vin: 4T1BE32K36U664400 ## Mail History Id: 31099655, Consumer Id: 2163721, Address Id: 9729564 => Updated with Vin: 4T1BE32K36U145928 ## Mail History Id: 31099653, Consumer Id: 2159984, Address Id: 9725116 => Updated with Vin: 4T1BE32K14U898967 ## Mail History Id: 31099625, Consumer Id: 2168811, Address Id: 9737490 => Updated with Vin: JTEBT17R98K001007 ## Mail History Id: 31099771, Consumer Id: 2168795, Address Id: 9737481 => Updated with Vin: JTMBK32V385040987 ## Mail History Id: 31099721, Consumer Id: 2172020, Address Id: 9719741 => Updated with Vin: 1NXBR32E43Z088682 ## Mail History Id: 31099685, Consumer Id: 2158879, Address Id: 9722432 => Updated with Vin: 4T1BF28B53U336308 ## Mail History Id: 31099679, Consumer Id: 2168816, Address Id: 9737493 => Updated with Vin: 2T1BR32E38C898135 ## Mail History Id: 31099783, Consumer Id: 2179888, Address Id: 9732567 => Updated with Vin: 5TDBT48A81S026901 ## Mail History Id: 31099643, Consumer Id: 2168831, Address Id: 464123 => Updated with Vin: JTEES42A782020268 ## Total mail_history records updated with vin numbers: 13 out of 27 ============================================================ ====== Tracking Id: 2169 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-03 20:16:50') AND us2_order_type_id = 3 ## Order found: 2273 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2273 AND product_id = 2150 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3503 ## Mailing found: '13478' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 2170 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-03 20:17:02') AND us2_order_type_id = 3 ## Order found: 2273 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2273 AND product_id = 2152 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2171 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-04 07:16:51') AND us2_order_type_id = 3 ## Order found: 2291 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2291 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3503 ## Mailing found: '13402,13913' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992611, Consumer Id: 2173094, Address Id: 9720833 => Updated with Vin: JTDBE32K520107350 ## Mail History Id: 30992330, Consumer Id: 2179351, Address Id: 9723604 => Updated with Vin: 2T1BR32E54C296315 ## Mail History Id: 30993817, Consumer Id: 2181619, Address Id: 9736027 => Updated with Vin: JTEBU17R558032695 ## Mail History Id: 30992270, Consumer Id: 2179962, Address Id: 9731569 => Updated with Vin: 4T1BA32KX4U503437 ## Mail History Id: 30993445, Consumer Id: 2166269, Address Id: 9719161 => Updated with Vin: 5TDZA23C06S569832 ## Mail History Id: 30992448, Consumer Id: 2167803, Address Id: 9735065 => Updated with Vin: 5TEUU42N27Z385397 ## Mail History Id: 30992226, Consumer Id: 2166172, Address Id: 9733092 => Updated with Vin: JTDBT923871073603 ## Mail History Id: 30993809, Consumer Id: 2174008, Address Id: 450281 => Updated with Vin: JTEBU14RX30008747 ## Mail History Id: 30992989, Consumer Id: 2173661, Address Id: 9721558 => Updated with Vin: 2T1BR12E1WC100667 ## Mail History Id: 30992153, Consumer Id: 2173841, Address Id: 9721731 => Updated with Vin: JT3HN86R2Y0273563 ## Mail History Id: 30992867, Consumer Id: 2161171, Address Id: 9726832 => Updated with Vin: JTEEP21A550077549 ## Total mail_history records updated with vin numbers: 11 out of 24 ============================================================ ====== Tracking Id: 2172 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-04 08:46:39') AND us2_order_type_id = 3 ## Order found: 2292 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2292 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3230 ## Mailing found: '13371' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998712, Consumer Id: 63950, Address Id: 48563 => Updated with Vin: 2FMZA57625BA20098 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 2173 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-04 09:19:31') AND us2_order_type_id = 3 ## Order found: 2293 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2293 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3470 ## Mailing found: '13376' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998518, Consumer Id: 583379, Address Id: 3488054 => Updated with Vin: 1D7HA18D95S210126 ## Mail History Id: 30998574, Consumer Id: 569661, Address Id: 4099885 => Updated with Vin: 1J8GS48K17C586392 ## Mail History Id: 30998630, Consumer Id: 573626, Address Id: 10693870 => Updated with Vin: 1J4GW58N1YC419795 ## Mail History Id: 30998636, Consumer Id: 573097, Address Id: 10695601 => Updated with Vin: 1C3LC65M98N179368 ## Mail History Id: 30998536, Consumer Id: 566182, Address Id: 10698316 => Updated with Vin: 1J8HH48N86C297862 ## Mail History Id: 30998666, Consumer Id: 560574, Address Id: 8264717 => Updated with Vin: 2C4GM68405R282618 ## Mail History Id: 30998514, Consumer Id: 561361, Address Id: 781276 => Updated with Vin: 3C4FY58BX5T532856 ## Mail History Id: 30998516, Consumer Id: 564154, Address Id: 10705340 => Updated with Vin: 2C4GP54LX5R542988 ## Mail History Id: 30998550, Consumer Id: 571598, Address Id: 10718867 => Updated with Vin: 1D4HD58D15F516404 ## Mail History Id: 30998556, Consumer Id: 567239, Address Id: 10710897 => Updated with Vin: 2B3KA43G36H511682 ## Mail History Id: 30998544, Consumer Id: 578034, Address Id: 7464712 => Updated with Vin: 1C3EL55R54N267973 ## Mail History Id: 30998634, Consumer Id: 577751, Address Id: 10728140 => Updated with Vin: 1J4GX48S63C536780 ## Mail History Id: 30998644, Consumer Id: 568467, Address Id: 10029017 => Updated with Vin: 3A4FY58B56T373157 ## Mail History Id: 30998654, Consumer Id: 568469, Address Id: 7355837 => Updated with Vin: 1J4GB391X7L131672 ## Mail History Id: 30998616, Consumer Id: 579716, Address Id: 10735083 => Updated with Vin: 1J4GS48K76C298361 ## Mail History Id: 30998582, Consumer Id: 570428, Address Id: 1344303 => Updated with Vin: 1J8FT28W07D285493 ## Mail History Id: 30998572, Consumer Id: 581953, Address Id: 10743074 => Updated with Vin: 1J4GK58K16W235597 ## Mail History Id: 30998560, Consumer Id: 571460, Address Id: 3402522 => Updated with Vin: 1D4GP45R15B313159 ## Mail History Id: 30998632, Consumer Id: 571597, Address Id: 5573857 => Updated with Vin: 1J8HH48K28C105828 ## Mail History Id: 30998608, Consumer Id: 582856, Address Id: 10744573 => Updated with Vin: 2A8GM78456R822254 ## Mail History Id: 30998498, Consumer Id: 583372, Address Id: 10745453 => Updated with Vin: 1D4HB58D04F166655 ## Mail History Id: 30998335, Consumer Id: 583373, Address Id: 10745454 => Updated with Vin: 3C8FY68844T224489 ## Mail History Id: 30998492, Consumer Id: 583374, Address Id: 10745455 => Updated with Vin: 1D4HD48NX6F123280 ## Total mail_history records updated with vin numbers: 23 out of 28 ============================================================ ====== Tracking Id: 2174 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-04 09:19:44') AND us2_order_type_id = 3 ## Order found: 2293 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2293 AND product_id = 114 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3470 ## Mailing found: '13376' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998604, Consumer Id: 580825, Address Id: 10740019 => Updated with Vin: 1B4HR38N72F139906 ## Mail History Id: 30998566, Consumer Id: 577219, Address Id: 5613070 => Updated with Vin: 1B8GP24362B732338 ## Mail History Id: 30998580, Consumer Id: 563435, Address Id: 10703590 => Updated with Vin: 2C8GP64L45R291311 ## Mail History Id: 30998578, Consumer Id: 563439, Address Id: 4129253 => Updated with Vin: 1J4GK38K85W689476 ## Mail History Id: 30998670, Consumer Id: 563437, Address Id: 4106816 => Updated with Vin: 1B3ES56C85D184023 ## Mail History Id: 30998664, Consumer Id: 563441, Address Id: 7012471 => Updated with Vin: 1J4FA49S65P386256 ## Mail History Id: 30998614, Consumer Id: 564192, Address Id: 9534843 => Updated with Vin: 2D4GP44L35R541260 ## Mail History Id: 30998584, Consumer Id: 574661, Address Id: 4903927 => Updated with Vin: 2C4GP54L75R208451 ## Mail History Id: 30998668, Consumer Id: 565649, Address Id: 7731646 => Updated with Vin: 1J8HH48K56C171268 ## Mail History Id: 30998546, Consumer Id: 575714, Address Id: 10719331 => Updated with Vin: 1J4GR48KX5C577197 ## Mail History Id: 30998626, Consumer Id: 571023, Address Id: 10717479 => Updated with Vin: 1J8FT47W77D223179 ## Mail History Id: 30998506, Consumer Id: 572573, Address Id: 7857330 => Updated with Vin: 3C3JY45X87T621059 ## Mail History Id: 30998540, Consumer Id: 582373, Address Id: 10743743 => Updated with Vin: 1J4GR48K76C140632 ## Mail History Id: 30998646, Consumer Id: 582378, Address Id: 1554226 => Updated with Vin: 2B3HD46RX4H689696 ## Mail History Id: 30998554, Consumer Id: 572754, Address Id: 10719309 => Updated with Vin: 1J4FA39S45P369241 ## Mail History Id: 30998658, Consumer Id: 583029, Address Id: 4175674 => Updated with Vin: 1D7HA18267S167706 ## Mail History Id: 30998594, Consumer Id: 583032, Address Id: 1546191 => Updated with Vin: 1C3EL75R74N188090 ## Mail History Id: 30998656, Consumer Id: 583035, Address Id: 10744634 => Updated with Vin: 2A4GM68456R822301 ## Mail History Id: 30998532, Consumer Id: 583036, Address Id: 10744635 => Updated with Vin: 1J4GK48K54W224397 ## Mail History Id: 30998510, Consumer Id: 572879, Address Id: 6507319 => Updated with Vin: 1J4GB391X8L544466 ## Total mail_history records updated with vin numbers: 20 out of 25 ============================================================ ====== Tracking Id: 2175 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-04 09:19:53') AND us2_order_type_id = 3 ## Order found: 2294 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2294 AND product_id = 142 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3768 ## Mailing found: '13406' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993172, Consumer Id: 1049749, Address Id: 14954279 => Updated with Vin: 1G6YV36A565602865 ## Mail History Id: 30993036, Consumer Id: 1111214, Address Id: 2778412 => Updated with Vin: 1G6DM56T250230296 ## Total mail_history records updated with vin numbers: 2 out of 5 ============================================================ ====== Tracking Id: 2176 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-04 09:19:56') AND us2_order_type_id = 3 ## Order found: 2293 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2293 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3470 ## Mailing found: '13376' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998592, Consumer Id: 909859, Address Id: 11940171 => Updated with Vin: 2A8HR54P68R736349 ## Mail History Id: 30998528, Consumer Id: 909857, Address Id: 11940169 => Updated with Vin: 1B3HB48B28D566998 ## Mail History Id: 30998648, Consumer Id: 921376, Address Id: 11957059 => Updated with Vin: JM3LW28A150535051 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2177 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-04 09:20:08') AND us2_order_type_id = 3 ## Order found: 2294 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2294 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3768 ## Mailing found: '13383' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998689, Consumer Id: 1108602, Address Id: 8826365 => Updated with Vin: 1G6KD54Y52U218654 ## Mail History Id: 30998759, Consumer Id: 1109046, Address Id: 5989915 => Updated with Vin: 1G6DP577070144190 ## Mail History Id: 30998785, Consumer Id: 1041958, Address Id: 14952188 => Updated with Vin: 1G6KE57Y63U206765 ## Mail History Id: 30998775, Consumer Id: 1108512, Address Id: 5992425 => Updated with Vin: 1G6KF5497XU799911 ## Mail History Id: 30998741, Consumer Id: 1112499, Address Id: 8827690 => Updated with Vin: 1G6DW677860182497 ## Mail History Id: 30998693, Consumer Id: 1116610, Address Id: 14984154 => Updated with Vin: 1G6KD57Y37U140913 ## Mail History Id: 30998715, Consumer Id: 1115366, Address Id: 14957998 => Updated with Vin: 1G6CD5330L4354914 ## Mail History Id: 30998665, Consumer Id: 1116620, Address Id: 6624777 => Updated with Vin: 1G6EL12Y5VU610534 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 2178 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-04 09:20:20') AND us2_order_type_id = 3 ## Order found: 2294 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2294 AND product_id = 114 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3768 ## Mailing found: '13383' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998727, Consumer Id: 1041879, Address Id: 8827181 => Updated with Vin: 1G6KF57922U168293 ## Mail History Id: 30998717, Consumer Id: 1044500, Address Id: 11666188 => Updated with Vin: 1G6KF5491XU735198 ## Mail History Id: 30998721, Consumer Id: 1046517, Address Id: 5984589 => Updated with Vin: 1G6DW677750149070 ## Mail History Id: 30998737, Consumer Id: 1116000, Address Id: 8827448 => Updated with Vin: 1GCEC14X13Z361473 ## Mail History Id: 30998675, Consumer Id: 1116007, Address Id: 11450297 => Updated with Vin: 1G6DN56S250162358 ## Mail History Id: 30998815, Consumer Id: 1112161, Address Id: 14982972 => Updated with Vin: 1G6DM57T760119694 ## Mail History Id: 30998681, Consumer Id: 1116008, Address Id: 14983943 => Updated with Vin: 1G6KF5494VU290663 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 2179 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-04 09:20:32') AND us2_order_type_id = 3 ## Order found: 2294 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2294 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3768 ## Mailing found: '13383' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998691, Consumer Id: 1108831, Address Id: 3239546 => Updated with Vin: 1G6KD57Y26U257218 ## Mail History Id: 30998942, Consumer Id: 1109506, Address Id: 14982627 => Updated with Vin: 1N4BA41E76C809936 ## Mail History Id: 30998663, Consumer Id: 1109553, Address Id: 11449523 => Updated with Vin: 1G6DF577880150484 ## Mail History Id: 30998683, Consumer Id: 1108234, Address Id: 3239081 => Updated with Vin: 1G6KY5291VU800206 ## Mail History Id: 30998767, Consumer Id: 1116331, Address Id: 14984039 => Updated with Vin: 1G6DW677250156623 ## Mail History Id: 30998735, Consumer Id: 1109885, Address Id: 5987388 => Updated with Vin: 1G6KD54Y8XU808354 ## Mail History Id: 30998739, Consumer Id: 1107786, Address Id: 8827579 => Updated with Vin: 1G6DM57N530102678 ## Mail History Id: 30998731, Consumer Id: 1111412, Address Id: 1075357 => Updated with Vin: 3GYEK63N43G124891 ## Mail History Id: 30998685, Consumer Id: 1044219, Address Id: 5979941 => Updated with Vin: 1G6EL12YX1B108477 ## Mail History Id: 30998773, Consumer Id: 1046877, Address Id: 1941895 => Updated with Vin: 1G6DP567350209046 ## Mail History Id: 30998765, Consumer Id: 1116199, Address Id: 14983980 => Updated with Vin: 1G6CD53B4P4211333 ## Mail History Id: 30998729, Consumer Id: 1116327, Address Id: 14984037 => Updated with Vin: W06VR54R2VR168373 ## Mail History Id: 30998779, Consumer Id: 1116323, Address Id: 1083069 => Updated with Vin: 2G4WY52M3X1465267 ## Mail History Id: 30998494, Consumer Id: 1116322, Address Id: 14984034 => Updated with Vin: JHMBB6247XC006729 ## Total mail_history records updated with vin numbers: 14 out of 15 ============================================================ ====== Tracking Id: 2180 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-04 10:16:54') AND us2_order_type_id = 3 ## Order found: 2295 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2295 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3846 ## Mailing found: '13410' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993155, Consumer Id: 1179578, Address Id: 15366430 => Updated with Vin: 4S3BH675537623230 ## Mail History Id: 30992176, Consumer Id: 1187166, Address Id: 15368539 => Updated with Vin: 4S4BP61C987363962 ## Mail History Id: 30992957, Consumer Id: 1182302, Address Id: 15369261 => Updated with Vin: JF1SG63613H717137 ## Mail History Id: 30992995, Consumer Id: 1182342, Address Id: 499610 => Updated with Vin: 2B4GT44L82R653280 ## Mail History Id: 30993153, Consumer Id: 1184527, Address Id: 15368583 => Updated with Vin: 4S4BP61C557318464 ## Mail History Id: 30992635, Consumer Id: 1179116, Address Id: 9725838 => Updated with Vin: JF1SG63636H705527 ## Mail History Id: 30992120, Consumer Id: 1178857, Address Id: 15367576 => Updated with Vin: 4S4BP61C567301603 ## Mail History Id: 30992085, Consumer Id: 1185690, Address Id: 15369557 => Updated with Vin: 4S3BH675546607424 ## Mail History Id: 30993201, Consumer Id: 1187162, Address Id: 15371475 => Updated with Vin: JF1GG65544G820344 ## Mail History Id: 30992116, Consumer Id: 1180665, Address Id: 15367439 => Updated with Vin: 4S3BG6855X7645672 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 2181 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-04 10:19:34') AND us2_order_type_id = 3 ## Order found: 2293 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2293 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3470 ## Mailing found: '13399' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993198, Consumer Id: 566895, Address Id: 10686437 => Updated with Vin: 1J8GL58K26W156645 ## Mail History Id: 30993210, Consumer Id: 557762, Address Id: 4905298 => Updated with Vin: 1D8HD48K54F100815 ## Mail History Id: 30993186, Consumer Id: 561190, Address Id: 10699150 => Updated with Vin: 1B7GL22X21S178333 ## Mail History Id: 30993190, Consumer Id: 581175, Address Id: 4120917 => Updated with Vin: 2B4GP34372R716772 ## Mail History Id: 30993182, Consumer Id: 564688, Address Id: 2332655 => Updated with Vin: 1A4GP45R06B563467 ## Mail History Id: 30993240, Consumer Id: 582679, Address Id: 10721484 => Updated with Vin: 2A4GP54LX7R136786 ## Mail History Id: 30993176, Consumer Id: 565664, Address Id: 10707193 => Updated with Vin: 2B3KA43G46H305156 ## Mail History Id: 30993202, Consumer Id: 1006540, Address Id: 10707518 => Updated with Vin: 3B7HC13Z8XG235536 ## Mail History Id: 30993178, Consumer Id: 569648, Address Id: 10716601 => Updated with Vin: 1J8HS58P77C501240 ## Mail History Id: 30993214, Consumer Id: 570597, Address Id: 10717268 => Updated with Vin: 1C3LC55R58N617504 ## Mail History Id: 30993194, Consumer Id: 570998, Address Id: 7465088 => Updated with Vin: 2B3KA43G27H818164 ## Mail History Id: 30993236, Consumer Id: 581232, Address Id: 10740816 => Updated with Vin: 3C4FY58B15T520191 ## Mail History Id: 30993184, Consumer Id: 1026739, Address Id: 10735207 => Updated with Vin: 1J8FT47098D706489 ## Total mail_history records updated with vin numbers: 13 out of 26 ============================================================ ====== Tracking Id: 2182 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-04 10:19:47') AND us2_order_type_id = 3 ## Order found: 2296 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2296 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3416 ## Mailing found: '13396' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993382, Consumer Id: 627158, Address Id: 11764744 => Updated with Vin: 1G6DM57N130124032 ## Mail History Id: 30993398, Consumer Id: 693305, Address Id: 6888061 => Updated with Vin: 1G6KD54Y05U135184 ## Mail History Id: 30993408, Consumer Id: 627173, Address Id: 1970034 => Updated with Vin: 1G6KD54YXYU337566 ## Mail History Id: 30993404, Consumer Id: 628682, Address Id: 11766258 => Updated with Vin: 1G6DW677450144716 ## Mail History Id: 30993380, Consumer Id: 692592, Address Id: 1960892 => Updated with Vin: 1G6KD57Y26U131912 ## Mail History Id: 30993374, Consumer Id: 689435, Address Id: 1958635 => Updated with Vin: 1G6KS54YX3U121926 ## Mail History Id: 30993402, Consumer Id: 686539, Address Id: 1969119 => Updated with Vin: 1G6DA67V680191425 ## Mail History Id: 30993394, Consumer Id: 625554, Address Id: 1968263 => Updated with Vin: 1G6KD54Y45U158645 ## Mail History Id: 30993378, Consumer Id: 1006632, Address Id: 1960606 => Updated with Vin: 1G6KD57Y57U173055 ## Mail History Id: 30993400, Consumer Id: 691755, Address Id: 11798097 => Updated with Vin: 1G1ZT54855F108039 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 2183 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-04 10:20:26') AND us2_order_type_id = 3 ## Order found: 2297 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2297 AND product_id = 2147 ## Job Group Found: '562' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('562') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408002') AND customer_id = 3418 ## Mailing found: '13413' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31003427, Consumer Id: 668299, Address Id: 11786547 => Updated with Vin: 1G6KD54Y62U282895 ## Mail History Id: 31003429, Consumer Id: 681141, Address Id: 11794660 => Updated with Vin: 1GNDT13S522262834 ## Mail History Id: 31003431, Consumer Id: 681243, Address Id: 11794720 => Updated with Vin: 1D4HB48246F175645 ## Mail History Id: 31003433, Consumer Id: 681212, Address Id: 11794698 => Updated with Vin: 3GYFK66N35G238366 ## Mail History Id: 31003435, Consumer Id: 681232, Address Id: 11794712 => Updated with Vin: 1G6KD57Y28U169532 ## Mail History Id: 31003437, Consumer Id: 681213, Address Id: 11794699 => Updated with Vin: 1G6DD67V280153097 ## Mail History Id: 31003439, Consumer Id: 669448, Address Id: 11787345 => Updated with Vin: 1G6DM57N830157576 ## Mail History Id: 31003441, Consumer Id: 669459, Address Id: 11787351 => Updated with Vin: 1G6KD54Y44U229051 ## Mail History Id: 31003443, Consumer Id: 630822, Address Id: 11771034 => Updated with Vin: 5GTDN136368294361 ## Mail History Id: 31003445, Consumer Id: 674135, Address Id: 11790419 => Updated with Vin: 1G6DM57T560103672 ## Mail History Id: 31003447, Consumer Id: 674106, Address Id: 11790398 => Updated with Vin: 1GYEE637450211660 ## Mail History Id: 31003449, Consumer Id: 676068, Address Id: 11790628 => Updated with Vin: 1G6KD57Y46U116358 ## Mail History Id: 31003451, Consumer Id: 678276, Address Id: 11792930 => Updated with Vin: 1G6DP577560139386 ## Mail History Id: 31003453, Consumer Id: 676081, Address Id: 11755486 => Updated with Vin: 1G6DW677160192272 ## Mail History Id: 31003455, Consumer Id: 676736, Address Id: 11792053 => Updated with Vin: 1G6DM57T560210222 ## Mail History Id: 31003457, Consumer Id: 676925, Address Id: 11792149 => Updated with Vin: 1G6DW677260217728 ## Mail History Id: 31003459, Consumer Id: 677672, Address Id: 11792570 => Updated with Vin: 1GYEE637460175549 ## Mail History Id: 31003461, Consumer Id: 677901, Address Id: 11785921 => Updated with Vin: 1G6DP577370116593 ## Mail History Id: 31003463, Consumer Id: 677402, Address Id: 11792422 => Updated with Vin: 1G6DW677270114925 ## Mail History Id: 31003465, Consumer Id: 677886, Address Id: 11792696 => Updated with Vin: 1G6DW677070125468 ## Mail History Id: 31003467, Consumer Id: 675273, Address Id: 10326248 => Updated with Vin: 1G6DW677860140511 ## Mail History Id: 31003469, Consumer Id: 674509, Address Id: 10323409 => Updated with Vin: 1G6DW677760128348 ## Total mail_history records updated with vin numbers: 22 out of 23 ============================================================ ====== Tracking Id: 2184 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-04 10:20:41') AND us2_order_type_id = 3 ## Order found: 2297 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2297 AND product_id = 2150 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3418 ## Mailing found: '13397' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993348, Consumer Id: 678082, Address Id: 11792813 => Updated with Vin: 1G6DM56T550178307 ## Mail History Id: 30993274, Consumer Id: 667717, Address Id: 11786136 => Updated with Vin: 1G6KY54922U290554 ## Mail History Id: 30993278, Consumer Id: 678632, Address Id: 6773500 => Updated with Vin: 1GYFK63827R313446 ## Mail History Id: 30993388, Consumer Id: 610561, Address Id: 11755269 => Updated with Vin: 1GYFK63818R158020 ## Mail History Id: 30993270, Consumer Id: 673095, Address Id: 11783138 => Updated with Vin: 1G6DM577440167282 ## Mail History Id: 30993266, Consumer Id: 610609, Address Id: 11755311 => Updated with Vin: 1G6DM577940107630 ## Mail History Id: 30993302, Consumer Id: 666310, Address Id: 10326878 => Updated with Vin: 1GYEK63N72R263072 ## Mail History Id: 30993324, Consumer Id: 680318, Address Id: 11792171 => Updated with Vin: 1G6DW677760218129 ## Mail History Id: 30993336, Consumer Id: 610699, Address Id: 11755385 => Updated with Vin: 1G6DT57V780157899 ## Mail History Id: 30993282, Consumer Id: 664286, Address Id: 11783588 => Updated with Vin: 1G6DM57N830107518 ## Mail History Id: 30993338, Consumer Id: 669893, Address Id: 8873844 => Updated with Vin: 1G6KD54Y94U236819 ## Total mail_history records updated with vin numbers: 11 out of 11 ============================================================ ====== Tracking Id: 2185 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-04 10:22:38') AND us2_order_type_id = 3 ## Order found: 2298 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2298 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3795 ## Mailing found: '13407' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30992830, Consumer Id: 1069023, Address Id: 3965171 => Updated with Vin: 5FNRL38646B422310 ## Mail History Id: 30992606, Consumer Id: 1053720, Address Id: 14955597 => Updated with Vin: 2HKRL1855YH520035 ## Mail History Id: 30992914, Consumer Id: 1052581, Address Id: 14955248 => Updated with Vin: JHMES96693S000182 ## Mail History Id: 30992622, Consumer Id: 1056566, Address Id: 14956428 => Updated with Vin: 1HGCM56466A034232 ## Mail History Id: 30992648, Consumer Id: 1056509, Address Id: 3022112 => Updated with Vin: 2HGFG21576H700955 ## Mail History Id: 30992902, Consumer Id: 1056655, Address Id: 3108414 => Updated with Vin: 1HGFA16546L052837 ## Mail History Id: 30992894, Consumer Id: 1056398, Address Id: 3105449 => Updated with Vin: 2HKRL1869YH579050 ## Mail History Id: 30993158, Consumer Id: 1058749, Address Id: 14957036 => Updated with Vin: 5J6YH28695L010851 ## Mail History Id: 30992664, Consumer Id: 1060451, Address Id: 3051985 => Updated with Vin: 1HGCP36898A049843 ## Mail History Id: 30992930, Consumer Id: 1068842, Address Id: 14957821 => Updated with Vin: JHMAP21474T005308 ## Mail History Id: 30992574, Consumer Id: 1059843, Address Id: 14956467 => Updated with Vin: 1B3BD36D7HC301353 ## Total mail_history records updated with vin numbers: 11 out of 13 ============================================================ ====== Tracking Id: 2186 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-04 10:22:50') AND us2_order_type_id = 3 ## Order found: 2298 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2298 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3795 ## Mailing found: '13384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998901, Consumer Id: 1068786, Address Id: 7685746 => Updated with Vin: 1HGCG564XXA162692 ## Mail History Id: 30998847, Consumer Id: 1068785, Address Id: 9207017 => Updated with Vin: 2HGEJ8544WH533651 ## Mail History Id: 30998885, Consumer Id: 1061338, Address Id: 6075940 => Updated with Vin: 1HGCG566X1A077120 ## Mail History Id: 30998889, Consumer Id: 1054463, Address Id: 8676161 => Updated with Vin: 1HGES26752L022966 ## Mail History Id: 30998897, Consumer Id: 1068415, Address Id: 11650706 => Updated with Vin: 5FNYF18446B023306 ## Mail History Id: 30998933, Consumer Id: 1053183, Address Id: 14955427 => Updated with Vin: 5FNRL180X3B136456 ## Mail History Id: 30999005, Consumer Id: 1056672, Address Id: 12055832 => Updated with Vin: 1HGCM56366A081879 ## Mail History Id: 30999021, Consumer Id: 1058573, Address Id: 5158019 => Updated with Vin: 1HGCM56867A136960 ## Mail History Id: 30998999, Consumer Id: 1068781, Address Id: 5359467 => Updated with Vin: 1FAFP53U8XA140406 ## Total mail_history records updated with vin numbers: 9 out of 12 ============================================================ ====== Tracking Id: 2187 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-04 10:23:02') AND us2_order_type_id = 3 ## Order found: 2298 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2298 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3795 ## Mailing found: '13384' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998911, Consumer Id: 1068669, Address Id: 14961366 => Updated with Vin: 3G5DA03E13S577694 ## Mail History Id: 30998971, Consumer Id: 1068667, Address Id: 181650 => Updated with Vin: JH4CL96897C020275 ## Mail History Id: 30998945, Consumer Id: 1056676, Address Id: 7559788 => Updated with Vin: 1HGCM66575A007974 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 2188 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-04 10:23:05') AND us2_order_type_id = 3 ## Order found: 2299 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2299 AND product_id = 142 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3697 ## Mailing found: '13403' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993070, Consumer Id: 1044603, Address Id: 14952876 => Updated with Vin: 1GYEK63N06R116081 ## Mail History Id: 30993056, Consumer Id: 1048632, Address Id: 3432494 => Updated with Vin: 1G6KF57941U238116 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 2189 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-04 10:23:15') AND us2_order_type_id = 3 ## Order found: 2299 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2299 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3697 ## Mailing found: '13381' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998651, Consumer Id: 1045062, Address Id: 14953022 => Updated with Vin: 1G6KE54Y74U236993 ## Mail History Id: 30998707, Consumer Id: 1045584, Address Id: 12192570 => Updated with Vin: 1G6DP57V680111503 ## Mail History Id: 30998723, Consumer Id: 1042016, Address Id: 14952201 => Updated with Vin: 1G6DM57N930106586 ## Mail History Id: 30998701, Consumer Id: 1042492, Address Id: 14952305 => Updated with Vin: 1G6KD54Y23U265920 ## Mail History Id: 30998703, Consumer Id: 1046383, Address Id: 14953401 => Updated with Vin: 1G6KD54Y55U182646 ## Mail History Id: 30998797, Consumer Id: 1051630, Address Id: 14954842 => Updated with Vin: 1G6DP577460136625 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 2190 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-04 10:23:27') AND us2_order_type_id = 3 ## Order found: 2299 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2299 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3697 ## Mailing found: '13381' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998751, Consumer Id: 1045177, Address Id: 5989252 => Updated with Vin: 1G6KS52Y3VU844586 ## Mail History Id: 30998795, Consumer Id: 1041535, Address Id: 14952108 => Updated with Vin: 1G6DM57N730162851 ## Mail History Id: 30998781, Consumer Id: 1042227, Address Id: 5993055 => Updated with Vin: 3GYEK63N83G306027 ## Mail History Id: 30998659, Consumer Id: 1046955, Address Id: 2775260 => Updated with Vin: 1G6DW677250208977 ## Mail History Id: 30998697, Consumer Id: 1043743, Address Id: 14952622 => Updated with Vin: 1G6KD54Y84U226282 ## Mail History Id: 30998783, Consumer Id: 1048337, Address Id: 14797836 => Updated with Vin: 1GYEE637860157975 ## Mail History Id: 30998755, Consumer Id: 1044999, Address Id: 5990187 => Updated with Vin: 1G6KD54Y54U256694 ## Mail History Id: 30998793, Consumer Id: 1044042, Address Id: 12190284 => Updated with Vin: 1GYEE637560163930 ## Total mail_history records updated with vin numbers: 8 out of 9 ============================================================ ====== Tracking Id: 2191 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-04 10:25:07') AND us2_order_type_id = 3 ## Order found: 2300 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2300 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3815 ## Mailing found: '13409' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993038, Consumer Id: 1369020, Address Id: 15635618 => Updated with Vin: 1HGCF86662A102861 ## Mail History Id: 30993144, Consumer Id: 1366378, Address Id: 15633322 => Updated with Vin: 5FNRL38487B106361 ## Mail History Id: 30993122, Consumer Id: 1359568, Address Id: 15632248 => Updated with Vin: 1HGCG56642A007372 ## Mail History Id: 30993146, Consumer Id: 1364957, Address Id: 15636234 => Updated with Vin: 5J6YH28664L002348 ## Mail History Id: 30993102, Consumer Id: 1360744, Address Id: 2572660 => Updated with Vin: 1HGCM566X3A066761 ## Mail History Id: 30993156, Consumer Id: 1361437, Address Id: 15633632 => Updated with Vin: 1HGCM56465A090380 ## Mail History Id: 30993156, Consumer Id: 1364644, Address Id: 15633632 => Updated with Vin: 1HGCM72726A017066 ## Mail History Id: 30993100, Consumer Id: 1362893, Address Id: 2572208 => Updated with Vin: 5FNRL38786B014563 ## Mail History Id: 30993042, Consumer Id: 1365790, Address Id: 15638732 => Updated with Vin: 1HGFA16866L001544 ## Mail History Id: 30993152, Consumer Id: 1361316, Address Id: 15633544 => Updated with Vin: 5FNRL38695B405419 ## Mail History Id: 30993094, Consumer Id: 1367354, Address Id: 15640024 => Updated with Vin: 5FNRL38695B405419 ## Mail History Id: 30993082, Consumer Id: 1367212, Address Id: 15638264 => Updated with Vin: 1HGCM72673A007927 ## Total mail_history records updated with vin numbers: 12 out of 16 ============================================================ ====== Tracking Id: 2192 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-04 10:25:13') AND us2_order_type_id = 3 ## Order found: 2300 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2300 AND product_id = 2150 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3815 ## Mailing found: '13409' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993116, Consumer Id: 1369332, Address Id: 15636149 => Updated with Vin: 2HGEJ6627WH506221 ## Mail History Id: 30993052, Consumer Id: 1367186, Address Id: 15638400 => Updated with Vin: JHMCP26418C020071 ## Mail History Id: 30993104, Consumer Id: 1368662, Address Id: 3453748 => Updated with Vin: SHSRD78493U144401 ## Mail History Id: 30993124, Consumer Id: 1361439, Address Id: 15633634 => Updated with Vin: 5FNYF18685B027651 ## Mail History Id: 30993112, Consumer Id: 1379394, Address Id: 15671858 => Updated with Vin: 1HGFA16507L025961 ## Mail History Id: 30993136, Consumer Id: 1365640, Address Id: 15638641 => Updated with Vin: 5FNRL38437B059434 ## Mail History Id: 30993092, Consumer Id: 1379032, Address Id: 15671705 => Updated with Vin: 1HGEM22981L098696 ## Mail History Id: 30993108, Consumer Id: 1379391, Address Id: 15671855 => Updated with Vin: 19UYA3257XL004793 ## Mail History Id: 30993074, Consumer Id: 1379403, Address Id: 15671866 => Updated with Vin: 1HGES16591L030219 ## Total mail_history records updated with vin numbers: 9 out of 11 ============================================================ ====== Tracking Id: 2193 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-04 10:25:25') AND us2_order_type_id = 3 ## Order found: 2300 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2300 AND product_id = 2147 ## Job Group Found: '562' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('562') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408002') AND customer_id = 3815 ## Mailing found: '13416' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31003370, Consumer Id: 1376753, Address Id: 6164627 => Updated with Vin: 1HGCD5537VA099436 ## Mail History Id: 31003372, Consumer Id: 1379614, Address Id: 15671985 => Updated with Vin: 1HGCG56792A143196 ## Mail History Id: 31003374, Consumer Id: 1360376, Address Id: 15632871 => Updated with Vin: 1HGCM56424A138763 ## Mail History Id: 31003376, Consumer Id: 1360582, Address Id: 15633022 => Updated with Vin: 1HGCM56884A120867 ## Mail History Id: 31003378, Consumer Id: 1364546, Address Id: 11360637 => Updated with Vin: 1HGCM566X3A027541 ## Mail History Id: 31003380, Consumer Id: 1373157, Address Id: 15669462 => Updated with Vin: JH4DC4454XS002255 ## Mail History Id: 31003382, Consumer Id: 1362621, Address Id: 15635158 => Updated with Vin: JHLRD78826C002387 ## Mail History Id: 31003384, Consumer Id: 1379574, Address Id: 15635227 => Updated with Vin: 5J6YH28746L005633 ## Mail History Id: 31003386, Consumer Id: 1363255, Address Id: 15635980 => Updated with Vin: 2HKRL18611H530950 ## Mail History Id: 31003388, Consumer Id: 1363385, Address Id: 15636378 => Updated with Vin: 5J6YH28563L003652 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 2194 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-04 10:25:37') AND us2_order_type_id = 3 ## Order found: 2300 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2300 AND product_id = 2152 ## Job Group Found: '566' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('566') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408006') AND customer_id = 3815 ## Mailing found: '13369' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30999332, Consumer Id: 1362500, Address Id: 6161933 => Updated with Vin: 1HGFA15576L005352 ## Mail History Id: 30999334, Consumer Id: 1377790, Address Id: 15671030 => Updated with Vin: 2HGFG12856H533997 ## Mail History Id: 30999336, Consumer Id: 1364162, Address Id: 15637121 => Updated with Vin: 2HGFG12896H572866 ## Mail History Id: 30999338, Consumer Id: 1362285, Address Id: 15634446 => Updated with Vin: JHMES96605S022476 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2195 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-04 10:46:18') AND us2_order_type_id = 3 ## Order found: 2292 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2292 AND product_id = 140 ## Job Group Found: '566' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('566') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408006') AND customer_id = 3230 ## Mailing found: '13366' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2196 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-04 11:16:36') AND us2_order_type_id = 3 ## Order found: 2301 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2301 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3486 ## Mailing found: '13378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998380, Consumer Id: 478402, Address Id: 1560415 => Updated with Vin: 3GNEK13T82G214333 ## Mail History Id: 30998374, Consumer Id: 475675, Address Id: 5419834 => Updated with Vin: 1GCGC13U62F180045 ## Mail History Id: 30998366, Consumer Id: 476541, Address Id: 1558356 => Updated with Vin: 1GCEC14V52Z339358 ## Mail History Id: 30998386, Consumer Id: 475686, Address Id: 1035430 => Updated with Vin: 1GNEK13T41J217193 ## Mail History Id: 30998430, Consumer Id: 480726, Address Id: 1567395 => Updated with Vin: 1GTEC19T7YZ343606 ## Mail History Id: 30998412, Consumer Id: 490345, Address Id: 1563891 => Updated with Vin: 1GBEC19R3XR136766 ## Mail History Id: 30998408, Consumer Id: 476474, Address Id: 1037085 => Updated with Vin: 1GNEC13V64J130043 ## Mail History Id: 30998394, Consumer Id: 465525, Address Id: 5424398 => Updated with Vin: KL1TD62654B253824 ## Mail History Id: 30998468, Consumer Id: 480777, Address Id: 1570097 => Updated with Vin: 1GTCS19W128121161 ## Mail History Id: 30998458, Consumer Id: 466844, Address Id: 1344104 => Updated with Vin: 1GNEC16Z35J260927 ## Mail History Id: 30998460, Consumer Id: 485366, Address Id: 4378208 => Updated with Vin: 1GNDT13S352203155 ## Mail History Id: 30998456, Consumer Id: 467703, Address Id: 4378042 => Updated with Vin: 1GNEC13T95R103260 ## Mail History Id: 30998464, Consumer Id: 469124, Address Id: 9822367 => Updated with Vin: 2CNDL13F856151144 ## Mail History Id: 30998362, Consumer Id: 469478, Address Id: 625890 => Updated with Vin: 1G1YY26U775128839 ## Mail History Id: 30998440, Consumer Id: 485558, Address Id: 3050110 => Updated with Vin: 1G1ZS58F57F119976 ## Mail History Id: 30998368, Consumer Id: 485945, Address Id: 9825727 => Updated with Vin: 2GCEK19T441240875 ## Mail History Id: 30998364, Consumer Id: 524363, Address Id: 9854801 => Updated with Vin: 3GCEC14X86G269975 ## Mail History Id: 30998420, Consumer Id: 524336, Address Id: 1038250 => Updated with Vin: 3GNFK16Z84G235366 ## Mail History Id: 30998372, Consumer Id: 471265, Address Id: 9823539 => Updated with Vin: 1GNFC13008J200084 ## Mail History Id: 30998466, Consumer Id: 471250, Address Id: 9823530 => Updated with Vin: 1G6DW677050226684 ## Mail History Id: 30998490, Consumer Id: 524364, Address Id: 9562016 => Updated with Vin: 1GCJK33D97F180455 ## Mail History Id: 30998470, Consumer Id: 524361, Address Id: 4862949 => Updated with Vin: 1GNFK13037R350869 ## Mail History Id: 30998436, Consumer Id: 489444, Address Id: 3854443 => Updated with Vin: 1GGCS199278703754 ## Mail History Id: 30998404, Consumer Id: 477317, Address Id: 1562700 => Updated with Vin: 1GNDV23L65D165367 ## Total mail_history records updated with vin numbers: 24 out of 28 ============================================================ ====== Tracking Id: 2197 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-04 11:16:48') AND us2_order_type_id = 3 ## Order found: 2301 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2301 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3486 ## Mailing found: '13378' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998442, Consumer Id: 477277, Address Id: 4377639 => Updated with Vin: 1GNEC13R6XJ454598 ## Mail History Id: 30998446, Consumer Id: 486238, Address Id: 1568229 => Updated with Vin: 3GNDA13D56S512378 ## Mail History Id: 30998484, Consumer Id: 490415, Address Id: 1573107 => Updated with Vin: 1GNES13H272109346 ## Mail History Id: 30998396, Consumer Id: 469841, Address Id: 1036367 => Updated with Vin: 3GNEC12077G204243 ## Mail History Id: 30998450, Consumer Id: 471128, Address Id: 9823461 => Updated with Vin: 3GNEC12J08G151198 ## Mail History Id: 30998478, Consumer Id: 470893, Address Id: 9823343 => Updated with Vin: 3GNFK12337G135343 ## Mail History Id: 30998384, Consumer Id: 471102, Address Id: 5824040 => Updated with Vin: 1GNFC13C48J105232 ## Mail History Id: 30998486, Consumer Id: 490445, Address Id: 9826545 => Updated with Vin: 1GNDS13S332201812 ## Mail History Id: 30998434, Consumer Id: 490443, Address Id: 9826544 => Updated with Vin: 1G4CW54K624152151 ## Mail History Id: 30998416, Consumer Id: 490444, Address Id: 5369114 => Updated with Vin: 1GCEC14W21Z252962 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 2198 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-04 11:17:22') AND us2_order_type_id = 3 ## Order found: 2296 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2296 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3416 ## Mailing found: '13373' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998684, Consumer Id: 625976, Address Id: 8330060 => Updated with Vin: 2G1WC58R279237390 ## Mail History Id: 30998690, Consumer Id: 690937, Address Id: 4772400 => Updated with Vin: 1G6KD57Y76U219385 ## Mail History Id: 30998696, Consumer Id: 682979, Address Id: 10934149 => Updated with Vin: 1G6KD54Y22U280450 ## Mail History Id: 30998700, Consumer Id: 681374, Address Id: 11794771 => Updated with Vin: 1G6KS54Y2WU932561 ## Mail History Id: 30998704, Consumer Id: 682749, Address Id: 1968769 => Updated with Vin: 1G6KE54Y8WU797559 ## Mail History Id: 30998708, Consumer Id: 681730, Address Id: 11794888 => Updated with Vin: 1G6KD54Y0YU190738 ## Mail History Id: 30998692, Consumer Id: 691709, Address Id: 4772491 => Updated with Vin: 1GYFK63827R281873 ## Total mail_history records updated with vin numbers: 7 out of 9 ============================================================ ====== Tracking Id: 2199 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-04 11:17:29') AND us2_order_type_id = 3 ## Order found: 2302 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2302 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3491 ## Mailing found: '13401' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993518, Consumer Id: 809264, Address Id: 1297822 => Updated with Vin: 3G7DA03E73S537854 ## Mail History Id: 30993510, Consumer Id: 811743, Address Id: 11875711 => Updated with Vin: 2G1WB58K979174603 ## Mail History Id: 30993582, Consumer Id: 1026850, Address Id: 11894834 => Updated with Vin: 1GNEC13T51R211322 ## Mail History Id: 30993532, Consumer Id: 813704, Address Id: 11875021 => Updated with Vin: 1GCEC14X47Z621418 ## Mail History Id: 30993570, Consumer Id: 814014, Address Id: 11888743 => Updated with Vin: 1GCEC14X67Z646501 ## Mail History Id: 30993534, Consumer Id: 1027242, Address Id: 11888851 => Updated with Vin: 1D7HA16K05J627920 ## Mail History Id: 30993534, Consumer Id: 814181, Address Id: 11888851 => Updated with Vin: 3GNEC12Z56G197645 ## Mail History Id: 30993534, Consumer Id: 1028046, Address Id: 11888851 => Updated with Vin: KL1TD56628B279632 ## Mail History Id: 30993528, Consumer Id: 815584, Address Id: 11890342 => Updated with Vin: 3GNEC12J38G163281 ## Mail History Id: 30993580, Consumer Id: 760576, Address Id: 11851097 => Updated with Vin: 1GCEC14X65Z258245 ## Mail History Id: 30993576, Consumer Id: 1181823, Address Id: 15390636 => Updated with Vin: 1G1AL58F887321846 ## Mail History Id: 30993572, Consumer Id: 1126139, Address Id: 14991873 => Updated with Vin: 1A4GP45R96B613038 ## Mail History Id: 30993506, Consumer Id: 1126444, Address Id: 14991882 => Updated with Vin: 1G1ZH57B88F220699 ## Mail History Id: 30993530, Consumer Id: 825300, Address Id: 11880591 => Updated with Vin: 1GCEC14W8VZ242801 ## Mail History Id: 30993542, Consumer Id: 814392, Address Id: 11888986 => Updated with Vin: 1G4HD57286U135204 ## Mail History Id: 30993558, Consumer Id: 825967, Address Id: 11880822 => Updated with Vin: 1GNDX03E01D242809 ## Mail History Id: 30993540, Consumer Id: 834313, Address Id: 11875391 => Updated with Vin: 1G1JC52F747278622 ## Total mail_history records updated with vin numbers: 17 out of 22 ============================================================ ====== Tracking Id: 2200 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-04 11:17:34') AND us2_order_type_id = 3 ## Order found: 2296 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2296 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3416 ## Mailing found: '13373' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998694, Consumer Id: 682985, Address Id: 1965149 => Updated with Vin: 1G6KF57911U137356 ## Mail History Id: 30998682, Consumer Id: 681931, Address Id: 11794946 => Updated with Vin: 1G6KY5294TU822522 ## Mail History Id: 30998706, Consumer Id: 625503, Address Id: 11765993 => Updated with Vin: 1G6DP577X70168495 ## Mail History Id: 30998686, Consumer Id: 686348, Address Id: 1963525 => Updated with Vin: 1G6KD54Y634112330 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2201 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-04 11:17:47') AND us2_order_type_id = 3 ## Order found: 2302 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2302 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3491 ## Mailing found: '13379' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998856, Consumer Id: 812103, Address Id: 11886924 => Updated with Vin: 2G1WT58K969222371 ## Mail History Id: 30998808, Consumer Id: 812928, Address Id: 11887517 => Updated with Vin: 2G1WD58C179120800 ## Mail History Id: 30998862, Consumer Id: 840030, Address Id: 11895618 => Updated with Vin: 2G1WB58K979358522 ## Mail History Id: 30998832, Consumer Id: 840032, Address Id: 11895619 => Updated with Vin: 2CNDL13F756190081 ## Mail History Id: 30998816, Consumer Id: 816104, Address Id: 11891276 => Updated with Vin: 1J4HR48N25C715121 ## Mail History Id: 30998818, Consumer Id: 836100, Address Id: 11893332 => Updated with Vin: 1GCEC14X34Z159106 ## Mail History Id: 30998836, Consumer Id: 816105, Address Id: 11874700 => Updated with Vin: 1G3NL12T6YC311890 ## Mail History Id: 30998870, Consumer Id: 827247, Address Id: 11881849 => Updated with Vin: 1GNEC16R6WJ303660 ## Mail History Id: 30998806, Consumer Id: 834458, Address Id: 11880443 => Updated with Vin: 1GCEC14X65Z277183 ## Mail History Id: 30998812, Consumer Id: 835366, Address Id: 11890718 => Updated with Vin: 1GNDS13S352305087 ## Mail History Id: 30998842, Consumer Id: 835714, Address Id: 11891593 => Updated with Vin: 1G8JU54F42Y535092 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 2202 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-04 11:17:59') AND us2_order_type_id = 3 ## Order found: 2302 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2302 AND product_id = 114 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3491 ## Mailing found: '13379' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998874, Consumer Id: 813954, Address Id: 11888393 => Updated with Vin: 5NPEU46F96H065521 ## Mail History Id: 30998828, Consumer Id: 813487, Address Id: 11875000 => Updated with Vin: 1GCHC29K87E517487 ## Mail History Id: 30998876, Consumer Id: 814012, Address Id: 11888742 => Updated with Vin: 1FAFP56U47A129950 ## Mail History Id: 30998840, Consumer Id: 814020, Address Id: 11875455 => Updated with Vin: 1GCEC14W72Z120992 ## Mail History Id: 30998880, Consumer Id: 814277, Address Id: 11888916 => Updated with Vin: KL1TD56607B174179 ## Mail History Id: 30998852, Consumer Id: 839516, Address Id: 11895276 => Updated with Vin: 1Y1SK5262SZ054508 ## Mail History Id: 30998860, Consumer Id: 839615, Address Id: 11895359 => Updated with Vin: 1GBGG39K5SF193623 ## Mail History Id: 30998850, Consumer Id: 839622, Address Id: 11895363 => Updated with Vin: 2G1WH55K4Y9383641 ## Mail History Id: 30998866, Consumer Id: 815287, Address Id: 11879185 => Updated with Vin: 1GNDT13W6W2297293 ## Mail History Id: 30998838, Consumer Id: 809076, Address Id: 11874725 => Updated with Vin: 1GNET16S356169307 ## Total mail_history records updated with vin numbers: 10 out of 12 ============================================================ ====== Tracking Id: 2203 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-04 11:18:11') AND us2_order_type_id = 3 ## Order found: 2302 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2302 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3491 ## Mailing found: '13379' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2204 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-04 11:19:01') AND us2_order_type_id = 3 ## Order found: 2303 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2303 AND product_id = 144 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3705 ## Mailing found: '13404' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993628, Consumer Id: 965389, Address Id: 14837711 => Updated with Vin: 2G1WB58K369254980 ## Mail History Id: 30993660, Consumer Id: 965803, Address Id: 14838005 => Updated with Vin: 1GKFC13087R140956 ## Mail History Id: 30993666, Consumer Id: 966315, Address Id: 14836214 => Updated with Vin: 1G4HR54K62U247547 ## Mail History Id: 30993598, Consumer Id: 962705, Address Id: 14835553 => Updated with Vin: 2GCEC13T561104165 ## Mail History Id: 30993624, Consumer Id: 963911, Address Id: 10447452 => Updated with Vin: 2CNDL23F866031710 ## Mail History Id: 30993616, Consumer Id: 965586, Address Id: 14837844 => Updated with Vin: 1GCHK29U96E283766 ## Mail History Id: 30993670, Consumer Id: 968326, Address Id: 14839890 => Updated with Vin: 1GKFC13JX7J147771 ## Mail History Id: 30993590, Consumer Id: 969941, Address Id: 14841066 => Updated with Vin: 1G1ZT58F77F136310 ## Mail History Id: 30993626, Consumer Id: 971049, Address Id: 14841878 => Updated with Vin: 1GCHK23688F150360 ## Mail History Id: 30993620, Consumer Id: 971972, Address Id: 14842526 => Updated with Vin: 2G1WC58R979180623 ## Mail History Id: 30993650, Consumer Id: 972713, Address Id: 14843103 => Updated with Vin: 1G2ZM587674133461 ## Mail History Id: 30993586, Consumer Id: 1027261, Address Id: 14941167 => Updated with Vin: 1G8ZS57N77F184032 ## Mail History Id: 30993654, Consumer Id: 980321, Address Id: 14844042 => Updated with Vin: 1GCHK23618F180820 ## Mail History Id: 30993632, Consumer Id: 960833, Address Id: 12056089 => Updated with Vin: 1G4HP54K4YU270095 ## Mail History Id: 30993592, Consumer Id: 973530, Address Id: 14839259 => Updated with Vin: 1GYEC63T54R216928 ## Mail History Id: 30993612, Consumer Id: 974878, Address Id: 14843466 => Updated with Vin: 1G6KD54Y6VU247780 ## Mail History Id: 30993642, Consumer Id: 975378, Address Id: 14843792 => Updated with Vin: 1G1AZ52F257598446 ## Mail History Id: 30993602, Consumer Id: 979772, Address Id: 14846281 => Updated with Vin: 1G4HP52KX44114804 ## Total mail_history records updated with vin numbers: 18 out of 24 ============================================================ ====== Tracking Id: 2205 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-04 11:19:13') AND us2_order_type_id = 3 ## Order found: 2303 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2303 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3705 ## Mailing found: '13382' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998896, Consumer Id: 973444, Address Id: 14838533 => Updated with Vin: 1GKEC13Z64R262138 ## Mail History Id: 30998888, Consumer Id: 968943, Address Id: 14840322 => Updated with Vin: 1GTEC14XX7Z636389 ## Mail History Id: 30998894, Consumer Id: 972139, Address Id: 14842648 => Updated with Vin: 3GNFK16Z55G268343 ## Mail History Id: 30998884, Consumer Id: 972141, Address Id: 14842650 => Updated with Vin: 1GCHC23U52F246529 ## Mail History Id: 30998892, Consumer Id: 980266, Address Id: 11389049 => Updated with Vin: 1GTEC14X23Z269238 ## Mail History Id: 30998886, Consumer Id: 980449, Address Id: 14846667 => Updated with Vin: 2G1WJ15K179265624 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 2206 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-04 11:19:25') AND us2_order_type_id = 3 ## Order found: 2303 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2303 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2207 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-04 11:19:54') AND us2_order_type_id = 3 ## Order found: 2304 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2304 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3808 ## Mailing found: '13408' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993474, Consumer Id: 1172588, Address Id: 15030590 => Updated with Vin: 1GBJG31U741238645 ## Mail History Id: 30993488, Consumer Id: 1172586, Address Id: 15030588 => Updated with Vin: 1GCEK19B56Z179165 ## Mail History Id: 30993502, Consumer Id: 1171091, Address Id: 15029311 => Updated with Vin: 3GNEC12J27G136460 ## Mail History Id: 30993486, Consumer Id: 1172589, Address Id: 15029256 => Updated with Vin: 1GCHK23235F969446 ## Mail History Id: 30993492, Consumer Id: 1172568, Address Id: 15030573 => Updated with Vin: 2CNDL13F386016836 ## Mail History Id: 30993500, Consumer Id: 1172546, Address Id: 15030557 => Updated with Vin: 1G3GR62C9X4110255 ## Mail History Id: 30993496, Consumer Id: 1172506, Address Id: 15030522 => Updated with Vin: 1GCEC14W2YZ228011 ## Total mail_history records updated with vin numbers: 7 out of 11 ============================================================ ====== Tracking Id: 2208 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-04 11:19:57') AND us2_order_type_id = 3 ## Order found: 2304 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2304 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3808 ## Mailing found: '13385' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998728, Consumer Id: 1266282, Address Id: 15437796 => Updated with Vin: 3GNEC12Z25G272901 ## Mail History Id: 30998788, Consumer Id: 1266427, Address Id: 15437909 => Updated with Vin: 1GCEC19V94E383186 ## Mail History Id: 30998760, Consumer Id: 1266307, Address Id: 15029761 => Updated with Vin: 1GNFC13068R156271 ## Mail History Id: 30998738, Consumer Id: 1266486, Address Id: 15437961 => Updated with Vin: JTMZK31V475005695 ## Mail History Id: 30998786, Consumer Id: 1266294, Address Id: 15437806 => Updated with Vin: 1G3NL52T71C222990 ## Mail History Id: 30998746, Consumer Id: 1266301, Address Id: 15437812 => Updated with Vin: 2G1WH52K139188626 ## Mail History Id: 30998756, Consumer Id: 1266187, Address Id: 15437725 => Updated with Vin: 2G1WC581269305227 ## Mail History Id: 30998748, Consumer Id: 1266433, Address Id: 15437913 => Updated with Vin: 1G2WP5218VF342880 ## Mail History Id: 30998766, Consumer Id: 1265774, Address Id: 15437366 => Updated with Vin: 2G1FP22GX12104113 ## Mail History Id: 30998782, Consumer Id: 1266360, Address Id: 15437856 => Updated with Vin: 5B4MP67G743389524 ## Total mail_history records updated with vin numbers: 10 out of 12 ============================================================ ====== Tracking Id: 2209 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-04 11:20:09') AND us2_order_type_id = 3 ## Order found: 2304 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2304 AND product_id = 114 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3808 ## Mailing found: '13385' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998716, Consumer Id: 1268806, Address Id: 11566081 => Updated with Vin: 1GCGK13U23F248281 ## Mail History Id: 30998798, Consumer Id: 1287448, Address Id: 15464647 => Updated with Vin: 2GCEK13M371665848 ## Mail History Id: 30998734, Consumer Id: 1287570, Address Id: 15462024 => Updated with Vin: 1GCHK23153F102179 ## Mail History Id: 30998740, Consumer Id: 1285635, Address Id: 15463369 => Updated with Vin: 1GCEC14V32Z338953 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 2210 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-04 11:20:21') AND us2_order_type_id = 3 ## Order found: 2304 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2304 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3808 ## Mailing found: '13385' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998762, Consumer Id: 1171469, Address Id: 15029652 => Updated with Vin: 1G4HP52K3WH487937 ## Mail History Id: 30998776, Consumer Id: 1171536, Address Id: 15029710 => Updated with Vin: 3G1JC5245WS836731 ## Mail History Id: 30998794, Consumer Id: 1171552, Address Id: 15029724 => Updated with Vin: 2GCEC19T111123439 ## Mail History Id: 30998724, Consumer Id: 1171624, Address Id: 11565842 => Updated with Vin: 2GCEK13T661169027 ## Mail History Id: 30998732, Consumer Id: 1171546, Address Id: 15029719 => Updated with Vin: 1GNDS13S252340090 ## Mail History Id: 30998750, Consumer Id: 1171457, Address Id: 15029640 => Updated with Vin: 2G1WF55E619238896 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 2211 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-04 11:46:28') AND us2_order_type_id = 3 ## Order found: 2305 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2305 AND product_id = 142 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3357 ## Mailing found: '13395' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993810, Consumer Id: 151548, Address Id: 393941 => Updated with Vin: 1FAFP24175G149532 ## Mail History Id: 30993800, Consumer Id: 151588, Address Id: 393979 => Updated with Vin: 2FAFP73WX5X114522 ## Mail History Id: 30993802, Consumer Id: 631039, Address Id: 874645 => Updated with Vin: 1LNHM87A95Y633623 ## Mail History Id: 30993822, Consumer Id: 155926, Address Id: 397942 => Updated with Vin: 1ZVHT80N585171679 ## Mail History Id: 30993798, Consumer Id: 1028244, Address Id: 400358 => Updated with Vin: 1FMDK02W28GA22772 ## Mail History Id: 30993796, Consumer Id: 155226, Address Id: 397300 => Updated with Vin: 4M2CU29H88KJ23397 ## Mail History Id: 30993820, Consumer Id: 194766, Address Id: 404352 => Updated with Vin: 1LNFM91V2WY604281 ## Mail History Id: 30993820, Consumer Id: 194766, Address Id: 404352 => Updated with Vin: 1LNFM91V2WY604281 ## Mail History Id: 30993812, Consumer Id: 194737, Address Id: 404166 => Updated with Vin: JM3LW28G0Y0161363 ## Mail History Id: 30993818, Consumer Id: 1027156, Address Id: 14940940 => Updated with Vin: 1FTYR14X8YPB65562 ## Total mail_history records updated with vin numbers: 10 out of 13 ============================================================ ====== Tracking Id: 2212 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-04 11:46:32') AND us2_order_type_id = 3 ## Order found: 2305 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2305 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3357 ## Mailing found: '13372' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998990, Consumer Id: 187534, Address Id: 398399 => Updated with Vin: 1FMDU34X8SZB36739 ## Mail History Id: 30999030, Consumer Id: 192006, Address Id: 401483 => Updated with Vin: 1FTRX17L81KA12721 ## Mail History Id: 30998972, Consumer Id: 189914, Address Id: 401966 => Updated with Vin: 1FTNX21P34ED02867 ## Mail History Id: 30998952, Consumer Id: 155472, Address Id: 397522 => Updated with Vin: JTKDE177450017153 ## Mail History Id: 30999044, Consumer Id: 192673, Address Id: 402857 => Updated with Vin: 1FTPX12515FA41105 ## Mail History Id: 30998962, Consumer Id: 151977, Address Id: 394341 => Updated with Vin: JM1NC25F860103598 ## Mail History Id: 30999036, Consumer Id: 155054, Address Id: 397143 => Updated with Vin: JM3ER29L470114850 ## Mail History Id: 30998950, Consumer Id: 155355, Address Id: 397415 => Updated with Vin: JM3ER29L780183016 ## Mail History Id: 30999034, Consumer Id: 155473, Address Id: 397523 => Updated with Vin: JM1BK324781791833 ## Mail History Id: 30998988, Consumer Id: 155883, Address Id: 397909 => Updated with Vin: JM1BK32G581871948 ## Mail History Id: 30999002, Consumer Id: 198828, Address Id: 407739 => Updated with Vin: 1FMZU73K63ZA12277 ## Mail History Id: 30999032, Consumer Id: 155654, Address Id: 397694 => Updated with Vin: 1FMCU49H78KC45696 ## Total mail_history records updated with vin numbers: 12 out of 14 ============================================================ ====== Tracking Id: 2213 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-04 11:46:41') AND us2_order_type_id = 3 ## Order found: 2306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2306 AND product_id = 2147 ## Job Group Found: '562' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('562') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408002') AND customer_id = 3721 ## Mailing found: '13415' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31003390, Consumer Id: 1008140, Address Id: 14930561 => Updated with Vin: 4F4CR16U2TTM22462 ## Mail History Id: 31003392, Consumer Id: 1010134, Address Id: 6666734 => Updated with Vin: JM1BK323781830119 ## Mail History Id: 31003394, Consumer Id: 1011070, Address Id: 6660074 => Updated with Vin: 1YVFP80C145N66184 ## Mail History Id: 31003396, Consumer Id: 1011818, Address Id: 9223344 => Updated with Vin: JM1FE17N740128633 ## Mail History Id: 31003398, Consumer Id: 1012655, Address Id: 6658467 => Updated with Vin: JM1BK323351277836 ## Mail History Id: 31003400, Consumer Id: 1007498, Address Id: 6658600 => Updated with Vin: 1YVFP80C135M15540 ## Mail History Id: 31003402, Consumer Id: 1017592, Address Id: 14933541 => Updated with Vin: 4F2YZ02Z86KM00132 ## Mail History Id: 31003404, Consumer Id: 1017586, Address Id: 14933537 => Updated with Vin: JM1NC25F080141491 ## Mail History Id: 31003406, Consumer Id: 1010180, Address Id: 14931848 => Updated with Vin: 1HGCM82243A010982 ## Mail History Id: 31003408, Consumer Id: 1008329, Address Id: 14930622 => Updated with Vin: JM3LW28G6Y0112300 ## Mail History Id: 31003410, Consumer Id: 1016416, Address Id: 6668187 => Updated with Vin: JM1GG12L061104241 ## Total mail_history records updated with vin numbers: 11 out of 14 ============================================================ ====== Tracking Id: 2214 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-04 11:46:44') AND us2_order_type_id = 3 ## Order found: 2305 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2305 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3357 ## Mailing found: '13372' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998996, Consumer Id: 496232, Address Id: 9830838 => Updated with Vin: 1YVGF22C7Y5105238 ## Mail History Id: 30998956, Consumer Id: 187442, Address Id: 398167 => Updated with Vin: 1YVHP80D345N13536 ## Mail History Id: 30998994, Consumer Id: 496213, Address Id: 9830828 => Updated with Vin: JTEHF21A830149163 ## Mail History Id: 30999040, Consumer Id: 155727, Address Id: 397763 => Updated with Vin: 5LMFU28R34LJ01334 ## Mail History Id: 30999006, Consumer Id: 152955, Address Id: 395028 => Updated with Vin: 1FMZU73K03UC15646 ## Mail History Id: 30999020, Consumer Id: 155787, Address Id: 397821 => Updated with Vin: JM1CR29L970158553 ## Mail History Id: 30999026, Consumer Id: 194520, Address Id: 403660 => Updated with Vin: 1FDLF47G3TEA19845 ## Mail History Id: 30998998, Consumer Id: 496233, Address Id: 9830839 => Updated with Vin: 1FALP52U8VG116699 ## Total mail_history records updated with vin numbers: 8 out of 10 ============================================================ ====== Tracking Id: 2215 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-04 11:46:53') AND us2_order_type_id = 3 ## Order found: 2306 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2306 AND product_id = 2150 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3721 ## Mailing found: '13405' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993256, Consumer Id: 1010551, Address Id: 6664260 => Updated with Vin: JM1NB353140404094 ## Mail History Id: 30993262, Consumer Id: 1015147, Address Id: 14932868 => Updated with Vin: JM1NC25F870123884 ## Mail History Id: 30993248, Consumer Id: 1014048, Address Id: 6659402 => Updated with Vin: JM1FE17N450148467 ## Mail History Id: 30993244, Consumer Id: 1015884, Address Id: 6657481 => Updated with Vin: 1YVHP80C575M18410 ## Mail History Id: 30993260, Consumer Id: 1007668, Address Id: 6667857 => Updated with Vin: 4F2CU09151KM56806 ## Mail History Id: 30993252, Consumer Id: 1009876, Address Id: 14931741 => Updated with Vin: 1YVHP80C375M60221 ## Mail History Id: 30993246, Consumer Id: 1017496, Address Id: 14933480 => Updated with Vin: 4F4YR12C3XTM35309 ## Mail History Id: 30993250, Consumer Id: 1007507, Address Id: 6659472 => Updated with Vin: 1YVFP80D635M28907 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 2216 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-04 11:46:57') AND us2_order_type_id = 3 ## Order found: 2305 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2305 AND product_id = 114 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3357 ## Mailing found: '13372' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998992, Consumer Id: 200148, Address Id: 407469 => Updated with Vin: 1FMZU67E82UD55389 ## Mail History Id: 30998960, Consumer Id: 199964, Address Id: 407457 => Updated with Vin: 1FAFP65S2YA182324 ## Mail History Id: 30998978, Consumer Id: 200110, Address Id: 401132 => Updated with Vin: 1FTNW21F33EA79383 ## Mail History Id: 30999016, Consumer Id: 188673, Address Id: 400738 => Updated with Vin: 1FTRW07363KC58361 ## Mail History Id: 30999012, Consumer Id: 199683, Address Id: 407436 => Updated with Vin: 1YVFP80C245N11808 ## Mail History Id: 30999022, Consumer Id: 199916, Address Id: 407453 => Updated with Vin: JM3LW28AX50542659 ## Mail History Id: 30998966, Consumer Id: 199781, Address Id: 407445 => Updated with Vin: 1ZVFT80N155124796 ## Mail History Id: 30998954, Consumer Id: 154287, Address Id: 396456 => Updated with Vin: JM1BK32G071695390 ## Mail History Id: 30998946, Consumer Id: 155189, Address Id: 397267 => Updated with Vin: 1FTNE24L07DA06827 ## Mail History Id: 30998974, Consumer Id: 199139, Address Id: 407400 => Updated with Vin: 2MELM75W1VX604414 ## Total mail_history records updated with vin numbers: 10 out of 12 ============================================================ ====== Tracking Id: 2217 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-04 12:18:44') AND us2_order_type_id = 3 ## Order found: 2307 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2307 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2218 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-04 12:18:48') AND us2_order_type_id = 3 ## Order found: 2307 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2307 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2219 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-04 12:18:51') AND us2_order_type_id = 3 ## Order found: 2307 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2307 AND product_id = 114 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3427 ## Mailing found: '13374' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998647, Consumer Id: 483299, Address Id: 8540185 => Updated with Vin: JHMFA36207S029884 ## Mail History Id: 30998645, Consumer Id: 483300, Address Id: 8540058 => Updated with Vin: 1HGFA16568L007109 ## Mail History Id: 30998641, Consumer Id: 483301, Address Id: 9837779 => Updated with Vin: 5FNYF18798B021855 ## Mail History Id: 30998643, Consumer Id: 483302, Address Id: 9837780 => Updated with Vin: 2HGFG12677H576480 ## Mail History Id: 30998639, Consumer Id: 483303, Address Id: 8539654 => Updated with Vin: 1HGFA16588L009735 ## Mail History Id: 30998649, Consumer Id: 483304, Address Id: 9837781 => Updated with Vin: JHLRE48398C006469 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 2220 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-04 12:18:57') AND us2_order_type_id = 3 ## Order found: 2308 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2308 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3471 ## Mailing found: '13400' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993746, Consumer Id: 806675, Address Id: 11870335 => Updated with Vin: 1G6KF57903U269835 ## Mail History Id: 30993676, Consumer Id: 803583, Address Id: 10212378 => Updated with Vin: 1G6KE54Y8WU779725 ## Mail History Id: 30993692, Consumer Id: 808102, Address Id: 10560752 => Updated with Vin: 1GYEE63A650151375 ## Mail History Id: 30993744, Consumer Id: 800232, Address Id: 11870780 => Updated with Vin: 1GYEK63R0YR197766 ## Mail History Id: 30993706, Consumer Id: 760210, Address Id: 7416340 => Updated with Vin: 1GYEE63A960143997 ## Mail History Id: 30993712, Consumer Id: 802357, Address Id: 10561095 => Updated with Vin: 1G6ET1297RU600473 ## Mail History Id: 30993750, Consumer Id: 800721, Address Id: 10219688 => Updated with Vin: 1GYEK63NX2R200306 ## Mail History Id: 30993702, Consumer Id: 798240, Address Id: 7416249 => Updated with Vin: 1GHDT13S422138427 ## Mail History Id: 30993736, Consumer Id: 800934, Address Id: 10217776 => Updated with Vin: 1G3NL52E32C189151 ## Mail History Id: 30993732, Consumer Id: 804300, Address Id: 10217412 => Updated with Vin: 1G6KY5495YU321837 ## Mail History Id: 30993762, Consumer Id: 823506, Address Id: 11873335 => Updated with Vin: 1GYEK63N35R239789 ## Mail History Id: 30993726, Consumer Id: 816557, Address Id: 10215780 => Updated with Vin: 1GYEE63A750190167 ## Mail History Id: 30993724, Consumer Id: 798353, Address Id: 10216217 => Updated with Vin: 1GYEK63NX3R275153 ## Mail History Id: 30993714, Consumer Id: 817346, Address Id: 7416945 => Updated with Vin: 1G6KS54Y93U245881 ## Mail History Id: 30993686, Consumer Id: 820902, Address Id: 7415539 => Updated with Vin: 1G6KE57Y13U218564 ## Mail History Id: 30993672, Consumer Id: 822940, Address Id: 7878141 => Updated with Vin: 1GYEE637240162358 ## Mail History Id: 30993728, Consumer Id: 760384, Address Id: 10216631 => Updated with Vin: 1GYFK63838R240184 ## Mail History Id: 30993734, Consumer Id: 802707, Address Id: 10217749 => Updated with Vin: 1G6KS54Y23U257516 ## Total mail_history records updated with vin numbers: 18 out of 22 ============================================================ ====== Tracking Id: 2221 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-04 12:19:12') AND us2_order_type_id = 3 ## Order found: 2308 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2308 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3471 ## Mailing found: '13377' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2222 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-04 14:16:25') AND us2_order_type_id = 3 ## Order found: 2297 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2297 AND product_id = 143 ## Job Group Found: '561' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('561') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408001') AND customer_id = 3418 ## Mailing found: '13397' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30993370, Consumer Id: 612290, Address Id: 11756001 => Updated with Vin: 1GYEC63T43R106967 ## Mail History Id: 30993268, Consumer Id: 612200, Address Id: 10323366 => Updated with Vin: 1G6KD54Y83U207018 ## Mail History Id: 30993284, Consumer Id: 610740, Address Id: 11755418 => Updated with Vin: 1G6DT57V680162057 ## Mail History Id: 30993358, Consumer Id: 610366, Address Id: 11755098 => Updated with Vin: 1G6DW67V780118887 ## Mail History Id: 30993288, Consumer Id: 611157, Address Id: 11755771 => Updated with Vin: 3GYFK66N15G201123 ## Mail History Id: 30993290, Consumer Id: 611161, Address Id: 11755774 => Updated with Vin: 1G6DM577640118925 ## Mail History Id: 30993462, Consumer Id: 611163, Address Id: 11755776 => Updated with Vin: 1G6KD57Y26U189616 ## Mail History Id: 30993286, Consumer Id: 611164, Address Id: 11755777 => Updated with Vin: 3GYFK62898G190893 ## Mail History Id: 30993310, Consumer Id: 612281, Address Id: 11755994 => Updated with Vin: 3GYFK66N24G342796 ## Mail History Id: 30993366, Consumer Id: 612265, Address Id: 11755984 => Updated with Vin: 1G6KF57992U289161 ## Mail History Id: 30993280, Consumer Id: 612275, Address Id: 6773525 => Updated with Vin: 1GYEE63A450155568 ## Mail History Id: 30993354, Consumer Id: 612286, Address Id: 11755998 => Updated with Vin: 1G6DM57T560210401 ## Mail History Id: 30993330, Consumer Id: 612171, Address Id: 6771416 => Updated with Vin: 1GYFK66857R266036 ## Mail History Id: 30993330, Consumer Id: 612171, Address Id: 6771416 => Updated with Vin: 1GYFK66857R266036 ## Mail History Id: 30993322, Consumer Id: 612291, Address Id: 11756002 => Updated with Vin: 1G6DW677070116897 ## Mail History Id: 30993272, Consumer Id: 612173, Address Id: 11755914 => Updated with Vin: 1G6KY54972U263754 ## Mail History Id: 30993356, Consumer Id: 612297, Address Id: 11756008 => Updated with Vin: 1G6KD54Y22U200905 ## Mail History Id: 30993292, Consumer Id: 612300, Address Id: 11417798 => Updated with Vin: 1G6DP577270166773 ## Mail History Id: 30993340, Consumer Id: 612175, Address Id: 11755916 => Updated with Vin: 1G6KF57993U196366 ## Mail History Id: 30993312, Consumer Id: 612178, Address Id: 11755919 => Updated with Vin: 1GYEE63A840150470 ## Mail History Id: 30993312, Consumer Id: 612178, Address Id: 11755919 => Updated with Vin: 1GYEE63A840150470 ## Mail History Id: 30993372, Consumer Id: 612212, Address Id: 11418420 => Updated with Vin: 1G6KD54Y43U275493 ## Mail History Id: 30993326, Consumer Id: 612270, Address Id: 11755986 => Updated with Vin: 1G6KF57942U263762 ## Mail History Id: 30993320, Consumer Id: 611160, Address Id: 11755773 => Updated with Vin: 1G6DW67V780187322 ## Mail History Id: 30993294, Consumer Id: 612251, Address Id: 11755972 => Updated with Vin: 1GYEK63N54R311073 ## Mail History Id: 30993362, Consumer Id: 611165, Address Id: 11755778 => Updated with Vin: 1GYEK63N74R210746 ## Total mail_history records updated with vin numbers: 26 out of 35 ============================================================ ====== Tracking Id: 2223 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-04 14:16:38') AND us2_order_type_id = 3 ## Order found: 2309 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2309 AND product_id = 112 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3451 ## Mailing found: '13375' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998930, Consumer Id: 616678, Address Id: 839570 => Updated with Vin: 1G6EL12Y5XU615834 ## Mail History Id: 30998908, Consumer Id: 620650, Address Id: 3807299 => Updated with Vin: 1G6DP567050149324 ## Mail History Id: 30998922, Consumer Id: 611373, Address Id: 11759139 => Updated with Vin: 1G6DP577960125653 ## Mail History Id: 30998918, Consumer Id: 611403, Address Id: 827171 => Updated with Vin: 1GYEK63NX2R138177 ## Mail History Id: 30998926, Consumer Id: 615654, Address Id: 834082 => Updated with Vin: 1G6KD54Y43U219960 ## Mail History Id: 30998932, Consumer Id: 611699, Address Id: 11759687 => Updated with Vin: 1GYEE637X60136299 ## Mail History Id: 30998910, Consumer Id: 619350, Address Id: 824267 => Updated with Vin: 1G6KD57Y78U139216 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 2224 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-04 14:16:49') AND us2_order_type_id = 3 ## Order found: 2309 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2309 AND product_id = 113 ## Job Group Found: '563' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('563') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090408003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090408003') AND customer_id = 3451 ## Mailing found: '13375' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 30998924, Consumer Id: 611810, Address Id: 833181 => Updated with Vin: 1C3EL65RX2N241033 ## Total mail_history records updated with vin numbers: 1 out of 3 ============================================================ ====== Tracking Id: 2225 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-04 19:56:15') AND us2_order_type_id = 3 ## Order found: 2295 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2295 AND product_id = 2150 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2226 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-04 19:56:27') AND us2_order_type_id = 3 ## Order found: 2295 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2295 AND product_id = 2152 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2227 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-04 19:56:38') AND us2_order_type_id = 3 ## Order found: 2295 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2295 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2228 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-04 20:16:25') AND us2_order_type_id = 3 ## Order found: 2291 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2291 AND product_id = 2153 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2229 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-04 20:16:37') AND us2_order_type_id = 3 ## Order found: 2291 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2291 AND product_id = 2152 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2230 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-04 20:16:49') AND us2_order_type_id = 3 ## Order found: 2291 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2291 AND product_id = 2150 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2231 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-04 20:16:52') AND us2_order_type_id = 3 ## Order found: 2291 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2291 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2232 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-05 07:16:56') AND us2_order_type_id = 3 ## Order found: 2364 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2364 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3503 ## Mailing found: '13478' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 86 ============================================================ ====== Tracking Id: 2233 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-05 08:46:37') AND us2_order_type_id = 3 ## Order found: 2365 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2365 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3230 ## Mailing found: '13449' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099938, Consumer Id: 63617, Address Id: 52606 => Updated with Vin: 1FMZU73K44UA93746 ## Mail History Id: 31099926, Consumer Id: 93563, Address Id: 49008 => Updated with Vin: 1FAHP33N98W147102 ## Mail History Id: 31099934, Consumer Id: 66763, Address Id: 53126 => Updated with Vin: 1FMRU1868XLB19591 ## Mail History Id: 31099920, Consumer Id: 102891, Address Id: 53425 => Updated with Vin: 1FTRF12W95NA93110 ## Mail History Id: 31099940, Consumer Id: 102888, Address Id: 53423 => Updated with Vin: 1GTEK19V5YE141746 ## Mail History Id: 31099946, Consumer Id: 93247, Address Id: 47300 => Updated with Vin: 1FTRF12217NA79055 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 2234 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-05 08:46:42') AND us2_order_type_id = 3 ## Order found: 2365 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2365 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3230 ## Mailing found: '13470' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 6 ============================================================ ====== Tracking Id: 2235 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-05 09:19:41') AND us2_order_type_id = 3 ## Order found: 2366 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2366 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3470 ## Mailing found: '13455' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100549, Consumer Id: 562927, Address Id: 10701290 => Updated with Vin: 1J4GK58K55W633409 ## Mail History Id: 31100625, Consumer Id: 553755, Address Id: 10687522 => Updated with Vin: 1D4GP25353B234249 ## Mail History Id: 31100535, Consumer Id: 938790, Address Id: 6533691 => Updated with Vin: 2C3KA43R18H146944 ## Mail History Id: 31100603, Consumer Id: 578101, Address Id: 7348121 => Updated with Vin: 1C3EL56R84N101218 ## Mail History Id: 31099650, Consumer Id: 911046, Address Id: 10695654 => Updated with Vin: 2D8GT54LX3R243902 ## Mail History Id: 31100661, Consumer Id: 702788, Address Id: 1335549 => Updated with Vin: 2C4GM68454R551193 ## Mail History Id: 31100537, Consumer Id: 921377, Address Id: 11957060 => Updated with Vin: 1J8FT28W08D560376 ## Mail History Id: 31100569, Consumer Id: 578705, Address Id: 10732014 => Updated with Vin: 1J4GW68N5XC793475 ## Mail History Id: 31100627, Consumer Id: 581093, Address Id: 1543731 => Updated with Vin: 1B3ES26C23D106431 ## Mail History Id: 31100703, Consumer Id: 570717, Address Id: 1350597 => Updated with Vin: 1J4GA59167L191642 ## Mail History Id: 31100767, Consumer Id: 571025, Address Id: 10717480 => Updated with Vin: 2C3KA43R86H157615 ## Mail History Id: 31100679, Consumer Id: 582010, Address Id: 10743579 => Updated with Vin: 1J4GK48KX2W336240 ## Mail History Id: 31100695, Consumer Id: 573110, Address Id: 10719462 => Updated with Vin: 2C4GM48L55R361147 ## Mail History Id: 31099646, Consumer Id: 552675, Address Id: 7354879 => Updated with Vin: 3C3EY55E95T266244 ## Mail History Id: 31099684, Consumer Id: 911047, Address Id: 11940995 => Updated with Vin: 1C4GP54L4XB565782 ## Mail History Id: 31100523, Consumer Id: 911048, Address Id: 8540665 => Updated with Vin: 1C3EL55R54N335379 ## Mail History Id: 31099634, Consumer Id: 909861, Address Id: 11940172 => Updated with Vin: 2A8HR64X78R713183 ## Total mail_history records updated with vin numbers: 17 out of 19 ============================================================ ====== Tracking Id: 2236 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-05 09:19:53') AND us2_order_type_id = 3 ## Order found: 2366 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2366 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2237 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-05 09:19:57') AND us2_order_type_id = 3 ## Order found: 2366 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2366 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3470 ## Mailing found: '13455' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100621, Consumer Id: 575293, Address Id: 10722482 => Updated with Vin: 2C8GM68434R370303 ## Mail History Id: 31099628, Consumer Id: 566908, Address Id: 10690014 => Updated with Vin: 1B3EL46R66N126242 ## Mail History Id: 31100659, Consumer Id: 558474, Address Id: 4098954 => Updated with Vin: 1J4GK48K94W282741 ## Mail History Id: 31100775, Consumer Id: 571811, Address Id: 2064241 => Updated with Vin: 4NUES16S856700338 ## Mail History Id: 31100531, Consumer Id: 564727, Address Id: 10705558 => Updated with Vin: 1J4GK48K16W153766 ## Mail History Id: 31099614, Consumer Id: 570457, Address Id: 3497540 => Updated with Vin: 1A4GP45R26B760687 ## Mail History Id: 31100527, Consumer Id: 565648, Address Id: 10707179 => Updated with Vin: 2C4GM684X5R579508 ## Mail History Id: 31099630, Consumer Id: 566909, Address Id: 7353127 => Updated with Vin: 1D7HU16206J162290 ## Mail History Id: 31100579, Consumer Id: 578085, Address Id: 4062590 => Updated with Vin: 1GCCS138848166093 ## Mail History Id: 31099652, Consumer Id: 567915, Address Id: 1555788 => Updated with Vin: 1D7HE48N66S666309 ## Mail History Id: 31100513, Consumer Id: 568570, Address Id: 10713841 => Updated with Vin: 1J4GS48K86C187009 ## Mail History Id: 31100685, Consumer Id: 578847, Address Id: 1545692 => Updated with Vin: 2C3AA63H95H636333 ## Mail History Id: 31099644, Consumer Id: 581777, Address Id: 7353959 => Updated with Vin: 2A4GP54L46R873769 ## Mail History Id: 31099620, Consumer Id: 579815, Address Id: 10692608 => Updated with Vin: 1B3ES66S25D283787 ## Mail History Id: 31099662, Consumer Id: 569735, Address Id: 10701339 => Updated with Vin: 1D4HD58206F189381 ## Mail History Id: 31100709, Consumer Id: 580770, Address Id: 10738467 => Updated with Vin: 2D4FV47V66H435651 ## Mail History Id: 31100635, Consumer Id: 570694, Address Id: 4899241 => Updated with Vin: 2C4GM68495R568824 ## Mail History Id: 31100683, Consumer Id: 572869, Address Id: 10718968 => Updated with Vin: 1J8FT28017D336396 ## Mail History Id: 31100733, Consumer Id: 583021, Address Id: 10744628 => Updated with Vin: 1B3EJ46X3YN193548 ## Mail History Id: 31100677, Consumer Id: 572996, Address Id: 8911769 => Updated with Vin: 4JGBB86E66A057211 ## Mail History Id: 31100589, Consumer Id: 572883, Address Id: 7462851 => Updated with Vin: 5TDZT38A27S292562 ## Mail History Id: 31100581, Consumer Id: 572882, Address Id: 4065254 => Updated with Vin: 1J4FA44S66P726661 ## Mail History Id: 31100731, Consumer Id: 573001, Address Id: 10719416 => Updated with Vin: 1J8FT48W18D557823 ## Mail History Id: 31100651, Consumer Id: 572998, Address Id: 10719414 => Updated with Vin: 1C3LC45K18N139675 ## Total mail_history records updated with vin numbers: 24 out of 24 ============================================================ ====== Tracking Id: 2238 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-05 09:20:16') AND us2_order_type_id = 3 ## Order found: 2367 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2367 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3768 ## Mailing found: '13462' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099843, Consumer Id: 1108770, Address Id: 14982312 => Updated with Vin: 1GYEE63A440181764 ## Mail History Id: 31099851, Consumer Id: 1050946, Address Id: 14954570 => Updated with Vin: 1G6DP567X50219136 ## Mail History Id: 31099823, Consumer Id: 1044088, Address Id: 2776292 => Updated with Vin: 1G6KD54Y12U305354 ## Mail History Id: 31099993, Consumer Id: 1116615, Address Id: 6292700 => Updated with Vin: 1G6KD52Y6VU205354 ## Mail History Id: 31099991, Consumer Id: 1107593, Address Id: 9432059 => Updated with Vin: 1G6KF57952U108718 ## Mail History Id: 31099825, Consumer Id: 1107415, Address Id: 1690070 => Updated with Vin: 1G6KD54Y03U116793 ## Mail History Id: 31099841, Consumer Id: 1049220, Address Id: 3237941 => Updated with Vin: 1G6KF52Y9SU300870 ## Mail History Id: 31099658, Consumer Id: 1116663, Address Id: 14984178 => Updated with Vin: 1G6DP577670127202 ## Mail History Id: 31099957, Consumer Id: 1110012, Address Id: 8827791 => Updated with Vin: 1G6DM577X40160630 ## Mail History Id: 31099953, Consumer Id: 1050046, Address Id: 1938611 => Updated with Vin: 1G6KD54Y91U278418 ## Mail History Id: 31099901, Consumer Id: 1115692, Address Id: 14983864 => Updated with Vin: 1G6KD57Y08U126713 ## Mail History Id: 31099903, Consumer Id: 1116621, Address Id: 14984156 => Updated with Vin: 1G6KS53B6MU821604 ## Total mail_history records updated with vin numbers: 12 out of 12 ============================================================ ====== Tracking Id: 2239 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-05 09:20:29') AND us2_order_type_id = 3 ## Order found: 2367 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2367 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2240 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-05 10:16:52') AND us2_order_type_id = 3 ## Order found: 2368 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2368 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3846 ## Mailing found: '13486' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 2241 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-05 10:19:27') AND us2_order_type_id = 3 ## Order found: 2366 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2366 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3470 ## Mailing found: '13475' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 41 ============================================================ ====== Tracking Id: 2242 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-05 10:19:42') AND us2_order_type_id = 3 ## Order found: 2369 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2369 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3416 ## Mailing found: '13472' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 20 ============================================================ ====== Tracking Id: 2243 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-05 10:20:18') AND us2_order_type_id = 3 ## Order found: 2370 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2370 AND product_id = 2153 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3418 ## Mailing found: '13452' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099734, Consumer Id: 666736, Address Id: 11785421 => Updated with Vin: 1G6KF57912U297416 ## Mail History Id: 31099700, Consumer Id: 672233, Address Id: 11789186 => Updated with Vin: 1G6KF579X5U196525 ## Mail History Id: 31099716, Consumer Id: 673249, Address Id: 11789824 => Updated with Vin: 1G6KD54Y55U243199 ## Mail History Id: 31099736, Consumer Id: 664981, Address Id: 11784127 => Updated with Vin: 1G6KD54Y5YU319363 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 2244 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-05 10:20:30') AND us2_order_type_id = 3 ## Order found: 2370 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2370 AND product_id = 2147 ## Job Group Found: '570' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('570') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808002') AND customer_id = 3418 ## Mailing found: '13496' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 27 ============================================================ ====== Tracking Id: 2245 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-05 10:20:45') AND us2_order_type_id = 3 ## Order found: 2370 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2370 AND product_id = 2150 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3418 ## Mailing found: '13473' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 13 ============================================================ ====== Tracking Id: 2246 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-05 10:20:57') AND us2_order_type_id = 3 ## Order found: 2370 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2370 AND product_id = 2152 ## Job Group Found: '574' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('574') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808006') AND customer_id = 3418 ## Mailing found: '13440' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2247 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-05 10:22:29') AND us2_order_type_id = 3 ## Order found: 2371 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2371 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3795 ## Mailing found: '13483' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 10 ============================================================ ====== Tracking Id: 2248 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-05 10:22:46') AND us2_order_type_id = 3 ## Order found: 2371 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2371 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3795 ## Mailing found: '13463' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100219, Consumer Id: 1068475, Address Id: 12067064 => Updated with Vin: 4C3AG52H12E127932 ## Mail History Id: 31100085, Consumer Id: 1054920, Address Id: 6591010 => Updated with Vin: 4S6CK58W7X4418946 ## Mail History Id: 31100093, Consumer Id: 1054357, Address Id: 6597939 => Updated with Vin: JHLRD68472C005030 ## Mail History Id: 31100201, Consumer Id: 1061640, Address Id: 4265698 => Updated with Vin: 1HGCM56746A079499 ## Mail History Id: 31100103, Consumer Id: 1060236, Address Id: 6376539 => Updated with Vin: 1D4HD38K85F570138 ## Mail History Id: 31100089, Consumer Id: 1060171, Address Id: 10795549 => Updated with Vin: 4T1CE38P84U831838 ## Mail History Id: 31100139, Consumer Id: 1060229, Address Id: 7695953 => Updated with Vin: 2G4WS52J541189595 ## Mail History Id: 31100099, Consumer Id: 1068780, Address Id: 6073064 => Updated with Vin: JHMBB6240WC010541 ## Mail History Id: 31100101, Consumer Id: 1057503, Address Id: 4939570 => Updated with Vin: 5FNRL38455B402595 ## Mail History Id: 31100197, Consumer Id: 1068787, Address Id: 6871061 => Updated with Vin: JHLRD18791C034542 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 2249 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-05 10:22:58') AND us2_order_type_id = 3 ## Order found: 2371 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2371 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3795 ## Mailing found: '13463' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100217, Consumer Id: 1068562, Address Id: 3084769 => Updated with Vin: 3FALP1134WR104657 ## Mail History Id: 31100187, Consumer Id: 1068530, Address Id: 3058515 => Updated with Vin: 1HGCG5643XA146592 ## Mail History Id: 31100213, Consumer Id: 1054161, Address Id: 14955719 => Updated with Vin: JHLRD78965C007390 ## Mail History Id: 31100153, Consumer Id: 1061487, Address Id: 3024352 => Updated with Vin: 1HGFA16536L090544 ## Mail History Id: 31100137, Consumer Id: 1059868, Address Id: 14957329 => Updated with Vin: 1HGCM56777A047213 ## Mail History Id: 31100161, Consumer Id: 1059351, Address Id: 14957201 => Updated with Vin: 1HGCM56397A223014 ## Mail History Id: 31100125, Consumer Id: 1053203, Address Id: 4946858 => Updated with Vin: 2HGES15591H547776 ## Mail History Id: 31100225, Consumer Id: 1054480, Address Id: 3104675 => Updated with Vin: 1HGCD5630TA243551 ## Total mail_history records updated with vin numbers: 8 out of 11 ============================================================ ====== Tracking Id: 2250 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-05 10:23:11') AND us2_order_type_id = 3 ## Order found: 2371 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2371 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3795 ## Mailing found: '13463' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100195, Consumer Id: 1052867, Address Id: 185314 => Updated with Vin: 1HGCM56314A130385 ## Mail History Id: 31100075, Consumer Id: 1060137, Address Id: 14957403 => Updated with Vin: 1HGFA16818L008937 ## Mail History Id: 31099668, Consumer Id: 1060131, Address Id: 14957400 => Updated with Vin: 1HGFA16817L053942 ## Mail History Id: 31100169, Consumer Id: 1060124, Address Id: 179383 => Updated with Vin: 1HGCP26378A045109 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 2251 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-05 10:23:13') AND us2_order_type_id = 3 ## Order found: 2372 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2372 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3697 ## Mailing found: '13460' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100003, Consumer Id: 1051900, Address Id: 14954972 => Updated with Vin: 3GYEK63N53G120459 ## Mail History Id: 31099893, Consumer Id: 1044680, Address Id: 14952903 => Updated with Vin: 1G6DP577670177498 ## Mail History Id: 31099869, Consumer Id: 1044997, Address Id: 11666011 => Updated with Vin: 1GYEE63A470173247 ## Mail History Id: 31099949, Consumer Id: 1046900, Address Id: 5988174 => Updated with Vin: 1G6KD54Y51U259459 ## Mail History Id: 31099969, Consumer Id: 1043603, Address Id: 14952586 => Updated with Vin: 1GYEE637760207457 ## Mail History Id: 31099921, Consumer Id: 1046677, Address Id: 14953474 => Updated with Vin: 1G6DP567X50173081 ## Mail History Id: 31099919, Consumer Id: 1048446, Address Id: 3240203 => Updated with Vin: 1GHDX13E51D215002 ## Mail History Id: 31099911, Consumer Id: 1041999, Address Id: 2852830 => Updated with Vin: 1G3NK52T71C119622 ## Mail History Id: 31099967, Consumer Id: 1047205, Address Id: 5990519 => Updated with Vin: 1G6KS54Y03U212722 ## Mail History Id: 31100023, Consumer Id: 1050679, Address Id: 14954508 => Updated with Vin: 1G6KD57Y06U111397 ## Mail History Id: 31099937, Consumer Id: 1041998, Address Id: 14952197 => Updated with Vin: 1G6KD52Y5VU227717 ## Total mail_history records updated with vin numbers: 11 out of 11 ============================================================ ====== Tracking Id: 2252 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-05 10:23:26') AND us2_order_type_id = 3 ## Order found: 2372 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2372 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2253 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-05 10:23:29') AND us2_order_type_id = 3 ## Order found: 2372 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2372 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2254 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-05 10:25:00') AND us2_order_type_id = 3 ## Order found: 2373 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2373 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3815 ## Mailing found: '13485' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 3 ============================================================ ====== Tracking Id: 2255 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-05 10:25:06') AND us2_order_type_id = 3 ## Order found: 2373 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2373 AND product_id = 2147 ## Job Group Found: '570' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('570') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808002') AND customer_id = 3815 ## Mailing found: '13499' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 11 ============================================================ ====== Tracking Id: 2256 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-05 10:25:18') AND us2_order_type_id = 3 ## Order found: 2373 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2373 AND product_id = 2153 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3815 ## Mailing found: '13465' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100039, Consumer Id: 1361193, Address Id: 15633459 => Updated with Vin: 5FNYF18695B016867 ## Mail History Id: 31100035, Consumer Id: 1378754, Address Id: 15671605 => Updated with Vin: JHMGD38607S041559 ## Mail History Id: 31099873, Consumer Id: 1362645, Address Id: 15635172 => Updated with Vin: 1HGCM56825A017364 ## Mail History Id: 31099833, Consumer Id: 1363435, Address Id: 15636409 => Updated with Vin: 1HGCM56485A185930 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 2257 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-05 10:25:30') AND us2_order_type_id = 3 ## Order found: 2373 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2373 AND product_id = 2150 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3815 ## Mailing found: '13485' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 12 ============================================================ ====== Tracking Id: 2258 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-05 10:46:20') AND us2_order_type_id = 3 ## Order found: 2365 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2365 AND product_id = 140 ## Job Group Found: '574' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('574') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808006') AND customer_id = 3230 ## Mailing found: '13439' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31101118, Consumer Id: 93153, Address Id: 51584 => Updated with Vin: 1FTPX14VX7FB40134 ## Mail History Id: 31101120, Consumer Id: 65329, Address Id: 49252 => Updated with Vin: 1FTSW21P75EC74255 ## Mail History Id: 31101122, Consumer Id: 66302, Address Id: 49578 => Updated with Vin: 1FTRX12W24NA22990 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2259 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-05 11:16:51') AND us2_order_type_id = 3 ## Order found: 2374 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2374 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3486 ## Mailing found: '13457' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100297, Consumer Id: 462363, Address Id: 1034363 => Updated with Vin: 3GNEC13T63G170959 ## Mail History Id: 31100383, Consumer Id: 489950, Address Id: 678870 => Updated with Vin: 2G1FP22G922131367 ## Mail History Id: 31100341, Consumer Id: 467868, Address Id: 9821766 => Updated with Vin: 1GCJK33D46F213733 ## Mail History Id: 31100365, Consumer Id: 489974, Address Id: 1082828 => Updated with Vin: 1GNDV23L85D163121 ## Mail History Id: 31100265, Consumer Id: 462352, Address Id: 1558451 => Updated with Vin: 2GCEC19T431347968 ## Mail History Id: 31100259, Consumer Id: 481311, Address Id: 4372354 => Updated with Vin: 2GCEC19T9X1124220 ## Mail History Id: 31100253, Consumer Id: 465230, Address Id: 5416612 => Updated with Vin: 2G1WF52E749276209 ## Mail History Id: 31100263, Consumer Id: 478872, Address Id: 825415 => Updated with Vin: 2GCEK19T741241566 ## Mail History Id: 31100293, Consumer Id: 489975, Address Id: 9824915 => Updated with Vin: 1GNDS13S472226448 ## Mail History Id: 31100401, Consumer Id: 469677, Address Id: 1566252 => Updated with Vin: 2G1WU58R579341935 ## Mail History Id: 31100291, Consumer Id: 469759, Address Id: 9822689 => Updated with Vin: 3GNFC16J47G269915 ## Mail History Id: 31100275, Consumer Id: 485360, Address Id: 9825466 => Updated with Vin: 1GCDS136258162383 ## Mail History Id: 31100389, Consumer Id: 485560, Address Id: 8151709 => Updated with Vin: 1GNDS13S332132698 ## Mail History Id: 31100289, Consumer Id: 469875, Address Id: 9822754 => Updated with Vin: 3GNEK12TX4G153507 ## Mail History Id: 31100273, Consumer Id: 486049, Address Id: 735599 => Updated with Vin: 1GNEC16Z03J177095 ## Mail History Id: 31100507, Consumer Id: 470756, Address Id: 9823268 => Updated with Vin: 1GNEC13ZX3J200614 ## Mail History Id: 31100279, Consumer Id: 470687, Address Id: 9823226 => Updated with Vin: 2CNDL73F456101697 ## Mail History Id: 31100491, Consumer Id: 470774, Address Id: 6949258 => Updated with Vin: 3GNEC12J78G132891 ## Mail History Id: 31100471, Consumer Id: 470780, Address Id: 9823274 => Updated with Vin: KL1TD56687B126526 ## Mail History Id: 31100327, Consumer Id: 489966, Address Id: 9826346 => Updated with Vin: 3GNDA23D57S564004 ## Mail History Id: 31100337, Consumer Id: 489927, Address Id: 2460720 => Updated with Vin: 1G1YY22G515133559 ## Mail History Id: 31100411, Consumer Id: 470799, Address Id: 9823283 => Updated with Vin: 3GNEC12J48G150877 ## Mail History Id: 31100485, Consumer Id: 470809, Address Id: 9821021 => Updated with Vin: 1FAFP56205A272907 ## Total mail_history records updated with vin numbers: 23 out of 26 ============================================================ ====== Tracking Id: 2260 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-05 11:17:03') AND us2_order_type_id = 3 ## Order found: 2374 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2374 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3486 ## Mailing found: '13457' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100317, Consumer Id: 480155, Address Id: 1203736 => Updated with Vin: 1GNEC13T25R187471 ## Mail History Id: 31100445, Consumer Id: 463898, Address Id: 9820344 => Updated with Vin: 2CNBE13C936940973 ## Mail History Id: 31100413, Consumer Id: 481254, Address Id: 4376348 => Updated with Vin: 1GNDS13S342262823 ## Mail History Id: 31100417, Consumer Id: 467845, Address Id: 1039166 => Updated with Vin: 2GCEC13V961297941 ## Mail History Id: 31100487, Consumer Id: 467844, Address Id: 9821757 => Updated with Vin: 1GNFC13J67R114402 ## Mail History Id: 31100427, Consumer Id: 480731, Address Id: 4376909 => Updated with Vin: 2G1WF55E129349308 ## Mail History Id: 31100295, Consumer Id: 470638, Address Id: 9823204 => Updated with Vin: 2G1WU583789264742 ## Mail History Id: 31100395, Consumer Id: 490430, Address Id: 9826540 => Updated with Vin: 3GNEK13T73G185473 ## Total mail_history records updated with vin numbers: 8 out of 12 ============================================================ ====== Tracking Id: 2261 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-05 11:17:16') AND us2_order_type_id = 3 ## Order found: 2374 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2374 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3486 ## Mailing found: '13457' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100441, Consumer Id: 477700, Address Id: 1567964 => Updated with Vin: 2GCEC19TXY1298735 ## Mail History Id: 31100379, Consumer Id: 478662, Address Id: 9824243 => Updated with Vin: 1GNDM19W1SB203805 ## Mail History Id: 31100391, Consumer Id: 478324, Address Id: 1565404 => Updated with Vin: 2G1FP22G222168566 ## Mail History Id: 31100271, Consumer Id: 468185, Address Id: 675771 => Updated with Vin: 3GNEC12Z06G118169 ## Mail History Id: 31100305, Consumer Id: 465056, Address Id: 676626 => Updated with Vin: 1GCDT136148186623 ## Mail History Id: 31100435, Consumer Id: 478313, Address Id: 9824160 => Updated with Vin: 1G1JC1247VM167191 ## Mail History Id: 31100433, Consumer Id: 468059, Address Id: 6431185 => Updated with Vin: 2GCEC13V161201901 ## Mail History Id: 31100283, Consumer Id: 480056, Address Id: 1034249 => Updated with Vin: 1GNDT13SX22134282 ## Mail History Id: 31100429, Consumer Id: 480259, Address Id: 1567743 => Updated with Vin: 3GNEC12ZX5G269700 ## Mail History Id: 31100479, Consumer Id: 484350, Address Id: 9825121 => Updated with Vin: 1GCEC19V45Z184184 ## Mail History Id: 31100331, Consumer Id: 484595, Address Id: 4373187 => Updated with Vin: 1GTEK19T23E378802 ## Mail History Id: 31100393, Consumer Id: 469792, Address Id: 6434684 => Updated with Vin: 1GKFK66U44J290233 ## Mail History Id: 31100309, Consumer Id: 490379, Address Id: 2003013 => Updated with Vin: 2G1FP22K0X2109477 ## Mail History Id: 31100285, Consumer Id: 485942, Address Id: 9825725 => Updated with Vin: 1GNEC13V04J323739 ## Mail History Id: 31100499, Consumer Id: 486308, Address Id: 3535714 => Updated with Vin: 1GNEC13Z72R290000 ## Mail History Id: 31100465, Consumer Id: 470980, Address Id: 9823381 => Updated with Vin: 1GNEC16Z94J197931 ## Mail History Id: 31100281, Consumer Id: 524365, Address Id: 9854802 => Updated with Vin: 3GNFC16YX7G197535 ## Mail History Id: 31100359, Consumer Id: 524337, Address Id: 1215006 => Updated with Vin: 2G1WL52M5S9333200 ## Mail History Id: 31100361, Consumer Id: 524355, Address Id: 9854798 => Updated with Vin: 2G1WT55N179375956 ## Mail History Id: 31100409, Consumer Id: 524356, Address Id: 3285842 => Updated with Vin: 1G1AL52F857655685 ## Mail History Id: 31100353, Consumer Id: 489455, Address Id: 9854675 => Updated with Vin: 1G1ZG57B284236704 ## Total mail_history records updated with vin numbers: 21 out of 23 ============================================================ ====== Tracking Id: 2262 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-05 11:17:55') AND us2_order_type_id = 3 ## Order found: 2369 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2369 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3416 ## Mailing found: '13451' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099752, Consumer Id: 625504, Address Id: 3751529 => Updated with Vin: 5GTDN13E378228613 ## Mail History Id: 31099768, Consumer Id: 693269, Address Id: 11798756 => Updated with Vin: 1G6DP57VX80106658 ## Mail History Id: 31099742, Consumer Id: 692613, Address Id: 11798436 => Updated with Vin: 1G6KD54YXVU278370 ## Mail History Id: 31099862, Consumer Id: 690697, Address Id: 11796003 => Updated with Vin: 1GYEE63AX60185126 ## Mail History Id: 31099882, Consumer Id: 682978, Address Id: 1969374 => Updated with Vin: W06VR54R1YR098756 ## Mail History Id: 31099750, Consumer Id: 686727, Address Id: 1958660 => Updated with Vin: 1G6KS54Y64U143018 ## Mail History Id: 31099818, Consumer Id: 625275, Address Id: 1965701 => Updated with Vin: 1GYFK668X7R393557 ## Mail History Id: 31099744, Consumer Id: 689342, Address Id: 10934213 => Updated with Vin: 1G6DP567150225617 ## Mail History Id: 31099808, Consumer Id: 689638, Address Id: 11797333 => Updated with Vin: 1G6DP577760103117 ## Mail History Id: 31099766, Consumer Id: 691587, Address Id: 11798023 => Updated with Vin: 5GTDN136868248458 ## Mail History Id: 31099906, Consumer Id: 691719, Address Id: 6897503 => Updated with Vin: 1GYEE637X70131699 ## Mail History Id: 31099880, Consumer Id: 692012, Address Id: 11798177 => Updated with Vin: 5GRGN23U86H108787 ## Total mail_history records updated with vin numbers: 12 out of 12 ============================================================ ====== Tracking Id: 2263 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-05 11:18:01') AND us2_order_type_id = 3 ## Order found: 2375 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2375 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3491 ## Mailing found: '13477' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 18 ============================================================ ====== Tracking Id: 2264 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-05 11:18:08') AND us2_order_type_id = 3 ## Order found: 2369 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2369 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3416 ## Mailing found: '13451' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099876, Consumer Id: 693153, Address Id: 4792012 => Updated with Vin: 1G6DW67V180103558 ## Mail History Id: 31099948, Consumer Id: 625851, Address Id: 11766161 => Updated with Vin: 5GTEN13E988144169 ## Mail History Id: 31099914, Consumer Id: 689722, Address Id: 1970144 => Updated with Vin: 1G6KD54Y65U112847 ## Mail History Id: 31099746, Consumer Id: 675486, Address Id: 1967101 => Updated with Vin: 1G6DW677760127507 ## Mail History Id: 31099910, Consumer Id: 683682, Address Id: 1970104 => Updated with Vin: 1G6KS54Y12U273933 ## Mail History Id: 31099844, Consumer Id: 682091, Address Id: 1968557 => Updated with Vin: 1GCDT13W21K223242 ## Mail History Id: 31099916, Consumer Id: 691173, Address Id: 8336284 => Updated with Vin: 5GTDN136668294483 ## Mail History Id: 31099804, Consumer Id: 684914, Address Id: 1964162 => Updated with Vin: 1G6KY54952U183319 ## Mail History Id: 31099902, Consumer Id: 690036, Address Id: 11797486 => Updated with Vin: 1G6DW677260112770 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 2265 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-05 11:18:14') AND us2_order_type_id = 3 ## Order found: 2375 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2375 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2266 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-05 11:18:18') AND us2_order_type_id = 3 ## Order found: 2375 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2375 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3491 ## Mailing found: '13458' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100120, Consumer Id: 812737, Address Id: 11887398 => Updated with Vin: 2G1WT58K469229728 ## Mail History Id: 31100150, Consumer Id: 839627, Address Id: 11888319 => Updated with Vin: 1GCCS13E088163006 ## Mail History Id: 31100108, Consumer Id: 839919, Address Id: 11895310 => Updated with Vin: 1GKFG65R111187071 ## Mail History Id: 31100098, Consumer Id: 815145, Address Id: 11889748 => Updated with Vin: 1D7HU18D35S157267 ## Mail History Id: 31100130, Consumer Id: 815963, Address Id: 11890623 => Updated with Vin: 2GTEC13V971155493 ## Mail History Id: 31100100, Consumer Id: 815965, Address Id: 11890625 => Updated with Vin: 1FTNX20S23EA30736 ## Mail History Id: 31100176, Consumer Id: 829225, Address Id: 11884751 => Updated with Vin: 1GHDT13W2V2710991 ## Total mail_history records updated with vin numbers: 7 out of 9 ============================================================ ====== Tracking Id: 2267 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-05 11:18:30') AND us2_order_type_id = 3 ## Order found: 2375 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2375 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3491 ## Mailing found: '13458' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2268 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-05 11:19:49') AND us2_order_type_id = 3 ## Order found: 2376 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2376 AND product_id = 144 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3705 ## Mailing found: '13480' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 36 ============================================================ ====== Tracking Id: 2269 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-05 11:20:02') AND us2_order_type_id = 3 ## Order found: 2376 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2376 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3705 ## Mailing found: '13461' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100294, Consumer Id: 962821, Address Id: 14835639 => Updated with Vin: 2GTEC13T761157630 ## Mail History Id: 31100222, Consumer Id: 971565, Address Id: 14842257 => Updated with Vin: 2G2WP552761160715 ## Mail History Id: 31100236, Consumer Id: 972130, Address Id: 14842639 => Updated with Vin: 2GCEK13T851354310 ## Mail History Id: 31100248, Consumer Id: 972143, Address Id: 14842652 => Updated with Vin: 1G1AL58F687237802 ## Mail History Id: 31100198, Consumer Id: 972145, Address Id: 14836359 => Updated with Vin: 2CKDL63F876016002 ## Mail History Id: 31100214, Consumer Id: 972151, Address Id: 9243079 => Updated with Vin: 1G2ZG58N574141847 ## Mail History Id: 31100202, Consumer Id: 972153, Address Id: 14842658 => Updated with Vin: 2GTEK13M571555707 ## Mail History Id: 31100244, Consumer Id: 972156, Address Id: 14842613 => Updated with Vin: 2G2WP552181105731 ## Mail History Id: 31100280, Consumer Id: 976091, Address Id: 14844219 => Updated with Vin: 2G4WS52J031249782 ## Mail History Id: 31100268, Consumer Id: 975263, Address Id: 14843719 => Updated with Vin: 1GNEC13Z04R166413 ## Mail History Id: 31100234, Consumer Id: 980465, Address Id: 14845592 => Updated with Vin: 1GCHC29K27E577037 ## Mail History Id: 31100260, Consumer Id: 980447, Address Id: 11387821 => Updated with Vin: 1G1AL55F977121013 ## Total mail_history records updated with vin numbers: 12 out of 14 ============================================================ ====== Tracking Id: 2270 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-05 11:20:05') AND us2_order_type_id = 3 ## Order found: 2377 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2377 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3808 ## Mailing found: '13484' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 16 ============================================================ ====== Tracking Id: 2271 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-05 11:20:14') AND us2_order_type_id = 3 ## Order found: 2377 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2377 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2272 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-05 11:20:17') AND us2_order_type_id = 3 ## Order found: 2376 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2376 AND product_id = 106 ## Job Group Found: '572' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('572') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808004') AND customer_id = 3705 ## Mailing found: '13437' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31101169, Consumer Id: 971432, Address Id: 14842128 => Updated with Vin: 3GNEC12Z15G151941 ## Mail History Id: 31101177, Consumer Id: 971434, Address Id: 14842130 => Updated with Vin: 1GKFC13078R162996 ## Mail History Id: 31101185, Consumer Id: 971437, Address Id: 10462712 => Updated with Vin: 2GCEK13T651314131 ## Mail History Id: 31101192, Consumer Id: 971439, Address Id: 14842134 => Updated with Vin: 1G2ZG58B774265365 ## Mail History Id: 31101170, Consumer Id: 971440, Address Id: 14842135 => Updated with Vin: 2GTEK19JX71682479 ## Mail History Id: 31101178, Consumer Id: 979741, Address Id: 14843541 => Updated with Vin: 1GNEC13V93R174649 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2273 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-05 11:20:18') AND us2_order_type_id = 3 ## Order found: 2378 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2378 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3721 ## Mailing found: '13481' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 2274 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-05 11:20:30') AND us2_order_type_id = 3 ## Order found: 2376 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2376 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2275 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-05 11:20:30') AND us2_order_type_id = 3 ## Order found: 2377 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2377 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3808 ## Mailing found: '13464' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100016, Consumer Id: 1171558, Address Id: 15029729 => Updated with Vin: JTEBU11F370016902 ## Mail History Id: 31100006, Consumer Id: 1171631, Address Id: 15029793 => Updated with Vin: 1GCHK23D47F192411 ## Mail History Id: 31100086, Consumer Id: 1171625, Address Id: 15029788 => Updated with Vin: 1D4HD58DX4F230355 ## Mail History Id: 31100196, Consumer Id: 1171547, Address Id: 12613753 => Updated with Vin: 5B4MP67G423341296 ## Mail History Id: 31100054, Consumer Id: 1171633, Address Id: 15029795 => Updated with Vin: 2GCEC13V061300547 ## Mail History Id: 31100052, Consumer Id: 1171467, Address Id: 15029650 => Updated with Vin: 1GNDM19W91B139415 ## Mail History Id: 31100012, Consumer Id: 1287676, Address Id: 15452331 => Updated with Vin: 1GCEC14C17Z552085 ## Mail History Id: 31099982, Consumer Id: 1171458, Address Id: 15029641 => Updated with Vin: 2G4WB52M4T1459697 ## Mail History Id: 31100068, Consumer Id: 1171466, Address Id: 15029649 => Updated with Vin: 2G1WX15K619308747 ## Mail History Id: 31099968, Consumer Id: 1171627, Address Id: 15029789 => Updated with Vin: 1GCEC14X78Z128477 ## Mail History Id: 31099988, Consumer Id: 1171549, Address Id: 15029721 => Updated with Vin: 1GNFK16Z23J343155 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 2276 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-05 11:46:32') AND us2_order_type_id = 3 ## Order found: 2379 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2379 AND product_id = 142 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3357 ## Mailing found: '13471' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 24 ============================================================ ====== Tracking Id: 2277 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-05 11:46:37') AND us2_order_type_id = 3 ## Order found: 2379 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2379 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3357 ## Mailing found: '13450' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100610, Consumer Id: 197951, Address Id: 402807 => Updated with Vin: 5LMEU88H35ZJ03766 ## Mail History Id: 31100740, Consumer Id: 199272, Address Id: 407771 => Updated with Vin: 4F4ZR17U51TM31713 ## Mail History Id: 31100506, Consumer Id: 187802, Address Id: 398483 => Updated with Vin: 1FAFP34N55W243228 ## Mail History Id: 31100616, Consumer Id: 198537, Address Id: 407543 => Updated with Vin: 1FAFP40474F120712 ## Mail History Id: 31100680, Consumer Id: 197655, Address Id: 407195 => Updated with Vin: JM1BK12F051271801 ## Mail History Id: 31100494, Consumer Id: 194700, Address Id: 404520 => Updated with Vin: 1ZVFT82H055222712 ## Mail History Id: 31100526, Consumer Id: 198992, Address Id: 406683 => Updated with Vin: 1FTPX14VX6KC20233 ## Mail History Id: 31100490, Consumer Id: 154271, Address Id: 396441 => Updated with Vin: JM1BK144571652171 ## Mail History Id: 31100496, Consumer Id: 155201, Address Id: 397278 => Updated with Vin: 1ZVHT82H385117191 ## Mail History Id: 31100488, Consumer Id: 155886, Address Id: 397912 => Updated with Vin: 1FTWW31R68EA40119 ## Mail History Id: 31100652, Consumer Id: 199341, Address Id: 407772 => Updated with Vin: 1FTNW21F13EB14406 ## Total mail_history records updated with vin numbers: 11 out of 13 ============================================================ ====== Tracking Id: 2278 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-05 11:46:44') AND us2_order_type_id = 3 ## Order found: 2378 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2378 AND product_id = 2150 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3721 ## Mailing found: '13481' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 2279 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-05 11:46:49') AND us2_order_type_id = 3 ## Order found: 2379 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2379 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3357 ## Mailing found: '13450' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100520, Consumer Id: 496229, Address Id: 9830836 => Updated with Vin: 1FTNW21F41EC58643 ## Mail History Id: 31100728, Consumer Id: 320392, Address Id: 9607300 => Updated with Vin: 1FTNW21F21ED69367 ## Mail History Id: 31100558, Consumer Id: 195068, Address Id: 404679 => Updated with Vin: 1FMYU03191KA16453 ## Mail History Id: 31100672, Consumer Id: 191414, Address Id: 400109 => Updated with Vin: 1FTYR14UX4PA95255 ## Mail History Id: 31100670, Consumer Id: 496230, Address Id: 882152 => Updated with Vin: 1FTWW32F42EB61548 ## Mail History Id: 31100770, Consumer Id: 496208, Address Id: 9830824 => Updated with Vin: 1FMZU62E02ZA58790 ## Mail History Id: 31100736, Consumer Id: 471309, Address Id: 9830116 => Updated with Vin: WDBUF70J63A209743 ## Mail History Id: 31100696, Consumer Id: 496224, Address Id: 6903275 => Updated with Vin: 1FMZU67E23UA32991 ## Mail History Id: 31100708, Consumer Id: 496221, Address Id: 886564 => Updated with Vin: 1FAHP36323W193275 ## Mail History Id: 31100550, Consumer Id: 496210, Address Id: 873065 => Updated with Vin: 5LMFU28R64LJ19973 ## Mail History Id: 31100628, Consumer Id: 461864, Address Id: 9819593 => Updated with Vin: 1FTDX1769VKA48556 ## Mail History Id: 31100706, Consumer Id: 152608, Address Id: 394927 => Updated with Vin: JM3LW28A360562222 ## Mail History Id: 31100592, Consumer Id: 153302, Address Id: 395557 => Updated with Vin: 1ZVFT80N365150236 ## Mail History Id: 31100748, Consumer Id: 193937, Address Id: 404281 => Updated with Vin: 1ZVFT82H465186685 ## Mail History Id: 31100642, Consumer Id: 200227, Address Id: 407651 => Updated with Vin: 1ZVFT80N365241216 ## Mail History Id: 31100720, Consumer Id: 460560, Address Id: 9818749 => Updated with Vin: 1FTWX31P06EA22367 ## Mail History Id: 31100614, Consumer Id: 153852, Address Id: 396061 => Updated with Vin: 1FTWX31P46EC78236 ## Mail History Id: 31100718, Consumer Id: 154671, Address Id: 396809 => Updated with Vin: 1FMYU93166KD09951 ## Mail History Id: 31100762, Consumer Id: 153632, Address Id: 395865 => Updated with Vin: 1FTPX14576NA85548 ## Mail History Id: 31100538, Consumer Id: 496234, Address Id: 9830840 => Updated with Vin: 1FTYR14U76PA43584 ## Mail History Id: 31100650, Consumer Id: 496211, Address Id: 9830826 => Updated with Vin: 1FAFP56U27A176264 ## Mail History Id: 31100548, Consumer Id: 154370, Address Id: 396538 => Updated with Vin: 1FTSW21P37EB13498 ## Mail History Id: 31100568, Consumer Id: 198252, Address Id: 404541 => Updated with Vin: 1FMEU63E37UB84613 ## Mail History Id: 31100700, Consumer Id: 155413, Address Id: 397467 => Updated with Vin: 1ZVHT82HX85124865 ## Mail History Id: 31100632, Consumer Id: 496217, Address Id: 876438 => Updated with Vin: 1FMCU03178KC06479 ## Mail History Id: 31100508, Consumer Id: 155352, Address Id: 397412 => Updated with Vin: 1FMFU20528LA14414 ## Mail History Id: 31100754, Consumer Id: 155910, Address Id: 397929 => Updated with Vin: 1FAHP35N38W149098 ## Mail History Id: 31100514, Consumer Id: 496218, Address Id: 9830830 => Updated with Vin: 1FAFP66L9YK115566 ## Mail History Id: 31100598, Consumer Id: 190599, Address Id: 399575 => Updated with Vin: 1FTNW21F92EA67589 ## Mail History Id: 31100660, Consumer Id: 496214, Address Id: 9830829 => Updated with Vin: 2MELM74W2TX670744 ## Mail History Id: 31100624, Consumer Id: 198918, Address Id: 406897 => Updated with Vin: 1LNLM91V3VY603156 ## Mail History Id: 31100502, Consumer Id: 461860, Address Id: 399066 => Updated with Vin: 1LNLM81W3VY654210 ## Mail History Id: 31100522, Consumer Id: 496215, Address Id: 871514 => Updated with Vin: 2FTZX1768WCA56921 ## Mail History Id: 31100644, Consumer Id: 496235, Address Id: 9830841 => Updated with Vin: 1FAFP444XWF165396 ## Mail History Id: 31100766, Consumer Id: 496206, Address Id: 9830822 => Updated with Vin: 2T1BR12E2XC151337 ## Mail History Id: 31100654, Consumer Id: 194880, Address Id: 403497 => Updated with Vin: 1FDXE40SXXHB62945 ## Mail History Id: 31100664, Consumer Id: 456732, Address Id: 9815892 => Updated with Vin: WDBJF70J5YA973206 ## Total mail_history records updated with vin numbers: 37 out of 41 ============================================================ ====== Tracking Id: 2280 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-05 11:46:56') AND us2_order_type_id = 3 ## Order found: 2378 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2378 AND product_id = 2147 ## Job Group Found: '570' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('570') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808002') AND customer_id = 3721 ## Mailing found: '13498' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 8 ============================================================ ====== Tracking Id: 2281 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-05 11:47:02') AND us2_order_type_id = 3 ## Order found: 2379 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2379 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3357 ## Mailing found: '13450' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100534, Consumer Id: 194104, Address Id: 404444 => Updated with Vin: 1FTYR10U74PA09003 ## Mail History Id: 31100634, Consumer Id: 189924, Address Id: 400423 => Updated with Vin: 1FTPW125X4KB13508 ## Mail History Id: 31100620, Consumer Id: 191257, Address Id: 400095 => Updated with Vin: 1FMDU75W02ZA70698 ## Mail History Id: 31100510, Consumer Id: 200032, Address Id: 407462 => Updated with Vin: 19UUA566X3A065834 ## Mail History Id: 31100542, Consumer Id: 193881, Address Id: 404090 => Updated with Vin: JM1BK323551348390 ## Mail History Id: 31100732, Consumer Id: 151544, Address Id: 393937 => Updated with Vin: 1FTPW12515KE83005 ## Mail History Id: 31100570, Consumer Id: 155519, Address Id: 397567 => Updated with Vin: 4F2YZ94105KM37752 ## Mail History Id: 31100586, Consumer Id: 196865, Address Id: 405647 => Updated with Vin: JM1CR29L460102292 ## Mail History Id: 31100678, Consumer Id: 197148, Address Id: 400287 => Updated with Vin: JM1NC25F260122776 ## Mail History Id: 31100692, Consumer Id: 155517, Address Id: 397565 => Updated with Vin: 1FTPX125X7NA55206 ## Mail History Id: 31100590, Consumer Id: 196880, Address Id: 406228 => Updated with Vin: 4T1BE46KX7U130070 ## Mail History Id: 31100658, Consumer Id: 197749, Address Id: 406284 => Updated with Vin: JM3LW28G110196158 ## Mail History Id: 31100606, Consumer Id: 194090, Address Id: 403879 => Updated with Vin: 2FMZA50664BA69488 ## Mail History Id: 31100578, Consumer Id: 196381, Address Id: 405353 => Updated with Vin: 5LMFU28R33LJ29553 ## Total mail_history records updated with vin numbers: 14 out of 14 ============================================================ ====== Tracking Id: 2282 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-05 12:19:02') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2283 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-05 12:19:05') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2284 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-05 12:19:09') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2285 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-05 12:19:14') AND us2_order_type_id = 3 ## Order found: 2380 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2380 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3471 ## Mailing found: '13476' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 50 ============================================================ ====== Tracking Id: 2286 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-05 12:19:24') AND us2_order_type_id = 3 ## Order found: 2380 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2380 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3471 ## Mailing found: '13456' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100308, Consumer Id: 823367, Address Id: 11878891 => Updated with Vin: 1GHDX03E3XD228320 ## Mail History Id: 31100338, Consumer Id: 799313, Address Id: 10219266 => Updated with Vin: 1GYEK63N12R292521 ## Mail History Id: 31100310, Consumer Id: 800827, Address Id: 7416621 => Updated with Vin: 1G6KD54Y32U301404 ## Mail History Id: 31100348, Consumer Id: 821346, Address Id: 11876704 => Updated with Vin: 1G6KS54Y44U115413 ## Mail History Id: 31100340, Consumer Id: 772975, Address Id: 11874206 => Updated with Vin: 3GYFK62877G300435 ## Mail History Id: 31100326, Consumer Id: 823381, Address Id: 11878894 => Updated with Vin: WBADE6323VBW54292 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 2287 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-05 12:19:26') AND us2_order_type_id = 3 ## Order found: 2381 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2381 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3451 ## Mailing found: '13474' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 11 ============================================================ ====== Tracking Id: 2288 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-05 14:16:19') AND us2_order_type_id = 3 ## Order found: 2370 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2370 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3418 ## Mailing found: '13473' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 3 ============================================================ ====== Tracking Id: 2289 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-05 14:16:33') AND us2_order_type_id = 3 ## Order found: 2381 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2381 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3451 ## Mailing found: '13454' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100434, Consumer Id: 614653, Address Id: 11757469 => Updated with Vin: 1GYEK13R0YR108619 ## Mail History Id: 31100390, Consumer Id: 628398, Address Id: 11765649 => Updated with Vin: 1G3WH52H2YF147285 ## Mail History Id: 31100468, Consumer Id: 626671, Address Id: 11764040 => Updated with Vin: 1G6DM56T550199724 ## Mail History Id: 31100362, Consumer Id: 626947, Address Id: 11764599 => Updated with Vin: 3GYEK62N75G140944 ## Mail History Id: 31100378, Consumer Id: 612074, Address Id: 11760445 => Updated with Vin: 1G6KD57Y77U201051 ## Mail History Id: 31100438, Consumer Id: 628320, Address Id: 3241996 => Updated with Vin: 1G6KD54Y34U242390 ## Mail History Id: 31100420, Consumer Id: 628264, Address Id: 11765557 => Updated with Vin: 1GTCS14X938115481 ## Mail History Id: 31100452, Consumer Id: 628549, Address Id: 3405155 => Updated with Vin: 1G6KD54YX5U215026 ## Mail History Id: 31100366, Consumer Id: 628552, Address Id: 11765758 => Updated with Vin: 1G6DP567050138534 ## Mail History Id: 31100446, Consumer Id: 628533, Address Id: 7697041 => Updated with Vin: 1G6DP577860119049 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 2290 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-05 14:16:46') AND us2_order_type_id = 3 ## Order found: 2381 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2381 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3451 ## Mailing found: '13454' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100436, Consumer Id: 616914, Address Id: 11758853 => Updated with Vin: 1GYEK63N92R123444 ## Mail History Id: 31100394, Consumer Id: 619300, Address Id: 11760954 => Updated with Vin: 3GNEC12T04G343698 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2291 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 4003 AND DATE(cart_created_date) = DATE('2008-09-05 16:34:02') AND us2_order_type_id = 3 ## Order found: 2382 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2382 AND product_id = 54 ## Job Group Found: '567' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('567') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'ele090408001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('ele090408001a') AND customer_id = 4003 ## Mailing found: '13418' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 2292 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-05 19:56:20') AND us2_order_type_id = 3 ## Order found: 2368 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2368 AND product_id = 2150 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2293 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-05 19:56:33') AND us2_order_type_id = 3 ## Order found: 2368 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2368 AND product_id = 2152 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2294 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-05 19:56:45') AND us2_order_type_id = 3 ## Order found: 2368 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2368 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2295 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-05 20:16:25') AND us2_order_type_id = 3 ## Order found: 2364 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2364 AND product_id = 2153 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2296 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-05 20:16:37') AND us2_order_type_id = 3 ## Order found: 2364 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2364 AND product_id = 2150 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2297 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-05 20:16:49') AND us2_order_type_id = 3 ## Order found: 2364 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2364 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2298 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-05 20:16:52') AND us2_order_type_id = 3 ## Order found: 2364 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2364 AND product_id = 2152 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2299 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-06 07:16:50') AND us2_order_type_id = 3 ## Order found: 2401 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2401 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3503 ## Mailing found: '13478' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 75 ============================================================ ====== Tracking Id: 2300 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-06 08:46:39') AND us2_order_type_id = 3 ## Order found: 2402 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2402 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3230 ## Mailing found: '13449' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099942, Consumer Id: 102900, Address Id: 53432 => Updated with Vin: 1FMZU77E51UB01126 ## Mail History Id: 31099936, Consumer Id: 63541, Address Id: 48135 => Updated with Vin: 1MEFM50U42A647091 ## Mail History Id: 31099932, Consumer Id: 67080, Address Id: 50522 => Updated with Vin: 1FAFP33P6YW352000 ## Mail History Id: 31099930, Consumer Id: 63866, Address Id: 52630 => Updated with Vin: 2FTRX18L21CA75879 ## Mail History Id: 31099944, Consumer Id: 93569, Address Id: 52072 => Updated with Vin: 1FTSW21R98ED25440 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2301 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-06 08:46:45') AND us2_order_type_id = 3 ## Order found: 2402 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2402 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3230 ## Mailing found: '13470' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 33 ============================================================ ====== Tracking Id: 2302 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-06 09:18:59') AND us2_order_type_id = 3 ## Order found: 2403 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2403 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2303 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-06 09:19:04') AND us2_order_type_id = 3 ## Order found: 2403 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2403 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3470 ## Mailing found: '13455' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100599, Consumer Id: 560231, Address Id: 4084893 => Updated with Vin: 1J4GX48S34C271771 ## Mail History Id: 31100571, Consumer Id: 567281, Address Id: 1542699 => Updated with Vin: 1J4FA64S96P778328 ## Mail History Id: 31099640, Consumer Id: 557775, Address Id: 10693932 => Updated with Vin: 1J4GX48S74C271823 ## Mail History Id: 31100655, Consumer Id: 563443, Address Id: 10703591 => Updated with Vin: 1J4GX58S93C507280 ## Mail History Id: 31099676, Consumer Id: 568618, Address Id: 7735448 => Updated with Vin: 1J4HR58N16C184985 ## Mail History Id: 31100575, Consumer Id: 569736, Address Id: 2541409 => Updated with Vin: 1J4FA54167L134246 ## Mail History Id: 31100713, Consumer Id: 580185, Address Id: 3173285 => Updated with Vin: 2C3KA63HX6H286538 ## Mail History Id: 31100567, Consumer Id: 569710, Address Id: 10692583 => Updated with Vin: 1N4AL11D16C206914 ## Mail History Id: 31100723, Consumer Id: 580524, Address Id: 1547268 => Updated with Vin: 1B3HB48B17D537846 ## Mail History Id: 31100601, Consumer Id: 571026, Address Id: 2039951 => Updated with Vin: 1J4FA24187L201959 ## Mail History Id: 31100747, Consumer Id: 571784, Address Id: 10718912 => Updated with Vin: 1B3HB28B77D182265 ## Mail History Id: 31100597, Consumer Id: 572094, Address Id: 10716626 => Updated with Vin: 1D8GU28K67W550106 ## Mail History Id: 31100643, Consumer Id: 583040, Address Id: 10744639 => Updated with Vin: 1C4GP45R74B550363 ## Mail History Id: 31100711, Consumer Id: 583054, Address Id: 10744647 => Updated with Vin: 1C3AN69L64X005601 ## Mail History Id: 31100539, Consumer Id: 583058, Address Id: 2145423 => Updated with Vin: 1J4GX58S94C167405 ## Mail History Id: 31100681, Consumer Id: 583061, Address Id: 10744649 => Updated with Vin: 1D7HA182X6J200761 ## Mail History Id: 31100611, Consumer Id: 583062, Address Id: 10744650 => Updated with Vin: 1B3HE78K47D593904 ## Mail History Id: 31100673, Consumer Id: 573004, Address Id: 10679027 => Updated with Vin: 1J8GS48K48C140173 ## Total mail_history records updated with vin numbers: 18 out of 23 ============================================================ ====== Tracking Id: 2304 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-06 09:19:16') AND us2_order_type_id = 3 ## Order found: 2403 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2403 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3470 ## Mailing found: '13455' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100745, Consumer Id: 555577, Address Id: 10690188 => Updated with Vin: 1C3EL75R84N244800 ## Mail History Id: 31099678, Consumer Id: 555935, Address Id: 2547033 => Updated with Vin: 1D7HA16K54J103872 ## Mail History Id: 31100769, Consumer Id: 583389, Address Id: 1554201 => Updated with Vin: 2C3KA43R47H665453 ## Mail History Id: 31100557, Consumer Id: 562501, Address Id: 2007183 => Updated with Vin: 1D7HE28K05S194701 ## Mail History Id: 31100663, Consumer Id: 562920, Address Id: 10701288 => Updated with Vin: 2C4GP44R95R543483 ## Mail History Id: 31100623, Consumer Id: 573034, Address Id: 5570573 => Updated with Vin: 1D7HU18288J129943 ## Mail History Id: 31100633, Consumer Id: 569474, Address Id: 1544138 => Updated with Vin: 2C3KA63H06H535879 ## Mail History Id: 31100521, Consumer Id: 580515, Address Id: 6829744 => Updated with Vin: 1D7HU18D65J587168 ## Mail History Id: 31100617, Consumer Id: 577202, Address Id: 10725821 => Updated with Vin: 2A4GM68426R667870 ## Mail History Id: 31100737, Consumer Id: 567243, Address Id: 10710900 => Updated with Vin: 1J4GX48S24C209973 ## Mail History Id: 31100577, Consumer Id: 567242, Address Id: 3157483 => Updated with Vin: 3A4FY48B96T338115 ## Mail History Id: 31099638, Consumer Id: 578374, Address Id: 10731152 => Updated with Vin: 1J4GX48N61C704957 ## Mail History Id: 31099616, Consumer Id: 568537, Address Id: 5990704 => Updated with Vin: 3D7KR28C16G208360 ## Mail History Id: 31100761, Consumer Id: 569475, Address Id: 10716494 => Updated with Vin: 1D4GP24R76B554943 ## Mail History Id: 31100763, Consumer Id: 580819, Address Id: 10740007 => Updated with Vin: 2C3KA53G16H434755 ## Mail History Id: 31100555, Consumer Id: 580813, Address Id: 1542334 => Updated with Vin: 1C3LC46K37N514396 ## Mail History Id: 31100771, Consumer Id: 570632, Address Id: 10717281 => Updated with Vin: 1D8GT58K77W669139 ## Mail History Id: 31099680, Consumer Id: 580818, Address Id: 7736680 => Updated with Vin: 1C3EL75R76N259016 ## Mail History Id: 31100773, Consumer Id: 571698, Address Id: 4129838 => Updated with Vin: 1D7HA18P27S130213 ## Mail History Id: 31100755, Consumer Id: 571492, Address Id: 10718834 => Updated with Vin: 3A4FY58BX7T625910 ## Mail History Id: 31100687, Consumer Id: 582473, Address Id: 10707324 => Updated with Vin: 1C3AN65L45X026289 ## Mail History Id: 31100585, Consumer Id: 572772, Address Id: 10719315 => Updated with Vin: 1G2ZG528254128568 ## Mail History Id: 31100665, Consumer Id: 583347, Address Id: 10745442 => Updated with Vin: 1J4FA59S54P794283 ## Mail History Id: 31100547, Consumer Id: 573086, Address Id: 10719453 => Updated with Vin: 1B3LC46K08N145575 ## Mail History Id: 31100691, Consumer Id: 573112, Address Id: 10719463 => Updated with Vin: WDBTJ75J14F072850 ## Total mail_history records updated with vin numbers: 25 out of 26 ============================================================ ====== Tracking Id: 2305 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-06 09:19:26') AND us2_order_type_id = 3 ## Order found: 2404 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2404 AND product_id = 142 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3768 ## Mailing found: '13482' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 2306 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-06 09:19:30') AND us2_order_type_id = 3 ## Order found: 2404 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2404 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3768 ## Mailing found: '13462' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099857, Consumer Id: 1108824, Address Id: 14982330 => Updated with Vin: 1G6DP577870130330 ## Mail History Id: 31099845, Consumer Id: 1042850, Address Id: 3238266 => Updated with Vin: 1GYDE637040122095 ## Mail History Id: 31099819, Consumer Id: 1048925, Address Id: 2775828 => Updated with Vin: 1GYEK63NX3R215065 ## Mail History Id: 31099943, Consumer Id: 1112609, Address Id: 1076745 => Updated with Vin: WDBKK49FX1F218350 ## Mail History Id: 31099839, Consumer Id: 1111272, Address Id: 3237845 => Updated with Vin: 1G6DW677750232028 ## Mail History Id: 31099981, Consumer Id: 1116660, Address Id: 14984177 => Updated with Vin: 1G6DM57N430141312 ## Mail History Id: 31099905, Consumer Id: 1051164, Address Id: 14954632 => Updated with Vin: W06VR54R7YR048038 ## Mail History Id: 31099987, Consumer Id: 1116561, Address Id: 14984131 => Updated with Vin: 1G6KD52Y2VU221633 ## Mail History Id: 31099875, Consumer Id: 1116658, Address Id: 10548347 => Updated with Vin: 5LMPU28L6WLJ43239 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 2307 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-06 09:19:42') AND us2_order_type_id = 3 ## Order found: 2404 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2404 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2308 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-06 10:16:43') AND us2_order_type_id = 3 ## Order found: 2405 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2405 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3846 ## Mailing found: '13486' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 6 ============================================================ ====== Tracking Id: 2309 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-06 10:18:41') AND us2_order_type_id = 3 ## Order found: 2403 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2403 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3470 ## Mailing found: '13475' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 33 ============================================================ ====== Tracking Id: 2310 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-06 10:18:51') AND us2_order_type_id = 3 ## Order found: 2406 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2406 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3416 ## Mailing found: '13472' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 24 ============================================================ ====== Tracking Id: 2311 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-06 10:19:26') AND us2_order_type_id = 3 ## Order found: 2407 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2407 AND product_id = 2152 ## Job Group Found: '574' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('574') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808006') AND customer_id = 3418 ## Mailing found: '13440' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31101037, Consumer Id: 667971, Address Id: 11786315 => Updated with Vin: 1G6DM57N930126787 ## Mail History Id: 31101039, Consumer Id: 668996, Address Id: 11787031 => Updated with Vin: 1G6DM577X40147652 ## Mail History Id: 31101041, Consumer Id: 680558, Address Id: 11787974 => Updated with Vin: 1G6KD57YX7U151276 ## Mail History Id: 31101043, Consumer Id: 672941, Address Id: 11789624 => Updated with Vin: 1GYEK63N05R192625 ## Mail History Id: 31101045, Consumer Id: 674194, Address Id: 11790460 => Updated with Vin: 1G6DP577560120613 ## Mail History Id: 31101047, Consumer Id: 680858, Address Id: 11788480 => Updated with Vin: 1G6DW677650219626 ## Mail History Id: 31101049, Consumer Id: 671465, Address Id: 11788666 => Updated with Vin: 1G6DP567150124691 ## Mail History Id: 31101051, Consumer Id: 669597, Address Id: 9823311 => Updated with Vin: 1G6KD54Y84U226962 ## Mail History Id: 31101053, Consumer Id: 670891, Address Id: 11788310 => Updated with Vin: 1G6KD52BXSU279139 ## Mail History Id: 31101055, Consumer Id: 677986, Address Id: 10326868 => Updated with Vin: 1G6KD57Y57U135244 ## Mail History Id: 31101057, Consumer Id: 680478, Address Id: 11794257 => Updated with Vin: 1G6DW677160186584 ## Mail History Id: 31101059, Consumer Id: 610425, Address Id: 11755153 => Updated with Vin: 1G6DR57V180133211 ## Mail History Id: 31101061, Consumer Id: 680857, Address Id: 11794486 => Updated with Vin: 1GYFK63877R406589 ## Total mail_history records updated with vin numbers: 13 out of 13 ============================================================ ====== Tracking Id: 2312 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-06 10:19:38') AND us2_order_type_id = 3 ## Order found: 2407 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2407 AND product_id = 2147 ## Job Group Found: '570' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('570') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808002') AND customer_id = 3418 ## Mailing found: '13496' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 32 ============================================================ ====== Tracking Id: 2313 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-06 10:19:50') AND us2_order_type_id = 3 ## Order found: 2407 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2407 AND product_id = 2153 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3418 ## Mailing found: '13452' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099696, Consumer Id: 673577, Address Id: 11790054 => Updated with Vin: 1GYEK63N42R247900 ## Mail History Id: 31099714, Consumer Id: 678290, Address Id: 11792937 => Updated with Vin: 1G6KD54Y3XU795481 ## Mail History Id: 31099718, Consumer Id: 680652, Address Id: 11794367 => Updated with Vin: 1G6DW677X60161120 ## Mail History Id: 31099732, Consumer Id: 680654, Address Id: 11794368 => Updated with Vin: 1HGCM56367A055073 ## Mail History Id: 31099712, Consumer Id: 680656, Address Id: 8873461 => Updated with Vin: W06VR54R4YR009343 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 2314 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-06 10:20:56') AND us2_order_type_id = 3 ## Order found: 2408 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2408 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3795 ## Mailing found: '13483' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 2 ============================================================ ====== Tracking Id: 2315 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-06 10:21:16') AND us2_order_type_id = 3 ## Order found: 2409 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2409 AND product_id = 142 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3697 ## Mailing found: '13479' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 10 ============================================================ ====== Tracking Id: 2316 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-06 10:21:24') AND us2_order_type_id = 3 ## Order found: 2409 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2409 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3697 ## Mailing found: '13460' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099999, Consumer Id: 1044683, Address Id: 12189654 => Updated with Vin: 1GYEE637270188320 ## Mail History Id: 31100019, Consumer Id: 1051898, Address Id: 14954971 => Updated with Vin: 1GYEE637060178741 ## Mail History Id: 31099881, Consumer Id: 1047127, Address Id: 2849054 => Updated with Vin: 1G6DW677650224132 ## Mail History Id: 31099895, Consumer Id: 1048180, Address Id: 14952250 => Updated with Vin: 1GYEK63N92R245818 ## Mail History Id: 31100007, Consumer Id: 1051376, Address Id: 14954711 => Updated with Vin: 1G6KF5497WU797574 ## Mail History Id: 31099951, Consumer Id: 1048968, Address Id: 5989052 => Updated with Vin: 1G6KD54YX1U230717 ## Mail History Id: 31100025, Consumer Id: 1051177, Address Id: 14954636 => Updated with Vin: 1GYEK63N64R241552 ## Mail History Id: 31099933, Consumer Id: 1050098, Address Id: 8827271 => Updated with Vin: 1GYEE63A240176014 ## Mail History Id: 31099995, Consumer Id: 1051905, Address Id: 14954973 => Updated with Vin: 1G6KS54YX3U124471 ## Total mail_history records updated with vin numbers: 9 out of 11 ============================================================ ====== Tracking Id: 2317 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-06 10:21:36') AND us2_order_type_id = 3 ## Order found: 2409 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2409 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3697 ## Mailing found: '13460' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099690, Consumer Id: 1051430, Address Id: 14954740 => Updated with Vin: 1G6KE57Y52U115999 ## Mail History Id: 31100021, Consumer Id: 1051429, Address Id: 14954615 => Updated with Vin: 2GCEK13T841306854 ## Mail History Id: 31100015, Consumer Id: 1051416, Address Id: 1087859 => Updated with Vin: 3GYEK62N65G255227 ## Mail History Id: 31099959, Consumer Id: 1049352, Address Id: 14954181 => Updated with Vin: 1G6KF57903U163840 ## Mail History Id: 31100001, Consumer Id: 1051433, Address Id: 12191003 => Updated with Vin: 1G6KD54YXVU299168 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 2318 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-06 10:22:30') AND us2_order_type_id = 3 ## Order found: 2410 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2410 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3815 ## Mailing found: '13485' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2319 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-06 10:22:38') AND us2_order_type_id = 3 ## Order found: 2410 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2410 AND product_id = 2153 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3815 ## Mailing found: '13465' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100043, Consumer Id: 1371177, Address Id: 15638993 => Updated with Vin: 1HGCG5650XA095111 ## Mail History Id: 31100061, Consumer Id: 1360077, Address Id: 15632640 => Updated with Vin: 1HGEJ8646YL041286 ## Mail History Id: 31100045, Consumer Id: 1362465, Address Id: 15635053 => Updated with Vin: SHSRD68575U309268 ## Mail History Id: 31100027, Consumer Id: 1370142, Address Id: 15637376 => Updated with Vin: 4S6CM58V2V4409005 ## Mail History Id: 31099831, Consumer Id: 1377833, Address Id: 15671052 => Updated with Vin: 1HGEJ6222XL001259 ## Mail History Id: 31099871, Consumer Id: 1378769, Address Id: 3239913 => Updated with Vin: JH4UA3650TC004067 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2320 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-06 10:22:50') AND us2_order_type_id = 3 ## Order found: 2410 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2410 AND product_id = 2147 ## Job Group Found: '570' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('570') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808002') AND customer_id = 3815 ## Mailing found: '13499' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 13 ============================================================ ====== Tracking Id: 2321 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-06 10:23:02') AND us2_order_type_id = 3 ## Order found: 2410 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2410 AND product_id = 2150 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3815 ## Mailing found: '13485' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 2 ============================================================ ====== Tracking Id: 2322 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-06 10:23:14') AND us2_order_type_id = 3 ## Order found: 2410 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2410 AND product_id = 2152 ## Job Group Found: '574' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('574') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808006') AND customer_id = 3815 ## Mailing found: '13443' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31101063, Consumer Id: 1370665, Address Id: 15638319 => Updated with Vin: 1HGES26741L030121 ## Mail History Id: 31101065, Consumer Id: 1367900, Address Id: 2415169 => Updated with Vin: 2T1BR12E8YC286078 ## Mail History Id: 31101067, Consumer Id: 1366788, Address Id: 15639614 => Updated with Vin: 5FNRL38767B094429 ## Mail History Id: 31101069, Consumer Id: 1361689, Address Id: 6164395 => Updated with Vin: 1HGCM56884A021272 ## Mail History Id: 31101071, Consumer Id: 1363593, Address Id: 15636507 => Updated with Vin: 2HGES26703H527893 ## Mail History Id: 31101073, Consumer Id: 1366849, Address Id: 15639644 => Updated with Vin: 1HGFA16826L013240 ## Total mail_history records updated with vin numbers: 6 out of 10 ============================================================ ====== Tracking Id: 2323 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-06 10:27:05') AND us2_order_type_id = 3 ## Order found: 2408 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2408 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3795 ## Mailing found: '13463' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100223, Consumer Id: 1052288, Address Id: 3104612 => Updated with Vin: 1HGCM56384A040456 ## Mail History Id: 31100151, Consumer Id: 1056166, Address Id: 4725800 => Updated with Vin: 5FNRL18914B009692 ## Mail History Id: 31100205, Consumer Id: 1057879, Address Id: 3962656 => Updated with Vin: JHLRE38767C006750 ## Mail History Id: 31100091, Consumer Id: 1059884, Address Id: 14957335 => Updated with Vin: JHMFA36257S016161 ## Mail History Id: 31100135, Consumer Id: 1059965, Address Id: 6077109 => Updated with Vin: 5FNRL38938B024440 ## Mail History Id: 31100159, Consumer Id: 1060179, Address Id: 3030031 => Updated with Vin: 1HGFA16538L065663 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 2324 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-06 10:27:17') AND us2_order_type_id = 3 ## Order found: 2408 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2408 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3795 ## Mailing found: '13463' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100173, Consumer Id: 1053473, Address Id: 5535815 => Updated with Vin: 1HGCM56394A150903 ## Mail History Id: 31100145, Consumer Id: 1059876, Address Id: 7823617 => Updated with Vin: 1HGCP26868A022254 ## Mail History Id: 31100167, Consumer Id: 1059713, Address Id: 179053 => Updated with Vin: 1HGCP26308A030600 ## Mail History Id: 31099865, Consumer Id: 1058849, Address Id: 8591093 => Updated with Vin: 1FAFP56U26A155347 ## Mail History Id: 31100203, Consumer Id: 1068070, Address Id: 7703563 => Updated with Vin: 1HGCB7656PA031133 ## Mail History Id: 31100131, Consumer Id: 1054365, Address Id: 6610974 => Updated with Vin: 1HGCG1650YA077752 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 2325 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-06 10:46:16') AND us2_order_type_id = 3 ## Order found: 2402 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2402 AND product_id = 140 ## Job Group Found: '574' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('574') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808006') AND customer_id = 3230 ## Mailing found: '13439' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2326 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-06 10:46:35') AND us2_order_type_id = 3 ## Order found: 2411 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2411 AND product_id = 140 ## Job Group Found: '574' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('574') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808006') AND customer_id = 3808 ## Mailing found: '13442' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31101077, Consumer Id: 1276115, Address Id: 15456294 => Updated with Vin: 2G2FV22P6R2210751 ## Mail History Id: 31101077, Consumer Id: 1276115, Address Id: 15456294 => Updated with Vin: 2G2FV22P6R2210751 ## Mail History Id: 31101077, Consumer Id: 1276115, Address Id: 15456294 => Updated with Vin: 2G2FV22P6R2210751 ## Mail History Id: 31101079, Consumer Id: 1278632, Address Id: 15451599 => Updated with Vin: 2GCEC19V721386635 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2327 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-06 11:16:35') AND us2_order_type_id = 3 ## Order found: 2412 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2412 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2328 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-06 11:16:39') AND us2_order_type_id = 3 ## Order found: 2412 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2412 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3486 ## Mailing found: '13457' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100243, Consumer Id: 490021, Address Id: 9826367 => Updated with Vin: 1GNES16S256110526 ## Mail History Id: 31100321, Consumer Id: 464898, Address Id: 4372869 => Updated with Vin: 1G1JF52F947309084 ## Mail History Id: 31100343, Consumer Id: 465021, Address Id: 1035569 => Updated with Vin: 1GNEC13Z34J330803 ## Mail History Id: 31100453, Consumer Id: 466704, Address Id: 4378210 => Updated with Vin: 1GCEK19B75E229778 ## Mail History Id: 31100247, Consumer Id: 466958, Address Id: 5416514 => Updated with Vin: 2G1WH52K959288752 ## Mail History Id: 31100473, Consumer Id: 470437, Address Id: 9821590 => Updated with Vin: 1GNEC13TX5R130791 ## Mail History Id: 31100423, Consumer Id: 468294, Address Id: 1039236 => Updated with Vin: 1GNEC16ZX2J181136 ## Mail History Id: 31100403, Consumer Id: 468628, Address Id: 8116468 => Updated with Vin: 1GNDS13S822471021 ## Mail History Id: 31100367, Consumer Id: 468954, Address Id: 9822293 => Updated with Vin: 3G5DA03EX3S606576 ## Mail History Id: 31100249, Consumer Id: 470791, Address Id: 1557909 => Updated with Vin: 2GCEC13J381169436 ## Mail History Id: 31100385, Consumer Id: 490019, Address Id: 9826365 => Updated with Vin: 1G3WS52H6YF205271 ## Mail History Id: 31100287, Consumer Id: 490020, Address Id: 9826366 => Updated with Vin: 1GNDT13S032176333 ## Total mail_history records updated with vin numbers: 12 out of 14 ============================================================ ====== Tracking Id: 2329 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-06 11:16:50') AND us2_order_type_id = 3 ## Order found: 2412 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2412 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3486 ## Mailing found: '13457' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2330 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-06 11:17:07') AND us2_order_type_id = 3 ## Order found: 2406 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2406 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3416 ## Mailing found: '13451' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099836, Consumer Id: 625366, Address Id: 1968360 => Updated with Vin: 1G6KF57904U251031 ## Mail History Id: 31099784, Consumer Id: 692859, Address Id: 4762072 => Updated with Vin: 1GYEE637X60219506 ## Mail History Id: 31099778, Consumer Id: 683703, Address Id: 1961160 => Updated with Vin: 1G6KD54Y93U243557 ## Mail History Id: 31099868, Consumer Id: 683128, Address Id: 6889210 => Updated with Vin: 1G6KF54951U118099 ## Mail History Id: 31099838, Consumer Id: 693267, Address Id: 4781826 => Updated with Vin: 1G6KD54Y7VU272736 ## Mail History Id: 31099826, Consumer Id: 625949, Address Id: 10934333 => Updated with Vin: 1G6KD57Y67U231562 ## Mail History Id: 31099898, Consumer Id: 686075, Address Id: 1969812 => Updated with Vin: 1G6KD54Y04U119176 ## Mail History Id: 31099794, Consumer Id: 688847, Address Id: 1962922 => Updated with Vin: 1G6KD54Y22U242121 ## Mail History Id: 31099830, Consumer Id: 689329, Address Id: 1967740 => Updated with Vin: 1G6DM577240116217 ## Mail History Id: 31099786, Consumer Id: 690382, Address Id: 11797599 => Updated with Vin: 1G6DW677760162547 ## Mail History Id: 31099918, Consumer Id: 690396, Address Id: 11766208 => Updated with Vin: 1G6DC67A060167691 ## Mail History Id: 31099846, Consumer Id: 692295, Address Id: 10934662 => Updated with Vin: 1G6DW677660211849 ## Total mail_history records updated with vin numbers: 12 out of 14 ============================================================ ====== Tracking Id: 2331 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-06 11:17:13') AND us2_order_type_id = 3 ## Order found: 2413 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2413 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3491 ## Mailing found: '13477' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 32 ============================================================ ====== Tracking Id: 2332 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-06 11:17:19') AND us2_order_type_id = 3 ## Order found: 2406 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2406 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3416 ## Mailing found: '13451' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099702, Consumer Id: 693010, Address Id: 11798632 => Updated with Vin: 1GYEE637160133503 ## Mail History Id: 31099834, Consumer Id: 690445, Address Id: 11797619 => Updated with Vin: 1G6KD52YXTU280670 ## Mail History Id: 31099886, Consumer Id: 684294, Address Id: 1969461 => Updated with Vin: 2G1WX15K219226921 ## Mail History Id: 31099876, Consumer Id: 693004, Address Id: 4792012 => Updated with Vin: 1GYFK63837R404662 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 2333 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-06 11:17:30') AND us2_order_type_id = 3 ## Order found: 2413 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2413 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3491 ## Mailing found: '13458' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100174, Consumer Id: 809572, Address Id: 11884219 => Updated with Vin: 3GNEC16Z45G132083 ## Mail History Id: 31100116, Consumer Id: 811750, Address Id: 11886136 => Updated with Vin: 1D4HR48N03F602188 ## Mail History Id: 31100094, Consumer Id: 812566, Address Id: 11887289 => Updated with Vin: KL1TD66656B678506 ## Mail History Id: 31100114, Consumer Id: 812722, Address Id: 11887386 => Updated with Vin: 1GCEK19JX7Z518575 ## Mail History Id: 31100160, Consumer Id: 813247, Address Id: 11880188 => Updated with Vin: 3GNDA13D27S592093 ## Mail History Id: 31100180, Consumer Id: 814386, Address Id: 11888982 => Updated with Vin: 3GCEC13J07G514766 ## Mail History Id: 31100178, Consumer Id: 814817, Address Id: 11884603 => Updated with Vin: 1GTEC19X97Z114507 ## Mail History Id: 31100186, Consumer Id: 815125, Address Id: 11889731 => Updated with Vin: 1G1AK55F867803141 ## Mail History Id: 31100126, Consumer Id: 815376, Address Id: 11890200 => Updated with Vin: 2G1WB55K979139192 ## Mail History Id: 31100188, Consumer Id: 816042, Address Id: 11891233 => Updated with Vin: 1G1ZT54835F151567 ## Mail History Id: 31100104, Consumer Id: 831383, Address Id: 1298795 => Updated with Vin: 1GCEC19X84Z351629 ## Mail History Id: 31100122, Consumer Id: 832743, Address Id: 1302340 => Updated with Vin: 1GNEK13T95R149920 ## Mail History Id: 31100136, Consumer Id: 832742, Address Id: 11883576 => Updated with Vin: 1G1ZT64825F166924 ## Total mail_history records updated with vin numbers: 13 out of 14 ============================================================ ====== Tracking Id: 2334 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-06 11:17:42') AND us2_order_type_id = 3 ## Order found: 2413 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2413 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3491 ## Mailing found: '13458' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100144, Consumer Id: 839896, Address Id: 11895504 => Updated with Vin: 2GCEC19T111190994 ## Mail History Id: 31100102, Consumer Id: 838630, Address Id: 11894833 => Updated with Vin: 3GCEK13M47G504173 ## Mail History Id: 31100192, Consumer Id: 814209, Address Id: 11888876 => Updated with Vin: 4M2DU86W84ZJ53396 ## Mail History Id: 31100168, Consumer Id: 815252, Address Id: 11889816 => Updated with Vin: 1GNFC13J58R144332 ## Mail History Id: 31100142, Consumer Id: 815911, Address Id: 11890585 => Updated with Vin: 1G1AL15F377342146 ## Mail History Id: 31100146, Consumer Id: 838302, Address Id: 11886563 => Updated with Vin: 1GKEC13T75R165804 ## Mail History Id: 31100128, Consumer Id: 834841, Address Id: 1302886 => Updated with Vin: 1GCHK23U65F909694 ## Total mail_history records updated with vin numbers: 7 out of 10 ============================================================ ====== Tracking Id: 2335 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-06 11:17:54') AND us2_order_type_id = 3 ## Order found: 2413 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2413 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2336 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-06 11:18:14') AND us2_order_type_id = 3 ## Order found: 2414 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2414 AND product_id = 144 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3705 ## Mailing found: '13480' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 28 ============================================================ ====== Tracking Id: 2337 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-06 11:18:20') AND us2_order_type_id = 3 ## Order found: 2414 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2414 AND product_id = 106 ## Job Group Found: '572' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('572') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808004') AND customer_id = 3705 ## Mailing found: '13437' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31101173, Consumer Id: 969801, Address Id: 14840967 => Updated with Vin: 3GCEC13047G544473 ## Mail History Id: 31101181, Consumer Id: 971376, Address Id: 14842091 => Updated with Vin: 2GCEC130381140414 ## Mail History Id: 31101188, Consumer Id: 970881, Address Id: 14837833 => Updated with Vin: 3GTEC13C97G544138 ## Mail History Id: 31101166, Consumer Id: 979776, Address Id: 14844505 => Updated with Vin: 1GCEC19X66Z296732 ## Mail History Id: 31101174, Consumer Id: 978143, Address Id: 11485938 => Updated with Vin: 1GCJC33235F860294 ## Mail History Id: 31101182, Consumer Id: 969962, Address Id: 14841082 => Updated with Vin: 2GCEC19T711390701 ## Mail History Id: 31101189, Consumer Id: 979552, Address Id: 14841176 => Updated with Vin: 1GNFK16Z13J114529 ## Mail History Id: 31101167, Consumer Id: 970789, Address Id: 14841705 => Updated with Vin: 1G1YY26E875140457 ## Mail History Id: 31101175, Consumer Id: 979692, Address Id: 9253528 => Updated with Vin: 1G1AK15F167640034 ## Mail History Id: 31101183, Consumer Id: 979784, Address Id: 14846288 => Updated with Vin: 1GKDS13SX22266121 ## Total mail_history records updated with vin numbers: 10 out of 16 ============================================================ ====== Tracking Id: 2338 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-06 11:18:26') AND us2_order_type_id = 3 ## Order found: 2411 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2411 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3808 ## Mailing found: '13484' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 10 ============================================================ ====== Tracking Id: 2339 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-06 11:18:33') AND us2_order_type_id = 3 ## Order found: 2415 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2415 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3721 ## Mailing found: '13481' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 10 ============================================================ ====== Tracking Id: 2340 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-06 11:18:37') AND us2_order_type_id = 3 ## Order found: 2411 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2411 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3808 ## Mailing found: '13464' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100072, Consumer Id: 1268506, Address Id: 15456233 => Updated with Vin: 1GNDT13S662213941 ## Mail History Id: 31100034, Consumer Id: 1268670, Address Id: 15456897 => Updated with Vin: 3GNDA23P96S640400 ## Mail History Id: 31100078, Consumer Id: 1287568, Address Id: 15464692 => Updated with Vin: 1G1ND52J8Y6147388 ## Mail History Id: 31100000, Consumer Id: 1287565, Address Id: 15464689 => Updated with Vin: 1GCCS1444S8152183 ## Mail History Id: 31100030, Consumer Id: 1273266, Address Id: 15029470 => Updated with Vin: 2G1WF55E6Y9149520 ## Mail History Id: 31099992, Consumer Id: 1287563, Address Id: 15464688 => Updated with Vin: 3G1JC124XXS842535 ## Mail History Id: 31099980, Consumer Id: 1280927, Address Id: 15460263 => Updated with Vin: 1G1JC12F837340763 ## Mail History Id: 31100058, Consumer Id: 1273858, Address Id: 15452217 => Updated with Vin: 1GCCS1447X8207054 ## Mail History Id: 31100010, Consumer Id: 1267721, Address Id: 15451042 => Updated with Vin: 1GCHC292X4E316363 ## Mail History Id: 31100074, Consumer Id: 1268158, Address Id: 15454824 => Updated with Vin: 2CNDL63F356174151 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 2341 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-06 11:18:45') AND us2_order_type_id = 3 ## Order found: 2414 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2414 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3705 ## Mailing found: '13461' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100212, Consumer Id: 972148, Address Id: 11040645 => Updated with Vin: 1G1ZU57NX7F295103 ## Mail History Id: 31100270, Consumer Id: 971980, Address Id: 14842529 => Updated with Vin: 3GNEC12008G217742 ## Mail History Id: 31100230, Consumer Id: 960873, Address Id: 14831577 => Updated with Vin: 1G4HR54K91U109774 ## Mail History Id: 31100240, Consumer Id: 980460, Address Id: 14846675 => Updated with Vin: 1GNEC13Z84J257301 ## Mail History Id: 31100290, Consumer Id: 980157, Address Id: 14846510 => Updated with Vin: 1GKES63M872205277 ## Total mail_history records updated with vin numbers: 5 out of 8 ============================================================ ====== Tracking Id: 2342 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-06 11:18:49') AND us2_order_type_id = 3 ## Order found: 2411 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2411 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3808 ## Mailing found: '13464' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099970, Consumer Id: 1171635, Address Id: 15029797 => Updated with Vin: 2G1WD58C569238945 ## Mail History Id: 31100066, Consumer Id: 1171623, Address Id: 15029787 => Updated with Vin: 2CNDL63FX66195967 ## Mail History Id: 31099976, Consumer Id: 1171453, Address Id: 15029636 => Updated with Vin: 1GTHK23163F193589 ## Mail History Id: 31100050, Consumer Id: 1171632, Address Id: 15029794 => Updated with Vin: 1GNEK13Z24R164844 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 2343 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-06 11:19:02') AND us2_order_type_id = 3 ## Order found: 2411 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2411 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3808 ## Mailing found: '13464' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100038, Consumer Id: 1265767, Address Id: 15437360 => Updated with Vin: 1GNEC13V13R118978 ## Mail History Id: 31100044, Consumer Id: 1266440, Address Id: 15437919 => Updated with Vin: 3GNEK13T73G166437 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 2344 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-06 11:46:24') AND us2_order_type_id = 3 ## Order found: 2416 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2416 AND product_id = 142 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3357 ## Mailing found: '13471' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 26 ============================================================ ====== Tracking Id: 2345 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-06 11:46:28') AND us2_order_type_id = 3 ## Order found: 2416 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2416 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3357 ## Mailing found: '13450' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100560, Consumer Id: 195749, Address Id: 394449 => Updated with Vin: 2FMZA51462BA66309 ## Mail History Id: 31100544, Consumer Id: 544376, Address Id: 10415524 => Updated with Vin: JM1BK12F441215696 ## Mail History Id: 31100690, Consumer Id: 471302, Address Id: 9830110 => Updated with Vin: 1FAFP40423F357784 ## Mail History Id: 31100768, Consumer Id: 471303, Address Id: 9830111 => Updated with Vin: JM1BK12G961518940 ## Mail History Id: 31100604, Consumer Id: 197559, Address Id: 406780 => Updated with Vin: JM3ER29L970126881 ## Mail History Id: 31100682, Consumer Id: 197661, Address Id: 396080 => Updated with Vin: 1YVHP82D075M57248 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2346 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-06 11:46:36') AND us2_order_type_id = 3 ## Order found: 2415 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2415 AND product_id = 2150 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3721 ## Mailing found: '13481' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 5 ============================================================ ====== Tracking Id: 2347 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-06 11:46:40') AND us2_order_type_id = 3 ## Order found: 2416 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2416 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3357 ## Mailing found: '13450' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100554, Consumer Id: 154653, Address Id: 396794 => Updated with Vin: 4A3AC44G51E068225 ## Mail History Id: 31100698, Consumer Id: 199142, Address Id: 407401 => Updated with Vin: 1FMPU16L41LA95264 ## Mail History Id: 31100726, Consumer Id: 197732, Address Id: 406283 => Updated with Vin: 1YVFP84C745N87325 ## Mail History Id: 31100530, Consumer Id: 155520, Address Id: 397568 => Updated with Vin: 1G8JU84F52Y510803 ## Mail History Id: 31100772, Consumer Id: 200088, Address Id: 407464 => Updated with Vin: 1FMZU73E92ZC46924 ## Mail History Id: 31100630, Consumer Id: 199576, Address Id: 407431 => Updated with Vin: JTKKT624840048959 ## Mail History Id: 31100556, Consumer Id: 199741, Address Id: 407441 => Updated with Vin: JH4CL96985L008513 ## Mail History Id: 31100588, Consumer Id: 155181, Address Id: 397259 => Updated with Vin: 1FTNE14W57DA73847 ## Mail History Id: 31100574, Consumer Id: 197625, Address Id: 406282 => Updated with Vin: 1FMYU02Z67KA20640 ## Mail History Id: 31100564, Consumer Id: 153897, Address Id: 396097 => Updated with Vin: 1FMCU49HX7KB44277 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 2348 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-06 11:46:53') AND us2_order_type_id = 3 ## Order found: 2416 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2416 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3357 ## Mailing found: '13450' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100704, Consumer Id: 190649, Address Id: 402339 => Updated with Vin: JM1BJ225120502559 ## Mail History Id: 31100666, Consumer Id: 190422, Address Id: 401997 => Updated with Vin: 1FAFP40433F370706 ## Mail History Id: 31100600, Consumer Id: 188121, Address Id: 399139 => Updated with Vin: 1FTWW31PX5EB64713 ## Mail History Id: 31100580, Consumer Id: 199194, Address Id: 407767 => Updated with Vin: 1FAHP60A52Y118162 ## Mail History Id: 31100518, Consumer Id: 198885, Address Id: 407148 => Updated with Vin: 5LMFU28R44LJ31653 ## Mail History Id: 31100566, Consumer Id: 194039, Address Id: 404293 => Updated with Vin: 1FTPX12514NB39801 ## Mail History Id: 31100722, Consumer Id: 198877, Address Id: 407744 => Updated with Vin: 4JGAB57E85A550279 ## Mail History Id: 31100742, Consumer Id: 155884, Address Id: 397910 => Updated with Vin: JTKDE167260142574 ## Mail History Id: 31100662, Consumer Id: 199088, Address Id: 407763 => Updated with Vin: 1N4AL21E27N488405 ## Mail History Id: 31100636, Consumer Id: 192413, Address Id: 402518 => Updated with Vin: JM1BJ225331139399 ## Mail History Id: 31100500, Consumer Id: 155890, Address Id: 397915 => Updated with Vin: 3FAHP06Z38R143160 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 2349 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-06 12:17:39') AND us2_order_type_id = 3 ## Order found: 2417 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2417 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2350 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-06 12:17:42') AND us2_order_type_id = 3 ## Order found: 2417 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2417 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2351 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-06 12:17:45') AND us2_order_type_id = 3 ## Order found: 2417 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2417 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3427 ## Mailing found: '13453' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099795, Consumer Id: 483593, Address Id: 8539605 => Updated with Vin: 2HGFA55518H701938 ## Mail History Id: 31099793, Consumer Id: 483507, Address Id: 9838164 => Updated with Vin: 1HGCP26888A051786 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2352 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-06 12:17:47') AND us2_order_type_id = 3 ## Order found: 2418 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2418 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3471 ## Mailing found: '13476' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 21 ============================================================ ====== Tracking Id: 2353 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-06 12:17:57') AND us2_order_type_id = 3 ## Order found: 2418 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2418 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3471 ## Mailing found: '13456' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100316, Consumer Id: 817783, Address Id: 10216007 => Updated with Vin: 1GYEK63N12R245988 ## Mail History Id: 31100342, Consumer Id: 823219, Address Id: 11876587 => Updated with Vin: 1G6DT57V780138530 ## Mail History Id: 31100318, Consumer Id: 823183, Address Id: 11878840 => Updated with Vin: 1GHDX03E93D158879 ## Mail History Id: 31100336, Consumer Id: 806931, Address Id: 10219136 => Updated with Vin: 1GKEK13ZX3R180110 ## Mail History Id: 31100334, Consumer Id: 806922, Address Id: 11876864 => Updated with Vin: 2G2WC54C551328646 ## Total mail_history records updated with vin numbers: 5 out of 7 ============================================================ ====== Tracking Id: 2354 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-06 12:18:09') AND us2_order_type_id = 3 ## Order found: 2419 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2419 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3451 ## Mailing found: '13474' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 25 ============================================================ ====== Tracking Id: 2355 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-06 14:16:27') AND us2_order_type_id = 3 ## Order found: 2419 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2419 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3451 ## Mailing found: '13454' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100392, Consumer Id: 627757, Address Id: 11765203 => Updated with Vin: 1G6DP577470145116 ## Mail History Id: 31100444, Consumer Id: 626824, Address Id: 11761598 => Updated with Vin: 3GYFK62817G145879 ## Mail History Id: 31100470, Consumer Id: 628544, Address Id: 11765753 => Updated with Vin: JTHBJ46G972074659 ## Mail History Id: 31100374, Consumer Id: 612073, Address Id: 11760444 => Updated with Vin: 1GYEE637070144056 ## Mail History Id: 31100432, Consumer Id: 628540, Address Id: 11765749 => Updated with Vin: 1G6DM57NX30156123 ## Mail History Id: 31100450, Consumer Id: 628521, Address Id: 11765737 => Updated with Vin: 1GYFK66887R310627 ## Mail History Id: 31100472, Consumer Id: 628546, Address Id: 11765754 => Updated with Vin: 1G6DP567950122610 ## Mail History Id: 31100364, Consumer Id: 612951, Address Id: 3909077 => Updated with Vin: 1G6KD54YX1U223024 ## Total mail_history records updated with vin numbers: 8 out of 9 ============================================================ ====== Tracking Id: 2356 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-06 14:16:38') AND us2_order_type_id = 3 ## Order found: 2419 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2419 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3451 ## Mailing found: '13454' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100396, Consumer Id: 620014, Address Id: 3404278 => Updated with Vin: 1G6DP567150113352 ## Mail History Id: 31100400, Consumer Id: 611775, Address Id: 11759928 => Updated with Vin: 1G6DP577X70125131 ## Mail History Id: 31100454, Consumer Id: 628140, Address Id: 1248610 => Updated with Vin: 1G6DW677060176581 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2357 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-06 19:56:15') AND us2_order_type_id = 3 ## Order found: 2405 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2405 AND product_id = 2152 ## Job Group Found: '574' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('574') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808006') AND customer_id = 3846 ## Mailing found: '13444' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31101081, Consumer Id: 1186942, Address Id: 15371303 => Updated with Vin: 4S3BH675647608186 ## Mail History Id: 31101083, Consumer Id: 1184778, Address Id: 15368914 => Updated with Vin: 4S4BT61C437105692 ## Mail History Id: 31101085, Consumer Id: 1186658, Address Id: 15370908 => Updated with Vin: 4S3BH686X37643741 ## Mail History Id: 31101087, Consumer Id: 1184708, Address Id: 15368743 => Updated with Vin: 4S4BP61C257345718 ## Mail History Id: 31101089, Consumer Id: 1178442, Address Id: 15366840 => Updated with Vin: JF1SG65674H723085 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2358 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-06 19:56:27') AND us2_order_type_id = 3 ## Order found: 2405 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2405 AND product_id = 2147 ## Job Group Found: '570' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('570') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808002') AND customer_id = 3846 ## Mailing found: '13500' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 3 ============================================================ ====== Tracking Id: 2359 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-06 20:16:33') AND us2_order_type_id = 3 ## Order found: 2401 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2401 AND product_id = 2153 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3503 ## Mailing found: '13459' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099621, Consumer Id: 2182670, Address Id: 4381406 => Updated with Vin: 2T1BR32E35C428859 ## Mail History Id: 31099631, Consumer Id: 2165860, Address Id: 9732211 => Updated with Vin: JTKDE167470168465 ## Mail History Id: 31099759, Consumer Id: 2159305, Address Id: 9723547 => Updated with Vin: JTEHD20V540006733 ## Total mail_history records updated with vin numbers: 3 out of 9 ============================================================ ====== Tracking Id: 2360 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-06 20:16:45') AND us2_order_type_id = 3 ## Order found: 2401 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2401 AND product_id = 2150 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3503 ## Mailing found: '13478' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 12 ============================================================ ====== Tracking Id: 2361 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-06 20:16:57') AND us2_order_type_id = 3 ## Order found: 2401 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2401 AND product_id = 2152 ## Job Group Found: '574' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('574') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808006') AND customer_id = 3503 ## Mailing found: '13441' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 2 ============================================================ ====== Tracking Id: 2362 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-06 20:17:09') AND us2_order_type_id = 3 ## Order found: 2401 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2401 AND product_id = 2147 ## Job Group Found: '570' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('570') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808002') AND customer_id = 3503 ## Mailing found: '13497' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 3 ============================================================ ====== Tracking Id: 2363 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-07 07:16:56') AND us2_order_type_id = 3 ## Order found: 2437 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2437 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3503 ## Mailing found: '13478' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 59 ============================================================ ====== Tracking Id: 2364 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-07 08:46:49') AND us2_order_type_id = 3 ## Order found: 2438 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2438 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3230 ## Mailing found: '13449' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099924, Consumer Id: 93281, Address Id: 50495 => Updated with Vin: 1FTPX14V07FA93731 ## Mail History Id: 31099928, Consumer Id: 101517, Address Id: 49702 => Updated with Vin: 1FMYU92143KA32228 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2365 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-07 08:46:55') AND us2_order_type_id = 3 ## Order found: 2438 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2438 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3230 ## Mailing found: '13470' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 41 ============================================================ ====== Tracking Id: 2366 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-07 09:19:44') AND us2_order_type_id = 3 ## Order found: 2439 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2439 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3470 ## Mailing found: '13455' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100645, Consumer Id: 567463, Address Id: 10711968 => Updated with Vin: 2B3LA53H16H301147 ## Mail History Id: 31099672, Consumer Id: 567542, Address Id: 7734904 => Updated with Vin: 2A4GP64L66R774022 ## Mail History Id: 31100563, Consumer Id: 568748, Address Id: 2014430 => Updated with Vin: 2B3KA43G57H625135 ## Mail History Id: 31100637, Consumer Id: 581243, Address Id: 10740830 => Updated with Vin: 1J4GK48K73W515126 ## Mail History Id: 31100595, Consumer Id: 570023, Address Id: 10716816 => Updated with Vin: 1J4GS48K35C525754 ## Mail History Id: 31100615, Consumer Id: 581621, Address Id: 10742071 => Updated with Vin: 4B3AG52H52E100309 ## Mail History Id: 31100715, Consumer Id: 572301, Address Id: 10719076 => Updated with Vin: 1J8HH58277C680964 ## Mail History Id: 31099674, Consumer Id: 937275, Address Id: 11959712 => Updated with Vin: 1D7FL16X43S246902 ## Mail History Id: 31099626, Consumer Id: 910468, Address Id: 11940697 => Updated with Vin: 3C8FY4BB81T548601 ## Mail History Id: 31100515, Consumer Id: 937272, Address Id: 11959709 => Updated with Vin: 1D7HA18N26J179138 ## Mail History Id: 31100529, Consumer Id: 921571, Address Id: 8906978 => Updated with Vin: 1C3LC65M48N169279 ## Total mail_history records updated with vin numbers: 11 out of 15 ============================================================ ====== Tracking Id: 2367 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-07 09:19:56') AND us2_order_type_id = 3 ## Order found: 2439 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2439 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3470 ## Mailing found: '13455' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100699, Consumer Id: 576547, Address Id: 2798153 => Updated with Vin: 3C4FY48B82T353060 ## Mail History Id: 31100519, Consumer Id: 564655, Address Id: 5143620 => Updated with Vin: 1D7HA16D05J586724 ## Mail History Id: 31100757, Consumer Id: 574268, Address Id: 10720869 => Updated with Vin: 3C8FY68BX3T509773 ## Mail History Id: 31100689, Consumer Id: 573122, Address Id: 10692160 => Updated with Vin: 1J8GP28K68W144634 ## Mail History Id: 31099618, Consumer Id: 556544, Address Id: 10687610 => Updated with Vin: 1D7HL38N44S548661 ## Mail History Id: 31100675, Consumer Id: 575081, Address Id: 10679041 => Updated with Vin: 2C3HE66GXYH425149 ## Mail History Id: 31100639, Consumer Id: 583259, Address Id: 7467099 => Updated with Vin: 3D7HA18N42G113640 ## Mail History Id: 31100551, Consumer Id: 564104, Address Id: 8908583 => Updated with Vin: 1J4HR582X5C703682 ## Mail History Id: 31100593, Consumer Id: 575079, Address Id: 10721463 => Updated with Vin: 1D7HU18D53S358066 ## Mail History Id: 31099624, Consumer Id: 574733, Address Id: 2982923 => Updated with Vin: WDYPD744355805093 ## Mail History Id: 31100693, Consumer Id: 567228, Address Id: 10710890 => Updated with Vin: 3A4FY48B56T203326 ## Mail History Id: 31100591, Consumer Id: 567418, Address Id: 10711957 => Updated with Vin: 2A8GP64L06R915181 ## Mail History Id: 31099654, Consumer Id: 577826, Address Id: 10728199 => Updated with Vin: 1J4GK58K25W670434 ## Mail History Id: 31100607, Consumer Id: 577861, Address Id: 10729722 => Updated with Vin: 2C3KA53G56H226054 ## Mail History Id: 31099664, Consumer Id: 568061, Address Id: 7726834 => Updated with Vin: 2A4GM68426R753003 ## Mail History Id: 31100671, Consumer Id: 569465, Address Id: 10700879 => Updated with Vin: 1D4HB48N16F182336 ## Mail History Id: 31099622, Consumer Id: 570419, Address Id: 2982747 => Updated with Vin: 1D7HA18287S195684 ## Mail History Id: 31099648, Consumer Id: 571650, Address Id: 9536198 => Updated with Vin: 1D7HA18297J602059 ## Mail History Id: 31100657, Consumer Id: 582344, Address Id: 10743735 => Updated with Vin: 1B3LC76M58N569434 ## Mail History Id: 31100653, Consumer Id: 582346, Address Id: 10743736 => Updated with Vin: 1J4HS58N46C297186 ## Mail History Id: 31100697, Consumer Id: 583260, Address Id: 10745413 => Updated with Vin: 1J8GS48K85C563348 ## Mail History Id: 31099642, Consumer Id: 583279, Address Id: 4909876 => Updated with Vin: JTNBE46K273079749 ## Mail History Id: 31099656, Consumer Id: 573115, Address Id: 10719466 => Updated with Vin: 1J8HR78366C100488 ## Mail History Id: 31100727, Consumer Id: 573116, Address Id: 10719467 => Updated with Vin: 1D4GP24R47B186951 ## Mail History Id: 31100629, Consumer Id: 573118, Address Id: 10707794 => Updated with Vin: 2A4GP54L36R859166 ## Mail History Id: 31100559, Consumer Id: 573117, Address Id: 7347659 => Updated with Vin: 2B3KA53H48H184534 ## Mail History Id: 31099799, Consumer Id: 1265518, Address Id: 14929774 => Updated with Vin: 2C4GM68435R534006 ## Mail History Id: 31100759, Consumer Id: 576455, Address Id: 10724882 => Updated with Vin: 1D4HD48N85F513356 ## Total mail_history records updated with vin numbers: 28 out of 31 ============================================================ ====== Tracking Id: 2368 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-07 09:20:09') AND us2_order_type_id = 3 ## Order found: 2439 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2439 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3470 ## Mailing found: '13455' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2369 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-07 09:20:12') AND us2_order_type_id = 3 ## Order found: 2440 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2440 AND product_id = 142 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3768 ## Mailing found: '13482' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 2370 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-07 09:20:21') AND us2_order_type_id = 3 ## Order found: 2440 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2440 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2371 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-07 09:20:25') AND us2_order_type_id = 3 ## Order found: 2440 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2440 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3768 ## Mailing found: '13462' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099811, Consumer Id: 1108675, Address Id: 2775241 => Updated with Vin: 1G6KD57Y56U218400 ## Mail History Id: 31100067, Consumer Id: 1109214, Address Id: 14982486 => Updated with Vin: 3GYFK66N85G209378 ## Mail History Id: 31100017, Consumer Id: 1041954, Address Id: 5994853 => Updated with Vin: 1G6KD54Y12U285056 ## Mail History Id: 31099975, Consumer Id: 1044880, Address Id: 8828364 => Updated with Vin: 1GYEE637X50106203 ## Mail History Id: 31099835, Consumer Id: 1116044, Address Id: 14982565 => Updated with Vin: 1G6VS3396PU128616 ## Mail History Id: 31099997, Consumer Id: 1116036, Address Id: 8829125 => Updated with Vin: YV1TS91D221278371 ## Mail History Id: 31099971, Consumer Id: 1107965, Address Id: 5991236 => Updated with Vin: 1G6KF57992U217019 ## Mail History Id: 31099929, Consumer Id: 1108515, Address Id: 8827064 => Updated with Vin: 1G6KD54Y04U155725 ## Mail History Id: 31099947, Consumer Id: 1042034, Address Id: 14952205 => Updated with Vin: 1G6KF52Y5RU309057 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 2372 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-07 09:20:37') AND us2_order_type_id = 3 ## Order found: 2440 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2440 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3768 ## Mailing found: '13462' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099807, Consumer Id: 1049688, Address Id: 11665739 => Updated with Vin: 1GYEC63887R271163 ## Mail History Id: 31099853, Consumer Id: 1116386, Address Id: 14984064 => Updated with Vin: 2G2WP522041142932 ## Mail History Id: 31099941, Consumer Id: 1107483, Address Id: 5987219 => Updated with Vin: 1G6DM57N830164477 ## Mail History Id: 31099917, Consumer Id: 1115093, Address Id: 14983710 => Updated with Vin: 1GYEK63N45R253586 ## Mail History Id: 31099849, Consumer Id: 1111883, Address Id: 11450807 => Updated with Vin: 1G6KD57986U113679 ## Mail History Id: 31100077, Consumer Id: 1114608, Address Id: 14983572 => Updated with Vin: 1G6KY5494YU247200 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2373 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-07 10:17:06') AND us2_order_type_id = 3 ## Order found: 2441 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2441 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3846 ## Mailing found: '13486' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2374 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-07 10:19:49') AND us2_order_type_id = 3 ## Order found: 2439 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2439 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3470 ## Mailing found: '13475' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 39 ============================================================ ====== Tracking Id: 2375 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-07 10:20:05') AND us2_order_type_id = 3 ## Order found: 2442 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2442 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3416 ## Mailing found: '13472' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 22 ============================================================ ====== Tracking Id: 2376 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-07 10:20:42') AND us2_order_type_id = 3 ## Order found: 2443 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2443 AND product_id = 2147 ## Job Group Found: '570' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('570') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808002') AND customer_id = 3418 ## Mailing found: '13496' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 28 ============================================================ ====== Tracking Id: 2377 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-07 10:20:54') AND us2_order_type_id = 3 ## Order found: 2443 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2443 AND product_id = 2152 ## Job Group Found: '574' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('574') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808006') AND customer_id = 3418 ## Mailing found: '13440' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31101097, Consumer Id: 679695, Address Id: 11793766 => Updated with Vin: 1GYFK63847R387175 ## Mail History Id: 31101099, Consumer Id: 669307, Address Id: 11787237 => Updated with Vin: 1G6KD54Y94U207210 ## Mail History Id: 31101101, Consumer Id: 676606, Address Id: 6773003 => Updated with Vin: 1G6KD57Y96U235281 ## Mail History Id: 31101103, Consumer Id: 678122, Address Id: 11784565 => Updated with Vin: 1GYFK66817R237794 ## Mail History Id: 31101105, Consumer Id: 680856, Address Id: 11794485 => Updated with Vin: 1G6DP577170181104 ## Mail History Id: 31101107, Consumer Id: 678039, Address Id: 6771389 => Updated with Vin: 1GYFK66817R274022 ## Mail History Id: 31101109, Consumer Id: 680605, Address Id: 11794335 => Updated with Vin: 3GYFK62807G218675 ## Mail History Id: 31101113, Consumer Id: 610584, Address Id: 11755289 => Updated with Vin: 1G6KD57YX8U137170 ## Total mail_history records updated with vin numbers: 8 out of 11 ============================================================ ====== Tracking Id: 2378 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-07 10:21:06') AND us2_order_type_id = 3 ## Order found: 2443 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2443 AND product_id = 2153 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3418 ## Mailing found: '13452' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099710, Consumer Id: 678444, Address Id: 11793029 => Updated with Vin: 1GYFK63817R260044 ## Mail History Id: 31099698, Consumer Id: 679276, Address Id: 11793512 => Updated with Vin: 1G6DP577670164718 ## Mail History Id: 31099724, Consumer Id: 672074, Address Id: 11789075 => Updated with Vin: 1G8ZK5278WZ186328 ## Mail History Id: 31099740, Consumer Id: 629342, Address Id: 11769752 => Updated with Vin: 1GYFK66848R106375 ## Mail History Id: 31099730, Consumer Id: 664867, Address Id: 11784042 => Updated with Vin: 3GYEK63N52G349349 ## Mail History Id: 31099738, Consumer Id: 610122, Address Id: 11754882 => Updated with Vin: 1G8JU54F43Y570541 ## Mail History Id: 31099708, Consumer Id: 610100, Address Id: 11754861 => Updated with Vin: 1G6DM577980108332 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 2379 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-07 10:22:54') AND us2_order_type_id = 3 ## Order found: 2444 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2444 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3795 ## Mailing found: '13483' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 13 ============================================================ ====== Tracking Id: 2380 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-07 10:23:06') AND us2_order_type_id = 3 ## Order found: 2444 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2444 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3795 ## Mailing found: '13463' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100083, Consumer Id: 1068529, Address Id: 5317743 => Updated with Vin: 1HGCD5632VA106291 ## Mail History Id: 31100171, Consumer Id: 1061592, Address Id: 3054297 => Updated with Vin: 1HGCD7231TA022784 ## Mail History Id: 31100117, Consumer Id: 1060106, Address Id: 5794452 => Updated with Vin: 1FAFP44491F167407 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2381 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-07 10:23:18') AND us2_order_type_id = 3 ## Order found: 2444 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2444 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3795 ## Mailing found: '13463' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100105, Consumer Id: 1068580, Address Id: 8673218 => Updated with Vin: 1J4G248S5YC331425 ## Mail History Id: 31100185, Consumer Id: 1068581, Address Id: 181016 => Updated with Vin: 1HGCD5632VA103035 ## Mail History Id: 31100109, Consumer Id: 1055749, Address Id: 14956181 => Updated with Vin: 1HGES165X5L026198 ## Mail History Id: 31100115, Consumer Id: 1059879, Address Id: 14957333 => Updated with Vin: 1FAFP53U57A216552 ## Total mail_history records updated with vin numbers: 4 out of 8 ============================================================ ====== Tracking Id: 2382 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-07 10:23:21') AND us2_order_type_id = 3 ## Order found: 2445 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2445 AND product_id = 142 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3697 ## Mailing found: '13479' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 8 ============================================================ ====== Tracking Id: 2383 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-07 10:23:31') AND us2_order_type_id = 3 ## Order found: 2444 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2444 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3795 ## Mailing found: '13463' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100155, Consumer Id: 1068820, Address Id: 4727846 => Updated with Vin: 1P3ES46C8YD631902 ## Mail History Id: 31100087, Consumer Id: 1061024, Address Id: 14957649 => Updated with Vin: 1HGCD5660TA099560 ## Mail History Id: 31100193, Consumer Id: 1057665, Address Id: 3068911 => Updated with Vin: 5FNRL38236B126384 ## Mail History Id: 31100221, Consumer Id: 1058350, Address Id: 3099728 => Updated with Vin: 5FNYF28527B032411 ## Mail History Id: 31100081, Consumer Id: 1058759, Address Id: 5807900 => Updated with Vin: JHLRE38357C048002 ## Mail History Id: 31100189, Consumer Id: 1060193, Address Id: 5361006 => Updated with Vin: 1HGCM56455A157342 ## Mail History Id: 31100133, Consumer Id: 1068347, Address Id: 14961286 => Updated with Vin: 1HGCM82603A031475 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 2384 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-07 10:23:33') AND us2_order_type_id = 3 ## Order found: 2445 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2445 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3697 ## Mailing found: '13460' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099791, Consumer Id: 1043619, Address Id: 14952592 => Updated with Vin: 1GYFK63867R246429 ## Mail History Id: 31099855, Consumer Id: 1051428, Address Id: 804022 => Updated with Vin: 1G6DM57N130170945 ## Mail History Id: 31099887, Consumer Id: 1049397, Address Id: 14954191 => Updated with Vin: 1G6DW677260194600 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2385 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-07 10:23:45') AND us2_order_type_id = 3 ## Order found: 2445 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2445 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3697 ## Mailing found: '13460' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099961, Consumer Id: 1043605, Address Id: 14952588 => Updated with Vin: 1GYEE637760165274 ## Mail History Id: 31099809, Consumer Id: 1044022, Address Id: 1342206 => Updated with Vin: 3GYFK66N55G200685 ## Mail History Id: 31099923, Consumer Id: 1051374, Address Id: 1073922 => Updated with Vin: 1G6DM57NX30142755 ## Mail History Id: 31099945, Consumer Id: 1043108, Address Id: 14952444 => Updated with Vin: 1GYEC63T53R176364 ## Mail History Id: 31099963, Consumer Id: 1041799, Address Id: 1077928 => Updated with Vin: 1G6DM57N130111698 ## Mail History Id: 31099955, Consumer Id: 1042992, Address Id: 5987947 => Updated with Vin: 3GYEK63N62G269851 ## Mail History Id: 31100011, Consumer Id: 1041996, Address Id: 5994726 => Updated with Vin: 1G6KD54Y8XU777882 ## Total mail_history records updated with vin numbers: 7 out of 10 ============================================================ ====== Tracking Id: 2386 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-07 10:23:57') AND us2_order_type_id = 3 ## Order found: 2445 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2445 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3697 ## Mailing found: '13460' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099805, Consumer Id: 1044038, Address Id: 2774181 => Updated with Vin: 1GYEK63N26R109326 ## Mail History Id: 31099815, Consumer Id: 1041873, Address Id: 2775657 => Updated with Vin: 1G6KF54903U292746 ## Mail History Id: 31099909, Consumer Id: 1042115, Address Id: 2852808 => Updated with Vin: 1G6KD54Y5VU242246 ## Mail History Id: 31099692, Consumer Id: 1051305, Address Id: 14954680 => Updated with Vin: 1GYFK63877R417348 ## Mail History Id: 31100005, Consumer Id: 1043515, Address Id: 3597442 => Updated with Vin: 1G6KD57Y76U108948 ## Mail History Id: 31099915, Consumer Id: 1043204, Address Id: 2853735 => Updated with Vin: 1GYEK13R5XR403875 ## Mail History Id: 31099821, Consumer Id: 1046384, Address Id: 2776171 => Updated with Vin: 1GYEK63N84R286816 ## Mail History Id: 31100774, Consumer Id: 1050318, Address Id: 14952458 => Updated with Vin: 1GYEE637560214262 ## Total mail_history records updated with vin numbers: 8 out of 9 ============================================================ ====== Tracking Id: 2387 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-07 10:25:26') AND us2_order_type_id = 3 ## Order found: 2446 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2446 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3815 ## Mailing found: '13485' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 21 ============================================================ ====== Tracking Id: 2388 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-07 10:25:34') AND us2_order_type_id = 3 ## Order found: 2446 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2446 AND product_id = 2152 ## Job Group Found: '574' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('574') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808006') AND customer_id = 3815 ## Mailing found: '13443' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31101115, Consumer Id: 1370950, Address Id: 15638500 => Updated with Vin: JH4KA964XTC014915 ## Mail History Id: 31101117, Consumer Id: 1371033, Address Id: 7342241 => Updated with Vin: 2HKRL1865YH563461 ## Mail History Id: 31101119, Consumer Id: 1359591, Address Id: 9402498 => Updated with Vin: 1HGCM56894A027145 ## Mail History Id: 31101121, Consumer Id: 1378449, Address Id: 15671376 => Updated with Vin: 2HJYK16537H530244 ## Mail History Id: 31101123, Consumer Id: 1363235, Address Id: 15631981 => Updated with Vin: 1HGFA165X6L072994 ## Mail History Id: 31101125, Consumer Id: 1376707, Address Id: 15670474 => Updated with Vin: 1HGCG1645XA044235 ## Mail History Id: 31101127, Consumer Id: 1362993, Address Id: 15635806 => Updated with Vin: 4S6DM58W414405822 ## Mail History Id: 31101129, Consumer Id: 1366202, Address Id: 15639134 => Updated with Vin: 5J6RE48707L009107 ## Mail History Id: 31101131, Consumer Id: 1379061, Address Id: 15671673 => Updated with Vin: 5FNRL18943B002900 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 2389 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-07 10:25:46') AND us2_order_type_id = 3 ## Order found: 2446 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2446 AND product_id = 2147 ## Job Group Found: '570' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('570') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808002') AND customer_id = 3815 ## Mailing found: '13499' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2390 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-07 10:25:58') AND us2_order_type_id = 3 ## Order found: 2446 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2446 AND product_id = 2153 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3815 ## Mailing found: '13465' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100037, Consumer Id: 1377939, Address Id: 6159508 => Updated with Vin: JHLRD1763WC076589 ## Mail History Id: 31100033, Consumer Id: 1362339, Address Id: 15634485 => Updated with Vin: 2HJYK16576H538541 ## Mail History Id: 31100051, Consumer Id: 1378786, Address Id: 15671609 => Updated with Vin: JH4DC53033C003798 ## Mail History Id: 31100057, Consumer Id: 1365976, Address Id: 15638847 => Updated with Vin: 2HJYK16507H501204 ## Mail History Id: 31099803, Consumer Id: 1366537, Address Id: 15639334 => Updated with Vin: 5FNYF28517B036367 ## Total mail_history records updated with vin numbers: 5 out of 7 ============================================================ ====== Tracking Id: 2391 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-07 10:26:10') AND us2_order_type_id = 3 ## Order found: 2446 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2446 AND product_id = 2150 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3815 ## Mailing found: '13485' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 3 ============================================================ ====== Tracking Id: 2392 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-07 11:16:35') AND us2_order_type_id = 3 ## Order found: 2447 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2447 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3486 ## Mailing found: '13457' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100277, Consumer Id: 471108, Address Id: 2455024 => Updated with Vin: 1G1AM58B587103308 ## Mail History Id: 31100449, Consumer Id: 481831, Address Id: 4378037 => Updated with Vin: 3GNFK16T31G214741 ## Mail History Id: 31100269, Consumer Id: 486047, Address Id: 9825768 => Updated with Vin: 1GAHG39RX21242107 ## Mail History Id: 31100251, Consumer Id: 470579, Address Id: 817227 => Updated with Vin: 1GNFC13JX7J391262 ## Mail History Id: 31100407, Consumer Id: 470625, Address Id: 9823197 => Updated with Vin: 3GNFK123X7G246164 ## Mail History Id: 31100387, Consumer Id: 490466, Address Id: 9826551 => Updated with Vin: 1GCEC19T53Z121686 ## Mail History Id: 31100463, Consumer Id: 490435, Address Id: 9826541 => Updated with Vin: 1GTGK23U04F137185 ## Mail History Id: 31100267, Consumer Id: 470936, Address Id: 9823362 => Updated with Vin: 1GNDV23L85D211166 ## Total mail_history records updated with vin numbers: 8 out of 10 ============================================================ ====== Tracking Id: 2393 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-07 11:16:47') AND us2_order_type_id = 3 ## Order found: 2447 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2447 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3486 ## Mailing found: '13457' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100425, Consumer Id: 480648, Address Id: 1039268 => Updated with Vin: 3GNEK13T72G268657 ## Mail History Id: 31100329, Consumer Id: 584446, Address Id: 1560585 => Updated with Vin: 3GNEC12TX4G343806 ## Mail History Id: 31100315, Consumer Id: 469205, Address Id: 5287234 => Updated with Vin: 1GNFC13J07R285324 ## Mail History Id: 31100493, Consumer Id: 462338, Address Id: 9715402 => Updated with Vin: 3GNEC16ZX3G165683 ## Mail History Id: 31100307, Consumer Id: 466428, Address Id: 5420143 => Updated with Vin: 1G1AK52F057591421 ## Mail History Id: 31100369, Consumer Id: 470985, Address Id: 5372921 => Updated with Vin: 1GKDS13S462260336 ## Mail History Id: 31100375, Consumer Id: 478173, Address Id: 1037298 => Updated with Vin: 3GNEC16T61G125206 ## Mail History Id: 31100451, Consumer Id: 468720, Address Id: 9821357 => Updated with Vin: 3GNFC16J07G140747 ## Mail History Id: 31100437, Consumer Id: 468323, Address Id: 3049987 => Updated with Vin: 1GNFC13J47R182794 ## Mail History Id: 31100303, Consumer Id: 481192, Address Id: 1067750 => Updated with Vin: 1GMDX03E41D264400 ## Mail History Id: 31100447, Consumer Id: 484444, Address Id: 635872 => Updated with Vin: 1G1JC1244X7248862 ## Mail History Id: 31100347, Consumer Id: 584450, Address Id: 9822725 => Updated with Vin: 1D7HA16K06J160239 ## Mail History Id: 31100239, Consumer Id: 489446, Address Id: 1057058 => Updated with Vin: 2G1WF52E149198378 ## Mail History Id: 31100381, Consumer Id: 489448, Address Id: 9854668 => Updated with Vin: 1N4AL11D55C343353 ## Mail History Id: 31100241, Consumer Id: 489454, Address Id: 9854674 => Updated with Vin: 2G1WC58RX79330030 ## Mail History Id: 31100483, Consumer Id: 489452, Address Id: 9854672 => Updated with Vin: 1GNEK13T65R186326 ## Mail History Id: 31100339, Consumer Id: 584448, Address Id: 11409301 => Updated with Vin: 2CNDL13F086035389 ## Mail History Id: 31100501, Consumer Id: 489463, Address Id: 9854681 => Updated with Vin: 1G1NE52J12M721880 ## Mail History Id: 31100255, Consumer Id: 486412, Address Id: 9825938 => Updated with Vin: 1GNEC13Z76J117551 ## Total mail_history records updated with vin numbers: 19 out of 23 ============================================================ ====== Tracking Id: 2394 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-07 11:17:20') AND us2_order_type_id = 3 ## Order found: 2442 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2442 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3416 ## Mailing found: '13451' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099816, Consumer Id: 625324, Address Id: 1965594 => Updated with Vin: 1GYEE637640173735 ## Mail History Id: 31099854, Consumer Id: 692985, Address Id: 11797485 => Updated with Vin: 1G6DM57N830138879 ## Mail History Id: 31099878, Consumer Id: 693070, Address Id: 3765261 => Updated with Vin: 1GNDS13S482166866 ## Mail History Id: 31099856, Consumer Id: 693115, Address Id: 11798685 => Updated with Vin: 1G6KD54YXYU200059 ## Mail History Id: 31099764, Consumer Id: 693266, Address Id: 4758457 => Updated with Vin: 1G6DW677760220320 ## Mail History Id: 31099800, Consumer Id: 625950, Address Id: 11766207 => Updated with Vin: 1G6DG577880177388 ## Mail History Id: 31099796, Consumer Id: 684218, Address Id: 3760840 => Updated with Vin: 1G6KY54931U113204 ## Mail History Id: 31099780, Consumer Id: 681729, Address Id: 1961267 => Updated with Vin: 1G6KS54Y4WU924168 ## Mail History Id: 31099814, Consumer Id: 683702, Address Id: 1964766 => Updated with Vin: 1G6KD54Y6XU717373 ## Mail History Id: 31099770, Consumer Id: 692714, Address Id: 1960207 => Updated with Vin: 1G2HZ5414Y4230688 ## Mail History Id: 31099774, Consumer Id: 685956, Address Id: 1961012 => Updated with Vin: 1G6KD54YX1U294157 ## Mail History Id: 31099802, Consumer Id: 685307, Address Id: 1963745 => Updated with Vin: 1G6DM57N530173265 ## Mail History Id: 31099760, Consumer Id: 625920, Address Id: 11766191 => Updated with Vin: 1G6KD57Y47U234394 ## Mail History Id: 31099884, Consumer Id: 690667, Address Id: 4796266 => Updated with Vin: 1GYEE637260185111 ## Total mail_history records updated with vin numbers: 14 out of 15 ============================================================ ====== Tracking Id: 2395 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-07 11:17:25') AND us2_order_type_id = 3 ## Order found: 2448 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2448 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3491 ## Mailing found: '13477' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 20 ============================================================ ====== Tracking Id: 2396 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-07 11:17:32') AND us2_order_type_id = 3 ## Order found: 2442 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2442 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3416 ## Mailing found: '13451' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099860, Consumer Id: 692815, Address Id: 11798529 => Updated with Vin: W06VR54R01R006462 ## Mail History Id: 31099908, Consumer Id: 625681, Address Id: 6897835 => Updated with Vin: 1G6DM577540116177 ## Mail History Id: 31099852, Consumer Id: 682123, Address Id: 11794989 => Updated with Vin: 1G6KD52Y0TU285411 ## Mail History Id: 31099864, Consumer Id: 686209, Address Id: 11796190 => Updated with Vin: 1G6KS52Y7VU822364 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 2397 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-07 11:17:37') AND us2_order_type_id = 3 ## Order found: 2448 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2448 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3491 ## Mailing found: '13458' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100092, Consumer Id: 812629, Address Id: 1293048 => Updated with Vin: 2CNDL13F376001963 ## Mail History Id: 31100110, Consumer Id: 812137, Address Id: 11886939 => Updated with Vin: 1GNDV23197D131389 ## Mail History Id: 31100154, Consumer Id: 839440, Address Id: 11895297 => Updated with Vin: 2GCEK19T5Y1305626 ## Mail History Id: 31100190, Consumer Id: 839947, Address Id: 11895528 => Updated with Vin: 2GCEC19T151250164 ## Mail History Id: 31100156, Consumer Id: 839855, Address Id: 11895491 => Updated with Vin: 2G1WL52M5T9134343 ## Mail History Id: 31100172, Consumer Id: 839956, Address Id: 11895533 => Updated with Vin: 1G1AK15F377358320 ## Mail History Id: 31100106, Consumer Id: 839955, Address Id: 11895532 => Updated with Vin: 2GCEC19X431251664 ## Mail History Id: 31100164, Consumer Id: 815925, Address Id: 11890596 => Updated with Vin: 1B3ES56C35D237842 ## Mail History Id: 31100184, Consumer Id: 815967, Address Id: 11890627 => Updated with Vin: 3B7MF33C9TM181897 ## Mail History Id: 31100118, Consumer Id: 839862, Address Id: 1301141 => Updated with Vin: 1GNFK16R7XJ562618 ## Mail History Id: 31100124, Consumer Id: 839713, Address Id: 1302382 => Updated with Vin: 1GNFK130X7R302365 ## Mail History Id: 31100162, Consumer Id: 833957, Address Id: 11892051 => Updated with Vin: 1GNEC13Z63R221820 ## Total mail_history records updated with vin numbers: 12 out of 12 ============================================================ ====== Tracking Id: 2398 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-07 11:17:49') AND us2_order_type_id = 3 ## Order found: 2448 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2448 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3491 ## Mailing found: '13458' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100112, Consumer Id: 814378, Address Id: 11888976 => Updated with Vin: 1J4GW48S74C245791 ## Mail History Id: 31100132, Consumer Id: 839608, Address Id: 11875873 => Updated with Vin: 2CNDL73F656060697 ## Mail History Id: 31100138, Consumer Id: 839606, Address Id: 11895355 => Updated with Vin: 2GBEC19R1T1220152 ## Mail History Id: 31100090, Consumer Id: 815315, Address Id: 11889856 => Updated with Vin: 1D4HR48N63F554423 ## Mail History Id: 31100182, Consumer Id: 839631, Address Id: 11882215 => Updated with Vin: 1GNDM19W5YB139096 ## Mail History Id: 31100148, Consumer Id: 839621, Address Id: 11875003 => Updated with Vin: 2CNDL13F566101710 ## Mail History Id: 31100166, Consumer Id: 830259, Address Id: 11887137 => Updated with Vin: 1FMZU32E7XUA16118 ## Mail History Id: 31100170, Consumer Id: 831350, Address Id: 11889215 => Updated with Vin: 2G1WF52K449228639 ## Mail History Id: 31100134, Consumer Id: 809285, Address Id: 11875971 => Updated with Vin: 1G1AK15F567680116 ## Mail History Id: 31100194, Consumer Id: 839629, Address Id: 11895367 => Updated with Vin: 2T1CF28P2XC142178 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 2399 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-07 11:18:01') AND us2_order_type_id = 3 ## Order found: 2448 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2448 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3491 ## Mailing found: '13458' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100158, Consumer Id: 816124, Address Id: 11891289 => Updated with Vin: 1G1AL55F077148133 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 2400 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-07 11:18:48') AND us2_order_type_id = 3 ## Order found: 2449 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2449 AND product_id = 144 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3705 ## Mailing found: '13480' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 21 ============================================================ ====== Tracking Id: 2401 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-07 11:18:59') AND us2_order_type_id = 3 ## Order found: 2449 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2449 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3705 ## Mailing found: '13461' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100238, Consumer Id: 963914, Address Id: 11387075 => Updated with Vin: 1GKEC13Z73R227574 ## Mail History Id: 31100242, Consumer Id: 967010, Address Id: 9159913 => Updated with Vin: 1GCHC23U07F107495 ## Mail History Id: 31100204, Consumer Id: 968576, Address Id: 6221792 => Updated with Vin: 1G1AL15F177304608 ## Mail History Id: 31100258, Consumer Id: 972317, Address Id: 14834566 => Updated with Vin: 1G2ZH58N774231661 ## Mail History Id: 31100246, Consumer Id: 972428, Address Id: 14842837 => Updated with Vin: 1G2ZM587374170869 ## Mail History Id: 31100224, Consumer Id: 971981, Address Id: 14842530 => Updated with Vin: 1GCEC14C08Z240258 ## Mail History Id: 31100274, Consumer Id: 971984, Address Id: 14842533 => Updated with Vin: 2GCEC13Y081124029 ## Mail History Id: 31100254, Consumer Id: 971988, Address Id: 11201046 => Updated with Vin: 2GCEC13C481173576 ## Mail History Id: 31100266, Consumer Id: 974734, Address Id: 14843367 => Updated with Vin: 3GKEC16Z13G289807 ## Mail History Id: 31100232, Consumer Id: 975325, Address Id: 14843759 => Updated with Vin: 5Y2SL63865Z440960 ## Mail History Id: 31100228, Consumer Id: 978570, Address Id: 14845610 => Updated with Vin: 1GCGC13U73F132992 ## Mail History Id: 31100276, Consumer Id: 979320, Address Id: 8042904 => Updated with Vin: 2GCEC19T851313857 ## Mail History Id: 31100210, Consumer Id: 980448, Address Id: 9253336 => Updated with Vin: 2GCEK19N931395650 ## Total mail_history records updated with vin numbers: 13 out of 15 ============================================================ ====== Tracking Id: 2402 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-07 11:19:03') AND us2_order_type_id = 3 ## Order found: 2450 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2450 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3808 ## Mailing found: '13484' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2403 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-07 11:19:11') AND us2_order_type_id = 3 ## Order found: 2451 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2451 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3721 ## Mailing found: '13481' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 3 ============================================================ ====== Tracking Id: 2404 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-07 11:19:14') AND us2_order_type_id = 3 ## Order found: 2450 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2450 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3808 ## Mailing found: '13464' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100002, Consumer Id: 1287561, Address Id: 15464687 => Updated with Vin: 1G2NF52E04M587412 ## Mail History Id: 31099974, Consumer Id: 1287338, Address Id: 15464616 => Updated with Vin: 1FAFP40441F191913 ## Mail History Id: 31100056, Consumer Id: 1287445, Address Id: 15464646 => Updated with Vin: 1G2HX54C8M1241485 ## Mail History Id: 31100060, Consumer Id: 1276254, Address Id: 15456399 => Updated with Vin: 1GNEK13R7XJ482185 ## Mail History Id: 31100080, Consumer Id: 1287466, Address Id: 15464655 => Updated with Vin: 2GCEC19W021227593 ## Mail History Id: 31100062, Consumer Id: 1270515, Address Id: 15451243 => Updated with Vin: 5B4MP67G123347699 ## Mail History Id: 31100032, Consumer Id: 1287331, Address Id: 15455918 => Updated with Vin: 1GCEK19T5XE151464 ## Mail History Id: 31100028, Consumer Id: 1277104, Address Id: 15457180 => Updated with Vin: 1G1ND52M1X6149668 ## Mail History Id: 31099978, Consumer Id: 1281805, Address Id: 15460715 => Updated with Vin: 5B4MP67G343394719 ## Mail History Id: 31100064, Consumer Id: 1284752, Address Id: 15462747 => Updated with Vin: 1GNEC13T15R111563 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 2405 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-07 11:19:23') AND us2_order_type_id = 3 ## Order found: 2449 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2449 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2406 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-07 11:19:35') AND us2_order_type_id = 3 ## Order found: 2449 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2449 AND product_id = 106 ## Job Group Found: '572' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('572') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808004') AND customer_id = 3705 ## Mailing found: '13437' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31101190, Consumer Id: 971435, Address Id: 14842131 => Updated with Vin: 1GKDS13S682141318 ## Mail History Id: 31101168, Consumer Id: 970888, Address Id: 14841770 => Updated with Vin: 2GTEK13M871733352 ## Mail History Id: 31101176, Consumer Id: 970892, Address Id: 14841772 => Updated with Vin: 1GCHK236X8F140929 ## Mail History Id: 31101184, Consumer Id: 976603, Address Id: 14844534 => Updated with Vin: 2G1WW12EX59204964 ## Mail History Id: 31101191, Consumer Id: 979785, Address Id: 8473254 => Updated with Vin: 1G1AK55F567789943 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2407 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-07 11:46:31') AND us2_order_type_id = 3 ## Order found: 2452 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2452 AND product_id = 142 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3357 ## Mailing found: '13471' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 5 ============================================================ ====== Tracking Id: 2408 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-07 11:46:37') AND us2_order_type_id = 3 ## Order found: 2452 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2452 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2409 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-07 11:46:40') AND us2_order_type_id = 3 ## Order found: 2452 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2452 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3357 ## Mailing found: '13450' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100734, Consumer Id: 198932, Address Id: 407747 => Updated with Vin: JM1BJ246621545052 ## Mail History Id: 31100612, Consumer Id: 188853, Address Id: 400764 => Updated with Vin: JM1BJ246221567341 ## Mail History Id: 31100686, Consumer Id: 189734, Address Id: 401484 => Updated with Vin: 1FTYR10D83PA56376 ## Mail History Id: 31100640, Consumer Id: 188118, Address Id: 399138 => Updated with Vin: 1FTWX32P64EA26614 ## Mail History Id: 31100684, Consumer Id: 199365, Address Id: 398565 => Updated with Vin: 1N4BL11D63C190273 ## Mail History Id: 31100582, Consumer Id: 196110, Address Id: 405115 => Updated with Vin: 1FTRF12W44NB10409 ## Mail History Id: 31100746, Consumer Id: 199255, Address Id: 407770 => Updated with Vin: 1ZVFT82H455115548 ## Mail History Id: 31100758, Consumer Id: 151660, Address Id: 394046 => Updated with Vin: 1FTPW12515KE62901 ## Mail History Id: 31100584, Consumer Id: 152333, Address Id: 394669 => Updated with Vin: 1ZVHT82H565102947 ## Mail History Id: 31100552, Consumer Id: 152014, Address Id: 394378 => Updated with Vin: 1FTPX14536KA93003 ## Mail History Id: 31100702, Consumer Id: 199081, Address Id: 407761 => Updated with Vin: 1FMPU16596LA52032 ## Mail History Id: 31100602, Consumer Id: 199002, Address Id: 407754 => Updated with Vin: 5GZCZ63416S878326 ## Mail History Id: 31100524, Consumer Id: 187278, Address Id: 398064 => Updated with Vin: 1FMFU17L34LA50038 ## Mail History Id: 31100608, Consumer Id: 199085, Address Id: 407762 => Updated with Vin: 1FAFP40421F115865 ## Mail History Id: 31100536, Consumer Id: 190646, Address Id: 401341 => Updated with Vin: 1FMPU16L53LB21888 ## Total mail_history records updated with vin numbers: 15 out of 15 ============================================================ ====== Tracking Id: 2410 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-07 11:46:43') AND us2_order_type_id = 3 ## Order found: 2451 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2451 AND product_id = 2147 ## Job Group Found: '570' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('570') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808002') AND customer_id = 3721 ## Mailing found: '13498' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 2411 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-07 11:46:52') AND us2_order_type_id = 3 ## Order found: 2452 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2452 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3357 ## Mailing found: '13450' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100562, Consumer Id: 584303, Address Id: 11374113 => Updated with Vin: 1YVGF22C315241257 ## Mail History Id: 31100572, Consumer Id: 584304, Address Id: 407787 => Updated with Vin: 4C3AG52H51E132582 ## Mail History Id: 31100546, Consumer Id: 187891, Address Id: 399075 => Updated with Vin: 1FAFP24185G110965 ## Mail History Id: 31100540, Consumer Id: 496231, Address Id: 879392 => Updated with Vin: 1FTNW21F52ED47669 ## Mail History Id: 31100676, Consumer Id: 194917, Address Id: 404835 => Updated with Vin: 1LNLM81W2VY735649 ## Mail History Id: 31100638, Consumer Id: 584300, Address Id: 11374111 => Updated with Vin: 1FMYU031X3KC16518 ## Mail History Id: 31100760, Consumer Id: 153294, Address Id: 395549 => Updated with Vin: JM3LW28A160566818 ## Mail History Id: 31100668, Consumer Id: 197144, Address Id: 404797 => Updated with Vin: 1FTPW14566KD72660 ## Mail History Id: 31100484, Consumer Id: 584293, Address Id: 11374104 => Updated with Vin: 1FTWW33PX7EA05190 ## Mail History Id: 31100504, Consumer Id: 461229, Address Id: 9819201 => Updated with Vin: 1FTPW14517FA34092 ## Mail History Id: 31100594, Consumer Id: 187358, Address Id: 398324 => Updated with Vin: 3FAFP37362R166216 ## Mail History Id: 31100674, Consumer Id: 584295, Address Id: 405631 => Updated with Vin: 1LNLM91V3SY761248 ## Mail History Id: 31100656, Consumer Id: 584298, Address Id: 11374109 => Updated with Vin: 2FALP74W7RX120561 ## Mail History Id: 31100716, Consumer Id: 198928, Address Id: 407082 => Updated with Vin: 1FDRE14W5XHB34832 ## Mail History Id: 31100596, Consumer Id: 496220, Address Id: 6483426 => Updated with Vin: 3FAKP113XXR199755 ## Total mail_history records updated with vin numbers: 15 out of 17 ============================================================ ====== Tracking Id: 2412 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-07 11:46:55') AND us2_order_type_id = 3 ## Order found: 2451 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2451 AND product_id = 2150 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3721 ## Mailing found: '13481' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 5 ============================================================ ====== Tracking Id: 2413 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-07 12:18:56') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2414 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-07 12:18:59') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2415 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-07 12:19:02') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2416 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-07 12:19:11') AND us2_order_type_id = 3 ## Order found: 2453 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2453 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3471 ## Mailing found: '13476' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 2417 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-07 12:19:21') AND us2_order_type_id = 3 ## Order found: 2453 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2453 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3471 ## Mailing found: '13456' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100302, Consumer Id: 798194, Address Id: 10211290 => Updated with Vin: 1G6KD52Y6VU225474 ## Mail History Id: 31100320, Consumer Id: 800123, Address Id: 10216278 => Updated with Vin: 1G6KE57Y81U174026 ## Mail History Id: 31100328, Consumer Id: 806328, Address Id: 10217077 => Updated with Vin: 1G6ET1298YU176624 ## Mail History Id: 31100314, Consumer Id: 799387, Address Id: 10214636 => Updated with Vin: 1G6KD54Y41U141709 ## Mail History Id: 31100312, Consumer Id: 800957, Address Id: 7416656 => Updated with Vin: 1G6KY5495YU310787 ## Mail History Id: 31100306, Consumer Id: 822923, Address Id: 7879001 => Updated with Vin: 1GYEE63A860143540 ## Mail History Id: 31100324, Consumer Id: 818153, Address Id: 10216924 => Updated with Vin: 1G6KS54Y62U243388 ## Mail History Id: 31100346, Consumer Id: 823369, Address Id: 11878892 => Updated with Vin: 1G6KS52Y3VU829294 ## Total mail_history records updated with vin numbers: 8 out of 9 ============================================================ ====== Tracking Id: 2418 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-07 12:19:23') AND us2_order_type_id = 3 ## Order found: 2454 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2454 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3451 ## Mailing found: '13474' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 26 ============================================================ ====== Tracking Id: 2419 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-07 14:16:36') AND us2_order_type_id = 3 ## Order found: 2443 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2443 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3418 ## Mailing found: '13473' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 33 ============================================================ ====== Tracking Id: 2420 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-07 14:16:46') AND us2_order_type_id = 3 ## Order found: 2454 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2454 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3451 ## Mailing found: '13454' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100412, Consumer Id: 618652, Address Id: 836366 => Updated with Vin: 1GYEK63N14R291016 ## Mail History Id: 31100426, Consumer Id: 625002, Address Id: 3404528 => Updated with Vin: 1G6KD54Y95U103415 ## Mail History Id: 31100476, Consumer Id: 628301, Address Id: 11765579 => Updated with Vin: 1HGCM66543A016855 ## Mail History Id: 31100414, Consumer Id: 628312, Address Id: 11765588 => Updated with Vin: 1G1JC524617259781 ## Mail History Id: 31100418, Consumer Id: 619450, Address Id: 11761198 => Updated with Vin: 2B3KA43R07H723670 ## Mail History Id: 31100408, Consumer Id: 619403, Address Id: 11761023 => Updated with Vin: 1GYEC63T52R199450 ## Total mail_history records updated with vin numbers: 6 out of 9 ============================================================ ====== Tracking Id: 2421 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-07 14:16:58') AND us2_order_type_id = 3 ## Order found: 2454 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2454 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3451 ## Mailing found: '13454' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100356, Consumer Id: 613948, Address Id: 822272 => Updated with Vin: 1G6DM57N030172699 ## Mail History Id: 31100360, Consumer Id: 626813, Address Id: 823413 => Updated with Vin: 1G6KS54Y5XU929557 ## Mail History Id: 31100458, Consumer Id: 619383, Address Id: 11761008 => Updated with Vin: 1GYFK66878R128130 ## Mail History Id: 31100460, Consumer Id: 628157, Address Id: 11765478 => Updated with Vin: 1HGFA16866L011233 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2422 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-07 14:17:10') AND us2_order_type_id = 3 ## Order found: 2454 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2454 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3451 ## Mailing found: '13454' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100430, Consumer Id: 619518, Address Id: 11759977 => Updated with Vin: 1G6KD54Y05U236810 ## Mail History Id: 31100404, Consumer Id: 618650, Address Id: 834355 => Updated with Vin: 1G6DM577340186244 ## Mail History Id: 31100402, Consumer Id: 611666, Address Id: 7679318 => Updated with Vin: 1G6KD57Y66U120556 ## Mail History Id: 31100376, Consumer Id: 611800, Address Id: 11759943 => Updated with Vin: 1G6DM57T570120148 ## Mail History Id: 31100372, Consumer Id: 627655, Address Id: 11765136 => Updated with Vin: 1GTEC19V41Z182994 ## Mail History Id: 31100398, Consumer Id: 627859, Address Id: 11765274 => Updated with Vin: 1G6KD54YXXU787166 ## Mail History Id: 31100466, Consumer Id: 619349, Address Id: 11760983 => Updated with Vin: 1G6DM57T670106291 ## Mail History Id: 31100354, Consumer Id: 619422, Address Id: 11761178 => Updated with Vin: 1GYFK66817R361547 ## Mail History Id: 31100428, Consumer Id: 628550, Address Id: 11765756 => Updated with Vin: 5GZCZ53466S885587 ## Mail History Id: 31100368, Consumer Id: 619552, Address Id: 11761271 => Updated with Vin: 5NPET46C97H231465 ## Mail History Id: 31100462, Consumer Id: 628517, Address Id: 11765733 => Updated with Vin: 5FNYF28427B039236 ## Mail History Id: 31100448, Consumer Id: 619541, Address Id: 11761261 => Updated with Vin: SAJDA42C71NA19683 ## Total mail_history records updated with vin numbers: 12 out of 13 ============================================================ ====== Tracking Id: 2423 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-07 19:56:17') AND us2_order_type_id = 3 ## Order found: 2441 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2441 AND product_id = 2147 ## Job Group Found: '570' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('570') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808002') AND customer_id = 3846 ## Mailing found: '13500' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 2424 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-07 19:56:29') AND us2_order_type_id = 3 ## Order found: 2441 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2441 AND product_id = 2150 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3846 ## Mailing found: '13486' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 10 ============================================================ ====== Tracking Id: 2425 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-07 19:56:41') AND us2_order_type_id = 3 ## Order found: 2441 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2441 AND product_id = 2152 ## Job Group Found: '574' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('574') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808006') AND customer_id = 3846 ## Mailing found: '13444' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31101133, Consumer Id: 1184730, Address Id: 15368751 => Updated with Vin: 4S3BL676754203237 ## Mail History Id: 31101135, Consumer Id: 1186944, Address Id: 15371304 => Updated with Vin: JF1SG65663H757131 ## Mail History Id: 31101137, Consumer Id: 1186506, Address Id: 15370695 => Updated with Vin: JF1SG636X3H746362 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2426 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-07 20:16:30') AND us2_order_type_id = 3 ## Order found: 2437 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2437 AND product_id = 2153 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3503 ## Mailing found: '13459' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099737, Consumer Id: 2180091, Address Id: 9732388 => Updated with Vin: JTEBU14R348019639 ## Mail History Id: 31099665, Consumer Id: 2161222, Address Id: 9726863 => Updated with Vin: JTKKT604450103279 ## Mail History Id: 31099713, Consumer Id: 2178743, Address Id: 9729374 => Updated with Vin: 4T1BE32K14U843922 ## Mail History Id: 31099687, Consumer Id: 2179406, Address Id: 9722442 => Updated with Vin: JT2BG28K210545133 ## Mail History Id: 31099689, Consumer Id: 2178704, Address Id: 9720777 => Updated with Vin: JTEEP21A940011603 ## Mail History Id: 31099683, Consumer Id: 2178194, Address Id: 4502390 => Updated with Vin: 5TBBT44162S233884 ## Mail History Id: 31099761, Consumer Id: 1459399, Address Id: 9751940 => Updated with Vin: 1NXBR32E43Z172937 ## Total mail_history records updated with vin numbers: 7 out of 11 ============================================================ ====== Tracking Id: 2427 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-07 20:16:42') AND us2_order_type_id = 3 ## Order found: 2437 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2437 AND product_id = 2150 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3503 ## Mailing found: '13478' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 5 ============================================================ ====== Tracking Id: 2428 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-07 20:16:54') AND us2_order_type_id = 3 ## Order found: 2437 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2437 AND product_id = 2147 ## Job Group Found: '570' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('570') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808002') AND customer_id = 3503 ## Mailing found: '13497' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 16 ============================================================ ====== Tracking Id: 2429 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-07 20:17:06') AND us2_order_type_id = 3 ## Order found: 2437 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2437 AND product_id = 2152 ## Job Group Found: '574' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('574') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808006') AND customer_id = 3503 ## Mailing found: '13441' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31101048, Consumer Id: 2176900, Address Id: 9725661 => Updated with Vin: JT3HN86R010329974 ## Mail History Id: 31101050, Consumer Id: 2161516, Address Id: 9727385 => Updated with Vin: JTLKT334750199950 ## Total mail_history records updated with vin numbers: 2 out of 9 ============================================================ ====== Tracking Id: 2430 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-08 07:17:05') AND us2_order_type_id = 3 ## Order found: 2471 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2471 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3503 ## Mailing found: '13478' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 66 ============================================================ ====== Tracking Id: 2431 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-08 08:46:40') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2432 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-08 08:46:45') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2433 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-08 09:19:44') AND us2_order_type_id = 3 ## Order found: 2472 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2472 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2434 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-08 09:19:47') AND us2_order_type_id = 3 ## Order found: 2472 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2472 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3470 ## Mailing found: '13455' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099636, Consumer Id: 580178, Address Id: 10690294 => Updated with Vin: 1C3EL55R95N611130 ## Mail History Id: 31100649, Consumer Id: 556745, Address Id: 10692460 => Updated with Vin: 3D7LU38C24G194720 ## Mail History Id: 31100525, Consumer Id: 630730, Address Id: 4112188 => Updated with Vin: 1J4GK48K54W173595 ## Mail History Id: 31100605, Consumer Id: 937540, Address Id: 1172677 => Updated with Vin: 1J4GL48K67W591360 ## Mail History Id: 31100765, Consumer Id: 562956, Address Id: 10703409 => Updated with Vin: 2C3KA53G36H135736 ## Mail History Id: 31100619, Consumer Id: 575958, Address Id: 10723183 => Updated with Vin: 1J8GW68J62C167082 ## Mail History Id: 31100753, Consumer Id: 568120, Address Id: 10713682 => Updated with Vin: 2A8GM68X97R103482 ## Mail History Id: 31100701, Consumer Id: 937541, Address Id: 2798382 => Updated with Vin: 2B3LA53H36H322386 ## Mail History Id: 31100541, Consumer Id: 582044, Address Id: 7344377 => Updated with Vin: 3D7HA18H05G780784 ## Mail History Id: 31100729, Consumer Id: 909860, Address Id: 7156888 => Updated with Vin: 5N1BV28U57N123511 ## Mail History Id: 31100517, Consumer Id: 909851, Address Id: 11325006 => Updated with Vin: 1D4HD38NX6F107803 ## Mail History Id: 31100533, Consumer Id: 911049, Address Id: 8542973 => Updated with Vin: 3C3AY75S45T286322 ## Mail History Id: 31100553, Consumer Id: 937545, Address Id: 4043050 => Updated with Vin: 1J4GW58N9YC230828 ## Mail History Id: 31100749, Consumer Id: 921861, Address Id: 11960235 => Updated with Vin: 1D4GP45R96B564500 ## Mail History Id: 31100719, Consumer Id: 921862, Address Id: 11960236 => Updated with Vin: 2C3KA43R08H122716 ## Mail History Id: 31099670, Consumer Id: 921863, Address Id: 4918249 => Updated with Vin: 2B3KA43G08H205347 ## Total mail_history records updated with vin numbers: 16 out of 21 ============================================================ ====== Tracking Id: 2435 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-08 09:19:59') AND us2_order_type_id = 3 ## Order found: 2472 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2472 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3470 ## Mailing found: '13455' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100573, Consumer Id: 583056, Address Id: 7347767 => Updated with Vin: 2C3KA53G66H520188 ## Mail History Id: 31100721, Consumer Id: 573945, Address Id: 3617203 => Updated with Vin: 1J4FK48143W610147 ## Mail History Id: 31099632, Consumer Id: 557777, Address Id: 2550128 => Updated with Vin: 1J4GK58K64W138537 ## Mail History Id: 31100669, Consumer Id: 574310, Address Id: 10710802 => Updated with Vin: 2C8GP64L84R594333 ## Mail History Id: 31100631, Consumer Id: 561378, Address Id: 10699286 => Updated with Vin: 3D3MS48C45G761321 ## Mail History Id: 31100705, Consumer Id: 562246, Address Id: 10700817 => Updated with Vin: 1C4GP45R15B356896 ## Mail History Id: 31100707, Consumer Id: 565330, Address Id: 2798425 => Updated with Vin: 1J8GK48K06W106758 ## Mail History Id: 31100561, Consumer Id: 567283, Address Id: 10710921 => Updated with Vin: 2D4FV47VX6H428301 ## Mail History Id: 31100751, Consumer Id: 567282, Address Id: 10710920 => Updated with Vin: 1C3EL45X35N677035 ## Mail History Id: 31100647, Consumer Id: 567540, Address Id: 2555347 => Updated with Vin: 2D4GZ47V36H177128 ## Mail History Id: 31100667, Consumer Id: 578850, Address Id: 7879922 => Updated with Vin: 1D7HA18206S566528 ## Mail History Id: 31100543, Consumer Id: 571872, Address Id: 10717956 => Updated with Vin: 1J8HH48P67C680976 ## Mail History Id: 31100739, Consumer Id: 572188, Address Id: 10719044 => Updated with Vin: 1J4FA24158L550305 ## Mail History Id: 31100609, Consumer Id: 583066, Address Id: 3493874 => Updated with Vin: 1B3HB28C77D197471 ## Mail History Id: 31099666, Consumer Id: 583069, Address Id: 7727547 => Updated with Vin: 3D7KR28D77G714222 ## Mail History Id: 31100565, Consumer Id: 583072, Address Id: 2332868 => Updated with Vin: 1D7HE48P07S164656 ## Mail History Id: 31100587, Consumer Id: 583073, Address Id: 10744654 => Updated with Vin: 2B3KA43R47H761676 ## Mail History Id: 31100511, Consumer Id: 572888, Address Id: 10719361 => Updated with Vin: 1J4GA69108L554847 ## Mail History Id: 31100509, Consumer Id: 572892, Address Id: 4809732 => Updated with Vin: SAJDA01D5YGL48784 ## Total mail_history records updated with vin numbers: 19 out of 20 ============================================================ ====== Tracking Id: 2436 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-08 09:20:11') AND us2_order_type_id = 3 ## Order found: 2473 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2473 AND product_id = 142 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3768 ## Mailing found: '13482' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 3 ============================================================ ====== Tracking Id: 2437 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-08 09:20:15') AND us2_order_type_id = 3 ## Order found: 2473 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2473 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3768 ## Mailing found: '13462' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099985, Consumer Id: 1051629, Address Id: 14954841 => Updated with Vin: 1G6DM577340168441 ## Mail History Id: 31099927, Consumer Id: 1047466, Address Id: 11666456 => Updated with Vin: 1G6DP577660101231 ## Mail History Id: 31099931, Consumer Id: 1107661, Address Id: 5985950 => Updated with Vin: 1G6KD52B8RU218298 ## Mail History Id: 31099891, Consumer Id: 1109589, Address Id: 14982658 => Updated with Vin: 1FAFP42X31F147411 ## Mail History Id: 31100013, Consumer Id: 1114492, Address Id: 14983542 => Updated with Vin: 1GYEE63A660204027 ## Mail History Id: 31099973, Consumer Id: 1107777, Address Id: 14982122 => Updated with Vin: W06VR54R7YR087566 ## Mail History Id: 31099979, Consumer Id: 1114549, Address Id: 14983559 => Updated with Vin: 1G6KD54Y6XU746291 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 2438 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-08 09:20:27') AND us2_order_type_id = 3 ## Order found: 2473 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2473 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3768 ## Mailing found: '13462' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099813, Consumer Id: 1109254, Address Id: 14982504 => Updated with Vin: 1GKFK66U43J160631 ## Mail History Id: 31099829, Consumer Id: 1116378, Address Id: 14984059 => Updated with Vin: 1G6KE57Y8YU166695 ## Mail History Id: 31099879, Consumer Id: 1114289, Address Id: 11451496 => Updated with Vin: 1GYEE637750157867 ## Mail History Id: 31099883, Consumer Id: 1046223, Address Id: 11451520 => Updated with Vin: 1G6KF579X2U174441 ## Mail History Id: 31099977, Consumer Id: 1107484, Address Id: 11953455 => Updated with Vin: 1G6KY5296SU803839 ## Mail History Id: 31099907, Consumer Id: 1111059, Address Id: 2852207 => Updated with Vin: 1G6DM57N630169919 ## Mail History Id: 31099889, Consumer Id: 1050672, Address Id: 14954507 => Updated with Vin: W06VR54R3YR060753 ## Total mail_history records updated with vin numbers: 7 out of 10 ============================================================ ====== Tracking Id: 2439 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-08 09:20:39') AND us2_order_type_id = 3 ## Order found: 2473 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2473 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3768 ## Mailing found: '13462' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099861, Consumer Id: 1107861, Address Id: 14982132 => Updated with Vin: 1G6KF52Y6SU297684 ## Mail History Id: 31099925, Consumer Id: 1114245, Address Id: 8134566 => Updated with Vin: 1G1AK15F867779478 ## Mail History Id: 31099837, Consumer Id: 1110544, Address Id: 3237801 => Updated with Vin: 1GHDX03E3YD178083 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2440 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-08 10:16:51') AND us2_order_type_id = 3 ## Order found: 2474 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2474 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3846 ## Mailing found: '13486' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 3 ============================================================ ====== Tracking Id: 2441 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-08 10:19:00') AND us2_order_type_id = 3 ## Order found: 2472 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2472 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3470 ## Mailing found: '13475' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 3 ============================================================ ====== Tracking Id: 2442 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-08 10:19:46') AND us2_order_type_id = 3 ## Order found: 2475 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2475 AND product_id = 2150 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3418 ## Mailing found: '13473' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 11 ============================================================ ====== Tracking Id: 2443 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-08 10:19:58') AND us2_order_type_id = 3 ## Order found: 2475 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2475 AND product_id = 2147 ## Job Group Found: '570' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('570') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808002') AND customer_id = 3418 ## Mailing found: '13496' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 32 ============================================================ ====== Tracking Id: 2444 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-08 10:20:11') AND us2_order_type_id = 3 ## Order found: 2475 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2475 AND product_id = 2152 ## Job Group Found: '574' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('574') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808006') AND customer_id = 3418 ## Mailing found: '13440' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31101066, Consumer Id: 669431, Address Id: 11787333 => Updated with Vin: 1G6DN57S640174946 ## Mail History Id: 31101068, Consumer Id: 674766, Address Id: 11790839 => Updated with Vin: 1G6DP567950107041 ## Mail History Id: 31101070, Consumer Id: 665495, Address Id: 11784517 => Updated with Vin: 1G6KD54Y1WU795929 ## Mail History Id: 31101072, Consumer Id: 673600, Address Id: 11790070 => Updated with Vin: 1G6KY54982U179412 ## Mail History Id: 31101074, Consumer Id: 680847, Address Id: 11794478 => Updated with Vin: 1G6KD54Y5XU804956 ## Mail History Id: 31101076, Consumer Id: 680860, Address Id: 11794487 => Updated with Vin: 1G2ZG58B474235563 ## Mail History Id: 31101078, Consumer Id: 610579, Address Id: 11755284 => Updated with Vin: 1GYEK63N42R283120 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 2445 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-08 10:20:23') AND us2_order_type_id = 3 ## Order found: 2475 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2475 AND product_id = 2153 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3418 ## Mailing found: '13452' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099704, Consumer Id: 672210, Address Id: 11789167 => Updated with Vin: 1G6KD54Y22U259243 ## Mail History Id: 31099726, Consumer Id: 674848, Address Id: 11790907 => Updated with Vin: 1G6KF5798YU267807 ## Mail History Id: 31099720, Consumer Id: 680666, Address Id: 11792502 => Updated with Vin: SHSRD78955U337238 ## Mail History Id: 31099728, Consumer Id: 675736, Address Id: 6609152 => Updated with Vin: 1G6DW677360187526 ## Mail History Id: 31099694, Consumer Id: 677993, Address Id: 11792763 => Updated with Vin: 1G6KD57Y97U135604 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2446 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-08 10:22:02') AND us2_order_type_id = 3 ## Order found: 2476 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2476 AND product_id = 142 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3697 ## Mailing found: '13479' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 3 ============================================================ ====== Tracking Id: 2447 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-08 10:22:08') AND us2_order_type_id = 3 ## Order found: 2476 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2476 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3697 ## Mailing found: '13460' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099897, Consumer Id: 1043602, Address Id: 14952585 => Updated with Vin: 1GYEE63A260217633 ## Mail History Id: 31099885, Consumer Id: 1043182, Address Id: 14952464 => Updated with Vin: 1G6EL12Y4YB704288 ## Mail History Id: 31099797, Consumer Id: 1044920, Address Id: 14834212 => Updated with Vin: 1GYFK63817R333767 ## Mail History Id: 31099847, Consumer Id: 1051198, Address Id: 3238629 => Updated with Vin: 1GYEK63N73R200524 ## Mail History Id: 31099939, Consumer Id: 1049801, Address Id: 5986926 => Updated with Vin: 1G6KF57923U152418 ## Mail History Id: 31099965, Consumer Id: 1045079, Address Id: 5989345 => Updated with Vin: 1G6KF5791YU331170 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 2448 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-08 10:22:20') AND us2_order_type_id = 3 ## Order found: 2476 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2476 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3697 ## Mailing found: '13460' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099913, Consumer Id: 1044933, Address Id: 14952977 => Updated with Vin: 3GYFK66N74G319465 ## Mail History Id: 31099867, Consumer Id: 1045367, Address Id: 11028775 => Updated with Vin: 1GYEE637980133770 ## Mail History Id: 31099935, Consumer Id: 1043229, Address Id: 5987375 => Updated with Vin: 1G6KE57Y11U123001 ## Mail History Id: 31099899, Consumer Id: 1044850, Address Id: 14952949 => Updated with Vin: 1GYEK63N34R315123 ## Mail History Id: 31099989, Consumer Id: 1043617, Address Id: 12938045 => Updated with Vin: 1GYFK63857R264193 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2449 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-08 10:22:32') AND us2_order_type_id = 3 ## Order found: 2476 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2476 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3697 ## Mailing found: '13460' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099877, Consumer Id: 1051652, Address Id: 2848899 => Updated with Vin: 2GCEK13T951144346 ## Mail History Id: 31100009, Consumer Id: 1046059, Address Id: 14953317 => Updated with Vin: 3GYEK62N15G126277 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2450 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-08 10:23:35') AND us2_order_type_id = 3 ## Order found: 2477 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2477 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3815 ## Mailing found: '13485' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 19 ============================================================ ====== Tracking Id: 2451 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-08 10:23:43') AND us2_order_type_id = 3 ## Order found: 2477 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2477 AND product_id = 2153 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3815 ## Mailing found: '13465' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100031, Consumer Id: 1365317, Address Id: 15638265 => Updated with Vin: SHSRD78874U231525 ## Mail History Id: 31100041, Consumer Id: 1378799, Address Id: 15632987 => Updated with Vin: 1HGES165X2L051887 ## Mail History Id: 31099859, Consumer Id: 1368396, Address Id: 3450347 => Updated with Vin: 1HGEJ8244YL015002 ## Mail History Id: 31100049, Consumer Id: 1378791, Address Id: 15671611 => Updated with Vin: 19UYA42701A009148 ## Mail History Id: 31100029, Consumer Id: 1378792, Address Id: 15635570 => Updated with Vin: 1HGCG5658WA216188 ## Mail History Id: 31100063, Consumer Id: 1359220, Address Id: 15631990 => Updated with Vin: 1HGCM56643A078341 ## Mail History Id: 31100055, Consumer Id: 1360996, Address Id: 15633320 => Updated with Vin: 2HGES16505H529672 ## Mail History Id: 31100047, Consumer Id: 1373320, Address Id: 9050842 => Updated with Vin: 5FNRL18673B007062 ## Mail History Id: 31100069, Consumer Id: 1375887, Address Id: 11361838 => Updated with Vin: 1HGEM227X1L031936 ## Mail History Id: 31099801, Consumer Id: 1378804, Address Id: 15671615 => Updated with Vin: JHLRE48707C046067 ## Mail History Id: 31100059, Consumer Id: 1378803, Address Id: 15671614 => Updated with Vin: SHSRD78966U404902 ## Mail History Id: 31100053, Consumer Id: 1378800, Address Id: 15671613 => Updated with Vin: 5J6YH18347L006113 ## Total mail_history records updated with vin numbers: 12 out of 14 ============================================================ ====== Tracking Id: 2452 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-08 10:23:55') AND us2_order_type_id = 3 ## Order found: 2477 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2477 AND product_id = 2150 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3815 ## Mailing found: '13485' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 2453 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-08 10:24:07') AND us2_order_type_id = 3 ## Order found: 2477 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2477 AND product_id = 2152 ## Job Group Found: '574' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('574') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808006' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808006') AND customer_id = 3815 ## Mailing found: '13443' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31101106, Consumer Id: 1362520, Address Id: 15632409 => Updated with Vin: 2HJYK16236H543211 ## Mail History Id: 31101108, Consumer Id: 1367709, Address Id: 11305420 => Updated with Vin: 4S6CM58W0X4426221 ## Mail History Id: 31101110, Consumer Id: 1367914, Address Id: 3455714 => Updated with Vin: 2HGEJ6672WH595546 ## Mail History Id: 31101112, Consumer Id: 1360823, Address Id: 15633193 => Updated with Vin: 5FNRL38745B011318 ## Mail History Id: 31101114, Consumer Id: 1359955, Address Id: 3451837 => Updated with Vin: 1HGCG165X1A060463 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 2454 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-08 10:24:20') AND us2_order_type_id = 3 ## Order found: 2477 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2477 AND product_id = 2147 ## Job Group Found: '570' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('570') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808002') AND customer_id = 3815 ## Mailing found: '13499' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 19 ============================================================ ====== Tracking Id: 2455 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-08 10:28:55') AND us2_order_type_id = 3 ## Order found: 2478 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2478 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3795 ## Mailing found: '13463' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100179, Consumer Id: 1068661, Address Id: 14961364 => Updated with Vin: 1HGCG5642WA009402 ## Mail History Id: 31100097, Consumer Id: 1068567, Address Id: 6598117 => Updated with Vin: JHLRD1864XC057906 ## Mail History Id: 31100191, Consumer Id: 1056218, Address Id: 3065967 => Updated with Vin: 1HGCM72656A001483 ## Mail History Id: 31100165, Consumer Id: 1058246, Address Id: 3039873 => Updated with Vin: 1B4GP44G0YB774335 ## Mail History Id: 31100113, Consumer Id: 1061392, Address Id: 7680458 => Updated with Vin: 1HGCM665X3A046989 ## Total mail_history records updated with vin numbers: 5 out of 7 ============================================================ ====== Tracking Id: 2456 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-08 10:29:07') AND us2_order_type_id = 3 ## Order found: 2478 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2478 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3795 ## Mailing found: '13463' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100215, Consumer Id: 1068804, Address Id: 5186080 => Updated with Vin: 2HJYK16547H517017 ## Mail History Id: 31100235, Consumer Id: 1052970, Address Id: 14955368 => Updated with Vin: 1HGCG2250YA037537 ## Mail History Id: 31100123, Consumer Id: 1052865, Address Id: 4946799 => Updated with Vin: 5FNRL18974B067208 ## Mail History Id: 31100231, Consumer Id: 1068448, Address Id: 3107784 => Updated with Vin: 1HGCM66447A060867 ## Mail History Id: 31100181, Consumer Id: 1068809, Address Id: 3056703 => Updated with Vin: 1HGCM66427A093821 ## Mail History Id: 31100095, Consumer Id: 1059525, Address Id: 7658646 => Updated with Vin: 1HGFA16597L143989 ## Mail History Id: 31100177, Consumer Id: 1059518, Address Id: 4470378 => Updated with Vin: JHLRE38338C000662 ## Mail History Id: 31100233, Consumer Id: 1060206, Address Id: 5360109 => Updated with Vin: 1HGES16565L012413 ## Mail History Id: 31100071, Consumer Id: 1060208, Address Id: 14957428 => Updated with Vin: 1HGCP36838A040460 ## Mail History Id: 31099983, Consumer Id: 1060201, Address Id: 1149069 => Updated with Vin: 5J6RE38358L001268 ## Mail History Id: 31100157, Consumer Id: 1055559, Address Id: 3946945 => Updated with Vin: 1HGCD563XTA286651 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 2457 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-08 10:29:19') AND us2_order_type_id = 3 ## Order found: 2478 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2478 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3795 ## Mailing found: '13463' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100175, Consumer Id: 1068577, Address Id: 9578773 => Updated with Vin: 1HGCG22572A030849 ## Mail History Id: 31100149, Consumer Id: 1057670, Address Id: 3014620 => Updated with Vin: 2HGFG12607H503418 ## Mail History Id: 31100119, Consumer Id: 1058085, Address Id: 9578342 => Updated with Vin: 5FNRL38867B016659 ## Mail History Id: 31100121, Consumer Id: 1058257, Address Id: 14956899 => Updated with Vin: JHLRE38587C028425 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2458 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-08 11:16:32') AND us2_order_type_id = 3 ## Order found: 2479 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2479 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3486 ## Mailing found: '13457' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100371, Consumer Id: 470418, Address Id: 7540184 => Updated with Vin: 1GCEC14C47Z603613 ## Mail History Id: 31100459, Consumer Id: 552514, Address Id: 10590585 => Updated with Vin: 3VWDT71K26M810167 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 2459 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-08 11:16:44') AND us2_order_type_id = 3 ## Order found: 2479 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2479 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3486 ## Mailing found: '13457' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100469, Consumer Id: 481872, Address Id: 9824159 => Updated with Vin: JH4DC4454SS003558 ## Mail History Id: 31100419, Consumer Id: 476342, Address Id: 1039213 => Updated with Vin: 1GMDX03E9XD238089 ## Mail History Id: 31100457, Consumer Id: 464970, Address Id: 8118361 => Updated with Vin: 1GNEC16Z14J319813 ## Mail History Id: 31100431, Consumer Id: 489969, Address Id: 4377049 => Updated with Vin: 1GCGC24U74Z173756 ## Mail History Id: 31100333, Consumer Id: 478443, Address Id: 7539056 => Updated with Vin: 2G1WL52M5W1124026 ## Mail History Id: 31100503, Consumer Id: 468740, Address Id: 9822188 => Updated with Vin: 1GBJK33D96F244741 ## Mail History Id: 31100455, Consumer Id: 469348, Address Id: 9822482 => Updated with Vin: 1GCHC29U36E198998 ## Mail History Id: 31100421, Consumer Id: 484450, Address Id: 4376531 => Updated with Vin: 1GCEC14Z45Z314121 ## Mail History Id: 31100237, Consumer Id: 469808, Address Id: 9822716 => Updated with Vin: 2GCEC13C271517128 ## Mail History Id: 31100475, Consumer Id: 470268, Address Id: 9822983 => Updated with Vin: 1GNEC13Z14J182795 ## Mail History Id: 31100323, Consumer Id: 477867, Address Id: 4373030 => Updated with Vin: 1GNEC13Z72J276094 ## Mail History Id: 31100335, Consumer Id: 489989, Address Id: 9826354 => Updated with Vin: 1GNDU03E92D149068 ## Mail History Id: 31100439, Consumer Id: 490042, Address Id: 7992276 => Updated with Vin: 1G1AK12F857526826 ## Total mail_history records updated with vin numbers: 13 out of 13 ============================================================ ====== Tracking Id: 2460 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-08 11:16:56') AND us2_order_type_id = 3 ## Order found: 2479 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2479 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3486 ## Mailing found: '13457' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100377, Consumer Id: 469498, Address Id: 9822553 => Updated with Vin: 1GKEK13ZX4J243108 ## Mail History Id: 31100257, Consumer Id: 463901, Address Id: 4372326 => Updated with Vin: 1GNDS13S042221209 ## Mail History Id: 31100481, Consumer Id: 478392, Address Id: 8119598 => Updated with Vin: 1GNDV33E15D103883 ## Mail History Id: 31100299, Consumer Id: 465848, Address Id: 1034421 => Updated with Vin: 3GNEC16Z55G148065 ## Mail History Id: 31100245, Consumer Id: 466431, Address Id: 5416507 => Updated with Vin: 1GCDS136758185920 ## Mail History Id: 31100399, Consumer Id: 467751, Address Id: 4374988 => Updated with Vin: 1G1AK52F857619529 ## Mail History Id: 31100443, Consumer Id: 468214, Address Id: 1342252 => Updated with Vin: 1GCCS198868274711 ## Mail History Id: 31100319, Consumer Id: 481650, Address Id: 9824951 => Updated with Vin: 2G1WT58K369163219 ## Mail History Id: 31100345, Consumer Id: 469177, Address Id: 9822394 => Updated with Vin: 2G2WR524441273826 ## Mail History Id: 31100373, Consumer Id: 485760, Address Id: 7540251 => Updated with Vin: 1G2WK52JX1F166441 ## Mail History Id: 31100313, Consumer Id: 486273, Address Id: 9825871 => Updated with Vin: 1G1YY36U565104785 ## Mail History Id: 31100261, Consumer Id: 490464, Address Id: 9826550 => Updated with Vin: 1GCEK19T83Z187765 ## Mail History Id: 31100467, Consumer Id: 489538, Address Id: 9826160 => Updated with Vin: 2G1WF55E459371405 ## Mail History Id: 31100355, Consumer Id: 489958, Address Id: 9826341 => Updated with Vin: 1G1ZU54875F219513 ## Mail History Id: 31100311, Consumer Id: 470869, Address Id: 1202888 => Updated with Vin: 2GCEC19C881126459 ## Mail History Id: 31100301, Consumer Id: 490398, Address Id: 1034579 => Updated with Vin: 1GNEC13Z63J336884 ## Mail History Id: 31100351, Consumer Id: 490400, Address Id: 630860 => Updated with Vin: 3GNEC16T6YG115611 ## Mail History Id: 31100357, Consumer Id: 470918, Address Id: 9822956 => Updated with Vin: 1GNFK13048R123126 ## Mail History Id: 31100489, Consumer Id: 490421, Address Id: 9826537 => Updated with Vin: 2GCEC19T121215832 ## Mail History Id: 31100363, Consumer Id: 490423, Address Id: 1215665 => Updated with Vin: 1G1ZT54845F162223 ## Mail History Id: 31100497, Consumer Id: 470944, Address Id: 9823367 => Updated with Vin: 1J4GX58S24C167116 ## Total mail_history records updated with vin numbers: 21 out of 26 ============================================================ ====== Tracking Id: 2461 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-08 11:17:13') AND us2_order_type_id = 3 ## Order found: 2480 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2480 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3416 ## Mailing found: '13451' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099790, Consumer Id: 692433, Address Id: 11798352 => Updated with Vin: 1GYFK63877R151281 ## Mail History Id: 31099912, Consumer Id: 693274, Address Id: 11798758 => Updated with Vin: 1G6KS52Y3VU829960 ## Mail History Id: 31099792, Consumer Id: 693272, Address Id: 11798757 => Updated with Vin: 1G6EL12Y0YU190363 ## Mail History Id: 31099848, Consumer Id: 693276, Address Id: 11798760 => Updated with Vin: 1G6KD54Y6XU783843 ## Mail History Id: 31099896, Consumer Id: 683704, Address Id: 1969688 => Updated with Vin: 1G6KF5498XU767873 ## Mail History Id: 31099748, Consumer Id: 684775, Address Id: 10934303 => Updated with Vin: 1G6KD54Y6VU229036 ## Mail History Id: 31099840, Consumer Id: 690019, Address Id: 11797475 => Updated with Vin: 1G6KD57Y76U107024 ## Mail History Id: 31099832, Consumer Id: 692505, Address Id: 1968163 => Updated with Vin: 1G6DP577370132132 ## Mail History Id: 31099772, Consumer Id: 681474, Address Id: 1960724 => Updated with Vin: 3GYEK63N32G352234 ## Mail History Id: 31099798, Consumer Id: 691872, Address Id: 11795205 => Updated with Vin: 5GTDN13E378120086 ## Mail History Id: 31099820, Consumer Id: 692572, Address Id: 1965705 => Updated with Vin: 1G6DW677070127804 ## Mail History Id: 31099954, Consumer Id: 690585, Address Id: 11797660 => Updated with Vin: 1GYEK63N96R109923 ## Mail History Id: 31099888, Consumer Id: 690655, Address Id: 11797686 => Updated with Vin: 1G6DW677X60184879 ## Mail History Id: 31099900, Consumer Id: 625255, Address Id: 1969881 => Updated with Vin: 1G6DM57T670140327 ## Total mail_history records updated with vin numbers: 14 out of 14 ============================================================ ====== Tracking Id: 2462 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-08 11:17:25') AND us2_order_type_id = 3 ## Order found: 2480 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2480 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3416 ## Mailing found: '13451' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099870, Consumer Id: 688383, Address Id: 1969171 => Updated with Vin: 1G6KS54YX3U126138 ## Mail History Id: 31099952, Consumer Id: 692641, Address Id: 11798447 => Updated with Vin: 5GTDN136368101903 ## Mail History Id: 31099762, Consumer Id: 625549, Address Id: 11766011 => Updated with Vin: 5GTDN13E678137383 ## Mail History Id: 31099776, Consumer Id: 692848, Address Id: 11798547 => Updated with Vin: W06VR54R51R033270 ## Mail History Id: 31099962, Consumer Id: 693133, Address Id: 11798695 => Updated with Vin: 5GTDN136568287542 ## Mail History Id: 31099866, Consumer Id: 686677, Address Id: 11581118 => Updated with Vin: 1G6KD52B4SU221186 ## Mail History Id: 31099756, Consumer Id: 690310, Address Id: 1959255 => Updated with Vin: 1G6KE54Y2WU756537 ## Mail History Id: 31099894, Consumer Id: 682222, Address Id: 1969526 => Updated with Vin: 1G6KF57931U260785 ## Mail History Id: 31099956, Consumer Id: 690312, Address Id: 11765903 => Updated with Vin: 5GTDN136168187017 ## Mail History Id: 31099872, Consumer Id: 687639, Address Id: 11796613 => Updated with Vin: 1G6EL12Y8RU605382 ## Mail History Id: 31099828, Consumer Id: 691445, Address Id: 9042994 => Updated with Vin: 5GTDN136268247645 ## Mail History Id: 31099806, Consumer Id: 692107, Address Id: 1964191 => Updated with Vin: 1G6KD54Y94U133688 ## Total mail_history records updated with vin numbers: 12 out of 15 ============================================================ ====== Tracking Id: 2463 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-08 11:17:29') AND us2_order_type_id = 3 ## Order found: 2481 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2481 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3491 ## Mailing found: '13613' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242869, Consumer Id: 808628, Address Id: 11880237 => Updated with Vin: KL1TD62645B492332 ## Mail History Id: 31242829, Consumer Id: 836378, Address Id: 11893530 => Updated with Vin: 1GCEC14W6YZ330704 ## Mail History Id: 31242903, Consumer Id: 811157, Address Id: 11885906 => Updated with Vin: 2GCEC19Z061296669 ## Mail History Id: 31242937, Consumer Id: 812100, Address Id: 11886922 => Updated with Vin: 1GCEC19VX7Z132867 ## Mail History Id: 31242771, Consumer Id: 813656, Address Id: 11888205 => Updated with Vin: 3A4FY48BX7T519130 ## Mail History Id: 31242823, Consumer Id: 815437, Address Id: 11890236 => Updated with Vin: 1GNEK13Z14R160199 ## Mail History Id: 31242931, Consumer Id: 815799, Address Id: 11890505 => Updated with Vin: 1G1AK18F187187693 ## Mail History Id: 31242585, Consumer Id: 840040, Address Id: 11895624 => Updated with Vin: 2G2FS22K0X2206365 ## Mail History Id: 31242901, Consumer Id: 839997, Address Id: 11895605 => Updated with Vin: 1G4CW52K7TH643146 ## Mail History Id: 31242769, Consumer Id: 816126, Address Id: 11891291 => Updated with Vin: 5NPEU46F47H161493 ## Mail History Id: 31242789, Consumer Id: 816131, Address Id: 11891295 => Updated with Vin: 1D4GP25B77B119830 ## Mail History Id: 31242933, Consumer Id: 827401, Address Id: 11881967 => Updated with Vin: 1GCEC14W8VZ135571 ## Mail History Id: 31242843, Consumer Id: 833358, Address Id: 11891540 => Updated with Vin: 2CNDL23F856103939 ## Mail History Id: 31242897, Consumer Id: 840014, Address Id: 11895611 => Updated with Vin: 1GCEC14CX7Z558418 ## Total mail_history records updated with vin numbers: 14 out of 16 ============================================================ ====== Tracking Id: 2464 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-08 11:17:38') AND us2_order_type_id = 3 ## Order found: 2480 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2480 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3416 ## Mailing found: '13451' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31099812, Consumer Id: 625648, Address Id: 6875058 => Updated with Vin: 1G6KS54Y33U103302 ## Mail History Id: 31099782, Consumer Id: 692948, Address Id: 1961610 => Updated with Vin: 5GTDN136968279640 ## Mail History Id: 31099810, Consumer Id: 692886, Address Id: 11798566 => Updated with Vin: 1G3GR62C8V4117369 ## Mail History Id: 31099890, Consumer Id: 693003, Address Id: 11798626 => Updated with Vin: 1G3GR62C6S4105958 ## Mail History Id: 31099706, Consumer Id: 693009, Address Id: 11798631 => Updated with Vin: 5GTEN13L588132714 ## Mail History Id: 31099958, Consumer Id: 693008, Address Id: 11798630 => Updated with Vin: 1G6KF57972U153773 ## Mail History Id: 31099960, Consumer Id: 625661, Address Id: 11766069 => Updated with Vin: 1G6DW67V680109100 ## Mail History Id: 31099822, Consumer Id: 625812, Address Id: 11766140 => Updated with Vin: 1G6KF57955U196416 ## Mail History Id: 31099950, Consumer Id: 681625, Address Id: 11794856 => Updated with Vin: 3GYEK63N13G188340 ## Mail History Id: 31099754, Consumer Id: 686730, Address Id: 1959247 => Updated with Vin: 1G6KD54Y62U201314 ## Mail History Id: 31099892, Consumer Id: 682904, Address Id: 1969524 => Updated with Vin: 1G6KE54Y2XU800957 ## Mail History Id: 31099824, Consumer Id: 684025, Address Id: 4777060 => Updated with Vin: 1G6ET1295SU608433 ## Mail History Id: 31099904, Consumer Id: 688851, Address Id: 1970017 => Updated with Vin: 1G6KD54Y65U184860 ## Mail History Id: 31099850, Consumer Id: 681378, Address Id: 1968784 => Updated with Vin: 1G6KD54Y0YU147677 ## Mail History Id: 31099758, Consumer Id: 689782, Address Id: 3755463 => Updated with Vin: 1G6DP577660109071 ## Mail History Id: 31099788, Consumer Id: 690874, Address Id: 6871583 => Updated with Vin: 5GTDN136568194701 ## Total mail_history records updated with vin numbers: 16 out of 18 ============================================================ ====== Tracking Id: 2465 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-08 11:17:41') AND us2_order_type_id = 3 ## Order found: 2481 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2481 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2466 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-08 11:17:45') AND us2_order_type_id = 3 ## Order found: 2481 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2481 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3491 ## Mailing found: '13613' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242847, Consumer Id: 839894, Address Id: 11887508 => Updated with Vin: 2G1WT58K179202973 ## Mail History Id: 31242831, Consumer Id: 812958, Address Id: 11887541 => Updated with Vin: 1G1AK55F077151875 ## Mail History Id: 31242775, Consumer Id: 814532, Address Id: 11889089 => Updated with Vin: 3GCEK13M97G552493 ## Mail History Id: 31242787, Consumer Id: 814530, Address Id: 11889087 => Updated with Vin: 1G1AK55F077407237 ## Mail History Id: 31242839, Consumer Id: 815375, Address Id: 11890199 => Updated with Vin: 1G2ZH18N574119336 ## Mail History Id: 31242915, Consumer Id: 839861, Address Id: 11882952 => Updated with Vin: 3GCEC14X86G168919 ## Mail History Id: 31242895, Consumer Id: 815758, Address Id: 11890473 => Updated with Vin: 1G2HX52KXVH249493 ## Mail History Id: 31242773, Consumer Id: 815933, Address Id: 11890603 => Updated with Vin: 1GNDS13S432227058 ## Mail History Id: 31242841, Consumer Id: 815757, Address Id: 11890472 => Updated with Vin: 2GCEC19H1R1152611 ## Mail History Id: 31242815, Consumer Id: 835796, Address Id: 1300818 => Updated with Vin: 1GNCS13W3W2274648 ## Mail History Id: 31242935, Consumer Id: 834598, Address Id: 11892364 => Updated with Vin: 1G1ZT54865F177869 ## Total mail_history records updated with vin numbers: 11 out of 11 ============================================================ ====== Tracking Id: 2467 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-08 11:18:38') AND us2_order_type_id = 3 ## Order found: 2482 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2482 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2468 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-08 11:18:42') AND us2_order_type_id = 3 ## Order found: 2483 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2483 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3808 ## Mailing found: '13484' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 11 ============================================================ ====== Tracking Id: 2469 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-08 11:18:50') AND us2_order_type_id = 3 ## Order found: 2482 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2482 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3705 ## Mailing found: '13461' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100264, Consumer Id: 964629, Address Id: 12057061 => Updated with Vin: 2CKDL63F366140564 ## Mail History Id: 31100218, Consumer Id: 971991, Address Id: 14842535 => Updated with Vin: 2GTEC13C581248818 ## Mail History Id: 31100292, Consumer Id: 971992, Address Id: 14842536 => Updated with Vin: 2GCEC13J281189855 ## Mail History Id: 31100206, Consumer Id: 971995, Address Id: 14842539 => Updated with Vin: 5GAEV23748J244110 ## Mail History Id: 31100226, Consumer Id: 971996, Address Id: 14842540 => Updated with Vin: 2GTEC13C681250786 ## Mail History Id: 31100272, Consumer Id: 972000, Address Id: 14842543 => Updated with Vin: 1GNFC13018R183457 ## Mail History Id: 31100208, Consumer Id: 972005, Address Id: 14842548 => Updated with Vin: 3GNFC16068G202872 ## Mail History Id: 31100252, Consumer Id: 972006, Address Id: 14842549 => Updated with Vin: 2GTEC13J981244737 ## Mail History Id: 31100262, Consumer Id: 972007, Address Id: 14842550 => Updated with Vin: KL1TD66617B698608 ## Mail History Id: 31100256, Consumer Id: 972008, Address Id: 14842551 => Updated with Vin: 2GCEC13CX81172884 ## Mail History Id: 31100282, Consumer Id: 972009, Address Id: 14842552 => Updated with Vin: 2GCEC13J781188250 ## Mail History Id: 31100284, Consumer Id: 980442, Address Id: 14846665 => Updated with Vin: 2GCEC19T641194169 ## Total mail_history records updated with vin numbers: 12 out of 14 ============================================================ ====== Tracking Id: 2470 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-08 11:18:59') AND us2_order_type_id = 3 ## Order found: 2484 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2484 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3721 ## Mailing found: '13481' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 2471 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-08 11:19:02') AND us2_order_type_id = 3 ## Order found: 2483 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2483 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3808 ## Mailing found: '13464' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100014, Consumer Id: 1278618, Address Id: 15458440 => Updated with Vin: 1GCJK33205F833184 ## Mail History Id: 31100076, Consumer Id: 1287575, Address Id: 15464694 => Updated with Vin: JT8UF11E5N0135514 ## Mail History Id: 31100008, Consumer Id: 1282195, Address Id: 15461011 => Updated with Vin: 2GCEK19B151346581 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 2472 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-08 11:19:14') AND us2_order_type_id = 3 ## Order found: 2482 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2482 AND product_id = 106 ## Job Group Found: '572' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('572') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808004') AND customer_id = 3705 ## Mailing found: '13437' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31101163, Consumer Id: 968261, Address Id: 9252686 => Updated with Vin: 3GNFC16J77G130510 ## Mail History Id: 31101171, Consumer Id: 970893, Address Id: 14841773 => Updated with Vin: 1GKFC16008R148546 ## Mail History Id: 31101179, Consumer Id: 970894, Address Id: 14841774 => Updated with Vin: 1GKFC13C88R120444 ## Mail History Id: 31101164, Consumer Id: 970900, Address Id: 14841778 => Updated with Vin: 1GNDS13S442318865 ## Mail History Id: 31101172, Consumer Id: 970902, Address Id: 10444353 => Updated with Vin: 5Y2SL65857Z442344 ## Mail History Id: 31101180, Consumer Id: 979607, Address Id: 14846192 => Updated with Vin: 1GNDS13S132382649 ## Mail History Id: 31101187, Consumer Id: 979803, Address Id: 14846299 => Updated with Vin: 1GNDX03E34D141218 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 2473 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-08 11:19:26') AND us2_order_type_id = 3 ## Order found: 2483 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2483 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3808 ## Mailing found: '13464' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100004, Consumer Id: 1171421, Address Id: 15029609 => Updated with Vin: 2GCEK13T561120353 ## Mail History Id: 31100024, Consumer Id: 1171480, Address Id: 15029663 => Updated with Vin: 1FAHP34N27W146094 ## Mail History Id: 31099990, Consumer Id: 1171535, Address Id: 15029709 => Updated with Vin: 2G1WT58K479122986 ## Mail History Id: 31100042, Consumer Id: 1171516, Address Id: 15029692 => Updated with Vin: 1G1JC52F157198427 ## Mail History Id: 31099994, Consumer Id: 1170750, Address Id: 15028997 => Updated with Vin: 1GNEC13T75R110112 ## Mail History Id: 31100026, Consumer Id: 1171238, Address Id: 15029447 => Updated with Vin: 1G1ZT62845F145298 ## Mail History Id: 31100022, Consumer Id: 1171433, Address Id: 15029620 => Updated with Vin: 1GNEC16R4XJ511554 ## Mail History Id: 31100036, Consumer Id: 1171450, Address Id: 15029634 => Updated with Vin: 3G1JC1244XS851506 ## Mail History Id: 31100048, Consumer Id: 1171562, Address Id: 15029733 => Updated with Vin: 2CNBE634036904949 ## Mail History Id: 31100082, Consumer Id: 1267720, Address Id: 15451041 => Updated with Vin: 1GNEK13Z04R270791 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 2474 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-08 11:19:39') AND us2_order_type_id = 3 ## Order found: 2483 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2483 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3808 ## Mailing found: '13464' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100070, Consumer Id: 1266258, Address Id: 15437775 => Updated with Vin: 3GNDA23D36S671681 ## Mail History Id: 31100040, Consumer Id: 1266276, Address Id: 15437790 => Updated with Vin: 1G1NE52J02M509648 ## Mail History Id: 31099996, Consumer Id: 1266269, Address Id: 15437784 => Updated with Vin: 2GCEC19V531366157 ## Mail History Id: 31099966, Consumer Id: 1266368, Address Id: 15437862 => Updated with Vin: 1GNDS13S632267061 ## Mail History Id: 31099972, Consumer Id: 1266453, Address Id: 15437932 => Updated with Vin: 1GNEL19X82B115057 ## Mail History Id: 31100152, Consumer Id: 1266267, Address Id: 15437783 => Updated with Vin: 2G1WF52E159250934 ## Mail History Id: 31099998, Consumer Id: 1266178, Address Id: 15437718 => Updated with Vin: 3GNEC16Z33G329520 ## Mail History Id: 31100018, Consumer Id: 1266444, Address Id: 15437923 => Updated with Vin: 1G1JC124717167359 ## Mail History Id: 31100084, Consumer Id: 1266168, Address Id: 15437710 => Updated with Vin: 1GCGG25U671160230 ## Mail History Id: 31100046, Consumer Id: 1266322, Address Id: 15437830 => Updated with Vin: 2CNDL63F066076826 ## Mail History Id: 31099984, Consumer Id: 1265970, Address Id: 15437540 => Updated with Vin: 1GNES16S636102183 ## Mail History Id: 31099986, Consumer Id: 1266089, Address Id: 15437461 => Updated with Vin: 2GCEC19V641268868 ## Total mail_history records updated with vin numbers: 12 out of 13 ============================================================ ====== Tracking Id: 2475 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-08 11:46:41') AND us2_order_type_id = 3 ## Order found: 2485 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2485 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2476 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-08 11:46:44') AND us2_order_type_id = 3 ## Order found: 2484 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2484 AND product_id = 2147 ## Job Group Found: '570' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('570') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808002') AND customer_id = 3721 ## Mailing found: '13498' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 2477 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-08 11:46:45') AND us2_order_type_id = 3 ## Order found: 2485 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2485 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3357 ## Mailing found: '13450' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100750, Consumer Id: 609079, Address Id: 11754195 => Updated with Vin: JM1BK12G061422002 ## Mail History Id: 31100626, Consumer Id: 609077, Address Id: 11754194 => Updated with Vin: 1HGCG16572A065783 ## Mail History Id: 31100648, Consumer Id: 609082, Address Id: 11754196 => Updated with Vin: JM1FE17N350158150 ## Mail History Id: 31100752, Consumer Id: 153576, Address Id: 395811 => Updated with Vin: 1J4GS48K85C695611 ## Mail History Id: 31100560, Consumer Id: 155079, Address Id: 394449 => Updated with Vin: 1FTRF12237KD48156 ## Mail History Id: 31100618, Consumer Id: 198472, Address Id: 407538 => Updated with Vin: JM1CR29L960112848 ## Mail History Id: 31100738, Consumer Id: 194599, Address Id: 404635 => Updated with Vin: 1ZVFT82H665170908 ## Mail History Id: 31100498, Consumer Id: 609083, Address Id: 11754197 => Updated with Vin: 1MEFM40126G618661 ## Mail History Id: 31100730, Consumer Id: 155699, Address Id: 397736 => Updated with Vin: JM1FE173X70211282 ## Mail History Id: 31100622, Consumer Id: 154349, Address Id: 396517 => Updated with Vin: 1FAFP56U37A144259 ## Mail History Id: 31100516, Consumer Id: 609078, Address Id: 401950 => Updated with Vin: JHMFA36217S015265 ## Mail History Id: 31100694, Consumer Id: 496236, Address Id: 9830842 => Updated with Vin: YV1LS5118S2224989 ## Mail History Id: 31100532, Consumer Id: 197900, Address Id: 407211 => Updated with Vin: 1FTEE14Y6SHA50208 ## Mail History Id: 31100576, Consumer Id: 609076, Address Id: 11754192 => Updated with Vin: 4M2ZV1115WDJ15100 ## Mail History Id: 31100712, Consumer Id: 196864, Address Id: 406726 => Updated with Vin: 1B4HS28YXXF552726 ## Mail History Id: 31100764, Consumer Id: 609084, Address Id: 11754198 => Updated with Vin: 2FMZA5140YBB13178 ## Total mail_history records updated with vin numbers: 16 out of 20 ============================================================ ====== Tracking Id: 2478 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-08 11:46:57') AND us2_order_type_id = 3 ## Order found: 2484 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2484 AND product_id = 2150 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3721 ## Mailing found: '13481' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 2 ============================================================ ====== Tracking Id: 2479 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-08 11:46:57') AND us2_order_type_id = 3 ## Order found: 2485 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2485 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3357 ## Mailing found: '13450' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100512, Consumer Id: 195335, Address Id: 401909 => Updated with Vin: 1FTYR14V21PB50074 ## Mail History Id: 31100688, Consumer Id: 188885, Address Id: 399293 => Updated with Vin: JM1FE17N640138053 ## Mail History Id: 31100528, Consumer Id: 198648, Address Id: 407388 => Updated with Vin: 1FMFU17L63LB24969 ## Mail History Id: 31100744, Consumer Id: 152103, Address Id: 394459 => Updated with Vin: 1YVHP80C855M54122 ## Mail History Id: 31100756, Consumer Id: 193618, Address Id: 403187 => Updated with Vin: 1FDSW35P35EC17997 ## Mail History Id: 31100492, Consumer Id: 194452, Address Id: 404798 => Updated with Vin: JM1CR29LX60126905 ## Mail History Id: 31100724, Consumer Id: 155531, Address Id: 397577 => Updated with Vin: JM3TB38V880136274 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 2480 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-08 12:18:12') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2481 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-08 12:18:16') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2482 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-08 12:18:19') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2483 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-08 12:18:21') AND us2_order_type_id = 3 ## Order found: 2486 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2486 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3471 ## Mailing found: '13476' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 52 ============================================================ ====== Tracking Id: 2484 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-08 12:18:34') AND us2_order_type_id = 3 ## Order found: 2486 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2486 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3471 ## Mailing found: '13456' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100350, Consumer Id: 823368, Address Id: 11876712 => Updated with Vin: 1G6DM57N730156094 ## Mail History Id: 31100344, Consumer Id: 821912, Address Id: 11876631 => Updated with Vin: 1G6KD57YX3U197345 ## Mail History Id: 31100322, Consumer Id: 802424, Address Id: 10215828 => Updated with Vin: 1G3NF12E0XC379044 ## Mail History Id: 31100298, Consumer Id: 821209, Address Id: 7877920 => Updated with Vin: 1GYFK63857R203751 ## Mail History Id: 31100300, Consumer Id: 823001, Address Id: 11876827 => Updated with Vin: 1GYFK638X7R372759 ## Mail History Id: 31100330, Consumer Id: 823073, Address Id: 10217285 => Updated with Vin: 1GYEK63N34R232081 ## Mail History Id: 31100304, Consumer Id: 807012, Address Id: 11876228 => Updated with Vin: 1GYFK638X8R165113 ## Mail History Id: 31100332, Consumer Id: 823372, Address Id: 11876706 => Updated with Vin: 1G6DM577740106279 ## Total mail_history records updated with vin numbers: 8 out of 10 ============================================================ ====== Tracking Id: 2485 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-08 12:18:39') AND us2_order_type_id = 3 ## Order found: 2487 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2487 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3451 ## Mailing found: '13474' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 30 ============================================================ ====== Tracking Id: 2486 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-08 14:16:25') AND us2_order_type_id = 3 ## Order found: 2475 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2475 AND product_id = 143 ## Job Group Found: '569' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('569') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808001') AND customer_id = 3418 ## Mailing found: '13473' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 34 ============================================================ ====== Tracking Id: 2487 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-08 14:16:43') AND us2_order_type_id = 3 ## Order found: 2487 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2487 AND product_id = 114 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3451 ## Mailing found: '13454' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100382, Consumer Id: 628156, Address Id: 11756665 => Updated with Vin: SCBLF34F44CX09937 ## Mail History Id: 31100386, Consumer Id: 628162, Address Id: 11765482 => Updated with Vin: 2HKRL18621H529340 ## Mail History Id: 31100384, Consumer Id: 628149, Address Id: 1007595 => Updated with Vin: JHLRD68412C021238 ## Mail History Id: 31100370, Consumer Id: 628159, Address Id: 1003725 => Updated with Vin: JHMCM56876C009859 ## Mail History Id: 31100478, Consumer Id: 628155, Address Id: 11765477 => Updated with Vin: 1G6KY54902U303785 ## Mail History Id: 31100456, Consumer Id: 619391, Address Id: 11760990 => Updated with Vin: WDBSK75F64F081046 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 2488 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-08 14:16:55') AND us2_order_type_id = 3 ## Order found: 2487 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2487 AND product_id = 112 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3451 ## Mailing found: '13454' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100406, Consumer Id: 613819, Address Id: 834612 => Updated with Vin: 1G6DM57N530109422 ## Mail History Id: 31100482, Consumer Id: 611951, Address Id: 11760212 => Updated with Vin: 1G6DW677960176708 ## Mail History Id: 31100422, Consumer Id: 622902, Address Id: 11762821 => Updated with Vin: 1G3GR64H324140871 ## Mail History Id: 31100474, Consumer Id: 628526, Address Id: 1259514 => Updated with Vin: 5FNRL18643B071320 ## Mail History Id: 31100388, Consumer Id: 619445, Address Id: 11761193 => Updated with Vin: 1GNDS13S122446641 ## Mail History Id: 31100480, Consumer Id: 619449, Address Id: 11761197 => Updated with Vin: 1G6DC67A060138076 ## Mail History Id: 31100424, Consumer Id: 618391, Address Id: 11760074 => Updated with Vin: 1G6DM577640174489 ## Mail History Id: 31100440, Consumer Id: 628541, Address Id: 11765750 => Updated with Vin: 1G6DM57N630135396 ## Total mail_history records updated with vin numbers: 8 out of 10 ============================================================ ====== Tracking Id: 2489 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-08 14:17:09') AND us2_order_type_id = 3 ## Order found: 2487 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2487 AND product_id = 113 ## Job Group Found: '571' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('571') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm090808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm090808003') AND customer_id = 3451 ## Mailing found: '13454' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31100358, Consumer Id: 621594, Address Id: 11762079 => Updated with Vin: 1GYEC63TX5R121055 ## Mail History Id: 31100416, Consumer Id: 624696, Address Id: 11762201 => Updated with Vin: 1G6KD54Y75U197911 ## Mail History Id: 31100410, Consumer Id: 628314, Address Id: 4106560 => Updated with Vin: 1GYEC63T33R152581 ## Mail History Id: 31100464, Consumer Id: 619375, Address Id: 1254077 => Updated with Vin: 1GYFK63848R119096 ## Mail History Id: 31100442, Consumer Id: 628306, Address Id: 1235543 => Updated with Vin: 2HGEJ6617YH573525 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 2490 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-08 19:56:21') AND us2_order_type_id = 3 ## Order found: 2474 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2474 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2491 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-08 19:56:33') AND us2_order_type_id = 3 ## Order found: 2474 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2474 AND product_id = 2150 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2492 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-08 19:56:45') AND us2_order_type_id = 3 ## Order found: 2474 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2474 AND product_id = 2152 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2493 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-08 20:16:30') AND us2_order_type_id = 3 ## Order found: 2471 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2471 AND product_id = 2152 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2494 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-08 20:16:42') AND us2_order_type_id = 3 ## Order found: 2471 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2471 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2495 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-08 20:16:54') AND us2_order_type_id = 3 ## Order found: 2471 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2471 AND product_id = 2153 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2496 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-08 20:16:57') AND us2_order_type_id = 3 ## Order found: 2471 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2471 AND product_id = 2150 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2497 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-09 07:16:55') AND us2_order_type_id = 3 ## Order found: 2505 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2505 AND product_id = 143 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3503 ## Mailing found: '13596,13914' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243645, Consumer Id: 2170055, Address Id: 9719516 => Updated with Vin: JTDBL40E39J009639 ## Mail History Id: 31243801, Consumer Id: 352827, Address Id: 9748592 => Updated with Vin: JTLKT324064116256 ## Mail History Id: 31243801, Consumer Id: 352827, Address Id: 9748592 => Updated with Vin: JTLKT324064116256 ## Mail History Id: 31243583, Consumer Id: 2158997, Address Id: 458157 => Updated with Vin: 2T1BR32E14C211115 ## Mail History Id: 31243543, Consumer Id: 2169055, Address Id: 9737671 => Updated with Vin: 4T1BE46K88U751843 ## Mail History Id: 31243671, Consumer Id: 2176221, Address Id: 9724736 => Updated with Vin: 2T1CF22P7YC276873 ## Mail History Id: 31243709, Consumer Id: 2170069, Address Id: 11960464 => Updated with Vin: 4T1BK36B98U259017 ## Mail History Id: 31243705, Consumer Id: 2176332, Address Id: 9723445 => Updated with Vin: 4TAWN72N5XZ541964 ## Mail History Id: 31243699, Consumer Id: 2183435, Address Id: 9736907 => Updated with Vin: 4T1BF32K15U100367 ## Mail History Id: 31243717, Consumer Id: 2160294, Address Id: 9725360 => Updated with Vin: 4T1BF28BX4U353901 ## Mail History Id: 31243755, Consumer Id: 2160550, Address Id: 9725983 => Updated with Vin: 5TDBA22C04S027971 ## Mail History Id: 31243753, Consumer Id: 2171295, Address Id: 9719047 => Updated with Vin: 5TDBT48A22S092510 ## Mail History Id: 31243683, Consumer Id: 2173655, Address Id: 9721551 => Updated with Vin: JTEHF21A720097250 ## Mail History Id: 31243573, Consumer Id: 2161495, Address Id: 56380 => Updated with Vin: 4T1FA38P55U051077 ## Mail History Id: 31243779, Consumer Id: 2171321, Address Id: 9719072 => Updated with Vin: 4T1BG22K7XU527224 ## Mail History Id: 31243781, Consumer Id: 2171883, Address Id: 9719602 => Updated with Vin: 4T1BG22K9XU564985 ## Mail History Id: 31243553, Consumer Id: 2174068, Address Id: 9721930 => Updated with Vin: 4T1BG22K9XU450873 ## Mail History Id: 31243735, Consumer Id: 2172515, Address Id: 9720311 => Updated with Vin: JTEHH20VX26034851 ## Mail History Id: 31243731, Consumer Id: 2162595, Address Id: 9721893 => Updated with Vin: JTEHT05J352079490 ## Mail History Id: 31243687, Consumer Id: 2175551, Address Id: 9723832 => Updated with Vin: 2T1BR32E03C164965 ## Mail History Id: 31243783, Consumer Id: 2162025, Address Id: 9728039 => Updated with Vin: JTEEW21A360003387 ## Mail History Id: 31243613, Consumer Id: 2173413, Address Id: 9721126 => Updated with Vin: JT3HN87R3Y9044173 ## Mail History Id: 31243615, Consumer Id: 2174586, Address Id: 9722710 => Updated with Vin: 4T1BF32K72U534448 ## Mail History Id: 31243561, Consumer Id: 2176466, Address Id: 470155 => Updated with Vin: 4T1BG22K7YU691459 ## Mail History Id: 31243539, Consumer Id: 2166177, Address Id: 9733096 => Updated with Vin: 4T1BK36B26U146619 ## Total mail_history records updated with vin numbers: 25 out of 54 ============================================================ ====== Tracking Id: 2498 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-09 08:16:43') AND us2_order_type_id = 3 ## Order found: 2506 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2506 AND product_id = 55 ## Job Group Found: '578' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('578') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108003') AND customer_id = 3230 ## Mailing found: '13573' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243431, Consumer Id: 1956461, Address Id: 47528 => Updated with Vin: 1FAHP35N59W122731 ## Mail History Id: 31243433, Consumer Id: 1956463, Address Id: 47433 => Updated with Vin: 1FTPW14V08FB09785 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2499 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-09 08:46:55') AND us2_order_type_id = 3 ## Order found: 2506 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2506 AND product_id = 143 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3230 ## Mailing found: '13588' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243642, Consumer Id: 922075, Address Id: 11947696 => Updated with Vin: 1J4FF48S11L571786 ## Mail History Id: 31243822, Consumer Id: 922073, Address Id: 11947694 => Updated with Vin: 4M2EU48826UJ25850 ## Mail History Id: 31244023, Consumer Id: 93216, Address Id: 51627 => Updated with Vin: 1FAHP37N37W290460 ## Mail History Id: 31243824, Consumer Id: 63725, Address Id: 52544 => Updated with Vin: 1FAFP4042YF177552 ## Mail History Id: 31243638, Consumer Id: 93347, Address Id: 51833 => Updated with Vin: 1FAHP33NX8W125643 ## Mail History Id: 31243640, Consumer Id: 64408, Address Id: 49335 => Updated with Vin: 1FTRX17W23NB84335 ## Mail History Id: 31243806, Consumer Id: 93378, Address Id: 51875 => Updated with Vin: 1FAHP25W08G137505 ## Mail History Id: 31243800, Consumer Id: 103602, Address Id: 47236 => Updated with Vin: 3FAHP07177R168361 ## Mail History Id: 31243816, Consumer Id: 64139, Address Id: 51866 => Updated with Vin: 1FTNW21L43ED43796 ## Mail History Id: 31243790, Consumer Id: 922074, Address Id: 11947695 => Updated with Vin: 1ZVFT80N155236708 ## Mail History Id: 31243792, Consumer Id: 103189, Address Id: 53580 => Updated with Vin: 2G1WH52K439295864 ## Mail History Id: 31243820, Consumer Id: 91868, Address Id: 50873 => Updated with Vin: 1FMCU49H27KA15546 ## Mail History Id: 31243808, Consumer Id: 65219, Address Id: 50813 => Updated with Vin: 2FMZA51453BA07222 ## Mail History Id: 31243810, Consumer Id: 63179, Address Id: 49574 => Updated with Vin: 1FAFP35Z54W118441 ## Mail History Id: 31243812, Consumer Id: 67108, Address Id: 47974 => Updated with Vin: 1FTYR14V33PB39300 ## Mail History Id: 31243802, Consumer Id: 65087, Address Id: 49255 => Updated with Vin: 1FTNS24W95HB25422 ## Mail History Id: 31243804, Consumer Id: 93164, Address Id: 51588 => Updated with Vin: 2FMDK39C27BB32191 ## Mail History Id: 31243814, Consumer Id: 64811, Address Id: 48214 => Updated with Vin: 1FMZU73K92UD32348 ## Mail History Id: 31243798, Consumer Id: 92660, Address Id: 51073 => Updated with Vin: 1GNCS18X54K112227 ## Mail History Id: 31243796, Consumer Id: 93245, Address Id: 51739 => Updated with Vin: 2FMDA51483BA48079 ## Mail History Id: 31243794, Consumer Id: 173969, Address Id: 50529 => Updated with Vin: 1FMCU03118KD14421 ## Mail History Id: 31243604, Consumer Id: 921464, Address Id: 11959541 => Updated with Vin: 1FTRF12288KD52978 ## Total mail_history records updated with vin numbers: 22 out of 33 ============================================================ ====== Tracking Id: 2500 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-09 09:20:32') AND us2_order_type_id = 3 ## Order found: 2507 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2507 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3470 ## Mailing found: '13610' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243068, Consumer Id: 583311, Address Id: 1181609 => Updated with Vin: 1NXBR12E01Z422031 ## Mail History Id: 31243016, Consumer Id: 562496, Address Id: 2044941 => Updated with Vin: 1J4GK58K35W645798 ## Mail History Id: 31243150, Consumer Id: 561354, Address Id: 8805155 => Updated with Vin: 1J4GK48K05W535267 ## Mail History Id: 31243238, Consumer Id: 578939, Address Id: 3498611 => Updated with Vin: 1B4HR28N81F607814 ## Mail History Id: 31243184, Consumer Id: 568439, Address Id: 1548954 => Updated with Vin: 1D7HE28K46S533459 ## Mail History Id: 31243096, Consumer Id: 579711, Address Id: 7357171 => Updated with Vin: 1J4GK48KX6W215536 ## Mail History Id: 31243170, Consumer Id: 581600, Address Id: 10742048 => Updated with Vin: 1J4FA39S96P776179 ## Mail History Id: 31243118, Consumer Id: 581689, Address Id: 10742956 => Updated with Vin: 1J4FA39S43P325186 ## Mail History Id: 31243078, Consumer Id: 572417, Address Id: 8911541 => Updated with Vin: 3D7HA16H35G807379 ## Mail History Id: 31243112, Consumer Id: 583257, Address Id: 10745412 => Updated with Vin: 1C3EL56R13N529646 ## Mail History Id: 31243192, Consumer Id: 583280, Address Id: 1550440 => Updated with Vin: 1D7HA16N14J173489 ## Mail History Id: 31242402, Consumer Id: 583308, Address Id: 10745427 => Updated with Vin: 5FNYF28546B024163 ## Mail History Id: 31242978, Consumer Id: 573138, Address Id: 8070094 => Updated with Vin: 2GTEK13M571578792 ## Mail History Id: 31243072, Consumer Id: 573137, Address Id: 7399659 => Updated with Vin: 1J4GA59108L601322 ## Mail History Id: 31243222, Consumer Id: 573136, Address Id: 4104469 => Updated with Vin: 2B3KA43R78H107319 ## Mail History Id: 31242415, Consumer Id: 573140, Address Id: 8768041 => Updated with Vin: 1J4GA59198L601321 ## Total mail_history records updated with vin numbers: 16 out of 19 ============================================================ ====== Tracking Id: 2501 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-09 09:20:45') AND us2_order_type_id = 3 ## Order found: 2507 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2507 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3470 ## Mailing found: '13610' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243012, Consumer Id: 554109, Address Id: 7347894 => Updated with Vin: 1J4GX48S04C205128 ## Mail History Id: 31243180, Consumer Id: 582502, Address Id: 10743788 => Updated with Vin: 2D4GP44L35R374110 ## Mail History Id: 31242998, Consumer Id: 574754, Address Id: 10721372 => Updated with Vin: 1J4FA44S55P358634 ## Mail History Id: 31243098, Consumer Id: 576412, Address Id: 5572839 => Updated with Vin: 3C8FY68B22T284165 ## Mail History Id: 31243114, Consumer Id: 557823, Address Id: 10679044 => Updated with Vin: 1D4HD58D94F225633 ## Mail History Id: 31243154, Consumer Id: 558244, Address Id: 10695489 => Updated with Vin: 2C4GP54L71R190804 ## Mail History Id: 31243228, Consumer Id: 563049, Address Id: 2982853 => Updated with Vin: 1J8GS48K95C727030 ## Mail History Id: 31243130, Consumer Id: 565872, Address Id: 1346082 => Updated with Vin: 1D4GP24R86B540470 ## Mail History Id: 31243202, Consumer Id: 566221, Address Id: 6711243 => Updated with Vin: 1D8HD58266F117681 ## Mail History Id: 31243148, Consumer Id: 577221, Address Id: 7474319 => Updated with Vin: 2C8GM68494R642451 ## Mail History Id: 31243090, Consumer Id: 568624, Address Id: 10712322 => Updated with Vin: 1J4HR58296C362471 ## Mail History Id: 31243050, Consumer Id: 579660, Address Id: 1544134 => Updated with Vin: 2C8GP54L85R122399 ## Mail History Id: 31243040, Consumer Id: 581785, Address Id: 10742979 => Updated with Vin: 2C4GP44L83R385419 ## Mail History Id: 31243044, Consumer Id: 581616, Address Id: 10742907 => Updated with Vin: 1B3ES46C11D211289 ## Mail History Id: 31243158, Consumer Id: 582057, Address Id: 4907273 => Updated with Vin: 1D4GP25B76B620439 ## Mail History Id: 31243076, Consumer Id: 571416, Address Id: 8794405 => Updated with Vin: 1D8HD38K77F578555 ## Mail History Id: 31243132, Consumer Id: 583043, Address Id: 7116977 => Updated with Vin: 2C3KA53G26H498724 ## Mail History Id: 31243156, Consumer Id: 583044, Address Id: 4907021 => Updated with Vin: 1D4GP24R16B554694 ## Mail History Id: 31242407, Consumer Id: 583076, Address Id: 278169 => Updated with Vin: 1B3ES56C34D570363 ## Mail History Id: 31243024, Consumer Id: 583079, Address Id: 3166429 => Updated with Vin: 1D4HD48N06F190311 ## Mail History Id: 31243018, Consumer Id: 572893, Address Id: 10719362 => Updated with Vin: 1D8GT28K58W109135 ## Total mail_history records updated with vin numbers: 21 out of 22 ============================================================ ====== Tracking Id: 2502 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-09 09:20:57') AND us2_order_type_id = 3 ## Order found: 2507 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2507 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3470 ## Mailing found: '13610' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243144, Consumer Id: 554169, Address Id: 10688787 => Updated with Vin: 1D7HA18N53S268420 ## Mail History Id: 31243026, Consumer Id: 574123, Address Id: 3493337 => Updated with Vin: 2B4GP44G5XR311154 ## Mail History Id: 31242974, Consumer Id: 555444, Address Id: 10690096 => Updated with Vin: 2C8GM68454R324570 ## Mail History Id: 31243176, Consumer Id: 569408, Address Id: 2798774 => Updated with Vin: 1D4GP24R56B523660 ## Mail History Id: 31243200, Consumer Id: 578077, Address Id: 1552029 => Updated with Vin: 2C4GP64LX5R292657 ## Mail History Id: 31242990, Consumer Id: 573295, Address Id: 7102059 => Updated with Vin: 2C3KA73W47H803208 ## Mail History Id: 31243064, Consumer Id: 561842, Address Id: 10699600 => Updated with Vin: 3C8FY68B02T221016 ## Mail History Id: 31242413, Consumer Id: 562316, Address Id: 7260717 => Updated with Vin: 1J4GK58K85W633405 ## Mail History Id: 31243126, Consumer Id: 937278, Address Id: 10690455 => Updated with Vin: WD0PE746685239923 ## Mail History Id: 31243186, Consumer Id: 570014, Address Id: 1550092 => Updated with Vin: 2A4GP54L47R103783 ## Mail History Id: 31242994, Consumer Id: 565645, Address Id: 10707177 => Updated with Vin: 1D7KS28C36J154336 ## Mail History Id: 31243160, Consumer Id: 567578, Address Id: 1350793 => Updated with Vin: 1J4GK48K55W590829 ## Mail History Id: 31243030, Consumer Id: 570722, Address Id: 10678183 => Updated with Vin: 1J8GA59177L195925 ## Mail History Id: 31243168, Consumer Id: 568550, Address Id: 10713831 => Updated with Vin: 1J4GR48K16C162285 ## Mail History Id: 31243210, Consumer Id: 569426, Address Id: 10716466 => Updated with Vin: 1D7HA16256J208236 ## Mail History Id: 31243048, Consumer Id: 570988, Address Id: 10717461 => Updated with Vin: 1C4GP45R55B114550 ## Mail History Id: 31243094, Consumer Id: 571744, Address Id: 10717929 => Updated with Vin: 1J4GA59148L504320 ## Mail History Id: 31242996, Consumer Id: 572455, Address Id: 789616 => Updated with Vin: 1D7HA18228J128800 ## Mail History Id: 31243140, Consumer Id: 573226, Address Id: 10719515 => Updated with Vin: 1FAFP34N77W101871 ## Mail History Id: 31243166, Consumer Id: 582973, Address Id: 2339855 => Updated with Vin: JTEGD21A330071084 ## Mail History Id: 31242982, Consumer Id: 573302, Address Id: 6867516 => Updated with Vin: 1J4GA39148L583136 ## Mail History Id: 31242962, Consumer Id: 573054, Address Id: 3484605 => Updated with Vin: 1D4HD48D45F607581 ## Mail History Id: 31242409, Consumer Id: 937279, Address Id: 11959715 => Updated with Vin: 1A8HX58P07F523838 ## Mail History Id: 31243226, Consumer Id: 937701, Address Id: 3498065 => Updated with Vin: 1D7HA18KX6J159399 ## Mail History Id: 31242980, Consumer Id: 938294, Address Id: 4886049 => Updated with Vin: 1J8FT48W18D585010 ## Total mail_history records updated with vin numbers: 25 out of 30 ============================================================ ====== Tracking Id: 2503 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-09 09:21:01') AND us2_order_type_id = 3 ## Order found: 2508 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2508 AND product_id = 142 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3768 ## Mailing found: '13600' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243883, Consumer Id: 1108153, Address Id: 8828749 => Updated with Vin: W06VR54R31R071029 ## Mail History Id: 31243855, Consumer Id: 1045555, Address Id: 8826771 => Updated with Vin: 1GYEK63N35R100908 ## Mail History Id: 31243891, Consumer Id: 1110059, Address Id: 5994281 => Updated with Vin: 1GYEK63N44R249052 ## Mail History Id: 31243813, Consumer Id: 1116598, Address Id: 12192297 => Updated with Vin: 1J8HS48NX6C298688 ## Mail History Id: 31243859, Consumer Id: 1116838, Address Id: 14967845 => Updated with Vin: 1GYEK63N94R124189 ## Mail History Id: 31243899, Consumer Id: 1043164, Address Id: 5994592 => Updated with Vin: 1G6EL12Y7XU607492 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 2504 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-09 09:21:09') AND us2_order_type_id = 3 ## Order found: 2508 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2508 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2505 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-09 09:21:13') AND us2_order_type_id = 3 ## Order found: 2508 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2508 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3768 ## Mailing found: '13617' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242528, Consumer Id: 1050840, Address Id: 14954542 => Updated with Vin: 3GYFK62837G241500 ## Mail History Id: 31242520, Consumer Id: 1109550, Address Id: 1083412 => Updated with Vin: WDDDJ75X76A021868 ## Mail History Id: 31242512, Consumer Id: 1112141, Address Id: 8828191 => Updated with Vin: 1HGCM56895A039653 ## Mail History Id: 31242436, Consumer Id: 1107675, Address Id: 3238583 => Updated with Vin: 1GHDX03E9YD120852 ## Mail History Id: 31242434, Consumer Id: 1116388, Address Id: 14984065 => Updated with Vin: 1G6KD54Y73U184637 ## Mail History Id: 31242506, Consumer Id: 1111997, Address Id: 8827599 => Updated with Vin: 1G6KY5490YU156831 ## Mail History Id: 31242530, Consumer Id: 1116397, Address Id: 11955207 => Updated with Vin: 4N2DN1110VD821712 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 2506 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-09 10:20:35') AND us2_order_type_id = 3 ## Order found: 2507 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2507 AND product_id = 143 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3470 ## Mailing found: '13593' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31244043, Consumer Id: 564260, Address Id: 10692701 => Updated with Vin: 2D4GP44L65R515753 ## Mail History Id: 31244045, Consumer Id: 583145, Address Id: 10721461 => Updated with Vin: 2B3KA43G36H433226 ## Mail History Id: 31244053, Consumer Id: 562893, Address Id: 10701277 => Updated with Vin: 1J4GL58505W675302 ## Mail History Id: 31244041, Consumer Id: 571483, Address Id: 10718173 => Updated with Vin: 2C3LA43RX7H784855 ## Mail History Id: 31243542, Consumer Id: 566891, Address Id: 10686411 => Updated with Vin: 3A4FY48B66T309333 ## Mail History Id: 31244047, Consumer Id: 569525, Address Id: 7471934 => Updated with Vin: 1B3EL46XX6N166578 ## Mail History Id: 31244051, Consumer Id: 571238, Address Id: 4689356 => Updated with Vin: 1J8GS48KX7C544948 ## Mail History Id: 31244055, Consumer Id: 581591, Address Id: 10742880 => Updated with Vin: 2C3AA63H75H133223 ## Mail History Id: 31244037, Consumer Id: 572467, Address Id: 2050411 => Updated with Vin: 1J8FT47W17D185819 ## Mail History Id: 31244035, Consumer Id: 571488, Address Id: 2002935 => Updated with Vin: 1C3AN69LX4X018738 ## Mail History Id: 31243977, Consumer Id: 572046, Address Id: 10718993 => Updated with Vin: 1J4GA39158L528520 ## Mail History Id: 31243538, Consumer Id: 572131, Address Id: 5326690 => Updated with Vin: 2A8HR54PX8R655984 ## Mail History Id: 31243540, Consumer Id: 583024, Address Id: 10745103 => Updated with Vin: 1J4GA591X8L553568 ## Mail History Id: 31244039, Consumer Id: 573141, Address Id: 10719478 => Updated with Vin: 2A8HR54P98R736345 ## Mail History Id: 31243544, Consumer Id: 1105121, Address Id: 14980778 => Updated with Vin: 1C3LC55R78N171596 ## Total mail_history records updated with vin numbers: 15 out of 33 ============================================================ ====== Tracking Id: 2507 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-09 10:21:03') AND us2_order_type_id = 3 ## Order found: 2509 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2509 AND product_id = 143 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3416 ## Mailing found: '13590' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243782, Consumer Id: 692658, Address Id: 3762695 => Updated with Vin: 2C8GF68444R583075 ## Mail History Id: 31243786, Consumer Id: 626009, Address Id: 11766236 => Updated with Vin: 5GTEN63L488182971 ## Mail History Id: 31243778, Consumer Id: 1125602, Address Id: 4764967 => Updated with Vin: 1G6KD57Y56U111086 ## Mail History Id: 31243788, Consumer Id: 871367, Address Id: 1969817 => Updated with Vin: 1G6KD57Y88U150001 ## Mail History Id: 31243784, Consumer Id: 685830, Address Id: 1969058 => Updated with Vin: 1G6KS54Y12U177834 ## Mail History Id: 31243776, Consumer Id: 688440, Address Id: 11796864 => Updated with Vin: 1G6KD52YXTU226432 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 2508 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-09 10:21:40') AND us2_order_type_id = 3 ## Order found: 2510 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2510 AND product_id = 2150 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3418 ## Mailing found: '13591' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243720, Consumer Id: 680997, Address Id: 11794571 => Updated with Vin: 1G6DX67D460170964 ## Mail History Id: 31243688, Consumer Id: 672208, Address Id: 11789166 => Updated with Vin: 1G6KY54962U150331 ## Mail History Id: 31243768, Consumer Id: 670164, Address Id: 8877636 => Updated with Vin: 1G6DM577540189646 ## Mail History Id: 31243598, Consumer Id: 667500, Address Id: 11785963 => Updated with Vin: 1G6KD54Y74U134032 ## Mail History Id: 31243566, Consumer Id: 675518, Address Id: 10323417 => Updated with Vin: 1G6KD57Y26U164909 ## Mail History Id: 31243666, Consumer Id: 668816, Address Id: 11786916 => Updated with Vin: 1G6EL12Y7YB704141 ## Mail History Id: 31243704, Consumer Id: 680774, Address Id: 6609125 => Updated with Vin: 1HGFA16816L079634 ## Mail History Id: 31243668, Consumer Id: 610343, Address Id: 11755077 => Updated with Vin: 1G4HP54K744154075 ## Total mail_history records updated with vin numbers: 8 out of 9 ============================================================ ====== Tracking Id: 2509 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-09 10:21:52') AND us2_order_type_id = 3 ## Order found: 2510 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2510 AND product_id = 2152 ## Job Group Found: '582' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('582') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108007') AND customer_id = 3418 ## Mailing found: '13568' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243393, Consumer Id: 668241, Address Id: 11786511 => Updated with Vin: 1G6DM577X40138076 ## Mail History Id: 31243395, Consumer Id: 677574, Address Id: 11792516 => Updated with Vin: 1G6DC67A860202431 ## Mail History Id: 31243397, Consumer Id: 663474, Address Id: 11782960 => Updated with Vin: 1G6KD54Y53U147750 ## Mail History Id: 31243399, Consumer Id: 676748, Address Id: 6608690 => Updated with Vin: 1G6KD57Y46U228710 ## Mail History Id: 31243401, Consumer Id: 673656, Address Id: 11790105 => Updated with Vin: 1G6DM577740134647 ## Mail History Id: 31243403, Consumer Id: 676320, Address Id: 11789314 => Updated with Vin: 1G6DM57T660206549 ## Mail History Id: 31243405, Consumer Id: 673708, Address Id: 6771798 => Updated with Vin: 3GYEK62N65G277826 ## Mail History Id: 31243407, Consumer Id: 610143, Address Id: 11754901 => Updated with Vin: 1G6DP577960115737 ## Mail History Id: 31243409, Consumer Id: 664041, Address Id: 11783399 => Updated with Vin: 1G6KD54Y2YU337626 ## Mail History Id: 31243411, Consumer Id: 680851, Address Id: 11794481 => Updated with Vin: 1G6KY5293TU812905 ## Mail History Id: 31243413, Consumer Id: 610435, Address Id: 11755162 => Updated with Vin: 1G6DM577480112577 ## Mail History Id: 31243415, Consumer Id: 610574, Address Id: 11755279 => Updated with Vin: 1G6DP577860211892 ## Total mail_history records updated with vin numbers: 12 out of 12 ============================================================ ====== Tracking Id: 2510 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-09 10:24:16') AND us2_order_type_id = 3 ## Order found: 2511 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2511 AND product_id = 143 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3795 ## Mailing found: '13601' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31244031, Consumer Id: 1052479, Address Id: 14955220 => Updated with Vin: 1HGCG5647XA071007 ## Mail History Id: 31244029, Consumer Id: 1059463, Address Id: 3063427 => Updated with Vin: 1HGCM66875A020105 ## Mail History Id: 31244025, Consumer Id: 1158521, Address Id: 5317701 => Updated with Vin: 1HGCP26738A122870 ## Mail History Id: 31244033, Consumer Id: 1126180, Address Id: 4957234 => Updated with Vin: 1HGCP26378A139264 ## Mail History Id: 31244027, Consumer Id: 1060038, Address Id: 6600994 => Updated with Vin: 2HKYF18593H552532 ## Total mail_history records updated with vin numbers: 5 out of 8 ============================================================ ====== Tracking Id: 2511 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-09 10:24:28') AND us2_order_type_id = 3 ## Order found: 2511 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2511 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3795 ## Mailing found: '13618' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242594, Consumer Id: 1068574, Address Id: 6611323 => Updated with Vin: 1HGCM82664A018151 ## Mail History Id: 31242582, Consumer Id: 1068575, Address Id: 7251146 => Updated with Vin: JHMCD565XRC056801 ## Mail History Id: 31242566, Consumer Id: 1057392, Address Id: 14956653 => Updated with Vin: 1HGCM56415A078850 ## Mail History Id: 31242698, Consumer Id: 1058676, Address Id: 14957013 => Updated with Vin: 1HGCM56747A148063 ## Mail History Id: 31242457, Consumer Id: 1055022, Address Id: 14955969 => Updated with Vin: 1HGCG5650XA070869 ## Total mail_history records updated with vin numbers: 5 out of 7 ============================================================ ====== Tracking Id: 2512 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-09 10:24:41') AND us2_order_type_id = 3 ## Order found: 2511 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2511 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3795 ## Mailing found: '13618' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242572, Consumer Id: 1053674, Address Id: 6596316 => Updated with Vin: 1HGCG5646WA009063 ## Mail History Id: 31242596, Consumer Id: 1053738, Address Id: 14955607 => Updated with Vin: 4S6CM58W6X4421086 ## Mail History Id: 31242628, Consumer Id: 1068634, Address Id: 5324049 => Updated with Vin: 1HGCG5673YA075857 ## Mail History Id: 31242638, Consumer Id: 1053192, Address Id: 7703747 => Updated with Vin: 1HGCF86602A136990 ## Mail History Id: 31242418, Consumer Id: 1057998, Address Id: 14956830 => Updated with Vin: 1HGCM55387A048188 ## Mail History Id: 31242568, Consumer Id: 1058581, Address Id: 6593098 => Updated with Vin: 1HGCM66857A071198 ## Mail History Id: 31242590, Consumer Id: 1059840, Address Id: 7252577 => Updated with Vin: 5FNRL38227B135563 ## Mail History Id: 31242654, Consumer Id: 1068285, Address Id: 3099028 => Updated with Vin: 1HGCM56714A049213 ## Mail History Id: 31242614, Consumer Id: 1068159, Address Id: 3059316 => Updated with Vin: 5FNRL38435B409870 ## Total mail_history records updated with vin numbers: 9 out of 12 ============================================================ ====== Tracking Id: 2513 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-09 10:24:44') AND us2_order_type_id = 3 ## Order found: 2512 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2512 AND product_id = 142 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3697 ## Mailing found: '13597' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243887, Consumer Id: 1045238, Address Id: 12195070 => Updated with Vin: 1G6KD57Y16U159443 ## Mail History Id: 31243901, Consumer Id: 1043428, Address Id: 14952522 => Updated with Vin: 3GYFK66N94G226768 ## Mail History Id: 31243853, Consumer Id: 1047119, Address Id: 11666308 => Updated with Vin: 1GYEE63A250223723 ## Mail History Id: 31243863, Consumer Id: 1044653, Address Id: 14952892 => Updated with Vin: 1GYFK63807R383513 ## Mail History Id: 31243897, Consumer Id: 1049878, Address Id: 14954317 => Updated with Vin: 1GYFK63877R296367 ## Mail History Id: 31243835, Consumer Id: 1052129, Address Id: 14955084 => Updated with Vin: 1G6KD54YX5U157502 ## Total mail_history records updated with vin numbers: 6 out of 9 ============================================================ ====== Tracking Id: 2514 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-09 10:25:04') AND us2_order_type_id = 3 ## Order found: 2512 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2512 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3697 ## Mailing found: '13615' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242460, Consumer Id: 1044589, Address Id: 14952871 => Updated with Vin: 1G6DP577870122258 ## Mail History Id: 31242526, Consumer Id: 1044993, Address Id: 12938685 => Updated with Vin: 1G6KD54Y94U164990 ## Mail History Id: 31242462, Consumer Id: 1042863, Address Id: 2849519 => Updated with Vin: 1GYEK63N23R146050 ## Mail History Id: 31242486, Consumer Id: 1043147, Address Id: 5983639 => Updated with Vin: 1GYEK63N82R308987 ## Mail History Id: 31242498, Consumer Id: 1046505, Address Id: 5986821 => Updated with Vin: 1G6KD54Y34U168842 ## Mail History Id: 31242450, Consumer Id: 1050345, Address Id: 3447703 => Updated with Vin: 1GYFK63867R172896 ## Mail History Id: 31242470, Consumer Id: 1049944, Address Id: 14952879 => Updated with Vin: 1GKEK63UX4J142345 ## Mail History Id: 31242524, Consumer Id: 1048182, Address Id: 14953885 => Updated with Vin: 1G6KD54Y8XU748284 ## Mail History Id: 31242532, Consumer Id: 1051544, Address Id: 14954787 => Updated with Vin: 1GYEC63818R114981 ## Mail History Id: 31242508, Consumer Id: 1045478, Address Id: 14953142 => Updated with Vin: 1G6KY5490YU141827 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 2515 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-09 10:25:16') AND us2_order_type_id = 3 ## Order found: 2512 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2512 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3697 ## Mailing found: '13615' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242464, Consumer Id: 1045530, Address Id: 14953157 => Updated with Vin: 1G6YV34A555600440 ## Mail History Id: 31242448, Consumer Id: 1051464, Address Id: 14952672 => Updated with Vin: 1GYFK63877R212323 ## Mail History Id: 31242420, Consumer Id: 1051449, Address Id: 14954746 => Updated with Vin: 1G6KD54Y64U203390 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 2516 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-09 10:27:02') AND us2_order_type_id = 3 ## Order found: 2513 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2513 AND product_id = 143 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3815 ## Mailing found: '13602' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243955, Consumer Id: 1360467, Address Id: 15632941 => Updated with Vin: 1HGCM66544A069654 ## Mail History Id: 31243967, Consumer Id: 1364645, Address Id: 15637631 => Updated with Vin: 1HGCM56633A091730 ## Mail History Id: 31243991, Consumer Id: 1371567, Address Id: 15640155 => Updated with Vin: 5FNYF18584B002416 ## Mail History Id: 31243947, Consumer Id: 1371502, Address Id: 15639479 => Updated with Vin: SHSRD68443U103409 ## Mail History Id: 31243827, Consumer Id: 1362453, Address Id: 15635047 => Updated with Vin: JHMCN36545C017133 ## Mail History Id: 31243937, Consumer Id: 1377576, Address Id: 15670911 => Updated with Vin: 1HGCM56425L004129 ## Mail History Id: 31243841, Consumer Id: 1366382, Address Id: 15639246 => Updated with Vin: 5FNYF18748B008169 ## Mail History Id: 31243911, Consumer Id: 1378892, Address Id: 15671583 => Updated with Vin: JHLRD78872C073076 ## Mail History Id: 31243987, Consumer Id: 1379503, Address Id: 15671926 => Updated with Vin: 5FNRL38626B033505 ## Mail History Id: 31243845, Consumer Id: 1367517, Address Id: 15640121 => Updated with Vin: 5FNYF18545B061996 ## Mail History Id: 31244013, Consumer Id: 1808868, Address Id: 9425014 => Updated with Vin: 1HGCG3252WA017194 ## Mail History Id: 31243809, Consumer Id: 1372309, Address Id: 15668964 => Updated with Vin: 5J6RE38538L001917 ## Total mail_history records updated with vin numbers: 12 out of 19 ============================================================ ====== Tracking Id: 2517 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-09 10:27:11') AND us2_order_type_id = 3 ## Order found: 2513 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2513 AND product_id = 2147 ## Job Group Found: '577' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('577') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108002') AND customer_id = 3815 ## Mailing found: '13579' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243299, Consumer Id: 1370327, Address Id: 15634755 => Updated with Vin: 1HGCG1652XA024002 ## Mail History Id: 31243301, Consumer Id: 1368264, Address Id: 15634836 => Updated with Vin: 2HGES16551H553735 ## Mail History Id: 31243303, Consumer Id: 1361664, Address Id: 15633738 => Updated with Vin: 2HJYK16406H518090 ## Mail History Id: 31243305, Consumer Id: 1360850, Address Id: 15633214 => Updated with Vin: 5FNRL38715B003659 ## Mail History Id: 31243307, Consumer Id: 1379071, Address Id: 15670025 => Updated with Vin: 1HGCG1656YA077349 ## Mail History Id: 31243309, Consumer Id: 1377524, Address Id: 15670877 => Updated with Vin: 1HGEM22901L003838 ## Mail History Id: 31243311, Consumer Id: 1364547, Address Id: 15637574 => Updated with Vin: 5FNRL18814B138331 ## Mail History Id: 31243313, Consumer Id: 1366488, Address Id: 11305222 => Updated with Vin: 5J6YH18675L013497 ## Mail History Id: 31243315, Consumer Id: 1376710, Address Id: 15670418 => Updated with Vin: 1HGCD5632TA266538 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 2518 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-09 10:27:23') AND us2_order_type_id = 3 ## Order found: 2513 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2513 AND product_id = 2150 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2519 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-09 10:27:26') AND us2_order_type_id = 3 ## Order found: 2513 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2513 AND product_id = 2152 ## Job Group Found: '582' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('582') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108007') AND customer_id = 3815 ## Mailing found: '13570' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243417, Consumer Id: 1367992, Address Id: 8182271 => Updated with Vin: 1HGES16572L011959 ## Mail History Id: 31243419, Consumer Id: 1360104, Address Id: 15632661 => Updated with Vin: 5J6YH28664L015133 ## Mail History Id: 31243421, Consumer Id: 1370463, Address Id: 9399976 => Updated with Vin: JHMCG5646XC014380 ## Mail History Id: 31243423, Consumer Id: 1363079, Address Id: 9093820 => Updated with Vin: 5FNYF18636B012184 ## Mail History Id: 31243344, Consumer Id: 1360601, Address Id: 9094579 => Updated with Vin: 1HGCM55314A056192 ## Mail History Id: 31243346, Consumer Id: 1365995, Address Id: 15639011 => Updated with Vin: 2HGFG11867H563898 ## Mail History Id: 31243348, Consumer Id: 1376088, Address Id: 15670110 => Updated with Vin: 2HKRL18692H504761 ## Mail History Id: 31243350, Consumer Id: 1362521, Address Id: 15635096 => Updated with Vin: 1HGCM56886A015782 ## Mail History Id: 31243352, Consumer Id: 1378933, Address Id: 15632701 => Updated with Vin: SHSRD788X6U426604 ## Mail History Id: 31243354, Consumer Id: 1377873, Address Id: 15669975 => Updated with Vin: 2HKYF18643H554164 ## Mail History Id: 31243356, Consumer Id: 1379120, Address Id: 15671752 => Updated with Vin: 1HGCG3158XA006087 ## Mail History Id: 31243358, Consumer Id: 1366856, Address Id: 15639651 => Updated with Vin: 1HGEJ8145WL130609 ## Mail History Id: 31243360, Consumer Id: 1366855, Address Id: 15639650 => Updated with Vin: 1HGCM56346A105211 ## Mail History Id: 31243362, Consumer Id: 1366796, Address Id: 15639619 => Updated with Vin: 1HGCM56875A124233 ## Total mail_history records updated with vin numbers: 14 out of 15 ============================================================ ====== Tracking Id: 2520 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-09 10:27:38') AND us2_order_type_id = 3 ## Order found: 2513 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2513 AND product_id = 2153 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3815 ## Mailing found: '13620' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242554, Consumer Id: 1377837, Address Id: 15670180 => Updated with Vin: JHMBB61591C000528 ## Mail History Id: 31242558, Consumer Id: 1362945, Address Id: 15635776 => Updated with Vin: SHSRD78813U107104 ## Mail History Id: 31242536, Consumer Id: 1364145, Address Id: 15637112 => Updated with Vin: JHMGD38697S016241 ## Mail History Id: 31242540, Consumer Id: 1365849, Address Id: 15636653 => Updated with Vin: 1HGCM55367A090049 ## Mail History Id: 31242550, Consumer Id: 1378904, Address Id: 3454905 => Updated with Vin: 5FNRL38886B006925 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2521 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-09 11:16:43') AND us2_order_type_id = 3 ## Order found: 2514 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2514 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3486 ## Mailing found: '13612' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242802, Consumer Id: 469171, Address Id: 9822389 => Updated with Vin: 3GNEC12J27G237675 ## Mail History Id: 31242778, Consumer Id: 479234, Address Id: 1562703 => Updated with Vin: 1G1NE52JX3M694082 ## Mail History Id: 31242712, Consumer Id: 485657, Address Id: 1559475 => Updated with Vin: 1GCHK23245F957919 ## Mail History Id: 31242684, Consumer Id: 463293, Address Id: 9820138 => Updated with Vin: 1GNEC13V24R127593 ## Mail History Id: 31242772, Consumer Id: 490353, Address Id: 9825078 => Updated with Vin: 1GNEC13V03J145197 ## Mail History Id: 31242792, Consumer Id: 465531, Address Id: 1037646 => Updated with Vin: 1GNEC16Z84J332638 ## Mail History Id: 31242836, Consumer Id: 465840, Address Id: 7969053 => Updated with Vin: KL1TJ52644B234765 ## Mail History Id: 31242766, Consumer Id: 480173, Address Id: 1036226 => Updated with Vin: 3GNEC13T53G105617 ## Mail History Id: 31242938, Consumer Id: 469172, Address Id: 9822390 => Updated with Vin: 1GNEK13Z14R162924 ## Mail History Id: 31242796, Consumer Id: 469490, Address Id: 8115447 => Updated with Vin: 1GCEK19T44Z162041 ## Mail History Id: 31242914, Consumer Id: 470200, Address Id: 9822954 => Updated with Vin: 1G1YY36U475126536 ## Mail History Id: 31242790, Consumer Id: 486214, Address Id: 9825849 => Updated with Vin: 2G1WH55K8Y9115966 ## Mail History Id: 31242670, Consumer Id: 486452, Address Id: 9825954 => Updated with Vin: 2GCEC19T511329640 ## Mail History Id: 31242822, Consumer Id: 489777, Address Id: 9826248 => Updated with Vin: 1GNDS13S532232687 ## Mail History Id: 31242904, Consumer Id: 471109, Address Id: 9823449 => Updated with Vin: 2GCEK13M581149945 ## Mail History Id: 31242676, Consumer Id: 470931, Address Id: 9823360 => Updated with Vin: 1J4FA39SX6P704875 ## Mail History Id: 31242946, Consumer Id: 490354, Address Id: 9826510 => Updated with Vin: 3GNEC13T43G231273 ## Mail History Id: 31242886, Consumer Id: 490382, Address Id: 2012114 => Updated with Vin: 1G1AK55F577414183 ## Mail History Id: 31242814, Consumer Id: 490362, Address Id: 9826514 => Updated with Vin: 2G1WW12E059203032 ## Mail History Id: 31242900, Consumer Id: 470945, Address Id: 9823368 => Updated with Vin: 1GKER33727J136662 ## Total mail_history records updated with vin numbers: 20 out of 25 ============================================================ ====== Tracking Id: 2522 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-09 11:16:56') AND us2_order_type_id = 3 ## Order found: 2514 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2514 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3486 ## Mailing found: '13612' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242744, Consumer Id: 489953, Address Id: 1035359 => Updated with Vin: 1GCEC19T34Z314713 ## Mail History Id: 31242730, Consumer Id: 490009, Address Id: 4372788 => Updated with Vin: 1G1ND52J2Y6204832 ## Mail History Id: 31242708, Consumer Id: 490039, Address Id: 1034345 => Updated with Vin: 1GNEC13Z14J305155 ## Mail History Id: 31242794, Consumer Id: 481447, Address Id: 1037669 => Updated with Vin: 1GBJG31UX41110173 ## Mail History Id: 31242910, Consumer Id: 485417, Address Id: 2765661 => Updated with Vin: 1GNDS13S842303429 ## Mail History Id: 31242934, Consumer Id: 486362, Address Id: 9825919 => Updated with Vin: 1GCDT136268262773 ## Mail History Id: 31242860, Consumer Id: 489715, Address Id: 9826231 => Updated with Vin: 1GNDS13S852377418 ## Mail History Id: 31242714, Consumer Id: 489978, Address Id: 9826349 => Updated with Vin: 1GTHK23163F103096 ## Mail History Id: 31242740, Consumer Id: 490011, Address Id: 630303 => Updated with Vin: 1G2WP52K8YF147939 ## Mail History Id: 31242678, Consumer Id: 490037, Address Id: 1032306 => Updated with Vin: 1GNDT13S872148995 ## Total mail_history records updated with vin numbers: 10 out of 13 ============================================================ ====== Tracking Id: 2523 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-09 11:17:08') AND us2_order_type_id = 3 ## Order found: 2514 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2514 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3486 ## Mailing found: '13612' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242866, Consumer Id: 609174, Address Id: 11754266 => Updated with Vin: 2G1WL52M2S1164588 ## Mail History Id: 31242872, Consumer Id: 471029, Address Id: 1567947 => Updated with Vin: 1GNEC13Z04J302425 ## Mail History Id: 31242874, Consumer Id: 462191, Address Id: 1567977 => Updated with Vin: 1GCEK19T23E207970 ## Mail History Id: 31242762, Consumer Id: 463297, Address Id: 1035966 => Updated with Vin: 1GBJG31UX41122002 ## Mail History Id: 31242948, Consumer Id: 477639, Address Id: 9824032 => Updated with Vin: 1G1NE52M9V6113298 ## Mail History Id: 31242828, Consumer Id: 478510, Address Id: 5367317 => Updated with Vin: 1GCCS19X9W8124145 ## Mail History Id: 31242950, Consumer Id: 478791, Address Id: 9824265 => Updated with Vin: 2GCEK19T731229495 ## Mail History Id: 31242706, Consumer Id: 465550, Address Id: 1034264 => Updated with Vin: 1GNEC13Z72R130005 ## Mail History Id: 31242738, Consumer Id: 467856, Address Id: 4372863 => Updated with Vin: 1G1ZU64895F188965 ## Mail History Id: 31242674, Consumer Id: 466447, Address Id: 818180 => Updated with Vin: 2GCEC19T451259828 ## Mail History Id: 31242808, Consumer Id: 466448, Address Id: 1569589 => Updated with Vin: 2CNDL13F056176474 ## Mail History Id: 31242884, Consumer Id: 471246, Address Id: 4377938 => Updated with Vin: 1GNFC16J88J223147 ## Mail History Id: 31242834, Consumer Id: 467001, Address Id: 8395992 => Updated with Vin: 4F2YZ04103KM23035 ## Mail History Id: 31242936, Consumer Id: 467897, Address Id: 9821781 => Updated with Vin: 1GNFC13J77R129183 ## Mail History Id: 31242880, Consumer Id: 480174, Address Id: 9824559 => Updated with Vin: 1GNFC13J57J107097 ## Mail History Id: 31242682, Consumer Id: 609176, Address Id: 9821977 => Updated with Vin: 1GKDS13S462311348 ## Mail History Id: 31242668, Consumer Id: 481204, Address Id: 9824812 => Updated with Vin: 3GNDA23D66S557240 ## Mail History Id: 31242818, Consumer Id: 468783, Address Id: 9822210 => Updated with Vin: KL1TD56616B630429 ## Mail History Id: 31242868, Consumer Id: 468952, Address Id: 9822294 => Updated with Vin: 3GNFC16J87G158459 ## Mail History Id: 31242704, Consumer Id: 609533, Address Id: 11754478 => Updated with Vin: 1GCEC14C88Z128288 ## Mail History Id: 31242928, Consumer Id: 469442, Address Id: 8119287 => Updated with Vin: 1GNES16S636159418 ## Mail History Id: 31242932, Consumer Id: 469932, Address Id: 8119500 => Updated with Vin: 3GNDA13DX7S585523 ## Mail History Id: 31242956, Consumer Id: 489516, Address Id: 9826150 => Updated with Vin: 1GCHC23D56F244107 ## Mail History Id: 31242788, Consumer Id: 490251, Address Id: 9826465 => Updated with Vin: 3GNEC16Z85G124715 ## Mail History Id: 31242854, Consumer Id: 609529, Address Id: 3288295 => Updated with Vin: 1GCDC14Z5PE206791 ## Mail History Id: 31242842, Consumer Id: 490539, Address Id: 9826586 => Updated with Vin: 2G1WH55K839297922 ## Mail History Id: 31242848, Consumer Id: 489462, Address Id: 9854680 => Updated with Vin: 1GCFG15X781170444 ## Mail History Id: 31242856, Consumer Id: 609531, Address Id: 1341210 => Updated with Vin: 1GTCS19W218124763 ## Mail History Id: 31242896, Consumer Id: 609175, Address Id: 11754267 => Updated with Vin: 1GCDS19E088120247 ## Mail History Id: 31242898, Consumer Id: 609173, Address Id: 11754265 => Updated with Vin: 1GTCS145XYK294414 ## Mail History Id: 31242826, Consumer Id: 484493, Address Id: 9823930 => Updated with Vin: 2GCEK19K8R1295229 ## Mail History Id: 31242876, Consumer Id: 609674, Address Id: 11754637 => Updated with Vin: 2G1WB58K089255202 ## Total mail_history records updated with vin numbers: 32 out of 40 ============================================================ ====== Tracking Id: 2524 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-09 11:17:31') AND us2_order_type_id = 3 ## Order found: 2509 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2509 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3416 ## Mailing found: '13607' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242481, Consumer Id: 625641, Address Id: 11766056 => Updated with Vin: 1GNEK13ZX4R141862 ## Mail History Id: 31242523, Consumer Id: 685497, Address Id: 11795978 => Updated with Vin: 1G6KY5492WU911779 ## Mail History Id: 31242517, Consumer Id: 693002, Address Id: 11798625 => Updated with Vin: 1G6DW677860125359 ## Mail History Id: 31242495, Consumer Id: 691940, Address Id: 1963047 => Updated with Vin: 1G6KD57Y67U159794 ## Mail History Id: 31242467, Consumer Id: 691389, Address Id: 10934297 => Updated with Vin: 1GYEE637160171328 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 2525 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-09 11:17:36') AND us2_order_type_id = 3 ## Order found: 2515 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2515 AND product_id = 143 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3491 ## Mailing found: '13595' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243846, Consumer Id: 811736, Address Id: 1304556 => Updated with Vin: 2GCEC13V971181155 ## Mail History Id: 31243830, Consumer Id: 813469, Address Id: 11875082 => Updated with Vin: 3GNFC16077G193923 ## Mail History Id: 31243852, Consumer Id: 814595, Address Id: 11889128 => Updated with Vin: 1G1JC12F557136022 ## Mail History Id: 31243872, Consumer Id: 815970, Address Id: 11891178 => Updated with Vin: 2G1WT58K379329935 ## Mail History Id: 31243890, Consumer Id: 1125623, Address Id: 14991419 => Updated with Vin: 2G1WU58R879196695 ## Mail History Id: 31243870, Consumer Id: 1125624, Address Id: 14991420 => Updated with Vin: 1D7HA18N65S147768 ## Mail History Id: 31243856, Consumer Id: 1157875, Address Id: 15019240 => Updated with Vin: 1J4HR58276C210253 ## Mail History Id: 31243834, Consumer Id: 824052, Address Id: 11879309 => Updated with Vin: 1GBEG25K0RF142676 ## Mail History Id: 31243866, Consumer Id: 828813, Address Id: 11879200 => Updated with Vin: 2GCEK19K4P1164862 ## Mail History Id: 31243892, Consumer Id: 808631, Address Id: 11883038 => Updated with Vin: 1GCCS138868110366 ## Mail History Id: 31243878, Consumer Id: 833605, Address Id: 11891816 => Updated with Vin: 1GCEC19M2WR151256 ## Mail History Id: 31243868, Consumer Id: 831748, Address Id: 11889875 => Updated with Vin: 1GCEC19TX4Z231439 ## Mail History Id: 31243848, Consumer Id: 838498, Address Id: 11875723 => Updated with Vin: 1GNES13H272118256 ## Mail History Id: 31243838, Consumer Id: 826760, Address Id: 11875178 => Updated with Vin: 1GNFK16Z32J261353 ## Mail History Id: 31243884, Consumer Id: 834545, Address Id: 11892332 => Updated with Vin: 2G1WH52K849386038 ## Total mail_history records updated with vin numbers: 15 out of 23 ============================================================ ====== Tracking Id: 2526 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-09 11:17:44') AND us2_order_type_id = 3 ## Order found: 2509 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2509 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3416 ## Mailing found: '13607' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242545, Consumer Id: 683556, Address Id: 1969652 => Updated with Vin: 1G6KS54Y51U228170 ## Mail History Id: 31242529, Consumer Id: 688043, Address Id: 1968525 => Updated with Vin: 1G6KD54Y84U113738 ## Mail History Id: 31242509, Consumer Id: 688948, Address Id: 1964854 => Updated with Vin: 5GRGN23U43H119443 ## Mail History Id: 31242537, Consumer Id: 685163, Address Id: 11795882 => Updated with Vin: 1G6KD52B2RU296124 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2527 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-09 11:17:51') AND us2_order_type_id = 3 ## Order found: 2515 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2515 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2528 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-09 11:17:55') AND us2_order_type_id = 3 ## Order found: 2515 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2515 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2529 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-09 11:18:04') AND us2_order_type_id = 3 ## Order found: 2515 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2515 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2530 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-09 11:19:18') AND us2_order_type_id = 3 ## Order found: 2516 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2516 AND product_id = 144 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3705 ## Mailing found: '13598' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243918, Consumer Id: 973140, Address Id: 9159460 => Updated with Vin: 1GCEC14V34Z202454 ## Mail History Id: 31243920, Consumer Id: 973515, Address Id: 14839249 => Updated with Vin: 2G1WP551149394097 ## Mail History Id: 31243922, Consumer Id: 963237, Address Id: 14835794 => Updated with Vin: 2G1WD58C969216396 ## Mail History Id: 31243956, Consumer Id: 965806, Address Id: 14838007 => Updated with Vin: 1GKES16S366153397 ## Mail History Id: 31243962, Consumer Id: 966754, Address Id: 14838721 => Updated with Vin: 2CNDL13F966184591 ## Mail History Id: 31243916, Consumer Id: 967680, Address Id: 14839436 => Updated with Vin: 2GTEC13Z171174560 ## Mail History Id: 31243946, Consumer Id: 967904, Address Id: 14839590 => Updated with Vin: 1G2ZH361774203623 ## Mail History Id: 31243924, Consumer Id: 972419, Address Id: 14842831 => Updated with Vin: 3GNDA13DX6S639353 ## Mail History Id: 31243960, Consumer Id: 1125645, Address Id: 14991456 => Updated with Vin: 3GNCA63X98S663889 ## Mail History Id: 31243944, Consumer Id: 1106564, Address Id: 14835944 => Updated with Vin: 1G2ZH36N084255406 ## Mail History Id: 31243908, Consumer Id: 1106565, Address Id: 14981601 => Updated with Vin: 2GCEC13V471147317 ## Mail History Id: 31243932, Consumer Id: 1125647, Address Id: 14991458 => Updated with Vin: 1G1AL15F577129389 ## Mail History Id: 31243926, Consumer Id: 975544, Address Id: 14843893 => Updated with Vin: 1GCHK23132F185920 ## Mail History Id: 31243942, Consumer Id: 976086, Address Id: 14844216 => Updated with Vin: 1GKDS13S032314551 ## Total mail_history records updated with vin numbers: 14 out of 22 ============================================================ ====== Tracking Id: 2531 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-09 11:19:29') AND us2_order_type_id = 3 ## Order found: 2516 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2516 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2532 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-09 11:19:37') AND us2_order_type_id = 3 ## Order found: 2517 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2517 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3808 ## Mailing found: '13619' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242753, Consumer Id: 1266172, Address Id: 15437714 => Updated with Vin: 2GCEC19TX51153433 ## Mail History Id: 31242631, Consumer Id: 1266268, Address Id: 15437657 => Updated with Vin: 3GNDA33P57S570658 ## Mail History Id: 31242635, Consumer Id: 1266371, Address Id: 15437864 => Updated with Vin: 5B4MPA7GX63413126 ## Mail History Id: 31242661, Consumer Id: 1266118, Address Id: 15437673 => Updated with Vin: 1GNEC13R3XJ486280 ## Mail History Id: 31242687, Consumer Id: 1266441, Address Id: 15437920 => Updated with Vin: 1GCDS198X48199236 ## Mail History Id: 31242597, Consumer Id: 1266259, Address Id: 15437776 => Updated with Vin: 1GHDT13W9R0700783 ## Mail History Id: 31242647, Consumer Id: 1266319, Address Id: 15437827 => Updated with Vin: 1GCEC14W2XE113897 ## Mail History Id: 31242645, Consumer Id: 1266438, Address Id: 15437917 => Updated with Vin: 2GCEC19T641359881 ## Mail History Id: 31242677, Consumer Id: 1265766, Address Id: 15437359 => Updated with Vin: 1GNEC13Z33J340455 ## Mail History Id: 31242723, Consumer Id: 1266313, Address Id: 15437821 => Updated with Vin: 1G1NE52M0X6239696 ## Mail History Id: 31242583, Consumer Id: 1266194, Address Id: 15437731 => Updated with Vin: 1GBDV131X8D132060 ## Mail History Id: 31242629, Consumer Id: 1266320, Address Id: 15437828 => Updated with Vin: 1G1ZU54834F204862 ## Mail History Id: 31242611, Consumer Id: 1266370, Address Id: 15437863 => Updated with Vin: 1GCHC29U24E345292 ## Mail History Id: 31242581, Consumer Id: 1266170, Address Id: 15437712 => Updated with Vin: 1GCHC23U25F800968 ## Total mail_history records updated with vin numbers: 14 out of 16 ============================================================ ====== Tracking Id: 2533 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-09 11:19:42') AND us2_order_type_id = 3 ## Order found: 2516 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2516 AND product_id = 106 ## Job Group Found: '580' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('580') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108005' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108005') AND customer_id = 3705 ## Mailing found: '13572' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243513, Consumer Id: 964640, Address Id: 14837132 => Updated with Vin: 2G1WB58K569312068 ## Mail History Id: 31243514, Consumer Id: 966236, Address Id: 14837336 => Updated with Vin: 2GCEC13V471147317 ## Mail History Id: 31243515, Consumer Id: 967060, Address Id: 14838950 => Updated with Vin: 1GKEC13JX7J108786 ## Mail History Id: 31243516, Consumer Id: 970910, Address Id: 14841786 => Updated with Vin: 2G1WB58K969225225 ## Mail History Id: 31243517, Consumer Id: 970914, Address Id: 14841789 => Updated with Vin: 3GNDA23D18S566933 ## Mail History Id: 31243518, Consumer Id: 976413, Address Id: 14844408 => Updated with Vin: 1GNDX03E64D229017 ## Mail History Id: 31243519, Consumer Id: 979852, Address Id: 14846331 => Updated with Vin: 2GCEC13TX61121656 ## Total mail_history records updated with vin numbers: 7 out of 9 ============================================================ ====== Tracking Id: 2534 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-09 11:19:50') AND us2_order_type_id = 3 ## Order found: 2518 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2518 AND product_id = 143 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3721 ## Mailing found: '13599' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243556, Consumer Id: 1017501, Address Id: 6662409 => Updated with Vin: 4F4YR12UX1TM29930 ## Total mail_history records updated with vin numbers: 1 out of 6 ============================================================ ====== Tracking Id: 2535 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-09 11:20:02') AND us2_order_type_id = 3 ## Order found: 2517 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2517 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3808 ## Mailing found: '13619' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242743, Consumer Id: 1283931, Address Id: 15462260 => Updated with Vin: 3GNEC12017G117941 ## Mail History Id: 31242807, Consumer Id: 1286515, Address Id: 15463991 => Updated with Vin: 1FMYU93116KC65955 ## Mail History Id: 31242763, Consumer Id: 1287342, Address Id: 15037982 => Updated with Vin: 1GCHK23225F969759 ## Mail History Id: 31242733, Consumer Id: 1287345, Address Id: 15464583 => Updated with Vin: 2GCEC19T641120279 ## Mail History Id: 31242699, Consumer Id: 1287493, Address Id: 15464662 => Updated with Vin: 1FTJX35M0PKA01130 ## Mail History Id: 31242595, Consumer Id: 1287341, Address Id: 15461012 => Updated with Vin: 1GCEC19T03Z356058 ## Mail History Id: 31242591, Consumer Id: 1278785, Address Id: 11564373 => Updated with Vin: 2GCEC19T121366184 ## Mail History Id: 31242685, Consumer Id: 1270742, Address Id: 6142702 => Updated with Vin: 1GCCS19W018158877 ## Mail History Id: 31242663, Consumer Id: 1268068, Address Id: 15454441 => Updated with Vin: 1GNEC13Z83J278521 ## Mail History Id: 31242689, Consumer Id: 1268069, Address Id: 15454442 => Updated with Vin: 1G1AZ52F357516742 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 2536 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-09 11:20:15') AND us2_order_type_id = 3 ## Order found: 2517 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2517 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3808 ## Mailing found: '13619' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242765, Consumer Id: 1171530, Address Id: 15029705 => Updated with Vin: YV1MS382752102629 ## Mail History Id: 31242621, Consumer Id: 1171432, Address Id: 15029619 => Updated with Vin: 1GCEK19B97E118586 ## Mail History Id: 31242741, Consumer Id: 1171442, Address Id: 15029628 => Updated with Vin: 2G1WF52E129346350 ## Mail History Id: 31242705, Consumer Id: 1171616, Address Id: 15029780 => Updated with Vin: 3G5DA03E73S577408 ## Mail History Id: 31242711, Consumer Id: 1171528, Address Id: 15029703 => Updated with Vin: 1GNDS13S022443049 ## Mail History Id: 31242761, Consumer Id: 1171451, Address Id: 15029635 => Updated with Vin: 2GCEC19T041143170 ## Mail History Id: 31242749, Consumer Id: 1171445, Address Id: 15029629 => Updated with Vin: 2GCEC19TX11101343 ## Mail History Id: 31242707, Consumer Id: 1171520, Address Id: 15029696 => Updated with Vin: 2GCEC13V271129544 ## Mail History Id: 31242671, Consumer Id: 1171422, Address Id: 15029610 => Updated with Vin: 3GNEK12Z05G132106 ## Mail History Id: 31242605, Consumer Id: 1171560, Address Id: 15029731 => Updated with Vin: 2GCEC13T541410277 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 2537 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-09 11:46:38') AND us2_order_type_id = 3 ## Order found: 2519 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2519 AND product_id = 142 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3357 ## Mailing found: '13589' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31244038, Consumer Id: 873362, Address Id: 11912838 => Updated with Vin: JM3TB38C170114517 ## Mail History Id: 31244052, Consumer Id: 1125995, Address Id: 14991599 => Updated with Vin: 1FMNE31LX2HA22041 ## Mail History Id: 31244024, Consumer Id: 151834, Address Id: 394208 => Updated with Vin: JM1FE173750152298 ## Mail History Id: 31244030, Consumer Id: 152093, Address Id: 394450 => Updated with Vin: JM3LW28J750550718 ## Mail History Id: 31244032, Consumer Id: 152659, Address Id: 394973 => Updated with Vin: 1FAFP34N45W250669 ## Mail History Id: 31244022, Consumer Id: 196797, Address Id: 406723 => Updated with Vin: JM1CR29L660106022 ## Mail History Id: 31244046, Consumer Id: 957918, Address Id: 394587 => Updated with Vin: 1FAHP35N58W197976 ## Mail History Id: 31244048, Consumer Id: 154617, Address Id: 396758 => Updated with Vin: JM3TB38C970103782 ## Mail History Id: 31244036, Consumer Id: 154011, Address Id: 396201 => Updated with Vin: 1FMFK175X7LA22846 ## Mail History Id: 31244020, Consumer Id: 154122, Address Id: 396308 => Updated with Vin: 1FTZR45E07PA59463 ## Mail History Id: 31244034, Consumer Id: 196780, Address Id: 401457 => Updated with Vin: 1FMYU60E91UA63433 ## Mail History Id: 31244034, Consumer Id: 196780, Address Id: 401457 => Updated with Vin: 1FMYU60E91UA63433 ## Mail History Id: 31244050, Consumer Id: 981253, Address Id: 14919825 => Updated with Vin: 1ZVHT84N985203477 ## Mail History Id: 31244042, Consumer Id: 155716, Address Id: 397752 => Updated with Vin: 4F2CZ49H08KM17296 ## Mail History Id: 31244026, Consumer Id: 1126001, Address Id: 6407709 => Updated with Vin: 1FMEU18W9VLB00107 ## Mail History Id: 31244018, Consumer Id: 192492, Address Id: 402218 => Updated with Vin: 1FTYR14X1YPB65550 ## Mail History Id: 31244040, Consumer Id: 188818, Address Id: 399283 => Updated with Vin: 1FMDU74E7YZB39548 ## Total mail_history records updated with vin numbers: 17 out of 29 ============================================================ ====== Tracking Id: 2538 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-09 11:46:41') AND us2_order_type_id = 3 ## Order found: 2519 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2519 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3357 ## Mailing found: '13606' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243223, Consumer Id: 609411, Address Id: 11754390 => Updated with Vin: 1FMEU62E46UA38317 ## Mail History Id: 31243105, Consumer Id: 193946, Address Id: 403860 => Updated with Vin: 1FMSU43F21EB63317 ## Mail History Id: 31243081, Consumer Id: 609410, Address Id: 11754388 => Updated with Vin: 1FMYU60E81UC67849 ## Mail History Id: 31243229, Consumer Id: 609413, Address Id: 11754392 => Updated with Vin: 3FAKP1132WR197691 ## Mail History Id: 31243051, Consumer Id: 198205, Address Id: 405658 => Updated with Vin: 1YVHP84DX45N93847 ## Mail History Id: 31243163, Consumer Id: 583901, Address Id: 10863518 => Updated with Vin: 2FAFP74W34X120949 ## Mail History Id: 31243077, Consumer Id: 152109, Address Id: 394465 => Updated with Vin: JM1CR29L660106926 ## Mail History Id: 31243119, Consumer Id: 153175, Address Id: 395446 => Updated with Vin: 1ZVHT82H765250467 ## Mail History Id: 31243209, Consumer Id: 609405, Address Id: 11754383 => Updated with Vin: WDBRF52H46A866369 ## Mail History Id: 31243185, Consumer Id: 190664, Address Id: 400926 => Updated with Vin: 1FMEU62E16UA49761 ## Mail History Id: 31243065, Consumer Id: 197574, Address Id: 406782 => Updated with Vin: JM1BK12GX71637615 ## Mail History Id: 31243239, Consumer Id: 604766, Address Id: 11754189 => Updated with Vin: 1GCCS13E178138498 ## Mail History Id: 31243227, Consumer Id: 197302, Address Id: 401688 => Updated with Vin: 2FMDK38CX7BA95540 ## Mail History Id: 31243183, Consumer Id: 609404, Address Id: 11754382 => Updated with Vin: 3FAHP06Z27R176326 ## Mail History Id: 31243205, Consumer Id: 155524, Address Id: 397571 => Updated with Vin: JM3ER29L480183412 ## Mail History Id: 31243067, Consumer Id: 199012, Address Id: 407756 => Updated with Vin: 1LNLM91V2SY760172 ## Mail History Id: 31243155, Consumer Id: 194216, Address Id: 403647 => Updated with Vin: 1FACP44M6NF121865 ## Mail History Id: 31243089, Consumer Id: 609409, Address Id: 11754387 => Updated with Vin: 1LNLM91V0PY675094 ## Mail History Id: 31243061, Consumer Id: 609408, Address Id: 11754386 => Updated with Vin: 2MELM75W4VX621899 ## Mail History Id: 31243153, Consumer Id: 191834, Address Id: 402106 => Updated with Vin: 1FAFP6633WK314450 ## Total mail_history records updated with vin numbers: 20 out of 23 ============================================================ ====== Tracking Id: 2539 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-09 11:46:52') AND us2_order_type_id = 3 ## Order found: 2518 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2518 AND product_id = 2150 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3721 ## Mailing found: '13599' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243548, Consumer Id: 1007944, Address Id: 6659533 => Updated with Vin: 4F2YU09172KM61559 ## Mail History Id: 31243550, Consumer Id: 1013358, Address Id: 14932354 => Updated with Vin: JM1NA3517M1221455 ## Total mail_history records updated with vin numbers: 2 out of 4 ============================================================ ====== Tracking Id: 2540 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-09 11:46:53') AND us2_order_type_id = 3 ## Order found: 2519 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2519 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3357 ## Mailing found: '13606' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243079, Consumer Id: 155861, Address Id: 397892 => Updated with Vin: 4F2YU09141KM09546 ## Mail History Id: 31243215, Consumer Id: 190299, Address Id: 399520 => Updated with Vin: 1FMDU73E32ZC45147 ## Mail History Id: 31243085, Consumer Id: 188243, Address Id: 400183 => Updated with Vin: 2FTRX07LX3CA17467 ## Mail History Id: 31243103, Consumer Id: 190455, Address Id: 400911 => Updated with Vin: 1FMDU63K43ZB23060 ## Mail History Id: 31243161, Consumer Id: 155394, Address Id: 397449 => Updated with Vin: 3N1CB51D32L632943 ## Mail History Id: 31243219, Consumer Id: 155800, Address Id: 397834 => Updated with Vin: 1B3EL36X82N202059 ## Mail History Id: 31243193, Consumer Id: 155808, Address Id: 397841 => Updated with Vin: 1GCEC14V23Z134081 ## Mail History Id: 31243101, Consumer Id: 194200, Address Id: 404456 => Updated with Vin: 1FMEU62E46UA09335 ## Mail History Id: 31243179, Consumer Id: 154743, Address Id: 396875 => Updated with Vin: JM1BK324471661328 ## Mail History Id: 31243143, Consumer Id: 193278, Address Id: 402806 => Updated with Vin: 1YVHP80D735M03751 ## Mail History Id: 31243049, Consumer Id: 155807, Address Id: 397840 => Updated with Vin: 1FMCU59H98KC70203 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 2541 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-09 11:47:13') AND us2_order_type_id = 3 ## Order found: 2518 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2518 AND product_id = 2147 ## Job Group Found: '577' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('577') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108002') AND customer_id = 3721 ## Mailing found: '13578' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243281, Consumer Id: 1008513, Address Id: 14930685 => Updated with Vin: 1YVGE22CXT5518251 ## Mail History Id: 31243283, Consumer Id: 1016086, Address Id: 6659465 => Updated with Vin: JM1FE173740111314 ## Mail History Id: 31243285, Consumer Id: 1011750, Address Id: 529255 => Updated with Vin: 4F2YZ02Z35KM15183 ## Mail History Id: 31243287, Consumer Id: 1012561, Address Id: 6666730 => Updated with Vin: JM3LW28J530340437 ## Mail History Id: 31243289, Consumer Id: 1008512, Address Id: 6667706 => Updated with Vin: 4F2YU09112KM48998 ## Mail History Id: 31243291, Consumer Id: 1007410, Address Id: 7761975 => Updated with Vin: 4F2YU07161KM16274 ## Mail History Id: 31243293, Consumer Id: 1017574, Address Id: 14933531 => Updated with Vin: JM3LW28J020319087 ## Mail History Id: 31243295, Consumer Id: 1017583, Address Id: 6664293 => Updated with Vin: 4F4YR12C5YTM27388 ## Mail History Id: 31243297, Consumer Id: 1014521, Address Id: 6658973 => Updated with Vin: JM1BK323X41128774 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 2542 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-09 11:47:14') AND us2_order_type_id = 3 ## Order found: 2519 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2519 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3357 ## Mailing found: '13606' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2543 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-09 12:19:16') AND us2_order_type_id = 3 ## Order found: 2520 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2520 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2544 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-09 12:19:20') AND us2_order_type_id = 3 ## Order found: 2520 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2520 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2545 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-09 12:19:23') AND us2_order_type_id = 3 ## Order found: 2520 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2520 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3427 ## Mailing found: '13608' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242410, Consumer Id: 483744, Address Id: 9838265 => Updated with Vin: 1HGCP264X8A093129 ## Mail History Id: 31242408, Consumer Id: 483749, Address Id: 9838270 => Updated with Vin: 5FNYF18664B005954 ## Mail History Id: 31242412, Consumer Id: 483750, Address Id: 9838271 => Updated with Vin: 5J6YH18948L010314 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2546 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-09 12:19:28') AND us2_order_type_id = 3 ## Order found: 2521 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2521 AND product_id = 143 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3471 ## Mailing found: '13594' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243976, Consumer Id: 799751, Address Id: 7415961 => Updated with Vin: 1G6KD54Y1YU301927 ## Mail History Id: 31243982, Consumer Id: 805577, Address Id: 10214860 => Updated with Vin: 1G6KS54Y63U112107 ## Mail History Id: 31243998, Consumer Id: 806110, Address Id: 10220032 => Updated with Vin: 1GYDE63A540129071 ## Mail History Id: 31243966, Consumer Id: 774315, Address Id: 7878058 => Updated with Vin: 1G6KY5490YU336360 ## Mail History Id: 31243994, Consumer Id: 760212, Address Id: 10217119 => Updated with Vin: 1GYEK63N85R111595 ## Mail History Id: 31243996, Consumer Id: 816597, Address Id: 11869632 => Updated with Vin: 1GYEE63A350187962 ## Mail History Id: 31243988, Consumer Id: 772850, Address Id: 11873931 => Updated with Vin: 1G6KD57Y37U152754 ## Mail History Id: 31244000, Consumer Id: 801789, Address Id: 11871334 => Updated with Vin: 1GYEK63N82R304860 ## Mail History Id: 31243980, Consumer Id: 760360, Address Id: 7416237 => Updated with Vin: 1G6KD54Y8YU337680 ## Mail History Id: 31243972, Consumer Id: 807248, Address Id: 7878649 => Updated with Vin: 1GYEK63N03R154583 ## Mail History Id: 31243974, Consumer Id: 818565, Address Id: 7878686 => Updated with Vin: 1GYEK63N06R161411 ## Mail History Id: 31243986, Consumer Id: 816153, Address Id: 10215697 => Updated with Vin: 1G6KD54Y44U214601 ## Mail History Id: 31243984, Consumer Id: 760345, Address Id: 10214961 => Updated with Vin: 1GYEE637X40165864 ## Mail History Id: 31243978, Consumer Id: 760369, Address Id: 10560253 => Updated with Vin: 1GYEK63N16R120110 ## Mail History Id: 31243992, Consumer Id: 821028, Address Id: 10216255 => Updated with Vin: 1G6KS54Y4XU922180 ## Mail History Id: 31243990, Consumer Id: 760385, Address Id: 10216150 => Updated with Vin: WDBNG83J94A412128 ## Mail History Id: 31243968, Consumer Id: 759650, Address Id: 7878213 => Updated with Vin: 3GYEK62NX4G292375 ## Total mail_history records updated with vin numbers: 17 out of 26 ============================================================ ====== Tracking Id: 2547 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-09 12:19:38') AND us2_order_type_id = 3 ## Order found: 2521 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2521 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3471 ## Mailing found: '13611' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242983, Consumer Id: 799855, Address Id: 11870560 => Updated with Vin: 1G6KE52Y0VU200986 ## Mail History Id: 31242981, Consumer Id: 798458, Address Id: 10216906 => Updated with Vin: 1G6KF57992U299155 ## Mail History Id: 31242975, Consumer Id: 799889, Address Id: 7878840 => Updated with Vin: 1GHDT13S522189483 ## Mail History Id: 31242977, Consumer Id: 807021, Address Id: 11876229 => Updated with Vin: 1G6DM577040156425 ## Mail History Id: 31242989, Consumer Id: 807029, Address Id: 11876822 => Updated with Vin: 1G6KD54Y94U203335 ## Mail History Id: 31242985, Consumer Id: 807010, Address Id: 10219524 => Updated with Vin: 1G6DS57V880162547 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2548 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-09 12:19:40') AND us2_order_type_id = 3 ## Order found: 2522 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2522 AND product_id = 143 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3451 ## Mailing found: '13592' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31244008, Consumer Id: 619839, Address Id: 11760910 => Updated with Vin: 1G6AD4789D9161902 ## Mail History Id: 31244016, Consumer Id: 615154, Address Id: 11757780 => Updated with Vin: 1G6KD54Y7XU793376 ## Mail History Id: 31244004, Consumer Id: 617820, Address Id: 11759563 => Updated with Vin: 1G6KY5491XU909121 ## Mail History Id: 31244002, Consumer Id: 621692, Address Id: 826987 => Updated with Vin: 3GYEK63N22G243814 ## Mail History Id: 31244014, Consumer Id: 612132, Address Id: 3244451 => Updated with Vin: 1G6DP577470194879 ## Mail History Id: 31244012, Consumer Id: 628443, Address Id: 11765677 => Updated with Vin: 1G6DC67A670126015 ## Mail History Id: 31244010, Consumer Id: 932709, Address Id: 11957584 => Updated with Vin: 1G6KY5291SU805398 ## Mail History Id: 31244006, Consumer Id: 921581, Address Id: 11959722 => Updated with Vin: 3GYEK62N26G226244 ## Total mail_history records updated with vin numbers: 8 out of 16 ============================================================ ====== Tracking Id: 2549 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-09 14:16:24') AND us2_order_type_id = 3 ## Order found: 2510 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2510 AND product_id = 143 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3418 ## Mailing found: '13591' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243716, Consumer Id: 612354, Address Id: 11756053 => Updated with Vin: 1G6KD57958U133844 ## Mail History Id: 31243634, Consumer Id: 612334, Address Id: 11756038 => Updated with Vin: 1G6EL12Y4YU167085 ## Mail History Id: 31243612, Consumer Id: 612316, Address Id: 10326309 => Updated with Vin: 1GYEE637340179590 ## Mail History Id: 31243588, Consumer Id: 612255, Address Id: 11755974 => Updated with Vin: 1G6DW677560115677 ## Mail History Id: 31243568, Consumer Id: 612361, Address Id: 11756059 => Updated with Vin: 1G6DP577X70181506 ## Mail History Id: 31243680, Consumer Id: 612180, Address Id: 11755920 => Updated with Vin: 2A8HR54P08R679274 ## Mail History Id: 31243644, Consumer Id: 612169, Address Id: 11755911 => Updated with Vin: 1ZVFT82H275300104 ## Mail History Id: 31243664, Consumer Id: 612231, Address Id: 11755955 => Updated with Vin: 1N4BA41E15C875655 ## Mail History Id: 31243718, Consumer Id: 629131, Address Id: 11769699 => Updated with Vin: 1G6DG577780189015 ## Mail History Id: 31243602, Consumer Id: 611182, Address Id: 11755791 => Updated with Vin: 1G6DF577980191481 ## Mail History Id: 31243744, Consumer Id: 611185, Address Id: 11755794 => Updated with Vin: 1GYFK63848R194011 ## Mail History Id: 31243662, Consumer Id: 612370, Address Id: 11756066 => Updated with Vin: 1G6DP577170117810 ## Mail History Id: 31243708, Consumer Id: 611181, Address Id: 8873812 => Updated with Vin: 1G6DP57V680100310 ## Mail History Id: 31243772, Consumer Id: 612161, Address Id: 8877779 => Updated with Vin: 1G6KF57972U178432 ## Mail History Id: 31243618, Consumer Id: 612287, Address Id: 11755999 => Updated with Vin: 1G6KD54Y14U181850 ## Mail History Id: 31243690, Consumer Id: 612223, Address Id: 11755950 => Updated with Vin: 1G6KD57Y97U143489 ## Mail History Id: 31243818, Consumer Id: 610441, Address Id: 11755167 => Updated with Vin: 1G6DD67VX80137472 ## Mail History Id: 31243610, Consumer Id: 612385, Address Id: 11756079 => Updated with Vin: 3GYFK628X7G224032 ## Mail History Id: 31243672, Consumer Id: 612350, Address Id: 11756049 => Updated with Vin: 1G6DP577870180533 ## Mail History Id: 31243656, Consumer Id: 610083, Address Id: 11754850 => Updated with Vin: 1GYEE637480109439 ## Mail History Id: 31243722, Consumer Id: 612369, Address Id: 11756065 => Updated with Vin: 1G6DW677160217784 ## Mail History Id: 31243654, Consumer Id: 612239, Address Id: 11755962 => Updated with Vin: 1G6DW67V880102505 ## Mail History Id: 31243714, Consumer Id: 612372, Address Id: 11756068 => Updated with Vin: 1G6DP577960148060 ## Mail History Id: 31243758, Consumer Id: 612380, Address Id: 11756074 => Updated with Vin: 1G6KF57953U216919 ## Mail History Id: 31243702, Consumer Id: 610178, Address Id: 11754932 => Updated with Vin: 3GYFK62867G291968 ## Mail History Id: 31243702, Consumer Id: 610178, Address Id: 11754932 => Updated with Vin: 3GYFK62867G291968 ## Total mail_history records updated with vin numbers: 26 out of 46 ============================================================ ====== Tracking Id: 2550 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-09 14:16:39') AND us2_order_type_id = 3 ## Order found: 2522 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2522 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3451 ## Mailing found: '13609' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243017, Consumer Id: 614978, Address Id: 837427 => Updated with Vin: 1G6KD54Y3XU726872 ## Mail History Id: 31243003, Consumer Id: 625055, Address Id: 11758641 => Updated with Vin: 1G6KD54Y42U175683 ## Mail History Id: 31242995, Consumer Id: 622855, Address Id: 827636 => Updated with Vin: 1G6KD54Y42U263374 ## Mail History Id: 31243023, Consumer Id: 615336, Address Id: 11757899 => Updated with Vin: 1G6KF5796YU239732 ## Mail History Id: 31243013, Consumer Id: 611629, Address Id: 11758301 => Updated with Vin: 1GYEK63N52R231009 ## Mail History Id: 31242993, Consumer Id: 616777, Address Id: 3873740 => Updated with Vin: W06VR54R5YR049625 ## Mail History Id: 31243007, Consumer Id: 619393, Address Id: 11761016 => Updated with Vin: 1G6KD54Y05U161350 ## Mail History Id: 31243021, Consumer Id: 619452, Address Id: 11761200 => Updated with Vin: 1G6DR57V080151229 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 2551 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-09 14:16:51') AND us2_order_type_id = 3 ## Order found: 2522 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2522 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3451 ## Mailing found: '13609' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243005, Consumer Id: 614782, Address Id: 832833 => Updated with Vin: 1G6DM57N930162348 ## Mail History Id: 31243039, Consumer Id: 622561, Address Id: 11762616 => Updated with Vin: 1G6KF57981U141484 ## Mail History Id: 31243009, Consumer Id: 626370, Address Id: 4107395 => Updated with Vin: 3GYEK63N02G326450 ## Mail History Id: 31243011, Consumer Id: 615136, Address Id: 11757770 => Updated with Vin: 1G6KS54Y3YU330917 ## Mail History Id: 31242997, Consumer Id: 628131, Address Id: 11765461 => Updated with Vin: YV1NC63D54J062129 ## Mail History Id: 31242999, Consumer Id: 628123, Address Id: 3240899 => Updated with Vin: 5FNYF18675B024594 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 2552 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-09 14:17:03') AND us2_order_type_id = 3 ## Order found: 2522 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2522 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3451 ## Mailing found: '13609' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243037, Consumer Id: 618392, Address Id: 11760075 => Updated with Vin: 1G6DM577040171460 ## Mail History Id: 31243015, Consumer Id: 627898, Address Id: 11765301 => Updated with Vin: W06VR54R2YR006201 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2553 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-09 19:16:51') AND us2_order_type_id = 3 ## Order found: 2519 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2519 AND product_id = 55 ## Job Group Found: '578' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('578') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108003') AND customer_id = 3357 ## Mailing found: '13574' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2554 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-09 19:56:21') AND us2_order_type_id = 3 ## Order found: 2523 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2523 AND product_id = 2147 ## Job Group Found: '577' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('577') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108002') AND customer_id = 3846 ## Mailing found: '13580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243326, Consumer Id: 1186035, Address Id: 15369975 => Updated with Vin: 4S4BP61C577343609 ## Mail History Id: 31243328, Consumer Id: 1179123, Address Id: 15367899 => Updated with Vin: 4S4BP61C577345263 ## Mail History Id: 31243330, Consumer Id: 1185645, Address Id: 15369550 => Updated with Vin: JF1GD70614L519584 ## Mail History Id: 31243332, Consumer Id: 1180769, Address Id: 15367546 => Updated with Vin: 4S3BD4358X7250728 ## Mail History Id: 31243334, Consumer Id: 1179098, Address Id: 15367826 => Updated with Vin: 4S4WX85D774410583 ## Mail History Id: 31243336, Consumer Id: 1187147, Address Id: 15370167 => Updated with Vin: 4S3BD4351V6204273 ## Mail History Id: 31243338, Consumer Id: 1187003, Address Id: 15371439 => Updated with Vin: 4S3BL626X87207471 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 2555 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-09 19:56:34') AND us2_order_type_id = 3 ## Order found: 2523 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2523 AND product_id = 2150 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3846 ## Mailing found: '13603' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243757, Consumer Id: 1179697, Address Id: 15366532 => Updated with Vin: 4S3BH675X27660532 ## Mail History Id: 31243721, Consumer Id: 1185318, Address Id: 15369395 => Updated with Vin: JF1SF63532H729573 ## Mail History Id: 31243733, Consumer Id: 1185630, Address Id: 15369728 => Updated with Vin: JF1SF6556WH773151 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2556 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-09 20:16:34') AND us2_order_type_id = 3 ## Order found: 2505 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2505 AND product_id = 2150 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3503 ## Mailing found: '13596,13914' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243537, Consumer Id: 2159651, Address Id: 9724410 => Updated with Vin: 4T1BE32K94U839374 ## Mail History Id: 31243597, Consumer Id: 2169264, Address Id: 463487 => Updated with Vin: JTMBD31V086059633 ## Total mail_history records updated with vin numbers: 2 out of 5 ============================================================ ====== Tracking Id: 2557 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-09 20:16:46') AND us2_order_type_id = 3 ## Order found: 2505 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2505 AND product_id = 2152 ## Job Group Found: '582' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('582') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108007') AND customer_id = 3503 ## Mailing found: '13569' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243364, Consumer Id: 2159703, Address Id: 9724453 => Updated with Vin: 5TDBA22C84S014935 ## Mail History Id: 31243368, Consumer Id: 2172242, Address Id: 9719966 => Updated with Vin: JTDBR32E930019871 ## Mail History Id: 31243376, Consumer Id: 2158668, Address Id: 9721379 => Updated with Vin: 4T1BF28B43U315191 ## Mail History Id: 31243378, Consumer Id: 2164702, Address Id: 9731134 => Updated with Vin: JTDKB20U267078071 ## Mail History Id: 31243384, Consumer Id: 2168123, Address Id: 467237 => Updated with Vin: 4T1BK36B87U236102 ## Total mail_history records updated with vin numbers: 5 out of 11 ============================================================ ====== Tracking Id: 2558 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-09 20:16:58') AND us2_order_type_id = 3 ## Order found: 2505 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2505 AND product_id = 2153 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2559 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-09 20:17:02') AND us2_order_type_id = 3 ## Order found: 2505 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2505 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2560 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-10 08:05:34') AND us2_order_type_id = 3 ## Order found: 2558 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2558 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2561 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-10 08:12:39') AND us2_order_type_id = 3 ## Order found: 2541 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2541 AND product_id = 55 ## Job Group Found: '578' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('578') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108003') AND customer_id = 3230 ## Mailing found: '13573' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243435, Consumer Id: 1669038, Address Id: 16292604 => Updated with Vin: 1FAHP34N77W356013 ## Mail History Id: 31243437, Consumer Id: 1823640, Address Id: 16616799 => Updated with Vin: 1FAHP35N99W120755 ## Mail History Id: 31243439, Consumer Id: 1823643, Address Id: 16616802 => Updated with Vin: 1FTRX14W48FC25604 ## Mail History Id: 31243441, Consumer Id: 1764587, Address Id: 16440596 => Updated with Vin: 1FTPW14V78FA65705 ## Mail History Id: 31243443, Consumer Id: 1767085, Address Id: 48812 => Updated with Vin: 1FAFP23115G106788 ## Mail History Id: 31243445, Consumer Id: 1899595, Address Id: 16756908 => Updated with Vin: 2G2WP552571118206 ## Mail History Id: 31243447, Consumer Id: 1956460, Address Id: 16933735 => Updated with Vin: 1FAHP33NX8W197572 ## Mail History Id: 31243449, Consumer Id: 1820077, Address Id: 16615591 => Updated with Vin: 1FAFP34PX3W316141 ## Mail History Id: 31243451, Consumer Id: 1806003, Address Id: 16571282 => Updated with Vin: 2FMZA51646BA54456 ## Mail History Id: 31243453, Consumer Id: 1760250, Address Id: 16438877 => Updated with Vin: 1FTSW21P15EA56196 ## Mail History Id: 31243455, Consumer Id: 1823645, Address Id: 16616804 => Updated with Vin: 1FTWW31P26EA97803 ## Mail History Id: 31243457, Consumer Id: 1956465, Address Id: 16933738 => Updated with Vin: 1FTWW31R98ED54623 ## Mail History Id: 31243459, Consumer Id: 1805991, Address Id: 16571275 => Updated with Vin: 1FTRF12268KE94116 ## Mail History Id: 31243461, Consumer Id: 1805996, Address Id: 16571277 => Updated with Vin: 1FMDK06197GA01009 ## Mail History Id: 31243463, Consumer Id: 1781638, Address Id: 16557765 => Updated with Vin: 1FTPW14V96FB71389 ## Mail History Id: 31243430, Consumer Id: 1823644, Address Id: 16616803 => Updated with Vin: 1GNEK13Z44R105455 ## Mail History Id: 31243432, Consumer Id: 1952946, Address Id: 52300 => Updated with Vin: 3FAHP08109R139124 ## Mail History Id: 31243434, Consumer Id: 1841025, Address Id: 16681888 => Updated with Vin: 1FAHP35N19W119745 ## Mail History Id: 31243436, Consumer Id: 1956464, Address Id: 16933737 => Updated with Vin: 1FMCU93178KE52159 ## Mail History Id: 31243438, Consumer Id: 1841026, Address Id: 16681889 => Updated with Vin: 1D4GP25343B166140 ## Mail History Id: 31243440, Consumer Id: 1806000, Address Id: 16571279 => Updated with Vin: 1G4HD57237U127867 ## Mail History Id: 31243442, Consumer Id: 1808202, Address Id: 16572600 => Updated with Vin: 1FMFU185X6LA02359 ## Mail History Id: 31243444, Consumer Id: 1910625, Address Id: 16773413 => Updated with Vin: 1FTPX14528FB45684 ## Mail History Id: 31243443, Consumer Id: 63816, Address Id: 48812 => Updated with Vin: 1FAFP55U91G104676 ## Mail History Id: 31243446, Consumer Id: 1808203, Address Id: 16572601 => Updated with Vin: 1FAFP55U91G104676 ## Mail History Id: 31243448, Consumer Id: 1823641, Address Id: 16616800 => Updated with Vin: 1ZVFT84N455216463 ## Mail History Id: 31243450, Consumer Id: 1820076, Address Id: 16615590 => Updated with Vin: 1GNET16S356205819 ## Mail History Id: 31243452, Consumer Id: 1912348, Address Id: 16791513 => Updated with Vin: 1FMCU93148KB58122 ## Mail History Id: 31243454, Consumer Id: 1805990, Address Id: 7538025 => Updated with Vin: 1FAHP24W88G182550 ## Mail History Id: 31243456, Consumer Id: 1823639, Address Id: 16616798 => Updated with Vin: 1FTWW31R38ED61597 ## Mail History Id: 31243458, Consumer Id: 1806002, Address Id: 16571281 => Updated with Vin: 3FTSW31F52MA23303 ## Mail History Id: 31243460, Consumer Id: 1823642, Address Id: 16616801 => Updated with Vin: 1G2NF52E44C210491 ## Mail History Id: 31243462, Consumer Id: 1911858, Address Id: 47609 => Updated with Vin: 1ZVHT89S495130423 ## Mail History Id: 31243464, Consumer Id: 1956462, Address Id: 16933736 => Updated with Vin: 1FAHP35N38W142703 ## Total mail_history records updated with vin numbers: 34 out of 34 ============================================================ ====== Tracking Id: 2562 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-10 08:42:44') AND us2_order_type_id = 3 ## Order found: 2541 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2541 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2563 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-10 09:16:11') AND us2_order_type_id = 3 ## Order found: 2542 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2542 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3470 ## Mailing found: '13610' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243032, Consumer Id: 557478, Address Id: 10678596 => Updated with Vin: 2C4GP54L15R103159 ## Mail History Id: 31243122, Consumer Id: 577230, Address Id: 10725836 => Updated with Vin: 1J4GX48S41C652234 ## Mail History Id: 31242984, Consumer Id: 558687, Address Id: 777837 => Updated with Vin: 1J4GK48KX4W262529 ## Mail History Id: 31242401, Consumer Id: 560036, Address Id: 2550297 => Updated with Vin: 1D7HA16D64J170322 ## Mail History Id: 31243062, Consumer Id: 565870, Address Id: 4899673 => Updated with Vin: 1D7HA18266S555341 ## Mail History Id: 31243230, Consumer Id: 569436, Address Id: 1555178 => Updated with Vin: 3D7KS28C16G292328 ## Mail History Id: 31243020, Consumer Id: 575291, Address Id: 2048329 => Updated with Vin: 1J4GK58K44W216782 ## Mail History Id: 31243042, Consumer Id: 579347, Address Id: 10707304 => Updated with Vin: 1D4HD48N56F160950 ## Mail History Id: 31243010, Consumer Id: 568551, Address Id: 10712306 => Updated with Vin: 1B3HB48B27D127170 ## Mail History Id: 31243196, Consumer Id: 568477, Address Id: 10713808 => Updated with Vin: 1J4HS48N76C254651 ## Mail History Id: 31243080, Consumer Id: 579939, Address Id: 1545090 => Updated with Vin: 1B4GP25382B739193 ## Mail History Id: 31243142, Consumer Id: 570076, Address Id: 10716848 => Updated with Vin: 1D7HA18N56J169784 ## Mail History Id: 31243138, Consumer Id: 572463, Address Id: 10718073 => Updated with Vin: 2A4GM68416R602198 ## Mail History Id: 31242976, Consumer Id: 583152, Address Id: 767482 => Updated with Vin: 1J8FT47W57D216229 ## Mail History Id: 31243218, Consumer Id: 937992, Address Id: 2062238 => Updated with Vin: 1HGCM665X6A017495 ## Mail History Id: 31243058, Consumer Id: 573050, Address Id: 1179001 => Updated with Vin: 2C3LA43R68H157930 ## Mail History Id: 31242968, Consumer Id: 937986, Address Id: 11960239 => Updated with Vin: 3C8FY4BB21T548108 ## Mail History Id: 31243100, Consumer Id: 937276, Address Id: 7468620 => Updated with Vin: 1D7HA18D03J612989 ## Mail History Id: 31243104, Consumer Id: 937989, Address Id: 11960241 => Updated with Vin: 1J4FA44S15P359201 ## Mail History Id: 31243224, Consumer Id: 937547, Address Id: 11959947 => Updated with Vin: 2B3KA43G36H426308 ## Mail History Id: 31243134, Consumer Id: 937548, Address Id: 11959948 => Updated with Vin: 1J4FA39SX4P704968 ## Mail History Id: 31243136, Consumer Id: 921864, Address Id: 10687584 => Updated with Vin: 2B3KA53H28H184533 ## Mail History Id: 31243014, Consumer Id: 938298, Address Id: 11960547 => Updated with Vin: 1C3LC56K98N179362 ## Mail History Id: 31242964, Consumer Id: 938296, Address Id: 2028975 => Updated with Vin: 2C3KA43R66H225619 ## Total mail_history records updated with vin numbers: 24 out of 28 ============================================================ ====== Tracking Id: 2564 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-10 09:16:25') AND us2_order_type_id = 3 ## Order found: 2542 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2542 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3470 ## Mailing found: '13610' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243034, Consumer Id: 580766, Address Id: 10738463 => Updated with Vin: 2C3KA53G06H480173 ## Mail History Id: 31243008, Consumer Id: 575968, Address Id: 2035301 => Updated with Vin: 2B3HD46R2YH337055 ## Mail History Id: 31242970, Consumer Id: 556562, Address Id: 10692304 => Updated with Vin: 1J8GK58K84W138523 ## Mail History Id: 31243110, Consumer Id: 557778, Address Id: 7349179 => Updated with Vin: 3C4FY58854T209267 ## Mail History Id: 31243086, Consumer Id: 562993, Address Id: 10701310 => Updated with Vin: 1J4GS48K75C598822 ## Mail History Id: 31243036, Consumer Id: 566902, Address Id: 7864454 => Updated with Vin: 1J8HG58276C141973 ## Mail History Id: 31243052, Consumer Id: 568128, Address Id: 5393017 => Updated with Vin: 1J8FT47W77D132235 ## Mail History Id: 31243056, Consumer Id: 568545, Address Id: 10713830 => Updated with Vin: 1J4FA39S55P309873 ## Mail History Id: 31243194, Consumer Id: 569697, Address Id: 1550527 => Updated with Vin: 2A4GM48476R911890 ## Mail History Id: 31242403, Consumer Id: 580450, Address Id: 10738287 => Updated with Vin: 1J4GK48K23W504986 ## Mail History Id: 31243046, Consumer Id: 580972, Address Id: 3168259 => Updated with Vin: 1C3LC46K47N558908 ## Mail History Id: 31243054, Consumer Id: 571027, Address Id: 10717481 => Updated with Vin: 1J8FT28WX7D358756 ## Mail History Id: 31243190, Consumer Id: 572139, Address Id: 8548080 => Updated with Vin: 2C3KA63H86H274582 ## Mail History Id: 31242949, Consumer Id: 572518, Address Id: 8081983 => Updated with Vin: 2D8GV77348H138528 ## Mail History Id: 31243204, Consumer Id: 583086, Address Id: 10744660 => Updated with Vin: 2A8GM68X37R141967 ## Mail History Id: 31242992, Consumer Id: 583082, Address Id: 10744657 => Updated with Vin: 2D4FV47V96H468675 ## Mail History Id: 31243088, Consumer Id: 583085, Address Id: 10744659 => Updated with Vin: 1J4GL38K73W642644 ## Total mail_history records updated with vin numbers: 17 out of 20 ============================================================ ====== Tracking Id: 2565 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-10 09:16:38') AND us2_order_type_id = 3 ## Order found: 2542 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2542 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3470 ## Mailing found: '13610' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243198, Consumer Id: 573142, Address Id: 10719479 => Updated with Vin: 2A8HR54P28R736347 ## Mail History Id: 31243188, Consumer Id: 573148, Address Id: 10719482 => Updated with Vin: 1B4GP25391B149535 ## Mail History Id: 31243066, Consumer Id: 573145, Address Id: 2074993 => Updated with Vin: 1D8HD38K88F116832 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2566 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-10 09:16:52') AND us2_order_type_id = 3 ## Order found: 2543 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2543 AND product_id = 142 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2567 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-10 09:16:56') AND us2_order_type_id = 3 ## Order found: 2543 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2543 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2568 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-10 09:16:59') AND us2_order_type_id = 3 ## Order found: 2543 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2543 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2569 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-10 09:17:03') AND us2_order_type_id = 3 ## Order found: 2543 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2543 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3768 ## Mailing found: '13617' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242428, Consumer Id: 1108297, Address Id: 2777730 => Updated with Vin: 1G6KY549XXU914317 ## Mail History Id: 31242426, Consumer Id: 1116091, Address Id: 11449656 => Updated with Vin: 1G6DW677460158181 ## Mail History Id: 31242510, Consumer Id: 1116033, Address Id: 3594559 => Updated with Vin: JNKCV54E35M415197 ## Mail History Id: 31242504, Consumer Id: 1116030, Address Id: 14983949 => Updated with Vin: 1G6EL13B1NU629060 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 2570 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-10 10:13:01') AND us2_order_type_id = 3 ## Order found: 2557 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2557 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2571 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-10 10:16:05') AND us2_order_type_id = 3 ## Order found: 2542 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2542 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2572 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-10 10:16:29') AND us2_order_type_id = 3 ## Order found: 2549 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2549 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2573 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-10 10:17:09') AND us2_order_type_id = 3 ## Order found: 2544 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2544 AND product_id = 2147 ## Job Group Found: '577' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('577') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108002') AND customer_id = 3418 ## Mailing found: '13576' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243279, Consumer Id: 610926, Address Id: 11755582 => Updated with Vin: 1G6DM57T470146224 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 2574 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-10 10:19:36') AND us2_order_type_id = 3 ## Order found: 2547 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2547 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2575 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-10 10:20:10') AND us2_order_type_id = 3 ## Order found: 2545 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2545 AND product_id = 142 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2576 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-10 10:20:18') AND us2_order_type_id = 3 ## Order found: 2545 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2545 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2577 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-10 10:20:21') AND us2_order_type_id = 3 ## Order found: 2545 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2545 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3697 ## Mailing found: '13615' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242472, Consumer Id: 1042862, Address Id: 14952391 => Updated with Vin: 1G6KF57901U134528 ## Mail History Id: 31242432, Consumer Id: 1046556, Address Id: 14953435 => Updated with Vin: 1GYEE637150182716 ## Mail History Id: 31242424, Consumer Id: 1051664, Address Id: 14954856 => Updated with Vin: 1GYEK63NX5R156523 ## Mail History Id: 31242500, Consumer Id: 1051206, Address Id: 14954643 => Updated with Vin: 1G6DN57S640165695 ## Mail History Id: 31242484, Consumer Id: 1050444, Address Id: 2853600 => Updated with Vin: 1G6EL12YXVU604969 ## Mail History Id: 31242488, Consumer Id: 1051665, Address Id: 14954857 => Updated with Vin: 1GYEK63N05R107105 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 2578 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-10 10:20:33') AND us2_order_type_id = 3 ## Order found: 2545 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2545 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3697 ## Mailing found: '13615' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2579 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-10 10:22:34') AND us2_order_type_id = 3 ## Order found: 2546 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2546 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2580 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-10 10:22:44') AND us2_order_type_id = 3 ## Order found: 2546 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2546 AND product_id = 2152 ## Job Group Found: '582' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('582') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108007') AND customer_id = 3815 ## Mailing found: '13570' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243386, Consumer Id: 1363219, Address Id: 15635961 => Updated with Vin: 5FNRL38726B063824 ## Mail History Id: 31243388, Consumer Id: 1359068, Address Id: 15631874 => Updated with Vin: 5FNRL18693B091417 ## Mail History Id: 31243390, Consumer Id: 1378215, Address Id: 15636313 => Updated with Vin: JHLRE48577C020158 ## Mail History Id: 31243392, Consumer Id: 1360378, Address Id: 15632872 => Updated with Vin: SHSRD68554U206459 ## Mail History Id: 31243394, Consumer Id: 1361685, Address Id: 15633808 => Updated with Vin: 1HGCM66535A042527 ## Mail History Id: 31243396, Consumer Id: 1363747, Address Id: 15636611 => Updated with Vin: 2HKYF18464H581740 ## Mail History Id: 31243398, Consumer Id: 1377259, Address Id: 15670733 => Updated with Vin: JH4KA9651YC003348 ## Mail History Id: 31243400, Consumer Id: 1377500, Address Id: 15670864 => Updated with Vin: 5FNRL38835B052063 ## Mail History Id: 31243402, Consumer Id: 1378007, Address Id: 11304764 => Updated with Vin: 19UYA2251XL002189 ## Mail History Id: 31243404, Consumer Id: 1366056, Address Id: 15631945 => Updated with Vin: 5FNRL188X4B137985 ## Mail History Id: 31243406, Consumer Id: 1364749, Address Id: 15637706 => Updated with Vin: 1HGCM56417A046841 ## Mail History Id: 31243408, Consumer Id: 1378897, Address Id: 15671585 => Updated with Vin: 1HGCG32501A019437 ## Mail History Id: 31243410, Consumer Id: 1366664, Address Id: 15639546 => Updated with Vin: 1HGCP26768A015666 ## Mail History Id: 31243412, Consumer Id: 1379083, Address Id: 15671743 => Updated with Vin: 1HGEJ814XWL068723 ## Mail History Id: 31243414, Consumer Id: 1379101, Address Id: 15671748 => Updated with Vin: 1HGEJ8244TL015154 ## Mail History Id: 31243416, Consumer Id: 1366859, Address Id: 15639654 => Updated with Vin: 1HGCM56896A131833 ## Total mail_history records updated with vin numbers: 16 out of 17 ============================================================ ====== Tracking Id: 2581 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-10 10:23:03') AND us2_order_type_id = 3 ## Order found: 2546 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2546 AND product_id = 2150 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3815 ## Mailing found: '13602' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243995, Consumer Id: 1369771, Address Id: 15636798 => Updated with Vin: JHMCD5635VC003979 ## Mail History Id: 31243811, Consumer Id: 1369001, Address Id: 15635606 => Updated with Vin: 5FNRL18962B056293 ## Mail History Id: 31243975, Consumer Id: 1367899, Address Id: 15634569 => Updated with Vin: 5FNRL18012B024367 ## Mail History Id: 31243953, Consumer Id: 1363771, Address Id: 15634617 => Updated with Vin: 2HKRL18642H560719 ## Mail History Id: 31243819, Consumer Id: 1365147, Address Id: 15638151 => Updated with Vin: 1HGCM56307A103814 ## Mail History Id: 31243821, Consumer Id: 1361188, Address Id: 15633454 => Updated with Vin: SHSRD788X5U317543 ## Mail History Id: 31243807, Consumer Id: 1379419, Address Id: 15671875 => Updated with Vin: 1HGCM82603A022078 ## Mail History Id: 31243941, Consumer Id: 1363542, Address Id: 15636483 => Updated with Vin: 5FNRL384X5B108447 ## Mail History Id: 31243963, Consumer Id: 1377716, Address Id: 15670995 => Updated with Vin: 5FNRL38886B104322 ## Mail History Id: 31243973, Consumer Id: 1379364, Address Id: 15671843 => Updated with Vin: 1HGEJ864XTL016433 ## Mail History Id: 31243961, Consumer Id: 1379385, Address Id: 15671852 => Updated with Vin: 1HGCD5665VA070428 ## Total mail_history records updated with vin numbers: 11 out of 15 ============================================================ ====== Tracking Id: 2582 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-10 10:28:55') AND us2_order_type_id = 3 ## Order found: 2547 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2547 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3795 ## Mailing found: '13618' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242586, Consumer Id: 1068633, Address Id: 14961357 => Updated with Vin: 4S6CY58V4S4411676 ## Mail History Id: 31242600, Consumer Id: 1068807, Address Id: 14961405 => Updated with Vin: JHLRD1864YS019440 ## Mail History Id: 31242580, Consumer Id: 1068810, Address Id: 7680420 => Updated with Vin: 1HGEJ1228SL050719 ## Mail History Id: 31242608, Consumer Id: 1068802, Address Id: 9578786 => Updated with Vin: 1J4GK48K65W535189 ## Mail History Id: 31242652, Consumer Id: 1068815, Address Id: 14961407 => Updated with Vin: 1B3ES56C74D640740 ## Mail History Id: 31242636, Consumer Id: 1054966, Address Id: 12843870 => Updated with Vin: 2HGEJ6672WH575006 ## Mail History Id: 31242610, Consumer Id: 1056905, Address Id: 14956517 => Updated with Vin: 5FNYF28426B035735 ## Mail History Id: 31242604, Consumer Id: 1057816, Address Id: 14956177 => Updated with Vin: 5FNYF28187B008997 ## Mail History Id: 31242620, Consumer Id: 1058347, Address Id: 182356 => Updated with Vin: 2HJYK16547H537266 ## Mail History Id: 31242616, Consumer Id: 1059560, Address Id: 3060568 => Updated with Vin: 1HGFA16558L006453 ## Mail History Id: 31242556, Consumer Id: 1060173, Address Id: 14957415 => Updated with Vin: 1HGFA15526L020017 ## Mail History Id: 31242574, Consumer Id: 1060213, Address Id: 14957429 => Updated with Vin: 5FNRL38798B042066 ## Mail History Id: 31242562, Consumer Id: 1060199, Address Id: 14957426 => Updated with Vin: 5J6RE38708L001570 ## Mail History Id: 31242588, Consumer Id: 1055030, Address Id: 14955491 => Updated with Vin: JHMBB6244XC002668 ## Total mail_history records updated with vin numbers: 14 out of 15 ============================================================ ====== Tracking Id: 2583 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-10 10:29:56') AND us2_order_type_id = 3 ## Order found: 2547 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2547 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3795 ## Mailing found: '13618' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242642, Consumer Id: 1068691, Address Id: 190049 => Updated with Vin: 4T1BE46K87U513182 ## Mail History Id: 31242658, Consumer Id: 1052487, Address Id: 14955223 => Updated with Vin: 2HKRL1869YH508012 ## Mail History Id: 31242650, Consumer Id: 1055562, Address Id: 4728783 => Updated with Vin: 1HGCM66524A021084 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 2584 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-10 10:30:09') AND us2_order_type_id = 3 ## Order found: 2547 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2547 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3795 ## Mailing found: '13618' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242634, Consumer Id: 1068573, Address Id: 12843863 => Updated with Vin: 1HGCG16552A084025 ## Mail History Id: 31242644, Consumer Id: 1068572, Address Id: 14961347 => Updated with Vin: 1G8ZH52831Z309159 ## Mail History Id: 31242626, Consumer Id: 1058975, Address Id: 4265353 => Updated with Vin: 5FNRL18804B095830 ## Mail History Id: 31242578, Consumer Id: 1059892, Address Id: 5799753 => Updated with Vin: 1HGFA16508L016274 ## Mail History Id: 31242646, Consumer Id: 1059880, Address Id: 5162894 => Updated with Vin: 2HGFG11908H514674 ## Mail History Id: 31242656, Consumer Id: 1055282, Address Id: 3109109 => Updated with Vin: 1HGES16572L038997 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2585 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-10 10:42:15') AND us2_order_type_id = 3 ## Order found: 2541 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2541 AND product_id = 140 ## Job Group Found: '582' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('582') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108007') AND customer_id = 3230 ## Mailing found: '13567' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243418, Consumer Id: 92958, Address Id: 51388 => Updated with Vin: 1FTPX14V47FA25562 ## Mail History Id: 31243420, Consumer Id: 65833, Address Id: 48191 => Updated with Vin: 1FAFP34302W248198 ## Mail History Id: 31243422, Consumer Id: 103050, Address Id: 53515 => Updated with Vin: 3FAFP07156R107161 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2586 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-10 11:12:44') AND us2_order_type_id = 3 ## Order found: 2548 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2548 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3486 ## Mailing found: '13612' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242776, Consumer Id: 609808, Address Id: 5370240 => Updated with Vin: 3GNEC12T34G260833 ## Mail History Id: 31242786, Consumer Id: 462824, Address Id: 1037155 => Updated with Vin: 1GNEK13Z43R316170 ## Mail History Id: 31242780, Consumer Id: 478628, Address Id: 1037044 => Updated with Vin: 1GNEC13Z83J187801 ## Mail History Id: 31242810, Consumer Id: 466354, Address Id: 9821162 => Updated with Vin: 1G1ZS52F55F149484 ## Mail History Id: 31242688, Consumer Id: 468201, Address Id: 9821931 => Updated with Vin: 3GNDA23P86S574373 ## Mail History Id: 31242770, Consumer Id: 468778, Address Id: 8229808 => Updated with Vin: KL1TD666X6B659479 ## Mail History Id: 31242718, Consumer Id: 481751, Address Id: 1034394 => Updated with Vin: 1GNEK13R8XR125129 ## Mail History Id: 31242824, Consumer Id: 609802, Address Id: 9824934 => Updated with Vin: 1GNFC13J87J398128 ## Mail History Id: 31242742, Consumer Id: 470085, Address Id: 2519047 => Updated with Vin: 1GNFC13J57J100893 ## Mail History Id: 31242804, Consumer Id: 470205, Address Id: 1564223 => Updated with Vin: 1GNCS13W8T2174931 ## Mail History Id: 31242844, Consumer Id: 486436, Address Id: 9825950 => Updated with Vin: 2G1WW12E949378166 ## Mail History Id: 31242722, Consumer Id: 489659, Address Id: 1034460 => Updated with Vin: 1GTHK23657F554781 ## Mail History Id: 31242666, Consumer Id: 471162, Address Id: 7850466 => Updated with Vin: 1G1YY26WX85116784 ## Mail History Id: 31242692, Consumer Id: 490513, Address Id: 1033744 => Updated with Vin: 1GNEC13Z22R129523 ## Mail History Id: 31242800, Consumer Id: 609801, Address Id: 11754644 => Updated with Vin: 1GNDS13S852207415 ## Mail History Id: 31242864, Consumer Id: 609807, Address Id: 11754648 => Updated with Vin: 1G1JC524227142846 ## Mail History Id: 31242850, Consumer Id: 609803, Address Id: 11754645 => Updated with Vin: 1G6KD52B3SU215783 ## Total mail_history records updated with vin numbers: 17 out of 21 ============================================================ ====== Tracking Id: 2587 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-10 11:12:56') AND us2_order_type_id = 3 ## Order found: 2548 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2548 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3486 ## Mailing found: '13612' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242764, Consumer Id: 489952, Address Id: 9826339 => Updated with Vin: 1GNEC13V83J147912 ## Mail History Id: 31242894, Consumer Id: 463106, Address Id: 4378258 => Updated with Vin: 3GNEK12T04G122296 ## Mail History Id: 31242816, Consumer Id: 485718, Address Id: 3046593 => Updated with Vin: 2GCEC19T9Y1378074 ## Mail History Id: 31242930, Consumer Id: 484230, Address Id: 9825084 => Updated with Vin: 1GNEC16ZX4J315999 ## Mail History Id: 31242752, Consumer Id: 469529, Address Id: 6430861 => Updated with Vin: 1G1AK55F677199705 ## Mail History Id: 31242726, Consumer Id: 477664, Address Id: 629805 => Updated with Vin: 2G1FP32P8R2181094 ## Mail History Id: 31242732, Consumer Id: 485995, Address Id: 9825751 => Updated with Vin: 1GNEC13T25R175238 ## Mail History Id: 31242728, Consumer Id: 490010, Address Id: 629823 => Updated with Vin: 2G1WB58K479397731 ## Mail History Id: 31242906, Consumer Id: 470813, Address Id: 1351636 => Updated with Vin: 1G1YY36U475139142 ## Mail History Id: 31242908, Consumer Id: 490054, Address Id: 5124049 => Updated with Vin: 2CNDL13F076035844 ## Mail History Id: 31242746, Consumer Id: 490053, Address Id: 9826376 => Updated with Vin: 2GCEC19T831184869 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 2588 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-10 11:13:42') AND us2_order_type_id = 3 ## Order found: 2549 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2549 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3416 ## Mailing found: '13607' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242535, Consumer Id: 692419, Address Id: 11798346 => Updated with Vin: 1G3GR64H414276277 ## Mail History Id: 31242521, Consumer Id: 692240, Address Id: 11798265 => Updated with Vin: 1GYEE637870157332 ## Mail History Id: 31242511, Consumer Id: 693029, Address Id: 11798643 => Updated with Vin: 5GRGN23U65H118748 ## Mail History Id: 31242479, Consumer Id: 693125, Address Id: 4758516 => Updated with Vin: 1GYFK638X7R348350 ## Mail History Id: 31242575, Consumer Id: 625885, Address Id: 8336741 => Updated with Vin: 1G6KD57Y57U231942 ## Mail History Id: 31242483, Consumer Id: 684768, Address Id: 1961023 => Updated with Vin: 1G6KS54YX4U128263 ## Mail History Id: 31242555, Consumer Id: 683138, Address Id: 1970039 => Updated with Vin: 1G6KE57Y41U258618 ## Mail History Id: 31242531, Consumer Id: 688642, Address Id: 1968535 => Updated with Vin: 1GYEE637250154584 ## Mail History Id: 31242463, Consumer Id: 683508, Address Id: 1966674 => Updated with Vin: 1G6KS54Y22U188678 ## Mail History Id: 31242515, Consumer Id: 682786, Address Id: 11795187 => Updated with Vin: 1G6KS54Y7XU900254 ## Mail History Id: 31242569, Consumer Id: 683638, Address Id: 11795441 => Updated with Vin: 5GRGN23UX3H139373 ## Mail History Id: 31242573, Consumer Id: 684303, Address Id: 1970301 => Updated with Vin: 1G6DM57N730124245 ## Mail History Id: 31242471, Consumer Id: 690604, Address Id: 6880422 => Updated with Vin: 1G6DP567650191545 ## Mail History Id: 31242477, Consumer Id: 687465, Address Id: 11796560 => Updated with Vin: 1G6DP567550104749 ## Mail History Id: 31242525, Consumer Id: 691868, Address Id: 10934506 => Updated with Vin: 5GTDN136168279857 ## Total mail_history records updated with vin numbers: 15 out of 17 ============================================================ ====== Tracking Id: 2589 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-10 11:13:54') AND us2_order_type_id = 3 ## Order found: 2549 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2549 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3416 ## Mailing found: '13607' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242491, Consumer Id: 693014, Address Id: 11578557 => Updated with Vin: W06VR54R9VR168550 ## Mail History Id: 31242499, Consumer Id: 686335, Address Id: 3760860 => Updated with Vin: 1G6EL12Y8RU601851 ## Mail History Id: 31242475, Consumer Id: 685921, Address Id: 1959376 => Updated with Vin: 1G6KD54Y21U190455 ## Mail History Id: 31242513, Consumer Id: 673123, Address Id: 1967493 => Updated with Vin: 1G6KS54Y63U155524 ## Mail History Id: 31242489, Consumer Id: 681938, Address Id: 1962611 => Updated with Vin: 1G6KS54Y82U266011 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 2590 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-10 11:13:56') AND us2_order_type_id = 3 ## Order found: 2550 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2550 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2591 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-10 11:14:11') AND us2_order_type_id = 3 ## Order found: 2550 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2550 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3491 ## Mailing found: '13613' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242861, Consumer Id: 815011, Address Id: 11884492 => Updated with Vin: 1GNDT13S482139406 ## Mail History Id: 31242835, Consumer Id: 810469, Address Id: 11885080 => Updated with Vin: 1G1ZT62815F123243 ## Mail History Id: 31242921, Consumer Id: 814206, Address Id: 11888874 => Updated with Vin: 2G2WP552461132659 ## Mail History Id: 31242893, Consumer Id: 814878, Address Id: 11889574 => Updated with Vin: 1GCCS148168302792 ## Mail History Id: 31242925, Consumer Id: 815042, Address Id: 11889681 => Updated with Vin: 1D7HA16K67J538100 ## Mail History Id: 31242767, Consumer Id: 815033, Address Id: 11889674 => Updated with Vin: 2CNDL13F586044671 ## Mail History Id: 31242821, Consumer Id: 815175, Address Id: 11889769 => Updated with Vin: 3GNDA13D28S568717 ## Mail History Id: 31242819, Consumer Id: 815761, Address Id: 11890475 => Updated with Vin: 2GCEC19T2Y1328228 ## Mail History Id: 31242879, Consumer Id: 824519, Address Id: 11880057 => Updated with Vin: 1GNCS18W1XK196364 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 2592 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-10 11:14:24') AND us2_order_type_id = 3 ## Order found: 2550 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2550 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3491 ## Mailing found: '13613' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242899, Consumer Id: 837254, Address Id: 11851229 => Updated with Vin: 1G1YY26E265123829 ## Mail History Id: 31242875, Consumer Id: 811055, Address Id: 11885869 => Updated with Vin: 1G1AK55F367814337 ## Mail History Id: 31242859, Consumer Id: 837954, Address Id: 11894477 => Updated with Vin: 1GCGK29R7TE152693 ## Mail History Id: 31242827, Consumer Id: 838067, Address Id: 1302542 => Updated with Vin: 3GNDA23PX7S530831 ## Mail History Id: 31242887, Consumer Id: 838847, Address Id: 11894951 => Updated with Vin: 3GNEK12T94G214118 ## Mail History Id: 31242865, Consumer Id: 838756, Address Id: 11894901 => Updated with Vin: 1GNDT13W712161621 ## Mail History Id: 31242785, Consumer Id: 814180, Address Id: 11888850 => Updated with Vin: 1G1AL55F377303712 ## Mail History Id: 31242803, Consumer Id: 814391, Address Id: 11888985 => Updated with Vin: 3GNDA23PX8S533844 ## Mail History Id: 31242781, Consumer Id: 839773, Address Id: 11895450 => Updated with Vin: 1D7HA18K07J603925 ## Mail History Id: 31242877, Consumer Id: 815615, Address Id: 11887681 => Updated with Vin: 2GTEC13V861262582 ## Mail History Id: 31242907, Consumer Id: 815800, Address Id: 11890506 => Updated with Vin: 2CNDL23F186281048 ## Mail History Id: 31242941, Consumer Id: 815547, Address Id: 11890312 => Updated with Vin: 1G1AK18F987184749 ## Mail History Id: 31242919, Consumer Id: 840008, Address Id: 11895608 => Updated with Vin: 1GCJK33164F156275 ## Mail History Id: 31242883, Consumer Id: 840021, Address Id: 11895612 => Updated with Vin: 1GCEC14W6WZ129866 ## Mail History Id: 31242849, Consumer Id: 840033, Address Id: 11895620 => Updated with Vin: 1G1AK12F857655200 ## Mail History Id: 31242857, Consumer Id: 840058, Address Id: 11895634 => Updated with Vin: 1G4HR52K5VH405263 ## Mail History Id: 31242911, Consumer Id: 816065, Address Id: 11891248 => Updated with Vin: 1GCDS136258256490 ## Mail History Id: 31242881, Consumer Id: 839989, Address Id: 11895604 => Updated with Vin: 1GBEC19K7SE112845 ## Mail History Id: 31242939, Consumer Id: 812927, Address Id: 11887516 => Updated with Vin: 1D7HA18N66J103213 ## Mail History Id: 31242777, Consumer Id: 827155, Address Id: 11881794 => Updated with Vin: 1GCEK19R3WE116439 ## Mail History Id: 31242855, Consumer Id: 809546, Address Id: 11884198 => Updated with Vin: 1FAFP53U16A148135 ## Mail History Id: 31242805, Consumer Id: 838225, Address Id: 1299739 => Updated with Vin: 1GNDT13S662219058 ## Mail History Id: 31242871, Consumer Id: 839923, Address Id: 11895559 => Updated with Vin: 3GNEC16R8XG273080 ## Mail History Id: 31242813, Consumer Id: 816070, Address Id: 11879859 => Updated with Vin: 1D7HA18D14S512508 ## Total mail_history records updated with vin numbers: 24 out of 25 ============================================================ ====== Tracking Id: 2593 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-10 11:14:25') AND us2_order_type_id = 3 ## Order found: 2551 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2551 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2594 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-10 11:14:29') AND us2_order_type_id = 3 ## Order found: 2551 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2551 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3525 ## Mailing found: '13614' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 2 ============================================================ ====== Tracking Id: 2595 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-10 11:14:37') AND us2_order_type_id = 3 ## Order found: 2550 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2550 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3491 ## Mailing found: '13613' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242811, Consumer Id: 837616, Address Id: 11874857 => Updated with Vin: 2GCEC19T751281533 ## Mail History Id: 31242905, Consumer Id: 811487, Address Id: 11886731 => Updated with Vin: 1G1ZT51886F133006 ## Mail History Id: 31242799, Consumer Id: 814055, Address Id: 11876189 => Updated with Vin: 2G1WC581169152968 ## Mail History Id: 31242817, Consumer Id: 814040, Address Id: 11874965 => Updated with Vin: 1G1AK55F377378770 ## Mail History Id: 31242795, Consumer Id: 839618, Address Id: 11876142 => Updated with Vin: 2GCEC19T121269342 ## Mail History Id: 31242929, Consumer Id: 815238, Address Id: 11889808 => Updated with Vin: 1GNES16S356181718 ## Mail History Id: 31242797, Consumer Id: 815244, Address Id: 11886660 => Updated with Vin: 5NPEU46F07H161166 ## Mail History Id: 31242913, Consumer Id: 815246, Address Id: 11889813 => Updated with Vin: 1D7HA16K94J249269 ## Mail History Id: 31242837, Consumer Id: 815330, Address Id: 11889864 => Updated with Vin: 1N4BA41EX4C880092 ## Mail History Id: 31242791, Consumer Id: 815332, Address Id: 11875982 => Updated with Vin: 1GAHG35U461109424 ## Mail History Id: 31242783, Consumer Id: 815331, Address Id: 11875560 => Updated with Vin: 1GNEC13V36R119473 ## Mail History Id: 31242845, Consumer Id: 815334, Address Id: 11875596 => Updated with Vin: 2CNDL13F776099041 ## Mail History Id: 31242891, Consumer Id: 835033, Address Id: 11881865 => Updated with Vin: 1GCHK29U51E158319 ## Mail History Id: 31242867, Consumer Id: 836683, Address Id: 11893700 => Updated with Vin: 1G1JC5240Y7248723 ## Mail History Id: 31242917, Consumer Id: 813257, Address Id: 11880195 => Updated with Vin: 1A4GP44R46B567507 ## Total mail_history records updated with vin numbers: 15 out of 20 ============================================================ ====== Tracking Id: 2596 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-10 11:14:42') AND us2_order_type_id = 3 ## Order found: 2551 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2551 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3525 ## Mailing found: '13614' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242421, Consumer Id: 487458, Address Id: 9851166 => Updated with Vin: 5NPEU46F17H185847 ## Mail History Id: 31242429, Consumer Id: 487674, Address Id: 9851448 => Updated with Vin: 5NMSH13E07H022671 ## Mail History Id: 31242417, Consumer Id: 527721, Address Id: 9857167 => Updated with Vin: KMHDN46D85U954317 ## Mail History Id: 31242435, Consumer Id: 520774, Address Id: 2421284 => Updated with Vin: KMHDN45D63U703777 ## Mail History Id: 31242455, Consumer Id: 521853, Address Id: 9851669 => Updated with Vin: KMHDN46DX4U871471 ## Mail History Id: 31242427, Consumer Id: 489121, Address Id: 9853001 => Updated with Vin: 5NMSG13D67H062697 ## Mail History Id: 31242445, Consumer Id: 488832, Address Id: 9690868 => Updated with Vin: KM8NU13C77U022873 ## Mail History Id: 31242447, Consumer Id: 584222, Address Id: 11410738 => Updated with Vin: 5NPEU46F98H400845 ## Mail History Id: 31242431, Consumer Id: 488916, Address Id: 9852750 => Updated with Vin: KM8JN12D96U360554 ## Mail History Id: 31242443, Consumer Id: 487322, Address Id: 9851052 => Updated with Vin: KM8JN12D06U376741 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 2597 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-10 11:16:10') AND us2_order_type_id = 3 ## Order found: 2552 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2552 AND product_id = 144 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2598 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-10 11:16:23') AND us2_order_type_id = 3 ## Order found: 2552 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2552 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2599 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-10 11:16:32') AND us2_order_type_id = 3 ## Order found: 2553 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2553 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2600 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-10 11:16:37') AND us2_order_type_id = 3 ## Order found: 2553 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2553 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3808 ## Mailing found: '13619' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242617, Consumer Id: 1268704, Address Id: 15452536 => Updated with Vin: 2G1WU58R379128109 ## Mail History Id: 31242643, Consumer Id: 1285034, Address Id: 15028957 => Updated with Vin: 1GCHC24U66E281204 ## Mail History Id: 31242695, Consumer Id: 1287337, Address Id: 11571500 => Updated with Vin: 1G1JC12F647338785 ## Mail History Id: 31242625, Consumer Id: 1287228, Address Id: 15464514 => Updated with Vin: 1GTHK23U75F855970 ## Mail History Id: 31242691, Consumer Id: 1287441, Address Id: 15464643 => Updated with Vin: 1GNDS13S072138710 ## Mail History Id: 31242653, Consumer Id: 1287460, Address Id: 15464653 => Updated with Vin: 3GNEC12068G120741 ## Mail History Id: 31242577, Consumer Id: 1287572, Address Id: 15464693 => Updated with Vin: 1G1YY22P0R5110296 ## Mail History Id: 31242757, Consumer Id: 1287566, Address Id: 15464690 => Updated with Vin: 1GCEC19T22Z289476 ## Mail History Id: 31242655, Consumer Id: 1283128, Address Id: 15451768 => Updated with Vin: 1GTDT19W1Y8128301 ## Mail History Id: 31242715, Consumer Id: 1271144, Address Id: 15451769 => Updated with Vin: 1GNDT13W8W2294735 ## Mail History Id: 31242603, Consumer Id: 1285628, Address Id: 15463363 => Updated with Vin: 2G1WW12E039269853 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 2601 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-10 11:16:37') AND us2_order_type_id = 3 ## Order found: 2552 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2552 AND product_id = 106 ## Job Group Found: '580' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('580') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108005' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108005') AND customer_id = 3705 ## Mailing found: '13572' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243507, Consumer Id: 970918, Address Id: 9919817 => Updated with Vin: 5GAER23788J171828 ## Mail History Id: 31243508, Consumer Id: 970923, Address Id: 14841794 => Updated with Vin: 1G1ZT58N17F143048 ## Mail History Id: 31243509, Consumer Id: 970816, Address Id: 14838652 => Updated with Vin: 1GNFC13048R154826 ## Mail History Id: 31243510, Consumer Id: 970926, Address Id: 14841796 => Updated with Vin: 1G2ZH58N274176908 ## Mail History Id: 31243512, Consumer Id: 970937, Address Id: 14841805 => Updated with Vin: 2G1WC58R179175481 ## Total mail_history records updated with vin numbers: 5 out of 7 ============================================================ ====== Tracking Id: 2602 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-10 11:16:50') AND us2_order_type_id = 3 ## Order found: 2553 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2553 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3808 ## Mailing found: '13619' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242673, Consumer Id: 1266366, Address Id: 15437860 => Updated with Vin: 1G1AK52F257604721 ## Mail History Id: 31242721, Consumer Id: 1266266, Address Id: 15437782 => Updated with Vin: 1G1JC52F247328357 ## Mail History Id: 31242601, Consumer Id: 1266457, Address Id: 15437936 => Updated with Vin: 3GNFK16Z33G273165 ## Mail History Id: 31242615, Consumer Id: 1266274, Address Id: 15437788 => Updated with Vin: 1GCGC24R3XF007137 ## Mail History Id: 31242701, Consumer Id: 1266174, Address Id: 15437716 => Updated with Vin: 1GKEC13Z53R157167 ## Mail History Id: 31242651, Consumer Id: 1266452, Address Id: 15437931 => Updated with Vin: 1GNES13M062342315 ## Mail History Id: 31242945, Consumer Id: 1266260, Address Id: 15437777 => Updated with Vin: 2G1WF52E759242899 ## Mail History Id: 31242619, Consumer Id: 1266264, Address Id: 15437780 => Updated with Vin: 1GCHK23627F500547 ## Mail History Id: 31242735, Consumer Id: 1266458, Address Id: 15437937 => Updated with Vin: 1GCFG15W611233563 ## Mail History Id: 31242669, Consumer Id: 1266484, Address Id: 15437959 => Updated with Vin: 2GCEC19T3Y1168411 ## Mail History Id: 31242627, Consumer Id: 1266318, Address Id: 15437826 => Updated with Vin: 1GNEC13Z13R319766 ## Total mail_history records updated with vin numbers: 11 out of 13 ============================================================ ====== Tracking Id: 2603 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-10 11:16:51') AND us2_order_type_id = 3 ## Order found: 2552 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2552 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3705 ## Mailing found: '13616' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242959, Consumer Id: 972087, Address Id: 14842604 => Updated with Vin: 1GCCS149X88168683 ## Mail History Id: 31242953, Consumer Id: 972011, Address Id: 8052071 => Updated with Vin: 1GCCS149X88153245 ## Mail History Id: 31242961, Consumer Id: 972014, Address Id: 14842555 => Updated with Vin: 2G4WE587881127732 ## Mail History Id: 31242957, Consumer Id: 972015, Address Id: 14842556 => Updated with Vin: 2GTEC13C681184949 ## Mail History Id: 31242963, Consumer Id: 972018, Address Id: 14841439 => Updated with Vin: 1GNEC16Z86J175552 ## Mail History Id: 31242973, Consumer Id: 972019, Address Id: 14842558 => Updated with Vin: 1G1AK18F487150847 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2604 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-10 11:17:04') AND us2_order_type_id = 3 ## Order found: 2555 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2555 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2605 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-10 11:17:08') AND us2_order_type_id = 3 ## Order found: 2553 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2553 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3808 ## Mailing found: '13619' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242751, Consumer Id: 1171436, Address Id: 15029622 => Updated with Vin: 1G1ZT51F06F291547 ## Mail History Id: 31242725, Consumer Id: 1171577, Address Id: 14813529 => Updated with Vin: 1GKEK63U84J152162 ## Mail History Id: 31242675, Consumer Id: 1171620, Address Id: 15029784 => Updated with Vin: 1GCGG29V071179715 ## Mail History Id: 31242607, Consumer Id: 1171428, Address Id: 15029616 => Updated with Vin: 1GCEK19B27E180539 ## Mail History Id: 31242755, Consumer Id: 1170927, Address Id: 15029160 => Updated with Vin: 1G1ND52T9X6218923 ## Mail History Id: 31242579, Consumer Id: 1171529, Address Id: 15029704 => Updated with Vin: 3GNEC16T7YG221369 ## Mail History Id: 31242587, Consumer Id: 1171618, Address Id: 15029782 => Updated with Vin: 1G1JC1241Y7268679 ## Mail History Id: 31242637, Consumer Id: 1171448, Address Id: 15029632 => Updated with Vin: 1GTEC14X03Z184432 ## Mail History Id: 31242697, Consumer Id: 1171579, Address Id: 12125977 => Updated with Vin: 1GCEC14C77Z560580 ## Mail History Id: 31242747, Consumer Id: 1171431, Address Id: 15029618 => Updated with Vin: 2CNDL63F666080332 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 2606 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-10 11:42:31') AND us2_order_type_id = 3 ## Order found: 2554 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2554 AND product_id = 142 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2607 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-10 11:42:41') AND us2_order_type_id = 3 ## Order found: 2554 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2554 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3357 ## Mailing found: '13606' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243045, Consumer Id: 155551, Address Id: 397595 => Updated with Vin: 1HGES25701L027511 ## Mail History Id: 31243233, Consumer Id: 196786, Address Id: 406721 => Updated with Vin: 4F4YR16V31TM23230 ## Mail History Id: 31243053, Consumer Id: 194597, Address Id: 404634 => Updated with Vin: 1FAHP38Z84W127185 ## Mail History Id: 31243147, Consumer Id: 188390, Address Id: 398662 => Updated with Vin: JM1FE173540140195 ## Mail History Id: 31243141, Consumer Id: 198614, Address Id: 407262 => Updated with Vin: 4F4YR12D34TM12875 ## Mail History Id: 31243113, Consumer Id: 188185, Address Id: 399712 => Updated with Vin: 1YVHP80D855M06502 ## Mail History Id: 31243095, Consumer Id: 188024, Address Id: 399671 => Updated with Vin: JM1FE173850148258 ## Mail History Id: 31243123, Consumer Id: 198582, Address Id: 407383 => Updated with Vin: 1FAFP38392W302432 ## Mail History Id: 31243069, Consumer Id: 199227, Address Id: 407406 => Updated with Vin: JM1BK143741133206 ## Mail History Id: 31243235, Consumer Id: 155523, Address Id: 397570 => Updated with Vin: 1LNHM86SX4Y613261 ## Mail History Id: 31243133, Consumer Id: 187840, Address Id: 398502 => Updated with Vin: 1FAFP48Y04F158693 ## Mail History Id: 31243175, Consumer Id: 191010, Address Id: 401353 => Updated with Vin: 1YVHP80D355M35678 ## Mail History Id: 31243047, Consumer Id: 199344, Address Id: 407416 => Updated with Vin: 1YVFP80C045N16487 ## Mail History Id: 31243115, Consumer Id: 152894, Address Id: 395191 => Updated with Vin: JM1BK144861456756 ## Mail History Id: 31243107, Consumer Id: 199449, Address Id: 407424 => Updated with Vin: 1FMYU94166KA17022 ## Mail History Id: 31243231, Consumer Id: 154131, Address Id: 396316 => Updated with Vin: 1FMYU93186KC24612 ## Mail History Id: 31243041, Consumer Id: 199518, Address Id: 407427 => Updated with Vin: 1FMEU65E26ZA05962 ## Mail History Id: 31243091, Consumer Id: 154782, Address Id: 396910 => Updated with Vin: JM3ER29L670152029 ## Mail History Id: 31243075, Consumer Id: 198709, Address Id: 407391 => Updated with Vin: JM1BK34M371673659 ## Mail History Id: 31243059, Consumer Id: 199524, Address Id: 407428 => Updated with Vin: JM1BK344771685748 ## Mail History Id: 31243221, Consumer Id: 155270, Address Id: 397338 => Updated with Vin: JM1BK344471752676 ## Mail History Id: 31243189, Consumer Id: 198672, Address Id: 407389 => Updated with Vin: 1FAFP56U07A132814 ## Mail History Id: 31243157, Consumer Id: 154526, Address Id: 396681 => Updated with Vin: 1FAHP34N47W209387 ## Mail History Id: 31243057, Consumer Id: 155471, Address Id: 397521 => Updated with Vin: JM1BK32G681851840 ## Mail History Id: 31243195, Consumer Id: 154828, Address Id: 396948 => Updated with Vin: 1FMCU04148KA67913 ## Mail History Id: 31243187, Consumer Id: 199311, Address Id: 407415 => Updated with Vin: 1FTNX20F3YEC15159 ## Mail History Id: 31243127, Consumer Id: 198704, Address Id: 407390 => Updated with Vin: 1FAFP4047YF286170 ## Total mail_history records updated with vin numbers: 27 out of 31 ============================================================ ====== Tracking Id: 2608 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-10 11:42:50') AND us2_order_type_id = 3 ## Order found: 2555 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2555 AND product_id = 2147 ## Job Group Found: '577' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('577') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108002') AND customer_id = 3721 ## Mailing found: '13578' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243314, Consumer Id: 1012889, Address Id: 6662816 => Updated with Vin: JM1FE17N440106489 ## Mail History Id: 31243316, Consumer Id: 1017582, Address Id: 6664997 => Updated with Vin: 1YVHP80D375M33691 ## Mail History Id: 31243318, Consumer Id: 1009827, Address Id: 14931702 => Updated with Vin: 1YVHP80C775M47732 ## Mail History Id: 31243320, Consumer Id: 1009850, Address Id: 14931721 => Updated with Vin: JM1BK12F871706275 ## Mail History Id: 31243322, Consumer Id: 1010188, Address Id: 4573305 => Updated with Vin: JM1BK12F771713072 ## Mail History Id: 31243324, Consumer Id: 1016414, Address Id: 14933174 => Updated with Vin: JM3ER293870116777 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2609 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-10 11:42:54') AND us2_order_type_id = 3 ## Order found: 2554 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2554 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3357 ## Mailing found: '13606' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243225, Consumer Id: 496205, Address Id: 9830821 => Updated with Vin: JM1FE173540101803 ## Mail History Id: 31243131, Consumer Id: 225494, Address Id: 400646 => Updated with Vin: 4F2CZ94165KM33389 ## Mail History Id: 31243135, Consumer Id: 461634, Address Id: 9819456 => Updated with Vin: 1FMRU17L71LA36961 ## Mail History Id: 31243171, Consumer Id: 609714, Address Id: 11754569 => Updated with Vin: 1FMZU63K22ZC89226 ## Mail History Id: 31243173, Consumer Id: 609713, Address Id: 11754568 => Updated with Vin: 1FAFP45X03F308702 ## Mail History Id: 31243145, Consumer Id: 189555, Address Id: 401949 => Updated with Vin: 1FMYU60E13UB64565 ## Mail History Id: 31243167, Consumer Id: 198657, Address Id: 407725 => Updated with Vin: 1FMZU73K43ZA50431 ## Mail History Id: 31243111, Consumer Id: 189473, Address Id: 399529 => Updated with Vin: JM1BK123341170255 ## Mail History Id: 31243149, Consumer Id: 609708, Address Id: 11754564 => Updated with Vin: 2HNYD18934H505493 ## Mail History Id: 31243109, Consumer Id: 152023, Address Id: 394387 => Updated with Vin: 1FTRE14W86HA60695 ## Mail History Id: 31243083, Consumer Id: 195792, Address Id: 404971 => Updated with Vin: 1FTRF12W06NB27047 ## Mail History Id: 31243093, Consumer Id: 198920, Address Id: 407578 => Updated with Vin: 1MEFM50U6WG612393 ## Mail History Id: 31243055, Consumer Id: 609712, Address Id: 11754567 => Updated with Vin: 2FMDK38C47BA51100 ## Mail History Id: 31243191, Consumer Id: 195246, Address Id: 404434 => Updated with Vin: 1FMPU18L9WLA87262 ## Mail History Id: 31243165, Consumer Id: 461638, Address Id: 9819458 => Updated with Vin: 5LMPU28L4WLJ17710 ## Mail History Id: 31243197, Consumer Id: 225507, Address Id: 434939 => Updated with Vin: 1FTWW33F8XEE48803 ## Total mail_history records updated with vin numbers: 16 out of 19 ============================================================ ====== Tracking Id: 2610 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-10 11:43:06') AND us2_order_type_id = 3 ## Order found: 2554 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2554 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3357 ## Mailing found: '13606' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2611 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-10 12:15:24') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2612 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-10 12:15:28') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2613 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-10 12:15:31') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2614 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-10 12:15:51') AND us2_order_type_id = 3 ## Order found: 2556 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2556 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2615 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-10 12:16:02') AND us2_order_type_id = 3 ## Order found: 2556 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2556 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3471 ## Mailing found: '13611' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2616 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-10 12:16:06') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2617 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-10 14:12:35') AND us2_order_type_id = 3 ## Order found: 2544 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2544 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2618 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-10 14:12:49') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2619 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-10 14:12:52') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2620 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-10 14:13:59') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2621 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-10 19:12:40') AND us2_order_type_id = 3 ## Order found: 2554 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2554 AND product_id = 55 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2622 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-10 20:02:12') AND us2_order_type_id = 3 ## Order found: 2557 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2557 AND product_id = 2147 ## Job Group Found: '577' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('577') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108002') AND customer_id = 3846 ## Mailing found: '13580' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243263, Consumer Id: 1179841, Address Id: 15366627 => Updated with Vin: 4S3BH895837644579 ## Mail History Id: 31243265, Consumer Id: 1180127, Address Id: 15366908 => Updated with Vin: JF1GM4358XG401515 ## Mail History Id: 31243267, Consumer Id: 1180600, Address Id: 15367363 => Updated with Vin: 4S3BH6653Y6663661 ## Mail History Id: 31243269, Consumer Id: 1187145, Address Id: 15369467 => Updated with Vin: JF1SG63655H741461 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2623 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-10 20:02:24') AND us2_order_type_id = 3 ## Order found: 2557 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2557 AND product_id = 2150 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3846 ## Mailing found: '13603' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243651, Consumer Id: 1187080, Address Id: 15371390 => Updated with Vin: JF1GF4854XG801901 ## Mail History Id: 31243793, Consumer Id: 1187079, Address Id: 15371389 => Updated with Vin: 4S3BH686517612135 ## Mail History Id: 31243685, Consumer Id: 1179612, Address Id: 499705 => Updated with Vin: JF1GF4851WG805662 ## Mail History Id: 31243623, Consumer Id: 1185837, Address Id: 15369758 => Updated with Vin: JF1GG68564H818200 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2624 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-10 20:02:36') AND us2_order_type_id = 3 ## Order found: 2557 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2557 AND product_id = 2152 ## Job Group Found: '582' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('582') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108007') AND customer_id = 3846 ## Mailing found: '13571' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243424, Consumer Id: 1186298, Address Id: 14933770 => Updated with Vin: 4S4WX92D884401886 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 2625 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-10 20:12:34') AND us2_order_type_id = 3 ## Order found: 2558 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2558 AND product_id = 2153 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2626 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-10 20:12:37') AND us2_order_type_id = 3 ## Order found: 2558 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2558 AND product_id = 2152 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2627 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-10 20:12:41') AND us2_order_type_id = 3 ## Order found: 2558 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2558 AND product_id = 2150 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3503 ## Mailing found: '13596,13914' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243653, Consumer Id: 2168358, Address Id: 9735743 => Updated with Vin: 5TDZA22C04S115742 ## Mail History Id: 31243767, Consumer Id: 2162302, Address Id: 9728492 => Updated with Vin: 4T1BK36B85U046295 ## Mail History Id: 31243703, Consumer Id: 2183013, Address Id: 4498794 => Updated with Vin: 4T1BF28K51U126403 ## Mail History Id: 31243593, Consumer Id: 2165361, Address Id: 9731842 => Updated with Vin: JTDBT923071055502 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 2628 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-10 20:12:53') AND us2_order_type_id = 3 ## Order found: 2558 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2558 AND product_id = 2147 ## Job Group Found: '577' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('577') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108002') AND customer_id = 3503 ## Mailing found: '13577' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2629 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-11 07:12:54') AND us2_order_type_id = 3 ## Order found: 2575 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2575 AND product_id = 143 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3503 ## Mailing found: '13596,13914' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243563, Consumer Id: 2181341, Address Id: 9719031 => Updated with Vin: JTEHD20V946019398 ## Mail History Id: 31243657, Consumer Id: 2162975, Address Id: 9729009 => Updated with Vin: 2T1BR32E46C569621 ## Mail History Id: 31243659, Consumer Id: 2168106, Address Id: 9735535 => Updated with Vin: 5TBDT44115S494210 ## Mail History Id: 31243547, Consumer Id: 2169788, Address Id: 9738645 => Updated with Vin: 4T1BK46K88U068663 ## Mail History Id: 31243655, Consumer Id: 2166872, Address Id: 9733147 => Updated with Vin: JTDBR32E970123654 ## Mail History Id: 31243769, Consumer Id: 2180999, Address Id: 9734196 => Updated with Vin: 4T1BE32K95U952324 ## Mail History Id: 31243619, Consumer Id: 2170086, Address Id: 461664 => Updated with Vin: 5TBBT54158S461776 ## Mail History Id: 31243693, Consumer Id: 2161077, Address Id: 9726760 => Updated with Vin: 5TELU42N05Z008852 ## Total mail_history records updated with vin numbers: 8 out of 19 ============================================================ ====== Tracking Id: 2630 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-11 08:12:40') AND us2_order_type_id = 3 ## Order found: 2576 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2576 AND product_id = 55 ## Job Group Found: '578' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('578') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108003') AND customer_id = 3230 ## Mailing found: '13573' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2631 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-11 08:42:35') AND us2_order_type_id = 3 ## Order found: 2576 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2576 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3230 ## Mailing found: '13605' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242565, Consumer Id: 93492, Address Id: 51980 => Updated with Vin: 1FTSW21R28EB19098 ## Mail History Id: 31242563, Consumer Id: 64826, Address Id: 47449 => Updated with Vin: 1FTNW21P44EB44610 ## Mail History Id: 31242559, Consumer Id: 93567, Address Id: 52070 => Updated with Vin: 1ZVHT82H385157433 ## Mail History Id: 31242561, Consumer Id: 103874, Address Id: 54086 => Updated with Vin: 1FDRE14W6YHA40265 ## Mail History Id: 31242567, Consumer Id: 528038, Address Id: 9865121 => Updated with Vin: 1FAFP53U76A258803 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 2632 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-11 09:15:53') AND us2_order_type_id = 3 ## Order found: 2577 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2577 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3470 ## Mailing found: '13610' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243208, Consumer Id: 556907, Address Id: 7158556 => Updated with Vin: 1J4GK48K44W128180 ## Mail History Id: 31243120, Consumer Id: 570612, Address Id: 1545485 => Updated with Vin: 2B3KA43G17H782287 ## Mail History Id: 31243232, Consumer Id: 558400, Address Id: 8555114 => Updated with Vin: 3D7KU26C14G205375 ## Mail History Id: 31243236, Consumer Id: 583301, Address Id: 10745425 => Updated with Vin: 3C4FY58B92T235265 ## Mail History Id: 31243002, Consumer Id: 583322, Address Id: 2541321 => Updated with Vin: 2B3HD46R21H665629 ## Mail History Id: 31243070, Consumer Id: 568436, Address Id: 10713797 => Updated with Vin: 1D7KS28D06J196407 ## Mail History Id: 31243216, Consumer Id: 568446, Address Id: 2549269 => Updated with Vin: 2B3KA43G07H631327 ## Mail History Id: 31243108, Consumer Id: 569468, Address Id: 10716490 => Updated with Vin: 2A8GM68X97R140323 ## Mail History Id: 31243214, Consumer Id: 570613, Address Id: 10717276 => Updated with Vin: 1D7HA18207J571347 ## Mail History Id: 31243220, Consumer Id: 583317, Address Id: 4101923 => Updated with Vin: 1C3AN69L04X023219 ## Mail History Id: 31243006, Consumer Id: 571459, Address Id: 2033714 => Updated with Vin: 1B3LC56R68N638342 ## Mail History Id: 31243206, Consumer Id: 571926, Address Id: 10718952 => Updated with Vin: 1J8FT28W18D570480 ## Mail History Id: 31243162, Consumer Id: 572854, Address Id: 10719348 => Updated with Vin: 1N4BA41E66C810480 ## Mail History Id: 31243174, Consumer Id: 573032, Address Id: 10719429 => Updated with Vin: 1A8HX58288F125086 ## Mail History Id: 31242966, Consumer Id: 583316, Address Id: 10745429 => Updated with Vin: 1J4FA49S85P313129 ## Mail History Id: 31243146, Consumer Id: 583318, Address Id: 10745430 => Updated with Vin: 3D7KS19D96G173749 ## Mail History Id: 31243106, Consumer Id: 583324, Address Id: 10745432 => Updated with Vin: 1J4G248SXYC254177 ## Mail History Id: 31243212, Consumer Id: 573150, Address Id: 7739530 => Updated with Vin: 1GKDT13S542297163 ## Mail History Id: 31243000, Consumer Id: 573149, Address Id: 10719483 => Updated with Vin: KNAGD126955416226 ## Total mail_history records updated with vin numbers: 19 out of 24 ============================================================ ====== Tracking Id: 2633 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-11 09:16:06') AND us2_order_type_id = 3 ## Order found: 2577 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2577 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3470 ## Mailing found: '13610' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243102, Consumer Id: 574308, Address Id: 10720894 => Updated with Vin: 2C8GP64L22R613472 ## Mail History Id: 31243028, Consumer Id: 574677, Address Id: 1171648 => Updated with Vin: 1J4GK48K03W701445 ## Mail History Id: 31243178, Consumer Id: 561748, Address Id: 10699539 => Updated with Vin: 1B3ES56C35D167565 ## Mail History Id: 31243060, Consumer Id: 564182, Address Id: 1544527 => Updated with Vin: 3C4FY48B34T243245 ## Mail History Id: 31243128, Consumer Id: 564719, Address Id: 4904758 => Updated with Vin: 1D7HA18D94J135058 ## Mail History Id: 31243022, Consumer Id: 578530, Address Id: 8909704 => Updated with Vin: 2A8GP64L56R772177 ## Mail History Id: 31242405, Consumer Id: 568118, Address Id: 10713681 => Updated with Vin: 3A4FY48B56T237542 ## Mail History Id: 31243082, Consumer Id: 580483, Address Id: 7890772 => Updated with Vin: 2C8GP74L91R408204 ## Mail History Id: 31243038, Consumer Id: 581125, Address Id: 10740725 => Updated with Vin: 1J4G258NXYC391667 ## Mail History Id: 31243074, Consumer Id: 571400, Address Id: 2092276 => Updated with Vin: 1J8FT47W67D391671 ## Mail History Id: 31243116, Consumer Id: 582306, Address Id: 10743967 => Updated with Vin: 2C4GP54L94R538476 ## Mail History Id: 31243004, Consumer Id: 572514, Address Id: 2026661 => Updated with Vin: 1D7HA18N08J147596 ## Mail History Id: 31243124, Consumer Id: 582869, Address Id: 4687196 => Updated with Vin: 1C3EL46XX5N690704 ## Total mail_history records updated with vin numbers: 13 out of 15 ============================================================ ====== Tracking Id: 2634 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-11 09:16:16') AND us2_order_type_id = 3 ## Order found: 2578 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2578 AND product_id = 142 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3768 ## Mailing found: '13600' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243833, Consumer Id: 1108581, Address Id: 3238759 => Updated with Vin: 1G6DP577260141449 ## Mail History Id: 31243865, Consumer Id: 1045186, Address Id: 14953054 => Updated with Vin: 1GYEK63N34R174148 ## Mail History Id: 31243873, Consumer Id: 1050113, Address Id: 14954378 => Updated with Vin: 1G4HD57216U256706 ## Mail History Id: 31243857, Consumer Id: 1111488, Address Id: 5984792 => Updated with Vin: 1G6KE57Y52U231851 ## Mail History Id: 31243893, Consumer Id: 1043333, Address Id: 12938157 => Updated with Vin: 1GYFK66867R199933 ## Mail History Id: 31243831, Consumer Id: 1110541, Address Id: 3238683 => Updated with Vin: 1G6DP567750104526 ## Mail History Id: 31243829, Consumer Id: 1110156, Address Id: 5979932 => Updated with Vin: 1GYEE637740182105 ## Mail History Id: 31243879, Consumer Id: 1107403, Address Id: 5992041 => Updated with Vin: 1G6DM57N730158718 ## Mail History Id: 31243881, Consumer Id: 1111025, Address Id: 8828647 => Updated with Vin: 1G6DP567150176788 ## Mail History Id: 31243871, Consumer Id: 1042045, Address Id: 5988233 => Updated with Vin: 1G6CD53B9N4236189 ## Mail History Id: 31243869, Consumer Id: 1108582, Address Id: 8827699 => Updated with Vin: 1G6KF5791YU265445 ## Total mail_history records updated with vin numbers: 11 out of 15 ============================================================ ====== Tracking Id: 2635 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-11 09:16:18') AND us2_order_type_id = 3 ## Order found: 2577 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2577 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3470 ## Mailing found: '13610' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243240, Consumer Id: 921867, Address Id: 10918254 => Updated with Vin: 1D8GT58K28W249483 ## Mail History Id: 31243152, Consumer Id: 938299, Address Id: 7474420 => Updated with Vin: 1J8FT47058D608446 ## Mail History Id: 31243172, Consumer Id: 938793, Address Id: 11960906 => Updated with Vin: 1B3LC56KX8N139742 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2636 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-11 09:16:30') AND us2_order_type_id = 3 ## Order found: 2578 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2578 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3768 ## Mailing found: '13617' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242446, Consumer Id: 1045250, Address Id: 14953079 => Updated with Vin: 1G6DP567750209633 ## Mail History Id: 31242444, Consumer Id: 1049119, Address Id: 14954122 => Updated with Vin: 1G6KD57Y66U110741 ## Mail History Id: 31242518, Consumer Id: 1109126, Address Id: 14982442 => Updated with Vin: 1G6DP577470123259 ## Mail History Id: 31242496, Consumer Id: 1109127, Address Id: 5985052 => Updated with Vin: 1G6DP577370179290 ## Mail History Id: 31242564, Consumer Id: 1116652, Address Id: 14984172 => Updated with Vin: 1GCFG15T341123788 ## Mail History Id: 31242440, Consumer Id: 1110564, Address Id: 3238896 => Updated with Vin: 1G6EL12Y9TU616205 ## Mail History Id: 31242442, Consumer Id: 1108316, Address Id: 3239047 => Updated with Vin: 1G6KE52Y6VU206470 ## Mail History Id: 31242502, Consumer Id: 1107359, Address Id: 1147234 => Updated with Vin: 1G6KD54Y0WU726567 ## Mail History Id: 31242430, Consumer Id: 1111793, Address Id: 2778381 => Updated with Vin: 1G6KD57YX6U118549 ## Mail History Id: 31242454, Consumer Id: 1111680, Address Id: 9707828 => Updated with Vin: 1GYEK63N76R137686 ## Mail History Id: 31242514, Consumer Id: 1116650, Address Id: 5991048 => Updated with Vin: 1G6KY5497XU918499 ## Total mail_history records updated with vin numbers: 11 out of 11 ============================================================ ====== Tracking Id: 2637 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-11 09:16:42') AND us2_order_type_id = 3 ## Order found: 2578 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2578 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2638 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-11 09:16:46') AND us2_order_type_id = 3 ## Order found: 2578 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2578 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3768 ## Mailing found: '13617' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242456, Consumer Id: 1047639, Address Id: 3239747 => Updated with Vin: 1G6DP577960107461 ## Mail History Id: 31242438, Consumer Id: 1108478, Address Id: 3238849 => Updated with Vin: 1G6ET1294WU606906 ## Mail History Id: 31242522, Consumer Id: 1115426, Address Id: 14824848 => Updated with Vin: 1G6EL12Y4XU615579 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2639 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-11 10:12:54') AND us2_order_type_id = 3 ## Order found: 2579 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2579 AND product_id = 143 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3846 ## Mailing found: '13603' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243787, Consumer Id: 1179015, Address Id: 15367776 => Updated with Vin: 4S3BP616177323825 ## Mail History Id: 31243643, Consumer Id: 1182307, Address Id: 15369398 => Updated with Vin: 4S4BP86C354310935 ## Mail History Id: 31243633, Consumer Id: 1186571, Address Id: 9748885 => Updated with Vin: JF1SG63627H747110 ## Mail History Id: 31243635, Consumer Id: 1184999, Address Id: 15369107 => Updated with Vin: 4S4BP86C464327521 ## Mail History Id: 31243649, Consumer Id: 1182286, Address Id: 15369518 => Updated with Vin: JF1SG65684H753079 ## Mail History Id: 31243647, Consumer Id: 1184229, Address Id: 470359 => Updated with Vin: JF1SG65645H750536 ## Mail History Id: 31243567, Consumer Id: 1183739, Address Id: 459876 => Updated with Vin: 4S3BP676054323532 ## Mail History Id: 31243763, Consumer Id: 1178811, Address Id: 15367501 => Updated with Vin: 4S3BH665817647763 ## Mail History Id: 31243667, Consumer Id: 1184578, Address Id: 15368480 => Updated with Vin: 4S4BP61C756371916 ## Mail History Id: 31243689, Consumer Id: 1186521, Address Id: 15370698 => Updated with Vin: JF1SG66648H721637 ## Mail History Id: 31243745, Consumer Id: 1187191, Address Id: 15371480 => Updated with Vin: JF1SF6356WH770303 ## Mail History Id: 31243663, Consumer Id: 1180338, Address Id: 15367096 => Updated with Vin: 4S3BH675927611001 ## Mail History Id: 31243691, Consumer Id: 1179161, Address Id: 15367923 => Updated with Vin: JF1GH61688H821007 ## Mail History Id: 31243695, Consumer Id: 1183719, Address Id: 15366888 => Updated with Vin: 4S3BH625146304549 ## Mail History Id: 31243759, Consumer Id: 1186536, Address Id: 15370983 => Updated with Vin: JF1SG63678G726289 ## Mail History Id: 31243789, Consumer Id: 1179162, Address Id: 15367924 => Updated with Vin: JF1GD67533H505078 ## Mail History Id: 31243669, Consumer Id: 1179686, Address Id: 9722031 => Updated with Vin: JF1GG68542G809577 ## Mail History Id: 31243701, Consumer Id: 1180263, Address Id: 15367039 => Updated with Vin: 4S3BH675417606304 ## Mail History Id: 31243595, Consumer Id: 1185826, Address Id: 9749962 => Updated with Vin: 4S4BP62C877324325 ## Mail History Id: 31243589, Consumer Id: 1180099, Address Id: 9741609 => Updated with Vin: JF1SF6354WH711718 ## Mail History Id: 31243639, Consumer Id: 1186475, Address Id: 15370410 => Updated with Vin: JF1SF65531G765152 ## Mail History Id: 31243679, Consumer Id: 1178834, Address Id: 1737404 => Updated with Vin: JF1SG65626H712921 ## Mail History Id: 31243675, Consumer Id: 292114, Address Id: 4468986 => Updated with Vin: 4S4BP62CX57356898 ## Mail History Id: 31243677, Consumer Id: 1178422, Address Id: 15366673 => Updated with Vin: JF1SG65654H715700 ## Mail History Id: 31243681, Consumer Id: 1180129, Address Id: 15366909 => Updated with Vin: JF1SF63532H738189 ## Mail History Id: 31243555, Consumer Id: 1180904, Address Id: 15367674 => Updated with Vin: 4S3BH675146622731 ## Mail History Id: 31243551, Consumer Id: 1186661, Address Id: 15370712 => Updated with Vin: 4S4BP61C487327564 ## Mail History Id: 31243747, Consumer Id: 1178916, Address Id: 15367712 => Updated with Vin: 4S4BP86C584320192 ## Mail History Id: 31243743, Consumer Id: 1182701, Address Id: 15369800 => Updated with Vin: JF1SG63607H738986 ## Mail History Id: 31243741, Consumer Id: 1179462, Address Id: 15366350 => Updated with Vin: JF1SG65613H729768 ## Mail History Id: 31243631, Consumer Id: 1178875, Address Id: 15367592 => Updated with Vin: 4S3BH806417620024 ## Mail History Id: 31243629, Consumer Id: 1182348, Address Id: 9751827 => Updated with Vin: 4S4BP61CX76318243 ## Mail History Id: 31243627, Consumer Id: 1180921, Address Id: 15367684 => Updated with Vin: JF1SG63663H751512 ## Mail History Id: 31243621, Consumer Id: 1180076, Address Id: 4447034 => Updated with Vin: JF1GG68514H803135 ## Mail History Id: 31243587, Consumer Id: 1186360, Address Id: 15367835 => Updated with Vin: 4S4BP62C967310366 ## Mail History Id: 31243585, Consumer Id: 1184544, Address Id: 59916 => Updated with Vin: 4S3BL626167205346 ## Mail History Id: 31243557, Consumer Id: 1185313, Address Id: 465176 => Updated with Vin: JF1SF6359YH710406 ## Mail History Id: 31243673, Consumer Id: 1186581, Address Id: 15370896 => Updated with Vin: 4S4BP86C374314552 ## Mail History Id: 31243775, Consumer Id: 1178996, Address Id: 15367765 => Updated with Vin: JF1SG63698H713280 ## Mail History Id: 31243795, Consumer Id: 1179828, Address Id: 15366616 => Updated with Vin: 4S3BH6258Y7307433 ## Mail History Id: 31243661, Consumer Id: 1186476, Address Id: 15369232 => Updated with Vin: 4S4BP61C767340211 ## Mail History Id: 31243603, Consumer Id: 1182187, Address Id: 15369536 => Updated with Vin: JF1SG65637G708688 ## Mail History Id: 31243599, Consumer Id: 1180195, Address Id: 15366958 => Updated with Vin: 4S3BH806317671482 ## Mail History Id: 31243723, Consumer Id: 1184913, Address Id: 15366385 => Updated with Vin: JF1GG67626H810169 ## Mail History Id: 31243719, Consumer Id: 1181998, Address Id: 9720848 => Updated with Vin: 4S4WX86C264423066 ## Mail History Id: 31243637, Consumer Id: 1187254, Address Id: 15369207 => Updated with Vin: 4S4BP61C787337151 ## Mail History Id: 31243575, Consumer Id: 1186970, Address Id: 15370089 => Updated with Vin: JF1SF6352XH714313 ## Mail History Id: 31243607, Consumer Id: 1183597, Address Id: 15368551 => Updated with Vin: JF1SG65683H734532 ## Mail History Id: 31243609, Consumer Id: 1913688, Address Id: 16791158 => Updated with Vin: 4S3BE625047210147 ## Mail History Id: 31243541, Consumer Id: 1182466, Address Id: 15369885 => Updated with Vin: JF1GG68534H806330 ## Total mail_history records updated with vin numbers: 50 out of 59 ============================================================ ====== Tracking Id: 2640 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-11 10:15:52') AND us2_order_type_id = 3 ## Order found: 2577 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2577 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2641 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-11 10:16:08') AND us2_order_type_id = 3 ## Order found: 2586 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2586 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2642 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-11 10:16:53') AND us2_order_type_id = 3 ## Order found: 2580 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2580 AND product_id = 2150 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3418 ## Mailing found: '13591' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243738, Consumer Id: 673484, Address Id: 11789985 => Updated with Vin: 1G6DW677X50231133 ## Mail History Id: 31243606, Consumer Id: 663574, Address Id: 10326206 => Updated with Vin: 1G6KY54972U304321 ## Mail History Id: 31243624, Consumer Id: 680869, Address Id: 6608932 => Updated with Vin: 1GYEE637570133263 ## Mail History Id: 31243594, Consumer Id: 681019, Address Id: 11794585 => Updated with Vin: 1B3ES56C64D548471 ## Mail History Id: 31243578, Consumer Id: 610562, Address Id: 11755270 => Updated with Vin: 1G6KD57Y28U137373 ## Mail History Id: 31243706, Consumer Id: 681052, Address Id: 11794603 => Updated with Vin: 2B4GP44312R733072 ## Mail History Id: 31243732, Consumer Id: 681027, Address Id: 11794590 => Updated with Vin: 1Y1SK528XTZ015006 ## Mail History Id: 31243650, Consumer Id: 679683, Address Id: 11789612 => Updated with Vin: 1B3EJ46X8TN281147 ## Mail History Id: 31243596, Consumer Id: 673483, Address Id: 11789984 => Updated with Vin: 1G6DW677750229856 ## Mail History Id: 31243590, Consumer Id: 674643, Address Id: 11790762 => Updated with Vin: 1G6KD54Y74U128098 ## Mail History Id: 31243684, Consumer Id: 675277, Address Id: 11791202 => Updated with Vin: 1G6DW677250208722 ## Mail History Id: 31243678, Consumer Id: 678283, Address Id: 11791367 => Updated with Vin: 1GYFK63867R207128 ## Mail History Id: 31243580, Consumer Id: 610481, Address Id: 6773503 => Updated with Vin: 1G6DW67V180123180 ## Mail History Id: 31243584, Consumer Id: 610713, Address Id: 11755397 => Updated with Vin: 1G6DT57V580152832 ## Mail History Id: 31243754, Consumer Id: 679104, Address Id: 11793408 => Updated with Vin: 1G6DW677470159445 ## Mail History Id: 31243648, Consumer Id: 681032, Address Id: 11417971 => Updated with Vin: 1G6DC67A470144061 ## Mail History Id: 31243572, Consumer Id: 672703, Address Id: 11789498 => Updated with Vin: 1G6KD54Y55U221784 ## Total mail_history records updated with vin numbers: 17 out of 18 ============================================================ ====== Tracking Id: 2643 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-11 10:17:04') AND us2_order_type_id = 3 ## Order found: 2580 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2580 AND product_id = 2147 ## Job Group Found: '577' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('577') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108002') AND customer_id = 3418 ## Mailing found: '13576' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243329, Consumer Id: 681186, Address Id: 11794684 => Updated with Vin: 1GYEE63A350131990 ## Mail History Id: 31243333, Consumer Id: 674711, Address Id: 11790802 => Updated with Vin: 1G6DP577260141273 ## Mail History Id: 31243335, Consumer Id: 676332, Address Id: 11791815 => Updated with Vin: 1GYEE63A340166138 ## Mail History Id: 31243337, Consumer Id: 676599, Address Id: 6920573 => Updated with Vin: 1GYEE637160214078 ## Mail History Id: 31243246, Consumer Id: 676992, Address Id: 11792188 => Updated with Vin: 1G6DM57T170105517 ## Mail History Id: 31243248, Consumer Id: 670014, Address Id: 6915835 => Updated with Vin: 1GYEK63N94R291071 ## Mail History Id: 31243250, Consumer Id: 679819, Address Id: 8874466 => Updated with Vin: 1G6DM57TX70195136 ## Mail History Id: 31243252, Consumer Id: 673627, Address Id: 11790090 => Updated with Vin: 1G6DM57T260101054 ## Mail History Id: 31243254, Consumer Id: 671730, Address Id: 11418652 => Updated with Vin: 1GYEK63N35R161126 ## Mail History Id: 31243256, Consumer Id: 666762, Address Id: 11785440 => Updated with Vin: W06VR54R21R030777 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 2644 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-11 10:17:17') AND us2_order_type_id = 3 ## Order found: 2580 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2580 AND product_id = 2153 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2645 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-11 10:19:09') AND us2_order_type_id = 3 ## Order found: 2584 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2584 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2646 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-11 10:19:35') AND us2_order_type_id = 3 ## Order found: 2581 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2581 AND product_id = 142 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3697 ## Mailing found: '13597' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243815, Consumer Id: 1045284, Address Id: 11665815 => Updated with Vin: 1G6KD54Y62U233650 ## Mail History Id: 31243895, Consumer Id: 1042988, Address Id: 5994514 => Updated with Vin: 1G6KE57Y61U261746 ## Mail History Id: 31243847, Consumer Id: 1042290, Address Id: 14952259 => Updated with Vin: 1G6KF5792YU171980 ## Mail History Id: 31243889, Consumer Id: 1043423, Address Id: 12938042 => Updated with Vin: 1G6DM577840158245 ## Mail History Id: 31243851, Consumer Id: 1044649, Address Id: 2853660 => Updated with Vin: 1G6KD57Y87U197348 ## Mail History Id: 31243903, Consumer Id: 1046333, Address Id: 14953386 => Updated with Vin: 1G6DP567450163534 ## Mail History Id: 31243877, Consumer Id: 1048054, Address Id: 8828632 => Updated with Vin: 1G6DM57N330139339 ## Mail History Id: 31243849, Consumer Id: 1052120, Address Id: 14955079 => Updated with Vin: 1G6DP577X60112667 ## Mail History Id: 31243837, Consumer Id: 921290, Address Id: 11954406 => Updated with Vin: 2FMDK38C78BA77417 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 2647 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-11 10:19:46') AND us2_order_type_id = 3 ## Order found: 2581 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2581 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3697 ## Mailing found: '13615' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242480, Consumer Id: 1050965, Address Id: 9708792 => Updated with Vin: 1GYEE63A070152783 ## Mail History Id: 31242492, Consumer Id: 1043267, Address Id: 12937969 => Updated with Vin: 1G6KF57934U174896 ## Mail History Id: 31242411, Consumer Id: 1051879, Address Id: 3737496 => Updated with Vin: 1G6DM57N530112935 ## Mail History Id: 31242490, Consumer Id: 1048303, Address Id: 14953761 => Updated with Vin: 1G6YV36A565601117 ## Mail History Id: 31242482, Consumer Id: 921042, Address Id: 11954024 => Updated with Vin: 5NPET46C77H258633 ## Mail History Id: 31242478, Consumer Id: 1043146, Address Id: 2850546 => Updated with Vin: 1GHDX03E73D260374 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2648 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-11 10:19:58') AND us2_order_type_id = 3 ## Order found: 2581 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2581 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3697 ## Mailing found: '13615' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242468, Consumer Id: 1050392, Address Id: 11957161 => Updated with Vin: 1G6KY5491YU142680 ## Mail History Id: 31242516, Consumer Id: 1046747, Address Id: 5992073 => Updated with Vin: 1G6ET12991B102713 ## Mail History Id: 31242534, Consumer Id: 1050971, Address Id: 14954580 => Updated with Vin: 1G6DM577840150288 ## Mail History Id: 31242474, Consumer Id: 1041761, Address Id: 14952146 => Updated with Vin: 1G6KE57Y31U152516 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2649 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-11 10:20:41') AND us2_order_type_id = 3 ## Order found: 2578 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2578 AND product_id = 140 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2650 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3967 AND DATE(cart_created_date) = DATE('2008-09-11 10:21:18') AND us2_order_type_id = 3 ## Order found: 2582 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2582 AND product_id = 54 ## Job Group Found: '575' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('575') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'esc091008001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('esc091008001a') AND customer_id = 3967 ## Mailing found: '13540' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 2651 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-11 10:21:48') AND us2_order_type_id = 3 ## Order found: 2583 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2583 AND product_id = 143 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3815 ## Mailing found: '13602' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243905, Consumer Id: 1370061, Address Id: 15635690 => Updated with Vin: 1HGCB7658MA089305 ## Mail History Id: 31243905, Consumer Id: 1375982, Address Id: 15635690 => Updated with Vin: 2HKRL18631H596318 ## Mail History Id: 31243933, Consumer Id: 1362284, Address Id: 15634445 => Updated with Vin: 5FNYF18585B038818 ## Mail History Id: 31243929, Consumer Id: 1375866, Address Id: 15669985 => Updated with Vin: 2HNYD18964H528170 ## Mail History Id: 31243927, Consumer Id: 1368038, Address Id: 15633446 => Updated with Vin: 2HKRL1866YH542778 ## Mail History Id: 31243909, Consumer Id: 1365560, Address Id: 15636772 => Updated with Vin: JHMFA36257S008044 ## Mail History Id: 31243943, Consumer Id: 1372958, Address Id: 2569755 => Updated with Vin: 1HGCG555XYA105551 ## Mail History Id: 31243965, Consumer Id: 1371180, Address Id: 15638996 => Updated with Vin: 1HGEJ8242YL122422 ## Mail History Id: 31243989, Consumer Id: 1368667, Address Id: 15635387 => Updated with Vin: JHLRD18461S016883 ## Mail History Id: 31244015, Consumer Id: 1366386, Address Id: 15639249 => Updated with Vin: 5FNRL38287B110120 ## Mail History Id: 31243923, Consumer Id: 1369244, Address Id: 15636088 => Updated with Vin: 1HGCG16581A071784 ## Mail History Id: 31243923, Consumer Id: 1369244, Address Id: 15636088 => Updated with Vin: 1HGCG16581A071784 ## Mail History Id: 31243817, Consumer Id: 1370130, Address Id: 15637369 => Updated with Vin: 1HGCG56452A095203 ## Mail History Id: 31243951, Consumer Id: 1368180, Address Id: 15634775 => Updated with Vin: 1HGCG16541A071586 ## Mail History Id: 31243999, Consumer Id: 1367916, Address Id: 15634580 => Updated with Vin: 1HGCG5643XA126732 ## Mail History Id: 31243993, Consumer Id: 1367515, Address Id: 15635534 => Updated with Vin: 2HGFG12888H507591 ## Mail History Id: 31243931, Consumer Id: 1372786, Address Id: 15669244 => Updated with Vin: 2HKYF18194H585707 ## Mail History Id: 31243957, Consumer Id: 1370701, Address Id: 15638345 => Updated with Vin: JHMBB6152XC009449 ## Mail History Id: 31243979, Consumer Id: 1360207, Address Id: 15632739 => Updated with Vin: 5FNRL18034B072083 ## Mail History Id: 31243805, Consumer Id: 1372910, Address Id: 7171789 => Updated with Vin: 1HGCM56825A017963 ## Mail History Id: 31243843, Consumer Id: 1373004, Address Id: 15637426 => Updated with Vin: 1HGCD5537SA126985 ## Mail History Id: 31243997, Consumer Id: 1373380, Address Id: 15669602 => Updated with Vin: 1HGCG1654WA001674 ## Mail History Id: 31243939, Consumer Id: 1363424, Address Id: 15635048 => Updated with Vin: 1HGCM56725A132117 ## Mail History Id: 31243981, Consumer Id: 1364531, Address Id: 15637567 => Updated with Vin: 1HGCM66553A058208 ## Mail History Id: 31243969, Consumer Id: 1377511, Address Id: 15668965 => Updated with Vin: 5FNRL38736B092507 ## Mail History Id: 31243949, Consumer Id: 1364065, Address Id: 15637063 => Updated with Vin: 5FNYF28476B045595 ## Mail History Id: 31243935, Consumer Id: 1361638, Address Id: 9401706 => Updated with Vin: 1HGES16365L017206 ## Mail History Id: 31243915, Consumer Id: 1365271, Address Id: 15638234 => Updated with Vin: 1HGCM56603A012594 ## Mail History Id: 31243803, Consumer Id: 1378093, Address Id: 15671175 => Updated with Vin: JHMCG5657YC007951 ## Mail History Id: 31243925, Consumer Id: 1365783, Address Id: 9421799 => Updated with Vin: JHMFA36287S018051 ## Mail History Id: 31243825, Consumer Id: 1366051, Address Id: 9401210 => Updated with Vin: 1HGFA16597L119949 ## Mail History Id: 31244011, Consumer Id: 1379886, Address Id: 15639085 => Updated with Vin: 2HKYF18534H526297 ## Mail History Id: 31244005, Consumer Id: 1366322, Address Id: 15639215 => Updated with Vin: 2HGFG11857H567747 ## Mail History Id: 31244021, Consumer Id: 1366385, Address Id: 12098723 => Updated with Vin: 1HGFA16507L142097 ## Mail History Id: 31243921, Consumer Id: 1366763, Address Id: 15639600 => Updated with Vin: KL5VJ56L55B152570 ## Mail History Id: 31243959, Consumer Id: 1367279, Address Id: 9400212 => Updated with Vin: 5J6YH28767L013122 ## Mail History Id: 31244001, Consumer Id: 1367372, Address Id: 15640037 => Updated with Vin: 1HGCM66533A080434 ## Mail History Id: 31243839, Consumer Id: 1367295, Address Id: 15639995 => Updated with Vin: 5FNRL38726B063824 ## Mail History Id: 31243985, Consumer Id: 1367241, Address Id: 15639966 => Updated with Vin: 1HGCP26478A028397 ## Mail History Id: 31243823, Consumer Id: 1379620, Address Id: 15671371 => Updated with Vin: 5FNYF28577B046904 ## Mail History Id: 31244007, Consumer Id: 1379872, Address Id: 15672124 => Updated with Vin: JHMCD5659SC036688 ## Total mail_history records updated with vin numbers: 41 out of 50 ============================================================ ====== Tracking Id: 2652 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-11 10:21:55') AND us2_order_type_id = 3 ## Order found: 2583 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2583 AND product_id = 2153 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3815 ## Mailing found: '13620' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242546, Consumer Id: 1369111, Address Id: 15635681 => Updated with Vin: 1HGCG3251WA011886 ## Mail History Id: 31242538, Consumer Id: 1369334, Address Id: 15636151 => Updated with Vin: 1HGCE6677VA007455 ## Mail History Id: 31242548, Consumer Id: 1368515, Address Id: 15635006 => Updated with Vin: 1HGCG56622A042671 ## Mail History Id: 31242544, Consumer Id: 1378860, Address Id: 15671632 => Updated with Vin: 1HGCD5636VA014696 ## Mail History Id: 31242552, Consumer Id: 1376848, Address Id: 15632587 => Updated with Vin: 5FNRL18933B102504 ## Mail History Id: 31242458, Consumer Id: 1362666, Address Id: 15635182 => Updated with Vin: 1HGCG66812A172514 ## Mail History Id: 31242452, Consumer Id: 1363661, Address Id: 15636556 => Updated with Vin: 1HGCM66593A014230 ## Mail History Id: 31242542, Consumer Id: 1378861, Address Id: 15671633 => Updated with Vin: 2HKRL18602H509363 ## Total mail_history records updated with vin numbers: 8 out of 9 ============================================================ ====== Tracking Id: 2653 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-11 10:22:07') AND us2_order_type_id = 3 ## Order found: 2583 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2583 AND product_id = 2147 ## Job Group Found: '577' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('577') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108002') AND customer_id = 3815 ## Mailing found: '13579' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243245, Consumer Id: 1360749, Address Id: 15633147 => Updated with Vin: 1HGCM66534A098921 ## Mail History Id: 31243247, Consumer Id: 1369769, Address Id: 15636796 => Updated with Vin: 1HGCM66533A047790 ## Mail History Id: 31243249, Consumer Id: 1367570, Address Id: 15634001 => Updated with Vin: JH4UA2651WC005663 ## Mail History Id: 31243251, Consumer Id: 1360962, Address Id: 9261708 => Updated with Vin: 1HGCM72613A004859 ## Mail History Id: 31243253, Consumer Id: 1372907, Address Id: 15669306 => Updated with Vin: 2HKRL1866YH619195 ## Mail History Id: 31243255, Consumer Id: 1373589, Address Id: 11305275 => Updated with Vin: 1HGCG3252WA014585 ## Mail History Id: 31243257, Consumer Id: 1365854, Address Id: 15634340 => Updated with Vin: 1NXBR32E24Z237088 ## Mail History Id: 31243259, Consumer Id: 1363249, Address Id: 15635976 => Updated with Vin: 1HGCG16542A031087 ## Mail History Id: 31243261, Consumer Id: 1379625, Address Id: 2568702 => Updated with Vin: 1HGES16394L003119 ## Total mail_history records updated with vin numbers: 9 out of 11 ============================================================ ====== Tracking Id: 2654 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-11 10:22:20') AND us2_order_type_id = 3 ## Order found: 2583 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2583 AND product_id = 2150 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3815 ## Mailing found: '13602' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243917, Consumer Id: 1360833, Address Id: 15633200 => Updated with Vin: SHSRD68484U209637 ## Mail History Id: 31243913, Consumer Id: 1379443, Address Id: 15671888 => Updated with Vin: 1HGCG22502A014556 ## Mail History Id: 31243983, Consumer Id: 1360589, Address Id: 15633027 => Updated with Vin: 5J6YH17684L012200 ## Mail History Id: 31244003, Consumer Id: 1364703, Address Id: 15637670 => Updated with Vin: SHSRD78824U224496 ## Mail History Id: 31243907, Consumer Id: 1378374, Address Id: 15671321 => Updated with Vin: 2HGES267X4H527319 ## Mail History Id: 31244017, Consumer Id: 1366441, Address Id: 15639278 => Updated with Vin: 2HJYK16517H531960 ## Mail History Id: 31243971, Consumer Id: 1367129, Address Id: 3454829 => Updated with Vin: 2HKRL1860YH535390 ## Mail History Id: 31244019, Consumer Id: 1379420, Address Id: 15671876 => Updated with Vin: 5FNRL38415B071711 ## Mail History Id: 31243875, Consumer Id: 1379451, Address Id: 15671894 => Updated with Vin: 1HGCM56356A048503 ## Mail History Id: 31243861, Consumer Id: 1379433, Address Id: 15671882 => Updated with Vin: 1HGCG325XYA025627 ## Mail History Id: 31243945, Consumer Id: 1368430, Address Id: 2569983 => Updated with Vin: 1HGCG5643XA126004 ## Total mail_history records updated with vin numbers: 11 out of 11 ============================================================ ====== Tracking Id: 2655 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-11 10:23:08') AND us2_order_type_id = 3 ## Order found: 2583 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2583 AND product_id = 2152 ## Job Group Found: '582' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('582') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108007') AND customer_id = 3815 ## Mailing found: '13570' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243343, Consumer Id: 1359590, Address Id: 15632264 => Updated with Vin: 5J6YH28663L048017 ## Mail History Id: 31243345, Consumer Id: 1362886, Address Id: 15635736 => Updated with Vin: SHSRD78906U407097 ## Mail History Id: 31243347, Consumer Id: 1379090, Address Id: 15671744 => Updated with Vin: JHLRD78482C022635 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2656 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-11 10:27:52') AND us2_order_type_id = 3 ## Order found: 2584 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2584 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3795 ## Mailing found: '13618' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242576, Consumer Id: 1068690, Address Id: 14961374 => Updated with Vin: 2B3HD56J7YH223245 ## Mail History Id: 31242660, Consumer Id: 1056971, Address Id: 14956535 => Updated with Vin: 1HGCM72776A008895 ## Mail History Id: 31242622, Consumer Id: 1056885, Address Id: 11598802 => Updated with Vin: SHSRD78986U423550 ## Mail History Id: 31242640, Consumer Id: 1057077, Address Id: 14956562 => Updated with Vin: 5FNRL387X6B441761 ## Mail History Id: 31242618, Consumer Id: 1059307, Address Id: 3060575 => Updated with Vin: 5J6YH18797L000990 ## Mail History Id: 31242598, Consumer Id: 1060135, Address Id: 2513541 => Updated with Vin: 1HGCD5630TA279661 ## Mail History Id: 31242570, Consumer Id: 1060138, Address Id: 14957404 => Updated with Vin: 5FNRL38436B012807 ## Mail History Id: 31242602, Consumer Id: 1061559, Address Id: 3024367 => Updated with Vin: 1HGCM72644A024377 ## Total mail_history records updated with vin numbers: 8 out of 10 ============================================================ ====== Tracking Id: 2657 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-11 10:28:03') AND us2_order_type_id = 3 ## Order found: 2584 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2584 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3795 ## Mailing found: '13618' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242648, Consumer Id: 1056500, Address Id: 5361854 => Updated with Vin: 2HJYK16576H547420 ## Mail History Id: 31242632, Consumer Id: 1057061, Address Id: 6871377 => Updated with Vin: 5FNYF28466B032840 ## Mail History Id: 31242606, Consumer Id: 1057384, Address Id: 14955532 => Updated with Vin: 2HGFG12656H570966 ## Mail History Id: 31242612, Consumer Id: 1058758, Address Id: 14957039 => Updated with Vin: 5FNRL38617B053097 ## Mail History Id: 31242630, Consumer Id: 1058756, Address Id: 12055952 => Updated with Vin: 5FNRL38877B077700 ## Mail History Id: 31242624, Consumer Id: 1060188, Address Id: 4265225 => Updated with Vin: 1FAFP34394W113644 ## Mail History Id: 31242422, Consumer Id: 1060170, Address Id: 14957193 => Updated with Vin: 5FNYF28328B021845 ## Mail History Id: 31242560, Consumer Id: 1068076, Address Id: 14961217 => Updated with Vin: 1HGCG5659XA071549 ## Mail History Id: 31242592, Consumer Id: 1061255, Address Id: 14957708 => Updated with Vin: 1HGCM66535A003694 ## Total mail_history records updated with vin numbers: 9 out of 12 ============================================================ ====== Tracking Id: 2658 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-11 10:42:16') AND us2_order_type_id = 3 ## Order found: 2576 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2576 AND product_id = 140 ## Job Group Found: '582' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('582') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108007') AND customer_id = 3230 ## Mailing found: '13567' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243349, Consumer Id: 66967, Address Id: 47294 => Updated with Vin: 1FTPX14556FB12370 ## Mail History Id: 31243351, Consumer Id: 64669, Address Id: 51086 => Updated with Vin: 1FMCU93134KB35862 ## Mail History Id: 31243351, Consumer Id: 64669, Address Id: 51086 => Updated with Vin: 1FMCU93134KB35862 ## Mail History Id: 31243353, Consumer Id: 67487, Address Id: 49730 => Updated with Vin: 1FAFP34N96W183939 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2659 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-11 11:12:33') AND us2_order_type_id = 3 ## Order found: 2585 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2585 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3486 ## Mailing found: '13612' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242944, Consumer Id: 467530, Address Id: 9820170 => Updated with Vin: 2CNDL63F566035785 ## Mail History Id: 31242838, Consumer Id: 486184, Address Id: 9825831 => Updated with Vin: 1GNEC13R0XJ507697 ## Mail History Id: 31242782, Consumer Id: 584203, Address Id: 1562982 => Updated with Vin: 1G1AK55FX67882456 ## Mail History Id: 31242662, Consumer Id: 463889, Address Id: 1031512 => Updated with Vin: 1GNEC16Z94J204862 ## Mail History Id: 31242736, Consumer Id: 480256, Address Id: 7217204 => Updated with Vin: 1GNDS13S352246106 ## Mail History Id: 31242700, Consumer Id: 477426, Address Id: 1034191 => Updated with Vin: 3GNEC13T92G214287 ## Mail History Id: 31242690, Consumer Id: 463988, Address Id: 1033488 => Updated with Vin: 1GNEC13V74R156183 ## Mail History Id: 31242852, Consumer Id: 471260, Address Id: 9823536 => Updated with Vin: 3GNEC12J38G134492 ## Mail History Id: 31242806, Consumer Id: 465165, Address Id: 1037830 => Updated with Vin: 3GNEC12T24G303865 ## Mail History Id: 31242680, Consumer Id: 476634, Address Id: 1032383 => Updated with Vin: 1GNEC13ZX3J327248 ## Mail History Id: 31242926, Consumer Id: 466710, Address Id: 2014362 => Updated with Vin: 2G1WW12E049304425 ## Mail History Id: 31242750, Consumer Id: 476961, Address Id: 9823870 => Updated with Vin: 1G1BL52P3TR157019 ## Mail History Id: 31242702, Consumer Id: 467327, Address Id: 5418675 => Updated with Vin: 2GCEC13T151257415 ## Mail History Id: 31242754, Consumer Id: 478822, Address Id: 1035711 => Updated with Vin: 3GNEK13TX3G121282 ## Mail History Id: 31242774, Consumer Id: 467746, Address Id: 1036871 => Updated with Vin: 3GNDA23DX6S573764 ## Mail History Id: 31242664, Consumer Id: 467986, Address Id: 814252 => Updated with Vin: 2GCEC13V361233197 ## Mail History Id: 31242758, Consumer Id: 607246, Address Id: 9824820 => Updated with Vin: 1GCHC24K77E551279 ## Mail History Id: 31242954, Consumer Id: 481746, Address Id: 9824978 => Updated with Vin: 1G1ZT54835F322043 ## Mail History Id: 31242756, Consumer Id: 486456, Address Id: 1035735 => Updated with Vin: 2G1WB58K579341393 ## Mail History Id: 31242768, Consumer Id: 470325, Address Id: 9823024 => Updated with Vin: 1GNFC13J17J382725 ## Mail History Id: 31242830, Consumer Id: 485823, Address Id: 3047694 => Updated with Vin: 2G1WC581869363116 ## Mail History Id: 31242672, Consumer Id: 470140, Address Id: 9822916 => Updated with Vin: 1G1AL15FX77337994 ## Mail History Id: 31242724, Consumer Id: 470558, Address Id: 1068709 => Updated with Vin: 1GNFC13C07R394173 ## Mail History Id: 31242694, Consumer Id: 470819, Address Id: 9823294 => Updated with Vin: 1GNFC13077R140935 ## Mail History Id: 31242832, Consumer Id: 490246, Address Id: 9826464 => Updated with Vin: 2G1WW12M7W9274785 ## Mail History Id: 31242912, Consumer Id: 470930, Address Id: 9823359 => Updated with Vin: 1GKEC16Z52J203315 ## Mail History Id: 31242686, Consumer Id: 524280, Address Id: 9854795 => Updated with Vin: 1GCEK19J08Z125458 ## Mail History Id: 31242916, Consumer Id: 471267, Address Id: 9823541 => Updated with Vin: 3GNCA13D98S659334 ## Mail History Id: 31242812, Consumer Id: 489445, Address Id: 9854667 => Updated with Vin: 1GNFC13JX8R192179 ## Mail History Id: 31242952, Consumer Id: 489456, Address Id: 9854676 => Updated with Vin: 3GNEC12J38G238643 ## Mail History Id: 31242882, Consumer Id: 584206, Address Id: 635926 => Updated with Vin: 1G1YY25W685114046 ## Mail History Id: 31242918, Consumer Id: 610012, Address Id: 11754783 => Updated with Vin: 2G1FP22K112133648 ## Mail History Id: 31242734, Consumer Id: 609171, Address Id: 11754263 => Updated with Vin: 3GNEC13T12G152884 ## Mail History Id: 31242710, Consumer Id: 610014, Address Id: 11754784 => Updated with Vin: 2GCEC19VX61135002 ## Mail History Id: 31242760, Consumer Id: 610016, Address Id: 1077579 => Updated with Vin: WBAFB33561LH20156 ## Mail History Id: 31242846, Consumer Id: 610015, Address Id: 11754785 => Updated with Vin: 2CNDL13F666145750 ## Mail History Id: 31242862, Consumer Id: 610011, Address Id: 11754782 => Updated with Vin: 2GCEK19T3Y1245278 ## Mail History Id: 31242748, Consumer Id: 610013, Address Id: 1434653 => Updated with Vin: 1G1JF5248T7120598 ## Mail History Id: 31242720, Consumer Id: 609675, Address Id: 11754638 => Updated with Vin: 2G1WX12K449194532 ## Total mail_history records updated with vin numbers: 39 out of 47 ============================================================ ====== Tracking Id: 2660 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-11 11:12:47') AND us2_order_type_id = 3 ## Order found: 2585 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2585 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3486 ## Mailing found: '13612' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242840, Consumer Id: 480859, Address Id: 5285304 => Updated with Vin: 1GCEK19T0XE148438 ## Mail History Id: 31242890, Consumer Id: 470817, Address Id: 8118051 => Updated with Vin: 2CNDL937686055556 ## Mail History Id: 31242716, Consumer Id: 467719, Address Id: 9821704 => Updated with Vin: 3GNDA23PX6S587559 ## Mail History Id: 31242696, Consumer Id: 480043, Address Id: 9824530 => Updated with Vin: 1GCHK23153F139118 ## Mail History Id: 31242870, Consumer Id: 468742, Address Id: 9822189 => Updated with Vin: 1G1AK55F667742050 ## Mail History Id: 31242878, Consumer Id: 486057, Address Id: 9825772 => Updated with Vin: 2G1WM15K269264813 ## Mail History Id: 31242892, Consumer Id: 470812, Address Id: 9823291 => Updated with Vin: 1GNFC16068R172398 ## Mail History Id: 31242940, Consumer Id: 470815, Address Id: 9823292 => Updated with Vin: 1G1YY25U275137434 ## Total mail_history records updated with vin numbers: 8 out of 10 ============================================================ ====== Tracking Id: 2661 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-11 11:12:59') AND us2_order_type_id = 3 ## Order found: 2585 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2585 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3486 ## Mailing found: '13612' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2662 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-11 11:13:28') AND us2_order_type_id = 3 ## Order found: 2586 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2586 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3416 ## Mailing found: '13607' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242507, Consumer Id: 692568, Address Id: 10934018 => Updated with Vin: 1GYEK63N22R193643 ## Mail History Id: 31242547, Consumer Id: 688214, Address Id: 11796788 => Updated with Vin: 1G6KD52Y6TU306598 ## Mail History Id: 31242549, Consumer Id: 693149, Address Id: 1969838 => Updated with Vin: 1G6KD54Y15U122895 ## Mail History Id: 31242465, Consumer Id: 693139, Address Id: 11798698 => Updated with Vin: 19UUA5669YA050281 ## Mail History Id: 31242539, Consumer Id: 693123, Address Id: 11798691 => Updated with Vin: 2FMDA5146WBA09768 ## Mail History Id: 31242527, Consumer Id: 693148, Address Id: 4782035 => Updated with Vin: 1G6EL12Y7SU616668 ## Mail History Id: 31242473, Consumer Id: 684304, Address Id: 1958969 => Updated with Vin: 1G6EL12Y01B109122 ## Mail History Id: 31242571, Consumer Id: 682113, Address Id: 11794986 => Updated with Vin: 1G6KS52Y4TU809472 ## Mail History Id: 31242493, Consumer Id: 686707, Address Id: 1962958 => Updated with Vin: 1G6DM57N730112371 ## Mail History Id: 31242519, Consumer Id: 688245, Address Id: 1967983 => Updated with Vin: 1G6KS54Y24U122618 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 2663 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-11 11:13:33') AND us2_order_type_id = 3 ## Order found: 2587 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2587 AND product_id = 143 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3491 ## Mailing found: '13595' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243862, Consumer Id: 810914, Address Id: 11874803 => Updated with Vin: 1GNDT13S062171525 ## Mail History Id: 31243886, Consumer Id: 811809, Address Id: 11886163 => Updated with Vin: 1G1ZS58F37F123671 ## Mail History Id: 31243896, Consumer Id: 812920, Address Id: 11887511 => Updated with Vin: 1GNDS13S972162469 ## Mail History Id: 31243836, Consumer Id: 813987, Address Id: 11876183 => Updated with Vin: 1GCCS148448212727 ## Mail History Id: 31243900, Consumer Id: 839462, Address Id: 11895259 => Updated with Vin: KL1TD56618B051718 ## Mail History Id: 31243850, Consumer Id: 814986, Address Id: 11889645 => Updated with Vin: 3A4FY58B86T350505 ## Mail History Id: 31243842, Consumer Id: 815723, Address Id: 11890445 => Updated with Vin: 1D7HW28K86S715436 ## Mail History Id: 31243880, Consumer Id: 815443, Address Id: 11890242 => Updated with Vin: 1GCEK19T53E110178 ## Mail History Id: 31243832, Consumer Id: 839972, Address Id: 11895575 => Updated with Vin: 1C4GP64L5YB607853 ## Mail History Id: 31243840, Consumer Id: 815532, Address Id: 11875216 => Updated with Vin: KL1TD56618B111349 ## Mail History Id: 31243888, Consumer Id: 939909, Address Id: 11961668 => Updated with Vin: 1GCEC14CX8Z260730 ## Mail History Id: 31243902, Consumer Id: 1170125, Address Id: 15028774 => Updated with Vin: KL1TD666X8B278122 ## Mail History Id: 31243858, Consumer Id: 1126445, Address Id: 14991883 => Updated with Vin: 2CNDL13F876027653 ## Mail History Id: 31243844, Consumer Id: 1126446, Address Id: 11892746 => Updated with Vin: 2GCEK13T261191204 ## Mail History Id: 31243826, Consumer Id: 1126440, Address Id: 14991879 => Updated with Vin: 1GKFK16Z33J169786 ## Mail History Id: 31243894, Consumer Id: 1157878, Address Id: 15019242 => Updated with Vin: 1G1ZS58F38F116396 ## Mail History Id: 31243882, Consumer Id: 834943, Address Id: 11892582 => Updated with Vin: 2GCEC19K6L1109711 ## Mail History Id: 31243860, Consumer Id: 826613, Address Id: 11881383 => Updated with Vin: 2G1WL52M1V1143297 ## Mail History Id: 31243854, Consumer Id: 832580, Address Id: 11890924 => Updated with Vin: 2G1WF52E049317067 ## Mail History Id: 31243898, Consumer Id: 1126443, Address Id: 14991881 => Updated with Vin: 2GCEC13C671525782 ## Mail History Id: 31243864, Consumer Id: 1126441, Address Id: 11888639 => Updated with Vin: 1GCHK23648F168273 ## Mail History Id: 31243874, Consumer Id: 824928, Address Id: 11880203 => Updated with Vin: 2G1WX15K729248401 ## Mail History Id: 31243876, Consumer Id: 824391, Address Id: 11879449 => Updated with Vin: 1GCEC14T23Z312862 ## Mail History Id: 31243828, Consumer Id: 1170124, Address Id: 11887827 => Updated with Vin: 5TBET34105S485447 ## Total mail_history records updated with vin numbers: 24 out of 32 ============================================================ ====== Tracking Id: 2664 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-11 11:13:40') AND us2_order_type_id = 3 ## Order found: 2586 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2586 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3416 ## Mailing found: '13607' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242461, Consumer Id: 665949, Address Id: 11784850 => Updated with Vin: 1G6DM57N730137173 ## Mail History Id: 31242505, Consumer Id: 625835, Address Id: 11766150 => Updated with Vin: 2G1WH55K149333516 ## Mail History Id: 31242553, Consumer Id: 693251, Address Id: 11798749 => Updated with Vin: 4T1BG22K11U045274 ## Mail History Id: 31242487, Consumer Id: 693271, Address Id: 11797869 => Updated with Vin: 1G6KD54Y4WU806986 ## Mail History Id: 31242543, Consumer Id: 677039, Address Id: 1969552 => Updated with Vin: 1G6DW677260151925 ## Mail History Id: 31242533, Consumer Id: 693279, Address Id: 11798762 => Updated with Vin: 2P4FP2531XR425906 ## Mail History Id: 31242469, Consumer Id: 693280, Address Id: 1967189 => Updated with Vin: 1G2NW52E74M631843 ## Mail History Id: 31242541, Consumer Id: 683896, Address Id: 11795502 => Updated with Vin: 1G3CW52L7R4322186 ## Mail History Id: 31242557, Consumer Id: 683684, Address Id: 1970181 => Updated with Vin: 1G6KS54Y43U151682 ## Mail History Id: 31242501, Consumer Id: 687808, Address Id: 8332187 => Updated with Vin: 1GYEE637350121108 ## Mail History Id: 31242497, Consumer Id: 691121, Address Id: 11797841 => Updated with Vin: 1G6DP577470100905 ## Mail History Id: 31242485, Consumer Id: 692255, Address Id: 11798276 => Updated with Vin: 1G6DW677760216915 ## Total mail_history records updated with vin numbers: 12 out of 14 ============================================================ ====== Tracking Id: 2665 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-11 11:13:56') AND us2_order_type_id = 3 ## Order found: 2587 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2587 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3491 ## Mailing found: '13613' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242943, Consumer Id: 816076, Address Id: 11891252 => Updated with Vin: 1D8HB48NX6F117290 ## Mail History Id: 31242885, Consumer Id: 812721, Address Id: 11887385 => Updated with Vin: 2GCEK13Z771141422 ## Mail History Id: 31242853, Consumer Id: 813445, Address Id: 11888074 => Updated with Vin: 1GCEC14C57Z522863 ## Mail History Id: 31242825, Consumer Id: 814916, Address Id: 11889598 => Updated with Vin: 1G1AK18F487103625 ## Mail History Id: 31242851, Consumer Id: 815583, Address Id: 11890341 => Updated with Vin: 1G1AK15F667797574 ## Mail History Id: 31242793, Consumer Id: 816094, Address Id: 11891268 => Updated with Vin: 3A4FY58B77T534285 ## Mail History Id: 31242947, Consumer Id: 840000, Address Id: 11895607 => Updated with Vin: 1GCHK29U82E153536 ## Mail History Id: 31242809, Consumer Id: 816080, Address Id: 11891254 => Updated with Vin: 1GNFK13098R247294 ## Mail History Id: 31242863, Consumer Id: 839854, Address Id: 11891370 => Updated with Vin: 1GCHC33FXTF019233 ## Mail History Id: 31242923, Consumer Id: 815350, Address Id: 11880717 => Updated with Vin: 2G1WT58K079209168 ## Mail History Id: 31242889, Consumer Id: 813658, Address Id: 11881157 => Updated with Vin: 1GCDS13E478236073 ## Mail History Id: 31242909, Consumer Id: 840012, Address Id: 11895609 => Updated with Vin: 1G1NE52M2X6116322 ## Mail History Id: 31242779, Consumer Id: 835370, Address Id: 11892817 => Updated with Vin: 1GNEK13Z83R167679 ## Total mail_history records updated with vin numbers: 13 out of 14 ============================================================ ====== Tracking Id: 2666 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-11 11:14:05') AND us2_order_type_id = 3 ## Order found: 2588 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2588 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2667 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-11 11:14:08') AND us2_order_type_id = 3 ## Order found: 2588 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2588 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3525 ## Mailing found: '13614' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242441, Consumer Id: 487284, Address Id: 9851024 => Updated with Vin: KMHWF35H95A203345 ## Mail History Id: 31242425, Consumer Id: 487181, Address Id: 9850823 => Updated with Vin: 19UYA2244VL003681 ## Mail History Id: 31242419, Consumer Id: 524921, Address Id: 9855255 => Updated with Vin: KMHFU45E54A321795 ## Mail History Id: 31242449, Consumer Id: 521320, Address Id: 9849574 => Updated with Vin: KM8SB12B14U630577 ## Mail History Id: 31242437, Consumer Id: 609368, Address Id: 9688012 => Updated with Vin: KMHDU46D88U273940 ## Mail History Id: 31242433, Consumer Id: 521953, Address Id: 9852014 => Updated with Vin: KMHDN46D54U893426 ## Mail History Id: 31242451, Consumer Id: 488619, Address Id: 9852406 => Updated with Vin: 5NPET46C17H278201 ## Mail History Id: 31242423, Consumer Id: 525440, Address Id: 9855639 => Updated with Vin: KMHCG45G9YU129814 ## Total mail_history records updated with vin numbers: 8 out of 11 ============================================================ ====== Tracking Id: 2668 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-11 11:14:09') AND us2_order_type_id = 3 ## Order found: 2587 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2587 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3491 ## Mailing found: '13613' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242873, Consumer Id: 839630, Address Id: 11895368 => Updated with Vin: 1Y1SK5287XZ407074 ## Mail History Id: 31242801, Consumer Id: 838615, Address Id: 1298733 => Updated with Vin: 1G3WS52K3WF406831 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2669 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-11 11:14:21') AND us2_order_type_id = 3 ## Order found: 2588 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2588 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3525 ## Mailing found: '13614' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242439, Consumer Id: 489332, Address Id: 9853152 => Updated with Vin: 1FMPU16LX3LA41230 ## Mail History Id: 31242439, Consumer Id: 489332, Address Id: 9853152 => Updated with Vin: 1FMPU16LX3LA41230 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2670 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-11 11:14:22') AND us2_order_type_id = 3 ## Order found: 2587 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2587 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3491 ## Mailing found: '13613' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242833, Consumer Id: 815824, Address Id: 11890525 => Updated with Vin: 1G8AJ55F76Z202439 ## Mail History Id: 31242927, Consumer Id: 815827, Address Id: 11890527 => Updated with Vin: 1FAFP34N07W200967 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2671 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-11 11:15:21') AND us2_order_type_id = 3 ## Order found: 2589 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2589 AND product_id = 144 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3705 ## Mailing found: '13598' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243936, Consumer Id: 962645, Address Id: 14835507 => Updated with Vin: 3GNDA13D46S533836 ## Mail History Id: 31243906, Consumer Id: 965176, Address Id: 11387342 => Updated with Vin: 1GTEC14X84Z252610 ## Mail History Id: 31243964, Consumer Id: 1126164, Address Id: 14991916 => Updated with Vin: 1G4HE57Y98U122448 ## Mail History Id: 31243938, Consumer Id: 1126165, Address Id: 14843121 => Updated with Vin: 1GNDV23198D136142 ## Mail History Id: 31243934, Consumer Id: 1126166, Address Id: 11387821 => Updated with Vin: 1G6DW677350128281 ## Mail History Id: 31243930, Consumer Id: 1157897, Address Id: 15019286 => Updated with Vin: 2GTEC638X81268443 ## Mail History Id: 31243952, Consumer Id: 1170165, Address Id: 8326954 => Updated with Vin: 1GNFC13027R242241 ## Mail History Id: 31243948, Consumer Id: 961140, Address Id: 14831791 => Updated with Vin: 2G1WF52E839313010 ## Mail History Id: 31243912, Consumer Id: 975395, Address Id: 7089525 => Updated with Vin: 2G4WS52J231273016 ## Mail History Id: 31243958, Consumer Id: 1126494, Address Id: 14845154 => Updated with Vin: 3C4FY58B15T608478 ## Mail History Id: 31243954, Consumer Id: 976972, Address Id: 14844759 => Updated with Vin: 1G6KE57Y51U104306 ## Mail History Id: 31243904, Consumer Id: 978579, Address Id: 14839790 => Updated with Vin: 1G1ZT52865F136824 ## Mail History Id: 31243910, Consumer Id: 1028450, Address Id: 14944265 => Updated with Vin: 3GTEC14X77G147349 ## Mail History Id: 31243936, Consumer Id: 1126495, Address Id: 14835507 => Updated with Vin: SAJDA14CXYLF12775 ## Mail History Id: 31243928, Consumer Id: 1126491, Address Id: 14991917 => Updated with Vin: 1GKEC13T26R125518 ## Mail History Id: 31243950, Consumer Id: 1126493, Address Id: 14991919 => Updated with Vin: 45VXA02B1MW001459 ## Mail History Id: 31243914, Consumer Id: 1764061, Address Id: 9159150 => Updated with Vin: 1GCCS339688204043 ## Total mail_history records updated with vin numbers: 17 out of 24 ============================================================ ====== Tracking Id: 2672 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-11 11:15:35') AND us2_order_type_id = 3 ## Order found: 2589 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2589 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2673 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-11 11:15:38') AND us2_order_type_id = 3 ## Order found: 2590 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2590 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2674 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-11 11:15:42') AND us2_order_type_id = 3 ## Order found: 2590 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2590 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3808 ## Mailing found: '13619' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242589, Consumer Id: 1266449, Address Id: 15437928 => Updated with Vin: 1G1AK15F667673174 ## Mail History Id: 31242643, Consumer Id: 1266500, Address Id: 15028957 => Updated with Vin: 1GNDU23L36D184706 ## Mail History Id: 31242639, Consumer Id: 1266180, Address Id: 15437362 => Updated with Vin: 3GNDA33P97S511144 ## Mail History Id: 31242593, Consumer Id: 1266271, Address Id: 14813747 => Updated with Vin: 2GCEC19T041179957 ## Mail History Id: 31242623, Consumer Id: 1266179, Address Id: 15437719 => Updated with Vin: 1GNDS13S522132202 ## Mail History Id: 31242987, Consumer Id: 1266373, Address Id: 15437866 => Updated with Vin: 2GCEC19T0X1250675 ## Mail History Id: 31242659, Consumer Id: 1266177, Address Id: 15037988 => Updated with Vin: 1GCHK23D26F228904 ## Mail History Id: 31242683, Consumer Id: 1266485, Address Id: 15437960 => Updated with Vin: 1GCEC19X55Z201849 ## Total mail_history records updated with vin numbers: 8 out of 10 ============================================================ ====== Tracking Id: 2675 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-11 11:15:47') AND us2_order_type_id = 3 ## Order found: 2589 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2589 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3705 ## Mailing found: '13616' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242955, Consumer Id: 972024, Address Id: 4823589 => Updated with Vin: 2GCEC13CX81173226 ## Mail History Id: 31242971, Consumer Id: 972026, Address Id: 14842562 => Updated with Vin: 2GCEC19JX81203055 ## Mail History Id: 31242965, Consumer Id: 973328, Address Id: 14836974 => Updated with Vin: 1GTEC14V31Z242450 ## Mail History Id: 31242967, Consumer Id: 975942, Address Id: 14831108 => Updated with Vin: 2GCEC19V331103150 ## Mail History Id: 31242969, Consumer Id: 980457, Address Id: 14846672 => Updated with Vin: 2CNDL63F566189378 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2676 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-11 11:15:55') AND us2_order_type_id = 3 ## Order found: 2590 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2590 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3808 ## Mailing found: '13619' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242681, Consumer Id: 1171368, Address Id: 15029560 => Updated with Vin: 3GNEC13T13G233546 ## Mail History Id: 31242599, Consumer Id: 1171525, Address Id: 15029657 => Updated with Vin: 1GKDS13S242302600 ## Mail History Id: 31242649, Consumer Id: 1171612, Address Id: 15029776 => Updated with Vin: 1GKEK13V04R285026 ## Mail History Id: 31242745, Consumer Id: 1171514, Address Id: 5229337 => Updated with Vin: 2G1WT58K579142244 ## Mail History Id: 31242729, Consumer Id: 1171647, Address Id: 14813800 => Updated with Vin: 1GCEC19T7XZ156493 ## Mail History Id: 31242633, Consumer Id: 1171441, Address Id: 15029627 => Updated with Vin: 3GNEC16R9XG145950 ## Mail History Id: 31242713, Consumer Id: 1171526, Address Id: 15029701 => Updated with Vin: 1GCEC19R7VE240872 ## Mail History Id: 31242709, Consumer Id: 1171576, Address Id: 15029746 => Updated with Vin: 2G1WL52M2W1132973 ## Mail History Id: 31242613, Consumer Id: 1171614, Address Id: 15029778 => Updated with Vin: 3GCEC14Z06G223493 ## Mail History Id: 31242737, Consumer Id: 1171533, Address Id: 15029708 => Updated with Vin: 2GTEC19T431363880 ## Mail History Id: 31242657, Consumer Id: 1171645, Address Id: 15029805 => Updated with Vin: 1GCEC14VX2Z189148 ## Mail History Id: 31242703, Consumer Id: 1171434, Address Id: 15029621 => Updated with Vin: 1GCEC14R3VZ168102 ## Mail History Id: 31242739, Consumer Id: 1171512, Address Id: 15029689 => Updated with Vin: 1GNEC13V04R247716 ## Mail History Id: 31242679, Consumer Id: 1171426, Address Id: 15029614 => Updated with Vin: 2GCEC19K2S1300248 ## Mail History Id: 31242643, Consumer Id: 1171435, Address Id: 15028957 => Updated with Vin: 1GCHC24U83E338773 ## Mail History Id: 31242665, Consumer Id: 1171640, Address Id: 14814661 => Updated with Vin: 1G1AL12F057573264 ## Mail History Id: 31242727, Consumer Id: 1171639, Address Id: 4511012 => Updated with Vin: 3GNEC12T54G239689 ## Total mail_history records updated with vin numbers: 17 out of 17 ============================================================ ====== Tracking Id: 2677 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-11 11:16:08') AND us2_order_type_id = 3 ## Order found: 2590 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2590 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3808 ## Mailing found: '13619' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242609, Consumer Id: 1287007, Address Id: 15460659 => Updated with Vin: 2GCEC19J871695809 ## Mail History Id: 31242693, Consumer Id: 1271443, Address Id: 15452017 => Updated with Vin: 1GBMP37B1W3309526 ## Mail History Id: 31242759, Consumer Id: 1281630, Address Id: 15460601 => Updated with Vin: 1G1YY22G345131703 ## Mail History Id: 31242667, Consumer Id: 1273063, Address Id: 6139322 => Updated with Vin: 1G1JC5246Y7322484 ## Mail History Id: 31242719, Consumer Id: 1267860, Address Id: 15450957 => Updated with Vin: 1GNDS13S942127247 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2678 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-11 11:42:27') AND us2_order_type_id = 3 ## Order found: 2591 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2591 AND product_id = 142 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2679 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-11 11:42:33') AND us2_order_type_id = 3 ## Order found: 2591 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2591 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3357 ## Mailing found: '13606' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243097, Consumer Id: 198294, Address Id: 407681 => Updated with Vin: 1YVHP84D055M07475 ## Mail History Id: 31243199, Consumer Id: 198436, Address Id: 407699 => Updated with Vin: 1FAFP4442YF105843 ## Mail History Id: 31243087, Consumer Id: 198107, Address Id: 407666 => Updated with Vin: JM3ER29L770132422 ## Mail History Id: 31243213, Consumer Id: 198508, Address Id: 407707 => Updated with Vin: 1HGCG32651A032712 ## Mail History Id: 31243121, Consumer Id: 198535, Address Id: 407711 => Updated with Vin: 2FMZA51491BA60163 ## Mail History Id: 31243151, Consumer Id: 198389, Address Id: 407693 => Updated with Vin: 5LMFU28R31L122552 ## Mail History Id: 31243207, Consumer Id: 198147, Address Id: 407668 => Updated with Vin: 1FMZU73E42ZB53034 ## Mail History Id: 31243129, Consumer Id: 188849, Address Id: 400763 => Updated with Vin: 1FMCU031X4KA42994 ## Mail History Id: 31243169, Consumer Id: 187785, Address Id: 398477 => Updated with Vin: JM3LW28A340529511 ## Mail History Id: 31243237, Consumer Id: 190288, Address Id: 399519 => Updated with Vin: 1HGCG327X2A031517 ## Mail History Id: 31243139, Consumer Id: 188278, Address Id: 398637 => Updated with Vin: JM3LW28A530338638 ## Mail History Id: 31243137, Consumer Id: 188896, Address Id: 400279 => Updated with Vin: 1YVFP80C535M50811 ## Mail History Id: 31243181, Consumer Id: 198181, Address Id: 407672 => Updated with Vin: 1MEFM55S13A604496 ## Mail History Id: 31243099, Consumer Id: 198363, Address Id: 407687 => Updated with Vin: 1F1GD29664G515707 ## Mail History Id: 31243071, Consumer Id: 153668, Address Id: 395894 => Updated with Vin: 1FAFP231X6G149740 ## Mail History Id: 31243211, Consumer Id: 198587, Address Id: 407716 => Updated with Vin: 1HGFA16856L052517 ## Mail History Id: 31243159, Consumer Id: 188155, Address Id: 399702 => Updated with Vin: 1FAFP3832YW407032 ## Mail History Id: 31243063, Consumer Id: 155818, Address Id: 397851 => Updated with Vin: 1FTYR10D98PA62016 ## Total mail_history records updated with vin numbers: 18 out of 22 ============================================================ ====== Tracking Id: 2680 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-11 11:42:36') AND us2_order_type_id = 3 ## Order found: 2592 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2592 AND product_id = 2150 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3721 ## Mailing found: '13599' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243562, Consumer Id: 1016645, Address Id: 6574991 => Updated with Vin: JM1BK323171747820 ## Mail History Id: 31243552, Consumer Id: 1007413, Address Id: 6661789 => Updated with Vin: JM1BJ225721568995 ## Mail History Id: 31243558, Consumer Id: 1017512, Address Id: 14933493 => Updated with Vin: 1YVFP80C465M23071 ## Mail History Id: 31243554, Consumer Id: 1015613, Address Id: 6662317 => Updated with Vin: 2MEFM75W74X615123 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2681 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-11 11:42:45') AND us2_order_type_id = 3 ## Order found: 2591 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2591 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2682 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-11 11:42:47') AND us2_order_type_id = 3 ## Order found: 2592 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2592 AND product_id = 2147 ## Job Group Found: '577' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('577') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108002') AND customer_id = 3721 ## Mailing found: '13578' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243273, Consumer Id: 1007661, Address Id: 14930411 => Updated with Vin: 1YVGF22C8X5815621 ## Mail History Id: 31243275, Consumer Id: 1010872, Address Id: 6657786 => Updated with Vin: 4F4YR46V23TM12272 ## Mail History Id: 31243277, Consumer Id: 1013771, Address Id: 6664235 => Updated with Vin: JM1NC25FX60101304 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 2683 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-11 11:42:49') AND us2_order_type_id = 3 ## Order found: 2591 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2591 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2684 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-11 12:15:06') AND us2_order_type_id = 3 ## Order found: 2593 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2593 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2685 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-11 12:15:09') AND us2_order_type_id = 3 ## Order found: 2593 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2593 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2686 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-11 12:15:12') AND us2_order_type_id = 3 ## Order found: 2593 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2593 AND product_id = 114 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3427 ## Mailing found: '13608' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242414, Consumer Id: 483335, Address Id: 8540106 => Updated with Vin: 5FNRL38267B073567 ## Mail History Id: 31242406, Consumer Id: 483177, Address Id: 9837728 => Updated with Vin: JM1BJ227530645355 ## Mail History Id: 31242416, Consumer Id: 483178, Address Id: 9837729 => Updated with Vin: 5FNRL18903B114142 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2687 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-11 12:15:19') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2688 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-11 14:14:55') AND us2_order_type_id = 3 ## Order found: 2580 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2580 AND product_id = 143 ## Job Group Found: '576' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('576') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108001') AND customer_id = 3418 ## Mailing found: '13591' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243716, Consumer Id: 612354, Address Id: 11756053 => Updated with Vin: 1G6KD57958U133844 ## Mail History Id: 31243692, Consumer Id: 626881, Address Id: 11764546 => Updated with Vin: 1G6KD54Y64U241069 ## Mail History Id: 31243764, Consumer Id: 626920, Address Id: 11764577 => Updated with Vin: 3GYEK63N73G111584 ## Mail History Id: 31243646, Consumer Id: 626909, Address Id: 11764568 => Updated with Vin: 1G6KD57Y27U126744 ## Mail History Id: 31243770, Consumer Id: 626891, Address Id: 11764554 => Updated with Vin: 1GYEE637270164440 ## Mail History Id: 31243626, Consumer Id: 610778, Address Id: 11014445 => Updated with Vin: 1GYEE63A440172403 ## Mail History Id: 31243752, Consumer Id: 626885, Address Id: 6771614 => Updated with Vin: 1GYEK63NX5R187898 ## Mail History Id: 31243742, Consumer Id: 612384, Address Id: 11756078 => Updated with Vin: 1GYEK63N64R123579 ## Mail History Id: 31243660, Consumer Id: 630241, Address Id: 6914326 => Updated with Vin: 1G6KD57966U113194 ## Mail History Id: 31243710, Consumer Id: 626880, Address Id: 11764545 => Updated with Vin: 1GCCS1444XK240192 ## Mail History Id: 31243670, Consumer Id: 626884, Address Id: 11764549 => Updated with Vin: 1LNHM87A22Y681010 ## Mail History Id: 31243766, Consumer Id: 611187, Address Id: 11755796 => Updated with Vin: 1G6DF577480191002 ## Mail History Id: 31243682, Consumer Id: 623161, Address Id: 11764198 => Updated with Vin: 1GYFK63867R360768 ## Mail History Id: 31243620, Consumer Id: 626915, Address Id: 11764572 => Updated with Vin: 1G6EL12Y2TU612691 ## Mail History Id: 31243756, Consumer Id: 611188, Address Id: 11755797 => Updated with Vin: 1G6DD67V780127353 ## Mail History Id: 31243748, Consumer Id: 629132, Address Id: 11769700 => Updated with Vin: 1GYFK46808R242376 ## Mail History Id: 31243658, Consumer Id: 611189, Address Id: 11755798 => Updated with Vin: 1GYFK63828R238135 ## Mail History Id: 31243600, Consumer Id: 629133, Address Id: 11418748 => Updated with Vin: 3GYFK62898G148868 ## Mail History Id: 31243750, Consumer Id: 626890, Address Id: 11764553 => Updated with Vin: 3GYEK62N34G285364 ## Mail History Id: 31243708, Consumer Id: 611181, Address Id: 8873812 => Updated with Vin: 1G6DP57V680100310 ## Mail History Id: 31243712, Consumer Id: 626897, Address Id: 6609155 => Updated with Vin: 1G6DM57N630135480 ## Mail History Id: 31243582, Consumer Id: 612394, Address Id: 8878818 => Updated with Vin: 1GYEE63A840142241 ## Mail History Id: 31243746, Consumer Id: 626923, Address Id: 6609552 => Updated with Vin: 1G6DP577560111541 ## Mail History Id: 31243616, Consumer Id: 626906, Address Id: 10326485 => Updated with Vin: 1G6DP577X60114189 ## Mail History Id: 31243774, Consumer Id: 626896, Address Id: 11418439 => Updated with Vin: 1G6DP577960174240 ## Mail History Id: 31243614, Consumer Id: 610867, Address Id: 11755531 => Updated with Vin: 1G6DT57V980178351 ## Mail History Id: 31243696, Consumer Id: 626911, Address Id: 11755519 => Updated with Vin: 1G6DW677X60219470 ## Mail History Id: 31243728, Consumer Id: 626903, Address Id: 11764563 => Updated with Vin: 2G4WS52J231248830 ## Mail History Id: 31243724, Consumer Id: 677585, Address Id: 11792522 => Updated with Vin: 1GYFK63857R100572 ## Mail History Id: 31243574, Consumer Id: 626892, Address Id: 11764555 => Updated with Vin: 1GYFK63867R279608 ## Mail History Id: 31243726, Consumer Id: 626917, Address Id: 11764574 => Updated with Vin: 1G6DP577X70142897 ## Mail History Id: 31243734, Consumer Id: 626876, Address Id: 11764542 => Updated with Vin: 1GYEE637460189404 ## Mail History Id: 31243734, Consumer Id: 626876, Address Id: 11764542 => Updated with Vin: 1GYEE637460189404 ## Mail History Id: 31243576, Consumer Id: 626898, Address Id: 11764559 => Updated with Vin: 1G6DM57T870140667 ## Mail History Id: 31243694, Consumer Id: 626910, Address Id: 11764569 => Updated with Vin: 1GYEK63N52R281800 ## Mail History Id: 31243736, Consumer Id: 626924, Address Id: 11764579 => Updated with Vin: 1G6KY5296TU815782 ## Mail History Id: 31243730, Consumer Id: 626918, Address Id: 11764575 => Updated with Vin: 1GYFK668X7R381733 ## Mail History Id: 31243762, Consumer Id: 626908, Address Id: 11764567 => Updated with Vin: 1G6KD54Y25U228496 ## Mail History Id: 31243636, Consumer Id: 626899, Address Id: 8873434 => Updated with Vin: 1G6DW677760217241 ## Mail History Id: 31243628, Consumer Id: 626902, Address Id: 11764562 => Updated with Vin: 1G6DM577440109706 ## Mail History Id: 31243676, Consumer Id: 626878, Address Id: 11418086 => Updated with Vin: 1G6DW677870166124 ## Mail History Id: 31243686, Consumer Id: 626893, Address Id: 11764556 => Updated with Vin: 1G6KD57Y96U127310 ## Mail History Id: 31243630, Consumer Id: 679417, Address Id: 11784751 => Updated with Vin: 1G6DP577270131778 ## Mail History Id: 31243592, Consumer Id: 626922, Address Id: 6923082 => Updated with Vin: 1G6KD52Y2TU305576 ## Mail History Id: 31243608, Consumer Id: 626889, Address Id: 11764552 => Updated with Vin: 1G6DW5277PR720296 ## Mail History Id: 31243652, Consumer Id: 610302, Address Id: 11755039 => Updated with Vin: 1G6DP57VX80124139 ## Mail History Id: 31243674, Consumer Id: 626921, Address Id: 11764578 => Updated with Vin: 1G6KD54Y22U115059 ## Mail History Id: 31243586, Consumer Id: 610232, Address Id: 11754978 => Updated with Vin: 3GYFK62807G300907 ## Mail History Id: 31243760, Consumer Id: 610391, Address Id: 11755122 => Updated with Vin: 1G6DG577180133930 ## Mail History Id: 31243698, Consumer Id: 610329, Address Id: 11755063 => Updated with Vin: 1G6KD57928U130531 ## Mail History Id: 31243632, Consumer Id: 610376, Address Id: 11755108 => Updated with Vin: 1G6DM577780127459 ## Mail History Id: 31243570, Consumer Id: 610373, Address Id: 11755105 => Updated with Vin: 1G6DN57U670130368 ## Mail History Id: 31243700, Consumer Id: 626894, Address Id: 11764557 => Updated with Vin: 1G6KF579X2U298306 ## Total mail_history records updated with vin numbers: 53 out of 63 ============================================================ ====== Tracking Id: 2689 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-11 14:15:12') AND us2_order_type_id = 3 ## Order found: 2594 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2594 AND product_id = 113 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3451 ## Mailing found: '13609' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31242991, Consumer Id: 614103, Address Id: 822789 => Updated with Vin: 1G6KF5799YU353238 ## Mail History Id: 31243029, Consumer Id: 628303, Address Id: 11765581 => Updated with Vin: JN1DA31A63T415854 ## Mail History Id: 31243031, Consumer Id: 619407, Address Id: 11761026 => Updated with Vin: 1GYEE63A450104488 ## Mail History Id: 31243027, Consumer Id: 628307, Address Id: 3405296 => Updated with Vin: 3GYEK62N65G183171 ## Mail History Id: 31243035, Consumer Id: 628302, Address Id: 11765580 => Updated with Vin: 1GYEK63N62R105578 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 2690 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-11 14:15:23') AND us2_order_type_id = 3 ## Order found: 2594 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2594 AND product_id = 112 ## Job Group Found: '579' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('579') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091108004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091108004') AND customer_id = 3451 ## Mailing found: '13609' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31243001, Consumer Id: 620260, Address Id: 11761346 => Updated with Vin: 1HGCG5648YA089646 ## Mail History Id: 31243025, Consumer Id: 612524, Address Id: 3243311 => Updated with Vin: 1GYEK63N23R263899 ## Mail History Id: 31243019, Consumer Id: 628501, Address Id: 11765718 => Updated with Vin: 1G6KD54YX5U100457 ## Total mail_history records updated with vin numbers: 3 out of 5 ============================================================ ====== Tracking Id: 2691 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-11 19:15:08') AND us2_order_type_id = 3 ## Order found: 2591 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2591 AND product_id = 55 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2692 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-11 19:54:47') AND us2_order_type_id = 3 ## Order found: 2579 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2579 AND product_id = 2150 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2693 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-11 20:15:01') AND us2_order_type_id = 3 ## Order found: 2575 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2575 AND product_id = 2152 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2694 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-11 20:15:13') AND us2_order_type_id = 3 ## Order found: 2575 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2575 AND product_id = 2153 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2695 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-11 20:15:25') AND us2_order_type_id = 3 ## Order found: 2575 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2575 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2696 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-11 20:15:28') AND us2_order_type_id = 3 ## Order found: 2575 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2575 AND product_id = 2150 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2697 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-12 07:15:26') AND us2_order_type_id = 3 ## Order found: 2615 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2615 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3503 ## Mailing found: '13701,13915' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631477, Consumer Id: 2174353, Address Id: 472080 => Updated with Vin: 4T1BG22K4WU368922 ## Mail History Id: 31631509, Consumer Id: 2166991, Address Id: 9733921 => Updated with Vin: JTMBD35V175072308 ## Mail History Id: 31631599, Consumer Id: 383976, Address Id: 9719036 => Updated with Vin: 5TEWN72N63Z195863 ## Mail History Id: 31631583, Consumer Id: 2166818, Address Id: 4427987 => Updated with Vin: JTLKT334464117263 ## Mail History Id: 31632569, Consumer Id: 2170072, Address Id: 474648 => Updated with Vin: JTEES41A182074280 ## Mail History Id: 31632539, Consumer Id: 2179501, Address Id: 9731497 => Updated with Vin: JTEEP21A440012061 ## Mail History Id: 31631631, Consumer Id: 2164995, Address Id: 9724116 => Updated with Vin: 2T1BR32E86C694315 ## Mail History Id: 31631667, Consumer Id: 2182194, Address Id: 9736098 => Updated with Vin: JTDBR32E352063596 ## Mail History Id: 31632551, Consumer Id: 2164515, Address Id: 9730995 => Updated with Vin: JTEBU14R160090520 ## Mail History Id: 31632555, Consumer Id: 2162995, Address Id: 9729027 => Updated with Vin: 4T1BK36B86U074227 ## Mail History Id: 31632577, Consumer Id: 2161924, Address Id: 9727960 => Updated with Vin: 2T1BR32EX5C456948 ## Mail History Id: 31631529, Consumer Id: 2172835, Address Id: 9720602 => Updated with Vin: 4T1BE32K52U526982 ## Mail History Id: 31632557, Consumer Id: 2164686, Address Id: 8691031 => Updated with Vin: JTMBD33V465026697 ## Mail History Id: 31632573, Consumer Id: 2170071, Address Id: 448890 => Updated with Vin: JTMBD31V885175314 ## Mail History Id: 31631553, Consumer Id: 2162666, Address Id: 9728776 => Updated with Vin: JTDBE32K353027693 ## Mail History Id: 31631555, Consumer Id: 2167535, Address Id: 9734856 => Updated with Vin: JTEBU14R750059545 ## Mail History Id: 31631458, Consumer Id: 2165548, Address Id: 9731973 => Updated with Vin: JTMBD33V465041667 ## Mail History Id: 31631465, Consumer Id: 2166644, Address Id: 9733666 => Updated with Vin: 5TDBA23C76S075601 ## Mail History Id: 31631663, Consumer Id: 2163391, Address Id: 499853 => Updated with Vin: JTEHD20V356044993 ## Mail History Id: 31631657, Consumer Id: 2160033, Address Id: 4381379 => Updated with Vin: 5TEVL52N03Z294393 ## Mail History Id: 31631665, Consumer Id: 2168037, Address Id: 9735484 => Updated with Vin: 5TBBV54117S461492 ## Mail History Id: 31631689, Consumer Id: 2183998, Address Id: 9736922 => Updated with Vin: 4T1BF28BX3U318869 ## Mail History Id: 31631647, Consumer Id: 2169584, Address Id: 9738493 => Updated with Vin: 4T1BB46K38U039717 ## Mail History Id: 31631693, Consumer Id: 2166672, Address Id: 9733688 => Updated with Vin: JTEBU11FX70022681 ## Mail History Id: 31631521, Consumer Id: 2166108, Address Id: 9733042 => Updated with Vin: 5TDBA23C76S061164 ## Mail History Id: 31631489, Consumer Id: 2170062, Address Id: 9744915 => Updated with Vin: 4T1BE46K97U156529 ## Mail History Id: 31631483, Consumer Id: 2171462, Address Id: 9719197 => Updated with Vin: 2T1BR18E0YC353098 ## Mail History Id: 31631485, Consumer Id: 2179332, Address Id: 9730716 => Updated with Vin: 2T1BR32E34C289878 ## Mail History Id: 31631505, Consumer Id: 2164706, Address Id: 9731137 => Updated with Vin: 5TEMU52N66Z221879 ## Mail History Id: 31631495, Consumer Id: 2169268, Address Id: 459731 => Updated with Vin: JTEEW41A482002588 ## Mail History Id: 31631446, Consumer Id: 2170073, Address Id: 11960475 => Updated with Vin: 4T4BE46K49R056251 ## Mail History Id: 31631461, Consumer Id: 2170081, Address Id: 4393630 => Updated with Vin: 5TDZK23C58S169247 ## Mail History Id: 31631717, Consumer Id: 2163278, Address Id: 9729646 => Updated with Vin: 5TBJU32146S458672 ## Mail History Id: 31631633, Consumer Id: 2170063, Address Id: 11699352 => Updated with Vin: JTDKB20U583410126 ## Mail History Id: 31631559, Consumer Id: 2175513, Address Id: 9723799 => Updated with Vin: 2T1BR12E71C404840 ## Mail History Id: 31631743, Consumer Id: 2173430, Address Id: 9721143 => Updated with Vin: 4T1BG22K1XU430701 ## Mail History Id: 31631531, Consumer Id: 2168127, Address Id: 9735553 => Updated with Vin: 4T1CA30P57U135630 ## Mail History Id: 31631471, Consumer Id: 2161547, Address Id: 9727410 => Updated with Vin: 2T1LR32E25C460027 ## Mail History Id: 31631449, Consumer Id: 2168526, Address Id: 9735869 => Updated with Vin: JTKDE177460117691 ## Total mail_history records updated with vin numbers: 39 out of 68 ============================================================ ====== Tracking Id: 2698 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-12 08:45:11') AND us2_order_type_id = 3 ## Order found: 2616 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2616 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3230 ## Mailing found: '13870' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2699 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-12 08:45:16') AND us2_order_type_id = 3 ## Order found: 2616 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2616 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3230 ## Mailing found: '13809' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723690, Consumer Id: 938076, Address Id: 11960359 => Updated with Vin: 1FTRW14W48FA04944 ## Mail History Id: 31723570, Consumer Id: 921737, Address Id: 48645 => Updated with Vin: 1FTZR15XXXPB82252 ## Mail History Id: 31723554, Consumer Id: 921740, Address Id: 48038 => Updated with Vin: 1FAHP33N68W204730 ## Mail History Id: 31723618, Consumer Id: 64431, Address Id: 48822 => Updated with Vin: 2FTRX18L01CA73936 ## Mail History Id: 31723726, Consumer Id: 921736, Address Id: 53505 => Updated with Vin: 3FAHP07Z68R250640 ## Mail History Id: 31723568, Consumer Id: 67142, Address Id: 49055 => Updated with Vin: 1FMZU83P91UB54621 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2700 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-12 09:18:32') AND us2_order_type_id = 3 ## Order found: 2617 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2617 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3470 ## Mailing found: '13668' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634569, Consumer Id: 554384, Address Id: 10688942 => Updated with Vin: 1B3ES56C03D257155 ## Mail History Id: 31634283, Consumer Id: 556920, Address Id: 10692585 => Updated with Vin: 3D7KA28CX4G178425 ## Mail History Id: 31634589, Consumer Id: 573664, Address Id: 10720161 => Updated with Vin: 1C3EL65R14N127232 ## Mail History Id: 31634501, Consumer Id: 566903, Address Id: 10692865 => Updated with Vin: 1D7KS28CX6J171702 ## Mail History Id: 31634425, Consumer Id: 557767, Address Id: 7469576 => Updated with Vin: 1C3EL55R04N239725 ## Mail History Id: 31634286, Consumer Id: 569500, Address Id: 10694071 => Updated with Vin: 2C3KA63H06H535946 ## Mail History Id: 31634375, Consumer Id: 558467, Address Id: 10694187 => Updated with Vin: 1D4GP45R05B134529 ## Mail History Id: 31634535, Consumer Id: 561376, Address Id: 10699284 => Updated with Vin: 1C4GP45R15B259441 ## Mail History Id: 31634457, Consumer Id: 561375, Address Id: 10699283 => Updated with Vin: 1C4GP45R45B259448 ## Mail History Id: 31634327, Consumer Id: 562846, Address Id: 2035474 => Updated with Vin: 2C3JA43R05H149874 ## Mail History Id: 31634337, Consumer Id: 582872, Address Id: 2039054 => Updated with Vin: 2B3KA43G97H814743 ## Mail History Id: 31634547, Consumer Id: 582850, Address Id: 10744566 => Updated with Vin: 2A8HR64X08R614284 ## Mail History Id: 31634351, Consumer Id: 575159, Address Id: 3493482 => Updated with Vin: 2C8GP34332R639948 ## Mail History Id: 31634363, Consumer Id: 565646, Address Id: 10707178 => Updated with Vin: 2A4GM48466R679234 ## Mail History Id: 31634320, Consumer Id: 565862, Address Id: 10707186 => Updated with Vin: 2C4GM684X5R579525 ## Mail History Id: 31634449, Consumer Id: 580104, Address Id: 10736350 => Updated with Vin: 2C4GM68445R273226 ## Mail History Id: 31634427, Consumer Id: 580519, Address Id: 10737721 => Updated with Vin: 1J4HR48N26C212769 ## Mail History Id: 31634521, Consumer Id: 571362, Address Id: 10717843 => Updated with Vin: 1D7HL12X93S294636 ## Mail History Id: 31634259, Consumer Id: 572380, Address Id: 10719105 => Updated with Vin: 1J8GS48K58C140179 ## Mail History Id: 31634487, Consumer Id: 582866, Address Id: 10744581 => Updated with Vin: 2A8HR54P18R612862 ## Mail History Id: 31634270, Consumer Id: 582868, Address Id: 6056022 => Updated with Vin: 1J4GB39177L102162 ## Mail History Id: 31634277, Consumer Id: 582871, Address Id: 10744586 => Updated with Vin: 1J4HR58225C527324 ## Mail History Id: 31634435, Consumer Id: 582876, Address Id: 10616784 => Updated with Vin: 1B3ES66S15D113758 ## Mail History Id: 31634293, Consumer Id: 573009, Address Id: 10699577 => Updated with Vin: 1LNHM86S15Y632511 ## Mail History Id: 31634328, Consumer Id: 572901, Address Id: 10719364 => Updated with Vin: 1GAHG39U171198154 ## Mail History Id: 31634531, Consumer Id: 572906, Address Id: 10719365 => Updated with Vin: 2A8GM68X87R300417 ## Mail History Id: 31634493, Consumer Id: 572911, Address Id: 10719368 => Updated with Vin: 1J8GR48K87C534284 ## Mail History Id: 31634298, Consumer Id: 572903, Address Id: 7393752 => Updated with Vin: 1C3LC45K48N678419 ## Mail History Id: 31634272, Consumer Id: 572905, Address Id: 6025475 => Updated with Vin: 1J4GA39118L528515 ## Mail History Id: 31634389, Consumer Id: 572912, Address Id: 7604880 => Updated with Vin: 1D7HA16D74J170314 ## Total mail_history records updated with vin numbers: 30 out of 37 ============================================================ ====== Tracking Id: 2701 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-12 09:18:45') AND us2_order_type_id = 3 ## Order found: 2617 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2617 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3470 ## Mailing found: '13668' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634405, Consumer Id: 553980, Address Id: 10687700 => Updated with Vin: 2C4GP24R73R272988 ## Mail History Id: 31634473, Consumer Id: 558211, Address Id: 4688972 => Updated with Vin: 1J4GX48S44C404117 ## Mail History Id: 31634599, Consumer Id: 558996, Address Id: 10695724 => Updated with Vin: JA4MT31H4YP030372 ## Mail History Id: 31634557, Consumer Id: 571320, Address Id: 10717826 => Updated with Vin: 1D7HE42N85S308264 ## Mail History Id: 31634515, Consumer Id: 573153, Address Id: 10719485 => Updated with Vin: 2A8GM48L88R605161 ## Mail History Id: 31634335, Consumer Id: 566628, Address Id: 2290569 => Updated with Vin: 2B3LA73W66H369972 ## Mail History Id: 31634565, Consumer Id: 567231, Address Id: 10710893 => Updated with Vin: 3C8FY68BX3T535628 ## Mail History Id: 31634313, Consumer Id: 567853, Address Id: 6508957 => Updated with Vin: 2A4GM684X6R926301 ## Mail History Id: 31634543, Consumer Id: 568065, Address Id: 10713663 => Updated with Vin: 1J4FA39S56P778298 ## Mail History Id: 31634453, Consumer Id: 568453, Address Id: 4687453 => Updated with Vin: 2C8GP64L52R654419 ## Mail History Id: 31634361, Consumer Id: 569137, Address Id: 10714065 => Updated with Vin: 2C3KA53G06H538122 ## Mail History Id: 31634423, Consumer Id: 574632, Address Id: 10678920 => Updated with Vin: 1J4GK48K32W189775 ## Mail History Id: 31634399, Consumer Id: 570614, Address Id: 2091608 => Updated with Vin: 2B3KA43R37H820779 ## Mail History Id: 31634391, Consumer Id: 581306, Address Id: 6510945 => Updated with Vin: 1C3EL55R55N653147 ## Mail History Id: 31634305, Consumer Id: 571575, Address Id: 796314 => Updated with Vin: 1J4FA29135P340606 ## Mail History Id: 31634511, Consumer Id: 573025, Address Id: 2547317 => Updated with Vin: 1J8FT48W68D567537 ## Mail History Id: 31634483, Consumer Id: 583335, Address Id: 10745438 => Updated with Vin: 1B3ES26C52D554614 ## Mail History Id: 31634539, Consumer Id: 573154, Address Id: 10707655 => Updated with Vin: 1B3HB78K37D297281 ## Total mail_history records updated with vin numbers: 18 out of 22 ============================================================ ====== Tracking Id: 2702 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-12 09:18:57') AND us2_order_type_id = 3 ## Order found: 2617 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2617 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3470 ## Mailing found: '13668' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634343, Consumer Id: 577211, Address Id: 7348080 => Updated with Vin: 2C4GM684X5R589231 ## Mail History Id: 31634597, Consumer Id: 629589, Address Id: 1555682 => Updated with Vin: 1J8HS58288C217685 ## Mail History Id: 31634571, Consumer Id: 562508, Address Id: 10029196 => Updated with Vin: 3C4FY58B25T578519 ## Mail History Id: 31634415, Consumer Id: 563692, Address Id: 3169302 => Updated with Vin: 1D4GP25373B222278 ## Mail History Id: 31634273, Consumer Id: 568548, Address Id: 4046886 => Updated with Vin: 1J4HR58266C362511 ## Mail History Id: 31634333, Consumer Id: 569174, Address Id: 2542074 => Updated with Vin: 1A4GP45R26B601300 ## Mail History Id: 31634269, Consumer Id: 570993, Address Id: 780726 => Updated with Vin: 2C3KA43R77H774117 ## Mail History Id: 31634587, Consumer Id: 938983, Address Id: 11754676 => Updated with Vin: 1J4GS48K65C523853 ## Mail History Id: 31634397, Consumer Id: 573255, Address Id: 10719526 => Updated with Vin: 3A8FY48B58T126457 ## Mail History Id: 31634308, Consumer Id: 552651, Address Id: 10602594 => Updated with Vin: 3A4FY48B47T537526 ## Mail History Id: 31634281, Consumer Id: 938977, Address Id: 11960909 => Updated with Vin: 1J4GK48K54W183673 ## Mail History Id: 31634263, Consumer Id: 938302, Address Id: 11960548 => Updated with Vin: 1J8HS58268C219922 ## Total mail_history records updated with vin numbers: 12 out of 12 ============================================================ ====== Tracking Id: 2703 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-12 09:19:06') AND us2_order_type_id = 3 ## Order found: 2618 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2618 AND product_id = 142 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3768 ## Mailing found: '13706' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632171, Consumer Id: 1107122, Address Id: 8715448 => Updated with Vin: 1G6KD54Y25U177534 ## Mail History Id: 31632137, Consumer Id: 1109656, Address Id: 14982686 => Updated with Vin: 1G6DT57V480187765 ## Mail History Id: 31631923, Consumer Id: 1109657, Address Id: 1946979 => Updated with Vin: 1G6DF577380201650 ## Mail History Id: 31632203, Consumer Id: 1052163, Address Id: 14955106 => Updated with Vin: 1G6KD54Y64U188132 ## Mail History Id: 31631877, Consumer Id: 1046068, Address Id: 14953319 => Updated with Vin: 1G6KE57Y73U139108 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2704 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-12 09:19:11') AND us2_order_type_id = 3 ## Order found: 2618 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2618 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3768 ## Mailing found: '13676' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634981, Consumer Id: 1052062, Address Id: 1079099 => Updated with Vin: 3GYFK62827G263200 ## Mail History Id: 31634891, Consumer Id: 1109577, Address Id: 14982654 => Updated with Vin: 1LNHM82WX1Y655823 ## Mail History Id: 31634967, Consumer Id: 1042683, Address Id: 8827725 => Updated with Vin: 1G6KY54922U170642 ## Mail History Id: 31634999, Consumer Id: 1116120, Address Id: 1081209 => Updated with Vin: 1G6DM57N530152173 ## Mail History Id: 31634939, Consumer Id: 1109603, Address Id: 14982662 => Updated with Vin: 1G6KD57YX8U172727 ## Mail History Id: 31634953, Consumer Id: 1044764, Address Id: 8827268 => Updated with Vin: 1G6KD54Y84U137702 ## Mail History Id: 31634987, Consumer Id: 1043410, Address Id: 5989972 => Updated with Vin: 1G6KS54Y7YU159623 ## Mail History Id: 31635019, Consumer Id: 1111056, Address Id: 5993385 => Updated with Vin: 1GYEE63A250156783 ## Mail History Id: 31634915, Consumer Id: 1047422, Address Id: 14953671 => Updated with Vin: 1G6DP577160100262 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 2705 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-12 09:19:23') AND us2_order_type_id = 3 ## Order found: 2618 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2618 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3768 ## Mailing found: '13676' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635007, Consumer Id: 1109546, Address Id: 14982426 => Updated with Vin: 1G6DM577140107928 ## Mail History Id: 31634923, Consumer Id: 1114747, Address Id: 14983619 => Updated with Vin: 1G6KD54Y6VU300008 ## Mail History Id: 31635091, Consumer Id: 1110486, Address Id: 14982613 => Updated with Vin: 1GYEK63N52R161544 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2706 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-12 10:15:34') AND us2_order_type_id = 3 ## Order found: 2634 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2634 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2707 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-12 10:18:30') AND us2_order_type_id = 3 ## Order found: 2617 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2617 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3470 ## Mailing found: '13698' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632487, Consumer Id: 574086, Address Id: 10720767 => Updated with Vin: 2C8GP64L13R225389 ## Mail History Id: 31632287, Consumer Id: 564748, Address Id: 10689629 => Updated with Vin: 4C3AG52H23E039425 ## Mail History Id: 31632249, Consumer Id: 576780, Address Id: 10725056 => Updated with Vin: 1B7HG2AN11S306554 ## Mail History Id: 31632283, Consumer Id: 575161, Address Id: 10721478 => Updated with Vin: 1J8GW58SX3C560121 ## Mail History Id: 31632453, Consumer Id: 557774, Address Id: 10695346 => Updated with Vin: 2C4GP54L35R189557 ## Mail History Id: 31631532, Consumer Id: 565418, Address Id: 10697673 => Updated with Vin: 1J8HH48N76C128299 ## Mail History Id: 31632423, Consumer Id: 561398, Address Id: 8911964 => Updated with Vin: 1GYEL63T82R208030 ## Mail History Id: 31632223, Consumer Id: 576406, Address Id: 10723778 => Updated with Vin: 1D7HE28K66S572151 ## Mail History Id: 31632251, Consumer Id: 563495, Address Id: 10703608 => Updated with Vin: 2C4GP54L35R511842 ## Mail History Id: 31632451, Consumer Id: 564345, Address Id: 10703889 => Updated with Vin: 1J4GK48K36W106769 ## Mail History Id: 31632363, Consumer Id: 564184, Address Id: 5395578 => Updated with Vin: 2C4GP44R05R513031 ## Mail History Id: 31632527, Consumer Id: 564305, Address Id: 3498537 => Updated with Vin: 2C8GP64L35R470925 ## Mail History Id: 31632355, Consumer Id: 575679, Address Id: 10722965 => Updated with Vin: 1D7HA16N82J147274 ## Mail History Id: 31632421, Consumer Id: 565040, Address Id: 4906871 => Updated with Vin: 1J8HH48K76C168775 ## Mail History Id: 31632377, Consumer Id: 957752, Address Id: 1545435 => Updated with Vin: 1D4HD48N66F190331 ## Mail History Id: 31632367, Consumer Id: 566621, Address Id: 3404371 => Updated with Vin: 1J4GK48K16W112814 ## Mail History Id: 31632255, Consumer Id: 577076, Address Id: 10725257 => Updated with Vin: 1D4GP24353B214228 ## Mail History Id: 31632363, Consumer Id: 566710, Address Id: 5395578 => Updated with Vin: 1J4GK48K52W129674 ## Mail History Id: 31632397, Consumer Id: 571681, Address Id: 10710696 => Updated with Vin: 2B3KA43R37H853345 ## Mail History Id: 31632397, Consumer Id: 571681, Address Id: 10710696 => Updated with Vin: 2B3KA43R37H853345 ## Mail History Id: 31632343, Consumer Id: 566968, Address Id: 10710738 => Updated with Vin: 1D7HA18286S555339 ## Mail History Id: 31632463, Consumer Id: 566997, Address Id: 8547277 => Updated with Vin: 3A4FY58B56T293924 ## Mail History Id: 31632507, Consumer Id: 566958, Address Id: 10710733 => Updated with Vin: 2T1BR12E42C536276 ## Mail History Id: 31632289, Consumer Id: 578127, Address Id: 10729890 => Updated with Vin: 1J4GL58K52W265063 ## Mail History Id: 31632231, Consumer Id: 568216, Address Id: 10689548 => Updated with Vin: 2A4GM484X6R900754 ## Mail History Id: 31632339, Consumer Id: 568263, Address Id: 1338414 => Updated with Vin: 1J4GK48K95W628563 ## Mail History Id: 31632481, Consumer Id: 568541, Address Id: 7158325 => Updated with Vin: 1J4HR58246C360899 ## Mail History Id: 31632529, Consumer Id: 568620, Address Id: 7353920 => Updated with Vin: 1D7HE42N26S666249 ## Mail History Id: 31632321, Consumer Id: 568225, Address Id: 10703737 => Updated with Vin: 1J4GL48K96W143063 ## Mail History Id: 31631512, Consumer Id: 569364, Address Id: 10714224 => Updated with Vin: 1YVHP80C465M29770 ## Mail History Id: 31632493, Consumer Id: 569667, Address Id: 1552692 => Updated with Vin: 3A4FY58B26T364464 ## Mail History Id: 31632257, Consumer Id: 569692, Address Id: 10716626 => Updated with Vin: 3C3EY45X35T620190 ## Mail History Id: 31632309, Consumer Id: 569699, Address Id: 10710517 => Updated with Vin: 1J4GK48K37W502251 ## Mail History Id: 31632485, Consumer Id: 1766177, Address Id: 16500187 => Updated with Vin: 1J4GK48K87W661847 ## Mail History Id: 31632269, Consumer Id: 573468, Address Id: 7463514 => Updated with Vin: 1J4GS48K26C205536 ## Mail History Id: 31632521, Consumer Id: 570665, Address Id: 4104028 => Updated with Vin: 2C3KA43R87H774112 ## Mail History Id: 31632279, Consumer Id: 581286, Address Id: 10741857 => Updated with Vin: 2C3HE66G12H196805 ## Mail History Id: 31632449, Consumer Id: 571683, Address Id: 1547939 => Updated with Vin: 3A4FY58B57T621098 ## Mail History Id: 31631506, Consumer Id: 572972, Address Id: 10719403 => Updated with Vin: WDBRF52H56A847345 ## Mail History Id: 31632207, Consumer Id: 573108, Address Id: 4045371 => Updated with Vin: 1D4GP24R37B186939 ## Mail History Id: 31632207, Consumer Id: 573108, Address Id: 4045371 => Updated with Vin: 1D4GP24R37B186939 ## Mail History Id: 31632413, Consumer Id: 583430, Address Id: 10745480 => Updated with Vin: 3A4FY58B37T545672 ## Mail History Id: 31632237, Consumer Id: 982014, Address Id: 14929171 => Updated with Vin: 2CNDL63F856015769 ## Mail History Id: 31632359, Consumer Id: 1231269, Address Id: 2545929 => Updated with Vin: 1J4GK48K22W169596 ## Mail History Id: 31632373, Consumer Id: 1158664, Address Id: 10732383 => Updated with Vin: 2B4GP44322R552983 ## Mail History Id: 31632084, Consumer Id: 1231268, Address Id: 15417017 => Updated with Vin: 3B3ES47YXVT521337 ## Mail History Id: 31631504, Consumer Id: 1126361, Address Id: 14991806 => Updated with Vin: 2B3KA43R57H723213 ## Mail History Id: 31632227, Consumer Id: 1157991, Address Id: 15019166 => Updated with Vin: 3A4FY48B57T510402 ## Mail History Id: 31632233, Consumer Id: 1157992, Address Id: 797562 => Updated with Vin: 2A8GM68X57R253654 ## Mail History Id: 31632503, Consumer Id: 1231270, Address Id: 15417018 => Updated with Vin: 3D7KR19D06G217634 ## Mail History Id: 31632225, Consumer Id: 1231267, Address Id: 15417016 => Updated with Vin: 1B4GP54L1TB226016 ## Mail History Id: 31632245, Consumer Id: 1174712, Address Id: 15036434 => Updated with Vin: 2D8GP44L74R552548 ## Mail History Id: 31632271, Consumer Id: 1231271, Address Id: 15417020 => Updated with Vin: 2C4GM68455R547291 ## Mail History Id: 31632213, Consumer Id: 1166530, Address Id: 15026529 => Updated with Vin: 1J4FY29P2WP761556 ## Mail History Id: 31632293, Consumer Id: 1173336, Address Id: 3235007 => Updated with Vin: 1FTPW14V98FA33760 ## Total mail_history records updated with vin numbers: 55 out of 84 ============================================================ ====== Tracking Id: 2708 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-12 10:18:46') AND us2_order_type_id = 3 ## Order found: 2619 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2619 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3416 ## Mailing found: '13695' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632000, Consumer Id: 625206, Address Id: 8330992 => Updated with Vin: 1GYEE637470171311 ## Mail History Id: 31632026, Consumer Id: 625344, Address Id: 1965506 => Updated with Vin: 5GTDN13E178227721 ## Mail History Id: 31632066, Consumer Id: 625341, Address Id: 11764715 => Updated with Vin: 1G6KD54Y24U226374 ## Mail History Id: 31632044, Consumer Id: 625404, Address Id: 4789841 => Updated with Vin: 1G6KE57Y24U115719 ## Mail History Id: 31632016, Consumer Id: 625437, Address Id: 10934005 => Updated with Vin: 1GYEE637240149948 ## Mail History Id: 31632034, Consumer Id: 692533, Address Id: 11798392 => Updated with Vin: 1G6KD54Y05U226603 ## Mail History Id: 31632046, Consumer Id: 625672, Address Id: 11766075 => Updated with Vin: 2G4WC582371235118 ## Mail History Id: 31632056, Consumer Id: 627175, Address Id: 11764747 => Updated with Vin: 1G6KY54942U181352 ## Mail History Id: 31632048, Consumer Id: 1158007, Address Id: 15019185 => Updated with Vin: 2P4GH45R2SR143199 ## Mail History Id: 31632028, Consumer Id: 1126385, Address Id: 14991819 => Updated with Vin: 1G2MB33B86Y104549 ## Mail History Id: 31632058, Consumer Id: 1126380, Address Id: 6894274 => Updated with Vin: 1G6KD54Y84U177018 ## Mail History Id: 31632004, Consumer Id: 1126383, Address Id: 3760650 => Updated with Vin: 1G6DW677360104614 ## Mail History Id: 31632060, Consumer Id: 1125604, Address Id: 4799219 => Updated with Vin: 1G6KD54Y55U135682 ## Mail History Id: 31632036, Consumer Id: 1126384, Address Id: 4782297 => Updated with Vin: JTEBU17R478084368 ## Mail History Id: 31632050, Consumer Id: 1126379, Address Id: 4790918 => Updated with Vin: 1G6KD54Y02U271018 ## Mail History Id: 31632006, Consumer Id: 1126381, Address Id: 14991818 => Updated with Vin: 1G6DP577760205176 ## Mail History Id: 31632054, Consumer Id: 1158459, Address Id: 15019939 => Updated with Vin: 1G6KD54Y3XU774582 ## Mail History Id: 31632018, Consumer Id: 1158460, Address Id: 10934017 => Updated with Vin: 1GNDV23127D166002 ## Mail History Id: 31632038, Consumer Id: 1158461, Address Id: 15019940 => Updated with Vin: 1G6KD57Y78U141001 ## Mail History Id: 31632014, Consumer Id: 627159, Address Id: 1964470 => Updated with Vin: 1G6KD54Y13U137023 ## Mail History Id: 31631998, Consumer Id: 692810, Address Id: 1962685 => Updated with Vin: 1GKFK63827J224503 ## Mail History Id: 31631982, Consumer Id: 683809, Address Id: 11795479 => Updated with Vin: 1G6ET1294SU609217 ## Mail History Id: 31631990, Consumer Id: 625153, Address Id: 1959413 => Updated with Vin: 1G6DW677770143191 ## Mail History Id: 31632040, Consumer Id: 688712, Address Id: 1968765 => Updated with Vin: 1G6KY54913U246160 ## Mail History Id: 31632040, Consumer Id: 688712, Address Id: 1968765 => Updated with Vin: 1G6KY54913U246160 ## Mail History Id: 31631992, Consumer Id: 1157843, Address Id: 11797221 => Updated with Vin: 1G6DA67V580189990 ## Mail History Id: 31632020, Consumer Id: 688077, Address Id: 1965059 => Updated with Vin: 1G6KE54Y24U157831 ## Mail History Id: 31632062, Consumer Id: 692371, Address Id: 1970123 => Updated with Vin: 1G6KD57Y36U108087 ## Mail History Id: 31632002, Consumer Id: 689191, Address Id: 1963080 => Updated with Vin: 1G6KD57Y35U222752 ## Mail History Id: 31632022, Consumer Id: 686859, Address Id: 1965257 => Updated with Vin: 1G6KD57Y84U134892 ## Mail History Id: 31632012, Consumer Id: 625335, Address Id: 11765916 => Updated with Vin: 1GYEE637070182600 ## Mail History Id: 31631994, Consumer Id: 692868, Address Id: 1960589 => Updated with Vin: 1GYEK63N12R161475 ## Mail History Id: 31632010, Consumer Id: 909883, Address Id: 10933956 => Updated with Vin: 1G4HP54K624121730 ## Mail History Id: 31632042, Consumer Id: 685117, Address Id: 1968947 => Updated with Vin: 1G6DM57N930112324 ## Mail History Id: 31632030, Consumer Id: 691229, Address Id: 1967673 => Updated with Vin: 1G6KD57Y46U257043 ## Mail History Id: 31631986, Consumer Id: 627109, Address Id: 1966677 => Updated with Vin: 1GYFK66857R258387 ## Mail History Id: 31632052, Consumer Id: 681501, Address Id: 1969173 => Updated with Vin: 1G6KE54Y02U270772 ## Mail History Id: 31632008, Consumer Id: 1173363, Address Id: 11797206 => Updated with Vin: 1GYEE637050218539 ## Mail History Id: 31632024, Consumer Id: 687584, Address Id: 1965443 => Updated with Vin: 1GYEE637240172291 ## Mail History Id: 31631984, Consumer Id: 688161, Address Id: 1966437 => Updated with Vin: 1GYEE637340172364 ## Mail History Id: 31631988, Consumer Id: 689184, Address Id: 11797135 => Updated with Vin: 1G6DP567050106053 ## Mail History Id: 31632032, Consumer Id: 689119, Address Id: 11797110 => Updated with Vin: 1G6KD54Y35U112577 ## Mail History Id: 31631996, Consumer Id: 685388, Address Id: 1961654 => Updated with Vin: 1G6KD54Y1YU213847 ## Mail History Id: 31632072, Consumer Id: 683833, Address Id: 11795485 => Updated with Vin: 1G6KD54Y23U144305 ## Mail History Id: 31632068, Consumer Id: 691485, Address Id: 11797975 => Updated with Vin: 1G6DP577960207639 ## Total mail_history records updated with vin numbers: 45 out of 54 ============================================================ ====== Tracking Id: 2709 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-12 10:19:25') AND us2_order_type_id = 3 ## Order found: 2620 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2620 AND product_id = 2147 ## Job Group Found: '584' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('584') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508002') AND customer_id = 3418 ## Mailing found: '13681' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31633991, Consumer Id: 680872, Address Id: 11794495 => Updated with Vin: 1G6DW677360192371 ## Mail History Id: 31633993, Consumer Id: 610639, Address Id: 11755336 => Updated with Vin: 1GYFK63838R174459 ## Mail History Id: 31633995, Consumer Id: 610922, Address Id: 11755578 => Updated with Vin: 1G6DG577980172734 ## Mail History Id: 31633997, Consumer Id: 665728, Address Id: 11784690 => Updated with Vin: 1G6KE57Y71U178732 ## Mail History Id: 31633999, Consumer Id: 681191, Address Id: 11794687 => Updated with Vin: 1G3GR62C0X4100746 ## Mail History Id: 31634001, Consumer Id: 681192, Address Id: 11794688 => Updated with Vin: 1G4HR54K63U278458 ## Mail History Id: 31634003, Consumer Id: 681183, Address Id: 11794683 => Updated with Vin: 1G6KD54Y55U240531 ## Mail History Id: 31634005, Consumer Id: 610917, Address Id: 11755574 => Updated with Vin: 1G6DT57V180179106 ## Mail History Id: 31634007, Consumer Id: 681167, Address Id: 11785514 => Updated with Vin: 1G6DP577360102918 ## Mail History Id: 31634009, Consumer Id: 677392, Address Id: 11786957 => Updated with Vin: 1G6DW677360171164 ## Mail History Id: 31634011, Consumer Id: 677845, Address Id: 11417889 => Updated with Vin: 1G6DP577670131363 ## Mail History Id: 31634013, Consumer Id: 671505, Address Id: 11788691 => Updated with Vin: 1G6DP567250119127 ## Mail History Id: 31634015, Consumer Id: 674195, Address Id: 10323589 => Updated with Vin: 1G6DP577760118345 ## Mail History Id: 31634017, Consumer Id: 674445, Address Id: 11790620 => Updated with Vin: 1G6KD57Y26U100451 ## Mail History Id: 31634019, Consumer Id: 675590, Address Id: 11786853 => Updated with Vin: 1G6DP577660171036 ## Mail History Id: 31634021, Consumer Id: 676426, Address Id: 11791871 => Updated with Vin: 1G6DW677160179490 ## Mail History Id: 31634023, Consumer Id: 664062, Address Id: 11418396 => Updated with Vin: 1GYEK63N23R263823 ## Mail History Id: 31634025, Consumer Id: 676886, Address Id: 11792131 => Updated with Vin: 1GYEE637260219645 ## Mail History Id: 31634027, Consumer Id: 677221, Address Id: 8878224 => Updated with Vin: 1G6DW677X60219369 ## Mail History Id: 31634029, Consumer Id: 676677, Address Id: 11792018 => Updated with Vin: 1G6DM57T060212427 ## Mail History Id: 31634031, Consumer Id: 677904, Address Id: 11792704 => Updated with Vin: 1G6DW677870130496 ## Mail History Id: 31634033, Consumer Id: 677655, Address Id: 11792561 => Updated with Vin: 1G6DP577970123533 ## Mail History Id: 31634035, Consumer Id: 678453, Address Id: 11793034 => Updated with Vin: 1G6DP577870129923 ## Mail History Id: 31634039, Consumer Id: 680020, Address Id: 10326724 => Updated with Vin: 1GYEE637670189521 ## Mail History Id: 31634041, Consumer Id: 673394, Address Id: 11789918 => Updated with Vin: 1G6DW677550230469 ## Mail History Id: 31634043, Consumer Id: 679004, Address Id: 11793351 => Updated with Vin: 1G6DP577070159482 ## Mail History Id: 31634045, Consumer Id: 680074, Address Id: 11418200 => Updated with Vin: 1G6DM57T670196896 ## Mail History Id: 31634047, Consumer Id: 680046, Address Id: 11014912 => Updated with Vin: 1G6DP577470183381 ## Mail History Id: 31634049, Consumer Id: 678911, Address Id: 8876584 => Updated with Vin: 1GYEE637060151118 ## Mail History Id: 31634053, Consumer Id: 676199, Address Id: 8877855 => Updated with Vin: 1G6DW677360188353 ## Mail History Id: 31634055, Consumer Id: 677723, Address Id: 11783183 => Updated with Vin: 1G6KD57Y07U126693 ## Mail History Id: 31634057, Consumer Id: 679430, Address Id: 11793603 => Updated with Vin: 1G6DM57T770173613 ## Total mail_history records updated with vin numbers: 32 out of 34 ============================================================ ====== Tracking Id: 2710 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-12 10:19:39') AND us2_order_type_id = 3 ## Order found: 2620 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2620 AND product_id = 2150 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3418 ## Mailing found: '13696' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631800, Consumer Id: 680998, Address Id: 11794572 => Updated with Vin: 1G6KS54Y42U286241 ## Mail History Id: 31631850, Consumer Id: 681015, Address Id: 11794582 => Updated with Vin: 1GYEK63N56R135127 ## Mail History Id: 31631838, Consumer Id: 610685, Address Id: 11755374 => Updated with Vin: 1GYFK66808R189674 ## Mail History Id: 31631938, Consumer Id: 610688, Address Id: 11755376 => Updated with Vin: 3MEHM08197R617720 ## Mail History Id: 31631840, Consumer Id: 610700, Address Id: 11755386 => Updated with Vin: 4T1BA32K05U506476 ## Mail History Id: 31631832, Consumer Id: 610322, Address Id: 11755057 => Updated with Vin: 1G6DJ577680137084 ## Mail History Id: 31631820, Consumer Id: 678515, Address Id: 11793066 => Updated with Vin: 1G6KD57Y37U141849 ## Mail History Id: 31631874, Consumer Id: 679190, Address Id: 11793463 => Updated with Vin: 1G6KD57Y26U130887 ## Mail History Id: 31631802, Consumer Id: 663722, Address Id: 11783159 => Updated with Vin: 3GYFK66N33G241684 ## Mail History Id: 31631968, Consumer Id: 610113, Address Id: 11754873 => Updated with Vin: 1G6DM577880113196 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 2711 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-12 10:19:51') AND us2_order_type_id = 3 ## Order found: 2620 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2620 AND product_id = 2153 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3418 ## Mailing found: '13665' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634490, Consumer Id: 675150, Address Id: 11791116 => Updated with Vin: 1GYEK63N26R153231 ## Mail History Id: 31634502, Consumer Id: 674192, Address Id: 11790458 => Updated with Vin: 1G6DW677860123434 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2712 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-12 10:21:48') AND us2_order_type_id = 3 ## Order found: 2623 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2623 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2713 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-12 10:22:24') AND us2_order_type_id = 3 ## Order found: 2621 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2621 AND product_id = 140 ## Job Group Found: '589' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('589') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508007') AND customer_id = 3697 ## Mailing found: '13654' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2714 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-12 10:22:27') AND us2_order_type_id = 3 ## Order found: 2621 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2621 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2715 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-12 10:22:30') AND us2_order_type_id = 3 ## Order found: 2621 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2621 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3697 ## Mailing found: '13674' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634819, Consumer Id: 1045636, Address Id: 14953191 => Updated with Vin: 1GKEK63U93J239213 ## Mail History Id: 31634925, Consumer Id: 1048489, Address Id: 2852139 => Updated with Vin: 1G6KD57Y16U159975 ## Mail History Id: 31634963, Consumer Id: 1048377, Address Id: 11955030 => Updated with Vin: 1G6KD54Y5XU787091 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2716 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-12 10:22:42') AND us2_order_type_id = 3 ## Order found: 2621 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2621 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3697 ## Mailing found: '13674' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634983, Consumer Id: 1051450, Address Id: 14954747 => Updated with Vin: 3GNEC12T44G103280 ## Mail History Id: 31634935, Consumer Id: 1046509, Address Id: 3593143 => Updated with Vin: 1G3GR64H614288740 ## Mail History Id: 31634929, Consumer Id: 1045531, Address Id: 14953158 => Updated with Vin: W06VR54R81R002322 ## Mail History Id: 31634919, Consumer Id: 1051459, Address Id: 2850082 => Updated with Vin: 1G6KD57Y18U133282 ## Mail History Id: 31635011, Consumer Id: 1050070, Address Id: 14954366 => Updated with Vin: 1G6DP577770100574 ## Mail History Id: 31635023, Consumer Id: 920967, Address Id: 11953734 => Updated with Vin: 1D7HA16K55J624219 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2717 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-12 10:23:21') AND us2_order_type_id = 3 ## Order found: 2618 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2618 AND product_id = 140 ## Job Group Found: '589' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('589') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508007') AND customer_id = 3768 ## Mailing found: '13656' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634090, Consumer Id: 1952602, Address Id: 10724396 => Updated with Vin: 1GYEK63N32R106980 ## Mail History Id: 31634090, Consumer Id: 1952602, Address Id: 10724396 => Updated with Vin: 1GYEK63N32R106980 ## Mail History Id: 31634090, Consumer Id: 1952602, Address Id: 10724396 => Updated with Vin: 1GYEK63N32R106980 ## Mail History Id: 31634092, Consumer Id: 1107655, Address Id: 3593712 => Updated with Vin: 1G4CW54K924209622 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2718 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-12 10:24:22') AND us2_order_type_id = 3 ## Order found: 2622 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2622 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3815 ## Mailing found: '13709' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632153, Consumer Id: 1372314, Address Id: 15632798 => Updated with Vin: 5J6RE48588L009422 ## Mail History Id: 31631780, Consumer Id: 1372158, Address Id: 15639723 => Updated with Vin: 5FNRL38458B030924 ## Mail History Id: 31632031, Consumer Id: 1372304, Address Id: 6167401 => Updated with Vin: JHMFA36278S013568 ## Mail History Id: 31631989, Consumer Id: 1372322, Address Id: 15668975 => Updated with Vin: 5FNRL18534B093589 ## Mail History Id: 31632073, Consumer Id: 1372166, Address Id: 15668878 => Updated with Vin: 5J6RE48758L021383 ## Mail History Id: 31631955, Consumer Id: 1372323, Address Id: 15668976 => Updated with Vin: JHMFA15576S002759 ## Mail History Id: 31632009, Consumer Id: 1372324, Address Id: 15668977 => Updated with Vin: 1HGCM66855A077502 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 2719 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-12 10:24:30') AND us2_order_type_id = 3 ## Order found: 2622 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2622 AND product_id = 2147 ## Job Group Found: '584' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('584') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508002') AND customer_id = 3815 ## Mailing found: '13684' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31633968, Consumer Id: 1378894, Address Id: 8131785 => Updated with Vin: 1HGCD5656VA215757 ## Mail History Id: 31633970, Consumer Id: 1367603, Address Id: 15634026 => Updated with Vin: 2HKRL1857YH545101 ## Mail History Id: 31633972, Consumer Id: 1369567, Address Id: 15636307 => Updated with Vin: 1HGCG5653WA153646 ## Mail History Id: 31633974, Consumer Id: 1379626, Address Id: 15671991 => Updated with Vin: 1HGCG16582A068952 ## Mail History Id: 31633976, Consumer Id: 1368311, Address Id: 15633052 => Updated with Vin: SHSRD78833U102812 ## Mail History Id: 31633978, Consumer Id: 1369282, Address Id: 15636111 => Updated with Vin: 5FNRL18913B151829 ## Mail History Id: 31633980, Consumer Id: 1363250, Address Id: 15635977 => Updated with Vin: 1HGFA16556L071011 ## Mail History Id: 31633982, Consumer Id: 1363730, Address Id: 15636596 => Updated with Vin: 5FNYF18506B023506 ## Mail History Id: 31633984, Consumer Id: 1361550, Address Id: 15633719 => Updated with Vin: SHSRD68515U304650 ## Mail History Id: 31633986, Consumer Id: 1365096, Address Id: 3555918 => Updated with Vin: 5J6YH18927L001898 ## Mail History Id: 31633988, Consumer Id: 1366665, Address Id: 3059342 => Updated with Vin: JHLRE48707C120801 ## Mail History Id: 31633990, Consumer Id: 1366873, Address Id: 15639665 => Updated with Vin: JHLRD68876C024153 ## Mail History Id: 31633992, Consumer Id: 1379117, Address Id: 14962425 => Updated with Vin: 2HNYD28467H528121 ## Mail History Id: 31633994, Consumer Id: 1366985, Address Id: 6159499 => Updated with Vin: 5FNRL38647B033510 ## Total mail_history records updated with vin numbers: 14 out of 15 ============================================================ ====== Tracking Id: 2720 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-12 10:24:42') AND us2_order_type_id = 3 ## Order found: 2622 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2622 AND product_id = 2150 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3815 ## Mailing found: '13709' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631971, Consumer Id: 1363089, Address Id: 15634997 => Updated with Vin: 5FNYF18636B008698 ## Mail History Id: 31632101, Consumer Id: 1379416, Address Id: 15671873 => Updated with Vin: 2HGEJ6675WH545806 ## Mail History Id: 31632029, Consumer Id: 1379432, Address Id: 3454261 => Updated with Vin: 1HGCM71363A005755 ## Mail History Id: 31631993, Consumer Id: 1379431, Address Id: 15639792 => Updated with Vin: 5FNYF28596B008704 ## Mail History Id: 31631979, Consumer Id: 1371121, Address Id: 15638950 => Updated with Vin: JHMRA1868VC004966 ## Mail History Id: 31632141, Consumer Id: 1378453, Address Id: 15671379 => Updated with Vin: 5FNYF18696B013744 ## Mail History Id: 31632019, Consumer Id: 1365972, Address Id: 15638843 => Updated with Vin: 1HGFA16517L104281 ## Mail History Id: 31632111, Consumer Id: 1378734, Address Id: 15640016 => Updated with Vin: 1HGEM22165L069570 ## Mail History Id: 31632115, Consumer Id: 1379434, Address Id: 15639925 => Updated with Vin: JH4DC4350WS004309 ## Mail History Id: 31631945, Consumer Id: 1379444, Address Id: 15671889 => Updated with Vin: JHLRD2847WC005656 ## Mail History Id: 31631949, Consumer Id: 1367325, Address Id: 15640009 => Updated with Vin: 2HGFA16848H313426 ## Total mail_history records updated with vin numbers: 11 out of 14 ============================================================ ====== Tracking Id: 2721 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-12 10:24:55') AND us2_order_type_id = 3 ## Order found: 2622 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2622 AND product_id = 2153 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3815 ## Mailing found: '13679' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635057, Consumer Id: 1370741, Address Id: 15638367 => Updated with Vin: 1HGCG56642A139466 ## Mail History Id: 31635063, Consumer Id: 1372703, Address Id: 15669195 => Updated with Vin: 1HGCG56651A108385 ## Mail History Id: 31635061, Consumer Id: 1362972, Address Id: 15635793 => Updated with Vin: 5FNRL38726B059126 ## Mail History Id: 31635047, Consumer Id: 1378102, Address Id: 15671182 => Updated with Vin: 1HGFA16856L013491 ## Mail History Id: 31635059, Consumer Id: 1378855, Address Id: 3453534 => Updated with Vin: 1HGCD5632TA133018 ## Mail History Id: 31634893, Consumer Id: 1366450, Address Id: 15639283 => Updated with Vin: JHLRE38767C082095 ## Mail History Id: 31635055, Consumer Id: 1366544, Address Id: 15639339 => Updated with Vin: 2T1BR32E76C704462 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 2722 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-12 10:25:07') AND us2_order_type_id = 3 ## Order found: 2622 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2622 AND product_id = 2152 ## Job Group Found: '589' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('589') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508007') AND customer_id = 3815 ## Mailing found: '13658' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2723 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-12 10:32:35') AND us2_order_type_id = 3 ## Order found: 2623 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2623 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3795 ## Mailing found: '13677' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635195, Consumer Id: 1057483, Address Id: 14956678 => Updated with Vin: 2HGES26785H579047 ## Mail History Id: 31635109, Consumer Id: 1058563, Address Id: 7654619 => Updated with Vin: 2HGFG12877H541262 ## Mail History Id: 31635205, Consumer Id: 1060066, Address Id: 14957376 => Updated with Vin: JHLRD68454C008348 ## Mail History Id: 31635171, Consumer Id: 1060116, Address Id: 14957396 => Updated with Vin: 5FNYF282X8B018554 ## Mail History Id: 31635197, Consumer Id: 1059950, Address Id: 14957347 => Updated with Vin: 1HGEM22184L037900 ## Mail History Id: 31635215, Consumer Id: 1059927, Address Id: 14957344 => Updated with Vin: 1HGCG5649WA237851 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 2724 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-12 10:32:47') AND us2_order_type_id = 3 ## Order found: 2623 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2623 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3795 ## Mailing found: '13677' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635157, Consumer Id: 1068801, Address Id: 2513264 => Updated with Vin: 1HGCM72233A009123 ## Mail History Id: 31635163, Consumer Id: 1068812, Address Id: 3028528 => Updated with Vin: 1HGES16572L005417 ## Mail History Id: 31635151, Consumer Id: 1054886, Address Id: 2996532 => Updated with Vin: JHLRD1867XC012846 ## Mail History Id: 31635137, Consumer Id: 1061406, Address Id: 14957757 => Updated with Vin: 1HGCG1642WA004399 ## Mail History Id: 31635127, Consumer Id: 1057500, Address Id: 14956684 => Updated with Vin: 5FNYF28186B009470 ## Mail History Id: 31635229, Consumer Id: 1060195, Address Id: 3089281 => Updated with Vin: 1HGCM567X6A183608 ## Mail History Id: 31635093, Consumer Id: 1060191, Address Id: 14957423 => Updated with Vin: 1HGCP26738A074304 ## Mail History Id: 31635223, Consumer Id: 1060192, Address Id: 3082329 => Updated with Vin: 5FNYF28758B025763 ## Mail History Id: 31635141, Consumer Id: 1060203, Address Id: 7685895 => Updated with Vin: 1NXBR32E17Z877507 ## Mail History Id: 31635115, Consumer Id: 1060196, Address Id: 14957425 => Updated with Vin: 1G1NE52M2X6272103 ## Mail History Id: 31635199, Consumer Id: 1061583, Address Id: 4264986 => Updated with Vin: 5FNRL18913B009710 ## Mail History Id: 31635165, Consumer Id: 1056088, Address Id: 3037917 => Updated with Vin: 1HGCG1652WA043373 ## Total mail_history records updated with vin numbers: 12 out of 13 ============================================================ ====== Tracking Id: 2725 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-12 10:32:59') AND us2_order_type_id = 3 ## Order found: 2623 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2623 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3795 ## Mailing found: '13677' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635133, Consumer Id: 1061434, Address Id: 14956141 => Updated with Vin: 1HGCM563X3A130576 ## Mail History Id: 31635249, Consumer Id: 1055860, Address Id: 14956217 => Updated with Vin: 5FNRL38796B010943 ## Mail History Id: 31635101, Consumer Id: 1056172, Address Id: 9577485 => Updated with Vin: 2HJYK16586H538726 ## Mail History Id: 31635237, Consumer Id: 1059363, Address Id: 3099917 => Updated with Vin: 5FNYF18555B009552 ## Mail History Id: 31635191, Consumer Id: 1059860, Address Id: 3065479 => Updated with Vin: 1HGCP36888A015487 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2726 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-12 10:44:54') AND us2_order_type_id = 3 ## Order found: 2616 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2616 AND product_id = 140 ## Job Group Found: '598' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('598') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808007') AND customer_id = 3230 ## Mailing found: '13854' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725395, Consumer Id: 66995, Address Id: 49384 => Updated with Vin: 1FTRX14W06NB28807 ## Mail History Id: 31725397, Consumer Id: 63490, Address Id: 50360 => Updated with Vin: 1FTPW14594KB30135 ## Mail History Id: 31725399, Consumer Id: 64461, Address Id: 49248 => Updated with Vin: 1FTWW31P45EC58912 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2727 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-12 11:15:10') AND us2_order_type_id = 3 ## Order found: 2624 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2624 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3486 ## Mailing found: '13670' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635383, Consumer Id: 489624, Address Id: 1065818 => Updated with Vin: 1GNEC13T41J119259 ## Mail History Id: 31635313, Consumer Id: 480290, Address Id: 1034970 => Updated with Vin: 3GNFK16Z83G254353 ## Mail History Id: 31635477, Consumer Id: 467872, Address Id: 2527171 => Updated with Vin: 1GKEC13Z02J305951 ## Mail History Id: 31635315, Consumer Id: 481538, Address Id: 1035087 => Updated with Vin: 1GNEC13Z63R278230 ## Mail History Id: 31635317, Consumer Id: 484773, Address Id: 5421247 => Updated with Vin: 2G1WF52E759365652 ## Mail History Id: 31635517, Consumer Id: 470078, Address Id: 9822878 => Updated with Vin: 5TDZA22C34S127819 ## Mail History Id: 31635485, Consumer Id: 486326, Address Id: 8053170 => Updated with Vin: 3GNEC12T94G306505 ## Mail History Id: 31635269, Consumer Id: 470827, Address Id: 9823300 => Updated with Vin: 3GCEC13J98G133113 ## Mail History Id: 31635527, Consumer Id: 470825, Address Id: 9823298 => Updated with Vin: 1FMZU74W05UB27409 ## Total mail_history records updated with vin numbers: 9 out of 12 ============================================================ ====== Tracking Id: 2728 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-12 11:15:22') AND us2_order_type_id = 3 ## Order found: 2624 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2624 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3486 ## Mailing found: '13670' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635331, Consumer Id: 470233, Address Id: 4373520 => Updated with Vin: 1GCEC14X57Z626871 ## Mail History Id: 31635365, Consumer Id: 470941, Address Id: 5287526 => Updated with Vin: 1G1ZG57B684226144 ## Mail History Id: 31635489, Consumer Id: 475888, Address Id: 9823634 => Updated with Vin: 1GNEC13Z63J262270 ## Mail History Id: 31635301, Consumer Id: 466416, Address Id: 2002869 => Updated with Vin: 1G1YY32G735111944 ## Mail History Id: 31635329, Consumer Id: 467759, Address Id: 5287452 => Updated with Vin: 1GCCS19X338230957 ## Mail History Id: 31635481, Consumer Id: 489598, Address Id: 636283 => Updated with Vin: 1GNDS13S122518132 ## Mail History Id: 31635355, Consumer Id: 480408, Address Id: 4374325 => Updated with Vin: 1G1AL52F957506296 ## Mail History Id: 31635347, Consumer Id: 481883, Address Id: 9824609 => Updated with Vin: 1G1AP14P267674219 ## Mail History Id: 31635373, Consumer Id: 468257, Address Id: 5369924 => Updated with Vin: 3GCEC14X86G235731 ## Mail History Id: 31635443, Consumer Id: 468689, Address Id: 9822174 => Updated with Vin: 1GCEC19T67E125923 ## Mail History Id: 31635555, Consumer Id: 490381, Address Id: 5538196 => Updated with Vin: 1GCFG15X931102798 ## Mail History Id: 31635515, Consumer Id: 469173, Address Id: 9822391 => Updated with Vin: 2GCEC19T141114356 ## Mail History Id: 31635277, Consumer Id: 484221, Address Id: 826148 => Updated with Vin: 1GNDS13S032231205 ## Mail History Id: 31635311, Consumer Id: 484854, Address Id: 1069888 => Updated with Vin: 1GCGG29V961222527 ## Mail History Id: 31635371, Consumer Id: 469492, Address Id: 9822550 => Updated with Vin: 1GCCS13E178185577 ## Mail History Id: 31635391, Consumer Id: 469491, Address Id: 1037213 => Updated with Vin: 1GNFK163X7J307456 ## Mail History Id: 31635379, Consumer Id: 470114, Address Id: 7992064 => Updated with Vin: 3GNEC12J97G311450 ## Mail History Id: 31635447, Consumer Id: 490337, Address Id: 9826507 => Updated with Vin: 1G1ND52J72M677872 ## Mail History Id: 31635319, Consumer Id: 486410, Address Id: 630303 => Updated with Vin: 1G1ZS52F15F306587 ## Mail History Id: 31635303, Consumer Id: 470229, Address Id: 2517061 => Updated with Vin: 2B3KA43R37H697064 ## Mail History Id: 31635335, Consumer Id: 486723, Address Id: 2519352 => Updated with Vin: 1GNFC13097R103188 ## Mail History Id: 31635351, Consumer Id: 489778, Address Id: 1062350 => Updated with Vin: 2G1WF52E349108356 ## Mail History Id: 31635419, Consumer Id: 471110, Address Id: 9823363 => Updated with Vin: 1GCCS19W9Y8304722 ## Mail History Id: 31635463, Consumer Id: 490330, Address Id: 9826501 => Updated with Vin: 2G1WF52E849250878 ## Mail History Id: 31635537, Consumer Id: 490380, Address Id: 9826522 => Updated with Vin: 1GNDS13S152375302 ## Mail History Id: 31635263, Consumer Id: 470940, Address Id: 9823365 => Updated with Vin: 2CNDL53F886078773 ## Mail History Id: 31635285, Consumer Id: 470948, Address Id: 827968 => Updated with Vin: 1GGCS199688700728 ## Mail History Id: 31635305, Consumer Id: 490384, Address Id: 9826524 => Updated with Vin: 1GNCS13WXY2306272 ## Mail History Id: 31635507, Consumer Id: 470953, Address Id: 8823013 => Updated with Vin: 1GCEC19Z47Z104498 ## Mail History Id: 31635337, Consumer Id: 490387, Address Id: 9826526 => Updated with Vin: 1GYEK63N02R107018 ## Total mail_history records updated with vin numbers: 30 out of 33 ============================================================ ====== Tracking Id: 2729 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-12 11:15:35') AND us2_order_type_id = 3 ## Order found: 2624 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2624 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3486 ## Mailing found: '13670' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635513, Consumer Id: 464367, Address Id: 9820529 => Updated with Vin: 1GNDX13EX4D256047 ## Mail History Id: 31635427, Consumer Id: 626129, Address Id: 4375019 => Updated with Vin: 1G1NE52M8WY135119 ## Mail History Id: 31635461, Consumer Id: 478012, Address Id: 4377492 => Updated with Vin: 1GNEC13ZX2J176023 ## Mail History Id: 31635387, Consumer Id: 476400, Address Id: 9823756 => Updated with Vin: 1GCGK29U1YE284327 ## Mail History Id: 31635439, Consumer Id: 467878, Address Id: 9821773 => Updated with Vin: 1G1AK15F167726850 ## Mail History Id: 31635495, Consumer Id: 478339, Address Id: 4378360 => Updated with Vin: 3GNEC12T14G231816 ## Mail History Id: 31635483, Consumer Id: 481184, Address Id: 4378097 => Updated with Vin: 2GCEK13T351158386 ## Mail History Id: 31635345, Consumer Id: 485652, Address Id: 630770 => Updated with Vin: 3GNEC12T34G313725 ## Mail History Id: 31635327, Consumer Id: 477703, Address Id: 4373454 => Updated with Vin: 1GCEC19T71Z117894 ## Mail History Id: 31635529, Consumer Id: 471281, Address Id: 9823551 => Updated with Vin: 1GNDS13S852217331 ## Mail History Id: 31635345, Consumer Id: 524342, Address Id: 630770 => Updated with Vin: 2G1WH52K639453993 ## Mail History Id: 31635393, Consumer Id: 489449, Address Id: 9854669 => Updated with Vin: 1G1AL58F487165675 ## Mail History Id: 31635519, Consumer Id: 552513, Address Id: 10590583 => Updated with Vin: 1G8AW12F23Z185298 ## Mail History Id: 31635293, Consumer Id: 607250, Address Id: 5632757 => Updated with Vin: 1FMZU63KX3UB76879 ## Mail History Id: 31635413, Consumer Id: 626131, Address Id: 11763702 => Updated with Vin: 1GNDS13S562117611 ## Mail History Id: 31635451, Consumer Id: 626134, Address Id: 11763705 => Updated with Vin: 2G1WH55KX29184343 ## Mail History Id: 31635449, Consumer Id: 466463, Address Id: 4377116 => Updated with Vin: 1GNEK13T05R240011 ## Total mail_history records updated with vin numbers: 17 out of 20 ============================================================ ====== Tracking Id: 2730 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-12 11:16:07') AND us2_order_type_id = 3 ## Order found: 2619 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2619 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3416 ## Mailing found: '13664' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634596, Consumer Id: 693124, Address Id: 4767632 => Updated with Vin: 1G1ZT62865F260324 ## Mail History Id: 31634644, Consumer Id: 693140, Address Id: 3766050 => Updated with Vin: 2G2WR554X71109951 ## Mail History Id: 31634600, Consumer Id: 693138, Address Id: 11798697 => Updated with Vin: 2G4WS52J4Y1243474 ## Mail History Id: 31634608, Consumer Id: 688577, Address Id: 1964872 => Updated with Vin: 1G6KS54Y42U292699 ## Mail History Id: 31634662, Consumer Id: 684711, Address Id: 11794952 => Updated with Vin: W06VR54R7YR008087 ## Mail History Id: 31634672, Consumer Id: 691578, Address Id: 11796999 => Updated with Vin: 1G6KD57917U122158 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 2731 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-12 11:16:13') AND us2_order_type_id = 3 ## Order found: 2625 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2625 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2732 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-12 11:16:19') AND us2_order_type_id = 3 ## Order found: 2619 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2619 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3416 ## Mailing found: '13664' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634590, Consumer Id: 693250, Address Id: 11798465 => Updated with Vin: 5Y2SL62803Z435493 ## Mail History Id: 31634634, Consumer Id: 693268, Address Id: 11798755 => Updated with Vin: 1G6KF5296TU245661 ## Mail History Id: 31634550, Consumer Id: 683643, Address Id: 11795443 => Updated with Vin: 1G6KF52Y0RU289963 ## Mail History Id: 31634572, Consumer Id: 625160, Address Id: 11765837 => Updated with Vin: 1G6ET129XYB701498 ## Mail History Id: 31634584, Consumer Id: 683134, Address Id: 1962132 => Updated with Vin: 1G6KD54Y9YU172738 ## Mail History Id: 31634626, Consumer Id: 681728, Address Id: 11794887 => Updated with Vin: 1G6KF5495VU239964 ## Mail History Id: 31634554, Consumer Id: 686580, Address Id: 1967178 => Updated with Vin: 1G6KF57932U123945 ## Mail History Id: 31634650, Consumer Id: 684773, Address Id: 1969538 => Updated with Vin: W06VR52R5XR016979 ## Mail History Id: 31634642, Consumer Id: 684427, Address Id: 1969243 => Updated with Vin: 1G6KD54Y8WU806022 ## Mail History Id: 31634568, Consumer Id: 688725, Address Id: 1959587 => Updated with Vin: 1GYEE637250186127 ## Mail History Id: 31634546, Consumer Id: 625260, Address Id: 1966228 => Updated with Vin: 5GRGN23U87H110587 ## Total mail_history records updated with vin numbers: 11 out of 14 ============================================================ ====== Tracking Id: 2733 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-12 11:16:28') AND us2_order_type_id = 3 ## Order found: 2625 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2625 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3491 ## Mailing found: '13671' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634984, Consumer Id: 808629, Address Id: 11883036 => Updated with Vin: 1GNDS13SX52148626 ## Mail History Id: 31634832, Consumer Id: 809573, Address Id: 11884220 => Updated with Vin: 3GCEC14X16G156644 ## Mail History Id: 31635018, Consumer Id: 810309, Address Id: 11884959 => Updated with Vin: 3GNEK12Z85G296154 ## Mail History Id: 31634862, Consumer Id: 813651, Address Id: 11888200 => Updated with Vin: 3GNDA13D87S627767 ## Mail History Id: 31634874, Consumer Id: 814741, Address Id: 11889487 => Updated with Vin: 1GCEC14X07Z623117 ## Mail History Id: 31634892, Consumer Id: 839596, Address Id: 11895353 => Updated with Vin: 1GNDT13S762120734 ## Mail History Id: 31634822, Consumer Id: 840064, Address Id: 11895639 => Updated with Vin: 1N4BA41E66C839221 ## Mail History Id: 31634834, Consumer Id: 815802, Address Id: 11890508 => Updated with Vin: 2G2WP552071157110 ## Mail History Id: 31634914, Consumer Id: 840027, Address Id: 11895615 => Updated with Vin: 5N1ED28T6YC587525 ## Mail History Id: 31634824, Consumer Id: 815975, Address Id: 11891181 => Updated with Vin: 1B7HC16Y0WS767681 ## Mail History Id: 31634826, Consumer Id: 816084, Address Id: 11891258 => Updated with Vin: 1J4GW48S24C211323 ## Mail History Id: 31634890, Consumer Id: 816086, Address Id: 11891260 => Updated with Vin: 2B3KA53H56H162782 ## Mail History Id: 31634878, Consumer Id: 816089, Address Id: 11891263 => Updated with Vin: 1D7HU18N55S240143 ## Mail History Id: 31634850, Consumer Id: 816090, Address Id: 11891264 => Updated with Vin: 1FTCR10AXRPC41117 ## Mail History Id: 31634942, Consumer Id: 835374, Address Id: 11892017 => Updated with Vin: 1GCCS1943T8110033 ## Mail History Id: 31634838, Consumer Id: 824165, Address Id: 11879921 => Updated with Vin: 2GCEC19T421395534 ## Mail History Id: 31634980, Consumer Id: 815433, Address Id: 11881859 => Updated with Vin: 1G1AK58F087185487 ## Mail History Id: 31634860, Consumer Id: 835169, Address Id: 11892738 => Updated with Vin: 1G1FP23E7NL113774 ## Total mail_history records updated with vin numbers: 18 out of 20 ============================================================ ====== Tracking Id: 2734 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-12 11:16:34') AND us2_order_type_id = 3 ## Order found: 2626 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2626 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3525 ## Mailing found: '13702' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631672, Consumer Id: 523237, Address Id: 9853962 => Updated with Vin: KMHDN46D54U780480 ## Mail History Id: 31631758, Consumer Id: 522163, Address Id: 9852658 => Updated with Vin: KMHWF35H24A086206 ## Mail History Id: 31631744, Consumer Id: 522364, Address Id: 9853229 => Updated with Vin: KMHWF25HX5A121294 ## Mail History Id: 31631692, Consumer Id: 523689, Address Id: 9854290 => Updated with Vin: KMHET46C46A110473 ## Mail History Id: 31631740, Consumer Id: 524560, Address Id: 9854989 => Updated with Vin: 5NPEU46F86H043817 ## Mail History Id: 31631694, Consumer Id: 525275, Address Id: 9855508 => Updated with Vin: 5NPEU46F36H126538 ## Mail History Id: 31631670, Consumer Id: 486876, Address Id: 9850573 => Updated with Vin: 5NPEU46FX6H098429 ## Mail History Id: 31631688, Consumer Id: 487023, Address Id: 9850692 => Updated with Vin: 5NPEU46C36H171470 ## Mail History Id: 31631736, Consumer Id: 486913, Address Id: 2421859 => Updated with Vin: 5NPEU46F27H184884 ## Mail History Id: 31631754, Consumer Id: 520342, Address Id: 2424123 => Updated with Vin: KMHDN45D12U459583 ## Mail History Id: 31631764, Consumer Id: 489142, Address Id: 9849739 => Updated with Vin: KM8SB12B83U471992 ## Mail History Id: 31631648, Consumer Id: 1126339, Address Id: 14991785 => Updated with Vin: KMHWF35H84A955228 ## Mail History Id: 31631690, Consumer Id: 526281, Address Id: 9856239 => Updated with Vin: KMHWF25S04A958856 ## Mail History Id: 31631752, Consumer Id: 522762, Address Id: 9853585 => Updated with Vin: KM8SC13E05U863194 ## Mail History Id: 31631732, Consumer Id: 522960, Address Id: 9853756 => Updated with Vin: KM8SC13E25U922956 ## Mail History Id: 31631750, Consumer Id: 523367, Address Id: 9854059 => Updated with Vin: KM8SC13D55U968241 ## Mail History Id: 31631770, Consumer Id: 486989, Address Id: 9850667 => Updated with Vin: 5NMSG13D17H012418 ## Mail History Id: 31631762, Consumer Id: 523735, Address Id: 9854323 => Updated with Vin: KMHDN46DX5U152724 ## Mail History Id: 31631774, Consumer Id: 524854, Address Id: 9855197 => Updated with Vin: KMHDN46D56U252568 ## Mail History Id: 31631700, Consumer Id: 525046, Address Id: 9855342 => Updated with Vin: KMHDN46DX6U263386 ## Mail History Id: 31631768, Consumer Id: 526912, Address Id: 9856643 => Updated with Vin: KMHFC46F56A053408 ## Mail History Id: 31631768, Consumer Id: 526912, Address Id: 9856643 => Updated with Vin: KMHFC46F56A053408 ## Mail History Id: 31631674, Consumer Id: 1157823, Address Id: 9680428 => Updated with Vin: 5NPEU46F89H429013 ## Mail History Id: 31631674, Consumer Id: 1157823, Address Id: 9680428 => Updated with Vin: 5NPEU46F89H429013 ## Mail History Id: 31631730, Consumer Id: 489161, Address Id: 9853029 => Updated with Vin: 5NMSH13E37H028707 ## Mail History Id: 31631664, Consumer Id: 487613, Address Id: 9851399 => Updated with Vin: 5NMSG13D37H051821 ## Mail History Id: 31631678, Consumer Id: 488533, Address Id: 9852335 => Updated with Vin: 5NMSH13E07H061910 ## Mail History Id: 31631728, Consumer Id: 488063, Address Id: 9851829 => Updated with Vin: 5NMSG13D27H086723 ## Mail History Id: 31631656, Consumer Id: 488019, Address Id: 9679774 => Updated with Vin: 5NMSH13E27H087165 ## Mail History Id: 31631708, Consumer Id: 488813, Address Id: 9852677 => Updated with Vin: 5NMSH13EX7H126956 ## Mail History Id: 31631720, Consumer Id: 487909, Address Id: 9851712 => Updated with Vin: 5NPET46C37H246267 ## Mail History Id: 31631734, Consumer Id: 489062, Address Id: 9689046 => Updated with Vin: 5NPEU46F07H272963 ## Mail History Id: 31631712, Consumer Id: 487946, Address Id: 9684335 => Updated with Vin: KM8NU13CX7U009096 ## Mail History Id: 31631686, Consumer Id: 1157821, Address Id: 15019146 => Updated with Vin: 5NMSG13D38H138247 ## Mail History Id: 31631722, Consumer Id: 1157824, Address Id: 15019148 => Updated with Vin: 5NMSG13D78H161630 ## Mail History Id: 31631722, Consumer Id: 1157824, Address Id: 15019148 => Updated with Vin: 5NMSG13D78H161630 ## Mail History Id: 31631772, Consumer Id: 1157822, Address Id: 15019147 => Updated with Vin: 5NMSH13E98H200045 ## Mail History Id: 31631756, Consumer Id: 1157825, Address Id: 15019149 => Updated with Vin: 5NMSH13EX8H208896 ## Mail History Id: 31631668, Consumer Id: 489363, Address Id: 9853178 => Updated with Vin: 5NPET46C08H365394 ## Mail History Id: 31631698, Consumer Id: 958105, Address Id: 12035542 => Updated with Vin: 5NPEU46F48H391892 ## Mail History Id: 31631658, Consumer Id: 489190, Address Id: 9850608 => Updated with Vin: KM8NU13C38U028137 ## Mail History Id: 31631724, Consumer Id: 871311, Address Id: 11561450 => Updated with Vin: KMHDU46D98U361962 ## Mail History Id: 31631654, Consumer Id: 1157820, Address Id: 15019145 => Updated with Vin: 5NPET46C79H423275 ## Mail History Id: 31631680, Consumer Id: 486855, Address Id: 9850554 => Updated with Vin: KMHFC46FX6A104269 ## Mail History Id: 31631706, Consumer Id: 487063, Address Id: 9683835 => Updated with Vin: 5NPEU46F26H152113 ## Mail History Id: 31631742, Consumer Id: 488013, Address Id: 9689692 => Updated with Vin: 5NPET46C17H194234 ## Mail History Id: 31631760, Consumer Id: 524118, Address Id: 9854637 => Updated with Vin: KM8JN12D45U226985 ## Mail History Id: 31631704, Consumer Id: 489126, Address Id: 9853004 => Updated with Vin: 5NPEU46F46H064275 ## Mail History Id: 31631776, Consumer Id: 1126340, Address Id: 14991786 => Updated with Vin: KMHJF34M4TU206139 ## Mail History Id: 31631714, Consumer Id: 526899, Address Id: 2420987 => Updated with Vin: KM8SC13E84U700162 ## Total mail_history records updated with vin numbers: 50 out of 54 ============================================================ ====== Tracking Id: 2735 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-12 11:16:40') AND us2_order_type_id = 3 ## Order found: 2625 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2625 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3491 ## Mailing found: '13671' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634866, Consumer Id: 814445, Address Id: 11889032 => Updated with Vin: 1GCHK23K47F564604 ## Mail History Id: 31634988, Consumer Id: 814204, Address Id: 11888872 => Updated with Vin: 1GNFC13068R119947 ## Mail History Id: 31634886, Consumer Id: 839719, Address Id: 11895418 => Updated with Vin: 3GNEC13T13G121409 ## Mail History Id: 31634870, Consumer Id: 839892, Address Id: 11889801 => Updated with Vin: 1FMDU74W03UC45080 ## Mail History Id: 31634856, Consumer Id: 839374, Address Id: 11895235 => Updated with Vin: 1GNFK13018J113572 ## Mail History Id: 31634852, Consumer Id: 815709, Address Id: 11890433 => Updated with Vin: 1GCEK19TX4E187663 ## Mail History Id: 31635008, Consumer Id: 839876, Address Id: 11895497 => Updated with Vin: JN8AZ08T27W505297 ## Mail History Id: 31634938, Consumer Id: 839847, Address Id: 11894906 => Updated with Vin: 1B7GG23Y7PS202890 ## Mail History Id: 31634926, Consumer Id: 839853, Address Id: 11895490 => Updated with Vin: 2GCEK19R1T1250766 ## Mail History Id: 31634830, Consumer Id: 839891, Address Id: 1294654 => Updated with Vin: 2GCEC13Z371178383 ## Mail History Id: 31634940, Consumer Id: 839605, Address Id: 11880927 => Updated with Vin: 1G1AL58F577211996 ## Mail History Id: 31634976, Consumer Id: 815940, Address Id: 11890609 => Updated with Vin: 1G1ND52M9XY167968 ## Mail History Id: 31635026, Consumer Id: 815939, Address Id: 11890608 => Updated with Vin: 1B7HC16X61S251891 ## Mail History Id: 31634836, Consumer Id: 815836, Address Id: 11890533 => Updated with Vin: 1B3HB48B97D533091 ## Mail History Id: 31634936, Consumer Id: 814859, Address Id: 11889558 => Updated with Vin: 1D4HD48N36F180064 ## Mail History Id: 31634924, Consumer Id: 826331, Address Id: 11881163 => Updated with Vin: 1G1BL52P2TR162986 ## Total mail_history records updated with vin numbers: 16 out of 17 ============================================================ ====== Tracking Id: 2736 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-12 11:16:46') AND us2_order_type_id = 3 ## Order found: 2626 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2626 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3525 ## Mailing found: '13673' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634360, Consumer Id: 522232, Address Id: 9852915 => Updated with Vin: KMHWF35H72A560504 ## Mail History Id: 31634372, Consumer Id: 521342, Address Id: 2418939 => Updated with Vin: KMHWF25SX3A759408 ## Mail History Id: 31634414, Consumer Id: 521803, Address Id: 9849743 => Updated with Vin: KMHDN46D24U872159 ## Mail History Id: 31634344, Consumer Id: 527698, Address Id: 9857155 => Updated with Vin: KMHCG45C21U190683 ## Mail History Id: 31634342, Consumer Id: 487378, Address Id: 9851100 => Updated with Vin: 5NMSH13E07H012884 ## Mail History Id: 31634458, Consumer Id: 522339, Address Id: 9853210 => Updated with Vin: KMHDN46DX5U960586 ## Mail History Id: 31634464, Consumer Id: 488412, Address Id: 9852236 => Updated with Vin: 5NMSH13E47H106041 ## Mail History Id: 31634436, Consumer Id: 488414, Address Id: 9852238 => Updated with Vin: KM8NU13C27U016317 ## Mail History Id: 31634358, Consumer Id: 488671, Address Id: 9852445 => Updated with Vin: KMHDU46D38U283694 ## Mail History Id: 31634402, Consumer Id: 489367, Address Id: 9853035 => Updated with Vin: KMHDU46D18U284388 ## Mail History Id: 31634466, Consumer Id: 522300, Address Id: 9852974 => Updated with Vin: KMHJF25F6XU754126 ## Mail History Id: 31634370, Consumer Id: 525049, Address Id: 9855233 => Updated with Vin: KMHFC46FX6A057776 ## Mail History Id: 31634424, Consumer Id: 489083, Address Id: 9852874 => Updated with Vin: KMHHM65D75U155369 ## Total mail_history records updated with vin numbers: 13 out of 15 ============================================================ ====== Tracking Id: 2737 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-12 11:16:52') AND us2_order_type_id = 3 ## Order found: 2625 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2625 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3491 ## Mailing found: '13671' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2738 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-12 11:16:58') AND us2_order_type_id = 3 ## Order found: 2626 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2626 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2739 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-12 11:17:02') AND us2_order_type_id = 3 ## Order found: 2626 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2626 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3525 ## Mailing found: '13673' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634468, Consumer Id: 487048, Address Id: 9850716 => Updated with Vin: 5NMSH13E87H011269 ## Mail History Id: 31634454, Consumer Id: 520479, Address Id: 9849667 => Updated with Vin: KMHFU45E54A293609 ## Mail History Id: 31634350, Consumer Id: 488111, Address Id: 9851868 => Updated with Vin: KMHCN36C57U032507 ## Mail History Id: 31634440, Consumer Id: 609727, Address Id: 11754662 => Updated with Vin: KMHDU46D78U362074 ## Mail History Id: 31634362, Consumer Id: 609728, Address Id: 11754663 => Updated with Vin: KMHDU46D98U383024 ## Mail History Id: 31634416, Consumer Id: 609732, Address Id: 11754667 => Updated with Vin: 2T1BR32E77C794973 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 2740 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-12 11:17:58') AND us2_order_type_id = 3 ## Order found: 2627 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2627 AND product_id = 144 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3705 ## Mailing found: '13704' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632382, Consumer Id: 961201, Address Id: 10455171 => Updated with Vin: 2G1WF52E849203429 ## Mail History Id: 31632324, Consumer Id: 963046, Address Id: 14835814 => Updated with Vin: 1G2ZM171264205177 ## Mail History Id: 31632374, Consumer Id: 963703, Address Id: 14836388 => Updated with Vin: 2G4WC582461184971 ## Mail History Id: 31632374, Consumer Id: 963703, Address Id: 14836388 => Updated with Vin: 2G4WC582461184971 ## Mail History Id: 31632274, Consumer Id: 964346, Address Id: 14836862 => Updated with Vin: 1GNFC13J47J109097 ## Mail History Id: 31632400, Consumer Id: 966096, Address Id: 14838207 => Updated with Vin: 1GKFC13J57R179299 ## Mail History Id: 31632278, Consumer Id: 966444, Address Id: 14838433 => Updated with Vin: 1LNHM82W33Y683160 ## Mail History Id: 31632396, Consumer Id: 966094, Address Id: 14838205 => Updated with Vin: 1GTHK23D26F268996 ## Mail History Id: 31632334, Consumer Id: 967278, Address Id: 14835042 => Updated with Vin: 3GNFC16J57G165109 ## Mail History Id: 31632386, Consumer Id: 969302, Address Id: 14840578 => Updated with Vin: 5GADV33107D104923 ## Mail History Id: 31632394, Consumer Id: 970438, Address Id: 14841417 => Updated with Vin: 1GNFC13007J404222 ## Mail History Id: 31632364, Consumer Id: 971766, Address Id: 14842388 => Updated with Vin: 1GNDV33197D172420 ## Mail History Id: 31632342, Consumer Id: 972560, Address Id: 14842538 => Updated with Vin: 1G2ZF57B784172819 ## Mail History Id: 31632372, Consumer Id: 1157902, Address Id: 14835849 => Updated with Vin: 3GNCA23D48S673342 ## Mail History Id: 31632314, Consumer Id: 1158508, Address Id: 15020035 => Updated with Vin: 3GNDA13D26S544303 ## Mail History Id: 31632370, Consumer Id: 1157899, Address Id: 10452581 => Updated with Vin: 2CKDL33F086022361 ## Mail History Id: 31632294, Consumer Id: 1157900, Address Id: 9231178 => Updated with Vin: 2G2WP552981122888 ## Mail History Id: 31632270, Consumer Id: 1157901, Address Id: 15019287 => Updated with Vin: 3GCEC13J98G199239 ## Mail History Id: 31632358, Consumer Id: 1170157, Address Id: 14838188 => Updated with Vin: 3GCEC13098G143292 ## Mail History Id: 31632292, Consumer Id: 1157903, Address Id: 15019288 => Updated with Vin: 2G1WD58C189287613 ## Mail History Id: 31632290, Consumer Id: 1158509, Address Id: 9304103 => Updated with Vin: 3GNCA13D48S703482 ## Mail History Id: 31632308, Consumer Id: 1231386, Address Id: 9247138 => Updated with Vin: 1D7HE48K46S504362 ## Mail History Id: 31632276, Consumer Id: 1170162, Address Id: 2830764 => Updated with Vin: 2G1WD58C981222118 ## Mail History Id: 31632282, Consumer Id: 1170163, Address Id: 2897561 => Updated with Vin: 4T1CA38P64U011981 ## Mail History Id: 31632304, Consumer Id: 979986, Address Id: 14831661 => Updated with Vin: 1GCHK236X8F139439 ## Mail History Id: 31632322, Consumer Id: 1158126, Address Id: 14839007 => Updated with Vin: 1GKEK63U96J158717 ## Total mail_history records updated with vin numbers: 26 out of 38 ============================================================ ====== Tracking Id: 2741 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-12 11:18:14') AND us2_order_type_id = 3 ## Order found: 2627 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2627 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3705 ## Mailing found: '13675' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635092, Consumer Id: 967928, Address Id: 14839606 => Updated with Vin: 1GCEC14C57Z532177 ## Mail History Id: 31635090, Consumer Id: 972027, Address Id: 14842563 => Updated with Vin: 5Y2SL65808Z414033 ## Mail History Id: 31635044, Consumer Id: 972028, Address Id: 14842564 => Updated with Vin: 1GNFK13098R118827 ## Mail History Id: 31635114, Consumer Id: 972030, Address Id: 14842566 => Updated with Vin: 1GNFC130X8R154832 ## Mail History Id: 31635112, Consumer Id: 972034, Address Id: 14841922 => Updated with Vin: 1GCEK14X08Z116299 ## Mail History Id: 31635040, Consumer Id: 972035, Address Id: 921836 => Updated with Vin: 1GBJG31U371158652 ## Mail History Id: 31635046, Consumer Id: 975785, Address Id: 14844040 => Updated with Vin: 2GCEC13T751123248 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 2742 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-12 11:18:18') AND us2_order_type_id = 3 ## Order found: 2628 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2628 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3808 ## Mailing found: '13708' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632164, Consumer Id: 1171365, Address Id: 15029558 => Updated with Vin: 3GNDA23D36S668277 ## Mail History Id: 31632132, Consumer Id: 1170861, Address Id: 15029099 => Updated with Vin: 1GNDS13S862308374 ## Mail History Id: 31632134, Consumer Id: 1172445, Address Id: 15030477 => Updated with Vin: 1GBDV13L86D181983 ## Mail History Id: 31632142, Consumer Id: 1171505, Address Id: 15029683 => Updated with Vin: 1GCCS199588136913 ## Mail History Id: 31632190, Consumer Id: 1172527, Address Id: 15030541 => Updated with Vin: 3GCEC13J17G528434 ## Mail History Id: 31632078, Consumer Id: 1171596, Address Id: 15029762 => Updated with Vin: 1G1AL58F087117994 ## Mail History Id: 31632098, Consumer Id: 1171097, Address Id: 15029317 => Updated with Vin: 1GNEK13ZX6R127303 ## Mail History Id: 31632268, Consumer Id: 1171933, Address Id: 15030051 => Updated with Vin: 1GCJC33133F166659 ## Mail History Id: 31632094, Consumer Id: 1171818, Address Id: 15029086 => Updated with Vin: 3GNDA23D57S536526 ## Mail History Id: 31632170, Consumer Id: 1172577, Address Id: 15030580 => Updated with Vin: 1GBKP37N1R3308074 ## Mail History Id: 31632116, Consumer Id: 1172672, Address Id: 15030655 => Updated with Vin: 1GJDG31R711217633 ## Mail History Id: 31632176, Consumer Id: 1172526, Address Id: 15030540 => Updated with Vin: 2GCEC130471657039 ## Mail History Id: 31632150, Consumer Id: 1172529, Address Id: 15030543 => Updated with Vin: 2C1MR522X16703436 ## Mail History Id: 31632086, Consumer Id: 1172650, Address Id: 15030638 => Updated with Vin: 1G2NW12E34C158764 ## Mail History Id: 31632108, Consumer Id: 1172663, Address Id: 4505086 => Updated with Vin: 2GTEK19T621297009 ## Mail History Id: 31632158, Consumer Id: 1172437, Address Id: 15030472 => Updated with Vin: 1GCCS19R6K2232270 ## Mail History Id: 31632110, Consumer Id: 1172573, Address Id: 15030578 => Updated with Vin: 1GCHK34K1NE159808 ## Mail History Id: 31632152, Consumer Id: 1171953, Address Id: 15030070 => Updated with Vin: 1GNEC13R2XJ401672 ## Mail History Id: 31632184, Consumer Id: 1171099, Address Id: 15029319 => Updated with Vin: 2G1WH55K249334500 ## Mail History Id: 31632146, Consumer Id: 1172444, Address Id: 4510156 => Updated with Vin: 2GCEK13T241381016 ## Mail History Id: 31632194, Consumer Id: 1171095, Address Id: 15029315 => Updated with Vin: 1GCJK33DX7F160117 ## Mail History Id: 31632180, Consumer Id: 1171358, Address Id: 14813995 => Updated with Vin: 3GNEC16T4YG123173 ## Mail History Id: 31632178, Consumer Id: 1172121, Address Id: 15030214 => Updated with Vin: 2GCEK13T361201156 ## Mail History Id: 31632138, Consumer Id: 1172671, Address Id: 15030654 => Updated with Vin: 3GNFC16037G158246 ## Mail History Id: 31632112, Consumer Id: 1172581, Address Id: 15030583 => Updated with Vin: 1GNDX03E01D105921 ## Mail History Id: 31632160, Consumer Id: 1172523, Address Id: 15030537 => Updated with Vin: 1GNDS13S842151314 ## Mail History Id: 31632114, Consumer Id: 1172644, Address Id: 15030633 => Updated with Vin: 2G1WX15K529202968 ## Mail History Id: 31632088, Consumer Id: 1172578, Address Id: 15030581 => Updated with Vin: 5B4MP67G753407778 ## Mail History Id: 31632088, Consumer Id: 1172578, Address Id: 15030581 => Updated with Vin: 5B4MP67G753407778 ## Mail History Id: 31632130, Consumer Id: 1172152, Address Id: 15028957 => Updated with Vin: 1GCHG356481108723 ## Mail History Id: 31632130, Consumer Id: 1172440, Address Id: 15028957 => Updated with Vin: 2G1WB55K181242493 ## Mail History Id: 31632192, Consumer Id: 1172649, Address Id: 15030637 => Updated with Vin: 2G1WF52E449121553 ## Mail History Id: 31632120, Consumer Id: 1172571, Address Id: 15030576 => Updated with Vin: 2GCEC13T661236383 ## Total mail_history records updated with vin numbers: 33 out of 34 ============================================================ ====== Tracking Id: 2743 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-12 11:18:26') AND us2_order_type_id = 3 ## Order found: 2628 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2628 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2744 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-12 11:18:29') AND us2_order_type_id = 3 ## Order found: 2627 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2627 AND product_id = 106 ## Job Group Found: '587' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('587') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508005' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508005') AND customer_id = 3705 ## Mailing found: '13691' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634208, Consumer Id: 969623, Address Id: 14840845 => Updated with Vin: 2GCEC19C371731732 ## Mail History Id: 31634209, Consumer Id: 970487, Address Id: 14836507 => Updated with Vin: 1G1AL15F877100968 ## Mail History Id: 31634210, Consumer Id: 971301, Address Id: 14842044 => Updated with Vin: 3GNEC12J07G321574 ## Mail History Id: 31634211, Consumer Id: 971308, Address Id: 9864979 => Updated with Vin: 5Y2SL65897Z436241 ## Mail History Id: 31634212, Consumer Id: 979857, Address Id: 14846332 => Updated with Vin: 3GNDA13D36S617713 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 2745 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-12 11:18:30') AND us2_order_type_id = 3 ## Order found: 2630 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2630 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2746 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-12 11:18:42') AND us2_order_type_id = 3 ## Order found: 2627 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2627 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2747 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-12 11:18:42') AND us2_order_type_id = 3 ## Order found: 2628 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2628 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3808 ## Mailing found: '13678' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634766, Consumer Id: 1266454, Address Id: 15437933 => Updated with Vin: 1GCEK19T74Z168027 ## Mail History Id: 31634820, Consumer Id: 1266265, Address Id: 15437781 => Updated with Vin: 1G1JC524427200312 ## Mail History Id: 31634790, Consumer Id: 1266487, Address Id: 15437962 => Updated with Vin: 1G1JC1240VM167176 ## Mail History Id: 31634728, Consumer Id: 1266262, Address Id: 15437778 => Updated with Vin: 1GHDUO6L7RT323460 ## Mail History Id: 31634700, Consumer Id: 1266329, Address Id: 14815178 => Updated with Vin: 1GCEC19TXYZ248246 ## Mail History Id: 31634712, Consumer Id: 1266263, Address Id: 15437779 => Updated with Vin: 1G1JF52F937357960 ## Mail History Id: 31634732, Consumer Id: 1266173, Address Id: 15437715 => Updated with Vin: 1GCHC29172E177894 ## Mail History Id: 31634804, Consumer Id: 1266367, Address Id: 15437861 => Updated with Vin: 1GCCS19591K147189 ## Mail History Id: 31634708, Consumer Id: 1265765, Address Id: 15030240 => Updated with Vin: 1GNDV13E72D181522 ## Mail History Id: 31634702, Consumer Id: 1266450, Address Id: 15437929 => Updated with Vin: 1GKDT13W4Y2107376 ## Mail History Id: 31634778, Consumer Id: 1266447, Address Id: 15437926 => Updated with Vin: 1GNEC13V72R312526 ## Mail History Id: 31634746, Consumer Id: 1266176, Address Id: 15437717 => Updated with Vin: 3GNEK12Z65G289669 ## Mail History Id: 31634776, Consumer Id: 1266261, Address Id: 14813527 => Updated with Vin: 1G1ND52F05M189380 ## Total mail_history records updated with vin numbers: 13 out of 14 ============================================================ ====== Tracking Id: 2748 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-12 11:45:04') AND us2_order_type_id = 3 ## Order found: 2629 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2629 AND product_id = 142 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2749 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-12 11:45:16') AND us2_order_type_id = 3 ## Order found: 2629 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2629 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3357 ## Mailing found: '13663' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635546, Consumer Id: 609853, Address Id: 11754743 => Updated with Vin: 1FMYU95H06KA79334 ## Mail History Id: 31635424, Consumer Id: 611893, Address Id: 11755870 => Updated with Vin: 2FMZA50441BA80564 ## Mail History Id: 31635378, Consumer Id: 187893, Address Id: 397803 => Updated with Vin: 1FAHP34Z13W271195 ## Mail History Id: 31635350, Consumer Id: 611894, Address Id: 11755871 => Updated with Vin: 1FTNW21L72EC99372 ## Mail History Id: 31635352, Consumer Id: 189661, Address Id: 399534 => Updated with Vin: JM1BK323X41142836 ## Mail History Id: 31635508, Consumer Id: 611898, Address Id: 403986 => Updated with Vin: 1FTPX04585KE29253 ## Mail History Id: 31635392, Consumer Id: 609852, Address Id: 399712 => Updated with Vin: JM3ER29L280198216 ## Mail History Id: 31635356, Consumer Id: 195456, Address Id: 404418 => Updated with Vin: JM1BG2269P0589870 ## Total mail_history records updated with vin numbers: 8 out of 10 ============================================================ ====== Tracking Id: 2750 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-12 11:45:20') AND us2_order_type_id = 3 ## Order found: 2630 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2630 AND product_id = 2147 ## Job Group Found: '584' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('584') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508002') AND customer_id = 3721 ## Mailing found: '13683' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31633917, Consumer Id: 1016465, Address Id: 14933189 => Updated with Vin: JM1NB353XX0120659 ## Mail History Id: 31633919, Consumer Id: 1008010, Address Id: 6659359 => Updated with Vin: 1YVGF22D825294918 ## Mail History Id: 31633921, Consumer Id: 1009499, Address Id: 6663884 => Updated with Vin: 4F2YU07181KM41158 ## Mail History Id: 31633923, Consumer Id: 1008653, Address Id: 6662811 => Updated with Vin: 1YVGF22C925292795 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2751 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-12 11:45:28') AND us2_order_type_id = 3 ## Order found: 2629 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2629 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3357 ## Mailing found: '13663' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635426, Consumer Id: 197478, Address Id: 406041 => Updated with Vin: 4F2CU09132KM56417 ## Mail History Id: 31635564, Consumer Id: 193934, Address Id: 404430 => Updated with Vin: JM3LW28J730361953 ## Mail History Id: 31635368, Consumer Id: 198618, Address Id: 407386 => Updated with Vin: 2FMDA51412BB68675 ## Mail History Id: 31635516, Consumer Id: 187689, Address Id: 399015 => Updated with Vin: JM1BK123841216937 ## Mail History Id: 31635410, Consumer Id: 189415, Address Id: 400824 => Updated with Vin: JM3LW28A350538288 ## Mail History Id: 31635366, Consumer Id: 198599, Address Id: 407385 => Updated with Vin: JM1BK324061491810 ## Mail History Id: 31635422, Consumer Id: 155625, Address Id: 397667 => Updated with Vin: 2FMDK49C77BB57447 ## Mail History Id: 31635326, Consumer Id: 196089, Address Id: 399725 => Updated with Vin: 1FTWW31P77EA53751 ## Mail History Id: 31635320, Consumer Id: 155568, Address Id: 397612 => Updated with Vin: 1FTPW12537KD60762 ## Mail History Id: 31635298, Consumer Id: 155623, Address Id: 397665 => Updated with Vin: JM1NC26F980144243 ## Mail History Id: 31635296, Consumer Id: 155624, Address Id: 397666 => Updated with Vin: JM1BK32G681839901 ## Mail History Id: 31635534, Consumer Id: 196365, Address Id: 405351 => Updated with Vin: 1FAFP3634YW111741 ## Total mail_history records updated with vin numbers: 12 out of 12 ============================================================ ====== Tracking Id: 2752 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-12 11:45:31') AND us2_order_type_id = 3 ## Order found: 2630 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2630 AND product_id = 2150 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3721 ## Mailing found: '13705' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631606, Consumer Id: 1016785, Address Id: 4573709 => Updated with Vin: 1G2ZM551664167818 ## Mail History Id: 31631600, Consumer Id: 1009753, Address Id: 6662291 => Updated with Vin: 4F2YZ04144KM15568 ## Mail History Id: 31631612, Consumer Id: 1017511, Address Id: 14933492 => Updated with Vin: JM1NC26F070130469 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2753 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-12 11:45:40') AND us2_order_type_id = 3 ## Order found: 2629 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2629 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3357 ## Mailing found: '13663' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635490, Consumer Id: 188159, Address Id: 399703 => Updated with Vin: 2FTRF172X4CA48462 ## Mail History Id: 31635480, Consumer Id: 152599, Address Id: 394919 => Updated with Vin: JM1BK12G461465354 ## Mail History Id: 31635486, Consumer Id: 192830, Address Id: 402756 => Updated with Vin: 1ZVFT80N665115271 ## Mail History Id: 31635478, Consumer Id: 192836, Address Id: 398921 => Updated with Vin: 3FAFP07166R133378 ## Mail History Id: 31635566, Consumer Id: 155908, Address Id: 397927 => Updated with Vin: 2LMDU88C58BJ09521 ## Mail History Id: 31635308, Consumer Id: 155814, Address Id: 397847 => Updated with Vin: 1FMCU59H38KD14230 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 2754 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-12 12:18:16') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2755 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-12 12:18:19') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2756 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-12 12:18:23') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2757 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-12 12:18:29') AND us2_order_type_id = 3 ## Order found: 2631 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2631 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2758 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-12 12:18:46') AND us2_order_type_id = 3 ## Order found: 2631 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2631 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3471 ## Mailing found: '13669' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635146, Consumer Id: 800923, Address Id: 10215154 => Updated with Vin: 1G6KS54Y21U292439 ## Mail History Id: 31635162, Consumer Id: 817141, Address Id: 10217544 => Updated with Vin: 1GYEE637X50233520 ## Mail History Id: 31635138, Consumer Id: 821005, Address Id: 10561042 => Updated with Vin: 1G6DP577060210607 ## Mail History Id: 31635154, Consumer Id: 802631, Address Id: 10216355 => Updated with Vin: 1G6KD54Y61U231749 ## Mail History Id: 31635182, Consumer Id: 821271, Address Id: 11877645 => Updated with Vin: 1G6YV36A365603562 ## Mail History Id: 31635184, Consumer Id: 823043, Address Id: 11878799 => Updated with Vin: 1GYFK63867R170646 ## Mail History Id: 31635168, Consumer Id: 823134, Address Id: 11876407 => Updated with Vin: 1G6DC67A050236457 ## Mail History Id: 31635156, Consumer Id: 799865, Address Id: 11870566 => Updated with Vin: 1G6EL12Y5XU608463 ## Total mail_history records updated with vin numbers: 8 out of 11 ============================================================ ====== Tracking Id: 2759 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-12 12:18:52') AND us2_order_type_id = 3 ## Order found: 2632 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2632 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3451 ## Mailing found: '13697' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632530, Consumer Id: 628551, Address Id: 11765757 => Updated with Vin: 1G6CD53B1M4234290 ## Mail History Id: 31632526, Consumer Id: 614123, Address Id: 4107113 => Updated with Vin: 1G6KS54Y7WU930336 ## Mail History Id: 31632494, Consumer Id: 615346, Address Id: 827542 => Updated with Vin: 1G6KF57931U132479 ## Mail History Id: 31632512, Consumer Id: 613869, Address Id: 835547 => Updated with Vin: 1G6ET1296XU611168 ## Mail History Id: 31632516, Consumer Id: 622327, Address Id: 11756438 => Updated with Vin: 1G6VS3386LU125992 ## Mail History Id: 31632534, Consumer Id: 627589, Address Id: 11765092 => Updated with Vin: 1G6EL1159KU619563 ## Mail History Id: 31632536, Consumer Id: 624626, Address Id: 11763345 => Updated with Vin: 1G6KD54Y95U209007 ## Mail History Id: 31632490, Consumer Id: 626151, Address Id: 11763718 => Updated with Vin: 1G6KD52Y3TU267212 ## Mail History Id: 31632496, Consumer Id: 613594, Address Id: 3240732 => Updated with Vin: 1GYEK63N13R246902 ## Mail History Id: 31632508, Consumer Id: 615157, Address Id: 832856 => Updated with Vin: 1GYEK63N72R229326 ## Mail History Id: 31632540, Consumer Id: 611820, Address Id: 11759957 => Updated with Vin: 1G6KE57Y61U115489 ## Mail History Id: 31632510, Consumer Id: 627240, Address Id: 11764776 => Updated with Vin: 1G6KF52Y3RU251157 ## Mail History Id: 31632542, Consumer Id: 938324, Address Id: 11960567 => Updated with Vin: 1G6KD54Y53U282033 ## Mail History Id: 31632518, Consumer Id: 938004, Address Id: 11960253 => Updated with Vin: 1G6KY5490WU918889 ## Mail History Id: 31632404, Consumer Id: 938002, Address Id: 11960252 => Updated with Vin: 1G6KD57Y66U195497 ## Mail History Id: 31632532, Consumer Id: 938003, Address Id: 11757966 => Updated with Vin: 1G6EL12Y0TU619641 ## Total mail_history records updated with vin numbers: 16 out of 27 ============================================================ ====== Tracking Id: 2760 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-12 14:14:53') AND us2_order_type_id = 3 ## Order found: 2620 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2620 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3418 ## Mailing found: '13696' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631812, Consumer Id: 623649, Address Id: 11764537 => Updated with Vin: 3GYFK66N36G216305 ## Mail History Id: 31631852, Consumer Id: 623650, Address Id: 11764538 => Updated with Vin: 1GYEE53A380191752 ## Mail History Id: 31631848, Consumer Id: 640962, Address Id: 10326333 => Updated with Vin: 1G6DM57T460104277 ## Total mail_history records updated with vin numbers: 3 out of 5 ============================================================ ====== Tracking Id: 2761 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-12 14:15:18') AND us2_order_type_id = 3 ## Order found: 2632 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2632 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3451 ## Mailing found: '13667' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635256, Consumer Id: 612433, Address Id: 11756120 => Updated with Vin: 3GYEK63N22G264534 ## Mail History Id: 31635228, Consumer Id: 613795, Address Id: 835468 => Updated with Vin: 1G6KD54Y63U132237 ## Mail History Id: 31635292, Consumer Id: 613092, Address Id: 11756526 => Updated with Vin: 1G6KD54Y7YU276614 ## Mail History Id: 31635278, Consumer Id: 611799, Address Id: 3244825 => Updated with Vin: 1G6KD57967U119515 ## Mail History Id: 31635254, Consumer Id: 612463, Address Id: 11756139 => Updated with Vin: 1G6EL12YX2B104687 ## Mail History Id: 31635198, Consumer Id: 614331, Address Id: 11757270 => Updated with Vin: 1G6KS54Y92U178018 ## Mail History Id: 31635274, Consumer Id: 624583, Address Id: 11763324 => Updated with Vin: 1G6DM57N330173555 ## Mail History Id: 31635272, Consumer Id: 628505, Address Id: 11765722 => Updated with Vin: 2HKYF18574H591511 ## Mail History Id: 31635242, Consumer Id: 619557, Address Id: 838405 => Updated with Vin: 3GYFK62838G233074 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 2762 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-12 14:15:30') AND us2_order_type_id = 3 ## Order found: 2632 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2632 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3451 ## Mailing found: '13667' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635280, Consumer Id: 622856, Address Id: 11761931 => Updated with Vin: 3GYEK62N35G284328 ## Mail History Id: 31635234, Consumer Id: 627337, Address Id: 11764843 => Updated with Vin: 1GYEK63N15R135396 ## Mail History Id: 31635214, Consumer Id: 628121, Address Id: 11765456 => Updated with Vin: 1HGEJ8143YL091991 ## Mail History Id: 31635288, Consumer Id: 628130, Address Id: 11765460 => Updated with Vin: 1G6DP577070139166 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 2763 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-12 14:15:42') AND us2_order_type_id = 3 ## Order found: 2632 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2632 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3451 ## Mailing found: '13667' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635248, Consumer Id: 619311, Address Id: 11760960 => Updated with Vin: 1G6KD57Y87U145508 ## Mail History Id: 31635190, Consumer Id: 619456, Address Id: 11761203 => Updated with Vin: 1G2ZG58N874124802 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2764 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-12 19:15:19') AND us2_order_type_id = 3 ## Order found: 2629 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2629 AND product_id = 55 ## Job Group Found: '585' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('585') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508003') AND customer_id = 3357 ## Mailing found: '13688' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634244, Consumer Id: 2045888, Address Id: 17024954 => Updated with Vin: 1FMZU63K84ZA71486 ## Mail History Id: 31634246, Consumer Id: 1986033, Address Id: 17003751 => Updated with Vin: 1ZVHT82H685179135 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2765 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-12 19:54:52') AND us2_order_type_id = 3 ## Order found: 2634 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2634 AND product_id = 2150 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3846 ## Mailing found: '13710' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631444, Consumer Id: 1185832, Address Id: 15369697 => Updated with Vin: JF1SG63647G728905 ## Mail History Id: 31631519, Consumer Id: 1179593, Address Id: 9752596 => Updated with Vin: 4S3BD6751W7205893 ## Mail History Id: 31631462, Consumer Id: 1187172, Address Id: 15371411 => Updated with Vin: JF1SG63616G733655 ## Mail History Id: 31631659, Consumer Id: 1180409, Address Id: 15367172 => Updated with Vin: 4S3BE645916215247 ## Mail History Id: 31631503, Consumer Id: 1186493, Address Id: 15370582 => Updated with Vin: JF1SG66688H716408 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 2766 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-12 19:55:06') AND us2_order_type_id = 3 ## Order found: 2634 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2634 AND product_id = 2147 ## Job Group Found: '584' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('584') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508002') AND customer_id = 3846 ## Mailing found: '13685' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31633946, Consumer Id: 1178872, Address Id: 15367589 => Updated with Vin: JF1SG65655G751362 ## Mail History Id: 31633948, Consumer Id: 1178796, Address Id: 15367493 => Updated with Vin: 4S4BP67C954323045 ## Mail History Id: 31633950, Consumer Id: 1186901, Address Id: 455964 => Updated with Vin: 4S3BH665917635380 ## Mail History Id: 31633952, Consumer Id: 1179418, Address Id: 15366321 => Updated with Vin: 4S3BD6359S7229794 ## Mail History Id: 31633954, Consumer Id: 1187211, Address Id: 15371457 => Updated with Vin: 4S3BP626667319606 ## Mail History Id: 31633956, Consumer Id: 1185541, Address Id: 15369430 => Updated with Vin: JF1GG61637G801724 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2767 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-12 19:55:18') AND us2_order_type_id = 3 ## Order found: 2634 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2634 AND product_id = 2152 ## Job Group Found: '589' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('589') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508007') AND customer_id = 3846 ## Mailing found: '13659' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634108, Consumer Id: 1178578, Address Id: 15367133 => Updated with Vin: 4S3BH675947632188 ## Mail History Id: 31634110, Consumer Id: 1187013, Address Id: 15371311 => Updated with Vin: 4S4WX86C364413145 ## Mail History Id: 31634112, Consumer Id: 1187011, Address Id: 15369696 => Updated with Vin: 4S4BP61C787312590 ## Mail History Id: 31634114, Consumer Id: 1184654, Address Id: 15368682 => Updated with Vin: JF1SG63623H729846 ## Mail History Id: 31634116, Consumer Id: 1183706, Address Id: 15368080 => Updated with Vin: JF1GD296X4H509564 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2768 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-12 20:15:08') AND us2_order_type_id = 3 ## Order found: 2615 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2615 AND product_id = 2147 ## Job Group Found: '584' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('584') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508002') AND customer_id = 3503 ## Mailing found: '13682' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31633962, Consumer Id: 2175090, Address Id: 9723163 => Updated with Vin: 5TEWM72N83Z236870 ## Mail History Id: 31633966, Consumer Id: 2166263, Address Id: 9733164 => Updated with Vin: JTMBD33V476025206 ## Total mail_history records updated with vin numbers: 2 out of 5 ============================================================ ====== Tracking Id: 2769 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-12 20:15:20') AND us2_order_type_id = 3 ## Order found: 2615 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2615 AND product_id = 2150 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2770 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-12 20:15:23') AND us2_order_type_id = 3 ## Order found: 2615 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2615 AND product_id = 2153 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3503 ## Mailing found: '13672' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634715, Consumer Id: 391400, Address Id: 9729327 => Updated with Vin: JTDBE30K363055739 ## Mail History Id: 31634669, Consumer Id: 2178005, Address Id: 9727693 => Updated with Vin: 4TAWM72N1YZ664245 ## Mail History Id: 31634671, Consumer Id: 2177823, Address Id: 9727185 => Updated with Vin: 4T1BF28B3YU015567 ## Mail History Id: 31634661, Consumer Id: 2161992, Address Id: 9728012 => Updated with Vin: 5TBBT44195S470776 ## Mail History Id: 31634733, Consumer Id: 2164097, Address Id: 9730466 => Updated with Vin: JTMBD32V465004135 ## Mail History Id: 31634735, Consumer Id: 2168857, Address Id: 462712 => Updated with Vin: 2T1BR32E28C892391 ## Mail History Id: 31634673, Consumer Id: 2172121, Address Id: 9719849 => Updated with Vin: 5TEWN72N83Z192284 ## Mail History Id: 31634745, Consumer Id: 2168901, Address Id: 9737565 => Updated with Vin: JTMBD33V386054908 ## Mail History Id: 31634617, Consumer Id: 2163490, Address Id: 9729804 => Updated with Vin: 5TBBT44165S457905 ## Mail History Id: 31634709, Consumer Id: 2183717, Address Id: 457794 => Updated with Vin: 4T3ZF13C51U374893 ## Total mail_history records updated with vin numbers: 10 out of 21 ============================================================ ====== Tracking Id: 2771 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-12 20:15:36') AND us2_order_type_id = 3 ## Order found: 2615 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2615 AND product_id = 2152 ## Job Group Found: '589' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('589') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508007') AND customer_id = 3503 ## Mailing found: '13653' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634118, Consumer Id: 2179309, Address Id: 9730092 => Updated with Vin: 2T1BR32E44C208192 ## Mail History Id: 31634120, Consumer Id: 2165438, Address Id: 9731900 => Updated with Vin: JTEBU14R068066856 ## Mail History Id: 31634122, Consumer Id: 2159503, Address Id: 116648 => Updated with Vin: 2T1BR32E24C259920 ## Mail History Id: 31634126, Consumer Id: 2176260, Address Id: 9724773 => Updated with Vin: 4T1BF28B22U197382 ## Total mail_history records updated with vin numbers: 4 out of 6 ============================================================ ====== Tracking Id: 2772 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-13 07:15:29') AND us2_order_type_id = 3 ## Order found: 2672 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2672 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2773 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-13 08:45:24') AND us2_order_type_id = 3 ## Order found: 2652 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2652 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3230 ## Mailing found: '13870' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724585, Consumer Id: 528042, Address Id: 49108 => Updated with Vin: 1FMZK02165GA31450 ## Mail History Id: 31724603, Consumer Id: 103843, Address Id: 53244 => Updated with Vin: 1FMPU16536LA67190 ## Mail History Id: 31724591, Consumer Id: 103846, Address Id: 53980 => Updated with Vin: 1GCEC14V2YE181089 ## Mail History Id: 31724599, Consumer Id: 103844, Address Id: 53979 => Updated with Vin: 1FMYU70E01UA35333 ## Mail History Id: 31724595, Consumer Id: 103845, Address Id: 53646 => Updated with Vin: 1FTRX18W32NA90221 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2774 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-13 08:45:30') AND us2_order_type_id = 3 ## Order found: 2652 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2652 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3230 ## Mailing found: '13809' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723546, Consumer Id: 937783, Address Id: 7537530 => Updated with Vin: 1C3XJ4530LG424428 ## Mail History Id: 31723610, Consumer Id: 92492, Address Id: 50791 => Updated with Vin: 1FTPW14546FB51938 ## Mail History Id: 31723430, Consumer Id: 938078, Address Id: 11960360 => Updated with Vin: 1FAHP35N78W192181 ## Mail History Id: 31723590, Consumer Id: 93259, Address Id: 50540 => Updated with Vin: 2FMDK39C97BB67262 ## Mail History Id: 31723580, Consumer Id: 93353, Address Id: 51838 => Updated with Vin: 1B3EL46X65N624003 ## Mail History Id: 31723334, Consumer Id: 102806, Address Id: 47311 => Updated with Vin: 1FTWW33P53EB59638 ## Mail History Id: 31723722, Consumer Id: 64469, Address Id: 52514 => Updated with Vin: 1FTSW31P64ED36183 ## Mail History Id: 31723728, Consumer Id: 65161, Address Id: 49501 => Updated with Vin: 1ZVHT82H255218248 ## Mail History Id: 31723724, Consumer Id: 63652, Address Id: 49336 => Updated with Vin: 1FMZU77K14UB16197 ## Mail History Id: 31723620, Consumer Id: 65471, Address Id: 49053 => Updated with Vin: 4M2ZV12T02DJ11661 ## Mail History Id: 31723550, Consumer Id: 64886, Address Id: 52508 => Updated with Vin: 1FTWW31PX5EA89687 ## Mail History Id: 31723682, Consumer Id: 66201, Address Id: 50128 => Updated with Vin: 1FMEU73896UA53474 ## Mail History Id: 31723676, Consumer Id: 937784, Address Id: 54087 => Updated with Vin: 1GAHG394071241494 ## Mail History Id: 31723558, Consumer Id: 64195, Address Id: 52173 => Updated with Vin: 1FTPW14524KC32568 ## Mail History Id: 31723668, Consumer Id: 102057, Address Id: 51852 => Updated with Vin: 2FTRF17272CA23614 ## Mail History Id: 31723670, Consumer Id: 63598, Address Id: 48361 => Updated with Vin: 1FTRW08L03KD94466 ## Mail History Id: 31723650, Consumer Id: 937787, Address Id: 10233465 => Updated with Vin: 2MEFM75W51X672691 ## Mail History Id: 31723648, Consumer Id: 92788, Address Id: 51208 => Updated with Vin: 1FMYU93167KB60085 ## Mail History Id: 31723622, Consumer Id: 93080, Address Id: 51510 => Updated with Vin: 1MEFM50U32G613060 ## Mail History Id: 31723624, Consumer Id: 64517, Address Id: 47876 => Updated with Vin: 1FAFP53275A288526 ## Mail History Id: 31723328, Consumer Id: 38504, Address Id: 49153 => Updated with Vin: 1FTSW21P55EA62454 ## Mail History Id: 31723630, Consumer Id: 64020, Address Id: 47650 => Updated with Vin: 3FAKP1138XR194876 ## Mail History Id: 31723684, Consumer Id: 67716, Address Id: 50783 => Updated with Vin: 1FAFP28126G113307 ## Mail History Id: 31723662, Consumer Id: 103464, Address Id: 49672 => Updated with Vin: 1FTPW12596KB59446 ## Mail History Id: 31723656, Consumer Id: 103691, Address Id: 47334 => Updated with Vin: 1FMNE11L37DA88806 ## Mail History Id: 31723544, Consumer Id: 91831, Address Id: 50041 => Updated with Vin: 1FAFP37N97W243988 ## Mail History Id: 31723574, Consumer Id: 65868, Address Id: 50445 => Updated with Vin: 1FTSW31P53ED52907 ## Mail History Id: 31723592, Consumer Id: 937788, Address Id: 11960024 => Updated with Vin: 1FTSX31F2XEB64985 ## Mail History Id: 31723566, Consumer Id: 937785, Address Id: 7537695 => Updated with Vin: 1FAFP53S2WA183667 ## Mail History Id: 31723602, Consumer Id: 67757, Address Id: 51265 => Updated with Vin: 1FTPX14V27FA18111 ## Mail History Id: 31723788, Consumer Id: 73752, Address Id: 51749 => Updated with Vin: 1FTXW43R78EC37761 ## Mail History Id: 31723556, Consumer Id: 102043, Address Id: 50930 => Updated with Vin: 1FAFP404XWF145719 ## Mail History Id: 31723238, Consumer Id: 938077, Address Id: 11910639 => Updated with Vin: 1FAHP35NX8W253278 ## Total mail_history records updated with vin numbers: 33 out of 40 ============================================================ ====== Tracking Id: 2775 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-13 09:18:23') AND us2_order_type_id = 3 ## Order found: 2653 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2653 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3470 ## Mailing found: '13668' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634409, Consumer Id: 578984, Address Id: 3494554 => Updated with Vin: 2C4GP74L22R700327 ## Mail History Id: 31634479, Consumer Id: 577196, Address Id: 10725817 => Updated with Vin: 1D4GP25383B196869 ## Mail History Id: 31634509, Consumer Id: 578976, Address Id: 4600797 => Updated with Vin: 1J4GX58N52C276936 ## Mail History Id: 31634455, Consumer Id: 554369, Address Id: 10688929 => Updated with Vin: 1D7HA18N13J614713 ## Mail History Id: 31634377, Consumer Id: 583328, Address Id: 10745434 => Updated with Vin: 1D3HA16Z82J148137 ## Mail History Id: 31634499, Consumer Id: 560216, Address Id: 10697676 => Updated with Vin: 2D4GP44L35R252069 ## Mail History Id: 31634316, Consumer Id: 560217, Address Id: 10697677 => Updated with Vin: 2C3AA63H85H544811 ## Mail History Id: 31634537, Consumer Id: 562497, Address Id: 1551000 => Updated with Vin: 1J4GK48K45W521243 ## Mail History Id: 31634469, Consumer Id: 562910, Address Id: 10701284 => Updated with Vin: 1D4HD38K95F605768 ## Mail History Id: 31634573, Consumer Id: 563009, Address Id: 10703433 => Updated with Vin: 1D7HA18D15S333984 ## Mail History Id: 31634297, Consumer Id: 575932, Address Id: 10723164 => Updated with Vin: 1C3AN65L75X046715 ## Mail History Id: 31634359, Consumer Id: 576959, Address Id: 10725726 => Updated with Vin: 1J4FA39S12P707920 ## Mail History Id: 31634481, Consumer Id: 578982, Address Id: 10733297 => Updated with Vin: 1C3AN65LX5X043050 ## Mail History Id: 31634302, Consumer Id: 570965, Address Id: 4885911 => Updated with Vin: 1J8GL58K17W695548 ## Mail History Id: 31634278, Consumer Id: 572428, Address Id: 10718064 => Updated with Vin: 1B4HR48N02F149649 ## Mail History Id: 31634318, Consumer Id: 572432, Address Id: 5698653 => Updated with Vin: 2A4GP54L17R184533 ## Mail History Id: 31634345, Consumer Id: 582045, Address Id: 10743598 => Updated with Vin: 2C3LA53G47H792146 ## Mail History Id: 31634379, Consumer Id: 571929, Address Id: 10718954 => Updated with Vin: 1B3HB28B57D271154 ## Mail History Id: 31634505, Consumer Id: 571927, Address Id: 10718953 => Updated with Vin: 3A4FY48B66T266628 ## Mail History Id: 31634289, Consumer Id: 582953, Address Id: 10744613 => Updated with Vin: 1C3LC46K37N558513 ## Mail History Id: 31634334, Consumer Id: 583336, Address Id: 10745439 => Updated with Vin: 3B7KC23611G716933 ## Mail History Id: 31634583, Consumer Id: 573299, Address Id: 10719550 => Updated with Vin: 1C3LC66M17N563657 ## Mail History Id: 31634280, Consumer Id: 583338, Address Id: 8540932 => Updated with Vin: 2D4GP44L66R824754 ## Mail History Id: 31634495, Consumer Id: 583334, Address Id: 10745437 => Updated with Vin: 2B6KB31Y21K508094 ## Mail History Id: 31634475, Consumer Id: 583342, Address Id: 5573382 => Updated with Vin: 1B3ES56C93D208231 ## Mail History Id: 31634291, Consumer Id: 557729, Address Id: 10693915 => Updated with Vin: 2C3JA63H75H137031 ## Mail History Id: 31634295, Consumer Id: 573163, Address Id: 795798 => Updated with Vin: 5TFRV54147X023601 ## Total mail_history records updated with vin numbers: 27 out of 33 ============================================================ ====== Tracking Id: 2776 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-13 09:18:35') AND us2_order_type_id = 3 ## Order found: 2653 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2653 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3470 ## Mailing found: '13668' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634347, Consumer Id: 938449, Address Id: 10678094 => Updated with Vin: 3C3HY55X28T105852 ## Mail History Id: 31634459, Consumer Id: 573908, Address Id: 10720658 => Updated with Vin: 1J4GX48S03C514600 ## Mail History Id: 31634385, Consumer Id: 570642, Address Id: 10717285 => Updated with Vin: 1D4GP24R87B158084 ## Mail History Id: 31634371, Consumer Id: 564119, Address Id: 7465490 => Updated with Vin: 2C4GM68495R589236 ## Mail History Id: 31634287, Consumer Id: 573055, Address Id: 1785222 => Updated with Vin: 1D7HA18N48S518706 ## Mail History Id: 31634311, Consumer Id: 570817, Address Id: 10686502 => Updated with Vin: 1J8FT57W57D276467 ## Mail History Id: 31634559, Consumer Id: 578063, Address Id: 10728343 => Updated with Vin: 1J4FA44S65P307868 ## Mail History Id: 31634577, Consumer Id: 569122, Address Id: 10712471 => Updated with Vin: 3A4FY48B46T364430 ## Mail History Id: 31634429, Consumer Id: 572815, Address Id: 7469666 => Updated with Vin: 1J4GA391X8L559343 ## Mail History Id: 31634579, Consumer Id: 573189, Address Id: 10719497 => Updated with Vin: 1B3ES66S75D194328 ## Mail History Id: 31634433, Consumer Id: 820357, Address Id: 10690475 => Updated with Vin: 1B3LC56KX8N569383 ## Mail History Id: 31634575, Consumer Id: 939492, Address Id: 11961247 => Updated with Vin: 1B3HB28B37D182389 ## Mail History Id: 31634331, Consumer Id: 909843, Address Id: 11940162 => Updated with Vin: 1D7HA18K08J132490 ## Mail History Id: 31634304, Consumer Id: 938454, Address Id: 2309869 => Updated with Vin: 2C8GM68495R533828 ## Mail History Id: 31634403, Consumer Id: 939498, Address Id: 11961249 => Updated with Vin: 1J4HS58N45C721058 ## Mail History Id: 31634605, Consumer Id: 939501, Address Id: 11961250 => Updated with Vin: 3C3JY45X16T246470 ## Mail History Id: 31634257, Consumer Id: 939502, Address Id: 774479 => Updated with Vin: 1J4GA59137L220112 ## Mail History Id: 31634601, Consumer Id: 939356, Address Id: 11961244 => Updated with Vin: KMHWF35H84A973793 ## Total mail_history records updated with vin numbers: 18 out of 20 ============================================================ ====== Tracking Id: 2777 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-13 09:18:47') AND us2_order_type_id = 3 ## Order found: 2653 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2653 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3470 ## Mailing found: '13668' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634349, Consumer Id: 562324, Address Id: 10700868 => Updated with Vin: 1J4HS58N55C621406 ## Mail History Id: 31634275, Consumer Id: 575164, Address Id: 781878 => Updated with Vin: 1J4G248S9YC369255 ## Mail History Id: 31634282, Consumer Id: 560608, Address Id: 5744173 => Updated with Vin: 1G1JC52F147128036 ## Mail History Id: 31634407, Consumer Id: 576273, Address Id: 10723682 => Updated with Vin: 1J4GW48N21C635980 ## Mail History Id: 31634561, Consumer Id: 563430, Address Id: 10703587 => Updated with Vin: 1D4HD58D25F525032 ## Mail History Id: 31634271, Consumer Id: 567536, Address Id: 4046801 => Updated with Vin: 3D7MX48D06G240185 ## Mail History Id: 31634551, Consumer Id: 570062, Address Id: 10716838 => Updated with Vin: 2A8GM68X47R163699 ## Mail History Id: 31634323, Consumer Id: 570065, Address Id: 10716643 => Updated with Vin: 1J8FT57W87D276463 ## Mail History Id: 31634317, Consumer Id: 570686, Address Id: 10717309 => Updated with Vin: 2A4GP54L17R275348 ## Mail History Id: 31634419, Consumer Id: 582017, Address Id: 2057082 => Updated with Vin: 1J4GS48K66C119484 ## Mail History Id: 31634393, Consumer Id: 572992, Address Id: 7467515 => Updated with Vin: 1C3LC55RX8N173178 ## Mail History Id: 31634315, Consumer Id: 582878, Address Id: 4890867 => Updated with Vin: 1J4GK58K06W205149 ## Mail History Id: 31634303, Consumer Id: 582877, Address Id: 7462183 => Updated with Vin: 2C4GM68405R426569 ## Mail History Id: 31634299, Consumer Id: 582880, Address Id: 10744589 => Updated with Vin: 1B3ES56C24D573576 ## Mail History Id: 31634441, Consumer Id: 582881, Address Id: 4904513 => Updated with Vin: 1J8FT28W07D400903 ## Mail History Id: 31634517, Consumer Id: 582882, Address Id: 10744590 => Updated with Vin: 2D4FV47T47H641583 ## Mail History Id: 31634491, Consumer Id: 572914, Address Id: 10719370 => Updated with Vin: 2C8GP74L52R505403 ## Total mail_history records updated with vin numbers: 17 out of 20 ============================================================ ====== Tracking Id: 2778 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-13 09:18:53') AND us2_order_type_id = 3 ## Order found: 2654 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2654 AND product_id = 142 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3768 ## Mailing found: '13706' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631887, Consumer Id: 1042006, Address Id: 12937962 => Updated with Vin: 1G6KD54Y72U171241 ## Mail History Id: 31632145, Consumer Id: 1109112, Address Id: 2777730 => Updated with Vin: 1G6DC67A750183742 ## Mail History Id: 31631813, Consumer Id: 1109646, Address Id: 14982123 => Updated with Vin: 1G6DM56T350216097 ## Mail History Id: 31631817, Consumer Id: 1109275, Address Id: 5987380 => Updated with Vin: 1G6KD57Y97U128314 ## Mail History Id: 31632157, Consumer Id: 1109373, Address Id: 14982562 => Updated with Vin: 3GYFK66N65G186909 ## Mail History Id: 31631855, Consumer Id: 1109969, Address Id: 5990652 => Updated with Vin: 1G6KS52Y3RU817684 ## Mail History Id: 31632163, Consumer Id: 1042624, Address Id: 3238586 => Updated with Vin: 1G6KF579X2U112893 ## Mail History Id: 31632171, Consumer Id: 1107122, Address Id: 8715448 => Updated with Vin: 1G6KD54Y25U177534 ## Mail History Id: 31631823, Consumer Id: 1107082, Address Id: 14981967 => Updated with Vin: 1G6KD54YX2U137682 ## Mail History Id: 31632125, Consumer Id: 1109670, Address Id: 11257933 => Updated with Vin: 1G6YV34A845604240 ## Mail History Id: 31631921, Consumer Id: 1109647, Address Id: 14982681 => Updated with Vin: 1G6DC67A750229053 ## Mail History Id: 31631807, Consumer Id: 1112805, Address Id: 5985989 => Updated with Vin: 1GYEK63N92R319724 ## Mail History Id: 31631879, Consumer Id: 1107185, Address Id: 5992037 => Updated with Vin: 1G6DC67A250186628 ## Mail History Id: 31631875, Consumer Id: 1107472, Address Id: 5990995 => Updated with Vin: 1G6KD54Y62U275638 ## Mail History Id: 31631761, Consumer Id: 1110270, Address Id: 2852103 => Updated with Vin: 3GYFK66NX4G288373 ## Mail History Id: 31631889, Consumer Id: 1110659, Address Id: 14828621 => Updated with Vin: 1GYEK63N05R154389 ## Mail History Id: 31631885, Consumer Id: 1116709, Address Id: 14984198 => Updated with Vin: 1G6KF57903U108787 ## Mail History Id: 31631877, Consumer Id: 1116873, Address Id: 14953319 => Updated with Vin: 1G6KD52B2SU268961 ## Mail History Id: 31631877, Consumer Id: 1046068, Address Id: 14953319 => Updated with Vin: 1G6KE57Y73U139108 ## Mail History Id: 31632117, Consumer Id: 1116874, Address Id: 14984265 => Updated with Vin: 1G6DM57NX30153402 ## Mail History Id: 31632127, Consumer Id: 1115670, Address Id: 11449316 => Updated with Vin: 1G6KD57Y76U229799 ## Mail History Id: 31632201, Consumer Id: 1116880, Address Id: 14984269 => Updated with Vin: 1GYEK63N32R131037 ## Mail History Id: 31631478, Consumer Id: 1107946, Address Id: 14982140 => Updated with Vin: W06VR54R0XR112371 ## Total mail_history records updated with vin numbers: 23 out of 24 ============================================================ ====== Tracking Id: 2779 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-13 09:18:59') AND us2_order_type_id = 3 ## Order found: 2654 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2654 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3768 ## Mailing found: '13676' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634973, Consumer Id: 1045790, Address Id: 5989220 => Updated with Vin: 1G6DM57N230123276 ## Mail History Id: 31634867, Consumer Id: 1108583, Address Id: 3238677 => Updated with Vin: 1G6KD57Y96U201860 ## Mail History Id: 31634977, Consumer Id: 1112533, Address Id: 8827912 => Updated with Vin: 1G6DM57NX30171799 ## Mail History Id: 31635017, Consumer Id: 1116196, Address Id: 1084862 => Updated with Vin: SALME11423A132226 ## Mail History Id: 31634883, Consumer Id: 1116635, Address Id: 3239306 => Updated with Vin: 1G6KD57Y97U109021 ## Mail History Id: 31634879, Consumer Id: 1110818, Address Id: 3238871 => Updated with Vin: 1G6KE54Y02U137347 ## Mail History Id: 31635015, Consumer Id: 1047754, Address Id: 8829412 => Updated with Vin: 3GYFK66N13G292486 ## Mail History Id: 31634959, Consumer Id: 1115937, Address Id: 8827503 => Updated with Vin: 1G6KD57Y06U159238 ## Mail History Id: 31634865, Consumer Id: 1116653, Address Id: 14984173 => Updated with Vin: 1GMDX13E4YD324188 ## Mail History Id: 31635013, Consumer Id: 1108160, Address Id: 5993559 => Updated with Vin: 1G6KD54Y02U145385 ## Mail History Id: 31634961, Consumer Id: 1115754, Address Id: 14983882 => Updated with Vin: 1FAFP55272G264071 ## Mail History Id: 31634957, Consumer Id: 1116245, Address Id: 14983997 => Updated with Vin: 1G6KD54Y8XU768261 ## Total mail_history records updated with vin numbers: 12 out of 12 ============================================================ ====== Tracking Id: 2780 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-13 09:19:11') AND us2_order_type_id = 3 ## Order found: 2654 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2654 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3768 ## Mailing found: '13676' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634951, Consumer Id: 1116026, Address Id: 8827174 => Updated with Vin: 1G6KD54Y53U281819 ## Mail History Id: 31635003, Consumer Id: 1110159, Address Id: 8828714 => Updated with Vin: 1GYEC63T74R104499 ## Mail History Id: 31634849, Consumer Id: 1116088, Address Id: 11449763 => Updated with Vin: 1J4GZ58S4RC268059 ## Mail History Id: 31634861, Consumer Id: 1115046, Address Id: 8335351 => Updated with Vin: 1G2WP52K2YF191726 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 2781 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-13 10:15:29') AND us2_order_type_id = 3 ## Order found: 2671 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2671 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2782 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-13 10:18:44') AND us2_order_type_id = 3 ## Order found: 2653 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2653 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3470 ## Mailing found: '13698' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631522, Consumer Id: 572184, Address Id: 1294100 => Updated with Vin: 1A8HX58297F586747 ## Mail History Id: 31632267, Consumer Id: 582506, Address Id: 3493030 => Updated with Vin: 2A8GP54L67R258897 ## Mail History Id: 31631778, Consumer Id: 575442, Address Id: 10722526 => Updated with Vin: 2C8GP64L11R122292 ## Mail History Id: 31632313, Consumer Id: 580953, Address Id: 10717269 => Updated with Vin: 1J4GK48K33W639023 ## Mail History Id: 31632259, Consumer Id: 562509, Address Id: 7347994 => Updated with Vin: 2D4GP44L95R266977 ## Mail History Id: 31632315, Consumer Id: 1159339, Address Id: 6510946 => Updated with Vin: 4A3AE85H12E051058 ## Mail History Id: 31632243, Consumer Id: 956250, Address Id: 1542902 => Updated with Vin: 2C3KA63H47H811398 ## Mail History Id: 31632479, Consumer Id: 571465, Address Id: 10718826 => Updated with Vin: 1J8HS58208C131853 ## Mail History Id: 31632265, Consumer Id: 554385, Address Id: 10686516 => Updated with Vin: 1J8GK48K13W640413 ## Mail History Id: 31632209, Consumer Id: 554897, Address Id: 5386237 => Updated with Vin: 1J4GX58N74C221875 ## Mail History Id: 31632489, Consumer Id: 573995, Address Id: 10720710 => Updated with Vin: JB3XE74C7MY023863 ## Mail History Id: 31632369, Consumer Id: 555961, Address Id: 10690461 => Updated with Vin: 1J4GK58K94W103670 ## Mail History Id: 31632419, Consumer Id: 555939, Address Id: 3171841 => Updated with Vin: 1J4GX48S24C291171 ## Mail History Id: 31632247, Consumer Id: 579850, Address Id: 3160423 => Updated with Vin: 1J4GK58K72W205885 ## Mail History Id: 31632261, Consumer Id: 560589, Address Id: 1168989 => Updated with Vin: 2C4GM48L45R282603 ## Mail History Id: 31632299, Consumer Id: 567260, Address Id: 10693875 => Updated with Vin: 1B3HB48B27D532820 ## Mail History Id: 31632519, Consumer Id: 571666, Address Id: 2063110 => Updated with Vin: 1J8HS48P37C680659 ## Mail History Id: 31632533, Consumer Id: 558429, Address Id: 10693819 => Updated with Vin: 1J4GK58KX3W599478 ## Mail History Id: 31632429, Consumer Id: 580482, Address Id: 10695582 => Updated with Vin: 1J8HS58N36C298425 ## Mail History Id: 31632263, Consumer Id: 559166, Address Id: 4894898 => Updated with Vin: 1D4HD58D24F225635 ## Mail History Id: 31632311, Consumer Id: 561377, Address Id: 10699285 => Updated with Vin: 1J4GX48S24C386295 ## Mail History Id: 31632337, Consumer Id: 574104, Address Id: 4128885 => Updated with Vin: 1J4GW58S2XC658051 ## Mail History Id: 31632393, Consumer Id: 563407, Address Id: 7471991 => Updated with Vin: 1D7HE28K75S193528 ## Mail History Id: 31632331, Consumer Id: 576794, Address Id: 10725068 => Updated with Vin: 2C4GP44341R300251 ## Mail History Id: 31631542, Consumer Id: 578059, Address Id: 7031403 => Updated with Vin: 1J4GX48S82C265686 ## Mail History Id: 31632381, Consumer Id: 574302, Address Id: 10720889 => Updated with Vin: 3D7KU28C04G180076 ## Mail History Id: 31632383, Consumer Id: 1157990, Address Id: 5572970 => Updated with Vin: 1J4FA49S16P788526 ## Mail History Id: 31632525, Consumer Id: 576175, Address Id: 3176238 => Updated with Vin: 2C3JA53G25H545454 ## Mail History Id: 31632363, Consumer Id: 566710, Address Id: 5395578 => Updated with Vin: 1J4GK48K52W129674 ## Mail History Id: 31632501, Consumer Id: 1159337, Address Id: 10710638 => Updated with Vin: 2D4FV47T07H755368 ## Mail History Id: 31632305, Consumer Id: 573065, Address Id: 10710673 => Updated with Vin: 3A4FY48B87T537710 ## Mail History Id: 31632333, Consumer Id: 583229, Address Id: 10725686 => Updated with Vin: 1J4GA59158L562503 ## Mail History Id: 31632291, Consumer Id: 567268, Address Id: 10710914 => Updated with Vin: 2A4GM48406R871703 ## Mail History Id: 31632461, Consumer Id: 567224, Address Id: 10701342 => Updated with Vin: 1A4GP45R96B563466 ## Mail History Id: 31632277, Consumer Id: 567263, Address Id: 10678501 => Updated with Vin: 2D4GZ58295H551069 ## Mail History Id: 31632511, Consumer Id: 567458, Address Id: 10710974 => Updated with Vin: 2B3KA43G76H508039 ## Mail History Id: 31632531, Consumer Id: 567544, Address Id: 4910085 => Updated with Vin: 1J4GL58KX6W294578 ## Mail History Id: 31632303, Consumer Id: 571336, Address Id: 5570757 => Updated with Vin: 1D7HA18297S204280 ## Mail History Id: 31632357, Consumer Id: 568521, Address Id: 10678800 => Updated with Vin: 1C3AN69L05X051801 ## Mail History Id: 31632535, Consumer Id: 578992, Address Id: 10732225 => Updated with Vin: 2C4GM68465R596337 ## Mail History Id: 31632325, Consumer Id: 568076, Address Id: 5326705 => Updated with Vin: 1J8HS68216C251874 ## Mail History Id: 31631510, Consumer Id: 568540, Address Id: 5740013 => Updated with Vin: 3A4FY48B76T364437 ## Mail History Id: 31632273, Consumer Id: 579579, Address Id: 10735009 => Updated with Vin: 2C8GF48475R328765 ## Mail History Id: 31632523, Consumer Id: 569846, Address Id: 10716716 => Updated with Vin: 1D8HD48P37F505927 ## Mail History Id: 31632433, Consumer Id: 570072, Address Id: 10710931 => Updated with Vin: 1D4GP25B67B153676 ## Mail History Id: 31632301, Consumer Id: 580387, Address Id: 10737633 => Updated with Vin: 1C3EL66R34N371186 ## Mail History Id: 31631524, Consumer Id: 570509, Address Id: 4186226 => Updated with Vin: 2A8GM68X17R267969 ## Mail History Id: 31632389, Consumer Id: 570453, Address Id: 10717201 => Updated with Vin: 1J4GK58K57W545477 ## Mail History Id: 31632335, Consumer Id: 581084, Address Id: 10740691 => Updated with Vin: 2C4GM48L95R496230 ## Mail History Id: 31632499, Consumer Id: 571461, Address Id: 2548835 => Updated with Vin: 3A4FY58B37T598985 ## Mail History Id: 31631540, Consumer Id: 571648, Address Id: 7736218 => Updated with Vin: 1J4GA39137L195118 ## Mail History Id: 31632239, Consumer Id: 571643, Address Id: 10717912 => Updated with Vin: 4T1BE30K75U061001 ## Mail History Id: 31632385, Consumer Id: 571462, Address Id: 10718825 => Updated with Vin: 3A4FY58B57T621067 ## Mail History Id: 31632411, Consumer Id: 573450, Address Id: 1546179 => Updated with Vin: 3A4FY58B36T275812 ## Mail History Id: 31632361, Consumer Id: 572039, Address Id: 10718990 => Updated with Vin: 1D7HA18298S535099 ## Mail History Id: 31632281, Consumer Id: 572876, Address Id: 5391040 => Updated with Vin: 1D8HN54P08B139216 ## Mail History Id: 31631518, Consumer Id: 573428, Address Id: 10686335 => Updated with Vin: 1J4FA54117L204946 ## Mail History Id: 31632431, Consumer Id: 573285, Address Id: 10719543 => Updated with Vin: KNAGD126555423058 ## Mail History Id: 31632469, Consumer Id: 573085, Address Id: 10719452 => Updated with Vin: 1C4GP45R05B344867 ## Mail History Id: 31631538, Consumer Id: 629117, Address Id: 11769687 => Updated with Vin: 1N6BA07A35N565242 ## Mail History Id: 31632327, Consumer Id: 1157979, Address Id: 2092276 => Updated with Vin: 2C4GM68445R651237 ## Mail History Id: 31632435, Consumer Id: 1157987, Address Id: 15019164 => Updated with Vin: 2C8GF68484R629586 ## Mail History Id: 31632345, Consumer Id: 1157986, Address Id: 1339890 => Updated with Vin: 1J4GK48K83W639020 ## Mail History Id: 31632399, Consumer Id: 1157981, Address Id: 1546018 => Updated with Vin: 1J4GK38K86W127482 ## Mail History Id: 31632415, Consumer Id: 1157989, Address Id: 15019165 => Updated with Vin: 2C4GM48L75R259428 ## Mail History Id: 31631526, Consumer Id: 1157985, Address Id: 15019163 => Updated with Vin: 2B6HB21Y0SK511520 ## Mail History Id: 31632365, Consumer Id: 1157988, Address Id: 5395609 => Updated with Vin: 2D4GP44L75R182916 ## Mail History Id: 31632417, Consumer Id: 1157993, Address Id: 15019167 => Updated with Vin: 1J8FT28W38D644790 ## Mail History Id: 31632227, Consumer Id: 1157991, Address Id: 15019166 => Updated with Vin: 3A4FY48B57T510402 ## Mail History Id: 31631431, Consumer Id: 1159336, Address Id: 15020301 => Updated with Vin: 1D7HA16N23J545839 ## Mail History Id: 31632459, Consumer Id: 1159338, Address Id: 15020302 => Updated with Vin: 2B3KA43R98H219961 ## Mail History Id: 31632243, Consumer Id: 553783, Address Id: 1542902 => Updated with Vin: 2C3HE66GX4H608982 ## Mail History Id: 31632219, Consumer Id: 1166531, Address Id: 791970 => Updated with Vin: 1B3ES56C24D593410 ## Mail History Id: 31632253, Consumer Id: 1173337, Address Id: 15032634 => Updated with Vin: WDBRF40J14F471596 ## Mail History Id: 31632455, Consumer Id: 576312, Address Id: 10721361 => Updated with Vin: 1J4GX58SX4C233444 ## Total mail_history records updated with vin numbers: 75 out of 99 ============================================================ ====== Tracking Id: 2783 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-13 10:19:01') AND us2_order_type_id = 3 ## Order found: 2660 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2660 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2784 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-13 10:19:43') AND us2_order_type_id = 3 ## Order found: 2655 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2655 AND product_id = 2152 ## Job Group Found: '589' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('589') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508007') AND customer_id = 3418 ## Mailing found: '13652' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634128, Consumer Id: 680832, Address Id: 11794469 => Updated with Vin: 1G6DW677270196901 ## Mail History Id: 31634130, Consumer Id: 672399, Address Id: 11789301 => Updated with Vin: 1G6KD54Y05U186961 ## Mail History Id: 31634132, Consumer Id: 676763, Address Id: 11789546 => Updated with Vin: 1GYEE637460163854 ## Mail History Id: 31634134, Consumer Id: 674904, Address Id: 11790948 => Updated with Vin: 1G6DC67AX50172542 ## Mail History Id: 31634136, Consumer Id: 675252, Address Id: 11783791 => Updated with Vin: 1G6DP577160117238 ## Mail History Id: 31634138, Consumer Id: 675367, Address Id: 8874992 => Updated with Vin: 1GYEE637560159683 ## Mail History Id: 31634140, Consumer Id: 675770, Address Id: 11791487 => Updated with Vin: 1G6DW677X60185076 ## Mail History Id: 31634144, Consumer Id: 680828, Address Id: 11794468 => Updated with Vin: 1G6KD54Y52U260645 ## Mail History Id: 31634146, Consumer Id: 680823, Address Id: 11790927 => Updated with Vin: 1GYFK63897R270272 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 2785 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-13 10:19:54') AND us2_order_type_id = 3 ## Order found: 2655 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2655 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2786 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-13 10:19:58') AND us2_order_type_id = 3 ## Order found: 2655 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2655 AND product_id = 2153 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3418 ## Mailing found: '13665' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634520, Consumer Id: 673073, Address Id: 10933005 => Updated with Vin: 1G6KE57Y34U252622 ## Mail History Id: 31634528, Consumer Id: 673574, Address Id: 11790052 => Updated with Vin: 1G6KD52Y1TU303771 ## Mail History Id: 31634500, Consumer Id: 674376, Address Id: 11786202 => Updated with Vin: 1GYEK63N46R124572 ## Mail History Id: 31634538, Consumer Id: 680659, Address Id: 11794370 => Updated with Vin: 1G6YV34A145602989 ## Mail History Id: 31634496, Consumer Id: 672894, Address Id: 11789599 => Updated with Vin: 1G6DP567250107835 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 2787 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-13 10:21:49') AND us2_order_type_id = 3 ## Order found: 2656 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2656 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3795 ## Mailing found: '13707' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631490, Consumer Id: 1170175, Address Id: 180537 => Updated with Vin: 1HGFA16828L099765 ## Mail History Id: 31631486, Consumer Id: 1170184, Address Id: 4262513 => Updated with Vin: 1HGCS12808A009854 ## Mail History Id: 31631492, Consumer Id: 1170183, Address Id: 181382 => Updated with Vin: 1HGCP26438A110966 ## Mail History Id: 31631496, Consumer Id: 1170177, Address Id: 12055797 => Updated with Vin: 2HGFG128X8H523517 ## Mail History Id: 31631484, Consumer Id: 1170176, Address Id: 15028833 => Updated with Vin: 1HGCP36868A076336 ## Mail History Id: 31631494, Consumer Id: 1170181, Address Id: 15019307 => Updated with Vin: 5FNRL38725B097969 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2788 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-13 10:22:12') AND us2_order_type_id = 3 ## Order found: 2657 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2657 AND product_id = 142 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3697 ## Mailing found: '13703' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631839, Consumer Id: 1051966, Address Id: 8136488 => Updated with Vin: 1GYEE637650115397 ## Mail History Id: 31632183, Consumer Id: 1051991, Address Id: 14955013 => Updated with Vin: 1GYFK66857R430840 ## Mail History Id: 31632175, Consumer Id: 1052102, Address Id: 5148598 => Updated with Vin: W06VR54R81R077537 ## Mail History Id: 31631911, Consumer Id: 1044895, Address Id: 1085858 => Updated with Vin: 1GYFK63877R385002 ## Mail History Id: 31632189, Consumer Id: 1044325, Address Id: 14952784 => Updated with Vin: 1G6KD57Y07U120621 ## Mail History Id: 31631815, Consumer Id: 1043101, Address Id: 8827346 => Updated with Vin: 1GYDE637740140674 ## Mail History Id: 31631895, Consumer Id: 1043188, Address Id: 1083111 => Updated with Vin: 1GYEE637540147109 ## Mail History Id: 31631857, Consumer Id: 1045655, Address Id: 12938041 => Updated with Vin: 1G6KE57Y35U132711 ## Mail History Id: 31632195, Consumer Id: 1043777, Address Id: 14952634 => Updated with Vin: 1G6DM577540166030 ## Mail History Id: 31631853, Consumer Id: 1046279, Address Id: 5989945 => Updated with Vin: 1G6DC67A050145334 ## Mail History Id: 31631781, Consumer Id: 1041519, Address Id: 3240086 => Updated with Vin: 1G6KS54Y6WU927623 ## Mail History Id: 31631767, Consumer Id: 1042634, Address Id: 2853218 => Updated with Vin: 1G6KF57954U122122 ## Mail History Id: 31631801, Consumer Id: 1041852, Address Id: 14952168 => Updated with Vin: 1G6KE54YX2U269189 ## Mail History Id: 31631847, Consumer Id: 1041521, Address Id: 5989773 => Updated with Vin: 1G6KE57Y9YU217671 ## Mail History Id: 31631785, Consumer Id: 1042123, Address Id: 3240112 => Updated with Vin: 1G6KD54Y52U301436 ## Mail History Id: 31632169, Consumer Id: 1046892, Address Id: 3239104 => Updated with Vin: 1G6KF57913U208977 ## Mail History Id: 31631915, Consumer Id: 1047117, Address Id: 14953595 => Updated with Vin: 1G6DC67A850223634 ## Mail History Id: 31631913, Consumer Id: 1045654, Address Id: 1085916 => Updated with Vin: 1G6DW677X70195432 ## Mail History Id: 31631845, Consumer Id: 1049440, Address Id: 14954204 => Updated with Vin: 1G6KD54Y41U204825 ## Mail History Id: 31631925, Consumer Id: 1047735, Address Id: 1086846 => Updated with Vin: 1GYEK63N33R258632 ## Mail History Id: 31631927, Consumer Id: 1048002, Address Id: 14953840 => Updated with Vin: 1G6KE54Y94U140038 ## Mail History Id: 31631765, Consumer Id: 1046227, Address Id: 2852625 => Updated with Vin: 1GYEK63R6YR220077 ## Mail History Id: 31631464, Consumer Id: 1051748, Address Id: 14954137 => Updated with Vin: 1GYFK66828R149824 ## Mail History Id: 31631837, Consumer Id: 1051747, Address Id: 5989474 => Updated with Vin: 1G6KD57Y96U113875 ## Mail History Id: 31631863, Consumer Id: 1044903, Address Id: 5989807 => Updated with Vin: 1G6KD57Y07U230133 ## Mail History Id: 31631783, Consumer Id: 1042970, Address Id: 3240092 => Updated with Vin: 1G6KD54Y5YU273890 ## Total mail_history records updated with vin numbers: 26 out of 27 ============================================================ ====== Tracking Id: 2789 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-13 10:22:23') AND us2_order_type_id = 3 ## Order found: 2657 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2657 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3697 ## Mailing found: '13674' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635031, Consumer Id: 1044679, Address Id: 12939282 => Updated with Vin: 1G6DP567150139403 ## Mail History Id: 31634851, Consumer Id: 1044919, Address Id: 2777921 => Updated with Vin: 1GYFK66857R303909 ## Mail History Id: 31634933, Consumer Id: 1041993, Address Id: 3240054 => Updated with Vin: 1G3WH52H42F114943 ## Mail History Id: 31635025, Consumer Id: 1044343, Address Id: 14952794 => Updated with Vin: 1GYEE637570138835 ## Mail History Id: 31634913, Consumer Id: 1048178, Address Id: 12193838 => Updated with Vin: 1G6DC67A150176060 ## Mail History Id: 31634843, Consumer Id: 1049611, Address Id: 5792407 => Updated with Vin: 3GYFK66N66G214998 ## Mail History Id: 31635005, Consumer Id: 1051440, Address Id: 8828741 => Updated with Vin: 1G6KY54982U212392 ## Total mail_history records updated with vin numbers: 7 out of 9 ============================================================ ====== Tracking Id: 2790 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-13 10:22:35') AND us2_order_type_id = 3 ## Order found: 2657 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2657 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3697 ## Mailing found: '13674' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634979, Consumer Id: 1047717, Address Id: 14953755 => Updated with Vin: 1GYEE637750177732 ## Mail History Id: 31635009, Consumer Id: 1048689, Address Id: 14954021 => Updated with Vin: 1G6DP567650187849 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2791 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-13 10:24:24') AND us2_order_type_id = 3 ## Order found: 2658 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2658 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3815 ## Mailing found: '13709' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632043, Consumer Id: 1379896, Address Id: 15670970 => Updated with Vin: JNKCV51E44M600197 ## Mail History Id: 31632033, Consumer Id: 1369701, Address Id: 15636751 => Updated with Vin: 1HGCG1654WA020550 ## Mail History Id: 31632047, Consumer Id: 1379878, Address Id: 15672130 => Updated with Vin: 1HGCM71397A006677 ## Mail History Id: 31632099, Consumer Id: 1373781, Address Id: 15669830 => Updated with Vin: 1HGCG3158XA003769 ## Mail History Id: 31631975, Consumer Id: 1366159, Address Id: 15639111 => Updated with Vin: 2HGFG12657H573500 ## Mail History Id: 31631985, Consumer Id: 1360210, Address Id: 15632741 => Updated with Vin: 5FNRL18624B056011 ## Mail History Id: 31632147, Consumer Id: 1363215, Address Id: 15635957 => Updated with Vin: 2HGFG12876H542393 ## Mail History Id: 31631983, Consumer Id: 1379857, Address Id: 15633564 => Updated with Vin: 5FNRL18064B041202 ## Mail History Id: 31632085, Consumer Id: 1360111, Address Id: 15632667 => Updated with Vin: 5FNRL18664B060305 ## Mail History Id: 31631973, Consumer Id: 1368590, Address Id: 15635333 => Updated with Vin: 1HGCM56613A019117 ## Mail History Id: 31631957, Consumer Id: 1378140, Address Id: 15671206 => Updated with Vin: SHSRD78896U417599 ## Mail History Id: 31632087, Consumer Id: 1359675, Address Id: 15632336 => Updated with Vin: 2HGES25724H503615 ## Mail History Id: 31632021, Consumer Id: 1370538, Address Id: 15637914 => Updated with Vin: 2HKRL18791H611879 ## Mail History Id: 31631969, Consumer Id: 1368096, Address Id: 15634714 => Updated with Vin: JHMCG5654XC018307 ## Mail History Id: 31632025, Consumer Id: 1371699, Address Id: 2570310 => Updated with Vin: 1HGCG5662YA048219 ## Mail History Id: 31631472, Consumer Id: 1372017, Address Id: 3959172 => Updated with Vin: 1HGFA16516L069756 ## Mail History Id: 31632061, Consumer Id: 1361965, Address Id: 9096073 => Updated with Vin: 1HGEM21505L056396 ## Mail History Id: 31632067, Consumer Id: 1367218, Address Id: 15631800 => Updated with Vin: 1HGCP36888A036436 ## Mail History Id: 31632095, Consumer Id: 1367056, Address Id: 15165004 => Updated with Vin: 1HGCP26778A005163 ## Mail History Id: 31632075, Consumer Id: 1369642, Address Id: 15636362 => Updated with Vin: JHLRD1869YC024398 ## Mail History Id: 31632151, Consumer Id: 1367702, Address Id: 15634099 => Updated with Vin: 1HGCG165X1A008573 ## Mail History Id: 31632015, Consumer Id: 1366884, Address Id: 2570138 => Updated with Vin: 1HGCP36878A008739 ## Mail History Id: 31631959, Consumer Id: 1376878, Address Id: 15634659 => Updated with Vin: 5FNRL38766B035458 ## Mail History Id: 31632023, Consumer Id: 1368418, Address Id: 15634938 => Updated with Vin: 1HGCM56633A092781 ## Mail History Id: 31632055, Consumer Id: 1359581, Address Id: 15632258 => Updated with Vin: 5FNRL18994B031956 ## Mail History Id: 31631991, Consumer Id: 1379880, Address Id: 15634459 => Updated with Vin: 1G6CD5336L4368848 ## Mail History Id: 31632103, Consumer Id: 1372313, Address Id: 15668967 => Updated with Vin: 5J6RE38738L000722 ## Mail History Id: 31632039, Consumer Id: 1360209, Address Id: 6166449 => Updated with Vin: 2HKRL18601H609512 ## Mail History Id: 31632001, Consumer Id: 1367221, Address Id: 15633150 => Updated with Vin: 1HGCP26468A019402 ## Mail History Id: 31632017, Consumer Id: 1372529, Address Id: 15669026 => Updated with Vin: 5FNRL18063B098787 ## Mail History Id: 31632027, Consumer Id: 1365716, Address Id: 15638689 => Updated with Vin: 1HGCM56437A176295 ## Mail History Id: 31631977, Consumer Id: 1378982, Address Id: 15670178 => Updated with Vin: 19UUA66257A036363 ## Mail History Id: 31632107, Consumer Id: 1361639, Address Id: 15633779 => Updated with Vin: 5J6YH28655L008417 ## Mail History Id: 31632155, Consumer Id: 1361953, Address Id: 15634231 => Updated with Vin: 1HGCM55825A155570 ## Mail History Id: 31632051, Consumer Id: 1363012, Address Id: 9095209 => Updated with Vin: 2HGFG21526H703598 ## Mail History Id: 31631981, Consumer Id: 1362776, Address Id: 15635252 => Updated with Vin: 5FNRL38436B412902 ## Mail History Id: 31632091, Consumer Id: 1363041, Address Id: 15635837 => Updated with Vin: 1HGCM56826A074827 ## Mail History Id: 31631961, Consumer Id: 1378740, Address Id: 15636382 => Updated with Vin: 1HGCM56827A093850 ## Mail History Id: 31632071, Consumer Id: 1363518, Address Id: 15636466 => Updated with Vin: 2C4GP74L01R392184 ## Mail History Id: 31632105, Consumer Id: 1363510, Address Id: 15636462 => Updated with Vin: 1HGFA16596L097739 ## Mail History Id: 31631963, Consumer Id: 1364238, Address Id: 9421733 => Updated with Vin: 1HGCM56346A185738 ## Mail History Id: 31632079, Consumer Id: 1366364, Address Id: 15634920 => Updated with Vin: 1HGFA16837L136045 ## Mail History Id: 31631967, Consumer Id: 1378018, Address Id: 15671136 => Updated with Vin: 1HGCD5669TA018894 ## Mail History Id: 31631995, Consumer Id: 1378151, Address Id: 15671211 => Updated with Vin: 1HGEJ8242VL120715 ## Mail History Id: 31632041, Consumer Id: 1378665, Address Id: 15671457 => Updated with Vin: SHSRD78873U146697 ## Mail History Id: 31632069, Consumer Id: 1366160, Address Id: 6164252 => Updated with Vin: 1HGFA15597L124490 ## Mail History Id: 31632089, Consumer Id: 1366365, Address Id: 15639236 => Updated with Vin: 1HGCM56727A202945 ## Mail History Id: 31632011, Consumer Id: 1366366, Address Id: 15639237 => Updated with Vin: 2HGFG12628H501932 ## Mail History Id: 31632149, Consumer Id: 1378870, Address Id: 15671635 => Updated with Vin: JHLRE387X7C053683 ## Mail History Id: 31632057, Consumer Id: 1366902, Address Id: 11305706 => Updated with Vin: 1HGCF8548XA053184 ## Mail History Id: 31632077, Consumer Id: 1379309, Address Id: 15671811 => Updated with Vin: 2HKRL1860YH559981 ## Mail History Id: 31632063, Consumer Id: 1367504, Address Id: 15640114 => Updated with Vin: 1FTZR15E46PA65571 ## Mail History Id: 31631951, Consumer Id: 1371945, Address Id: 15668749 => Updated with Vin: 1HGFA15858L019988 ## Mail History Id: 31632037, Consumer Id: 1379882, Address Id: 15672131 => Updated with Vin: JTDDY32T7Y0003671 ## Mail History Id: 31632049, Consumer Id: 1052236, Address Id: 14955140 => Updated with Vin: 2HKYF18534H533170 ## Mail History Id: 31631466, Consumer Id: 1372055, Address Id: 15668816 => Updated with Vin: 1HGCS11788A000201 ## Mail History Id: 31632083, Consumer Id: 1379895, Address Id: 15672138 => Updated with Vin: 1HGEJ8247XL092848 ## Mail History Id: 31632177, Consumer Id: 1379883, Address Id: 4512358 => Updated with Vin: 1HGEJ8249WL001450 ## Mail History Id: 31632121, Consumer Id: 1366577, Address Id: 5014953 => Updated with Vin: 5FNRL38797B454602 ## Mail History Id: 31632007, Consumer Id: 1364890, Address Id: 15636718 => Updated with Vin: 1HGCM56807A077453 ## Total mail_history records updated with vin numbers: 60 out of 71 ============================================================ ====== Tracking Id: 2792 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-13 10:24:32') AND us2_order_type_id = 3 ## Order found: 2658 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2658 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2793 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-13 10:24:35') AND us2_order_type_id = 3 ## Order found: 2658 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2658 AND product_id = 2153 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3815 ## Mailing found: '13679' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635045, Consumer Id: 1373156, Address Id: 15634168 => Updated with Vin: 1HGCD5600VA133169 ## Mail History Id: 31635049, Consumer Id: 1360380, Address Id: 15632873 => Updated with Vin: 5J6YH18604L007538 ## Mail History Id: 31635069, Consumer Id: 1368551, Address Id: 15635026 => Updated with Vin: 5FNRL180X3B102095 ## Mail History Id: 31634821, Consumer Id: 1377217, Address Id: 15670718 => Updated with Vin: 1HGEM22594L049315 ## Mail History Id: 31635075, Consumer Id: 1378524, Address Id: 15671418 => Updated with Vin: 2HGEJ8641VH578480 ## Mail History Id: 31635081, Consumer Id: 1378858, Address Id: 6165326 => Updated with Vin: JH4UA3658TC000543 ## Mail History Id: 31634823, Consumer Id: 1378882, Address Id: 15671637 => Updated with Vin: JH4KA9646WC012843 ## Total mail_history records updated with vin numbers: 7 out of 9 ============================================================ ====== Tracking Id: 2794 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-13 10:24:48') AND us2_order_type_id = 3 ## Order found: 2658 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2658 AND product_id = 2150 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3815 ## Mailing found: '13709' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632003, Consumer Id: 1373977, Address Id: 15669944 => Updated with Vin: JHLRD187X1C035893 ## Mail History Id: 31632035, Consumer Id: 1379440, Address Id: 15671886 => Updated with Vin: JHLRD1870YS013367 ## Mail History Id: 31632179, Consumer Id: 1360121, Address Id: 15632674 => Updated with Vin: SHSRD78854U232639 ## Mail History Id: 31632053, Consumer Id: 1360235, Address Id: 15632762 => Updated with Vin: 5FNRL18884B091721 ## Mail History Id: 31632081, Consumer Id: 1361675, Address Id: 15633802 => Updated with Vin: 2HGES26745H569602 ## Mail History Id: 31631546, Consumer Id: 1367120, Address Id: 15639889 => Updated with Vin: 1HGFA16518L040857 ## Mail History Id: 31632059, Consumer Id: 1366506, Address Id: 15639311 => Updated with Vin: 5FNYF18555B003024 ## Mail History Id: 31632065, Consumer Id: 1366854, Address Id: 15639649 => Updated with Vin: SHSRD78566U426119 ## Total mail_history records updated with vin numbers: 8 out of 9 ============================================================ ====== Tracking Id: 2795 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-13 10:25:00') AND us2_order_type_id = 3 ## Order found: 2658 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2658 AND product_id = 2152 ## Job Group Found: '589' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('589') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508007') AND customer_id = 3815 ## Mailing found: '13658' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634148, Consumer Id: 1373690, Address Id: 15635658 => Updated with Vin: 5FNYF18595B005312 ## Mail History Id: 31634150, Consumer Id: 1379163, Address Id: 15636947 => Updated with Vin: 1HGEM22134L081027 ## Mail History Id: 31634152, Consumer Id: 1360248, Address Id: 15632775 => Updated with Vin: 1HGCG56651A002177 ## Mail History Id: 31634154, Consumer Id: 1376820, Address Id: 15670440 => Updated with Vin: 2HKRL1868YH574857 ## Mail History Id: 31634156, Consumer Id: 1363791, Address Id: 6162865 => Updated with Vin: 1HGCM56664A139612 ## Mail History Id: 31634158, Consumer Id: 1377554, Address Id: 15670896 => Updated with Vin: 2HNYD18904H537169 ## Mail History Id: 31634160, Consumer Id: 1364852, Address Id: 15637772 => Updated with Vin: JHLRE38347C015959 ## Mail History Id: 31634162, Consumer Id: 1366068, Address Id: 15639055 => Updated with Vin: JTDKB20U573271243 ## Mail History Id: 31634164, Consumer Id: 1365999, Address Id: 9400699 => Updated with Vin: 5FNYF28147B046663 ## Mail History Id: 31634166, Consumer Id: 1366513, Address Id: 15639316 => Updated with Vin: 5FNRL387X7B088231 ## Mail History Id: 31634168, Consumer Id: 1379053, Address Id: 7959924 => Updated with Vin: JHLRD1852VC034533 ## Mail History Id: 31634170, Consumer Id: 1379152, Address Id: 15671768 => Updated with Vin: 1HGCM66595A036554 ## Total mail_history records updated with vin numbers: 12 out of 13 ============================================================ ====== Tracking Id: 2796 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-13 10:30:38') AND us2_order_type_id = 3 ## Order found: 2656 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2656 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3795 ## Mailing found: '13677' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635257, Consumer Id: 1068607, Address Id: 14961351 => Updated with Vin: 1FAFP34334W152066 ## Mail History Id: 31635139, Consumer Id: 1068599, Address Id: 7252956 => Updated with Vin: 2HGEJ6424TH127028 ## Mail History Id: 31635123, Consumer Id: 1068603, Address Id: 14961350 => Updated with Vin: JA3AJ26E52U053061 ## Mail History Id: 31635227, Consumer Id: 1068602, Address Id: 194493 => Updated with Vin: 1NXBR32E66Z598598 ## Mail History Id: 31635189, Consumer Id: 1061367, Address Id: 14859651 => Updated with Vin: JHLRE48767C052018 ## Mail History Id: 31635221, Consumer Id: 1059851, Address Id: 3076731 => Updated with Vin: 2HGFG12816H515447 ## Mail History Id: 31635193, Consumer Id: 1061435, Address Id: 5906228 => Updated with Vin: 1HGCM551X7A020827 ## Mail History Id: 31635173, Consumer Id: 1068605, Address Id: 180078 => Updated with Vin: 1G8ZP1286XZ248085 ## Total mail_history records updated with vin numbers: 8 out of 10 ============================================================ ====== Tracking Id: 2797 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-13 10:30:50') AND us2_order_type_id = 3 ## Order found: 2656 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2656 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3795 ## Mailing found: '13677' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635219, Consumer Id: 1068609, Address Id: 3075007 => Updated with Vin: 5ALNY22224A299430 ## Mail History Id: 31635209, Consumer Id: 1055029, Address Id: 7703356 => Updated with Vin: 2HGES15291H531194 ## Mail History Id: 31635107, Consumer Id: 1054604, Address Id: 5809255 => Updated with Vin: SHSRD78842U012485 ## Mail History Id: 31635247, Consumer Id: 1061202, Address Id: 14955324 => Updated with Vin: SHSRD78966U413650 ## Mail History Id: 31635099, Consumer Id: 1055271, Address Id: 14956045 => Updated with Vin: 5FNRL386X5B095765 ## Mail History Id: 31635245, Consumer Id: 1056904, Address Id: 3111185 => Updated with Vin: 1HGCM56866A108364 ## Mail History Id: 31635225, Consumer Id: 1058345, Address Id: 2525842 => Updated with Vin: 5FNYF285X7B001293 ## Mail History Id: 31635179, Consumer Id: 1057815, Address Id: 3057051 => Updated with Vin: 1HGCM56147A032096 ## Mail History Id: 31635175, Consumer Id: 1060207, Address Id: 14957427 => Updated with Vin: 1HGCP26818A100262 ## Mail History Id: 31635183, Consumer Id: 1061684, Address Id: 181354 => Updated with Vin: 5FNRL18054B005257 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 2798 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-13 10:31:03') AND us2_order_type_id = 3 ## Order found: 2656 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2656 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3795 ## Mailing found: '13677' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2799 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-13 10:44:54') AND us2_order_type_id = 3 ## Order found: 2652 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2652 AND product_id = 140 ## Job Group Found: '598' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('598') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808007') AND customer_id = 3230 ## Mailing found: '13854' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725421, Consumer Id: 65046, Address Id: 51488 => Updated with Vin: 2FTRX17214CA61131 ## Mail History Id: 31725423, Consumer Id: 67052, Address Id: 50325 => Updated with Vin: 1FTPX14545FA55724 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2800 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-13 11:15:04') AND us2_order_type_id = 3 ## Order found: 2659 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2659 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3486 ## Mailing found: '13670' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635457, Consumer Id: 481378, Address Id: 9824868 => Updated with Vin: 1GCHK29D76E224067 ## Mail History Id: 31634256, Consumer Id: 465213, Address Id: 9820164 => Updated with Vin: 1GNDS13S742433590 ## Mail History Id: 31635535, Consumer Id: 465847, Address Id: 9715334 => Updated with Vin: 3GNEC16Z55G158157 ## Mail History Id: 31635325, Consumer Id: 484674, Address Id: 4373172 => Updated with Vin: 2GCEC19V821371254 ## Mail History Id: 31635453, Consumer Id: 470237, Address Id: 8396777 => Updated with Vin: 1GNDS13S672298820 ## Mail History Id: 31635401, Consumer Id: 489809, Address Id: 1070500 => Updated with Vin: 1G1ZT51F56F207366 ## Mail History Id: 31635259, Consumer Id: 470925, Address Id: 9823356 => Updated with Vin: 1GCHK23U05F813852 ## Mail History Id: 31635405, Consumer Id: 490371, Address Id: 9826519 => Updated with Vin: 1GCJK33D26F167044 ## Total mail_history records updated with vin numbers: 8 out of 11 ============================================================ ====== Tracking Id: 2801 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-13 11:15:19') AND us2_order_type_id = 3 ## Order found: 2659 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2659 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3486 ## Mailing found: '13670' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635409, Consumer Id: 469525, Address Id: 9822565 => Updated with Vin: 2G1WF52E259229445 ## Mail History Id: 31635389, Consumer Id: 478458, Address Id: 7540042 => Updated with Vin: 2G1WL52M0V1157739 ## Mail History Id: 31635295, Consumer Id: 486736, Address Id: 5370810 => Updated with Vin: 1G1ND52JX2M580116 ## Mail History Id: 31635333, Consumer Id: 479932, Address Id: 1035370 => Updated with Vin: 3GNEC12Z85G103319 ## Mail History Id: 31635491, Consumer Id: 468735, Address Id: 4378161 => Updated with Vin: 1G1ZT54894F135534 ## Mail History Id: 31635417, Consumer Id: 469765, Address Id: 9822691 => Updated with Vin: 2B3KA43G86H185359 ## Mail History Id: 31635363, Consumer Id: 470734, Address Id: 9823253 => Updated with Vin: 1D7HA18D75S111367 ## Mail History Id: 31635271, Consumer Id: 470804, Address Id: 9823286 => Updated with Vin: 3G5DA03E35S501705 ## Mail History Id: 31635551, Consumer Id: 489906, Address Id: 9826316 => Updated with Vin: 1GNFC13097J333747 ## Mail History Id: 31635275, Consumer Id: 489913, Address Id: 823538 => Updated with Vin: 3GNEC12Z85G141021 ## Mail History Id: 31635501, Consumer Id: 470829, Address Id: 9823302 => Updated with Vin: 2CNDL23F986061964 ## Total mail_history records updated with vin numbers: 11 out of 14 ============================================================ ====== Tracking Id: 2802 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-13 11:15:31') AND us2_order_type_id = 3 ## Order found: 2659 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2659 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3486 ## Mailing found: '13670' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2803 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-13 11:15:55') AND us2_order_type_id = 3 ## Order found: 2660 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2660 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3416 ## Mailing found: '13664' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634574, Consumer Id: 692334, Address Id: 1960428 => Updated with Vin: 1G6KD57YX6U100858 ## Mail History Id: 31634622, Consumer Id: 692925, Address Id: 11798589 => Updated with Vin: 1GYEK63N12R128007 ## Mail History Id: 31634624, Consumer Id: 684428, Address Id: 11795657 => Updated with Vin: W06VR52R6WR143626 ## Mail History Id: 31634652, Consumer Id: 684297, Address Id: 1969691 => Updated with Vin: 1G6KD54Y51U272180 ## Mail History Id: 31634630, Consumer Id: 625219, Address Id: 1969002 => Updated with Vin: 1GYEE637970152382 ## Mail History Id: 31634592, Consumer Id: 625381, Address Id: 1963439 => Updated with Vin: 1G6DC67A770119056 ## Mail History Id: 31634562, Consumer Id: 690411, Address Id: 1959030 => Updated with Vin: 1G6DW677160156002 ## Mail History Id: 31634658, Consumer Id: 693180, Address Id: 1969940 => Updated with Vin: 1GYEE637X70152469 ## Mail History Id: 31634602, Consumer Id: 693273, Address Id: 4771803 => Updated with Vin: 1GNFK16317J215880 ## Mail History Id: 31634588, Consumer Id: 691952, Address Id: 3759106 => Updated with Vin: 1G6DP577670126292 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 2804 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-13 11:16:01') AND us2_order_type_id = 3 ## Order found: 2661 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2661 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2805 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-13 11:16:07') AND us2_order_type_id = 3 ## Order found: 2660 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2660 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3416 ## Mailing found: '13664' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634586, Consumer Id: 693018, Address Id: 11798636 => Updated with Vin: 5TBDT44176S555030 ## Mail History Id: 31634578, Consumer Id: 685222, Address Id: 11795897 => Updated with Vin: 1G6KD54YXVU265165 ## Mail History Id: 31634654, Consumer Id: 684362, Address Id: 1969789 => Updated with Vin: 1G6KD57Y82U167890 ## Mail History Id: 31634548, Consumer Id: 681816, Address Id: 1966792 => Updated with Vin: 1G6KE54Y03U234579 ## Mail History Id: 31634570, Consumer Id: 690400, Address Id: 1959630 => Updated with Vin: 1G6KD57Y06U148904 ## Mail History Id: 31634594, Consumer Id: 690173, Address Id: 1963983 => Updated with Vin: 1G6KY54962U149180 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2806 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-13 11:16:16') AND us2_order_type_id = 3 ## Order found: 2661 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2661 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3491 ## Mailing found: '13671' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635010, Consumer Id: 839623, Address Id: 11882947 => Updated with Vin: 1GTCS148468217994 ## Mail History Id: 31634922, Consumer Id: 837652, Address Id: 11876044 => Updated with Vin: 1GNDS13S422303750 ## Mail History Id: 31634996, Consumer Id: 812530, Address Id: 11887267 => Updated with Vin: 1G4NJ52M8WC410094 ## Mail History Id: 31635002, Consumer Id: 838821, Address Id: 11894933 => Updated with Vin: 3GKEC16Z33G315663 ## Mail History Id: 31634858, Consumer Id: 814549, Address Id: 11874750 => Updated with Vin: 1FAFP44654F146446 ## Mail History Id: 31635006, Consumer Id: 814570, Address Id: 11889113 => Updated with Vin: 2CNDL63F566044017 ## Mail History Id: 31634896, Consumer Id: 815026, Address Id: 11889670 => Updated with Vin: 1D7HA18K36J116006 ## Mail History Id: 31634944, Consumer Id: 815028, Address Id: 11889671 => Updated with Vin: 1GNCS13W2X2134348 ## Mail History Id: 31634970, Consumer Id: 815029, Address Id: 11889672 => Updated with Vin: 4M2EU36E56UJ07684 ## Mail History Id: 31634934, Consumer Id: 824157, Address Id: 11874914 => Updated with Vin: 2GCEK19TX21362380 ## Mail History Id: 31634900, Consumer Id: 827924, Address Id: 11874708 => Updated with Vin: 2G1WX12K539128053 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 2807 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-13 11:16:21') AND us2_order_type_id = 3 ## Order found: 2662 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2662 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2808 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-13 11:16:25') AND us2_order_type_id = 3 ## Order found: 2662 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2662 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3525 ## Mailing found: '13673' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634422, Consumer Id: 523066, Address Id: 9853824 => Updated with Vin: KMHFU45E84A321919 ## Mail History Id: 31634452, Consumer Id: 486894, Address Id: 9689963 => Updated with Vin: 5NPEU46F26H066509 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2809 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-13 11:16:28') AND us2_order_type_id = 3 ## Order found: 2661 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2661 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3491 ## Mailing found: '13671' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634948, Consumer Id: 831013, Address Id: 11888483 => Updated with Vin: 2GBEG25K9M4131741 ## Mail History Id: 31634994, Consumer Id: 815025, Address Id: 11889669 => Updated with Vin: 1G1ZS52F04F188255 ## Mail History Id: 31634908, Consumer Id: 839870, Address Id: 11895494 => Updated with Vin: 2G1WB58K289218829 ## Mail History Id: 31634916, Consumer Id: 839893, Address Id: 11895502 => Updated with Vin: 1G1ND52J43M533309 ## Mail History Id: 31634986, Consumer Id: 815840, Address Id: 11890537 => Updated with Vin: 1GNFK16307J173900 ## Mail History Id: 31634962, Consumer Id: 826330, Address Id: 11881162 => Updated with Vin: 2G1WF52E239350084 ## Mail History Id: 31634872, Consumer Id: 834926, Address Id: 11888275 => Updated with Vin: 1GNEC13T11R213200 ## Mail History Id: 31634966, Consumer Id: 828504, Address Id: 11883235 => Updated with Vin: 1GDEG25P9RF522537 ## Total mail_history records updated with vin numbers: 8 out of 10 ============================================================ ====== Tracking Id: 2810 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-13 11:16:36') AND us2_order_type_id = 3 ## Order found: 2662 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2662 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3525 ## Mailing found: '13673' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634408, Consumer Id: 525964, Address Id: 9856020 => Updated with Vin: 5NPEU46F56H103729 ## Mail History Id: 31634446, Consumer Id: 487688, Address Id: 9851459 => Updated with Vin: 5NPEU46F57H176102 ## Mail History Id: 31634418, Consumer Id: 527030, Address Id: 2421221 => Updated with Vin: KM8SC73DX2U249467 ## Mail History Id: 31634392, Consumer Id: 486955, Address Id: 2700552 => Updated with Vin: KM8SC13D76U075232 ## Mail History Id: 31634364, Consumer Id: 489078, Address Id: 9852869 => Updated with Vin: 5NMSH13E57H083191 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 2811 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-13 11:16:40') AND us2_order_type_id = 3 ## Order found: 2661 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2661 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3491 ## Mailing found: '13671' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635016, Consumer Id: 811746, Address Id: 11886134 => Updated with Vin: 1GNES16S066113409 ## Mail History Id: 31635004, Consumer Id: 839162, Address Id: 11895133 => Updated with Vin: 1GNDS13S052280567 ## Mail History Id: 31634880, Consumer Id: 814921, Address Id: 11889163 => Updated with Vin: 1G1AL55F477192958 ## Mail History Id: 31634854, Consumer Id: 815126, Address Id: 11889732 => Updated with Vin: KL1TD56608B051533 ## Mail History Id: 31634954, Consumer Id: 815436, Address Id: 11885472 => Updated with Vin: 1G1AK18F887183821 ## Mail History Id: 31634972, Consumer Id: 815806, Address Id: 11890510 => Updated with Vin: KL1TD56648B116531 ## Mail History Id: 31635012, Consumer Id: 815616, Address Id: 11890365 => Updated with Vin: 3GNDA13D88S568334 ## Mail History Id: 31635034, Consumer Id: 815798, Address Id: 11890504 => Updated with Vin: 1GCHK23628F164352 ## Mail History Id: 31634960, Consumer Id: 816078, Address Id: 11891253 => Updated with Vin: 1B7HC16X3WS611058 ## Mail History Id: 31634918, Consumer Id: 840043, Address Id: 11895626 => Updated with Vin: 2G1WB55K469230689 ## Mail History Id: 31634992, Consumer Id: 839562, Address Id: 11895335 => Updated with Vin: 2G1WB58K579234229 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 2812 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-13 11:17:35') AND us2_order_type_id = 3 ## Order found: 2663 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2663 AND product_id = 144 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3705 ## Mailing found: '13704' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632350, Consumer Id: 962814, Address Id: 9184602 => Updated with Vin: 1GNDV23L75D299272 ## Mail History Id: 31632368, Consumer Id: 965301, Address Id: 14836347 => Updated with Vin: 1GNET16S866135834 ## Mail History Id: 31632388, Consumer Id: 968491, Address Id: 10458689 => Updated with Vin: 1GAHG35U461242944 ## Mail History Id: 31632306, Consumer Id: 970688, Address Id: 14841641 => Updated with Vin: 1GKFC13J77R330028 ## Mail History Id: 31632312, Consumer Id: 1231385, Address Id: 14903237 => Updated with Vin: 3A4FY58B57T546869 ## Mail History Id: 31632272, Consumer Id: 1173746, Address Id: 14840451 => Updated with Vin: 2G1WU58RX79108066 ## Mail History Id: 31632358, Consumer Id: 1170157, Address Id: 14838188 => Updated with Vin: 3GCEC13098G143292 ## Mail History Id: 31632330, Consumer Id: 1231383, Address Id: 14838270 => Updated with Vin: 1GNDX13E14D271116 ## Mail History Id: 31632286, Consumer Id: 1170158, Address Id: 15028819 => Updated with Vin: 1G2MC35BX8Y125190 ## Mail History Id: 31632286, Consumer Id: 1170158, Address Id: 15028819 => Updated with Vin: 1G2MC35BX8Y125190 ## Mail History Id: 31632336, Consumer Id: 1158510, Address Id: 15020036 => Updated with Vin: 2G4WD582881197772 ## Mail History Id: 31632288, Consumer Id: 1231384, Address Id: 15417098 => Updated with Vin: 3GCEC13J78G112275 ## Mail History Id: 31632366, Consumer Id: 1158511, Address Id: 15020037 => Updated with Vin: 3GNCA53P98S704953 ## Mail History Id: 31632326, Consumer Id: 1158512, Address Id: 11386932 => Updated with Vin: 1GNFC13C58R146857 ## Mail History Id: 31632308, Consumer Id: 1231386, Address Id: 9247138 => Updated with Vin: 1D7HE48K46S504362 ## Mail History Id: 31632340, Consumer Id: 1159347, Address Id: 15020403 => Updated with Vin: 1GTHC29698E173589 ## Mail History Id: 31632280, Consumer Id: 980237, Address Id: 14846559 => Updated with Vin: 1G1ZS58F68F124248 ## Mail History Id: 31632348, Consumer Id: 1158784, Address Id: 9184345 => Updated with Vin: 1GCHK23143F174622 ## Mail History Id: 31632380, Consumer Id: 1158789, Address Id: 15020039 => Updated with Vin: 1FMFU19507LA00359 ## Mail History Id: 31632320, Consumer Id: 1158786, Address Id: 9159303 => Updated with Vin: 2G1WF55K839385696 ## Mail History Id: 31632332, Consumer Id: 979448, Address Id: 14842452 => Updated with Vin: 2GCEC19T551124809 ## Mail History Id: 31632298, Consumer Id: 1289674, Address Id: 15466452 => Updated with Vin: 1GNDV33178D111553 ## Mail History Id: 31632310, Consumer Id: 1170159, Address Id: 15028820 => Updated with Vin: 1GTEK19T73Z117965 ## Total mail_history records updated with vin numbers: 23 out of 25 ============================================================ ====== Tracking Id: 2813 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-13 11:17:50') AND us2_order_type_id = 3 ## Order found: 2663 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2663 AND product_id = 106 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2814 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-13 11:17:53') AND us2_order_type_id = 3 ## Order found: 2664 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2664 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2815 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-13 11:17:54') AND us2_order_type_id = 3 ## Order found: 2663 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2663 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3705 ## Mailing found: '13675' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635088, Consumer Id: 964855, Address Id: 14837291 => Updated with Vin: 2G4WC582661294713 ## Mail History Id: 31635086, Consumer Id: 968939, Address Id: 14840291 => Updated with Vin: 5GAER23748J104045 ## Mail History Id: 31635062, Consumer Id: 970879, Address Id: 9159254 => Updated with Vin: 2G1WC58R479175023 ## Mail History Id: 31635070, Consumer Id: 971297, Address Id: 14836982 => Updated with Vin: 1GTEC14X98Z159956 ## Mail History Id: 31635054, Consumer Id: 972452, Address Id: 14840624 => Updated with Vin: 1GCHC24K58E106153 ## Mail History Id: 31635074, Consumer Id: 972041, Address Id: 9247414 => Updated with Vin: 1GCHC23K08F119727 ## Mail History Id: 31635068, Consumer Id: 972042, Address Id: 14831261 => Updated with Vin: 1G2WR52141F179892 ## Mail History Id: 31635100, Consumer Id: 972045, Address Id: 8326959 => Updated with Vin: 1GCEC14X38Z176624 ## Mail History Id: 31635084, Consumer Id: 972047, Address Id: 14835125 => Updated with Vin: 1G1ZG57B88F218986 ## Mail History Id: 31635082, Consumer Id: 975997, Address Id: 14844161 => Updated with Vin: 2GCEC19V551112905 ## Mail History Id: 31635098, Consumer Id: 980439, Address Id: 14846664 => Updated with Vin: 3GKEC16ZX3G236216 ## Mail History Id: 31635094, Consumer Id: 980243, Address Id: 14846563 => Updated with Vin: 1GCHC23172F243136 ## Total mail_history records updated with vin numbers: 12 out of 14 ============================================================ ====== Tracking Id: 2816 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-13 11:17:59') AND us2_order_type_id = 3 ## Order found: 2664 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2664 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3808 ## Mailing found: '13678' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634686, Consumer Id: 1171534, Address Id: 6111112 => Updated with Vin: 3GNEC12Z05G261654 ## Mail History Id: 31634714, Consumer Id: 1171638, Address Id: 15029800 => Updated with Vin: 2G1WC58R079127812 ## Mail History Id: 31634734, Consumer Id: 1171621, Address Id: 15029785 => Updated with Vin: 1GKEK63U44J257149 ## Mail History Id: 31634726, Consumer Id: 1171237, Address Id: 15029446 => Updated with Vin: 1G1AL58F087238069 ## Mail History Id: 31634798, Consumer Id: 1171449, Address Id: 15029633 => Updated with Vin: 2GCEC19T951246167 ## Mail History Id: 31634780, Consumer Id: 1171513, Address Id: 15029690 => Updated with Vin: 2G1WW12E259126230 ## Mail History Id: 31634788, Consumer Id: 1171555, Address Id: 11579742 => Updated with Vin: 1GKDT13W1V2521811 ## Mail History Id: 31634718, Consumer Id: 1171568, Address Id: 15029738 => Updated with Vin: 1GNDT13S032203238 ## Mail History Id: 31634752, Consumer Id: 1171523, Address Id: 15029699 => Updated with Vin: 2G1WX15K319204068 ## Mail History Id: 31634684, Consumer Id: 1171515, Address Id: 15029691 => Updated with Vin: 2GCEC19T721390439 ## Mail History Id: 31634738, Consumer Id: 1171531, Address Id: 15029706 => Updated with Vin: 3GNEC13T43G162391 ## Mail History Id: 31634680, Consumer Id: 1171578, Address Id: 15029747 => Updated with Vin: 1GNES16S636242122 ## Mail History Id: 31634764, Consumer Id: 1171566, Address Id: 15029736 => Updated with Vin: 1GNDX03E91D212885 ## Mail History Id: 31634760, Consumer Id: 1171571, Address Id: 15029741 => Updated with Vin: 1GCEC14V1XZ104897 ## Total mail_history records updated with vin numbers: 14 out of 14 ============================================================ ====== Tracking Id: 2817 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-13 11:18:05') AND us2_order_type_id = 3 ## Order found: 2665 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2665 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3721 ## Mailing found: '13705' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631632, Consumer Id: 1015779, Address Id: 14933021 => Updated with Vin: JM1NC25F170129817 ## Mail History Id: 31631554, Consumer Id: 1016760, Address Id: 14933281 => Updated with Vin: JM1BK32F071761685 ## Mail History Id: 31631642, Consumer Id: 1013545, Address Id: 14932415 => Updated with Vin: 4F4YR16V7XTM15267 ## Mail History Id: 31631618, Consumer Id: 1010516, Address Id: 6664563 => Updated with Vin: 4F2YZ04173KM06796 ## Mail History Id: 31631556, Consumer Id: 1007370, Address Id: 6658012 => Updated with Vin: 4F4YR16V5XTM47604 ## Mail History Id: 31631586, Consumer Id: 1009788, Address Id: 6660744 => Updated with Vin: 1YVHP80C875M43964 ## Mail History Id: 31631650, Consumer Id: 1017607, Address Id: 3571447 => Updated with Vin: JM1NB3532Y0152054 ## Mail History Id: 31631596, Consumer Id: 1010219, Address Id: 14931878 => Updated with Vin: 1YVHP80C075M34966 ## Mail History Id: 31631596, Consumer Id: 1010219, Address Id: 14931878 => Updated with Vin: 1YVHP80C075M34966 ## Mail History Id: 31631574, Consumer Id: 1010193, Address Id: 14931859 => Updated with Vin: 1YVHP84C885M00964 ## Mail History Id: 31631574, Consumer Id: 1010193, Address Id: 14931859 => Updated with Vin: 1YVHP84C885M00964 ## Mail History Id: 31631626, Consumer Id: 1014804, Address Id: 6666065 => Updated with Vin: JM1NC25F260106464 ## Mail History Id: 31631584, Consumer Id: 1011749, Address Id: 529077 => Updated with Vin: 4F2CZ06155KM27933 ## Mail History Id: 31631576, Consumer Id: 1016003, Address Id: 14933090 => Updated with Vin: 1YVHP80C875M35931 ## Mail History Id: 31631550, Consumer Id: 1017618, Address Id: 14930930 => Updated with Vin: 1FALP5240PA234381 ## Mail History Id: 31631550, Consumer Id: 1014605, Address Id: 14930930 => Updated with Vin: JM3LW28A020306887 ## Total mail_history records updated with vin numbers: 16 out of 23 ============================================================ ====== Tracking Id: 2818 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-13 11:18:11') AND us2_order_type_id = 3 ## Order found: 2664 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2664 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3808 ## Mailing found: '13678' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634756, Consumer Id: 1266330, Address Id: 15437837 => Updated with Vin: 2GCEK13M471510886 ## Mail History Id: 31634796, Consumer Id: 1266175, Address Id: 4512600 => Updated with Vin: 2G1FP22P7P2112355 ## Mail History Id: 31634782, Consumer Id: 1266255, Address Id: 15437773 => Updated with Vin: 1GCEC14X05Z175653 ## Mail History Id: 31634902, Consumer Id: 1266315, Address Id: 15437823 => Updated with Vin: 1G1AL52F657621809 ## Mail History Id: 31634800, Consumer Id: 1266327, Address Id: 15437835 => Updated with Vin: 1GNES16S536104667 ## Mail History Id: 31634694, Consumer Id: 1266257, Address Id: 15437774 => Updated with Vin: 2G1WD58CX69280771 ## Mail History Id: 31634758, Consumer Id: 1266254, Address Id: 4508764 => Updated with Vin: 1GCEC14T82Z348070 ## Mail History Id: 31634706, Consumer Id: 1266273, Address Id: 15437787 => Updated with Vin: 2G1WF52E659274730 ## Total mail_history records updated with vin numbers: 8 out of 9 ============================================================ ====== Tracking Id: 2819 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-13 11:18:23') AND us2_order_type_id = 3 ## Order found: 2664 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2664 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3808 ## Mailing found: '13678' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634704, Consumer Id: 1287474, Address Id: 15464659 => Updated with Vin: 1GKEC13T85J238581 ## Mail History Id: 31634690, Consumer Id: 1272808, Address Id: 15453210 => Updated with Vin: 1GCGG25R521144959 ## Mail History Id: 31634740, Consumer Id: 1282606, Address Id: 15452421 => Updated with Vin: 1GTEC14X85Z192295 ## Mail History Id: 31634808, Consumer Id: 1280565, Address Id: 15459813 => Updated with Vin: 1GCHK23205F871975 ## Mail History Id: 31634750, Consumer Id: 1286653, Address Id: 15453450 => Updated with Vin: 3GCEC14X96G271427 ## Mail History Id: 31634736, Consumer Id: 1285362, Address Id: 15030359 => Updated with Vin: 1GBJC34G97E134169 ## Mail History Id: 31634810, Consumer Id: 1268067, Address Id: 15454440 => Updated with Vin: 3GNEK12Z15G152378 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 2820 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-13 11:45:02') AND us2_order_type_id = 3 ## Order found: 2666 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2666 AND product_id = 142 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2821 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-13 11:45:11') AND us2_order_type_id = 3 ## Order found: 2666 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2666 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3357 ## Mailing found: '13663' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635432, Consumer Id: 195732, Address Id: 405022 => Updated with Vin: 1LNHM82W95Y611205 ## Mail History Id: 31635322, Consumer Id: 155627, Address Id: 397668 => Updated with Vin: 3VWCD21C93M435992 ## Mail History Id: 31635388, Consumer Id: 199321, Address Id: 404903 => Updated with Vin: 4M2DU86K23UJ17678 ## Mail History Id: 31635336, Consumer Id: 198696, Address Id: 407263 => Updated with Vin: 1FTWW33P14EA97222 ## Mail History Id: 31635360, Consumer Id: 198714, Address Id: 394808 => Updated with Vin: 1ZVFT84N055216590 ## Mail History Id: 31635418, Consumer Id: 197688, Address Id: 406546 => Updated with Vin: 1FAFP34NX5W289928 ## Mail History Id: 31635312, Consumer Id: 197801, Address Id: 407009 => Updated with Vin: 1FTPW14586KC09184 ## Mail History Id: 31635302, Consumer Id: 155362, Address Id: 397421 => Updated with Vin: 1ZVHT85H185128072 ## Mail History Id: 31635548, Consumer Id: 155659, Address Id: 397698 => Updated with Vin: 1ZVHT84N685135199 ## Mail History Id: 31635370, Consumer Id: 195896, Address Id: 405468 => Updated with Vin: 1LNHM97VXYY767103 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 2822 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-13 11:45:13') AND us2_order_type_id = 3 ## Order found: 2665 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2665 AND product_id = 2150 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3721 ## Mailing found: '13705' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631616, Consumer Id: 1014437, Address Id: 6664249 => Updated with Vin: 4F2CZ06146KM30016 ## Mail History Id: 31631566, Consumer Id: 1016422, Address Id: 14932605 => Updated with Vin: 1YVHP80C575M03454 ## Mail History Id: 31631502, Consumer Id: 1015068, Address Id: 14932842 => Updated with Vin: 1YVHP80D335M01141 ## Mail History Id: 31631562, Consumer Id: 1010967, Address Id: 14930333 => Updated with Vin: JM1NB3532X0128691 ## Mail History Id: 31631624, Consumer Id: 1017510, Address Id: 14933491 => Updated with Vin: JM1TA221411715046 ## Mail History Id: 31631598, Consumer Id: 1017505, Address Id: 14933487 => Updated with Vin: JM1TA221321738562 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2823 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-13 11:45:23') AND us2_order_type_id = 3 ## Order found: 2666 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2666 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3357 ## Mailing found: '13663' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635530, Consumer Id: 609855, Address Id: 11754745 => Updated with Vin: 1FMYU03145KB46114 ## Mail History Id: 31635454, Consumer Id: 611228, Address Id: 11755867 => Updated with Vin: 1FTYR14V83PB22105 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2824 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-13 11:45:34') AND us2_order_type_id = 3 ## Order found: 2666 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2666 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3357 ## Mailing found: '13663' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635340, Consumer Id: 194991, Address Id: 395466 => Updated with Vin: 1FMNU43S21ED43309 ## Mail History Id: 31635314, Consumer Id: 191034, Address Id: 401689 => Updated with Vin: 1FTYR44U52PA54210 ## Mail History Id: 31635328, Consumer Id: 187788, Address Id: 398478 => Updated with Vin: 1FMZU73E42ZA80988 ## Mail History Id: 31635512, Consumer Id: 198485, Address Id: 407703 => Updated with Vin: 2T1KR32E53C107516 ## Mail History Id: 31635404, Consumer Id: 155823, Address Id: 397856 => Updated with Vin: 1FMPU18L3YLB02292 ## Mail History Id: 31635318, Consumer Id: 187276, Address Id: 398062 => Updated with Vin: 1FTPW145X5FA13836 ## Mail History Id: 31635332, Consumer Id: 198383, Address Id: 407692 => Updated with Vin: 2HKYF18685H553957 ## Mail History Id: 31635502, Consumer Id: 198751, Address Id: 407732 => Updated with Vin: 1N4AL11D76N370141 ## Mail History Id: 31635376, Consumer Id: 153745, Address Id: 395961 => Updated with Vin: 1ZVHT82H175202772 ## Mail History Id: 31635460, Consumer Id: 198337, Address Id: 407685 => Updated with Vin: JHMGD37627S055187 ## Mail History Id: 31635338, Consumer Id: 153281, Address Id: 395536 => Updated with Vin: 1FAHP34N27W119560 ## Mail History Id: 31635552, Consumer Id: 190768, Address Id: 401338 => Updated with Vin: 1FTSW31F7YEB38919 ## Mail History Id: 31635348, Consumer Id: 198619, Address Id: 407718 => Updated with Vin: 4T3ZF13C9YU193208 ## Total mail_history records updated with vin numbers: 13 out of 14 ============================================================ ====== Tracking Id: 2825 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-13 12:17:41') AND us2_order_type_id = 3 ## Order found: 2667 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2667 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2826 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-13 12:17:44') AND us2_order_type_id = 3 ## Order found: 2667 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2667 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2827 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-13 12:17:48') AND us2_order_type_id = 3 ## Order found: 2667 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2667 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3427 ## Mailing found: '13666' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634749, Consumer Id: 483627, Address Id: 8539328 => Updated with Vin: 5J6RE48548L001351 ## Mail History Id: 31634801, Consumer Id: 483629, Address Id: 8540078 => Updated with Vin: 1HGFA16578L044850 ## Mail History Id: 31634751, Consumer Id: 483631, Address Id: 8539336 => Updated with Vin: 5FNRL38928B014420 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2828 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-13 12:17:53') AND us2_order_type_id = 3 ## Order found: 2668 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2668 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3471 ## Mailing found: '13699' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632440, Consumer Id: 820457, Address Id: 7416904 => Updated with Vin: 1G6KD54Y73U170348 ## Mail History Id: 31632474, Consumer Id: 798819, Address Id: 11870044 => Updated with Vin: 1GYEK63R0YR222956 ## Mail History Id: 31632456, Consumer Id: 799799, Address Id: 10216696 => Updated with Vin: 1G6KE54Y0XU791966 ## Mail History Id: 31632412, Consumer Id: 799471, Address Id: 7878279 => Updated with Vin: 1G6KY5490YU293137 ## Mail History Id: 31632450, Consumer Id: 799469, Address Id: 10215938 => Updated with Vin: 1G6KS52Y4VU823293 ## Mail History Id: 31632438, Consumer Id: 808036, Address Id: 7416903 => Updated with Vin: 1G3NL52T51C170663 ## Mail History Id: 31632448, Consumer Id: 804720, Address Id: 10215540 => Updated with Vin: 1G6KY5490XU930235 ## Mail History Id: 31632410, Consumer Id: 798189, Address Id: 7878225 => Updated with Vin: 1G6KS54Y4YU167212 ## Mail History Id: 31632480, Consumer Id: 817653, Address Id: 11877788 => Updated with Vin: 1G3GR62C7S4122610 ## Mail History Id: 31632444, Consumer Id: 772979, Address Id: 7416972 => Updated with Vin: 1GYFK638X8R146528 ## Mail History Id: 31632434, Consumer Id: 806280, Address Id: 7416692 => Updated with Vin: 1G6KY54922U204398 ## Mail History Id: 31632436, Consumer Id: 807524, Address Id: 11876360 => Updated with Vin: 1G6DP567550126329 ## Mail History Id: 31632478, Consumer Id: 816228, Address Id: 11876781 => Updated with Vin: 1GYEK63NX5R169000 ## Mail History Id: 31632430, Consumer Id: 772952, Address Id: 11874190 => Updated with Vin: 1GYFK63827R427141 ## Total mail_history records updated with vin numbers: 14 out of 15 ============================================================ ====== Tracking Id: 2829 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-13 12:18:03') AND us2_order_type_id = 3 ## Order found: 2668 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2668 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3471 ## Mailing found: '13669' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635174, Consumer Id: 798355, Address Id: 11869832 => Updated with Vin: 1G6DM57N030137435 ## Mail History Id: 31635128, Consumer Id: 808129, Address Id: 7878501 => Updated with Vin: 1GYEE637X50149777 ## Mail History Id: 31635136, Consumer Id: 819898, Address Id: 7416135 => Updated with Vin: 1G6ET1298YU155417 ## Mail History Id: 31635180, Consumer Id: 820597, Address Id: 11876796 => Updated with Vin: 3GYFK66N06G159285 ## Mail History Id: 31635126, Consumer Id: 822571, Address Id: 11876221 => Updated with Vin: 1GYFK63837R247411 ## Mail History Id: 31635152, Consumer Id: 822507, Address Id: 10561578 => Updated with Vin: 3GYFK66N16G147548 ## Mail History Id: 31635130, Consumer Id: 823363, Address Id: 10212264 => Updated with Vin: 1GYEK63N15R135950 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 2830 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-13 12:18:05') AND us2_order_type_id = 3 ## Order found: 2669 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2669 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2831 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-13 14:15:06') AND us2_order_type_id = 3 ## Order found: 2669 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2669 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3451 ## Mailing found: '13667' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635224, Consumer Id: 618250, Address Id: 834227 => Updated with Vin: 1G6KD54Y0XU800281 ## Mail History Id: 31635250, Consumer Id: 625109, Address Id: 839909 => Updated with Vin: 1GYFK63857R133202 ## Mail History Id: 31635262, Consumer Id: 628372, Address Id: 3242706 => Updated with Vin: 1GYEK63R2YR220206 ## Mail History Id: 31635286, Consumer Id: 619470, Address Id: 11761212 => Updated with Vin: 1G6DP577370155944 ## Mail History Id: 31635282, Consumer Id: 628516, Address Id: 11765732 => Updated with Vin: 1N4BA41E98C809620 ## Mail History Id: 31635194, Consumer Id: 628494, Address Id: 11765712 => Updated with Vin: 1GYFK66858R133732 ## Mail History Id: 31635216, Consumer Id: 628498, Address Id: 830894 => Updated with Vin: 1GYFK66857R212610 ## Mail History Id: 31635268, Consumer Id: 619527, Address Id: 11761250 => Updated with Vin: 2LMDU88C87BJ07020 ## Mail History Id: 31635226, Consumer Id: 619526, Address Id: 11761249 => Updated with Vin: 1G6KD57Y7YU308389 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 2832 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-13 14:15:17') AND us2_order_type_id = 3 ## Order found: 2669 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2669 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3451 ## Mailing found: '13667' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635196, Consumer Id: 618718, Address Id: 3873262 => Updated with Vin: 3GYEK62N94G270559 ## Mail History Id: 31635206, Consumer Id: 628127, Address Id: 3912487 => Updated with Vin: 1G6YV34A955602529 ## Mail History Id: 31635204, Consumer Id: 628135, Address Id: 828644 => Updated with Vin: 1GKFK63877J141956 ## Mail History Id: 31635258, Consumer Id: 628134, Address Id: 3242411 => Updated with Vin: 3GYFK66N45G239462 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2833 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-13 19:15:00') AND us2_order_type_id = 3 ## Order found: 2666 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2666 AND product_id = 55 ## Job Group Found: '585' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('585') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508003') AND customer_id = 3357 ## Mailing found: '13688' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634248, Consumer Id: 155474, Address Id: 397524 => Updated with Vin: JM3ER29L380176077 ## Mail History Id: 31634245, Consumer Id: 2046919, Address Id: 17058556 => Updated with Vin: 1FMEU73E98UA97368 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2834 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-13 19:54:48') AND us2_order_type_id = 3 ## Order found: 2671 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2671 AND product_id = 2152 ## Job Group Found: '589' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('589') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508007') AND customer_id = 3846 ## Mailing found: '13659' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634172, Consumer Id: 1178423, Address Id: 15366674 => Updated with Vin: JF1GG68584H812379 ## Mail History Id: 31634174, Consumer Id: 1183669, Address Id: 15368239 => Updated with Vin: JF1GD29645G507896 ## Mail History Id: 31634176, Consumer Id: 1184942, Address Id: 471905 => Updated with Vin: JF1SG65666H745145 ## Mail History Id: 31634178, Consumer Id: 1179872, Address Id: 15366644 => Updated with Vin: JF1SF63592H755790 ## Mail History Id: 31634180, Consumer Id: 290560, Address Id: 4444813 => Updated with Vin: JF1GD67512H529815 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2835 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-13 19:54:59') AND us2_order_type_id = 3 ## Order found: 2671 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2671 AND product_id = 2147 ## Job Group Found: '584' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('584') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508002') AND customer_id = 3846 ## Mailing found: '13685' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31633935, Consumer Id: 1178570, Address Id: 9745177 => Updated with Vin: JF1SG69644H751663 ## Total mail_history records updated with vin numbers: 1 out of 3 ============================================================ ====== Tracking Id: 2836 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-13 19:55:11') AND us2_order_type_id = 3 ## Order found: 2671 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2671 AND product_id = 2150 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3846 ## Mailing found: '13710' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2837 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-13 20:15:00') AND us2_order_type_id = 3 ## Order found: 2672 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2672 AND product_id = 2153 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3503 ## Mailing found: '13672' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634609, Consumer Id: 2167791, Address Id: 9735055 => Updated with Vin: 5TEUX42N06Z268441 ## Mail History Id: 31634719, Consumer Id: 2168899, Address Id: 9737563 => Updated with Vin: 4T1BE46KX8U212186 ## Mail History Id: 31634677, Consumer Id: 2166556, Address Id: 9733386 => Updated with Vin: 2T1BR12EX2C555110 ## Mail History Id: 31634675, Consumer Id: 2175792, Address Id: 9724034 => Updated with Vin: 2T1BR32E23C162764 ## Mail History Id: 31634623, Consumer Id: 699122, Address Id: 9726021 => Updated with Vin: JTEHD20V946018414 ## Mail History Id: 31634665, Consumer Id: 428040, Address Id: 9749139 => Updated with Vin: 5TEPX42N46Z305018 ## Mail History Id: 31634639, Consumer Id: 2177753, Address Id: 9727132 => Updated with Vin: 4T3ZF13CX3U552087 ## Mail History Id: 31634697, Consumer Id: 2165369, Address Id: 9722125 => Updated with Vin: 1NXBR32E06Z615749 ## Total mail_history records updated with vin numbers: 8 out of 17 ============================================================ ====== Tracking Id: 2838 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-13 20:15:12') AND us2_order_type_id = 3 ## Order found: 2672 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2672 AND product_id = 2147 ## Job Group Found: '584' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('584') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508002') AND customer_id = 3503 ## Mailing found: '13682' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31633969, Consumer Id: 2168072, Address Id: 9735514 => Updated with Vin: 4T1BK36B37U232068 ## Mail History Id: 31633981, Consumer Id: 2169123, Address Id: 9737724 => Updated with Vin: JTEHD21A840030732 ## Mail History Id: 31633989, Consumer Id: 2166116, Address Id: 9723965 => Updated with Vin: 4T1BK36B77U182890 ## Total mail_history records updated with vin numbers: 3 out of 12 ============================================================ ====== Tracking Id: 2839 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-13 20:15:23') AND us2_order_type_id = 3 ## Order found: 2672 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2672 AND product_id = 2150 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3503 ## Mailing found: '13701,13915' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2840 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-13 20:15:35') AND us2_order_type_id = 3 ## Order found: 2672 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2672 AND product_id = 2152 ## Job Group Found: '589' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('589') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508007') AND customer_id = 3503 ## Mailing found: '13653' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 2 ============================================================ ====== Tracking Id: 2841 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-14 07:15:27') AND us2_order_type_id = 3 ## Order found: 2691 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2691 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3503 ## Mailing found: '13701,13915' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631637, Consumer Id: 2175452, Address Id: 9723749 => Updated with Vin: 4T1BF28B93U325022 ## Mail History Id: 31631589, Consumer Id: 2172512, Address Id: 9720309 => Updated with Vin: 5TBJN32102S278676 ## Mail History Id: 31631451, Consumer Id: 2167483, Address Id: 9734815 => Updated with Vin: JTEEW21A870046110 ## Mail History Id: 31631687, Consumer Id: 2159706, Address Id: 39328 => Updated with Vin: JTEHD20V246006668 ## Mail History Id: 31631757, Consumer Id: 2170093, Address Id: 449545 => Updated with Vin: 5TDZK23C18S166247 ## Mail History Id: 31631493, Consumer Id: 2177136, Address Id: 9726338 => Updated with Vin: 4T1BG22K8YU635241 ## Mail History Id: 31631673, Consumer Id: 2175525, Address Id: 9723810 => Updated with Vin: 4T1BG22KX1U097972 ## Mail History Id: 31631661, Consumer Id: 2158526, Address Id: 9721277 => Updated with Vin: 5TBBT44143S397149 ## Mail History Id: 31631677, Consumer Id: 2176061, Address Id: 9724595 => Updated with Vin: 4T1BF12B6VU179734 ## Mail History Id: 31631751, Consumer Id: 2176227, Address Id: 9724742 => Updated with Vin: JT3HT05J7Y0090503 ## Mail History Id: 31631727, Consumer Id: 2172954, Address Id: 9720710 => Updated with Vin: JT2SK12E4R0222239 ## Mail History Id: 31631456, Consumer Id: 1805747, Address Id: 9748841 => Updated with Vin: 5TDBT44A22S063823 ## Mail History Id: 31631459, Consumer Id: 2166998, Address Id: 9733891 => Updated with Vin: 2T1BR32EX7C753561 ## Mail History Id: 31631430, Consumer Id: 2179061, Address Id: 9729989 => Updated with Vin: 4T1BF28B82U257293 ## Mail History Id: 31632575, Consumer Id: 2166981, Address Id: 451995 => Updated with Vin: 2T1BR32E27C790202 ## Mail History Id: 31631445, Consumer Id: 2170094, Address Id: 9728235 => Updated with Vin: JTEEW41A282018501 ## Mail History Id: 31631705, Consumer Id: 2173535, Address Id: 9721238 => Updated with Vin: 2T1BR32E73C120588 ## Mail History Id: 31631715, Consumer Id: 2168582, Address Id: 9733791 => Updated with Vin: JTKDE167680227002 ## Mail History Id: 31631567, Consumer Id: 2179249, Address Id: 9730686 => Updated with Vin: 4T1SK12E8SU521377 ## Mail History Id: 31631563, Consumer Id: 2175724, Address Id: 9723976 => Updated with Vin: 5TBBT44102S295880 ## Mail History Id: 31631609, Consumer Id: 2165148, Address Id: 45812 => Updated with Vin: 2T1BR32EX6C657900 ## Mail History Id: 31631573, Consumer Id: 2170123, Address Id: 9732409 => Updated with Vin: JT2ST67C8J7276205 ## Mail History Id: 31631448, Consumer Id: 2165340, Address Id: 459544 => Updated with Vin: 2T1KR32E57C624823 ## Mail History Id: 31631441, Consumer Id: 2170088, Address Id: 9755332 => Updated with Vin: 5TEMU52N88Z548738 ## Mail History Id: 31631545, Consumer Id: 2164684, Address Id: 9731121 => Updated with Vin: JTDBR32E160083410 ## Mail History Id: 31631739, Consumer Id: 2159991, Address Id: 9725123 => Updated with Vin: 2T1BR32E54C253593 ## Mail History Id: 31631435, Consumer Id: 2160213, Address Id: 9725298 => Updated with Vin: 2T1BR32E84C277368 ## Mail History Id: 31631433, Consumer Id: 2167717, Address Id: 9734995 => Updated with Vin: JTEHP21A070217782 ## Total mail_history records updated with vin numbers: 28 out of 63 ============================================================ ====== Tracking Id: 2842 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-14 08:15:23') AND us2_order_type_id = 3 ## Order found: 2692 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2692 AND product_id = 55 ## Job Group Found: '594' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('594') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808003') AND customer_id = 3230 ## Mailing found: '13834' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725516, Consumer Id: 2047761, Address Id: 50959 => Updated with Vin: 1FAHP36N49W118748 ## Mail History Id: 31725518, Consumer Id: 2047760, Address Id: 17091658 => Updated with Vin: 1FAHP35N98W192182 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2843 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-14 08:45:10') AND us2_order_type_id = 3 ## Order found: 2692 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2692 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3230 ## Mailing found: '13870' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724605, Consumer Id: 64927, Address Id: 48133 => Updated with Vin: 1FAFP34P0YW343162 ## Mail History Id: 31724587, Consumer Id: 102905, Address Id: 53010 => Updated with Vin: 1FTRW08LX2KE19498 ## Mail History Id: 31724569, Consumer Id: 92774, Address Id: 50335 => Updated with Vin: 2FMDK49C97BA26536 ## Mail History Id: 31724615, Consumer Id: 93282, Address Id: 51766 => Updated with Vin: 1FTWX31R88EB40705 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2844 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-14 08:45:16') AND us2_order_type_id = 3 ## Order found: 2692 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2692 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3230 ## Mailing found: '13809' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723614, Consumer Id: 38526, Address Id: 51651 => Updated with Vin: 1FTWX31R48EA21730 ## Mail History Id: 31723604, Consumer Id: 93056, Address Id: 51472 => Updated with Vin: 1ZVFT85H975311774 ## Mail History Id: 31723738, Consumer Id: 93441, Address Id: 51948 => Updated with Vin: 3FAHP07138R167029 ## Mail History Id: 31723636, Consumer Id: 103316, Address Id: 50102 => Updated with Vin: 2FMZA52276BA63275 ## Mail History Id: 31723586, Consumer Id: 938163, Address Id: 11960361 => Updated with Vin: 1FTDX18WXVKC37618 ## Mail History Id: 31723678, Consumer Id: 103707, Address Id: 51654 => Updated with Vin: 2MEFM75V36X632897 ## Mail History Id: 31723686, Consumer Id: 67633, Address Id: 50699 => Updated with Vin: 1FAHP25197G109513 ## Mail History Id: 31723608, Consumer Id: 67140, Address Id: 48256 => Updated with Vin: 1FMZU72K72ZC83722 ## Mail History Id: 31723688, Consumer Id: 65740, Address Id: 49374 => Updated with Vin: 1FMZU72E42ZB29866 ## Mail History Id: 31723720, Consumer Id: 64315, Address Id: 48962 => Updated with Vin: 1FMZU73K33UC77297 ## Mail History Id: 31723628, Consumer Id: 62866, Address Id: 47387 => Updated with Vin: 1FMDU75W82ZB46278 ## Mail History Id: 31723644, Consumer Id: 67186, Address Id: 50695 => Updated with Vin: 1FTPW14586FB32017 ## Mail History Id: 31723652, Consumer Id: 92766, Address Id: 48086 => Updated with Vin: 1FMEU73E87UA61962 ## Mail History Id: 31723338, Consumer Id: 63493, Address Id: 52412 => Updated with Vin: 1FTNW21P64EB77513 ## Mail History Id: 31723660, Consumer Id: 38587, Address Id: 51690 => Updated with Vin: 2FMDK49CX7BB52825 ## Mail History Id: 31723706, Consumer Id: 93264, Address Id: 50307 => Updated with Vin: 1FMCU03Z08KB25894 ## Mail History Id: 31723700, Consumer Id: 100391, Address Id: 47408 => Updated with Vin: 1FMZU77E13UA07912 ## Mail History Id: 31723704, Consumer Id: 38595, Address Id: 51524 => Updated with Vin: 3C4FY48B83T632011 ## Mail History Id: 31723594, Consumer Id: 93228, Address Id: 49763 => Updated with Vin: 2FMDK36C47BA68739 ## Mail History Id: 31723712, Consumer Id: 938164, Address Id: 11960362 => Updated with Vin: 1FTSW31F3XEF08469 ## Mail History Id: 31723736, Consumer Id: 938543, Address Id: 50611 => Updated with Vin: 3FAHP07128R120008 ## Mail History Id: 31723562, Consumer Id: 100370, Address Id: 47380 => Updated with Vin: 1FAFP34P9YW175859 ## Mail History Id: 31723600, Consumer Id: 93147, Address Id: 51555 => Updated with Vin: 1ZVFT82H075365338 ## Mail History Id: 31723596, Consumer Id: 66711, Address Id: 50310 => Updated with Vin: 1FAFP37N16W176107 ## Total mail_history records updated with vin numbers: 24 out of 29 ============================================================ ====== Tracking Id: 2845 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-14 09:18:09') AND us2_order_type_id = 3 ## Order found: 2693 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2693 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3470 ## Mailing found: '13668' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634545, Consumer Id: 571854, Address Id: 1551689 => Updated with Vin: 1J8HS48PX7C680660 ## Mail History Id: 31634519, Consumer Id: 560139, Address Id: 10697608 => Updated with Vin: 1D7HL48N24S742563 ## Mail History Id: 31634421, Consumer Id: 576392, Address Id: 7116401 => Updated with Vin: 1C3EL65R24N116207 ## Mail History Id: 31634413, Consumer Id: 563010, Address Id: 4099105 => Updated with Vin: 1C3AN69L85X027584 ## Mail History Id: 31634595, Consumer Id: 565326, Address Id: 4909876 => Updated with Vin: 1J8HH58NX6C150304 ## Mail History Id: 31634411, Consumer Id: 567247, Address Id: 2052873 => Updated with Vin: 2A4GM68406R843153 ## Mail History Id: 31634447, Consumer Id: 568087, Address Id: 5396326 => Updated with Vin: 1J4GS48K96C351531 ## Mail History Id: 31634603, Consumer Id: 582255, Address Id: 3499072 => Updated with Vin: 1J8FA541X8L501570 ## Mail History Id: 31634443, Consumer Id: 573210, Address Id: 1345882 => Updated with Vin: 1B3HB28C88D609432 ## Mail History Id: 31634338, Consumer Id: 938448, Address Id: 11960549 => Updated with Vin: 1J4GL48K55W696842 ## Mail History Id: 31634310, Consumer Id: 938453, Address Id: 11960552 => Updated with Vin: 1D7HA18D44S647918 ## Mail History Id: 31634284, Consumer Id: 938451, Address Id: 11960550 => Updated with Vin: 2C3KA43R26H505313 ## Mail History Id: 31634465, Consumer Id: 938457, Address Id: 8911896 => Updated with Vin: 2A8GM48L77R291694 ## Mail History Id: 31634314, Consumer Id: 938450, Address Id: 2377539 => Updated with Vin: 1J4FA39S33P306080 ## Mail History Id: 31634489, Consumer Id: 940058, Address Id: 11961592 => Updated with Vin: 1J4GX48S14C270084 ## Mail History Id: 31634276, Consumer Id: 940059, Address Id: 5503521 => Updated with Vin: 2D4GP44L65R139393 ## Mail History Id: 31634367, Consumer Id: 940056, Address Id: 11961590 => Updated with Vin: 2C4GP54L45R214658 ## Mail History Id: 31634330, Consumer Id: 957546, Address Id: 11966600 => Updated with Vin: 1J4FA241X8L618761 ## Total mail_history records updated with vin numbers: 18 out of 23 ============================================================ ====== Tracking Id: 2846 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-14 09:18:21') AND us2_order_type_id = 3 ## Order found: 2693 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2693 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3470 ## Mailing found: '13668' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634461, Consumer Id: 575074, Address Id: 10721460 => Updated with Vin: 3B7HA18N42G102616 ## Mail History Id: 31634467, Consumer Id: 558404, Address Id: 3405585 => Updated with Vin: 1D4HD48N34F167358 ## Mail History Id: 31634365, Consumer Id: 557660, Address Id: 10695302 => Updated with Vin: 1J4FA39S63P372364 ## Mail History Id: 31634253, Consumer Id: 558998, Address Id: 2673186 => Updated with Vin: 2C3AA63HX5H529081 ## Mail History Id: 31634288, Consumer Id: 562235, Address Id: 8542419 => Updated with Vin: 2C3JA63H15H655913 ## Mail History Id: 31634285, Consumer Id: 563012, Address Id: 10703435 => Updated with Vin: 2C8GP64L55R460736 ## Mail History Id: 31634553, Consumer Id: 564109, Address Id: 10703814 => Updated with Vin: 3D7KS28C15G794691 ## Mail History Id: 31634341, Consumer Id: 564660, Address Id: 7348055 => Updated with Vin: 1D7HA18N75S228231 ## Mail History Id: 31634451, Consumer Id: 565821, Address Id: 10705940 => Updated with Vin: 2B3KA43G06H342088 ## Mail History Id: 31634513, Consumer Id: 567882, Address Id: 10713601 => Updated with Vin: 2B3KA53H96H507781 ## Mail History Id: 31634329, Consumer Id: 572437, Address Id: 1165173 => Updated with Vin: 2D4FV47T67H641570 ## Mail History Id: 31634307, Consumer Id: 582009, Address Id: 10743578 => Updated with Vin: 1J4GK48K16W153217 ## Mail History Id: 31634567, Consumer Id: 583339, Address Id: 10745440 => Updated with Vin: 1J4G248S5YC375909 ## Mail History Id: 31634312, Consumer Id: 583333, Address Id: 7586703 => Updated with Vin: 1J4GX48S83C591358 ## Mail History Id: 31634324, Consumer Id: 583344, Address Id: 7734573 => Updated with Vin: 1D4HD48N96F154634 ## Mail History Id: 31634563, Consumer Id: 573133, Address Id: 10719475 => Updated with Vin: JA3AU16UX8U010143 ## Mail History Id: 31634325, Consumer Id: 573168, Address Id: 7568462 => Updated with Vin: 1G1AK52F757536903 ## Total mail_history records updated with vin numbers: 17 out of 20 ============================================================ ====== Tracking Id: 2847 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-14 09:18:33') AND us2_order_type_id = 3 ## Order found: 2693 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2693 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3470 ## Mailing found: '13668' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2848 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-14 09:18:34') AND us2_order_type_id = 3 ## Order found: 2694 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2694 AND product_id = 142 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3768 ## Mailing found: '13706' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631833, Consumer Id: 1108951, Address Id: 1077640 => Updated with Vin: 1GYFK63897R332771 ## Mail History Id: 31631811, Consumer Id: 1108950, Address Id: 14982373 => Updated with Vin: 1GYEE637470153391 ## Mail History Id: 31632181, Consumer Id: 1107653, Address Id: 14952149 => Updated with Vin: 1GYEC63T53R313433 ## Mail History Id: 31632119, Consumer Id: 1116867, Address Id: 2774092 => Updated with Vin: 2G1WB58K289242614 ## Mail History Id: 31631795, Consumer Id: 1109113, Address Id: 9709783 => Updated with Vin: 1GYFK63807R408734 ## Mail History Id: 31631891, Consumer Id: 1109276, Address Id: 5148879 => Updated with Vin: 1GYFK66837R354244 ## Mail History Id: 31631899, Consumer Id: 1109817, Address Id: 14826966 => Updated with Vin: 1G6CD53B0M4253087 ## Mail History Id: 31631905, Consumer Id: 1107761, Address Id: 5993419 => Updated with Vin: 1G6KD54Y2WU746979 ## Mail History Id: 31631759, Consumer Id: 1107400, Address Id: 2851846 => Updated with Vin: W06VR54R01R057346 ## Mail History Id: 31632163, Consumer Id: 1042624, Address Id: 3238586 => Updated with Vin: 1G6KF579X2U112893 ## Mail History Id: 31631797, Consumer Id: 1113734, Address Id: 8826749 => Updated with Vin: 1G6KD54YX1U100825 ## Mail History Id: 31631883, Consumer Id: 1116666, Address Id: 14984180 => Updated with Vin: 1G6KD54Y84U178251 ## Mail History Id: 31631883, Consumer Id: 1116666, Address Id: 14984180 => Updated with Vin: 1G6KD54Y84U178251 ## Mail History Id: 31631819, Consumer Id: 1114861, Address Id: 3433274 => Updated with Vin: 1G6KE54Y52U223589 ## Mail History Id: 31632173, Consumer Id: 1110484, Address Id: 5980205 => Updated with Vin: 1G6KF52Y6SU308540 ## Mail History Id: 31631935, Consumer Id: 1051686, Address Id: 9876360 => Updated with Vin: 1G6DR57VX80160875 ## Mail History Id: 31631803, Consumer Id: 1109679, Address Id: 14982223 => Updated with Vin: 1G6KD54Y34U182885 ## Mail History Id: 31632131, Consumer Id: 1107652, Address Id: 3450706 => Updated with Vin: W06VR52R8XR074875 ## Mail History Id: 31631773, Consumer Id: 1108288, Address Id: 2853613 => Updated with Vin: 1G6KF579XYU343799 ## Mail History Id: 31631881, Consumer Id: 1107857, Address Id: 5992390 => Updated with Vin: 1G6DM57N630157107 ## Mail History Id: 31631799, Consumer Id: 1107473, Address Id: 5984604 => Updated with Vin: 1G6KS54Y53U132462 ## Mail History Id: 31631835, Consumer Id: 1111026, Address Id: 8827777 => Updated with Vin: 1G6DP567850189991 ## Mail History Id: 31631871, Consumer Id: 1112139, Address Id: 8828106 => Updated with Vin: 1G6KD57986U148125 ## Mail History Id: 31632139, Consumer Id: 1112601, Address Id: 11449441 => Updated with Vin: 1GYEE637760192684 ## Mail History Id: 31631771, Consumer Id: 1050747, Address Id: 2853479 => Updated with Vin: 1GYEE637160144033 ## Mail History Id: 31631903, Consumer Id: 1107149, Address Id: 14981989 => Updated with Vin: 1G6KD57Y16U189199 ## Mail History Id: 31631877, Consumer Id: 1046068, Address Id: 14953319 => Updated with Vin: 1G6KE57Y73U139108 ## Mail History Id: 31631829, Consumer Id: 1115194, Address Id: 8827741 => Updated with Vin: 1GYEK63N32R279270 ## Mail History Id: 31631809, Consumer Id: 1114931, Address Id: 8827221 => Updated with Vin: 3GYFK66N64G320302 ## Mail History Id: 31631544, Consumer Id: 1116887, Address Id: 953341 => Updated with Vin: 1G6KD57Y27U195837 ## Mail History Id: 31632165, Consumer Id: 1110603, Address Id: 3238922 => Updated with Vin: 1G6KS5155KU821765 ## Mail History Id: 31631821, Consumer Id: 1116868, Address Id: 8136091 => Updated with Vin: 1G6KD54Y0YU202323 ## Total mail_history records updated with vin numbers: 32 out of 35 ============================================================ ====== Tracking Id: 2849 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-14 09:18:46') AND us2_order_type_id = 3 ## Order found: 2694 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2694 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3768 ## Mailing found: '13676' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635021, Consumer Id: 1045948, Address Id: 14953278 => Updated with Vin: 1GYEK63N42R303933 ## Mail History Id: 31635053, Consumer Id: 1109445, Address Id: 14982590 => Updated with Vin: 1G6DT57V780149866 ## Mail History Id: 31634829, Consumer Id: 1109587, Address Id: 1342490 => Updated with Vin: 1GYFK66877R302955 ## Mail History Id: 31634889, Consumer Id: 1109580, Address Id: 11451208 => Updated with Vin: 1G6DF577180175937 ## Mail History Id: 31634943, Consumer Id: 1108423, Address Id: 5984691 => Updated with Vin: 1G6KD54Y4YU341144 ## Mail History Id: 31634678, Consumer Id: 1116056, Address Id: 14983957 => Updated with Vin: 1GNDT13S052158837 ## Mail History Id: 31634859, Consumer Id: 1116296, Address Id: 14984023 => Updated with Vin: 1G6DF577480129194 ## Mail History Id: 31634991, Consumer Id: 1116645, Address Id: 14984169 => Updated with Vin: 1G6KY5298VU840718 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 2850 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-14 09:18:46') AND us2_order_type_id = 3 ## Order found: 2695 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2695 AND product_id = 140 ## Job Group Found: '589' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('589') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508007') AND customer_id = 3721 ## Mailing found: '13655' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2851 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-14 09:18:57') AND us2_order_type_id = 3 ## Order found: 2694 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2694 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2852 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-14 09:19:01') AND us2_order_type_id = 3 ## Order found: 2694 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2694 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3768 ## Mailing found: '13676' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634945, Consumer Id: 1047250, Address Id: 3593957 => Updated with Vin: 1G6EL12Y62B103780 ## Mail History Id: 31634905, Consumer Id: 1041730, Address Id: 14952136 => Updated with Vin: 1G6KD54Y73U145207 ## Mail History Id: 31635147, Consumer Id: 1116109, Address Id: 8682028 => Updated with Vin: 3GYFK66N43G206930 ## Mail History Id: 31634837, Consumer Id: 1108166, Address Id: 2775640 => Updated with Vin: 1G6KS54Y32U293777 ## Mail History Id: 31634853, Consumer Id: 1111398, Address Id: 11450167 => Updated with Vin: 1G6DP567350156056 ## Mail History Id: 31634863, Consumer Id: 1107903, Address Id: 3238643 => Updated with Vin: 1G6KS54Y2YU145581 ## Mail History Id: 31634847, Consumer Id: 1115701, Address Id: 2335286 => Updated with Vin: 1G6DN57S840159266 ## Mail History Id: 31634989, Consumer Id: 1043523, Address Id: 12938031 => Updated with Vin: 3GYFK62837G133250 ## Mail History Id: 31634965, Consumer Id: 1050025, Address Id: 14954355 => Updated with Vin: 1G6DW52P4RR709856 ## Mail History Id: 31635037, Consumer Id: 1047035, Address Id: 14953568 => Updated with Vin: 1G6EL12Y1RU602484 ## Mail History Id: 31634947, Consumer Id: 1116097, Address Id: 14983960 => Updated with Vin: 1G6KD52Y9VU211696 ## Total mail_history records updated with vin numbers: 11 out of 11 ============================================================ ====== Tracking Id: 2853 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-14 10:15:28') AND us2_order_type_id = 3 ## Order found: 2696 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2696 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3846 ## Mailing found: '13710' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631587, Consumer Id: 1184716, Address Id: 465537 => Updated with Vin: 4S4WX83C564419761 ## Mail History Id: 31631591, Consumer Id: 1178365, Address Id: 4433074 => Updated with Vin: JF1SG63613H766810 ## Mail History Id: 31632549, Consumer Id: 1178694, Address Id: 9744233 => Updated with Vin: 4S3BH675X17621759 ## Mail History Id: 31631613, Consumer Id: 1178646, Address Id: 15367240 => Updated with Vin: JF1SG69694H767700 ## Mail History Id: 31631438, Consumer Id: 1178619, Address Id: 15367225 => Updated with Vin: JF1SG63614H761723 ## Mail History Id: 31631753, Consumer Id: 1185721, Address Id: 61080 => Updated with Vin: JF1SF6556WH713368 ## Mail History Id: 31631733, Consumer Id: 1183654, Address Id: 474252 => Updated with Vin: 4S3BH665726650256 ## Mail History Id: 31631643, Consumer Id: 1186834, Address Id: 9722956 => Updated with Vin: 4S3BH686416621866 ## Mail History Id: 31631469, Consumer Id: 1186088, Address Id: 9726578 => Updated with Vin: JF1GD61697H522765 ## Mail History Id: 31631535, Consumer Id: 1180122, Address Id: 15366904 => Updated with Vin: 4S3BH686127644162 ## Mail History Id: 31631617, Consumer Id: 1187415, Address Id: 1737112 => Updated with Vin: JF1GH61628H818166 ## Mail History Id: 31631685, Consumer Id: 1183845, Address Id: 15367881 => Updated with Vin: JF1SG67645H716741 ## Mail History Id: 31631669, Consumer Id: 1183466, Address Id: 15199164 => Updated with Vin: JF1SF63581G725040 ## Mail History Id: 31631515, Consumer Id: 1179468, Address Id: 15366356 => Updated with Vin: JF1SF65641H732633 ## Mail History Id: 31631711, Consumer Id: 1184881, Address Id: 15368984 => Updated with Vin: JF1GF4354TG812334 ## Mail History Id: 31631703, Consumer Id: 1184003, Address Id: 15368244 => Updated with Vin: 4S3BH686617629123 ## Mail History Id: 31631439, Consumer Id: 1187423, Address Id: 56850 => Updated with Vin: 4S3BH675737605618 ## Mail History Id: 31631605, Consumer Id: 1187061, Address Id: 455260 => Updated with Vin: JF1GH616X8G805641 ## Mail History Id: 31632543, Consumer Id: 1183674, Address Id: 15367983 => Updated with Vin: JF1SG63624G767181 ## Mail History Id: 31631625, Consumer Id: 1185830, Address Id: 15369591 => Updated with Vin: 4S4BP61C577321366 ## Mail History Id: 31631627, Consumer Id: 1183685, Address Id: 15368083 => Updated with Vin: JF1SG67685H710876 ## Mail History Id: 31631619, Consumer Id: 1178347, Address Id: 15366449 => Updated with Vin: 4S3BH675237623783 ## Mail History Id: 31631623, Consumer Id: 1182009, Address Id: 4444856 => Updated with Vin: 4S4BP62C887324228 ## Mail History Id: 31631723, Consumer Id: 1182728, Address Id: 15369899 => Updated with Vin: 4S4BP61C587331865 ## Mail History Id: 31631713, Consumer Id: 1184127, Address Id: 15368319 => Updated with Vin: 4S4BP68C054331033 ## Mail History Id: 31631707, Consumer Id: 1179897, Address Id: 9728749 => Updated with Vin: JF1SF65562H756568 ## Mail History Id: 31631571, Consumer Id: 1186153, Address Id: 15370433 => Updated with Vin: JF1SG63618H705609 ## Mail History Id: 31631547, Consumer Id: 1179624, Address Id: 15366481 => Updated with Vin: JF1GF4852YH805635 ## Mail History Id: 31631513, Consumer Id: 1187406, Address Id: 15368845 => Updated with Vin: 4S3BD4358X7252642 ## Mail History Id: 31631621, Consumer Id: 1183627, Address Id: 9738979 => Updated with Vin: JF1GG29692H826109 ## Mail History Id: 31632537, Consumer Id: 1179031, Address Id: 11723503 => Updated with Vin: 4S3BH665427628712 ## Mail History Id: 31631549, Consumer Id: 1181986, Address Id: 15369230 => Updated with Vin: 4S4BP61C867325829 ## Mail History Id: 31631745, Consumer Id: 1183718, Address Id: 9742750 => Updated with Vin: 4S4BP61C357314834 ## Mail History Id: 31631537, Consumer Id: 1180706, Address Id: 15367465 => Updated with Vin: 4S4BT62C136111597 ## Mail History Id: 31631533, Consumer Id: 1186543, Address Id: 15370482 => Updated with Vin: JF1SG63618H713113 ## Mail History Id: 31631437, Consumer Id: 1182729, Address Id: 15369634 => Updated with Vin: JF1SG67677H726294 ## Mail History Id: 31631601, Consumer Id: 1186109, Address Id: 472271 => Updated with Vin: 4S3BL626177201900 ## Mail History Id: 31631755, Consumer Id: 1186329, Address Id: 15366705 => Updated with Vin: 4S3BP616577313685 ## Mail History Id: 31631443, Consumer Id: 1186087, Address Id: 460884 => Updated with Vin: 4S3BG6850V7636231 ## Mail History Id: 31631543, Consumer Id: 1179971, Address Id: 15366750 => Updated with Vin: JF1SF65652H728902 ## Total mail_history records updated with vin numbers: 40 out of 47 ============================================================ ====== Tracking Id: 2854 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-14 10:18:09') AND us2_order_type_id = 3 ## Order found: 2693 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2693 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3470 ## Mailing found: '13698' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632465, Consumer Id: 580347, Address Id: 1550031 => Updated with Vin: 1P3EJ46X8WN215457 ## Mail History Id: 31632297, Consumer Id: 571626, Address Id: 4896278 => Updated with Vin: 1C3LC66K97N548984 ## Mail History Id: 31632505, Consumer Id: 559405, Address Id: 7033522 => Updated with Vin: 1J4GW58N04C396942 ## Mail History Id: 31632341, Consumer Id: 560601, Address Id: 10695701 => Updated with Vin: 1J4GK58K95W561016 ## Mail History Id: 31632329, Consumer Id: 560219, Address Id: 2488593 => Updated with Vin: 3C4FY58B85T513562 ## Mail History Id: 31631514, Consumer Id: 1174321, Address Id: 10699319 => Updated with Vin: 2A8HR44H78R766480 ## Mail History Id: 31632509, Consumer Id: 563561, Address Id: 10701535 => Updated with Vin: 1J4GK48K35W569462 ## Mail History Id: 31632317, Consumer Id: 563033, Address Id: 10701321 => Updated with Vin: 1D4GP24R95B338428 ## Mail History Id: 31632215, Consumer Id: 569510, Address Id: 10703803 => Updated with Vin: 1A8HW58257F531926 ## Mail History Id: 31631528, Consumer Id: 564293, Address Id: 7720561 => Updated with Vin: 2C3AA53G15H644590 ## Mail History Id: 31632323, Consumer Id: 1158656, Address Id: 1182601 => Updated with Vin: 1J4FY29P5VP522162 ## Mail History Id: 31632379, Consumer Id: 566208, Address Id: 10686483 => Updated with Vin: 1D4HD58NX6F124466 ## Mail History Id: 31632403, Consumer Id: 1170425, Address Id: 1546149 => Updated with Vin: 2D4GP44L47R276464 ## Mail History Id: 31632235, Consumer Id: 576987, Address Id: 10725195 => Updated with Vin: 1B7HL38N82S523351 ## Mail History Id: 31632285, Consumer Id: 577783, Address Id: 10728164 => Updated with Vin: 1D4GP24RX5B123544 ## Mail History Id: 31632531, Consumer Id: 567544, Address Id: 4910085 => Updated with Vin: 1J4GL58KX6W294578 ## Mail History Id: 31632351, Consumer Id: 578197, Address Id: 2057048 => Updated with Vin: 2C4GP44R45R402174 ## Mail History Id: 31632351, Consumer Id: 578197, Address Id: 2057048 => Updated with Vin: 2C4GP44R45R402174 ## Mail History Id: 31632513, Consumer Id: 568122, Address Id: 10686428 => Updated with Vin: 3C3JY45X06T309316 ## Mail History Id: 31632295, Consumer Id: 568626, Address Id: 10713866 => Updated with Vin: 1J4GL58K67W523243 ## Mail History Id: 31632221, Consumer Id: 570007, Address Id: 10716809 => Updated with Vin: 1B3HB48B87D252500 ## Mail History Id: 31632483, Consumer Id: 569165, Address Id: 10714075 => Updated with Vin: 2B3KA43G27H699497 ## Mail History Id: 31632307, Consumer Id: 570403, Address Id: 3613783 => Updated with Vin: 1J4GA39177L147718 ## Mail History Id: 31632371, Consumer Id: 580296, Address Id: 2545973 => Updated with Vin: 1D8GT28K97W544237 ## Mail History Id: 31632427, Consumer Id: 570626, Address Id: 10717279 => Updated with Vin: 2B3KA53H27H794673 ## Mail History Id: 31632241, Consumer Id: 580467, Address Id: 2035140 => Updated with Vin: 2D4FV47T57H723970 ## Mail History Id: 31632349, Consumer Id: 570984, Address Id: 2797724 => Updated with Vin: 1J8GS48K77C544762 ## Mail History Id: 31632437, Consumer Id: 571322, Address Id: 10717827 => Updated with Vin: 2B3KA53H27H853351 ## Mail History Id: 31632279, Consumer Id: 581286, Address Id: 10741857 => Updated with Vin: 2C3HE66G12H196805 ## Mail History Id: 31632475, Consumer Id: 572318, Address Id: 10718043 => Updated with Vin: 3A4FY48B36T271334 ## Mail History Id: 31631536, Consumer Id: 582145, Address Id: 10743649 => Updated with Vin: 2C3JA43R95H663108 ## Mail History Id: 31632515, Consumer Id: 571790, Address Id: 10686435 => Updated with Vin: 2B3KA43R77H853333 ## Mail History Id: 31632457, Consumer Id: 571727, Address Id: 10717927 => Updated with Vin: 2A8GM68X87R356535 ## Mail History Id: 31632467, Consumer Id: 572441, Address Id: 10718067 => Updated with Vin: 1J8GS48K08C105758 ## Mail History Id: 31632387, Consumer Id: 571766, Address Id: 7471261 => Updated with Vin: 1FAFP34N65W205992 ## Mail History Id: 31632407, Consumer Id: 572458, Address Id: 7473649 => Updated with Vin: 3C3HY55X88T105855 ## Mail History Id: 31632439, Consumer Id: 582486, Address Id: 10744068 => Updated with Vin: 1J4GK48K35W540379 ## Mail History Id: 31632395, Consumer Id: 572516, Address Id: 8911872 => Updated with Vin: 2A8HR64X08R647267 ## Mail History Id: 31632445, Consumer Id: 583294, Address Id: 10745203 => Updated with Vin: 2D4GP44LX7R145233 ## Mail History Id: 31632347, Consumer Id: 583204, Address Id: 1340173 => Updated with Vin: 2C3KA43R96H303567 ## Mail History Id: 31632495, Consumer Id: 583151, Address Id: 10745381 => Updated with Vin: 2C4GM68415R666875 ## Mail History Id: 31632517, Consumer Id: 573177, Address Id: 2062761 => Updated with Vin: 1J8FT48W68D521285 ## Mail History Id: 31632473, Consumer Id: 1158670, Address Id: 10621599 => Updated with Vin: 2A8HR54P78R713839 ## Mail History Id: 31632391, Consumer Id: 939496, Address Id: 7116947 => Updated with Vin: 1B3LC46K38N577156 ## Mail History Id: 31632375, Consumer Id: 1158666, Address Id: 15019927 => Updated with Vin: 2C4GP44R53R368971 ## Mail History Id: 31631427, Consumer Id: 1158665, Address Id: 15019926 => Updated with Vin: 1D7HA18N42J228687 ## Mail History Id: 31631429, Consumer Id: 1158669, Address Id: 2882813 => Updated with Vin: 3A4FY48B87T589273 ## Mail History Id: 31632229, Consumer Id: 1158671, Address Id: 1542754 => Updated with Vin: 1J4GK38K46W221312 ## Mail History Id: 31632211, Consumer Id: 1170420, Address Id: 15026532 => Updated with Vin: 2B3HD46R9XH600804 ## Mail History Id: 31631520, Consumer Id: 1231272, Address Id: 15417021 => Updated with Vin: 1J8HH58N66C153832 ## Mail History Id: 31632471, Consumer Id: 1166532, Address Id: 8548384 => Updated with Vin: 2C3KA43R58H122498 ## Mail History Id: 31631530, Consumer Id: 1173338, Address Id: 15032635 => Updated with Vin: 2C3KA63H88H288548 ## Mail History Id: 31632497, Consumer Id: 1174322, Address Id: 15036431 => Updated with Vin: 1C3LC56K68N177861 ## Mail History Id: 31632319, Consumer Id: 1175224, Address Id: 15036995 => Updated with Vin: 1J8FT28W08D761064 ## Mail History Id: 31632401, Consumer Id: 1176101, Address Id: 3405592 => Updated with Vin: 3C4FY48BX2T309402 ## Total mail_history records updated with vin numbers: 55 out of 76 ============================================================ ====== Tracking Id: 2855 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-14 10:18:23') AND us2_order_type_id = 3 ## Order found: 2703 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2703 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2856 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-14 10:19:07') AND us2_order_type_id = 3 ## Order found: 2697 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2697 AND product_id = 2147 ## Job Group Found: '584' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('584') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508002') AND customer_id = 3418 ## Mailing found: '13681' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31633996, Consumer Id: 681181, Address Id: 11794681 => Updated with Vin: 1G6DM57N130160335 ## Mail History Id: 31633998, Consumer Id: 681194, Address Id: 10326278 => Updated with Vin: 1G6KF57992U107751 ## Mail History Id: 31634000, Consumer Id: 681170, Address Id: 11794675 => Updated with Vin: 1G6DP567350109710 ## Mail History Id: 31634004, Consumer Id: 681189, Address Id: 11794686 => Updated with Vin: 1G6DW677750210420 ## Mail History Id: 31634006, Consumer Id: 610944, Address Id: 11755594 => Updated with Vin: 1G6DV57V380153262 ## Mail History Id: 31634008, Consumer Id: 610927, Address Id: 11050887 => Updated with Vin: 1G6DF577X80180151 ## Mail History Id: 31634010, Consumer Id: 678742, Address Id: 11793199 => Updated with Vin: 1G6DP577870157138 ## Mail History Id: 31634012, Consumer Id: 674989, Address Id: 11791004 => Updated with Vin: 1G6DP577960153047 ## Mail History Id: 31634014, Consumer Id: 676197, Address Id: 11418592 => Updated with Vin: 1G6DM57T160185447 ## Mail History Id: 31634016, Consumer Id: 677122, Address Id: 11792266 => Updated with Vin: 1G6DW677160218823 ## Mail History Id: 31634018, Consumer Id: 676390, Address Id: 11418008 => Updated with Vin: 1G6DP577060208033 ## Mail History Id: 31634020, Consumer Id: 678310, Address Id: 11792949 => Updated with Vin: 1GYEE637870133614 ## Mail History Id: 31634022, Consumer Id: 675056, Address Id: 11791050 => Updated with Vin: 1G6DW677560126484 ## Mail History Id: 31634024, Consumer Id: 673625, Address Id: 11790088 => Updated with Vin: 1G6DC67A160102798 ## Mail History Id: 31634026, Consumer Id: 679197, Address Id: 11418251 => Updated with Vin: 1G6DP577470166628 ## Mail History Id: 31634028, Consumer Id: 679757, Address Id: 11787378 => Updated with Vin: 1GYEE637970182885 ## Mail History Id: 31634030, Consumer Id: 664142, Address Id: 11783470 => Updated with Vin: 1G6KD57Y9YU243545 ## Mail History Id: 31634032, Consumer Id: 668340, Address Id: 11784305 => Updated with Vin: 1GYEK63N84R177904 ## Mail History Id: 31634034, Consumer Id: 677951, Address Id: 11792735 => Updated with Vin: 1G6DM57T160199560 ## Total mail_history records updated with vin numbers: 19 out of 21 ============================================================ ====== Tracking Id: 2857 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-14 10:19:19') AND us2_order_type_id = 3 ## Order found: 2697 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2697 AND product_id = 2153 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3418 ## Mailing found: '13665' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634504, Consumer Id: 669724, Address Id: 10326247 => Updated with Vin: 1G6DM57N730134824 ## Mail History Id: 31634534, Consumer Id: 673937, Address Id: 11790289 => Updated with Vin: 1G6DP577X60101281 ## Mail History Id: 31634482, Consumer Id: 676308, Address Id: 11791801 => Updated with Vin: 1GYDE63A940128165 ## Mail History Id: 31634518, Consumer Id: 680669, Address Id: 11794376 => Updated with Vin: JTDBT123510182650 ## Mail History Id: 31634486, Consumer Id: 680665, Address Id: 8872143 => Updated with Vin: 1G6KY5490XU914990 ## Mail History Id: 31634512, Consumer Id: 610103, Address Id: 11754864 => Updated with Vin: 1GYFK66847R424995 ## Mail History Id: 31634532, Consumer Id: 680644, Address Id: 11794361 => Updated with Vin: 1G6KD54Y61U263911 ## Mail History Id: 31634540, Consumer Id: 680645, Address Id: 11794362 => Updated with Vin: 1G6KS52Y9VU841465 ## Mail History Id: 31634506, Consumer Id: 680648, Address Id: 11794365 => Updated with Vin: 1GYEK13R3XR413871 ## Mail History Id: 31634478, Consumer Id: 610149, Address Id: 11754905 => Updated with Vin: 1G6DW677370176009 ## Mail History Id: 31634494, Consumer Id: 610192, Address Id: 11754943 => Updated with Vin: 1G6DW677670165912 ## Mail History Id: 31634498, Consumer Id: 610193, Address Id: 11754944 => Updated with Vin: 5GTDN136268308038 ## Total mail_history records updated with vin numbers: 12 out of 12 ============================================================ ====== Tracking Id: 2858 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-14 10:19:31') AND us2_order_type_id = 3 ## Order found: 2697 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2697 AND product_id = 2150 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3418 ## Mailing found: '13696' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631838, Consumer Id: 610833, Address Id: 11755374 => Updated with Vin: 1G6DF577780153926 ## Mail History Id: 31631942, Consumer Id: 610830, Address Id: 11755497 => Updated with Vin: 1G6DT57V880151898 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2859 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-14 10:19:42') AND us2_order_type_id = 3 ## Order found: 2697 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2697 AND product_id = 2152 ## Job Group Found: '589' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('589') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508007') AND customer_id = 3418 ## Mailing found: '13652' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634095, Consumer Id: 674661, Address Id: 11790773 => Updated with Vin: 1G6DW677360142716 ## Mail History Id: 31634097, Consumer Id: 677126, Address Id: 10326304 => Updated with Vin: 1G6YV36A365600645 ## Mail History Id: 31634099, Consumer Id: 678576, Address Id: 11793101 => Updated with Vin: 1G6KD57Y06U122884 ## Total mail_history records updated with vin numbers: 3 out of 5 ============================================================ ====== Tracking Id: 2860 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-14 10:20:47') AND us2_order_type_id = 3 ## Order found: 2700 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2700 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2861 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-14 10:21:07') AND us2_order_type_id = 3 ## Order found: 2698 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2698 AND product_id = 142 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3697 ## Mailing found: '13703' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632191, Consumer Id: 1044904, Address Id: 14952966 => Updated with Vin: 1GYFK668X7R421227 ## Mail History Id: 31632093, Consumer Id: 1044570, Address Id: 14952864 => Updated with Vin: 1GYEE63A440146285 ## Mail History Id: 31631805, Consumer Id: 1044598, Address Id: 5985182 => Updated with Vin: 1GYEC63857R343033 ## Mail History Id: 31631769, Consumer Id: 1044961, Address Id: 14952987 => Updated with Vin: 1G6KE54Y95U103086 ## Mail History Id: 31631933, Consumer Id: 1045598, Address Id: 14953181 => Updated with Vin: 1G6DW677670195962 ## Mail History Id: 31631849, Consumer Id: 1041476, Address Id: 5990047 => Updated with Vin: 1G6KY5294VU843969 ## Mail History Id: 31631893, Consumer Id: 1041967, Address Id: 5993003 => Updated with Vin: 1G6KD54Y0XU772000 ## Mail History Id: 31631909, Consumer Id: 1044273, Address Id: 12938257 => Updated with Vin: 1G6DW677170121753 ## Mail History Id: 31631827, Consumer Id: 1042297, Address Id: 5988064 => Updated with Vin: 1G6KD54Y7XU757851 ## Mail History Id: 31631791, Consumer Id: 1045053, Address Id: 5983726 => Updated with Vin: 1G6KD57Y77U188012 ## Mail History Id: 31632205, Consumer Id: 1041785, Address Id: 12412277 => Updated with Vin: 1GYEK63N02R284975 ## Mail History Id: 31632113, Consumer Id: 1050590, Address Id: 14954484 => Updated with Vin: 1G6DM577040140418 ## Mail History Id: 31632199, Consumer Id: 1045381, Address Id: 14953119 => Updated with Vin: 1G6DC67A970168985 ## Mail History Id: 31632187, Consumer Id: 1041730, Address Id: 14952136 => Updated with Vin: 1G6KD54Y73U145207 ## Mail History Id: 31632123, Consumer Id: 1043778, Address Id: 2774431 => Updated with Vin: 1G6KD54Y74U229903 ## Mail History Id: 31631775, Consumer Id: 1044141, Address Id: 2853768 => Updated with Vin: 1GYEE637240177880 ## Mail History Id: 31632135, Consumer Id: 1046627, Address Id: 2775462 => Updated with Vin: 1G6DP567750120807 ## Mail History Id: 31632197, Consumer Id: 1042210, Address Id: 14952242 => Updated with Vin: 1G6KE54YX4U105072 ## Mail History Id: 31631859, Consumer Id: 1048221, Address Id: 5990600 => Updated with Vin: 1G6KD54Y93U166883 ## Mail History Id: 31631831, Consumer Id: 1041968, Address Id: 14952189 => Updated with Vin: 1GHDT13S322102129 ## Mail History Id: 31631929, Consumer Id: 1050913, Address Id: 14954559 => Updated with Vin: 3GYFK66N44G219775 ## Mail History Id: 31632133, Consumer Id: 1052148, Address Id: 11449382 => Updated with Vin: 1G6DM577840165938 ## Mail History Id: 31631779, Consumer Id: 1050439, Address Id: 8826468 => Updated with Vin: 1GYEE63AX60147668 ## Mail History Id: 31631865, Consumer Id: 1045589, Address Id: 8828027 => Updated with Vin: 1G6KE57YX5U105456 ## Mail History Id: 31631777, Consumer Id: 1047836, Address Id: 2853970 => Updated with Vin: 1GYEE637760124241 ## Mail History Id: 31632185, Consumer Id: 1050339, Address Id: 2848591 => Updated with Vin: 1G6DM56T350226659 ## Mail History Id: 31631763, Consumer Id: 1049101, Address Id: 11451984 => Updated with Vin: 1GYEE63A460214149 ## Mail History Id: 31631869, Consumer Id: 1044658, Address Id: 14952894 => Updated with Vin: 1GYFK66897R420974 ## Mail History Id: 31631919, Consumer Id: 1052101, Address Id: 14955067 => Updated with Vin: 1GYEC63888R137397 ## Mail History Id: 31631937, Consumer Id: 1047279, Address Id: 14953637 => Updated with Vin: 1G3AG55M9R6389899 ## Total mail_history records updated with vin numbers: 30 out of 36 ============================================================ ====== Tracking Id: 2862 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-14 10:21:16') AND us2_order_type_id = 3 ## Order found: 2698 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2698 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3697 ## Mailing found: '13674' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634835, Consumer Id: 1044036, Address Id: 14952709 => Updated with Vin: 1G6KE54Y64U172302 ## Mail History Id: 31635095, Consumer Id: 1046957, Address Id: 4149477 => Updated with Vin: 1G6KF57921U154263 ## Mail History Id: 31634971, Consumer Id: 1043276, Address Id: 5989245 => Updated with Vin: 1G6KD54YXVU259124 ## Mail History Id: 31634993, Consumer Id: 1046790, Address Id: 14953500 => Updated with Vin: 1G3GR62H814103834 ## Mail History Id: 31634949, Consumer Id: 1045783, Address Id: 5985955 => Updated with Vin: 1G6KD54Y61U140156 ## Mail History Id: 31634909, Consumer Id: 1051643, Address Id: 14954848 => Updated with Vin: 1G6KD54Y92U109260 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 2863 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-14 10:21:28') AND us2_order_type_id = 3 ## Order found: 2698 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2698 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3697 ## Mailing found: '13674' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635001, Consumer Id: 1046899, Address Id: 1081516 => Updated with Vin: 3GYEK62N95G238938 ## Mail History Id: 31634873, Consumer Id: 1051942, Address Id: 3238757 => Updated with Vin: 1G6KD54Y32U217504 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 2864 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-14 10:21:40') AND us2_order_type_id = 3 ## Order found: 2698 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2698 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3697 ## Mailing found: '13674' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634917, Consumer Id: 1041545, Address Id: 14952112 => Updated with Vin: 1G6KF5493XU713171 ## Mail History Id: 31634903, Consumer Id: 1046710, Address Id: 2848762 => Updated with Vin: 1G6DP567350170474 ## Mail History Id: 31634831, Consumer Id: 1046094, Address Id: 2775170 => Updated with Vin: 1G6DP567350125227 ## Mail History Id: 31635039, Consumer Id: 1050498, Address Id: 12190897 => Updated with Vin: 1GYEK63N02R170491 ## Mail History Id: 31635041, Consumer Id: 1047631, Address Id: 11949947 => Updated with Vin: 2G2FS22K1V2221101 ## Mail History Id: 31634911, Consumer Id: 1051451, Address Id: 14954748 => Updated with Vin: 1GNEK13T81R206506 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2865 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-14 10:23:15') AND us2_order_type_id = 3 ## Order found: 2699 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2699 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2866 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-14 10:23:24') AND us2_order_type_id = 3 ## Order found: 2699 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2699 AND product_id = 2147 ## Job Group Found: '584' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('584') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508002') AND customer_id = 3815 ## Mailing found: '13684' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31633937, Consumer Id: 1378705, Address Id: 15634875 => Updated with Vin: 1HGCM56746A122271 ## Mail History Id: 31633939, Consumer Id: 1364093, Address Id: 6165398 => Updated with Vin: 1HGCM66544A013424 ## Mail History Id: 31633941, Consumer Id: 1368030, Address Id: 15634668 => Updated with Vin: 1HGCG16532A065179 ## Mail History Id: 31633943, Consumer Id: 1367447, Address Id: 15640079 => Updated with Vin: 1HGFA15888L071194 ## Mail History Id: 31633945, Consumer Id: 1363252, Address Id: 15635978 => Updated with Vin: 1HGFA16876L064197 ## Mail History Id: 31633947, Consumer Id: 1363734, Address Id: 15636599 => Updated with Vin: 1HGCM56826A116722 ## Mail History Id: 31633949, Consumer Id: 1363733, Address Id: 6164032 => Updated with Vin: 1HGCM66586A060362 ## Mail History Id: 31633951, Consumer Id: 1363244, Address Id: 15635974 => Updated with Vin: JHMFA36296S009275 ## Mail History Id: 31633953, Consumer Id: 1370111, Address Id: 15637356 => Updated with Vin: 1HGCG5659XA090618 ## Mail History Id: 31633955, Consumer Id: 1365297, Address Id: 15638250 => Updated with Vin: 1HGEM22565L060323 ## Mail History Id: 31633957, Consumer Id: 1365564, Address Id: 6166954 => Updated with Vin: 2HGFG118X7H551446 ## Mail History Id: 31633959, Consumer Id: 1378478, Address Id: 15671393 => Updated with Vin: 4S6CM58V2V4403219 ## Mail History Id: 31633961, Consumer Id: 1366454, Address Id: 15639285 => Updated with Vin: SHSRD78516U431227 ## Mail History Id: 31633963, Consumer Id: 1366830, Address Id: 15639635 => Updated with Vin: 2HKYF18524H577807 ## Mail History Id: 31633965, Consumer Id: 1379665, Address Id: 15672016 => Updated with Vin: 1HGES26722L046321 ## Total mail_history records updated with vin numbers: 15 out of 16 ============================================================ ====== Tracking Id: 2867 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-14 10:23:35') AND us2_order_type_id = 3 ## Order found: 2699 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2699 AND product_id = 2153 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3815 ## Mailing found: '13679' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635071, Consumer Id: 1378893, Address Id: 15671641 => Updated with Vin: 5FNRL18814B144176 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 2868 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-14 10:23:47') AND us2_order_type_id = 3 ## Order found: 2699 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2699 AND product_id = 2152 ## Job Group Found: '589' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('589') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508007') AND customer_id = 3815 ## Mailing found: '13658' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2869 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-14 10:23:59') AND us2_order_type_id = 3 ## Order found: 2699 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2699 AND product_id = 2150 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3815 ## Mailing found: '13709' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632097, Consumer Id: 1367329, Address Id: 15640011 => Updated with Vin: 1HGCM66524A023398 ## Mail History Id: 31631999, Consumer Id: 1367331, Address Id: 15640012 => Updated with Vin: SHSRD788X3U118067 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2870 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-14 10:29:15') AND us2_order_type_id = 3 ## Order found: 2700 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2700 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3795 ## Mailing found: '13677' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635251, Consumer Id: 1061254, Address Id: 14957707 => Updated with Vin: 2HGFG128X6H532988 ## Mail History Id: 31635201, Consumer Id: 1068808, Address Id: 14961406 => Updated with Vin: 4S6DM58W6Y4415102 ## Mail History Id: 31635131, Consumer Id: 1068803, Address Id: 9578342 => Updated with Vin: 1HGCM66477A080711 ## Mail History Id: 31635241, Consumer Id: 1068814, Address Id: 8864437 => Updated with Vin: 1HGCM82693A003366 ## Mail History Id: 31635231, Consumer Id: 1068816, Address Id: 14961408 => Updated with Vin: 4S6CM58V9T4416742 ## Mail History Id: 31635135, Consumer Id: 1057224, Address Id: 7252849 => Updated with Vin: 1HGCM56333A042047 ## Mail History Id: 31635129, Consumer Id: 1054676, Address Id: 14955859 => Updated with Vin: 5FNRL38635B042552 ## Mail History Id: 31635255, Consumer Id: 1057878, Address Id: 5325516 => Updated with Vin: JHLRE48797C013648 ## Mail History Id: 31635083, Consumer Id: 1060174, Address Id: 14957416 => Updated with Vin: JHMGD38698S029380 ## Mail History Id: 31635499, Consumer Id: 1061032, Address Id: 14957652 => Updated with Vin: 1HGCM66503A097952 ## Mail History Id: 31635239, Consumer Id: 1068447, Address Id: 14961310 => Updated with Vin: JHLRE38397C064428 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 2871 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-14 10:29:26') AND us2_order_type_id = 3 ## Order found: 2700 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2700 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3795 ## Mailing found: '13677' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635143, Consumer Id: 1068598, Address Id: 6868653 => Updated with Vin: JHMEG1149PS000083 ## Mail History Id: 31635187, Consumer Id: 1068606, Address Id: 3062071 => Updated with Vin: JM3LW28Y710185772 ## Mail History Id: 31635235, Consumer Id: 1053865, Address Id: 3099754 => Updated with Vin: SHSRD68482U000623 ## Mail History Id: 31635145, Consumer Id: 1059891, Address Id: 7551834 => Updated with Vin: 1FMFU17576LA08816 ## Mail History Id: 31635253, Consumer Id: 1059863, Address Id: 14957328 => Updated with Vin: 1FMYU02Z96KA41156 ## Total mail_history records updated with vin numbers: 5 out of 7 ============================================================ ====== Tracking Id: 2872 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-14 10:29:38') AND us2_order_type_id = 3 ## Order found: 2700 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2700 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3795 ## Mailing found: '13677' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635167, Consumer Id: 1068679, Address Id: 14961370 => Updated with Vin: 1HGEJ6571TL046680 ## Mail History Id: 31635233, Consumer Id: 1055149, Address Id: 14956013 => Updated with Vin: 2HGEJ6623WH620801 ## Mail History Id: 31635153, Consumer Id: 1056049, Address Id: 12947550 => Updated with Vin: 1HGES16561L019131 ## Mail History Id: 31635103, Consumer Id: 1053859, Address Id: 5364132 => Updated with Vin: 2HKRL18531H618065 ## Mail History Id: 31635085, Consumer Id: 1058647, Address Id: 14956186 => Updated with Vin: JHLRE48547C059032 ## Mail History Id: 31635213, Consumer Id: 1060122, Address Id: 12366266 => Updated with Vin: 1HGCP26438A053197 ## Mail History Id: 31635181, Consumer Id: 1068687, Address Id: 181180 => Updated with Vin: JHLRE38507C048796 ## Mail History Id: 31635243, Consumer Id: 1068685, Address Id: 14961372 => Updated with Vin: 1HGCG1659YA069889 ## Mail History Id: 31634674, Consumer Id: 1068067, Address Id: 14961214 => Updated with Vin: 2HKRL1856XH504280 ## Mail History Id: 31635161, Consumer Id: 1057074, Address Id: 7558304 => Updated with Vin: 5FNRL18814B126776 ## Mail History Id: 31635113, Consumer Id: 1052598, Address Id: 7242764 => Updated with Vin: 1HGCD563XRA029997 ## Total mail_history records updated with vin numbers: 11 out of 13 ============================================================ ====== Tracking Id: 2873 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-14 10:45:39') AND us2_order_type_id = 3 ## Order found: 2701 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2701 AND product_id = 140 ## Job Group Found: '589' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('589') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508007') AND customer_id = 3808 ## Mailing found: '13657' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2874 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-14 11:15:05') AND us2_order_type_id = 3 ## Order found: 2702 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2702 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3486 ## Mailing found: '13670' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635549, Consumer Id: 479324, Address Id: 4867172 => Updated with Vin: 3GNEC16T61G255521 ## Mail History Id: 31635353, Consumer Id: 479339, Address Id: 1561224 => Updated with Vin: 2G1WF52E239126717 ## Mail History Id: 31635421, Consumer Id: 629743, Address Id: 1439270 => Updated with Vin: 1GCCS14X738166462 ## Mail History Id: 31635307, Consumer Id: 475677, Address Id: 1034804 => Updated with Vin: 1G1NE52J12M655475 ## Mail History Id: 31635569, Consumer Id: 629737, Address Id: 9715386 => Updated with Vin: 3GNEK13T13G104693 ## Mail History Id: 31635531, Consumer Id: 463020, Address Id: 9715327 => Updated with Vin: 1GNEC13TX1J274916 ## Mail History Id: 31635349, Consumer Id: 464626, Address Id: 2520177 => Updated with Vin: 1GCHG39U941109949 ## Mail History Id: 31635279, Consumer Id: 464906, Address Id: 1033497 => Updated with Vin: 1GNDS13S142282732 ## Mail History Id: 31635359, Consumer Id: 475685, Address Id: 1035810 => Updated with Vin: 1GNEC13TX1J111375 ## Mail History Id: 31635425, Consumer Id: 479157, Address Id: 8233699 => Updated with Vin: 3GNEK13T43G266768 ## Mail History Id: 31635321, Consumer Id: 479070, Address Id: 4372954 => Updated with Vin: 2GCEC13T251293145 ## Mail History Id: 31635553, Consumer Id: 485501, Address Id: 9825527 => Updated with Vin: 1GNFC13097R367799 ## Mail History Id: 31635459, Consumer Id: 469988, Address Id: 4377321 => Updated with Vin: 1GNFC13J67J380811 ## Mail History Id: 31635299, Consumer Id: 584207, Address Id: 11408151 => Updated with Vin: 1GCCS136568311091 ## Mail History Id: 31635369, Consumer Id: 609361, Address Id: 11754474 => Updated with Vin: 1G1AK58F387264278 ## Mail History Id: 31635395, Consumer Id: 609677, Address Id: 11754640 => Updated with Vin: 1B4HS78ZX2F180934 ## Mail History Id: 31635435, Consumer Id: 609857, Address Id: 11754781 => Updated with Vin: 2CNDL13F976047720 ## Mail History Id: 31634262, Consumer Id: 629746, Address Id: 11769958 => Updated with Vin: 1GKEC13T93R138830 ## Total mail_history records updated with vin numbers: 18 out of 32 ============================================================ ====== Tracking Id: 2875 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-14 11:15:54') AND us2_order_type_id = 3 ## Order found: 2703 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2703 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3416 ## Mailing found: '13664' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634542, Consumer Id: 692352, Address Id: 11796590 => Updated with Vin: 1G6KD57Y76U203106 ## Mail History Id: 31634648, Consumer Id: 692976, Address Id: 11798613 => Updated with Vin: 1G6ET1298VU611654 ## Mail History Id: 31634632, Consumer Id: 692978, Address Id: 11798614 => Updated with Vin: 1G6ET1296TU618695 ## Mail History Id: 31634558, Consumer Id: 688569, Address Id: 9031973 => Updated with Vin: 5GRGN22U75H110370 ## Mail History Id: 31634614, Consumer Id: 684918, Address Id: 3761620 => Updated with Vin: 1G6DM57N530133784 ## Mail History Id: 31634564, Consumer Id: 689577, Address Id: 1959277 => Updated with Vin: 1G6KF57975U184199 ## Mail History Id: 31634556, Consumer Id: 687673, Address Id: 11796623 => Updated with Vin: 1G6DN56SX50115157 ## Mail History Id: 31634566, Consumer Id: 691763, Address Id: 11798101 => Updated with Vin: 1G6KD54Y85U146949 ## Total mail_history records updated with vin numbers: 8 out of 9 ============================================================ ====== Tracking Id: 2876 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-14 11:15:58') AND us2_order_type_id = 3 ## Order found: 2704 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2704 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3491 ## Mailing found: '13700' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632252, Consumer Id: 808630, Address Id: 11883037 => Updated with Vin: 1GNDS13S252387992 ## Mail History Id: 31632224, Consumer Id: 814935, Address Id: 11884333 => Updated with Vin: 1GNDV33W57D172460 ## Mail History Id: 31632230, Consumer Id: 811355, Address Id: 11885989 => Updated with Vin: 1GNES13H562343351 ## Mail History Id: 31632256, Consumer Id: 811779, Address Id: 11886150 => Updated with Vin: 1C3EL56T45N522527 ## Mail History Id: 31632234, Consumer Id: 838073, Address Id: 11874513 => Updated with Vin: 1GNEC13TX5R105096 ## Mail History Id: 31632260, Consumer Id: 811306, Address Id: 11886670 => Updated with Vin: 1GNFC13CX7R281315 ## Mail History Id: 31632264, Consumer Id: 838196, Address Id: 11886738 => Updated with Vin: 1G2NE52F34M685491 ## Mail History Id: 31632254, Consumer Id: 812924, Address Id: 11887515 => Updated with Vin: KL1TD56617B113116 ## Mail History Id: 31632206, Consumer Id: 838921, Address Id: 11895012 => Updated with Vin: KL1TD56697B141214 ## Mail History Id: 31632238, Consumer Id: 814443, Address Id: 11889030 => Updated with Vin: 1D4HR38N23F500210 ## Mail History Id: 31632258, Consumer Id: 816038, Address Id: 11891229 => Updated with Vin: 3A4FY48B97T549140 ## Mail History Id: 31632218, Consumer Id: 1174414, Address Id: 15036547 => Updated with Vin: 2G2WP552371191395 ## Mail History Id: 31632204, Consumer Id: 1231336, Address Id: 15417064 => Updated with Vin: 1G1JF12T717229468 ## Mail History Id: 31632246, Consumer Id: 1170127, Address Id: 11851244 => Updated with Vin: 1G1AK18F587289319 ## Mail History Id: 31632226, Consumer Id: 1170128, Address Id: 15028776 => Updated with Vin: 3GCEC13C87G517996 ## Mail History Id: 31632210, Consumer Id: 1173683, Address Id: 15032796 => Updated with Vin: 3B7KC23692M282862 ## Mail History Id: 31632220, Consumer Id: 1170484, Address Id: 15028782 => Updated with Vin: 1GCHK23U14F231001 ## Mail History Id: 31632216, Consumer Id: 1170129, Address Id: 15028777 => Updated with Vin: 1G1ZS58F88F137261 ## Mail History Id: 31632222, Consumer Id: 1173684, Address Id: 11888864 => Updated with Vin: 1D7HW28N95S226665 ## Mail History Id: 31632244, Consumer Id: 1173685, Address Id: 15032797 => Updated with Vin: 2CNDL13F256021599 ## Mail History Id: 31632232, Consumer Id: 1170130, Address Id: 15028778 => Updated with Vin: 1G1AK58F887287653 ## Mail History Id: 31632262, Consumer Id: 1170131, Address Id: 15028779 => Updated with Vin: 1G1AL58F887272082 ## Mail History Id: 31632228, Consumer Id: 1174415, Address Id: 15036548 => Updated with Vin: 3N1CB51D75L570970 ## Mail History Id: 31632208, Consumer Id: 1170132, Address Id: 15028780 => Updated with Vin: 1G1AL18F987120904 ## Mail History Id: 31632212, Consumer Id: 1173686, Address Id: 15032798 => Updated with Vin: 5TBRT34156S474463 ## Mail History Id: 31632236, Consumer Id: 1174406, Address Id: 1304341 => Updated with Vin: 2GCEK13M881165847 ## Mail History Id: 31632266, Consumer Id: 827398, Address Id: 11881966 => Updated with Vin: 1G2NE52M5TC740011 ## Mail History Id: 31632250, Consumer Id: 1231335, Address Id: 11888588 => Updated with Vin: 3GNDA13D86S678328 ## Mail History Id: 31632242, Consumer Id: 825282, Address Id: 11880584 => Updated with Vin: 3GNEC13T82G347493 ## Mail History Id: 31632240, Consumer Id: 838231, Address Id: 11880885 => Updated with Vin: 1GNEC13VX3R236253 ## Total mail_history records updated with vin numbers: 30 out of 37 ============================================================ ====== Tracking Id: 2877 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-14 11:16:05') AND us2_order_type_id = 3 ## Order found: 2703 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2703 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2878 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-14 11:16:12') AND us2_order_type_id = 3 ## Order found: 2704 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2704 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3491 ## Mailing found: '13671' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634844, Consumer Id: 808425, Address Id: 1298112 => Updated with Vin: 1GNEL19XX5B109927 ## Mail History Id: 31634912, Consumer Id: 839839, Address Id: 11893788 => Updated with Vin: JTLKT324864077111 ## Mail History Id: 31635032, Consumer Id: 813692, Address Id: 11888233 => Updated with Vin: 3GCEC13J17G515635 ## Mail History Id: 31634990, Consumer Id: 839298, Address Id: 11895197 => Updated with Vin: KL1TD66686B679701 ## Mail History Id: 31634876, Consumer Id: 839872, Address Id: 11895495 => Updated with Vin: 1GMDV33L56D130590 ## Mail History Id: 31635028, Consumer Id: 839823, Address Id: 11895475 => Updated with Vin: 1G1JC12F437165492 ## Mail History Id: 31635000, Consumer Id: 839869, Address Id: 11895493 => Updated with Vin: 2GTEK13T961138001 ## Mail History Id: 31634848, Consumer Id: 815855, Address Id: 11890547 => Updated with Vin: 2FMZA51676BA18485 ## Mail History Id: 31634974, Consumer Id: 839827, Address Id: 11895477 => Updated with Vin: 1GCEC14WXVZ112678 ## Mail History Id: 31635030, Consumer Id: 829217, Address Id: 11884744 => Updated with Vin: 2GCEK19T421339791 ## Mail History Id: 31634910, Consumer Id: 838504, Address Id: 11882547 => Updated with Vin: 1GHDT13W2W2731289 ## Total mail_history records updated with vin numbers: 11 out of 13 ============================================================ ====== Tracking Id: 2879 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-14 11:16:22') AND us2_order_type_id = 3 ## Order found: 2705 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2705 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2880 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-14 11:16:24') AND us2_order_type_id = 3 ## Order found: 2704 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2704 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2881 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-14 11:16:26') AND us2_order_type_id = 3 ## Order found: 2705 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2705 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3525 ## Mailing found: '13673' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634448, Consumer Id: 486914, Address Id: 9850605 => Updated with Vin: KMHWF35H65A207093 ## Mail History Id: 31634432, Consumer Id: 522437, Address Id: 2421528 => Updated with Vin: KMHWF25H74A022284 ## Mail History Id: 31634456, Consumer Id: 522657, Address Id: 9853499 => Updated with Vin: KMHWF25S15A164336 ## Mail History Id: 31634426, Consumer Id: 526641, Address Id: 9851098 => Updated with Vin: 5NMSH13E47H017652 ## Mail History Id: 31634398, Consumer Id: 526587, Address Id: 9856440 => Updated with Vin: 5NPEU46F56H016140 ## Mail History Id: 31634460, Consumer Id: 524985, Address Id: 9855297 => Updated with Vin: 5NPEU46FX6H083431 ## Mail History Id: 31634434, Consumer Id: 488407, Address Id: 9852231 => Updated with Vin: 5NMSH13E57H110700 ## Mail History Id: 31634340, Consumer Id: 488081, Address Id: 9851845 => Updated with Vin: 5NPEU46F67H248411 ## Mail History Id: 31634472, Consumer Id: 489341, Address Id: 9853156 => Updated with Vin: KMHHM66D78U266085 ## Mail History Id: 31634410, Consumer Id: 527770, Address Id: 9683372 => Updated with Vin: KM8SC13DX5U903062 ## Mail History Id: 31634390, Consumer Id: 488409, Address Id: 9852233 => Updated with Vin: 5NMSH13E27H069815 ## Mail History Id: 31634430, Consumer Id: 489339, Address Id: 9853154 => Updated with Vin: KMHDU46DX7U145228 ## Mail History Id: 31634354, Consumer Id: 489338, Address Id: 9679919 => Updated with Vin: 1GNEC13J17R107594 ## Total mail_history records updated with vin numbers: 13 out of 13 ============================================================ ====== Tracking Id: 2882 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-14 11:16:28') AND us2_order_type_id = 3 ## Order found: 2704 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2704 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3491 ## Mailing found: '13671' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635014, Consumer Id: 816091, Address Id: 11891265 => Updated with Vin: 5NPEU46F17H165050 ## Mail History Id: 31635024, Consumer Id: 816092, Address Id: 11891266 => Updated with Vin: 2B3KA43G67H748975 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 2883 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-14 11:16:38') AND us2_order_type_id = 3 ## Order found: 2705 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2705 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3525 ## Mailing found: '13673' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634346, Consumer Id: 525615, Address Id: 7750938 => Updated with Vin: 5NPEU46F26H120553 ## Mail History Id: 31634376, Consumer Id: 527562, Address Id: 9857094 => Updated with Vin: KMHDN45D11U151232 ## Mail History Id: 31634382, Consumer Id: 521443, Address Id: 9849476 => Updated with Vin: KMHCG35C34U298826 ## Mail History Id: 31634450, Consumer Id: 524320, Address Id: 9854826 => Updated with Vin: 5NPEU46F86H056423 ## Mail History Id: 31634384, Consumer Id: 489243, Address Id: 9853087 => Updated with Vin: KNDMC233976028526 ## Mail History Id: 31634438, Consumer Id: 488595, Address Id: 9688182 => Updated with Vin: KMHHN66F17U239056 ## Mail History Id: 31634400, Consumer Id: 487817, Address Id: 9851558 => Updated with Vin: KM8SC13D66U072807 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 2884 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-14 11:16:50') AND us2_order_type_id = 3 ## Order found: 2705 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2705 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3525 ## Mailing found: '13673' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634476, Consumer Id: 526712, Address Id: 9856508 => Updated with Vin: KMHDN46D76U357936 ## Mail History Id: 31634396, Consumer Id: 526291, Address Id: 9856246 => Updated with Vin: KMHCM36C97U005412 ## Mail History Id: 31634356, Consumer Id: 489020, Address Id: 9852825 => Updated with Vin: KM8JN12D67U687589 ## Mail History Id: 31634378, Consumer Id: 489021, Address Id: 9852826 => Updated with Vin: KMHDU46D98U282159 ## Mail History Id: 31634462, Consumer Id: 527166, Address Id: 9856819 => Updated with Vin: KM8SC83D01U110663 ## Mail History Id: 31634348, Consumer Id: 487463, Address Id: 9851170 => Updated with Vin: KM8JN12D36U363840 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2885 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-14 11:17:31') AND us2_order_type_id = 3 ## Order found: 2706 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2706 AND product_id = 144 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3705 ## Mailing found: '13704' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632318, Consumer Id: 1231389, Address Id: 15417100 => Updated with Vin: 1GNDV23W18D162942 ## Mail History Id: 31632398, Consumer Id: 1231390, Address Id: 15417101 => Updated with Vin: 1GKES12P046174304 ## Mail History Id: 31632360, Consumer Id: 1173747, Address Id: 9185577 => Updated with Vin: 1GNFC13008R210017 ## Mail History Id: 31632402, Consumer Id: 1231393, Address Id: 15417102 => Updated with Vin: 1GKDT13S382195818 ## Mail History Id: 31632384, Consumer Id: 1231394, Address Id: 15417103 => Updated with Vin: 1G1ZK57728F266834 ## Mail History Id: 31632390, Consumer Id: 1231395, Address Id: 15417104 => Updated with Vin: 1G1AK58F787321114 ## Mail History Id: 31632376, Consumer Id: 1231396, Address Id: 9247926 => Updated with Vin: 1G1ZG57B78F240557 ## Mail History Id: 31632354, Consumer Id: 1231397, Address Id: 15417105 => Updated with Vin: 5Y2SP67059Z410234 ## Mail History Id: 31632302, Consumer Id: 1231398, Address Id: 15417106 => Updated with Vin: 3GNCA13D98S702800 ## Mail History Id: 31632392, Consumer Id: 1231399, Address Id: 15417107 => Updated with Vin: 1GKEC16Z56J142781 ## Mail History Id: 31632328, Consumer Id: 1231400, Address Id: 15417108 => Updated with Vin: 3GNDA23D87S536519 ## Mail History Id: 31632284, Consumer Id: 1231401, Address Id: 5188278 => Updated with Vin: 1G1AL58F587324865 ## Mail History Id: 31632362, Consumer Id: 1231402, Address Id: 15417109 => Updated with Vin: 1A8HX58N18F107071 ## Mail History Id: 31632378, Consumer Id: 1231403, Address Id: 14840234 => Updated with Vin: 1GNFC13578R176749 ## Mail History Id: 31632338, Consumer Id: 1170161, Address Id: 15028821 => Updated with Vin: 1G2ZF57B984248881 ## Mail History Id: 31632300, Consumer Id: 1159348, Address Id: 15020404 => Updated with Vin: 2GCEC13JX81289783 ## Mail History Id: 31632296, Consumer Id: 1159349, Address Id: 15020405 => Updated with Vin: 2GCEC19J181299948 ## Mail History Id: 31632352, Consumer Id: 1170160, Address Id: 14843627 => Updated with Vin: 1G1AL58F287264219 ## Mail History Id: 31632344, Consumer Id: 1231388, Address Id: 15417099 => Updated with Vin: 3GNDA13D17S578721 ## Mail History Id: 31632316, Consumer Id: 1231392, Address Id: 14846598 => Updated with Vin: 1G1NE52J5Y6141139 ## Total mail_history records updated with vin numbers: 20 out of 21 ============================================================ ====== Tracking Id: 2886 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-14 11:17:43') AND us2_order_type_id = 3 ## Order found: 2706 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2706 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3705 ## Mailing found: '13675' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635058, Consumer Id: 969954, Address Id: 14841076 => Updated with Vin: 1GNDT13S372227152 ## Mail History Id: 31635042, Consumer Id: 972359, Address Id: 14842785 => Updated with Vin: 1GCEC19J08Z139275 ## Mail History Id: 31635048, Consumer Id: 971961, Address Id: 9253846 => Updated with Vin: 1GNDS13S282113096 ## Mail History Id: 31635050, Consumer Id: 972050, Address Id: 9145455 => Updated with Vin: 5Y2SL658X8Z400043 ## Mail History Id: 31635106, Consumer Id: 972051, Address Id: 14837609 => Updated with Vin: 1G4HR57Y67U167978 ## Mail History Id: 31635038, Consumer Id: 972053, Address Id: 14842575 => Updated with Vin: 2GCEC13C681116697 ## Mail History Id: 31635078, Consumer Id: 972054, Address Id: 14842576 => Updated with Vin: 1GTEC14X68Z193787 ## Mail History Id: 31635064, Consumer Id: 974872, Address Id: 14835694 => Updated with Vin: 2G1WH55K929193860 ## Mail History Id: 31635066, Consumer Id: 980438, Address Id: 14835814 => Updated with Vin: 1GCEK19J77Z587790 ## Mail History Id: 31635102, Consumer Id: 973373, Address Id: 14837671 => Updated with Vin: 1GTJC33161F201756 ## Mail History Id: 31635096, Consumer Id: 978397, Address Id: 14845511 => Updated with Vin: 1GTHC23112F211895 ## Mail History Id: 31635072, Consumer Id: 980501, Address Id: 14835149 => Updated with Vin: 1G4HP54K91U263505 ## Mail History Id: 31635104, Consumer Id: 980429, Address Id: 10073598 => Updated with Vin: 2G1WC58R279244808 ## Mail History Id: 31635080, Consumer Id: 980497, Address Id: 10447058 => Updated with Vin: 2GTEC19T841243131 ## Mail History Id: 31635110, Consumer Id: 980458, Address Id: 14846673 => Updated with Vin: 2GCEC13C571515468 ## Mail History Id: 31635108, Consumer Id: 980428, Address Id: 14837894 => Updated with Vin: 2CNDL63FX66008811 ## Mail History Id: 31635060, Consumer Id: 980489, Address Id: 14846696 => Updated with Vin: 3GNDA13DX7S576689 ## Total mail_history records updated with vin numbers: 17 out of 20 ============================================================ ====== Tracking Id: 2887 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-14 11:17:50') AND us2_order_type_id = 3 ## Order found: 2701 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2701 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3808 ## Mailing found: '13708' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632172, Consumer Id: 1172682, Address Id: 15030664 => Updated with Vin: 1GNDT13S522211138 ## Mail History Id: 31632102, Consumer Id: 1172681, Address Id: 15030663 => Updated with Vin: 1GCJK33628F142794 ## Mail History Id: 31632128, Consumer Id: 1172637, Address Id: 15028958 => Updated with Vin: 1GCEC14V66E218089 ## Mail History Id: 31632100, Consumer Id: 1172657, Address Id: 15030643 => Updated with Vin: 1G1AK15F777349829 ## Mail History Id: 31632164, Consumer Id: 1171365, Address Id: 15029558 => Updated with Vin: 3GNDA23D36S668277 ## Mail History Id: 31632090, Consumer Id: 1170799, Address Id: 15029044 => Updated with Vin: 1GNDS13S082118362 ## Mail History Id: 31632168, Consumer Id: 1170704, Address Id: 15028954 => Updated with Vin: 2CNDL63F566099647 ## Mail History Id: 31632106, Consumer Id: 1172524, Address Id: 15030538 => Updated with Vin: 1GNET16SX56133727 ## Mail History Id: 31632136, Consumer Id: 1172656, Address Id: 15030642 => Updated with Vin: KL1TD666X7B753198 ## Mail History Id: 31632186, Consumer Id: 1171798, Address Id: 15029938 => Updated with Vin: 2G1WT58N379308772 ## Mail History Id: 31632118, Consumer Id: 1172669, Address Id: 15030652 => Updated with Vin: 3GNGC26U54G235238 ## Mail History Id: 31632484, Consumer Id: 1172634, Address Id: 15030625 => Updated with Vin: 1GNDT13S072212169 ## Mail History Id: 31632122, Consumer Id: 1172653, Address Id: 15030640 => Updated with Vin: 1G1ZU538X6F268689 ## Mail History Id: 31632196, Consumer Id: 1172677, Address Id: 15030659 => Updated with Vin: 1GNEC13T46R108397 ## Mail History Id: 31632200, Consumer Id: 1172664, Address Id: 15030649 => Updated with Vin: 1GEEH90Y2WU550799 ## Mail History Id: 31632406, Consumer Id: 1172642, Address Id: 15030631 => Updated with Vin: 1GCHC23K78F130773 ## Mail History Id: 31632104, Consumer Id: 1172636, Address Id: 15030626 => Updated with Vin: 2GCEC19VX11175430 ## Mail History Id: 31632140, Consumer Id: 1172632, Address Id: 15030624 => Updated with Vin: 1G6KE54Y22U264603 ## Mail History Id: 31632124, Consumer Id: 1171955, Address Id: 15030072 => Updated with Vin: 3GNEK13T33G205122 ## Mail History Id: 31632092, Consumer Id: 1171105, Address Id: 15029325 => Updated with Vin: 1GCEK19J97Z557335 ## Mail History Id: 31632154, Consumer Id: 1172638, Address Id: 15030627 => Updated with Vin: 1GNDM19W7YB148267 ## Mail History Id: 31632162, Consumer Id: 1171499, Address Id: 15029679 => Updated with Vin: 3GCEK13377G519757 ## Mail History Id: 31632166, Consumer Id: 1172645, Address Id: 15030634 => Updated with Vin: 2GDEC19R3W1528824 ## Mail History Id: 31632148, Consumer Id: 1172648, Address Id: 15030636 => Updated with Vin: 1GNFK16R4TJ336532 ## Mail History Id: 31632174, Consumer Id: 1172662, Address Id: 15030648 => Updated with Vin: 1G3NL52F73C165784 ## Mail History Id: 31632188, Consumer Id: 1172655, Address Id: 15029869 => Updated with Vin: 2G1WX12K0Y9279924 ## Mail History Id: 31632198, Consumer Id: 1172680, Address Id: 15030662 => Updated with Vin: 5B4MP67G843389998 ## Mail History Id: 31632202, Consumer Id: 1172652, Address Id: 15029499 => Updated with Vin: 1G1ZU64885F102755 ## Mail History Id: 31632182, Consumer Id: 1171636, Address Id: 15029798 => Updated with Vin: 2GCEC13T361230010 ## Mail History Id: 31632096, Consumer Id: 1172658, Address Id: 15030644 => Updated with Vin: 1GCHK23K77F532293 ## Mail History Id: 31632144, Consumer Id: 1172639, Address Id: 15030628 => Updated with Vin: 1GCHC292X5E318776 ## Mail History Id: 31632156, Consumer Id: 1171310, Address Id: 15029508 => Updated with Vin: 2G2WS522441370205 ## Total mail_history records updated with vin numbers: 32 out of 37 ============================================================ ====== Tracking Id: 2888 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-14 11:17:55') AND us2_order_type_id = 3 ## Order found: 2701 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2701 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2889 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-14 11:17:59') AND us2_order_type_id = 3 ## Order found: 2706 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2706 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2890 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-14 11:18:11') AND us2_order_type_id = 3 ## Order found: 2695 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2695 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3721 ## Mailing found: '13705' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631634, Consumer Id: 1008318, Address Id: 6667409 => Updated with Vin: JM1BJ225721618942 ## Mail History Id: 31631620, Consumer Id: 1008640, Address Id: 6664979 => Updated with Vin: JM1BJ225830187826 ## Mail History Id: 31631582, Consumer Id: 1012888, Address Id: 6660318 => Updated with Vin: 4F2YZ02Z85KM64007 ## Mail History Id: 31631558, Consumer Id: 1015064, Address Id: 14932840 => Updated with Vin: 1YVHP80C265M32232 ## Mail History Id: 31631638, Consumer Id: 1011672, Address Id: 6667875 => Updated with Vin: 4F2CZ06165KM22028 ## Mail History Id: 31631646, Consumer Id: 1017414, Address Id: 14933449 => Updated with Vin: JM3ER293370100406 ## Mail History Id: 31631646, Consumer Id: 1017414, Address Id: 14933449 => Updated with Vin: JM3ER293370100406 ## Mail History Id: 31631630, Consumer Id: 1017454, Address Id: 6666993 => Updated with Vin: 1YVHP84C155M28133 ## Mail History Id: 31631604, Consumer Id: 1010151, Address Id: 14931827 => Updated with Vin: JM3ER293680206172 ## Mail History Id: 31631578, Consumer Id: 1010228, Address Id: 14930436 => Updated with Vin: JA3AJ26E63U075474 ## Mail History Id: 31631572, Consumer Id: 1016052, Address Id: 14933133 => Updated with Vin: JM1BK34L971696435 ## Total mail_history records updated with vin numbers: 11 out of 14 ============================================================ ====== Tracking Id: 2891 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-14 11:18:11') AND us2_order_type_id = 3 ## Order found: 2706 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2706 AND product_id = 106 ## Job Group Found: '587' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('587') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508005' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508005') AND customer_id = 3705 ## Mailing found: '13691' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634220, Consumer Id: 970821, Address Id: 14841724 => Updated with Vin: 1GCHK23K98F135623 ## Mail History Id: 31634221, Consumer Id: 970823, Address Id: 14841726 => Updated with Vin: 1GNFK13008R122913 ## Mail History Id: 31634222, Consumer Id: 970826, Address Id: 14841728 => Updated with Vin: 2CKDL63F576112556 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2892 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-14 11:45:05') AND us2_order_type_id = 3 ## Order found: 2707 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2707 AND product_id = 142 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3357 ## Mailing found: '13694' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632566, Consumer Id: 1173051, Address Id: 15030834 => Updated with Vin: 1FTDF1726VKD16995 ## Mail History Id: 31632558, Consumer Id: 193195, Address Id: 402742 => Updated with Vin: 1FMZU67E41UC15516 ## Mail History Id: 31632550, Consumer Id: 461868, Address Id: 9819595 => Updated with Vin: 1FAHP555926210697 ## Mail History Id: 31632562, Consumer Id: 152097, Address Id: 394454 => Updated with Vin: 1FMEU75EX6ZA14723 ## Mail History Id: 31632576, Consumer Id: 153633, Address Id: 395866 => Updated with Vin: JM3ER29L770115538 ## Mail History Id: 31632556, Consumer Id: 199469, Address Id: 407605 => Updated with Vin: 1FTYR14U67PA45926 ## Mail History Id: 31632578, Consumer Id: 193332, Address Id: 400571 => Updated with Vin: 1FMEU17L3VLA17599 ## Mail History Id: 31632580, Consumer Id: 1173042, Address Id: 15030828 => Updated with Vin: 1LNLM82W6TY735908 ## Mail History Id: 31632560, Consumer Id: 191056, Address Id: 401691 => Updated with Vin: 3FALP15P0VR153530 ## Mail History Id: 31632568, Consumer Id: 1173060, Address Id: 15030841 => Updated with Vin: 1FTZF172XWKC14266 ## Mail History Id: 31632570, Consumer Id: 1173061, Address Id: 15030842 => Updated with Vin: 2FTZA5446XBA83991 ## Mail History Id: 31632552, Consumer Id: 189600, Address Id: 402272 => Updated with Vin: 1FAFP55S9YA134949 ## Mail History Id: 31632574, Consumer Id: 198379, Address Id: 407691 => Updated with Vin: 1FAFP3830YW360969 ## Total mail_history records updated with vin numbers: 13 out of 18 ============================================================ ====== Tracking Id: 2893 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-14 11:45:14') AND us2_order_type_id = 3 ## Order found: 2707 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2707 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3357 ## Mailing found: '13663' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635354, Consumer Id: 198577, Address Id: 407382 => Updated with Vin: 1MEHM42125G611214 ## Mail History Id: 31635538, Consumer Id: 198645, Address Id: 395688 => Updated with Vin: 1FAFP40401F162991 ## Mail History Id: 31635452, Consumer Id: 199290, Address Id: 405881 => Updated with Vin: 1FMCU60EX1UA29205 ## Mail History Id: 31635316, Consumer Id: 189595, Address Id: 402271 => Updated with Vin: JM1NB353020233125 ## Mail History Id: 31635574, Consumer Id: 193648, Address Id: 403807 => Updated with Vin: 1FTNS24L04HB52187 ## Mail History Id: 31635304, Consumer Id: 194138, Address Id: 403281 => Updated with Vin: JM1BK343441214093 ## Mail History Id: 31635476, Consumer Id: 199420, Address Id: 407420 => Updated with Vin: 1N4BA41E94C808378 ## Mail History Id: 31635462, Consumer Id: 196040, Address Id: 405681 => Updated with Vin: 1FBSS31L52HA95581 ## Mail History Id: 31635380, Consumer Id: 193446, Address Id: 403322 => Updated with Vin: 2T1KR32E84C235377 ## Mail History Id: 31635436, Consumer Id: 199348, Address Id: 405748 => Updated with Vin: 1ZVFT80N555151161 ## Mail History Id: 31635342, Consumer Id: 153038, Address Id: 395319 => Updated with Vin: 1ZVHT85H065257045 ## Mail History Id: 31635472, Consumer Id: 194839, Address Id: 403949 => Updated with Vin: 1FTSW21P16EC77315 ## Mail History Id: 31635384, Consumer Id: 196871, Address Id: 405565 => Updated with Vin: 1FMCU96H36KA14096 ## Mail History Id: 31635488, Consumer Id: 198721, Address Id: 407393 => Updated with Vin: 1HGFA16896L011582 ## Mail History Id: 31635408, Consumer Id: 199281, Address Id: 407412 => Updated with Vin: 1FTRF14W36NA21057 ## Mail History Id: 31635540, Consumer Id: 153449, Address Id: 395696 => Updated with Vin: 1FTPX12526NB89058 ## Mail History Id: 31635560, Consumer Id: 199274, Address Id: 407411 => Updated with Vin: JM1BK324X71666632 ## Mail History Id: 31635420, Consumer Id: 199217, Address Id: 407405 => Updated with Vin: 1FTSS34P97DA70725 ## Mail History Id: 31635390, Consumer Id: 155084, Address Id: 397169 => Updated with Vin: 3FAHP08Z17R228266 ## Mail History Id: 31635484, Consumer Id: 199391, Address Id: 407418 => Updated with Vin: 3FAHP07Z27R274206 ## Mail History Id: 31635524, Consumer Id: 155661, Address Id: 397700 => Updated with Vin: 2FMDK48CX8BA37600 ## Mail History Id: 31635382, Consumer Id: 195748, Address Id: 401968 => Updated with Vin: 2MEFM75W93X712905 ## Mail History Id: 31635396, Consumer Id: 197114, Address Id: 405441 => Updated with Vin: 1LNHM86S04Y602849 ## Mail History Id: 31635458, Consumer Id: 199237, Address Id: 407407 => Updated with Vin: 1FAFP56S3YG282882 ## Mail History Id: 31635444, Consumer Id: 199259, Address Id: 407409 => Updated with Vin: 1HGCG1655YA082803 ## Mail History Id: 31635374, Consumer Id: 199413, Address Id: 407419 => Updated with Vin: JM3LW28G8Y0152751 ## Total mail_history records updated with vin numbers: 26 out of 29 ============================================================ ====== Tracking Id: 2894 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-14 11:45:17') AND us2_order_type_id = 3 ## Order found: 2695 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2695 AND product_id = 2150 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3721 ## Mailing found: '13705' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631610, Consumer Id: 1008149, Address Id: 6663041 => Updated with Vin: JM1BJ245X21470878 ## Mail History Id: 31631590, Consumer Id: 1017449, Address Id: 6661440 => Updated with Vin: JM3LW28A350548870 ## Mail History Id: 31631568, Consumer Id: 1009801, Address Id: 14931684 => Updated with Vin: JM3ER293480173737 ## Mail History Id: 31631552, Consumer Id: 1009872, Address Id: 6657648 => Updated with Vin: 4F2CZ02Z48KM24439 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2895 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-14 11:45:26') AND us2_order_type_id = 3 ## Order found: 2707 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2707 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3357 ## Mailing found: '13663' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635430, Consumer Id: 198297, Address Id: 407682 => Updated with Vin: 1YVHP84C255M53283 ## Mail History Id: 31635468, Consumer Id: 198635, Address Id: 407721 => Updated with Vin: 4N2ZN15T31D804091 ## Mail History Id: 31635416, Consumer Id: 196148, Address Id: 405923 => Updated with Vin: 1FAFP34331W227666 ## Mail History Id: 31635474, Consumer Id: 198146, Address Id: 399547 => Updated with Vin: WAULT68EX3A255001 ## Mail History Id: 31635438, Consumer Id: 198408, Address Id: 407694 => Updated with Vin: JTJGA31U140020033 ## Mail History Id: 31635506, Consumer Id: 193105, Address Id: 403062 => Updated with Vin: JM3LW28A740517197 ## Mail History Id: 31635554, Consumer Id: 153994, Address Id: 396184 => Updated with Vin: 1FTWW31P56ED93379 ## Mail History Id: 31635544, Consumer Id: 153894, Address Id: 396095 => Updated with Vin: JM1CR29L870140092 ## Mail History Id: 31635334, Consumer Id: 154118, Address Id: 396304 => Updated with Vin: 1FTYR10D97PA37096 ## Mail History Id: 31635398, Consumer Id: 193779, Address Id: 403398 => Updated with Vin: 1FAFP33P2YW214387 ## Total mail_history records updated with vin numbers: 10 out of 14 ============================================================ ====== Tracking Id: 2896 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-14 11:45:29') AND us2_order_type_id = 3 ## Order found: 2695 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2695 AND product_id = 2147 ## Job Group Found: '584' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('584') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508002') AND customer_id = 3721 ## Mailing found: '13683' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634059, Consumer Id: 1013631, Address Id: 6666501 => Updated with Vin: JM1NB353XY0148267 ## Mail History Id: 31634061, Consumer Id: 1007942, Address Id: 6662171 => Updated with Vin: JM1TA221111717739 ## Mail History Id: 31634063, Consumer Id: 1010238, Address Id: 14931891 => Updated with Vin: JM1BJ2225Y0274211 ## Mail History Id: 31634065, Consumer Id: 1017605, Address Id: 14933552 => Updated with Vin: 1YVFP80C345N43943 ## Mail History Id: 31634067, Consumer Id: 1017601, Address Id: 14933550 => Updated with Vin: 4F2YU08172KM18986 ## Mail History Id: 31634069, Consumer Id: 1008011, Address Id: 14930519 => Updated with Vin: JM1TA2223X1501151 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2897 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-14 11:45:38') AND us2_order_type_id = 3 ## Order found: 2707 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2707 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3357 ## Mailing found: '13663' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635440, Consumer Id: 629557, Address Id: 11769855 => Updated with Vin: 4F2CZ06153KM18856 ## Mail History Id: 31635494, Consumer Id: 611230, Address Id: 397058 => Updated with Vin: 1ZVHT80N585149309 ## Mail History Id: 31635450, Consumer Id: 629558, Address Id: 11769856 => Updated with Vin: 1FTRW12W54KA67605 ## Mail History Id: 31635442, Consumer Id: 629560, Address Id: 876659 => Updated with Vin: 1FAHP24107G121468 ## Mail History Id: 31635514, Consumer Id: 629563, Address Id: 6903619 => Updated with Vin: 1FAFP34N87W122115 ## Mail History Id: 31635358, Consumer Id: 629559, Address Id: 11769857 => Updated with Vin: 1FTPW12578KB70836 ## Mail History Id: 31635362, Consumer Id: 199336, Address Id: 403757 => Updated with Vin: 3MELM66L2SM606775 ## Total mail_history records updated with vin numbers: 7 out of 10 ============================================================ ====== Tracking Id: 2898 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-14 12:17:29') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2899 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-14 12:17:33') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2900 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-14 12:17:36') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 2901 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-14 12:17:42') AND us2_order_type_id = 3 ## Order found: 2708 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2708 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3471 ## Mailing found: '13699' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632432, Consumer Id: 807109, Address Id: 7416644 => Updated with Vin: 1G6DA67V280188327 ## Mail History Id: 31632472, Consumer Id: 807096, Address Id: 11876550 => Updated with Vin: 3GYFK62828G151126 ## Mail History Id: 31632454, Consumer Id: 807102, Address Id: 11872582 => Updated with Vin: 1GYFK638X7R119585 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 2902 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-14 12:17:52') AND us2_order_type_id = 3 ## Order found: 2708 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2708 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3471 ## Mailing found: '13669' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635122, Consumer Id: 801283, Address Id: 10211827 => Updated with Vin: 1G6EL12Y6XU615678 ## Mail History Id: 31635160, Consumer Id: 807208, Address Id: 10217419 => Updated with Vin: W06VR52R9WR020385 ## Mail History Id: 31635120, Consumer Id: 821431, Address Id: 7415448 => Updated with Vin: 1G6KS54Y43U135417 ## Mail History Id: 31635132, Consumer Id: 800979, Address Id: 10212645 => Updated with Vin: 1G6EL12YXWU600373 ## Mail History Id: 31635158, Consumer Id: 799472, Address Id: 11870394 => Updated with Vin: 1GYEK63N82R143703 ## Mail History Id: 31635150, Consumer Id: 806917, Address Id: 11876411 => Updated with Vin: 1GYFK63808R112257 ## Mail History Id: 31635178, Consumer Id: 823356, Address Id: 11878887 => Updated with Vin: JTEBU14R778090797 ## Mail History Id: 31635142, Consumer Id: 823358, Address Id: 11878889 => Updated with Vin: 1G6EL12Y0VU617665 ## Total mail_history records updated with vin numbers: 8 out of 10 ============================================================ ====== Tracking Id: 2903 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-14 12:17:55') AND us2_order_type_id = 3 ## Order found: 2709 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2709 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2904 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-14 14:14:53') AND us2_order_type_id = 3 ## Order found: 2697 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2697 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3418 ## Mailing found: '13696' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631842, Consumer Id: 610433, Address Id: 11755160 => Updated with Vin: 1G6KD57956U133128 ## Mail History Id: 31631812, Consumer Id: 623649, Address Id: 11764537 => Updated with Vin: 3GYFK66N36G216305 ## Mail History Id: 31631906, Consumer Id: 610604, Address Id: 11755307 => Updated with Vin: 1G6DT57V480152398 ## Mail History Id: 31631908, Consumer Id: 610680, Address Id: 11755369 => Updated with Vin: 1G6DF577380158458 ## Mail History Id: 31632070, Consumer Id: 629136, Address Id: 11769701 => Updated with Vin: 2C3KA53G67H658590 ## Mail History Id: 31631790, Consumer Id: 629134, Address Id: 6607772 => Updated with Vin: 1G6DF577380191590 ## Mail History Id: 31631932, Consumer Id: 626938, Address Id: 11418136 => Updated with Vin: 1G6DP577970181898 ## Mail History Id: 31631866, Consumer Id: 626931, Address Id: 11764584 => Updated with Vin: 1G6DW677560128025 ## Mail History Id: 31631914, Consumer Id: 626943, Address Id: 11764594 => Updated with Vin: 1GYFK63837R190482 ## Mail History Id: 31631978, Consumer Id: 626939, Address Id: 11764590 => Updated with Vin: 1G6DP577860125983 ## Mail History Id: 31631896, Consumer Id: 626927, Address Id: 11764581 => Updated with Vin: 1G6DM57T370196984 ## Mail History Id: 31631958, Consumer Id: 626888, Address Id: 11764551 => Updated with Vin: 1GYEK63N75R136830 ## Mail History Id: 31631870, Consumer Id: 626882, Address Id: 11764547 => Updated with Vin: 1G6DW677470132519 ## Mail History Id: 31631948, Consumer Id: 610978, Address Id: 11755556 => Updated with Vin: 1G6DC67A170130909 ## Mail History Id: 31631834, Consumer Id: 626904, Address Id: 11764564 => Updated with Vin: 1G6YX36D465603932 ## Mail History Id: 31631904, Consumer Id: 626941, Address Id: 11764592 => Updated with Vin: 1G6KD54Y75U181157 ## Mail History Id: 31631818, Consumer Id: 626945, Address Id: 11764596 => Updated with Vin: 1G6KF5799YU158756 ## Mail History Id: 31631924, Consumer Id: 626936, Address Id: 11764588 => Updated with Vin: 1G6DW677460217231 ## Mail History Id: 31631844, Consumer Id: 626942, Address Id: 11764593 => Updated with Vin: 1G6KD57Y27U202799 ## Mail History Id: 31631798, Consumer Id: 626930, Address Id: 6607970 => Updated with Vin: 1G6KD57Y66U125885 ## Mail History Id: 31631862, Consumer Id: 626937, Address Id: 11764589 => Updated with Vin: 1G6KD54Y6WU721065 ## Mail History Id: 31631792, Consumer Id: 626877, Address Id: 11764543 => Updated with Vin: 1G6DP577070161278 ## Mail History Id: 31631916, Consumer Id: 626934, Address Id: 11764587 => Updated with Vin: 1G6DM57T660137118 ## Mail History Id: 31631860, Consumer Id: 626940, Address Id: 11764591 => Updated with Vin: 1G6EL12YXSU624375 ## Mail History Id: 31631806, Consumer Id: 629135, Address Id: 10323631 => Updated with Vin: 1G6DV57V280187581 ## Mail History Id: 31631804, Consumer Id: 626933, Address Id: 11764586 => Updated with Vin: 1G6KS52Y8SU825186 ## Mail History Id: 31631794, Consumer Id: 626935, Address Id: 10323428 => Updated with Vin: 1G6KD54Y42U103768 ## Mail History Id: 31631892, Consumer Id: 626929, Address Id: 11764583 => Updated with Vin: 2GCEC19J771664096 ## Mail History Id: 31631910, Consumer Id: 610603, Address Id: 11755306 => Updated with Vin: 1G6DR57V080133720 ## Mail History Id: 31631952, Consumer Id: 610567, Address Id: 11755273 => Updated with Vin: 1G6DC67A870159078 ## Mail History Id: 31631826, Consumer Id: 626944, Address Id: 11764595 => Updated with Vin: 2G2WS522151353766 ## Total mail_history records updated with vin numbers: 31 out of 39 ============================================================ ====== Tracking Id: 2905 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-14 14:15:03') AND us2_order_type_id = 3 ## Order found: 2709 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2709 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3451 ## Mailing found: '13667' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635236, Consumer Id: 628278, Address Id: 11765564 => Updated with Vin: 1GYEK63N44R290412 ## Mail History Id: 31635240, Consumer Id: 628276, Address Id: 838382 => Updated with Vin: 1GYEK63N43R213618 ## Mail History Id: 31635210, Consumer Id: 627412, Address Id: 11764897 => Updated with Vin: 1G6DN56S150114608 ## Mail History Id: 31635232, Consumer Id: 628267, Address Id: 7679777 => Updated with Vin: 1HGCM56897A206001 ## Mail History Id: 31635218, Consumer Id: 628109, Address Id: 3240957 => Updated with Vin: 1G6KD54Y5YU337670 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2906 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-14 14:15:14') AND us2_order_type_id = 3 ## Order found: 2709 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2709 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3451 ## Mailing found: '13667' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635212, Consumer Id: 617182, Address Id: 830225 => Updated with Vin: 1GYEK63NX3R309740 ## Mail History Id: 31635220, Consumer Id: 624806, Address Id: 833047 => Updated with Vin: 1GYEC63T34R190264 ## Mail History Id: 31635238, Consumer Id: 626557, Address Id: 11763976 => Updated with Vin: 1G6KD54Y71U114648 ## Mail History Id: 31635208, Consumer Id: 628373, Address Id: 11765630 => Updated with Vin: 1G6DP567050182789 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2907 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-14 14:15:26') AND us2_order_type_id = 3 ## Order found: 2709 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2709 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3451 ## Mailing found: '13667' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635290, Consumer Id: 627991, Address Id: 11765366 => Updated with Vin: JHLRD78845C027676 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 2908 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-14 19:54:50') AND us2_order_type_id = 3 ## Order found: 2696 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2696 AND product_id = 2152 ## Job Group Found: '589' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('589') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508007') AND customer_id = 3846 ## Mailing found: '13659' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634107, Consumer Id: 1180560, Address Id: 66298 => Updated with Vin: 4S3BH686017615248 ## Mail History Id: 31634109, Consumer Id: 1187016, Address Id: 11691697 => Updated with Vin: 4S3BL676956219735 ## Mail History Id: 31634111, Consumer Id: 1187015, Address Id: 9735105 => Updated with Vin: 4S3BH675417639934 ## Mail History Id: 31634113, Consumer Id: 1185638, Address Id: 9745537 => Updated with Vin: JF1SF655XYH705342 ## Mail History Id: 31634115, Consumer Id: 1186261, Address Id: 9742879 => Updated with Vin: 4S4BP62C977319926 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2909 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-14 19:55:02') AND us2_order_type_id = 3 ## Order found: 2696 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2696 AND product_id = 2150 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3846 ## Mailing found: '13710' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631639, Consumer Id: 1178561, Address Id: 9738407 => Updated with Vin: JF1SG69654H752949 ## Mail History Id: 31631649, Consumer Id: 1179225, Address Id: 15366169 => Updated with Vin: JF1SF6350YH723710 ## Mail History Id: 31632541, Consumer Id: 1182400, Address Id: 15368789 => Updated with Vin: 4S4BP86C164322048 ## Mail History Id: 31632553, Consumer Id: 1187104, Address Id: 15371404 => Updated with Vin: 4S4WX97D884404943 ## Mail History Id: 31631741, Consumer Id: 1187106, Address Id: 15371406 => Updated with Vin: 4S3BH665317647072 ## Mail History Id: 31631747, Consumer Id: 1185010, Address Id: 9732706 => Updated with Vin: 4S3BP626567327258 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2910 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-14 19:55:14') AND us2_order_type_id = 3 ## Order found: 2696 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2696 AND product_id = 2147 ## Job Group Found: '584' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('584') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508002') AND customer_id = 3846 ## Mailing found: '13685' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634036, Consumer Id: 1187128, Address Id: 15371444 => Updated with Vin: JF1SF6357XH722052 ## Mail History Id: 31634038, Consumer Id: 1179574, Address Id: 15366427 => Updated with Vin: JF1GF4858VH800662 ## Mail History Id: 31634040, Consumer Id: 1187210, Address Id: 447010 => Updated with Vin: JF1GG68563H801587 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2911 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-14 20:14:58') AND us2_order_type_id = 3 ## Order found: 2691 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2691 AND product_id = 2150 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3503 ## Mailing found: '13701,13915' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632565, Consumer Id: 2162038, Address Id: 9728048 => Updated with Vin: 4T1BK36B25U046048 ## Mail History Id: 31631491, Consumer Id: 2174435, Address Id: 9722250 => Updated with Vin: 4T1BG22K7XU484035 ## Mail History Id: 31631525, Consumer Id: 2160558, Address Id: 9725989 => Updated with Vin: JTEBU14R040051916 ## Mail History Id: 31632559, Consumer Id: 2168012, Address Id: 9735467 => Updated with Vin: 2T1BR32E25C364586 ## Mail History Id: 31631565, Consumer Id: 2172403, Address Id: 9720111 => Updated with Vin: JTEHH20V010116654 ## Mail History Id: 31631428, Consumer Id: 2178086, Address Id: 9727760 => Updated with Vin: JTEGF21A330121671 ## Mail History Id: 31631651, Consumer Id: 2165472, Address Id: 9720490 => Updated with Vin: JTNBE46K073023633 ## Mail History Id: 31631455, Consumer Id: 433129, Address Id: 9738505 => Updated with Vin: 2T1KR30E78C702605 ## Mail History Id: 31631481, Consumer Id: 2178866, Address Id: 9729259 => Updated with Vin: JTEHF21A230105059 ## Total mail_history records updated with vin numbers: 9 out of 14 ============================================================ ====== Tracking Id: 2912 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-14 20:15:10') AND us2_order_type_id = 3 ## Order found: 2691 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2691 AND product_id = 2153 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3503 ## Mailing found: '13672' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634737, Consumer Id: 2159193, Address Id: 9723451 => Updated with Vin: 4T1BF28B94U347684 ## Mail History Id: 31634633, Consumer Id: 2174435, Address Id: 9722250 => Updated with Vin: 4T1BG22K7XU484035 ## Mail History Id: 31634729, Consumer Id: 2166513, Address Id: 9733358 => Updated with Vin: 5TDZA23C36S572157 ## Mail History Id: 31634723, Consumer Id: 2163475, Address Id: 9729795 => Updated with Vin: 5TELU42N96Z181271 ## Total mail_history records updated with vin numbers: 4 out of 6 ============================================================ ====== Tracking Id: 2913 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-14 20:15:22') AND us2_order_type_id = 3 ## Order found: 2691 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2691 AND product_id = 2152 ## Job Group Found: '589' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('589') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508007') AND customer_id = 3503 ## Mailing found: '13653' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634153, Consumer Id: 2174435, Address Id: 9722250 => Updated with Vin: 4T1BG22K7XU484035 ## Mail History Id: 31634155, Consumer Id: 2180330, Address Id: 9733512 => Updated with Vin: 4T1BE32K14U381314 ## Total mail_history records updated with vin numbers: 2 out of 4 ============================================================ ====== Tracking Id: 2914 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-14 20:15:34') AND us2_order_type_id = 3 ## Order found: 2691 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2691 AND product_id = 2147 ## Job Group Found: '584' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('584') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508002') AND customer_id = 3503 ## Mailing found: '13682' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2915 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-15 07:15:24') AND us2_order_type_id = 3 ## Order found: 2789 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2789 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2916 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-15 08:45:13') AND us2_order_type_id = 3 ## Order found: 2726 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2726 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3230 ## Mailing found: '13870' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724601, Consumer Id: 65628, Address Id: 48113 => Updated with Vin: 2FTRX17242CA76705 ## Mail History Id: 31724567, Consumer Id: 109185, Address Id: 52752 => Updated with Vin: 2FMZA51674BA55582 ## Mail History Id: 31724593, Consumer Id: 93581, Address Id: 66956 => Updated with Vin: 1FTYR14U28PA66130 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 2917 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-15 08:45:19') AND us2_order_type_id = 3 ## Order found: 2726 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2726 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3230 ## Mailing found: '13809' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723734, Consumer Id: 956533, Address Id: 11965952 => Updated with Vin: 1B3ES56C93D188465 ## Mail History Id: 31723612, Consumer Id: 92940, Address Id: 51373 => Updated with Vin: 1FTWX31R18EA59948 ## Mail History Id: 31723740, Consumer Id: 92602, Address Id: 51002 => Updated with Vin: 3FAHP07107R121964 ## Mail History Id: 31723746, Consumer Id: 66949, Address Id: 47463 => Updated with Vin: 1FTZR45E72TA71755 ## Mail History Id: 31723638, Consumer Id: 938658, Address Id: 7538398 => Updated with Vin: 1FMCU03198KB24804 ## Mail History Id: 31723730, Consumer Id: 63474, Address Id: 48047 => Updated with Vin: 1FAFP55SX3G109807 ## Mail History Id: 31723294, Consumer Id: 38432, Address Id: 49100 => Updated with Vin: 1FTSX21P65EA03801 ## Mail History Id: 31723674, Consumer Id: 92516, Address Id: 50844 => Updated with Vin: 1FTPW14516FB65859 ## Mail History Id: 31723560, Consumer Id: 92958, Address Id: 51388 => Updated with Vin: 1FTPX14V47FA25562 ## Mail History Id: 31723680, Consumer Id: 93484, Address Id: 51971 => Updated with Vin: 1FTRF14W48KC36709 ## Mail History Id: 31723588, Consumer Id: 92782, Address Id: 51203 => Updated with Vin: 3FAHP07177R170529 ## Mail History Id: 31723646, Consumer Id: 92677, Address Id: 51087 => Updated with Vin: 1FTZR45E86PA47477 ## Mail History Id: 31723616, Consumer Id: 62863, Address Id: 48495 => Updated with Vin: 1FTCR14X7VPA18574 ## Mail History Id: 31723666, Consumer Id: 67570, Address Id: 47966 => Updated with Vin: 1FMZU73K65ZA47467 ## Mail History Id: 31723702, Consumer Id: 102951, Address Id: 50311 => Updated with Vin: 1FMZU73K02UD49409 ## Mail History Id: 31723578, Consumer Id: 63227, Address Id: 47406 => Updated with Vin: 1FAFP363X1W221389 ## Mail History Id: 31723582, Consumer Id: 103079, Address Id: 52148 => Updated with Vin: 1FAFP34N06W111804 ## Total mail_history records updated with vin numbers: 17 out of 23 ============================================================ ====== Tracking Id: 2918 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-15 09:18:47') AND us2_order_type_id = 3 ## Order found: 2727 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2727 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3470 ## Mailing found: '13668' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634300, Consumer Id: 575913, Address Id: 10690499 => Updated with Vin: 4T1BE32KX5U032394 ## Mail History Id: 31634529, Consumer Id: 579261, Address Id: 1550557 => Updated with Vin: 2C8GM68424R326566 ## Mail History Id: 31634395, Consumer Id: 554364, Address Id: 10688927 => Updated with Vin: 1D7HL32N33S295100 ## Mail History Id: 31634423, Consumer Id: 569640, Address Id: 10678920 => Updated with Vin: 1J4GK48K77W507730 ## Mail History Id: 31634309, Consumer Id: 583142, Address Id: 10695497 => Updated with Vin: 1B7GL22X71S100758 ## Mail History Id: 31634326, Consumer Id: 558975, Address Id: 10695717 => Updated with Vin: 1D4HD48D24F225645 ## Mail History Id: 31634555, Consumer Id: 573358, Address Id: 7350583 => Updated with Vin: 1J8FT48W18D521288 ## Mail History Id: 31634357, Consumer Id: 573618, Address Id: 10720134 => Updated with Vin: 1J4GK38K35W542627 ## Mail History Id: 31634383, Consumer Id: 565628, Address Id: 10707138 => Updated with Vin: 1J8GK48K96W106760 ## Mail History Id: 31634381, Consumer Id: 578062, Address Id: 1543639 => Updated with Vin: 1B3ES66S05D162045 ## Mail History Id: 31634477, Consumer Id: 567833, Address Id: 10712079 => Updated with Vin: 1B3ES56C65D280457 ## Mail History Id: 31634541, Consumer Id: 568056, Address Id: 10713662 => Updated with Vin: 1D7HE48K16S687316 ## Mail History Id: 31634523, Consumer Id: 580469, Address Id: 10737696 => Updated with Vin: 3A4FY48B26T237501 ## Mail History Id: 31634373, Consumer Id: 570596, Address Id: 10717267 => Updated with Vin: 1D7HA18P87J506726 ## Mail History Id: 31634527, Consumer Id: 572406, Address Id: 10718062 => Updated with Vin: 3A4FY48B96T364410 ## Mail History Id: 31634437, Consumer Id: 573128, Address Id: 10719472 => Updated with Vin: 2D4FV48V35H178610 ## Mail History Id: 31634353, Consumer Id: 583133, Address Id: 10678237 => Updated with Vin: 1B7GG22N8YS703814 ## Mail History Id: 31634279, Consumer Id: 583140, Address Id: 2007748 => Updated with Vin: 1J4G248S9YC146259 ## Mail History Id: 31634321, Consumer Id: 583143, Address Id: 10745378 => Updated with Vin: 5N1ED28T34C681095 ## Mail History Id: 31634332, Consumer Id: 583147, Address Id: 10745379 => Updated with Vin: 1B3HB48B67D561771 ## Mail History Id: 31634339, Consumer Id: 573175, Address Id: 2046473 => Updated with Vin: 3A4FY48B96T328572 ## Mail History Id: 31634267, Consumer Id: 573176, Address Id: 3162634 => Updated with Vin: 2FMZA51411BB33493 ## Mail History Id: 31634485, Consumer Id: 573174, Address Id: 3173651 => Updated with Vin: 1G1ZT58N28F112912 ## Mail History Id: 31634439, Consumer Id: 573178, Address Id: 1345607 => Updated with Vin: 1J8GP28K88W134882 ## Mail History Id: 31634497, Consumer Id: 573184, Address Id: 10719494 => Updated with Vin: 1J8FT47W37D401301 ## Total mail_history records updated with vin numbers: 25 out of 28 ============================================================ ====== Tracking Id: 2919 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-15 09:19:00') AND us2_order_type_id = 3 ## Order found: 2727 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2727 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3470 ## Mailing found: '13668' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634322, Consumer Id: 567276, Address Id: 10488498 => Updated with Vin: 1D7HA18206S555299 ## Mail History Id: 31634445, Consumer Id: 574824, Address Id: 10689507 => Updated with Vin: 1C4GP45RX5B441669 ## Mail History Id: 31634593, Consumer Id: 572824, Address Id: 4130479 => Updated with Vin: 1D7HU18218S540109 ## Mail History Id: 31634549, Consumer Id: 560610, Address Id: 10697967 => Updated with Vin: 1C4GP45R85B259436 ## Mail History Id: 31634274, Consumer Id: 572818, Address Id: 10705532 => Updated with Vin: 1D8GT28K08W109138 ## Mail History Id: 31634503, Consumer Id: 566211, Address Id: 10699564 => Updated with Vin: 1J4GK38K26W153558 ## Mail History Id: 31634319, Consumer Id: 579497, Address Id: 10734971 => Updated with Vin: 1J4GK58K82W244128 ## Mail History Id: 31634369, Consumer Id: 580520, Address Id: 7465443 => Updated with Vin: 1C3AL56R32N227921 ## Mail History Id: 31634581, Consumer Id: 572710, Address Id: 10718163 => Updated with Vin: 3D7KR19D67G833839 ## Mail History Id: 31634290, Consumer Id: 572850, Address Id: 10719347 => Updated with Vin: 4T1CA38P26U077785 ## Mail History Id: 31634265, Consumer Id: 572890, Address Id: 776846 => Updated with Vin: 1J8HS48N78C133877 ## Mail History Id: 31634471, Consumer Id: 582883, Address Id: 7349567 => Updated with Vin: 1J4GK48KX6W106557 ## Mail History Id: 31634463, Consumer Id: 582891, Address Id: 7349499 => Updated with Vin: 1B3ES66S65D211877 ## Mail History Id: 31634387, Consumer Id: 572921, Address Id: 1178951 => Updated with Vin: 1C3LC45KX8N139674 ## Total mail_history records updated with vin numbers: 14 out of 17 ============================================================ ====== Tracking Id: 2920 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-15 09:19:11') AND us2_order_type_id = 3 ## Order found: 2728 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2728 AND product_id = 142 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2921 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-15 09:19:12') AND us2_order_type_id = 3 ## Order found: 2727 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2727 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2922 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-15 09:19:15') AND us2_order_type_id = 3 ## Order found: 2728 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2728 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3768 ## Mailing found: '13676' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634857, Consumer Id: 1044400, Address Id: 11665873 => Updated with Vin: 1GYEC63867R330565 ## Mail History Id: 31634901, Consumer Id: 1048313, Address Id: 2848725 => Updated with Vin: 1G6KD57YX6U128076 ## Mail History Id: 31634773, Consumer Id: 1116360, Address Id: 14984050 => Updated with Vin: 1GYEK63N72R112622 ## Mail History Id: 31634985, Consumer Id: 1111682, Address Id: 3595194 => Updated with Vin: 1G3GR64H924149929 ## Mail History Id: 31634927, Consumer Id: 1116353, Address Id: 14984047 => Updated with Vin: 3GYFK66NX3G290221 ## Mail History Id: 31634871, Consumer Id: 1046403, Address Id: 3238730 => Updated with Vin: 1G6KD54Y22U265172 ## Mail History Id: 31634995, Consumer Id: 1116354, Address Id: 5990904 => Updated with Vin: 1G6KD57Y16U236179 ## Mail History Id: 31634997, Consumer Id: 1110467, Address Id: 8828534 => Updated with Vin: 1G6KY54983U137503 ## Mail History Id: 31634855, Consumer Id: 1111996, Address Id: 3237985 => Updated with Vin: 1G6KD57Y96U122074 ## Mail History Id: 31634877, Consumer Id: 1116023, Address Id: 11450778 => Updated with Vin: 1G4HD57276U204870 ## Mail History Id: 31634921, Consumer Id: 1116356, Address Id: 14984048 => Updated with Vin: 1G6KD57966U222643 ## Mail History Id: 31634881, Consumer Id: 1114288, Address Id: 11451043 => Updated with Vin: 1HGCG5542YA042307 ## Total mail_history records updated with vin numbers: 12 out of 15 ============================================================ ====== Tracking Id: 2923 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-15 09:19:27') AND us2_order_type_id = 3 ## Order found: 2728 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2728 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2924 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-15 09:19:31') AND us2_order_type_id = 3 ## Order found: 2728 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2728 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3768 ## Mailing found: '13676' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634969, Consumer Id: 1049259, Address Id: 12938821 => Updated with Vin: 1GYEK63N84R134275 ## Mail History Id: 31634841, Consumer Id: 1109581, Address Id: 14982296 => Updated with Vin: 2C3HD56GX2H240927 ## Mail History Id: 31634869, Consumer Id: 1116647, Address Id: 3238690 => Updated with Vin: 1G6KF52Y8RU301776 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 2925 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-15 10:18:41') AND us2_order_type_id = 3 ## Order found: 2727 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2727 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3470 ## Mailing found: '13698' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632441, Consumer Id: 1173339, Address Id: 15032636 => Updated with Vin: 3A8FY48B28T198636 ## Mail History Id: 31632409, Consumer Id: 1176826, Address Id: 1546158 => Updated with Vin: 2GCEK19T511289319 ## Mail History Id: 31631508, Consumer Id: 1166533, Address Id: 11096081 => Updated with Vin: 2A8HR54P28R709925 ## Mail History Id: 31632443, Consumer Id: 1173340, Address Id: 15032637 => Updated with Vin: 1D8GT28K68W228263 ## Total mail_history records updated with vin numbers: 4 out of 6 ============================================================ ====== Tracking Id: 2926 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-15 10:19:41') AND us2_order_type_id = 3 ## Order found: 2729 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2729 AND product_id = 2152 ## Job Group Found: '589' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('589') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508007') AND customer_id = 3418 ## Mailing found: '13652' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634161, Consumer Id: 610599, Address Id: 11755302 => Updated with Vin: 1G6KD54Y52U203569 ## Mail History Id: 31634163, Consumer Id: 610577, Address Id: 11755282 => Updated with Vin: 1GYEK63N12R112194 ## Mail History Id: 31634165, Consumer Id: 610443, Address Id: 11049248 => Updated with Vin: 1GYEE437880132453 ## Mail History Id: 31634167, Consumer Id: 670329, Address Id: 11787932 => Updated with Vin: 1G6KE54Y24U263325 ## Mail History Id: 31634169, Consumer Id: 673635, Address Id: 10326218 => Updated with Vin: 3GYFK66N25G276333 ## Mail History Id: 31634171, Consumer Id: 675562, Address Id: 11791381 => Updated with Vin: 1G6DW677360168345 ## Mail History Id: 31634173, Consumer Id: 679567, Address Id: 11793692 => Updated with Vin: 1GYFK66837R255004 ## Mail History Id: 31634175, Consumer Id: 664059, Address Id: 11783413 => Updated with Vin: 1G6KS52Y3SU813561 ## Mail History Id: 31634177, Consumer Id: 675183, Address Id: 11791137 => Updated with Vin: 1G6DW677160137756 ## Mail History Id: 31634179, Consumer Id: 664445, Address Id: 11783704 => Updated with Vin: 1G6EL12Y2YU131475 ## Mail History Id: 31634181, Consumer Id: 663599, Address Id: 11783057 => Updated with Vin: 1G6DM57N030158706 ## Mail History Id: 31634183, Consumer Id: 610601, Address Id: 11755304 => Updated with Vin: 1G6DV57V780140434 ## Total mail_history records updated with vin numbers: 12 out of 12 ============================================================ ====== Tracking Id: 2927 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-15 10:19:54') AND us2_order_type_id = 3 ## Order found: 2729 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2729 AND product_id = 2150 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3418 ## Mailing found: '13696' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631864, Consumer Id: 610694, Address Id: 11014262 => Updated with Vin: 1G6DS57V480159175 ## Mail History Id: 31631954, Consumer Id: 681025, Address Id: 11794588 => Updated with Vin: 3C4FY58B02T378086 ## Mail History Id: 31631902, Consumer Id: 672432, Address Id: 11789322 => Updated with Vin: 1G6DW677850191473 ## Mail History Id: 31631944, Consumer Id: 680990, Address Id: 11788123 => Updated with Vin: 1G1ND52J32M580734 ## Mail History Id: 31631936, Consumer Id: 680986, Address Id: 11794564 => Updated with Vin: 1HGCG56401A143060 ## Mail History Id: 31631956, Consumer Id: 610707, Address Id: 11755392 => Updated with Vin: 1G6DJ577X80160495 ## Mail History Id: 31631828, Consumer Id: 673922, Address Id: 11790278 => Updated with Vin: 1GYEK63NX6R103189 ## Mail History Id: 31631928, Consumer Id: 673446, Address Id: 11789956 => Updated with Vin: 1G6KY5494XU925894 ## Mail History Id: 31631930, Consumer Id: 675445, Address Id: 11791316 => Updated with Vin: 1G6KD57Y56U118135 ## Mail History Id: 31631926, Consumer Id: 677213, Address Id: 11792318 => Updated with Vin: 1GYEE637960219013 ## Mail History Id: 31631810, Consumer Id: 679039, Address Id: 11793368 => Updated with Vin: 3GYFK62847G258676 ## Mail History Id: 31631830, Consumer Id: 1006596, Address Id: 14929265 => Updated with Vin: 1GYFK63897R351661 ## Mail History Id: 31631912, Consumer Id: 681022, Address Id: 11788337 => Updated with Vin: 1G1AL55FX67657810 ## Mail History Id: 31631962, Consumer Id: 676936, Address Id: 10125736 => Updated with Vin: 1G6KY54912U131508 ## Total mail_history records updated with vin numbers: 14 out of 14 ============================================================ ====== Tracking Id: 2928 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-15 10:20:06') AND us2_order_type_id = 3 ## Order found: 2729 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2729 AND product_id = 2153 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3418 ## Mailing found: '13665' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634488, Consumer Id: 679011, Address Id: 6608358 => Updated with Vin: 1G6DM57T270160820 ## Mail History Id: 31634524, Consumer Id: 666898, Address Id: 11785540 => Updated with Vin: 1G6DM577740112602 ## Mail History Id: 31634516, Consumer Id: 680171, Address Id: 11794054 => Updated with Vin: 1G6KD57Y86U240133 ## Mail History Id: 31634508, Consumer Id: 675806, Address Id: 11783199 => Updated with Vin: 1G6DP567650124699 ## Mail History Id: 31634480, Consumer Id: 610124, Address Id: 11754884 => Updated with Vin: 1G6DM577380108326 ## Mail History Id: 31634492, Consumer Id: 610111, Address Id: 11754871 => Updated with Vin: 1G6DM577680114413 ## Mail History Id: 31634530, Consumer Id: 680444, Address Id: 11794236 => Updated with Vin: 1GYEK63R0YR195838 ## Mail History Id: 31634536, Consumer Id: 610196, Address Id: 11754946 => Updated with Vin: 1G6KD54YX1U134926 ## Mail History Id: 31634522, Consumer Id: 680636, Address Id: 11794356 => Updated with Vin: 1G6KD54Y25U232032 ## Mail History Id: 31634514, Consumer Id: 680647, Address Id: 11794364 => Updated with Vin: 1G6DM57N530175341 ## Mail History Id: 31634510, Consumer Id: 680649, Address Id: 11755361 => Updated with Vin: 3GNEK12TX4G138750 ## Mail History Id: 31634484, Consumer Id: 680638, Address Id: 8871819 => Updated with Vin: 1G6DM577X40116045 ## Mail History Id: 31634526, Consumer Id: 610188, Address Id: 11754939 => Updated with Vin: 1GNDT13S832298034 ## Total mail_history records updated with vin numbers: 13 out of 13 ============================================================ ====== Tracking Id: 2929 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-15 10:20:19') AND us2_order_type_id = 3 ## Order found: 2729 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2729 AND product_id = 2147 ## Job Group Found: '584' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('584') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508002') AND customer_id = 3418 ## Mailing found: '13681' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634071, Consumer Id: 610938, Address Id: 11755590 => Updated with Vin: 1GYEE637360139514 ## Mail History Id: 31634073, Consumer Id: 610890, Address Id: 11755551 => Updated with Vin: 1G1AP15P277227180 ## Mail History Id: 31634075, Consumer Id: 681180, Address Id: 11418040 => Updated with Vin: 1G6DW677570166369 ## Mail History Id: 31634077, Consumer Id: 669000, Address Id: 10326768 => Updated with Vin: 1G6DM577540151608 ## Mail History Id: 31634079, Consumer Id: 673329, Address Id: 11789876 => Updated with Vin: 1G6KY54912U199405 ## Mail History Id: 31634081, Consumer Id: 677367, Address Id: 11418205 => Updated with Vin: 1G6DM57T170118588 ## Mail History Id: 31634083, Consumer Id: 673626, Address Id: 11790089 => Updated with Vin: 1G6DW677860102230 ## Mail History Id: 31634085, Consumer Id: 675275, Address Id: 11791201 => Updated with Vin: 1GHDX13E11D205308 ## Mail History Id: 31633916, Consumer Id: 675296, Address Id: 11791214 => Updated with Vin: 1G6DW677460166250 ## Mail History Id: 31633918, Consumer Id: 673867, Address Id: 11418754 => Updated with Vin: 1G6DP577X60114323 ## Mail History Id: 31633920, Consumer Id: 667037, Address Id: 11785634 => Updated with Vin: 1G6DM577140113258 ## Mail History Id: 31633924, Consumer Id: 676397, Address Id: 11791857 => Updated with Vin: 1G6DP577460209704 ## Mail History Id: 31633926, Consumer Id: 677345, Address Id: 11792386 => Updated with Vin: 1G6DW677X70118124 ## Mail History Id: 31633928, Consumer Id: 679267, Address Id: 11793506 => Updated with Vin: 1G6DP577270163064 ## Mail History Id: 31633930, Consumer Id: 678947, Address Id: 11793320 => Updated with Vin: 1G6DP577870161223 ## Mail History Id: 31633932, Consumer Id: 610945, Address Id: 11755595 => Updated with Vin: 1G6DD67V980168079 ## Mail History Id: 31633934, Consumer Id: 675563, Address Id: 11791382 => Updated with Vin: 1GHDT13S632203425 ## Mail History Id: 31633936, Consumer Id: 678777, Address Id: 11793218 => Updated with Vin: 1G6KD57Y07U152176 ## Mail History Id: 31633938, Consumer Id: 681182, Address Id: 11794682 => Updated with Vin: 1G6KS52Y1SU830911 ## Mail History Id: 31633940, Consumer Id: 679152, Address Id: 10326265 => Updated with Vin: 1GYFK63877R352453 ## Mail History Id: 31633942, Consumer Id: 679887, Address Id: 10326285 => Updated with Vin: 1G6YV36A575601202 ## Mail History Id: 31633944, Consumer Id: 673869, Address Id: 11790242 => Updated with Vin: 1G6DP577660107210 ## Total mail_history records updated with vin numbers: 22 out of 24 ============================================================ ====== Tracking Id: 2930 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-15 10:22:10') AND us2_order_type_id = 3 ## Order found: 2730 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2730 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3795 ## Mailing found: '13707' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631480, Consumer Id: 1057076, Address Id: 14956561 => Updated with Vin: JHMFA362X6S016297 ## Mail History Id: 31631498, Consumer Id: 1055286, Address Id: 3953967 => Updated with Vin: SHSRD78865U322609 ## Mail History Id: 31631488, Consumer Id: 1061501, Address Id: 8460658 => Updated with Vin: 1HGCM82677A002870 ## Mail History Id: 31631500, Consumer Id: 1068478, Address Id: 7828047 => Updated with Vin: 2HKRL18993H000853 ## Mail History Id: 31631482, Consumer Id: 1053208, Address Id: 6602458 => Updated with Vin: JHMBB2255TC002786 ## Total mail_history records updated with vin numbers: 5 out of 9 ============================================================ ====== Tracking Id: 2931 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-15 10:22:29') AND us2_order_type_id = 3 ## Order found: 2730 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2730 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2932 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-15 10:22:33') AND us2_order_type_id = 3 ## Order found: 2730 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2730 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3795 ## Mailing found: '13677' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635125, Consumer Id: 1068688, Address Id: 6607964 => Updated with Vin: 1HGES26771L055708 ## Mail History Id: 31635217, Consumer Id: 1053635, Address Id: 190506 => Updated with Vin: 1HGCG5656WA226069 ## Mail History Id: 31635149, Consumer Id: 1059909, Address Id: 6618802 => Updated with Vin: 1HGCG5543YA025614 ## Mail History Id: 31635159, Consumer Id: 1054290, Address Id: 14955757 => Updated with Vin: 1HGCG16562A079495 ## Mail History Id: 31635087, Consumer Id: 1057317, Address Id: 14956635 => Updated with Vin: 2HJYK16506H574281 ## Mail History Id: 31635203, Consumer Id: 1058883, Address Id: 4265431 => Updated with Vin: 1HGCM56796A014728 ## Mail History Id: 31635105, Consumer Id: 1060136, Address Id: 14957402 => Updated with Vin: 1HGCM66593A091812 ## Mail History Id: 31635121, Consumer Id: 1061075, Address Id: 6600502 => Updated with Vin: 2HKRL1866YH527004 ## Total mail_history records updated with vin numbers: 8 out of 10 ============================================================ ====== Tracking Id: 2933 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-15 10:22:45') AND us2_order_type_id = 3 ## Order found: 2731 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2731 AND product_id = 142 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3697 ## Mailing found: '13703' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632161, Consumer Id: 1044266, Address Id: 14952766 => Updated with Vin: 1G6DM57T160144994 ## Mail History Id: 31631939, Consumer Id: 1044602, Address Id: 14825013 => Updated with Vin: 1GYEE63A260222928 ## Mail History Id: 31631907, Consumer Id: 1044657, Address Id: 3597324 => Updated with Vin: 1G6KD57Y97U120701 ## Mail History Id: 31631851, Consumer Id: 1045291, Address Id: 12189900 => Updated with Vin: 1G6DP567650163454 ## Mail History Id: 31632167, Consumer Id: 1045119, Address Id: 12938037 => Updated with Vin: 1G6KD54Y31U263302 ## Mail History Id: 31631873, Consumer Id: 1046003, Address Id: 14953298 => Updated with Vin: 1GYDE637740118206 ## Mail History Id: 31631789, Consumer Id: 1042202, Address Id: 5983771 => Updated with Vin: 1G6KF5295TU283608 ## Mail History Id: 31631917, Consumer Id: 1044454, Address Id: 5995078 => Updated with Vin: 1G6KS52Y0SU833265 ## Mail History Id: 31631787, Consumer Id: 1046002, Address Id: 3240204 => Updated with Vin: 1G6DC67A570166750 ## Mail History Id: 31631901, Consumer Id: 1044139, Address Id: 1083744 => Updated with Vin: 1GYEC63T64R279309 ## Mail History Id: 31631843, Consumer Id: 1046783, Address Id: 14952326 => Updated with Vin: 1GYEK63NX5R111274 ## Mail History Id: 31631793, Consumer Id: 1048600, Address Id: 14954000 => Updated with Vin: 1G6KE54Y42U135441 ## Mail History Id: 31632159, Consumer Id: 1043223, Address Id: 3238034 => Updated with Vin: 1G6KF5492XU730074 ## Mail History Id: 31631861, Consumer Id: 1049316, Address Id: 5990539 => Updated with Vin: 1GYFK63827R160843 ## Mail History Id: 31631825, Consumer Id: 1049315, Address Id: 14953361 => Updated with Vin: 1GYEK63N23R171627 ## Mail History Id: 31631897, Consumer Id: 1052156, Address Id: 8829037 => Updated with Vin: 3GYFK66NX5G251020 ## Mail History Id: 31632193, Consumer Id: 1046741, Address Id: 163660 => Updated with Vin: 1G6DM57N730119238 ## Mail History Id: 31632129, Consumer Id: 1049758, Address Id: 12121491 => Updated with Vin: 1GYFK66817R232241 ## Mail History Id: 31631931, Consumer Id: 1047894, Address Id: 12938610 => Updated with Vin: 1G6KY5296SU812427 ## Total mail_history records updated with vin numbers: 19 out of 20 ============================================================ ====== Tracking Id: 2934 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-15 10:22:45') AND us2_order_type_id = 3 ## Order found: 2730 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2730 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3795 ## Mailing found: '13677' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635111, Consumer Id: 1053046, Address Id: 9577982 => Updated with Vin: 1HGEM229X3L002506 ## Mail History Id: 31635177, Consumer Id: 1055027, Address Id: 14955972 => Updated with Vin: 1HGCD5663SA145669 ## Mail History Id: 31635119, Consumer Id: 1055272, Address Id: 4260485 => Updated with Vin: 1HGCM56785A128010 ## Mail History Id: 31635211, Consumer Id: 1056312, Address Id: 4265958 => Updated with Vin: 1HGCM66586A021027 ## Mail History Id: 31635097, Consumer Id: 1058146, Address Id: 14955784 => Updated with Vin: 1HGCM56477A055270 ## Mail History Id: 31635155, Consumer Id: 1058237, Address Id: 2510634 => Updated with Vin: 1HGCM56857A039474 ## Mail History Id: 31635207, Consumer Id: 1057750, Address Id: 14956755 => Updated with Vin: 1HGCM66584A060696 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 2935 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-15 10:23:01') AND us2_order_type_id = 3 ## Order found: 2731 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2731 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3697 ## Mailing found: '13674' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634875, Consumer Id: 1044056, Address Id: 14952713 => Updated with Vin: 1G6YV36AX65603946 ## Mail History Id: 31634937, Consumer Id: 1044548, Address Id: 5984293 => Updated with Vin: 1G6KD54Y61U174324 ## Mail History Id: 31634885, Consumer Id: 1043035, Address Id: 3239499 => Updated with Vin: 1G6KY54912U281277 ## Mail History Id: 31634941, Consumer Id: 1041487, Address Id: 14952098 => Updated with Vin: 1G3WS52H0YF263053 ## Mail History Id: 31635027, Consumer Id: 1049065, Address Id: 14954111 => Updated with Vin: 1GYFK66857R181942 ## Mail History Id: 31634255, Consumer Id: 1049204, Address Id: 2245424 => Updated with Vin: 1N6AA06A14N529075 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2936 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-15 10:23:13') AND us2_order_type_id = 3 ## Order found: 2731 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2731 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3697 ## Mailing found: '13674' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635036, Consumer Id: 1045605, Address Id: 14953184 => Updated with Vin: 1HGCP36878A003184 ## Mail History Id: 31635035, Consumer Id: 1050430, Address Id: 12188361 => Updated with Vin: 1G6KD57Y16U205370 ## Mail History Id: 31635029, Consumer Id: 1042158, Address Id: 14952229 => Updated with Vin: 3GNFK16T31G122240 ## Mail History Id: 31634833, Consumer Id: 1046603, Address Id: 2775175 => Updated with Vin: 1G6DM57N430168929 ## Mail History Id: 31634895, Consumer Id: 1044496, Address Id: 11666015 => Updated with Vin: 1G6KD54Y53U175516 ## Mail History Id: 31634955, Consumer Id: 1044725, Address Id: 5986938 => Updated with Vin: 1G6KD57Y27U205427 ## Mail History Id: 31634907, Consumer Id: 1051033, Address Id: 14954596 => Updated with Vin: 2GCEK19N241150884 ## Mail History Id: 31634975, Consumer Id: 1051320, Address Id: 14952607 => Updated with Vin: 1GNET16S346165112 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 2937 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-15 10:23:25') AND us2_order_type_id = 3 ## Order found: 2731 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2731 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3697 ## Mailing found: '13674' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634931, Consumer Id: 1042419, Address Id: 2853943 => Updated with Vin: 1G6KE57Y91U143657 ## Mail History Id: 31634899, Consumer Id: 1048778, Address Id: 2848622 => Updated with Vin: 1GYFK63807R138176 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2938 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-15 10:24:57') AND us2_order_type_id = 3 ## Order found: 2732 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2732 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2939 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-15 10:25:05') AND us2_order_type_id = 3 ## Order found: 2732 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2732 AND product_id = 2153 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3815 ## Mailing found: '13679' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635043, Consumer Id: 1362337, Address Id: 15633066 => Updated with Vin: SHSRD78905U303305 ## Mail History Id: 31635077, Consumer Id: 1369947, Address Id: 15636913 => Updated with Vin: 4S6DM58W214405608 ## Mail History Id: 31635051, Consumer Id: 1377039, Address Id: 15670591 => Updated with Vin: 1HGCG1650WA021601 ## Mail History Id: 31634839, Consumer Id: 1377789, Address Id: 15671029 => Updated with Vin: 1HGCM56383A117471 ## Mail History Id: 31634887, Consumer Id: 1378288, Address Id: 2564515 => Updated with Vin: 1HGCM568X4A021936 ## Mail History Id: 31635079, Consumer Id: 1365948, Address Id: 15638827 => Updated with Vin: 5FNRL38737B447077 ## Mail History Id: 31635073, Consumer Id: 1366212, Address Id: 11304781 => Updated with Vin: 5FNYF18147B032837 ## Mail History Id: 31635067, Consumer Id: 1378960, Address Id: 15671653 => Updated with Vin: 2HKRL18691H602428 ## Mail History Id: 31635065, Consumer Id: 1366547, Address Id: 15639342 => Updated with Vin: 5TDZA22C94S162381 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 2940 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-15 10:25:17') AND us2_order_type_id = 3 ## Order found: 2732 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2732 AND product_id = 2147 ## Job Group Found: '584' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('584') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508002') AND customer_id = 3815 ## Mailing found: '13684' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634042, Consumer Id: 1361298, Address Id: 15633532 => Updated with Vin: 5FNYF18605B018040 ## Mail History Id: 31634044, Consumer Id: 1379138, Address Id: 15635025 => Updated with Vin: 1HGCM66875A057672 ## Mail History Id: 31634046, Consumer Id: 1378178, Address Id: 15671230 => Updated with Vin: 2HNYD18612H503888 ## Mail History Id: 31634048, Consumer Id: 1372846, Address Id: 15669276 => Updated with Vin: JHMCG5646YC023985 ## Mail History Id: 31634050, Consumer Id: 1376162, Address Id: 15669169 => Updated with Vin: 1HGCG1652WA033703 ## Mail History Id: 31634052, Consumer Id: 1378000, Address Id: 15671132 => Updated with Vin: 5FNRL18943B115424 ## Mail History Id: 31634054, Consumer Id: 1368401, Address Id: 15634926 => Updated with Vin: 5J6YH28563L021018 ## Mail History Id: 31634056, Consumer Id: 1367407, Address Id: 15636907 => Updated with Vin: 5J6RE48598L003192 ## Mail History Id: 31634058, Consumer Id: 1378019, Address Id: 15671137 => Updated with Vin: 1HGCM66574A061774 ## Mail History Id: 31634060, Consumer Id: 1361665, Address Id: 8346575 => Updated with Vin: 1HGCM56814A057353 ## Mail History Id: 31634062, Consumer Id: 1361825, Address Id: 15633911 => Updated with Vin: 5FNRL38685B415374 ## Mail History Id: 31634064, Consumer Id: 1363071, Address Id: 15635855 => Updated with Vin: 2HJYK16526H556557 ## Mail History Id: 31634066, Consumer Id: 1377378, Address Id: 15670798 => Updated with Vin: 1HGCM56756A114485 ## Mail History Id: 31634068, Consumer Id: 1365298, Address Id: 15638251 => Updated with Vin: JHMGD38617S033633 ## Mail History Id: 31634070, Consumer Id: 1365488, Address Id: 15637849 => Updated with Vin: 2HGFG12896H558451 ## Mail History Id: 31634072, Consumer Id: 1365855, Address Id: 802545 => Updated with Vin: 5FNRL387X7B027137 ## Mail History Id: 31634074, Consumer Id: 1378978, Address Id: 8297696 => Updated with Vin: 1HGCM727X7A016796 ## Mail History Id: 31634076, Consumer Id: 1379664, Address Id: 15672015 => Updated with Vin: 1HGCM71365A012045 ## Mail History Id: 31634078, Consumer Id: 1379631, Address Id: 15671996 => Updated with Vin: 1HGCG5644WA168907 ## Mail History Id: 31634080, Consumer Id: 1379663, Address Id: 15672014 => Updated with Vin: 1HGCG5646XA078286 ## Mail History Id: 31634082, Consumer Id: 1367458, Address Id: 15640087 => Updated with Vin: 2HKYF18734H599624 ## Mail History Id: 31634084, Consumer Id: 1368865, Address Id: 15634872 => Updated with Vin: 1HGEJ6572YL057596 ## Total mail_history records updated with vin numbers: 22 out of 22 ============================================================ ====== Tracking Id: 2941 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-15 10:25:29') AND us2_order_type_id = 3 ## Order found: 2732 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2732 AND product_id = 2152 ## Job Group Found: '589' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('589') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508007') AND customer_id = 3815 ## Mailing found: '13658' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634094, Consumer Id: 1379119, Address Id: 15670547 => Updated with Vin: 2HNYD18293H534255 ## Mail History Id: 31634096, Consumer Id: 1360129, Address Id: 5786990 => Updated with Vin: 2HKYF18634H550317 ## Mail History Id: 31634098, Consumer Id: 1360081, Address Id: 15632643 => Updated with Vin: 1HGEM22944L020873 ## Mail History Id: 31634100, Consumer Id: 1377496, Address Id: 15670861 => Updated with Vin: JH4DC53094S017809 ## Mail History Id: 31634102, Consumer Id: 1377527, Address Id: 15670879 => Updated with Vin: 1HGCG5658YA054369 ## Total mail_history records updated with vin numbers: 5 out of 6 ============================================================ ====== Tracking Id: 2942 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-15 10:25:42') AND us2_order_type_id = 3 ## Order found: 2732 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2732 AND product_id = 2150 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3815 ## Mailing found: '13709' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632013, Consumer Id: 1376902, Address Id: 15633664 => Updated with Vin: JH4DC530X2C010519 ## Mail History Id: 31632045, Consumer Id: 1376768, Address Id: 15670432 => Updated with Vin: SHSRD78805U332813 ## Mail History Id: 31632143, Consumer Id: 1367335, Address Id: 15636559 => Updated with Vin: 5J6RE48538L002054 ## Mail History Id: 31631953, Consumer Id: 1379412, Address Id: 15671871 => Updated with Vin: SHSRD78882U009914 ## Mail History Id: 31631997, Consumer Id: 1377896, Address Id: 15671081 => Updated with Vin: 19UUA662X6A062214 ## Mail History Id: 31631987, Consumer Id: 1379452, Address Id: 15671895 => Updated with Vin: 5J6YH18757L014255 ## Mail History Id: 31631941, Consumer Id: 1366694, Address Id: 15639564 => Updated with Vin: 1HGFA16576L031237 ## Mail History Id: 31631470, Consumer Id: 1367126, Address Id: 15639895 => Updated with Vin: 1HGCP26438A053149 ## Mail History Id: 31632005, Consumer Id: 1379413, Address Id: 15671872 => Updated with Vin: 1HGEJ612XTL046235 ## Mail History Id: 31631476, Consumer Id: 1379449, Address Id: 15671892 => Updated with Vin: JHLRD1847WC097281 ## Mail History Id: 31631965, Consumer Id: 1379430, Address Id: 15639810 => Updated with Vin: 1HGCM56337A029708 ## Mail History Id: 31632109, Consumer Id: 1367334, Address Id: 10679555 => Updated with Vin: 1HGES16541L001016 ## Total mail_history records updated with vin numbers: 12 out of 14 ============================================================ ====== Tracking Id: 2943 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-15 10:45:40') AND us2_order_type_id = 3 ## Order found: 2733 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2733 AND product_id = 140 ## Job Group Found: '589' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('589') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508007') AND customer_id = 3808 ## Mailing found: '13657' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2944 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-15 11:15:17') AND us2_order_type_id = 3 ## Order found: 2734 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2734 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3486 ## Mailing found: '13670' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635407, Consumer Id: 469174, Address Id: 9822392 => Updated with Vin: 2CNDL63F476054166 ## Mail History Id: 31635289, Consumer Id: 477145, Address Id: 1558885 => Updated with Vin: 1GNDM19Z7PB218925 ## Mail History Id: 31635399, Consumer Id: 479726, Address Id: 1037323 => Updated with Vin: 3GNEC13T82G340978 ## Mail History Id: 31635563, Consumer Id: 462321, Address Id: 1572660 => Updated with Vin: 1GCEK19T03Z246629 ## Mail History Id: 31635545, Consumer Id: 462820, Address Id: 8119397 => Updated with Vin: 1GCFG15X731196650 ## Mail History Id: 31635467, Consumer Id: 476492, Address Id: 2011612 => Updated with Vin: 2CNBE18C936922269 ## Mail History Id: 31635273, Consumer Id: 477319, Address Id: 4372243 => Updated with Vin: 1GCHK23285F823558 ## Mail History Id: 31635557, Consumer Id: 470958, Address Id: 4921839 => Updated with Vin: 1C4GP45R95B321068 ## Mail History Id: 31635283, Consumer Id: 479917, Address Id: 1033729 => Updated with Vin: 1GCCS136858204597 ## Mail History Id: 31635577, Consumer Id: 468690, Address Id: 9822175 => Updated with Vin: 1GNDS13S472122185 ## Mail History Id: 31635487, Consumer Id: 481928, Address Id: 1568679 => Updated with Vin: 1G1YY22P2S5104098 ## Mail History Id: 31635473, Consumer Id: 484673, Address Id: 9825211 => Updated with Vin: 1GNFC16027J195643 ## Mail History Id: 31635533, Consumer Id: 490367, Address Id: 9822551 => Updated with Vin: 1G1ZK57788F181111 ## Mail History Id: 31635505, Consumer Id: 469747, Address Id: 9822682 => Updated with Vin: 1GKDT13S052230794 ## Mail History Id: 31635559, Consumer Id: 469831, Address Id: 9822729 => Updated with Vin: 2G1WT58K379103992 ## Mail History Id: 31635475, Consumer Id: 469828, Address Id: 9822726 => Updated with Vin: 1GNFC16017J339523 ## Mail History Id: 31635431, Consumer Id: 490267, Address Id: 9826472 => Updated with Vin: 1GNEC13ZX3J279508 ## Mail History Id: 31635341, Consumer Id: 470093, Address Id: 9822889 => Updated with Vin: 3D7KS28C95G762801 ## Mail History Id: 31635547, Consumer Id: 489754, Address Id: 3857726 => Updated with Vin: 1GNEC13V93J182992 ## Mail History Id: 31635437, Consumer Id: 489943, Address Id: 9826334 => Updated with Vin: 1G1YY22G415125307 ## Mail History Id: 31635561, Consumer Id: 489737, Address Id: 9826243 => Updated with Vin: 1GNES13H782147074 ## Mail History Id: 31635493, Consumer Id: 489757, Address Id: 9826249 => Updated with Vin: 1GNDT13S432187514 ## Mail History Id: 31635445, Consumer Id: 490309, Address Id: 2009116 => Updated with Vin: 1GNDT13S162354447 ## Mail History Id: 31634264, Consumer Id: 471097, Address Id: 9823442 => Updated with Vin: KL1TD666X8B019677 ## Mail History Id: 31635381, Consumer Id: 490323, Address Id: 9826497 => Updated with Vin: 1GNDU03E53D197877 ## Mail History Id: 31635497, Consumer Id: 490266, Address Id: 9126247 => Updated with Vin: 2GCEK19N941128901 ## Mail History Id: 31635297, Consumer Id: 470939, Address Id: 9823364 => Updated with Vin: 1ZVHT85H465215297 ## Mail History Id: 31635419, Consumer Id: 470938, Address Id: 9823363 => Updated with Vin: 1N6DD26T84C413532 ## Mail History Id: 31635521, Consumer Id: 471222, Address Id: 9823514 => Updated with Vin: SHSRD78874U236837 ## Mail History Id: 31635433, Consumer Id: 490386, Address Id: 9826525 => Updated with Vin: 2G1WH52K539303471 ## Mail History Id: 31635575, Consumer Id: 490378, Address Id: 9826521 => Updated with Vin: 3GNDA23D66S578489 ## Mail History Id: 31635523, Consumer Id: 490390, Address Id: 9826528 => Updated with Vin: KL1TD56626B649359 ## Mail History Id: 31635281, Consumer Id: 490366, Address Id: 9826516 => Updated with Vin: 1GNDS13S042178572 ## Mail History Id: 31635403, Consumer Id: 490389, Address Id: 9826527 => Updated with Vin: 2G1WF52E029126567 ## Mail History Id: 31634268, Consumer Id: 470956, Address Id: 9823371 => Updated with Vin: 1FMNU40LX4EC56341 ## Mail History Id: 31634258, Consumer Id: 471182, Address Id: 9823490 => Updated with Vin: 1D7HA16K05J642627 ## Mail History Id: 31635375, Consumer Id: 478015, Address Id: 1036721 => Updated with Vin: 1GNCT18W2XK211466 ## Total mail_history records updated with vin numbers: 37 out of 38 ============================================================ ====== Tracking Id: 2945 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-15 11:15:32') AND us2_order_type_id = 3 ## Order found: 2734 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2734 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3486 ## Mailing found: '13670' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635323, Consumer Id: 463401, Address Id: 746037 => Updated with Vin: 3GNEK13T73G284262 ## Mail History Id: 31635509, Consumer Id: 479637, Address Id: 8118694 => Updated with Vin: 2GCEK19T331256614 ## Mail History Id: 31635287, Consumer Id: 484208, Address Id: 830582 => Updated with Vin: 1GNFC13J87R114286 ## Mail History Id: 31634254, Consumer Id: 484992, Address Id: 9825317 => Updated with Vin: 1GKEK63U54J158162 ## Mail History Id: 31635339, Consumer Id: 470298, Address Id: 1207372 => Updated with Vin: 2G1WB58K089165239 ## Mail History Id: 31635479, Consumer Id: 489904, Address Id: 9826315 => Updated with Vin: 1G1YY26E275114016 ## Mail History Id: 31635469, Consumer Id: 489907, Address Id: 9826317 => Updated with Vin: 1G1YY32GXY5109273 ## Mail History Id: 31635385, Consumer Id: 489903, Address Id: 9826314 => Updated with Vin: 1GNEC13Z84J166156 ## Mail History Id: 31635377, Consumer Id: 470818, Address Id: 9823293 => Updated with Vin: 2C3LA63H96H290228 ## Mail History Id: 31635291, Consumer Id: 470822, Address Id: 9823296 => Updated with Vin: 2T2GA31U85C038583 ## Mail History Id: 31635261, Consumer Id: 470830, Address Id: 9823303 => Updated with Vin: 3MEFM08Z46R616132 ## Mail History Id: 31635265, Consumer Id: 489905, Address Id: 2536110 => Updated with Vin: 3GNEC12Z76G226286 ## Mail History Id: 31635429, Consumer Id: 489912, Address Id: 679191 => Updated with Vin: 2GTEC19T321417622 ## Mail History Id: 31635567, Consumer Id: 470837, Address Id: 9823309 => Updated with Vin: 2G1WU583989247540 ## Mail History Id: 31635267, Consumer Id: 475682, Address Id: 1557615 => Updated with Vin: 1GCEC14XX3Z268189 ## Total mail_history records updated with vin numbers: 15 out of 17 ============================================================ ====== Tracking Id: 2946 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-15 11:15:45') AND us2_order_type_id = 3 ## Order found: 2734 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2734 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3486 ## Mailing found: '13670' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635571, Consumer Id: 465970, Address Id: 9715392 => Updated with Vin: 1GNEK13T35R185232 ## Mail History Id: 31635465, Consumer Id: 466922, Address Id: 9821349 => Updated with Vin: 3GNFK16Z95G269687 ## Mail History Id: 31635361, Consumer Id: 471181, Address Id: 9821958 => Updated with Vin: 1G1JF52F247171209 ## Mail History Id: 31635415, Consumer Id: 490241, Address Id: 3856057 => Updated with Vin: 1GNDV33L96D185233 ## Mail History Id: 31635309, Consumer Id: 630196, Address Id: 2459202 => Updated with Vin: 2G1WX12K649335956 ## Mail History Id: 31635357, Consumer Id: 524292, Address Id: 934866 => Updated with Vin: 1GCJK33193F226043 ## Mail History Id: 31635525, Consumer Id: 552511, Address Id: 10590582 => Updated with Vin: 1GYEC63TX5R157151 ## Mail History Id: 31635367, Consumer Id: 584208, Address Id: 9821012 => Updated with Vin: 1FMYU60E62UB74328 ## Mail History Id: 31635565, Consumer Id: 621316, Address Id: 11763614 => Updated with Vin: 1G1AL18F487259869 ## Mail History Id: 31635573, Consumer Id: 630193, Address Id: 11770628 => Updated with Vin: 1GCJC39225E292312 ## Mail History Id: 31635471, Consumer Id: 630194, Address Id: 9603384 => Updated with Vin: 1GNFC16068R127204 ## Mail History Id: 31635423, Consumer Id: 629226, Address Id: 11769666 => Updated with Vin: 1G1AL55F167746553 ## Mail History Id: 31635455, Consumer Id: 630197, Address Id: 1342005 => Updated with Vin: 1GNEC13T11R125201 ## Mail History Id: 31635503, Consumer Id: 629573, Address Id: 11769953 => Updated with Vin: 1GCGC34J8YR140542 ## Mail History Id: 31634260, Consumer Id: 476021, Address Id: 9823671 => Updated with Vin: 1GCEC14X44Z194236 ## Total mail_history records updated with vin numbers: 15 out of 17 ============================================================ ====== Tracking Id: 2947 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-15 11:16:19') AND us2_order_type_id = 3 ## Order found: 2735 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2735 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3416 ## Mailing found: '13664' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634618, Consumer Id: 625711, Address Id: 11766098 => Updated with Vin: 1G6KS54Y42U139062 ## Mail History Id: 31634646, Consumer Id: 693037, Address Id: 1969351 => Updated with Vin: KNAFB121932775080 ## Mail History Id: 31634604, Consumer Id: 693113, Address Id: 11798271 => Updated with Vin: 1ZVFT82H975233470 ## Mail History Id: 31634640, Consumer Id: 693122, Address Id: 11798690 => Updated with Vin: 2G4WC532951325555 ## Mail History Id: 31634656, Consumer Id: 693104, Address Id: 11798681 => Updated with Vin: JTJHT00W243535587 ## Mail History Id: 31634666, Consumer Id: 693142, Address Id: 11798699 => Updated with Vin: 1G6DM577640111330 ## Mail History Id: 31634598, Consumer Id: 693144, Address Id: 10933992 => Updated with Vin: 1G6KD52Y4TU277201 ## Mail History Id: 31634582, Consumer Id: 685557, Address Id: 1962092 => Updated with Vin: 1G6KE57Y33U289247 ## Mail History Id: 31634620, Consumer Id: 681379, Address Id: 1968198 => Updated with Vin: W06VR52R7XR016661 ## Mail History Id: 31634544, Consumer Id: 688547, Address Id: 10933198 => Updated with Vin: 1GNDS13S432183112 ## Mail History Id: 31634576, Consumer Id: 686581, Address Id: 1960935 => Updated with Vin: 1G6DM577940108308 ## Mail History Id: 31634616, Consumer Id: 625887, Address Id: 1967654 => Updated with Vin: 1FMFU18505LA40875 ## Mail History Id: 31634638, Consumer Id: 685916, Address Id: 1969227 => Updated with Vin: 1G6KF5794YU344589 ## Total mail_history records updated with vin numbers: 13 out of 14 ============================================================ ====== Tracking Id: 2948 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-15 11:16:31') AND us2_order_type_id = 3 ## Order found: 2735 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2735 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3416 ## Mailing found: '13664' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634628, Consumer Id: 692977, Address Id: 11795140 => Updated with Vin: 1GKDS13SX22127414 ## Mail History Id: 31634612, Consumer Id: 693019, Address Id: 3761440 => Updated with Vin: 1GCHK29UX6E269987 ## Mail History Id: 31634664, Consumer Id: 688274, Address Id: 11796810 => Updated with Vin: 1G6KD54Y74U220585 ## Mail History Id: 31634560, Consumer Id: 692164, Address Id: 1958899 => Updated with Vin: 1G6KD54Y34U156089 ## Mail History Id: 31634636, Consumer Id: 692988, Address Id: 11798620 => Updated with Vin: 1G6KD52Y2TU277861 ## Mail History Id: 31634606, Consumer Id: 681560, Address Id: 1964786 => Updated with Vin: 5GRGN23U43H132533 ## Mail History Id: 31634668, Consumer Id: 693001, Address Id: 10858925 => Updated with Vin: 1G6KE54Y93U125912 ## Mail History Id: 31634610, Consumer Id: 686919, Address Id: 1965543 => Updated with Vin: 1G4HR54K53U186161 ## Mail History Id: 31634580, Consumer Id: 688138, Address Id: 11796768 => Updated with Vin: 1G6DP567550129926 ## Mail History Id: 31634660, Consumer Id: 689556, Address Id: 11797294 => Updated with Vin: 1G6KD54Y5YU348393 ## Total mail_history records updated with vin numbers: 10 out of 12 ============================================================ ====== Tracking Id: 2949 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-15 11:16:44') AND us2_order_type_id = 3 ## Order found: 2736 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2736 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3491 ## Mailing found: '13671' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634828, Consumer Id: 809725, Address Id: 1294509 => Updated with Vin: 3GNDA13DX6S585035 ## Mail History Id: 31634928, Consumer Id: 837828, Address Id: 11893847 => Updated with Vin: 1G1ND52M2X6223017 ## Mail History Id: 31634868, Consumer Id: 812921, Address Id: 11887512 => Updated with Vin: 3GCEK13M27G502177 ## Mail History Id: 31634888, Consumer Id: 839576, Address Id: 11895340 => Updated with Vin: 3GNDA13D97S640351 ## Mail History Id: 31634840, Consumer Id: 815123, Address Id: 11889729 => Updated with Vin: 2G1WT58K089230796 ## Mail History Id: 31634978, Consumer Id: 839978, Address Id: 11895602 => Updated with Vin: 1GCHK23224F190571 ## Mail History Id: 31634842, Consumer Id: 839965, Address Id: 11895601 => Updated with Vin: 3GNEK12T54G184289 ## Mail History Id: 31634898, Consumer Id: 816093, Address Id: 11891267 => Updated with Vin: 1HGCG3250WA015556 ## Mail History Id: 31634894, Consumer Id: 838075, Address Id: 11894544 => Updated with Vin: 1GCCS14WXYK208544 ## Mail History Id: 31634998, Consumer Id: 836455, Address Id: 11893554 => Updated with Vin: 1G1AL52F357568311 ## Total mail_history records updated with vin numbers: 10 out of 12 ============================================================ ====== Tracking Id: 2950 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-15 11:16:55') AND us2_order_type_id = 3 ## Order found: 2735 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2735 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2951 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-15 11:16:55') AND us2_order_type_id = 3 ## Order found: 2737 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2737 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3525 ## Mailing found: '13673' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634444, Consumer Id: 520063, Address Id: 9849368 => Updated with Vin: KMHWF35V41A413237 ## Mail History Id: 31634404, Consumer Id: 523447, Address Id: 9854114 => Updated with Vin: 5NPEU46F06H001738 ## Mail History Id: 31634388, Consumer Id: 523750, Address Id: 9854338 => Updated with Vin: KMHEU46C36A105956 ## Mail History Id: 31634470, Consumer Id: 523680, Address Id: 9854282 => Updated with Vin: KMHET46C76A108331 ## Mail History Id: 31634442, Consumer Id: 522336, Address Id: 9853207 => Updated with Vin: KMHWF25S05A131439 ## Mail History Id: 31634352, Consumer Id: 524487, Address Id: 9854933 => Updated with Vin: KM8SC13D86U049108 ## Mail History Id: 31634380, Consumer Id: 489349, Address Id: 9853164 => Updated with Vin: 5NMSH13E38H145348 ## Mail History Id: 31634474, Consumer Id: 629105, Address Id: 11769677 => Updated with Vin: 5NPEU46F19H425031 ## Mail History Id: 31634386, Consumer Id: 525209, Address Id: 9855462 => Updated with Vin: KMHFC46F76A059002 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 2952 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-15 11:16:59') AND us2_order_type_id = 3 ## Order found: 2737 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2737 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3525 ## Mailing found: '13702' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631746, Consumer Id: 520221, Address Id: 9849486 => Updated with Vin: KMHFU45E42A176889 ## Mail History Id: 31631662, Consumer Id: 486970, Address Id: 9850654 => Updated with Vin: 5NPEU46F36H122778 ## Mail History Id: 31631682, Consumer Id: 487375, Address Id: 9851097 => Updated with Vin: 5NPEU46F77H178899 ## Mail History Id: 31631676, Consumer Id: 521811, Address Id: 2419497 => Updated with Vin: KM8SB12B14U760570 ## Mail History Id: 31631684, Consumer Id: 487012, Address Id: 9850686 => Updated with Vin: KMHDN46D66U308243 ## Mail History Id: 31631710, Consumer Id: 487724, Address Id: 9851490 => Updated with Vin: 5NPET46C16H171325 ## Mail History Id: 31631766, Consumer Id: 1231252, Address Id: 15417002 => Updated with Vin: KMHDN46D96U268109 ## Mail History Id: 31631702, Consumer Id: 487457, Address Id: 9851165 => Updated with Vin: KMHFC46F07A158486 ## Mail History Id: 31631716, Consumer Id: 526188, Address Id: 9856172 => Updated with Vin: 5NPEU46F37H209257 ## Mail History Id: 31631726, Consumer Id: 487596, Address Id: 9851387 => Updated with Vin: 5NPET46C67H249194 ## Mail History Id: 31631738, Consumer Id: 488648, Address Id: 9852426 => Updated with Vin: KMHDU46D37U219914 ## Mail History Id: 31631660, Consumer Id: 520134, Address Id: 9849435 => Updated with Vin: KMHHN65F13U044313 ## Mail History Id: 31631696, Consumer Id: 489162, Address Id: 9853030 => Updated with Vin: 5NMSG13D37H066884 ## Mail History Id: 31631718, Consumer Id: 488371, Address Id: 9852200 => Updated with Vin: 5NPET46C17H280143 ## Total mail_history records updated with vin numbers: 14 out of 14 ============================================================ ====== Tracking Id: 2953 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-15 11:17:08') AND us2_order_type_id = 3 ## Order found: 2736 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2736 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3491 ## Mailing found: '13671' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634950, Consumer Id: 837619, Address Id: 11894290 => Updated with Vin: 1G1AP11P267712312 ## Mail History Id: 31634968, Consumer Id: 810691, Address Id: 11885243 => Updated with Vin: 1GNCS13X94K126879 ## Mail History Id: 31634930, Consumer Id: 837577, Address Id: 11894280 => Updated with Vin: 1GNEC13V54R271915 ## Mail History Id: 31634932, Consumer Id: 839146, Address Id: 11880042 => Updated with Vin: 1GCCS136368194725 ## Mail History Id: 31634920, Consumer Id: 814086, Address Id: 11888787 => Updated with Vin: KL1TD66627B764650 ## Mail History Id: 31634958, Consumer Id: 815018, Address Id: 11889662 => Updated with Vin: 1G1AL55F177160386 ## Mail History Id: 31634882, Consumer Id: 839848, Address Id: 11895488 => Updated with Vin: KL1TD66607B764193 ## Mail History Id: 31635022, Consumer Id: 815864, Address Id: 11890554 => Updated with Vin: JS3TY92V064102453 ## Mail History Id: 31634946, Consumer Id: 837112, Address Id: 11880757 => Updated with Vin: 1GNDT13S852177930 ## Mail History Id: 31634956, Consumer Id: 826764, Address Id: 11881497 => Updated with Vin: 1GCJK39U81E254016 ## Total mail_history records updated with vin numbers: 10 out of 14 ============================================================ ====== Tracking Id: 2954 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-15 11:17:13') AND us2_order_type_id = 3 ## Order found: 2737 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2737 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3525 ## Mailing found: '13673' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634428, Consumer Id: 523075, Address Id: 9853833 => Updated with Vin: KMHWF35H54A967384 ## Mail History Id: 31634374, Consumer Id: 489342, Address Id: 9853157 => Updated with Vin: KMHFC46F07A208805 ## Mail History Id: 31634406, Consumer Id: 488807, Address Id: 9681832 => Updated with Vin: KM8NU13C38U031975 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 2955 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-15 11:17:20') AND us2_order_type_id = 3 ## Order found: 2736 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2736 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2956 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-15 11:17:25') AND us2_order_type_id = 3 ## Order found: 2737 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2737 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3525 ## Mailing found: '13673' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634420, Consumer Id: 524115, Address Id: 9854635 => Updated with Vin: 5NPEU46F86H019100 ## Mail History Id: 31634412, Consumer Id: 525725, Address Id: 9685378 => Updated with Vin: 5NPEU46F46H127147 ## Mail History Id: 31634368, Consumer Id: 525185, Address Id: 9853022 => Updated with Vin: KMHFC46FX6A047555 ## Mail History Id: 31634366, Consumer Id: 489024, Address Id: 9852828 => Updated with Vin: 5NPET46C77H244330 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 2957 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-15 11:18:12') AND us2_order_type_id = 3 ## Order found: 2738 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2738 AND product_id = 106 ## Job Group Found: '587' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('587') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508005' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508005') AND customer_id = 3705 ## Mailing found: '13691' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634213, Consumer Id: 962827, Address Id: 14835644 => Updated with Vin: 1GNEC13T65R169636 ## Mail History Id: 31634214, Consumer Id: 968504, Address Id: 10280264 => Updated with Vin: 2GCEC13CX71544254 ## Mail History Id: 31634215, Consumer Id: 970186, Address Id: 14841237 => Updated with Vin: 1G2NE52E05M137781 ## Mail History Id: 31634216, Consumer Id: 970832, Address Id: 14841734 => Updated with Vin: 1GTEC14X98Z158614 ## Mail History Id: 31634217, Consumer Id: 964349, Address Id: 14836864 => Updated with Vin: 1G1ND52F25M158812 ## Mail History Id: 31634218, Consumer Id: 977534, Address Id: 11386507 => Updated with Vin: 3GNEC16Z33G212438 ## Mail History Id: 31634219, Consumer Id: 979843, Address Id: 14846323 => Updated with Vin: 3GNFK16Z02G344515 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 2958 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-15 11:18:24') AND us2_order_type_id = 3 ## Order found: 2738 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2738 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2959 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-15 11:18:26') AND us2_order_type_id = 3 ## Order found: 2733 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2733 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2960 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-15 11:18:28') AND us2_order_type_id = 3 ## Order found: 2738 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2738 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2961 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-15 11:18:34') AND us2_order_type_id = 3 ## Order found: 2739 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2739 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3721 ## Mailing found: '13705' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631594, Consumer Id: 1017134, Address Id: 6662002 => Updated with Vin: 4F2CZ96148KM03860 ## Mail History Id: 31631592, Consumer Id: 1016509, Address Id: 6661643 => Updated with Vin: JM3TB28Y770114723 ## Mail History Id: 31631614, Consumer Id: 1012256, Address Id: 6663405 => Updated with Vin: JM1NB353450412756 ## Mail History Id: 31631602, Consumer Id: 1009662, Address Id: 14931551 => Updated with Vin: JM1BK343381842975 ## Mail History Id: 31631580, Consumer Id: 1010190, Address Id: 14931856 => Updated with Vin: JM1BK32F681865387 ## Mail History Id: 31631580, Consumer Id: 1010190, Address Id: 14931856 => Updated with Vin: JM1BK32F681865387 ## Mail History Id: 31631666, Consumer Id: 1010194, Address Id: 9849974 => Updated with Vin: JM1BK32F881118924 ## Mail History Id: 31631640, Consumer Id: 1010220, Address Id: 14931879 => Updated with Vin: JM1BK32F981113876 ## Mail History Id: 31631588, Consumer Id: 1015140, Address Id: 14932865 => Updated with Vin: 1YVHP80C675M01115 ## Total mail_history records updated with vin numbers: 9 out of 11 ============================================================ ====== Tracking Id: 2962 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-15 11:18:40') AND us2_order_type_id = 3 ## Order found: 2733 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2733 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3808 ## Mailing found: '13678' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634786, Consumer Id: 1266246, Address Id: 15437767 => Updated with Vin: 2G1WF52E359106415 ## Mail History Id: 31634784, Consumer Id: 1266331, Address Id: 15437838 => Updated with Vin: 3GNEC12027G170292 ## Mail History Id: 31634744, Consumer Id: 1266156, Address Id: 15437699 => Updated with Vin: 3GNDA23D27S522406 ## Mail History Id: 31634722, Consumer Id: 1266144, Address Id: 15437688 => Updated with Vin: 3GNEC16R6XG128281 ## Mail History Id: 31634768, Consumer Id: 1266252, Address Id: 15437772 => Updated with Vin: 1GCEC14W01Z151886 ## Mail History Id: 31634742, Consumer Id: 1266163, Address Id: 15437706 => Updated with Vin: 1GCDC14Z6PZ223172 ## Mail History Id: 31634770, Consumer Id: 1266146, Address Id: 15437690 => Updated with Vin: 3GNEC16Z23G133942 ## Mail History Id: 31634724, Consumer Id: 1266334, Address Id: 15437840 => Updated with Vin: 2G1WF52E429289075 ## Mail History Id: 31634720, Consumer Id: 1266152, Address Id: 15437696 => Updated with Vin: 1GCEC19T63Z334694 ## Mail History Id: 31634730, Consumer Id: 1266473, Address Id: 15437949 => Updated with Vin: 3GNEC16T11G151714 ## Mail History Id: 31634774, Consumer Id: 1266162, Address Id: 15437705 => Updated with Vin: 1GNEC16Z13J270479 ## Mail History Id: 31634748, Consumer Id: 1266481, Address Id: 15437957 => Updated with Vin: 1GCEC14T25Z129903 ## Total mail_history records updated with vin numbers: 12 out of 15 ============================================================ ====== Tracking Id: 2963 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-15 11:18:52') AND us2_order_type_id = 3 ## Order found: 2733 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2733 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3808 ## Mailing found: '13678' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634762, Consumer Id: 1171419, Address Id: 15029607 => Updated with Vin: 1GNFC16J27R234547 ## Mail History Id: 31634792, Consumer Id: 1171706, Address Id: 15029853 => Updated with Vin: 1G1ZT62805F190108 ## Mail History Id: 31634696, Consumer Id: 1171574, Address Id: 15029744 => Updated with Vin: 1GNET16S356117613 ## Mail History Id: 31634716, Consumer Id: 1171217, Address Id: 14813047 => Updated with Vin: 1GNFK13087R327295 ## Mail History Id: 31634802, Consumer Id: 1171420, Address Id: 15029608 => Updated with Vin: 2GCEC19C871715672 ## Mail History Id: 31634688, Consumer Id: 1171746, Address Id: 15029890 => Updated with Vin: 3GNDA13D16S539884 ## Mail History Id: 31634816, Consumer Id: 1171609, Address Id: 15029774 => Updated with Vin: 2CNBJ13C9X6919395 ## Mail History Id: 31634794, Consumer Id: 1171417, Address Id: 15029605 => Updated with Vin: 1G3GR64H914232730 ## Mail History Id: 31634682, Consumer Id: 1171581, Address Id: 15029749 => Updated with Vin: 1G1NE52M4W6212645 ## Mail History Id: 31634812, Consumer Id: 1171699, Address Id: 15029849 => Updated with Vin: 1GNEC13T05R252527 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 2964 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-15 11:19:04') AND us2_order_type_id = 3 ## Order found: 2733 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2733 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3808 ## Mailing found: '13678' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634818, Consumer Id: 1286893, Address Id: 15464262 => Updated with Vin: 1GCCS13E888117228 ## Mail History Id: 31634692, Consumer Id: 1285630, Address Id: 15463365 => Updated with Vin: 1GMDX03EX4D188654 ## Mail History Id: 31634806, Consumer Id: 1287328, Address Id: 15464614 => Updated with Vin: 1GKES16S936230821 ## Mail History Id: 31634710, Consumer Id: 1287327, Address Id: 15464613 => Updated with Vin: 2GCEC19T351243524 ## Mail History Id: 31634698, Consumer Id: 1284655, Address Id: 15459627 => Updated with Vin: 1G3GR64H414143969 ## Mail History Id: 31634814, Consumer Id: 1282571, Address Id: 2378331 => Updated with Vin: 1G1ZT52835F266155 ## Mail History Id: 31634754, Consumer Id: 1285631, Address Id: 15463366 => Updated with Vin: 2GCEK13T561218623 ## Mail History Id: 31634772, Consumer Id: 1285730, Address Id: 15463440 => Updated with Vin: 1GNEK13Z83R164216 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 2965 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-15 11:45:11') AND us2_order_type_id = 3 ## Order found: 2740 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2740 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3357 ## Mailing found: '13663' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635558, Consumer Id: 198523, Address Id: 398266 => Updated with Vin: 5LMFU28R93LJ31744 ## Mail History Id: 31635434, Consumer Id: 188109, Address Id: 399136 => Updated with Vin: JM1BK323141118554 ## Mail History Id: 31635492, Consumer Id: 198321, Address Id: 407683 => Updated with Vin: JM1BJ227630642691 ## Mail History Id: 31635550, Consumer Id: 198624, Address Id: 407719 => Updated with Vin: 1FMFU18L52LA10202 ## Mail History Id: 31635482, Consumer Id: 198531, Address Id: 407710 => Updated with Vin: JM3LW28GX10184624 ## Mail History Id: 31635532, Consumer Id: 198166, Address Id: 407671 => Updated with Vin: 1FAFP34N07W347631 ## Mail History Id: 31635518, Consumer Id: 198492, Address Id: 407704 => Updated with Vin: 1FTNX20F81EC11405 ## Mail History Id: 31635400, Consumer Id: 188283, Address Id: 398693 => Updated with Vin: 1ZVFT80N355149487 ## Mail History Id: 31635562, Consumer Id: 188281, Address Id: 397310 => Updated with Vin: JM1FE173250143105 ## Mail History Id: 31635520, Consumer Id: 197878, Address Id: 407341 => Updated with Vin: 1FAHP38363W180817 ## Mail History Id: 31635372, Consumer Id: 198564, Address Id: 407714 => Updated with Vin: WVWKG61J64D078781 ## Mail History Id: 31635344, Consumer Id: 198513, Address Id: 407708 => Updated with Vin: 1FMPU16595LA42082 ## Mail History Id: 31635570, Consumer Id: 190004, Address Id: 400398 => Updated with Vin: 1FMZU67K45UA00357 ## Mail History Id: 31635300, Consumer Id: 151808, Address Id: 394183 => Updated with Vin: 1FAFP34N65W285410 ## Mail History Id: 31635364, Consumer Id: 198746, Address Id: 407731 => Updated with Vin: 1FMZK01146GA54552 ## Mail History Id: 31635526, Consumer Id: 198782, Address Id: 407736 => Updated with Vin: 1FMEU73EX6UB74553 ## Mail History Id: 31635346, Consumer Id: 198640, Address Id: 407722 => Updated with Vin: 1FMEU63E56ZA17669 ## Mail History Id: 31635498, Consumer Id: 153893, Address Id: 396094 => Updated with Vin: 1ZVHT82HX75251484 ## Mail History Id: 31635500, Consumer Id: 155050, Address Id: 397139 => Updated with Vin: 1ZVFT80N075341887 ## Mail History Id: 31635466, Consumer Id: 155470, Address Id: 397520 => Updated with Vin: 1FAHP271X7G142341 ## Mail History Id: 31635412, Consumer Id: 154514, Address Id: 395543 => Updated with Vin: 1FMEU64E17UB10637 ## Mail History Id: 31635528, Consumer Id: 155829, Address Id: 397861 => Updated with Vin: 4M2EU47E77UJ09488 ## Mail History Id: 31635510, Consumer Id: 193632, Address Id: 403805 => Updated with Vin: JM1NB353510216478 ## Mail History Id: 31635470, Consumer Id: 154739, Address Id: 396871 => Updated with Vin: 1FTSW31R48EA73294 ## Mail History Id: 31635310, Consumer Id: 155468, Address Id: 397518 => Updated with Vin: 1FTYR10D88PA18704 ## Mail History Id: 31635446, Consumer Id: 198114, Address Id: 401092 => Updated with Vin: 1FTZR15X3YPA07620 ## Mail History Id: 31635428, Consumer Id: 198278, Address Id: 406312 => Updated with Vin: JF1SF6350YH700119 ## Mail History Id: 31635536, Consumer Id: 155758, Address Id: 397793 => Updated with Vin: 1FMRE11L3YHB38437 ## Total mail_history records updated with vin numbers: 28 out of 31 ============================================================ ====== Tracking Id: 2966 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-15 11:45:14') AND us2_order_type_id = 3 ## Order found: 2739 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2739 AND product_id = 2147 ## Job Group Found: '584' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('584') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508002') AND customer_id = 3721 ## Mailing found: '13683' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31633925, Consumer Id: 1015611, Address Id: 1637459 => Updated with Vin: 1YVHP80C875M15680 ## Mail History Id: 31633927, Consumer Id: 1012313, Address Id: 6658899 => Updated with Vin: JM3LW28A540504920 ## Mail History Id: 31633929, Consumer Id: 1008834, Address Id: 6661864 => Updated with Vin: JM3LW28J930355748 ## Mail History Id: 31633931, Consumer Id: 1016781, Address Id: 6662480 => Updated with Vin: 1YVHP80D675M59489 ## Mail History Id: 31633933, Consumer Id: 1010704, Address Id: 6661929 => Updated with Vin: 4F2CZ04155KM06597 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2967 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-15 11:45:23') AND us2_order_type_id = 3 ## Order found: 2740 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2740 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2968 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-15 11:45:27') AND us2_order_type_id = 3 ## Order found: 2740 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2740 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3357 ## Mailing found: '13663' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635496, Consumer Id: 199059, Address Id: 407399 => Updated with Vin: JM1BJ246931196342 ## Mail History Id: 31635306, Consumer Id: 190208, Address Id: 402303 => Updated with Vin: 3FAHP30504R115124 ## Mail History Id: 31635394, Consumer Id: 155635, Address Id: 397676 => Updated with Vin: JM1FE173570209276 ## Mail History Id: 31635568, Consumer Id: 155634, Address Id: 397675 => Updated with Vin: 1FTPW12507KC62479 ## Mail History Id: 31635448, Consumer Id: 155630, Address Id: 397671 => Updated with Vin: 1FAFP34N67W111985 ## Mail History Id: 31635324, Consumer Id: 189424, Address Id: 399526 => Updated with Vin: 1FTPW14534KD12235 ## Mail History Id: 31635414, Consumer Id: 155632, Address Id: 397673 => Updated with Vin: 1FAHP35N88W103332 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 2969 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-15 11:45:27') AND us2_order_type_id = 3 ## Order found: 2739 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2739 AND product_id = 2150 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3721 ## Mailing found: '13705' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631644, Consumer Id: 1007504, Address Id: 10588978 => Updated with Vin: 4F4YR16V43TM01997 ## Mail History Id: 31631622, Consumer Id: 1009809, Address Id: 14931690 => Updated with Vin: 1FAHP25145G192524 ## Mail History Id: 31631652, Consumer Id: 1009815, Address Id: 14931694 => Updated with Vin: JM1BK12F781830118 ## Mail History Id: 31631564, Consumer Id: 1009798, Address Id: 1167998 => Updated with Vin: JM1BK12F671651616 ## Mail History Id: 31631560, Consumer Id: 1017508, Address Id: 6658047 => Updated with Vin: JM1FE17N050147297 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2970 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-15 12:18:09') AND us2_order_type_id = 3 ## Order found: 2741 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2741 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2971 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-15 12:18:12') AND us2_order_type_id = 3 ## Order found: 2741 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2741 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2972 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-15 12:18:15') AND us2_order_type_id = 3 ## Order found: 2741 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2741 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3427 ## Mailing found: '13666' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31634753, Consumer Id: 519884, Address Id: 9849206 => Updated with Vin: 5FNRL38855B011868 ## Mail History Id: 31634775, Consumer Id: 506123, Address Id: 328149 => Updated with Vin: 1HGCM66555A032842 ## Mail History Id: 31634803, Consumer Id: 508951, Address Id: 9842674 => Updated with Vin: JHMES96665S008601 ## Mail History Id: 31634811, Consumer Id: 506169, Address Id: 9840878 => Updated with Vin: 2HKRL18741H606878 ## Mail History Id: 31634793, Consumer Id: 509658, Address Id: 9843111 => Updated with Vin: 1HGES16585L024059 ## Mail History Id: 31634757, Consumer Id: 509621, Address Id: 9843088 => Updated with Vin: 5FNYF18635B017352 ## Mail History Id: 31634813, Consumer Id: 499417, Address Id: 9833435 => Updated with Vin: 5FNRL18963B003935 ## Mail History Id: 31634799, Consumer Id: 495978, Address Id: 8540073 => Updated with Vin: 2HKYF18543H560201 ## Mail History Id: 31634805, Consumer Id: 508292, Address Id: 9842254 => Updated with Vin: 5FNRL382X5B110892 ## Mail History Id: 31634789, Consumer Id: 500981, Address Id: 2206772 => Updated with Vin: 2HGES26883H551867 ## Mail History Id: 31634785, Consumer Id: 515747, Address Id: 329899 => Updated with Vin: JHMFA36286S018825 ## Mail History Id: 31634783, Consumer Id: 504434, Address Id: 9839797 => Updated with Vin: 2HGES16535H535790 ## Mail History Id: 31634755, Consumer Id: 495651, Address Id: 9830432 => Updated with Vin: JHMES96673S029843 ## Mail History Id: 31634767, Consumer Id: 497327, Address Id: 326262 => Updated with Vin: 5FNRL18922B046523 ## Mail History Id: 31634795, Consumer Id: 496304, Address Id: 9830892 => Updated with Vin: 1HGCG669XYA067584 ## Mail History Id: 31634781, Consumer Id: 493048, Address Id: 329020 => Updated with Vin: 5FNRL18093B003140 ## Mail History Id: 31634779, Consumer Id: 471460, Address Id: 328745 => Updated with Vin: 5FNYF18566B002384 ## Mail History Id: 31634763, Consumer Id: 514084, Address Id: 325386 => Updated with Vin: 1HGCG56451A029216 ## Mail History Id: 31634815, Consumer Id: 472311, Address Id: 9833813 => Updated with Vin: 1HGCM82743A013408 ## Mail History Id: 31634797, Consumer Id: 482151, Address Id: 9836926 => Updated with Vin: 5J6RE48757L010835 ## Mail History Id: 31634787, Consumer Id: 482389, Address Id: 9837108 => Updated with Vin: 1HGCM55427A224385 ## Mail History Id: 31634791, Consumer Id: 483782, Address Id: 9838295 => Updated with Vin: 5FNYF18268B050122 ## Mail History Id: 31634777, Consumer Id: 483783, Address Id: 9838296 => Updated with Vin: 5FNRL38678B045393 ## Mail History Id: 31634761, Consumer Id: 483787, Address Id: 9838299 => Updated with Vin: 5J6RE38358L001366 ## Mail History Id: 31634809, Consumer Id: 483788, Address Id: 9838300 => Updated with Vin: 1HGCP26448A048218 ## Mail History Id: 31634771, Consumer Id: 483790, Address Id: 9838302 => Updated with Vin: 1HGFA165X8L070410 ## Mail History Id: 31634807, Consumer Id: 483791, Address Id: 9838303 => Updated with Vin: 5J6RE48588L007993 ## Mail History Id: 31634769, Consumer Id: 483793, Address Id: 9838305 => Updated with Vin: WMWRE33516TL22443 ## Mail History Id: 31634759, Consumer Id: 483795, Address Id: 9838307 => Updated with Vin: 1HGFA16528L070806 ## Total mail_history records updated with vin numbers: 29 out of 32 ============================================================ ====== Tracking Id: 2973 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-15 12:18:22') AND us2_order_type_id = 3 ## Order found: 2742 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2742 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3471 ## Mailing found: '13699' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632426, Consumer Id: 822155, Address Id: 10214011 => Updated with Vin: 1G6CD53B3N4261976 ## Mail History Id: 31632482, Consumer Id: 801435, Address Id: 11871560 => Updated with Vin: 1G6KF5495XU720901 ## Mail History Id: 31632442, Consumer Id: 798127, Address Id: 7416916 => Updated with Vin: 1G6ET1297SU616923 ## Mail History Id: 31632432, Consumer Id: 807109, Address Id: 7416644 => Updated with Vin: 1G6DA67V280188327 ## Mail History Id: 31632452, Consumer Id: 797788, Address Id: 10216095 => Updated with Vin: 1G6DM57N230165155 ## Mail History Id: 31632470, Consumer Id: 801646, Address Id: 10219147 => Updated with Vin: 1GYEK13R5YR114867 ## Mail History Id: 31632458, Consumer Id: 803262, Address Id: 10216419 => Updated with Vin: 1G6KD54Y3VU236400 ## Mail History Id: 31632462, Consumer Id: 805435, Address Id: 10216533 => Updated with Vin: 1G3NG52M2W6324782 ## Mail History Id: 31632488, Consumer Id: 817393, Address Id: 11877665 => Updated with Vin: 1G6KD57Y45U230990 ## Mail History Id: 31632464, Consumer Id: 817600, Address Id: 11877768 => Updated with Vin: 1G6KD52B6SU289439 ## Mail History Id: 31632080, Consumer Id: 797879, Address Id: 11869615 => Updated with Vin: 1G6KD54Y82U105880 ## Mail History Id: 31632408, Consumer Id: 801727, Address Id: 7877963 => Updated with Vin: 1G6KD54Y42U104077 ## Mail History Id: 31632460, Consumer Id: 800233, Address Id: 10216494 => Updated with Vin: 1GYEK63N53R114175 ## Mail History Id: 31632446, Consumer Id: 799715, Address Id: 10215330 => Updated with Vin: 1G6KD54YX3U140857 ## Mail History Id: 31632428, Consumer Id: 800678, Address Id: 7416490 => Updated with Vin: 1G6KE54Y12U103661 ## Mail History Id: 31632468, Consumer Id: 818123, Address Id: 10217902 => Updated with Vin: 1G6DP577660114240 ## Mail History Id: 31631534, Consumer Id: 799749, Address Id: 11870519 => Updated with Vin: 1G6KS54Y61U179187 ## Mail History Id: 31632418, Consumer Id: 772951, Address Id: 11874189 => Updated with Vin: 1GYFK63847R429814 ## Mail History Id: 31632424, Consumer Id: 820988, Address Id: 7415675 => Updated with Vin: 1G6DC67A660196872 ## Mail History Id: 31632420, Consumer Id: 774314, Address Id: 10212611 => Updated with Vin: 1G6KY5491XU920457 ## Mail History Id: 31632466, Consumer Id: 823415, Address Id: 11878904 => Updated with Vin: 3N1CB51DX6L579874 ## Mail History Id: 31632476, Consumer Id: 807103, Address Id: 11876717 => Updated with Vin: 1GYEK63N16R109785 ## Mail History Id: 31632476, Consumer Id: 807103, Address Id: 11876717 => Updated with Vin: 1GYEK63N16R109785 ## Mail History Id: 31632416, Consumer Id: 807105, Address Id: 11876210 => Updated with Vin: 1GYEE63AX50170382 ## Mail History Id: 31632414, Consumer Id: 823466, Address Id: 11876203 => Updated with Vin: 1GYEK63N24R225798 ## Mail History Id: 31632422, Consumer Id: 760312, Address Id: 11850987 => Updated with Vin: 1G6DC67A760171432 ## Mail History Id: 31632422, Consumer Id: 760312, Address Id: 11850987 => Updated with Vin: 1G6DC67A760171432 ## Mail History Id: 31632082, Consumer Id: 759644, Address Id: 11850931 => Updated with Vin: 1G6DT57V080188900 ## Total mail_history records updated with vin numbers: 28 out of 34 ============================================================ ====== Tracking Id: 2974 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-15 12:18:37') AND us2_order_type_id = 3 ## Order found: 2742 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2742 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3471 ## Mailing found: '13669' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635134, Consumer Id: 803065, Address Id: 6528599 => Updated with Vin: 1G3WS52H5XF322094 ## Mail History Id: 31635164, Consumer Id: 798843, Address Id: 11870065 => Updated with Vin: 1G6KD54Y3XU767583 ## Mail History Id: 31635124, Consumer Id: 817207, Address Id: 7878439 => Updated with Vin: 3GYEK62N95G268943 ## Mail History Id: 31635148, Consumer Id: 823027, Address Id: 11876358 => Updated with Vin: 1G6DP577870113995 ## Mail History Id: 31635170, Consumer Id: 804301, Address Id: 10219155 => Updated with Vin: 1GYEK63N84R209119 ## Mail History Id: 31635166, Consumer Id: 817859, Address Id: 10218387 => Updated with Vin: 1GYEK63N25R231747 ## Mail History Id: 31635140, Consumer Id: 822390, Address Id: 7416747 => Updated with Vin: 1G6KD57Y46U105800 ## Mail History Id: 31635176, Consumer Id: 823171, Address Id: 11878837 => Updated with Vin: WDBJF70H4XA779911 ## Mail History Id: 31635116, Consumer Id: 823362, Address Id: 11876816 => Updated with Vin: 1GYFK63827R165721 ## Mail History Id: 31635172, Consumer Id: 806928, Address Id: 11876868 => Updated with Vin: 1J8HR58P27C562359 ## Mail History Id: 31635144, Consumer Id: 806923, Address Id: 10561183 => Updated with Vin: 1G6DM57N830170294 ## Total mail_history records updated with vin numbers: 11 out of 11 ============================================================ ====== Tracking Id: 2975 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-15 12:18:40') AND us2_order_type_id = 3 ## Order found: 2743 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2743 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3451 ## Mailing found: '13697' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31632528, Consumer Id: 612043, Address Id: 11757900 => Updated with Vin: 1G6KE57Y71U250481 ## Mail History Id: 31632502, Consumer Id: 621625, Address Id: 836731 => Updated with Vin: 1G6KD54Y72U205503 ## Mail History Id: 31632498, Consumer Id: 614758, Address Id: 11757536 => Updated with Vin: 1G6EL12Y4YU131557 ## Mail History Id: 31632520, Consumer Id: 611379, Address Id: 4550768 => Updated with Vin: 1G6KD54Y95U130307 ## Mail History Id: 31632544, Consumer Id: 618400, Address Id: 11760081 => Updated with Vin: 1G6KF57944U206819 ## Mail History Id: 31632514, Consumer Id: 622903, Address Id: 835693 => Updated with Vin: 1G6KD54Y34U109581 ## Mail History Id: 31632524, Consumer Id: 626535, Address Id: 839104 => Updated with Vin: 3GYEK62N65G123875 ## Mail History Id: 31632506, Consumer Id: 624766, Address Id: 11763423 => Updated with Vin: 1GYEC63N46R100351 ## Mail History Id: 31632504, Consumer Id: 625050, Address Id: 11763615 => Updated with Vin: 1G6KD52Y0TU294982 ## Mail History Id: 31632492, Consumer Id: 624193, Address Id: 11763115 => Updated with Vin: 1GYEK63N96R121571 ## Mail History Id: 31632500, Consumer Id: 616338, Address Id: 11758504 => Updated with Vin: 1G6KY5492YU168849 ## Mail History Id: 31632522, Consumer Id: 619496, Address Id: 11761229 => Updated with Vin: 1G6KD57Y57U175694 ## Mail History Id: 31632538, Consumer Id: 619500, Address Id: 11761232 => Updated with Vin: 1C3EL55R65N595923 ## Mail History Id: 31632486, Consumer Id: 938995, Address Id: 11960923 => Updated with Vin: 1G6KD52Y7TU281484 ## Total mail_history records updated with vin numbers: 14 out of 30 ============================================================ ====== Tracking Id: 2976 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-15 14:15:21') AND us2_order_type_id = 3 ## Order found: 2729 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2729 AND product_id = 143 ## Job Group Found: '583' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('583') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508001') AND customer_id = 3418 ## Mailing found: '13696' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31631972, Consumer Id: 629271, Address Id: 8877568 => Updated with Vin: 1GYEE637760219530 ## Mail History Id: 31631900, Consumer Id: 640956, Address Id: 11776674 => Updated with Vin: 1G6DW677060178895 ## Mail History Id: 31631898, Consumer Id: 629278, Address Id: 11769719 => Updated with Vin: 1G6KY54942U105467 ## Mail History Id: 31631920, Consumer Id: 629264, Address Id: 11769711 => Updated with Vin: 1GYEE637660216277 ## Mail History Id: 31631894, Consumer Id: 629267, Address Id: 11769713 => Updated with Vin: 1G6DW677X70128359 ## Mail History Id: 31631880, Consumer Id: 640960, Address Id: 11776677 => Updated with Vin: 1MELM5OU2RA616855 ## Mail History Id: 31631890, Consumer Id: 629286, Address Id: 10933003 => Updated with Vin: 1G6DW677470123948 ## Mail History Id: 31631846, Consumer Id: 629285, Address Id: 11769724 => Updated with Vin: 1G6DP577170190952 ## Mail History Id: 31631782, Consumer Id: 629279, Address Id: 11769720 => Updated with Vin: 1G6DP577670112473 ## Mail History Id: 31631788, Consumer Id: 629138, Address Id: 11769703 => Updated with Vin: 1G6DW677950185214 ## Mail History Id: 31631976, Consumer Id: 629137, Address Id: 11769702 => Updated with Vin: 1GYEE63A060157318 ## Mail History Id: 31631918, Consumer Id: 629287, Address Id: 11769725 => Updated with Vin: 1G6KD54Y62U192081 ## Mail History Id: 31631922, Consumer Id: 610184, Address Id: 11754937 => Updated with Vin: 1G6KD57Y18U123402 ## Mail History Id: 31631922, Consumer Id: 610184, Address Id: 11754937 => Updated with Vin: 1G6KD57Y18U123402 ## Mail History Id: 31631974, Consumer Id: 629280, Address Id: 8878035 => Updated with Vin: 1G6KD54Y1YU318596 ## Mail History Id: 31631836, Consumer Id: 629274, Address Id: 10323796 => Updated with Vin: 1GYEK63N35R125226 ## Mail History Id: 31631808, Consumer Id: 610405, Address Id: 11755135 => Updated with Vin: 1G6DC67AX80102334 ## Mail History Id: 31631934, Consumer Id: 629289, Address Id: 8873676 => Updated with Vin: 1G6KD57Y96U113570 ## Mail History Id: 31631868, Consumer Id: 629268, Address Id: 11769714 => Updated with Vin: 1G6KS54Y12U115303 ## Mail History Id: 31631884, Consumer Id: 629260, Address Id: 11769707 => Updated with Vin: 1G6DM577040114398 ## Mail History Id: 31631970, Consumer Id: 629266, Address Id: 11769712 => Updated with Vin: 1G6KD54Y15U235309 ## Mail History Id: 31631814, Consumer Id: 629288, Address Id: 11769726 => Updated with Vin: 1G6DW677560204598 ## Mail History Id: 31631940, Consumer Id: 629284, Address Id: 11769723 => Updated with Vin: 1G6DM57T160211965 ## Mail History Id: 31631872, Consumer Id: 629265, Address Id: 11014926 => Updated with Vin: 1G6DX67D060206164 ## Mail History Id: 31631876, Consumer Id: 629275, Address Id: 6608981 => Updated with Vin: 1G6KD57Y26U233789 ## Mail History Id: 31631950, Consumer Id: 629270, Address Id: 11418230 => Updated with Vin: 1G6DP577770124258 ## Mail History Id: 31631946, Consumer Id: 629258, Address Id: 11769706 => Updated with Vin: 1GYEE637160217059 ## Mail History Id: 31631886, Consumer Id: 629269, Address Id: 11769715 => Updated with Vin: 1G6DP567650159954 ## Mail History Id: 31631854, Consumer Id: 629277, Address Id: 11769718 => Updated with Vin: 1G6DP577270133076 ## Mail History Id: 31631856, Consumer Id: 629276, Address Id: 11769717 => Updated with Vin: 1G6KD54Y11U298551 ## Mail History Id: 31631964, Consumer Id: 640958, Address Id: 11776676 => Updated with Vin: 1G6KD54Y55U153695 ## Mail History Id: 31631858, Consumer Id: 629262, Address Id: 11769709 => Updated with Vin: 3GYFK62887G197252 ## Mail History Id: 31631966, Consumer Id: 629254, Address Id: 8876303 => Updated with Vin: 1G6DW677460143874 ## Mail History Id: 31631888, Consumer Id: 629283, Address Id: 11769722 => Updated with Vin: 1G6KD57Y07U160911 ## Mail History Id: 31631878, Consumer Id: 610692, Address Id: 11755379 => Updated with Vin: 1G6DM577280123982 ## Mail History Id: 31631882, Consumer Id: 629273, Address Id: 8873442 => Updated with Vin: 1G6KD54Y02U178211 ## Mail History Id: 31631980, Consumer Id: 629259, Address Id: 11418437 => Updated with Vin: 1G6KD57906U127964 ## Mail History Id: 31631804, Consumer Id: 626933, Address Id: 11764586 => Updated with Vin: 1G6KS52Y8SU825186 ## Mail History Id: 31631786, Consumer Id: 629272, Address Id: 11769716 => Updated with Vin: 1G6KD57Y46U115503 ## Mail History Id: 31631960, Consumer Id: 629255, Address Id: 6609369 => Updated with Vin: 1G3CW6938F4384459 ## Mail History Id: 31631816, Consumer Id: 610283, Address Id: 11755023 => Updated with Vin: 1G6DW67V180121123 ## Mail History Id: 31631826, Consumer Id: 640959, Address Id: 11764595 => Updated with Vin: 1G6DP577970158511 ## Total mail_history records updated with vin numbers: 42 out of 47 ============================================================ ====== Tracking Id: 2977 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-15 14:16:11') AND us2_order_type_id = 3 ## Order found: 2743 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2743 AND product_id = 112 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3451 ## Mailing found: '13667' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635186, Consumer Id: 614651, Address Id: 825126 => Updated with Vin: 1G6KD54Y71U114522 ## Mail History Id: 31635202, Consumer Id: 612072, Address Id: 828412 => Updated with Vin: 1G6DM57T470144859 ## Mail History Id: 31635188, Consumer Id: 614076, Address Id: 825810 => Updated with Vin: 1G6KD54YX3U200636 ## Mail History Id: 31635266, Consumer Id: 611916, Address Id: 11760194 => Updated with Vin: 1G6KD57Y87U101802 ## Mail History Id: 31635230, Consumer Id: 621937, Address Id: 11762273 => Updated with Vin: 1G6DM56T250192181 ## Mail History Id: 31635252, Consumer Id: 618077, Address Id: 11759799 => Updated with Vin: 1G6KF54901U158347 ## Mail History Id: 31635260, Consumer Id: 628495, Address Id: 11765713 => Updated with Vin: 3GYFK66N04G236699 ## Mail History Id: 31635222, Consumer Id: 628504, Address Id: 11765721 => Updated with Vin: 1G6DP577370147200 ## Total mail_history records updated with vin numbers: 8 out of 10 ============================================================ ====== Tracking Id: 2978 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-15 14:16:23') AND us2_order_type_id = 3 ## Order found: 2743 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2743 AND product_id = 114 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3451 ## Mailing found: '13667' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635244, Consumer Id: 626369, Address Id: 11763861 => Updated with Vin: 1GYFK66817R217979 ## Mail History Id: 31635200, Consumer Id: 611773, Address Id: 828095 => Updated with Vin: 1G6KD57Y06U125218 ## Mail History Id: 31635284, Consumer Id: 628120, Address Id: 11765455 => Updated with Vin: 5J6YH18696L001899 ## Mail History Id: 31635270, Consumer Id: 628128, Address Id: 11765459 => Updated with Vin: YV1MC68297J025415 ## Mail History Id: 31635192, Consumer Id: 628124, Address Id: 826291 => Updated with Vin: 1HGCM568X4A035514 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 2979 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-15 14:16:35') AND us2_order_type_id = 3 ## Order found: 2743 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2743 AND product_id = 113 ## Job Group Found: '586' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('586') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091508004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091508004') AND customer_id = 3451 ## Mailing found: '13667' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31635264, Consumer Id: 628272, Address Id: 1239694 => Updated with Vin: 1GYEK63N54R232048 ## Mail History Id: 31635294, Consumer Id: 628270, Address Id: 11765561 => Updated with Vin: 5N1AN08U46C548406 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 2980 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-15 19:15:18') AND us2_order_type_id = 3 ## Order found: 2740 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2740 AND product_id = 55 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2981 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-15 19:54:53') AND us2_order_type_id = 3 ## Order found: 2788 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2788 AND product_id = 2150 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3846 ## Mailing found: '13829,13830' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723413, Consumer Id: 1180050, Address Id: 9723629 => Updated with Vin: 4S3BH686227663478 ## Mail History Id: 31723409, Consumer Id: 1187082, Address Id: 15371391 => Updated with Vin: 4S3BP676554312980 ## Mail History Id: 31723391, Consumer Id: 1182514, Address Id: 15369889 => Updated with Vin: 4S4BP61C777344390 ## Mail History Id: 31723445, Consumer Id: 1183751, Address Id: 9750181 => Updated with Vin: JF1SG67655H716683 ## Mail History Id: 31723471, Consumer Id: 1185731, Address Id: 15369639 => Updated with Vin: 4S4BP61C557392063 ## Mail History Id: 31723283, Consumer Id: 1187102, Address Id: 15371349 => Updated with Vin: 4S3BD4359W7200483 ## Mail History Id: 31723439, Consumer Id: 1187170, Address Id: 15200122 => Updated with Vin: 4S3BG6852X7627193 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 2982 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-15 19:55:07') AND us2_order_type_id = 3 ## Order found: 2788 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2788 AND product_id = 2152 ## Job Group Found: '598' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('598') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808007') AND customer_id = 3846 ## Mailing found: '13861' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725370, Consumer Id: 1184813, Address Id: 15368920 => Updated with Vin: JF1SG67656H704471 ## Mail History Id: 31725372, Consumer Id: 1183855, Address Id: 15367882 => Updated with Vin: JF1SG67645H718554 ## Mail History Id: 31725374, Consumer Id: 1184155, Address Id: 15368269 => Updated with Vin: JF1GG65533H802023 ## Mail History Id: 31725378, Consumer Id: 1178533, Address Id: 499568 => Updated with Vin: JF1SF63571G708620 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 2983 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-15 19:55:19') AND us2_order_type_id = 3 ## Order found: 2788 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2788 AND product_id = 2147 ## Job Group Found: '593' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('593') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808002') AND customer_id = 3846 ## Mailing found: '13787' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725312, Consumer Id: 1187131, Address Id: 15371446 => Updated with Vin: 4S4BP62C467348426 ## Mail History Id: 31725314, Consumer Id: 1185257, Address Id: 14944070 => Updated with Vin: JF1GD70686L518600 ## Mail History Id: 31725316, Consumer Id: 1187139, Address Id: 15371451 => Updated with Vin: JF1SG65644H756559 ## Mail History Id: 31725318, Consumer Id: 1179552, Address Id: 15366411 => Updated with Vin: 4S3BH675217676965 ## Mail History Id: 31725320, Consumer Id: 1184338, Address Id: 9747268 => Updated with Vin: JF1SG65603H749364 ## Mail History Id: 31725322, Consumer Id: 1187207, Address Id: 458630 => Updated with Vin: 4S4BP61C877346018 ## Mail History Id: 31725324, Consumer Id: 1187057, Address Id: 9818825 => Updated with Vin: JF1GG79646G806679 ## Mail History Id: 31725326, Consumer Id: 1185068, Address Id: 15369044 => Updated with Vin: JF1SG65633H766840 ## Total mail_history records updated with vin numbers: 8 out of 10 ============================================================ ====== Tracking Id: 2984 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-15 20:15:09') AND us2_order_type_id = 3 ## Order found: 2789 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2789 AND product_id = 2152 ## Job Group Found: '598' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('598') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808007') AND customer_id = 3503 ## Mailing found: '13856' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725382, Consumer Id: 2162621, Address Id: 9728746 => Updated with Vin: JTEHD20V956037157 ## Mail History Id: 31725384, Consumer Id: 2178902, Address Id: 9729448 => Updated with Vin: 5TDBT48A91S035283 ## Mail History Id: 31725388, Consumer Id: 344303, Address Id: 9742761 => Updated with Vin: 4T1BK36B25U022090 ## Mail History Id: 31725392, Consumer Id: 2164033, Address Id: 9730420 => Updated with Vin: 4T1BK36B26U116195 ## Mail History Id: 31725396, Consumer Id: 1174571, Address Id: 9731836 => Updated with Vin: JTDBR32E870102343 ## Mail History Id: 31725398, Consumer Id: 2168421, Address Id: 9723910 => Updated with Vin: 4T1BE32K95U420653 ## Total mail_history records updated with vin numbers: 6 out of 13 ============================================================ ====== Tracking Id: 2985 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-15 20:15:22') AND us2_order_type_id = 3 ## Order found: 2789 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2789 AND product_id = 2153 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3503 ## Mailing found: '13893' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724362, Consumer Id: 2178128, Address Id: 9727795 => Updated with Vin: JTEGD20V340001395 ## Mail History Id: 31724330, Consumer Id: 2158644, Address Id: 9721361 => Updated with Vin: 5TBBN44133S397072 ## Mail History Id: 31724450, Consumer Id: 2168924, Address Id: 64397 => Updated with Vin: 4T1BE46K78U752739 ## Mail History Id: 31724416, Consumer Id: 382312, Address Id: 9734546 => Updated with Vin: JTEEP21A350067733 ## Mail History Id: 31724464, Consumer Id: 2168628, Address Id: 9722365 => Updated with Vin: 4T3ZF13CX3U546323 ## Mail History Id: 31724366, Consumer Id: 2165023, Address Id: 9731374 => Updated with Vin: 4T1BE46K97U542044 ## Mail History Id: 31724364, Consumer Id: 2173816, Address Id: 9721707 => Updated with Vin: 2T1CF22P91C444700 ## Mail History Id: 31724434, Consumer Id: 2167420, Address Id: 9734766 => Updated with Vin: JTEBU11F770073149 ## Mail History Id: 31724390, Consumer Id: 2164609, Address Id: 4419357 => Updated with Vin: JTKKT624660150375 ## Total mail_history records updated with vin numbers: 9 out of 16 ============================================================ ====== Tracking Id: 2986 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-15 20:15:35') AND us2_order_type_id = 3 ## Order found: 2789 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2789 AND product_id = 2150 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3503 ## Mailing found: '13817,13818' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723257, Consumer Id: 2177607, Address Id: 9727009 => Updated with Vin: 5TDZA23C04S016174 ## Total mail_history records updated with vin numbers: 1 out of 3 ============================================================ ====== Tracking Id: 2987 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-15 20:15:47') AND us2_order_type_id = 3 ## Order found: 2789 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2789 AND product_id = 2147 ## Job Group Found: '593' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('593') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808002') AND customer_id = 3503 ## Mailing found: '13784' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725344, Consumer Id: 2175913, Address Id: 9724144 => Updated with Vin: 4T1BF28B2YU012613 ## Mail History Id: 31725346, Consumer Id: 2169793, Address Id: 9738649 => Updated with Vin: 4T1BK36B98U296794 ## Mail History Id: 31725354, Consumer Id: 433720, Address Id: 452658 => Updated with Vin: JTDBT923281199067 ## Mail History Id: 31725358, Consumer Id: 2175646, Address Id: 9723911 => Updated with Vin: 4T1BF28B23U306165 ## Mail History Id: 31725360, Consumer Id: 2182019, Address Id: 9728314 => Updated with Vin: 2T1BR32EX5C367512 ## Mail History Id: 31725362, Consumer Id: 2162130, Address Id: 1743376 => Updated with Vin: 4T1BE32K95U530070 ## Mail History Id: 31725364, Consumer Id: 2171312, Address Id: 9719064 => Updated with Vin: JTEBU17R130004193 ## Mail History Id: 31725243, Consumer Id: 2174964, Address Id: 9723053 => Updated with Vin: JT3HP10V5W0167970 ## Mail History Id: 31725245, Consumer Id: 2173609, Address Id: 9721508 => Updated with Vin: 4T3ZF13C71U347193 ## Mail History Id: 31725247, Consumer Id: 2160667, Address Id: 9726075 => Updated with Vin: JTEEP21A240054891 ## Mail History Id: 31725251, Consumer Id: 2169922, Address Id: 9818815 => Updated with Vin: JTDBL40E999025362 ## Mail History Id: 31725253, Consumer Id: 391474, Address Id: 9763822 => Updated with Vin: 4T1BB46K98U055520 ## Mail History Id: 31725255, Consumer Id: 2159423, Address Id: 9723644 => Updated with Vin: 5TEWN72N74Z317521 ## Mail History Id: 31725261, Consumer Id: 2163326, Address Id: 9729686 => Updated with Vin: JTEDP21A250090903 ## Total mail_history records updated with vin numbers: 14 out of 25 ============================================================ ====== Tracking Id: 2988 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-16 07:15:32') AND us2_order_type_id = 3 ## Order found: 2808 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2808 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3503 ## Mailing found: '13817,13818' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723533, Consumer Id: 2170089, Address Id: 11961166 => Updated with Vin: JTDKB20UX73242417 ## Mail History Id: 31723287, Consumer Id: 2169570, Address Id: 44511 => Updated with Vin: 4T1BE46K68U770438 ## Mail History Id: 31723291, Consumer Id: 2170098, Address Id: 44581 => Updated with Vin: JTEHH20V020180467 ## Mail History Id: 31723515, Consumer Id: 2167748, Address Id: 9735020 => Updated with Vin: 5TDBK22C67S005961 ## Mail History Id: 31723223, Consumer Id: 2182715, Address Id: 9735373 => Updated with Vin: 5TDZA22C04S199898 ## Mail History Id: 31723509, Consumer Id: 2160707, Address Id: 9726105 => Updated with Vin: 4T1BE32K22U058743 ## Mail History Id: 31723357, Consumer Id: 2173428, Address Id: 9721141 => Updated with Vin: 5TEWM72N1YZ686738 ## Mail History Id: 31723449, Consumer Id: 2177906, Address Id: 9727610 => Updated with Vin: 2T1LR32E74C225198 ## Mail History Id: 31723365, Consumer Id: 2165247, Address Id: 9731752 => Updated with Vin: 2T1BR38E03C133822 ## Mail History Id: 31723241, Consumer Id: 2165531, Address Id: 9728443 => Updated with Vin: JTEBT14R548009231 ## Mail History Id: 31723233, Consumer Id: 2170102, Address Id: 11965331 => Updated with Vin: 4T1BK36B88U300575 ## Mail History Id: 31723301, Consumer Id: 2160859, Address Id: 9726222 => Updated with Vin: 5TDBA23C74S027254 ## Mail History Id: 31723231, Consumer Id: 2170100, Address Id: 11965332 => Updated with Vin: 4T1FA38P88U148472 ## Mail History Id: 31723415, Consumer Id: 2177423, Address Id: 9726574 => Updated with Vin: JTEHH20V636086334 ## Mail History Id: 31723259, Consumer Id: 2167561, Address Id: 9734876 => Updated with Vin: 4T1CE38P16U749470 ## Mail History Id: 31723243, Consumer Id: 2158742, Address Id: 9721438 => Updated with Vin: 2T1BR32E14C176026 ## Mail History Id: 31723383, Consumer Id: 2170103, Address Id: 9747251 => Updated with Vin: 5TEUU42N88Z578977 ## Mail History Id: 31723427, Consumer Id: 2170099, Address Id: 11962112 => Updated with Vin: 5TEUU42N98Z576560 ## Mail History Id: 31723421, Consumer Id: 2171735, Address Id: 9719459 => Updated with Vin: 2T1BR12E12C549776 ## Mail History Id: 31723421, Consumer Id: 2178546, Address Id: 9719459 => Updated with Vin: JTDBR38EX30031471 ## Mail History Id: 31723249, Consumer Id: 2170090, Address Id: 117515 => Updated with Vin: JTEEP21A140001647 ## Mail History Id: 31723393, Consumer Id: 2170095, Address Id: 11961162 => Updated with Vin: 5TEUU42N47Z397809 ## Mail History Id: 31723289, Consumer Id: 2165774, Address Id: 9732142 => Updated with Vin: 4T1BK46KX7U521566 ## Mail History Id: 31723475, Consumer Id: 2170097, Address Id: 11961493 => Updated with Vin: JTDBL40E399030959 ## Mail History Id: 31723491, Consumer Id: 2167257, Address Id: 9734646 => Updated with Vin: 5TDZK23C87S024217 ## Mail History Id: 31723321, Consumer Id: 2160177, Address Id: 9725266 => Updated with Vin: 2T1BR38E74C298395 ## Mail History Id: 31723517, Consumer Id: 2170096, Address Id: 11961492 => Updated with Vin: 1NXBU40E29Z043126 ## Mail History Id: 31723315, Consumer Id: 2166238, Address Id: 9733146 => Updated with Vin: JTMBK31V875018595 ## Mail History Id: 31723217, Consumer Id: 2173952, Address Id: 9721829 => Updated with Vin: 2T1BR32E73C113236 ## Total mail_history records updated with vin numbers: 29 out of 57 ============================================================ ====== Tracking Id: 2989 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-16 08:15:15') AND us2_order_type_id = 3 ## Order found: 2809 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2809 AND product_id = 55 ## Job Group Found: '594' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('594') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808003') AND customer_id = 3230 ## Mailing found: '13834' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 2990 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-16 08:45:18') AND us2_order_type_id = 3 ## Order found: 2809 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2809 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3230 ## Mailing found: '13870' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724571, Consumer Id: 65559, Address Id: 50745 => Updated with Vin: 1FAFP28156G103435 ## Mail History Id: 31724583, Consumer Id: 102642, Address Id: 52454 => Updated with Vin: 3GNEK13T53G144663 ## Mail History Id: 31724589, Consumer Id: 103872, Address Id: 54084 => Updated with Vin: 2FTZF1723YCA42394 ## Mail History Id: 31724597, Consumer Id: 66109, Address Id: 48756 => Updated with Vin: 2FMZA52462BA01703 ## Mail History Id: 31724579, Consumer Id: 109217, Address Id: 66959 => Updated with Vin: 1LNHM87A55Y607567 ## Mail History Id: 31724577, Consumer Id: 93583, Address Id: 67443 => Updated with Vin: 3FAHP07Z78R194823 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 2991 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-16 08:45:24') AND us2_order_type_id = 3 ## Order found: 2809 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2809 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 2992 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-16 09:14:56') AND us2_order_type_id = 3 ## Order found: 2810 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2810 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3470 ## Mailing found: '13883,13884,13885' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724956, Consumer Id: 582461, Address Id: 3156739 => Updated with Vin: 1D7HE48N96S520907 ## Mail History Id: 31725174, Consumer Id: 555573, Address Id: 10690186 => Updated with Vin: 3C4FY48B84T249557 ## Mail History Id: 31725150, Consumer Id: 558979, Address Id: 10695719 => Updated with Vin: 1J4GK48K54W120654 ## Mail History Id: 31725054, Consumer Id: 552700, Address Id: 7092604 => Updated with Vin: 1J4FA49S75P335039 ## Mail History Id: 31725016, Consumer Id: 575914, Address Id: 10723156 => Updated with Vin: 1D8HB58D94F235406 ## Mail History Id: 31725060, Consumer Id: 575788, Address Id: 10723046 => Updated with Vin: 1C4GP45R55B441739 ## Mail History Id: 31724978, Consumer Id: 567489, Address Id: 2796703 => Updated with Vin: 1J4GL48K84W296823 ## Mail History Id: 31725010, Consumer Id: 568418, Address Id: 10713790 => Updated with Vin: 3A4FY48B26T364507 ## Mail History Id: 31725058, Consumer Id: 573191, Address Id: 10717215 => Updated with Vin: 1NXBR32E25Z445666 ## Mail History Id: 31724972, Consumer Id: 571250, Address Id: 10717786 => Updated with Vin: 1N4AL11D13C351236 ## Mail History Id: 31724966, Consumer Id: 571898, Address Id: 2030498 => Updated with Vin: 2C3KA53G87H811132 ## Mail History Id: 31725072, Consumer Id: 560212, Address Id: 1545987 => Updated with Vin: 1C4GP45R25B253809 ## Mail History Id: 31725124, Consumer Id: 572801, Address Id: 10719327 => Updated with Vin: 1J8FT48W27D410747 ## Mail History Id: 31725052, Consumer Id: 583149, Address Id: 7116452 => Updated with Vin: 1J4FA39S06P750537 ## Mail History Id: 31725178, Consumer Id: 573193, Address Id: 10719500 => Updated with Vin: 2A8HR54PX8R661977 ## Mail History Id: 31725044, Consumer Id: 573195, Address Id: 10719501 => Updated with Vin: 1D7HE48K46S505916 ## Mail History Id: 31725134, Consumer Id: 573196, Address Id: 10719502 => Updated with Vin: 1B3LC46K18N577169 ## Mail History Id: 31724930, Consumer Id: 573192, Address Id: 10719499 => Updated with Vin: 1D7HA16K78J156854 ## Total mail_history records updated with vin numbers: 18 out of 21 ============================================================ ====== Tracking Id: 2993 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-16 09:15:08') AND us2_order_type_id = 3 ## Order found: 2810 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2810 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3470 ## Mailing found: '13883,13884,13885' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724944, Consumer Id: 574942, Address Id: 2331245 => Updated with Vin: 2C8GP54L13R110043 ## Mail History Id: 31725038, Consumer Id: 558469, Address Id: 10694188 => Updated with Vin: 1B3EL36X74N325709 ## Mail History Id: 31725142, Consumer Id: 561751, Address Id: 10699543 => Updated with Vin: 1D4GP25R95B353218 ## Mail History Id: 31724968, Consumer Id: 562532, Address Id: 1165044 => Updated with Vin: 1C8GP45R65B345052 ## Mail History Id: 31725048, Consumer Id: 576465, Address Id: 2055591 => Updated with Vin: 2C4GP54L25R219065 ## Mail History Id: 31725180, Consumer Id: 564324, Address Id: 10704047 => Updated with Vin: 2B3KA53H16H219253 ## Mail History Id: 31725162, Consumer Id: 566213, Address Id: 7740619 => Updated with Vin: 2A8GM68466R683357 ## Mail History Id: 31725026, Consumer Id: 567930, Address Id: 10713615 => Updated with Vin: 2A4GM48466R911900 ## Mail History Id: 31724940, Consumer Id: 569727, Address Id: 3161979 => Updated with Vin: 1J8HG48K57C511426 ## Mail History Id: 31725158, Consumer Id: 570456, Address Id: 10717202 => Updated with Vin: 1J4GK48K44W252837 ## Mail History Id: 31725156, Consumer Id: 583014, Address Id: 7739275 => Updated with Vin: 2C4GM68445R589550 ## Mail History Id: 31725074, Consumer Id: 573000, Address Id: 10719415 => Updated with Vin: 1G1ZS52F65F312014 ## Mail History Id: 31725114, Consumer Id: 572881, Address Id: 10719357 => Updated with Vin: 1B3HB28B77D233103 ## Mail History Id: 31725002, Consumer Id: 582904, Address Id: 10744599 => Updated with Vin: 1B3EL36X13N590673 ## Mail History Id: 31724994, Consumer Id: 582910, Address Id: 7114919 => Updated with Vin: 1J4GS48KX5C558105 ## Mail History Id: 31724998, Consumer Id: 572922, Address Id: 10719375 => Updated with Vin: 2G1WC581569164511 ## Mail History Id: 31724998, Consumer Id: 572923, Address Id: 10719375 => Updated with Vin: 2A8GM68X87R173913 ## Mail History Id: 31725030, Consumer Id: 572926, Address Id: 2491407 => Updated with Vin: 1D4HD58D74F136174 ## Total mail_history records updated with vin numbers: 18 out of 23 ============================================================ ====== Tracking Id: 2994 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-16 09:15:20') AND us2_order_type_id = 3 ## Order found: 2810 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2810 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3470 ## Mailing found: '13883,13884,13885' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724926, Consumer Id: 555589, Address Id: 1710219 => Updated with Vin: 1C3EL55R74N239723 ## Mail History Id: 31725014, Consumer Id: 567831, Address Id: 1544488 => Updated with Vin: 1J4GK58K96W255144 ## Mail History Id: 31724954, Consumer Id: 568553, Address Id: 3169304 => Updated with Vin: 1J4GS48K06C260583 ## Mail History Id: 31725168, Consumer Id: 568018, Address Id: 2067091 => Updated with Vin: 2B3KA43G26H428292 ## Mail History Id: 31725012, Consumer Id: 570439, Address Id: 3402232 => Updated with Vin: 1J4GA39197L162687 ## Mail History Id: 31725084, Consumer Id: 570601, Address Id: 10717271 => Updated with Vin: 2C3KA43R07H784858 ## Mail History Id: 31725184, Consumer Id: 570656, Address Id: 10717295 => Updated with Vin: 1J8HG58216C363960 ## Mail History Id: 31725024, Consumer Id: 571945, Address Id: 10718958 => Updated with Vin: 1D7HA182X7S211870 ## Mail History Id: 31724932, Consumer Id: 571891, Address Id: 1783504 => Updated with Vin: 1B3LC46KX8N606670 ## Mail History Id: 31724950, Consumer Id: 572172, Address Id: 10719037 => Updated with Vin: 2D8HN54XX8R653883 ## Mail History Id: 31725096, Consumer Id: 910463, Address Id: 3496215 => Updated with Vin: 2A8GM68X28R636050 ## Mail History Id: 31724948, Consumer Id: 941170, Address Id: 4600404 => Updated with Vin: 1D7HU18D14J230270 ## Mail History Id: 31725214, Consumer Id: 956874, Address Id: 10740006 => Updated with Vin: 1C3LC46K78N193609 ## Mail History Id: 31725154, Consumer Id: 939860, Address Id: 7351485 => Updated with Vin: 1J4FA24118L591871 ## Mail History Id: 31725104, Consumer Id: 941171, Address Id: 11962156 => Updated with Vin: 3C4FY48B23T516559 ## Mail History Id: 31725008, Consumer Id: 941098, Address Id: 4680468 => Updated with Vin: 1J4GK48KX5W645937 ## Mail History Id: 31725042, Consumer Id: 955738, Address Id: 11965439 => Updated with Vin: 1J4GA591X8L616412 ## Total mail_history records updated with vin numbers: 17 out of 20 ============================================================ ====== Tracking Id: 2995 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-16 09:15:27') AND us2_order_type_id = 3 ## Order found: 2811 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2811 AND product_id = 142 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3768 ## Mailing found: '13825' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723699, Consumer Id: 1108600, Address Id: 10724080 => Updated with Vin: 1GYEE637560214827 ## Mail History Id: 31723695, Consumer Id: 1108653, Address Id: 9431131 => Updated with Vin: 1G6DW677360170113 ## Mail History Id: 31723623, Consumer Id: 1109278, Address Id: 14982514 => Updated with Vin: 1GYFK63847R343418 ## Mail History Id: 31723565, Consumer Id: 1048222, Address Id: 2778264 => Updated with Vin: 1GYEE637X50112180 ## Mail History Id: 31723703, Consumer Id: 1107118, Address Id: 8828558 => Updated with Vin: 1G6KY54972U273653 ## Mail History Id: 31723697, Consumer Id: 1116553, Address Id: 14984128 => Updated with Vin: JH4DC53002C002560 ## Mail History Id: 31723886, Consumer Id: 1116926, Address Id: 14984293 => Updated with Vin: 1G6DM57N030148161 ## Mail History Id: 31723577, Consumer Id: 1049118, Address Id: 8335507 => Updated with Vin: 3GYEK62N96G150277 ## Mail History Id: 31723579, Consumer Id: 1109648, Address Id: 14825601 => Updated with Vin: 1G6KF57904U116809 ## Mail History Id: 31723665, Consumer Id: 1045207, Address Id: 14953062 => Updated with Vin: 1G6DP567250116129 ## Mail History Id: 31723763, Consumer Id: 1113673, Address Id: 14983347 => Updated with Vin: 1GYEK63N54R100522 ## Mail History Id: 31723659, Consumer Id: 1109799, Address Id: 5984565 => Updated with Vin: 1G6KY5498YU208528 ## Mail History Id: 31723575, Consumer Id: 1051198, Address Id: 3238629 => Updated with Vin: 1GYEK63N73R200524 ## Mail History Id: 31723563, Consumer Id: 1107944, Address Id: 2777946 => Updated with Vin: 1G6KS54Y84U104270 ## Mail History Id: 31723701, Consumer Id: 1110010, Address Id: 1080794 => Updated with Vin: 1GYEK63NX4R242736 ## Mail History Id: 31723751, Consumer Id: 1116241, Address Id: 14983993 => Updated with Vin: 1G6DN57U560123927 ## Mail History Id: 31723719, Consumer Id: 1111825, Address Id: 8829428 => Updated with Vin: 1G6DM57T460136730 ## Mail History Id: 31723669, Consumer Id: 1116935, Address Id: 14968480 => Updated with Vin: W06VR54R21R038944 ## Mail History Id: 31723551, Consumer Id: 1116933, Address Id: 14984296 => Updated with Vin: 1G6KY5494XU941058 ## Total mail_history records updated with vin numbers: 19 out of 22 ============================================================ ====== Tracking Id: 2996 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-16 09:15:34') AND us2_order_type_id = 3 ## Order found: 2811 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2811 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3768 ## Mailing found: '13901,13902,13903' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724542, Consumer Id: 1051110, Address Id: 14954616 => Updated with Vin: 1GYFK63887R164203 ## Mail History Id: 31724614, Consumer Id: 1041488, Address Id: 3598410 => Updated with Vin: 1G6KE57Y6YU192129 ## Mail History Id: 31724604, Consumer Id: 1047469, Address Id: 14953683 => Updated with Vin: 1GKDS13S132389078 ## Mail History Id: 31724586, Consumer Id: 1115288, Address Id: 8828781 => Updated with Vin: 3GNFK16357G223319 ## Mail History Id: 31724556, Consumer Id: 1107902, Address Id: 5985992 => Updated with Vin: 1G6KD54Y31U185295 ## Mail History Id: 31724510, Consumer Id: 1107687, Address Id: 3238896 => Updated with Vin: 3GYEK63N53G121515 ## Mail History Id: 31724540, Consumer Id: 1110354, Address Id: 2851478 => Updated with Vin: 1G6KD52Y0TU297512 ## Mail History Id: 31724570, Consumer Id: 1107422, Address Id: 5988357 => Updated with Vin: W06VR52R1WR033261 ## Mail History Id: 31724514, Consumer Id: 1046885, Address Id: 3239449 => Updated with Vin: 1GYEK63N05R207771 ## Mail History Id: 31724538, Consumer Id: 1051549, Address Id: 11451782 => Updated with Vin: 1G6KD54Y01U212551 ## Total mail_history records updated with vin numbers: 10 out of 12 ============================================================ ====== Tracking Id: 2997 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-16 09:15:46') AND us2_order_type_id = 3 ## Order found: 2811 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2811 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3768 ## Mailing found: '13901,13902,13903' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724582, Consumer Id: 1112063, Address Id: 8828275 => Updated with Vin: JTEZT14RX40016107 ## Mail History Id: 31724536, Consumer Id: 1116365, Address Id: 5152199 => Updated with Vin: 1GYEK63N02R314864 ## Mail History Id: 31724502, Consumer Id: 1109852, Address Id: 3238465 => Updated with Vin: 1G6KE54Y3WU792740 ## Mail History Id: 31724470, Consumer Id: 1048396, Address Id: 14953944 => Updated with Vin: 1G6KF5797YU281763 ## Mail History Id: 31724554, Consumer Id: 1110677, Address Id: 1075112 => Updated with Vin: 1GYEK63N65R158799 ## Mail History Id: 31724560, Consumer Id: 1111836, Address Id: 5987205 => Updated with Vin: 1G6KD57Y46U119180 ## Mail History Id: 31724636, Consumer Id: 1114243, Address Id: 14983481 => Updated with Vin: 1GNET13H562297615 ## Mail History Id: 31724512, Consumer Id: 1116355, Address Id: 8703311 => Updated with Vin: JTKDE177870192993 ## Mail History Id: 31724508, Consumer Id: 1116248, Address Id: 9426569 => Updated with Vin: WAUEF78E07A079846 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 2998 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-16 10:11:24') AND us2_order_type_id = 3 ## Order found: 2812 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2812 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3846 ## Mailing found: '13829,13830' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723375, Consumer Id: 1179299, Address Id: 15366225 => Updated with Vin: JF1SG63663H718039 ## Mail History Id: 31723239, Consumer Id: 1187256, Address Id: 15371487 => Updated with Vin: 4S3BH675XY7666971 ## Mail History Id: 31723483, Consumer Id: 1183536, Address Id: 15368073 => Updated with Vin: 4S3BH806347611268 ## Mail History Id: 31723229, Consumer Id: 1179514, Address Id: 15366390 => Updated with Vin: 4S3BH665527614172 ## Mail History Id: 31723431, Consumer Id: 1185906, Address Id: 1737904 => Updated with Vin: 4S3BL616177208816 ## Mail History Id: 31723389, Consumer Id: 1180370, Address Id: 65047 => Updated with Vin: JF1GG68553H809793 ## Mail History Id: 31723463, Consumer Id: 1183539, Address Id: 15367942 => Updated with Vin: 4S3BH896947643435 ## Mail History Id: 31723345, Consumer Id: 1179187, Address Id: 15366138 => Updated with Vin: 4S3BH675137605775 ## Mail History Id: 31723335, Consumer Id: 1178975, Address Id: 15367754 => Updated with Vin: 4S4BP61C457339242 ## Mail History Id: 31723317, Consumer Id: 1182193, Address Id: 15369097 => Updated with Vin: 4S4BP61C257382347 ## Mail History Id: 31723311, Consumer Id: 1185455, Address Id: 15369458 => Updated with Vin: 4S4WX85D274402360 ## Mail History Id: 31723403, Consumer Id: 1187420, Address Id: 4446820 => Updated with Vin: JF1GH61628H824811 ## Mail History Id: 31723429, Consumer Id: 1180766, Address Id: 15367545 => Updated with Vin: JF1GG68512H803682 ## Mail History Id: 31723355, Consumer Id: 1186983, Address Id: 9753121 => Updated with Vin: JF1SF65652H756053 ## Mail History Id: 31723263, Consumer Id: 1185631, Address Id: 15369672 => Updated with Vin: 4S3BH675847636703 ## Mail History Id: 31723225, Consumer Id: 1186173, Address Id: 15369992 => Updated with Vin: 4S4BP61C367359046 ## Mail History Id: 31723405, Consumer Id: 1187257, Address Id: 15371488 => Updated with Vin: 4S3BH665927640631 ## Mail History Id: 31723339, Consumer Id: 1186805, Address Id: 15371023 => Updated with Vin: 4S3BE625347201023 ## Total mail_history records updated with vin numbers: 18 out of 21 ============================================================ ====== Tracking Id: 2999 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-16 10:14:48') AND us2_order_type_id = 3 ## Order found: 2810 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2810 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3470 ## Mailing found: '13815' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724053, Consumer Id: 574925, Address Id: 10721468 => Updated with Vin: 3C8FY68B12T204886 ## Mail History Id: 31723911, Consumer Id: 576279, Address Id: 3491589 => Updated with Vin: 1C4GP64L8XB570568 ## Mail History Id: 31724009, Consumer Id: 572889, Address Id: 10616599 => Updated with Vin: 1D7HE48P77S213061 ## Mail History Id: 31723887, Consumer Id: 578148, Address Id: 7347678 => Updated with Vin: 2C4GP54L33R119702 ## Mail History Id: 31723873, Consumer Id: 1173342, Address Id: 15032638 => Updated with Vin: JTLKT324164066807 ## Mail History Id: 31724151, Consumer Id: 573641, Address Id: 2546889 => Updated with Vin: 3C4FY48B13T643903 ## Mail History Id: 31723965, Consumer Id: 556594, Address Id: 4899203 => Updated with Vin: 1J4GX58JX3C535354 ## Mail History Id: 31724075, Consumer Id: 556911, Address Id: 2798536 => Updated with Vin: 1D7GL42K44S654012 ## Mail History Id: 31723953, Consumer Id: 557515, Address Id: 10693788 => Updated with Vin: 2C8GM68494R633359 ## Mail History Id: 31724111, Consumer Id: 557756, Address Id: 10693925 => Updated with Vin: 3C4FY48B74T209261 ## Mail History Id: 31724111, Consumer Id: 557756, Address Id: 10693925 => Updated with Vin: 3C4FY48B74T209261 ## Mail History Id: 31723975, Consumer Id: 558360, Address Id: 10695531 => Updated with Vin: 1J8GL58K92W138766 ## Mail History Id: 31724063, Consumer Id: 573465, Address Id: 6511338 => Updated with Vin: 1J4GK48K84W182064 ## Mail History Id: 31724001, Consumer Id: 574281, Address Id: 4101145 => Updated with Vin: 2C4GP44R15R198143 ## Mail History Id: 31723987, Consumer Id: 576483, Address Id: 10723796 => Updated with Vin: 2C4GP44373R209560 ## Mail History Id: 31724093, Consumer Id: 571668, Address Id: 10700867 => Updated with Vin: 1J4GA39188L506057 ## Mail History Id: 31724119, Consumer Id: 1173341, Address Id: 10701305 => Updated with Vin: 1B3HB28BX8D755421 ## Mail History Id: 31724119, Consumer Id: 562975, Address Id: 10701305 => Updated with Vin: 1G2JB124717383016 ## Mail History Id: 31724107, Consumer Id: 573444, Address Id: 10686396 => Updated with Vin: 3D7KU28C53G776864 ## Mail History Id: 31723995, Consumer Id: 565365, Address Id: 4099571 => Updated with Vin: 1J4HS58N16C152820 ## Mail History Id: 31723995, Consumer Id: 565365, Address Id: 4099571 => Updated with Vin: 1J4HS58N16C152820 ## Mail History Id: 31724035, Consumer Id: 565871, Address Id: 10707345 => Updated with Vin: 1J8GS48K96C152865 ## Mail History Id: 31724017, Consumer Id: 576420, Address Id: 10723781 => Updated with Vin: 1B3ES56C15D165507 ## Mail History Id: 31724089, Consumer Id: 567563, Address Id: 7476975 => Updated with Vin: 2A4GM68496R602174 ## Mail History Id: 31724099, Consumer Id: 553717, Address Id: 10687483 => Updated with Vin: 1D7HA18D03J656166 ## Mail History Id: 31724057, Consumer Id: 567256, Address Id: 10710907 => Updated with Vin: 1D7HA18D03J656166 ## Mail History Id: 31724123, Consumer Id: 567857, Address Id: 8913053 => Updated with Vin: 3D7KS28C96G292335 ## Mail History Id: 31724073, Consumer Id: 579978, Address Id: 10736276 => Updated with Vin: 1D7HA16K63J661227 ## Mail History Id: 31723881, Consumer Id: 579708, Address Id: 6508225 => Updated with Vin: 1J4GL48K43W687577 ## Mail History Id: 31724087, Consumer Id: 569182, Address Id: 10714085 => Updated with Vin: 2B3LA73W77H697208 ## Mail History Id: 31723955, Consumer Id: 570247, Address Id: 7465582 => Updated with Vin: 3A8FY68B06T373569 ## Mail History Id: 31724037, Consumer Id: 570994, Address Id: 1545954 => Updated with Vin: 2A8GM78X17R365907 ## Mail History Id: 31723883, Consumer Id: 558990, Address Id: 10686320 => Updated with Vin: 1D4HD58D14F225643 ## Mail History Id: 31723895, Consumer Id: 571509, Address Id: 10718839 => Updated with Vin: 3A4FY58B47T621092 ## Mail History Id: 31723947, Consumer Id: 571627, Address Id: 5391268 => Updated with Vin: 1C3LC55R08N104869 ## Mail History Id: 31724105, Consumer Id: 571794, Address Id: 10686434 => Updated with Vin: 2A8GM68X68R606548 ## Mail History Id: 31723937, Consumer Id: 582629, Address Id: 10744324 => Updated with Vin: 1C3LC56K27N514427 ## Mail History Id: 31724085, Consumer Id: 573111, Address Id: 10707581 => Updated with Vin: 1J8FT47W27D171198 ## Mail History Id: 31724097, Consumer Id: 573181, Address Id: 1549689 => Updated with Vin: 3A8FY48B48T124800 ## Mail History Id: 31723973, Consumer Id: 583212, Address Id: 2498586 => Updated with Vin: JT3HN86R329075318 ## Mail History Id: 31723282, Consumer Id: 982031, Address Id: 14929178 => Updated with Vin: 2C3LA63H08H182454 ## Mail History Id: 31724139, Consumer Id: 1173534, Address Id: 15032644 => Updated with Vin: 1B3EL46XX6N167245 ## Mail History Id: 31723792, Consumer Id: 1173537, Address Id: 15032648 => Updated with Vin: 2C4GM68425R496073 ## Mail History Id: 31723860, Consumer Id: 1173532, Address Id: 15032642 => Updated with Vin: 2B4GP44352R623576 ## Mail History Id: 31723789, Consumer Id: 1173533, Address Id: 15032643 => Updated with Vin: 1B4GP25391B228994 ## Mail History Id: 31724140, Consumer Id: 1173540, Address Id: 15032649 => Updated with Vin: 2B3KA43R77H699416 ## Mail History Id: 31724011, Consumer Id: 1173530, Address Id: 14941084 => Updated with Vin: 1B3EL46R82N326582 ## Mail History Id: 31724131, Consumer Id: 1173343, Address Id: 15032639 => Updated with Vin: 1J4GA39158L618749 ## Mail History Id: 31723875, Consumer Id: 1174324, Address Id: 15036432 => Updated with Vin: 2B7KB31Y81K510928 ## Mail History Id: 31723971, Consumer Id: 1174323, Address Id: 6511073 => Updated with Vin: 1D7HA18N26S600656 ## Mail History Id: 31723969, Consumer Id: 1176828, Address Id: 5598325 => Updated with Vin: 1N4AL11D65C352417 ## Total mail_history records updated with vin numbers: 51 out of 67 ============================================================ ====== Tracking Id: 3000 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-16 10:15:05') AND us2_order_type_id = 3 ## Order found: 2813 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2813 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3416 ## Mailing found: '13811' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723524, Consumer Id: 1173365, Address Id: 1969434 => Updated with Vin: 1GYEK63N82R115500 ## Mail History Id: 31723538, Consumer Id: 1170437, Address Id: 15028733 => Updated with Vin: 1GHDX03E7WD185096 ## Mail History Id: 31723498, Consumer Id: 1173366, Address Id: 11797295 => Updated with Vin: 1G6KD54Y85U222959 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 3001 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-16 10:15:52') AND us2_order_type_id = 3 ## Order found: 2814 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2814 AND product_id = 2152 ## Job Group Found: '598' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('598') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808007') AND customer_id = 3418 ## Mailing found: '13855' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725410, Consumer Id: 610592, Address Id: 11755296 => Updated with Vin: 1G6DT57V180141018 ## Mail History Id: 31725412, Consumer Id: 680833, Address Id: 11794470 => Updated with Vin: 1G6DW677370150154 ## Mail History Id: 31725414, Consumer Id: 678337, Address Id: 11790576 => Updated with Vin: 1G6KD57Y86U105069 ## Mail History Id: 31725416, Consumer Id: 680820, Address Id: 11794466 => Updated with Vin: 1G6KY54992U117131 ## Mail History Id: 31725418, Consumer Id: 668176, Address Id: 11786464 => Updated with Vin: 1G6KD54Y94U176895 ## Mail History Id: 31725420, Consumer Id: 680831, Address Id: 11756020 => Updated with Vin: 1G6KD52B4SU226873 ## Mail History Id: 31725422, Consumer Id: 672506, Address Id: 11789367 => Updated with Vin: 1G6KD54Y2XU711117 ## Mail History Id: 31725424, Consumer Id: 672014, Address Id: 11789037 => Updated with Vin: 1G6DW677350167971 ## Mail History Id: 31725426, Consumer Id: 664824, Address Id: 11784011 => Updated with Vin: W06VR54R01R060800 ## Mail History Id: 31725428, Consumer Id: 610554, Address Id: 11755263 => Updated with Vin: 1G6KD57Y17U185963 ## Mail History Id: 31725430, Consumer Id: 666368, Address Id: 11785158 => Updated with Vin: 1G6EL12YXWU617089 ## Mail History Id: 31725432, Consumer Id: 610419, Address Id: 11755149 => Updated with Vin: 3GYEK62N15G107602 ## Mail History Id: 31725434, Consumer Id: 674269, Address Id: 11782954 => Updated with Vin: 1G6DW677160118320 ## Mail History Id: 31725436, Consumer Id: 610583, Address Id: 11755288 => Updated with Vin: 1G6DM57N730165863 ## Total mail_history records updated with vin numbers: 14 out of 14 ============================================================ ====== Tracking Id: 3002 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-16 10:16:10') AND us2_order_type_id = 3 ## Order found: 2814 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2814 AND product_id = 2150 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3418 ## Mailing found: '13812,13813' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723316, Consumer Id: 680999, Address Id: 11794511 => Updated with Vin: 1G6EL12Y1XU614325 ## Mail History Id: 31723344, Consumer Id: 680989, Address Id: 11794567 => Updated with Vin: 1HGFA16506L031998 ## Mail History Id: 31723384, Consumer Id: 680983, Address Id: 11794563 => Updated with Vin: 1G6KY54962U217235 ## Mail History Id: 31723804, Consumer Id: 681009, Address Id: 11794578 => Updated with Vin: 1G6DW677870125590 ## Mail History Id: 31723258, Consumer Id: 610832, Address Id: 11755499 => Updated with Vin: 1LNHM87A53Y686199 ## Mail History Id: 31723346, Consumer Id: 677419, Address Id: 11786576 => Updated with Vin: 1G6DW677560181825 ## Mail History Id: 31723434, Consumer Id: 610501, Address Id: 6609327 => Updated with Vin: 1G6DM577380117284 ## Mail History Id: 31723368, Consumer Id: 675924, Address Id: 11791576 => Updated with Vin: 1G6DM57N130142031 ## Mail History Id: 31723342, Consumer Id: 676999, Address Id: 11792193 => Updated with Vin: 1G6DP577970102116 ## Mail History Id: 31723372, Consumer Id: 671818, Address Id: 11756096 => Updated with Vin: 1GNCS18W92K207121 ## Mail History Id: 31723308, Consumer Id: 680772, Address Id: 11794437 => Updated with Vin: 1G6KD52Y9TU268994 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 3003 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-16 10:17:46') AND us2_order_type_id = 3 ## Order found: 2815 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2815 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3795 ## Mailing found: '13826' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723837, Consumer Id: 1054098, Address Id: 3064007 => Updated with Vin: 5FNYF18665B003705 ## Mail History Id: 31723821, Consumer Id: 1173792, Address Id: 3952055 => Updated with Vin: SHSRD78865U302926 ## Mail History Id: 31723815, Consumer Id: 1174481, Address Id: 15036660 => Updated with Vin: 1G4HP52K1VH430053 ## Mail History Id: 31723839, Consumer Id: 1174482, Address Id: 11598730 => Updated with Vin: WVWMD63B33E025259 ## Mail History Id: 31723807, Consumer Id: 1173791, Address Id: 11083737 => Updated with Vin: 1HGCP26828A100190 ## Mail History Id: 31723845, Consumer Id: 1174491, Address Id: 14955244 => Updated with Vin: 2HGFG11908H514674 ## Mail History Id: 31723831, Consumer Id: 1174489, Address Id: 8505412 => Updated with Vin: 2HNYD18846H527660 ## Mail History Id: 31723809, Consumer Id: 1174479, Address Id: 5363824 => Updated with Vin: 5J6RE385X8L004197 ## Mail History Id: 31723811, Consumer Id: 1174480, Address Id: 6613125 => Updated with Vin: 5J6RE383X8L004540 ## Mail History Id: 31723785, Consumer Id: 1176926, Address Id: 15038846 => Updated with Vin: JHMGD37438S051584 ## Mail History Id: 31723855, Consumer Id: 1173793, Address Id: 15032946 => Updated with Vin: 1HGCP26448A086774 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 3004 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3733 AND DATE(cart_created_date) = DATE('2008-09-16 10:18:23') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 3005 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-16 10:18:25') AND us2_order_type_id = 3 ## Order found: 2816 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2816 AND product_id = 142 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3697 ## Mailing found: '13820' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723591, Consumer Id: 1044580, Address Id: 2848686 => Updated with Vin: 1G6KE57Y44U153761 ## Mail History Id: 31723615, Consumer Id: 1044659, Address Id: 11952614 => Updated with Vin: 1G6DP577X70178704 ## Mail History Id: 31723617, Consumer Id: 1045235, Address Id: 14953064 => Updated with Vin: 1G6KD54Y85U161919 ## Mail History Id: 31723791, Consumer Id: 1045300, Address Id: 14953097 => Updated with Vin: 1G6KD57Y17U196283 ## Mail History Id: 31723685, Consumer Id: 1052153, Address Id: 5990794 => Updated with Vin: 1G6KD57Y07U139850 ## Mail History Id: 31723655, Consumer Id: 1041969, Address Id: 5984882 => Updated with Vin: 1G6KD54Y6WU745253 ## Mail History Id: 31723667, Consumer Id: 1042892, Address Id: 11666596 => Updated with Vin: 1G3GR62C7X4116541 ## Mail History Id: 31723747, Consumer Id: 1046004, Address Id: 12938874 => Updated with Vin: 1G6DP567X50127315 ## Mail History Id: 31723633, Consumer Id: 1044540, Address Id: 2852354 => Updated with Vin: 1G6KD54Y03U235301 ## Mail History Id: 31723611, Consumer Id: 1042851, Address Id: 14952388 => Updated with Vin: 1GYEK63N72R310665 ## Mail History Id: 31723647, Consumer Id: 1049059, Address Id: 14953409 => Updated with Vin: 1GYEE637560212155 ## Mail History Id: 31723681, Consumer Id: 1041601, Address Id: 5989272 => Updated with Vin: 1G6KF5797YU328497 ## Mail History Id: 31723639, Consumer Id: 1048302, Address Id: 3240048 => Updated with Vin: 1G4HP52K43U196172 ## Mail History Id: 31723707, Consumer Id: 1042548, Address Id: 14952317 => Updated with Vin: 1G3NL52E01C253094 ## Mail History Id: 31723657, Consumer Id: 1047571, Address Id: 14953711 => Updated with Vin: 1GYEK63N35R239307 ## Mail History Id: 31723627, Consumer Id: 1042299, Address Id: 2851960 => Updated with Vin: 1G6DM57N530162198 ## Mail History Id: 31723607, Consumer Id: 1050093, Address Id: 12242179 => Updated with Vin: 1FTPW14V46KC52758 ## Mail History Id: 31723727, Consumer Id: 1047856, Address Id: 14953795 => Updated with Vin: 1G6KD54Y1YU317108 ## Mail History Id: 31723555, Consumer Id: 1050799, Address Id: 3548426 => Updated with Vin: 1GYEK63N86R158532 ## Mail History Id: 31723717, Consumer Id: 1050589, Address Id: 5993185 => Updated with Vin: 1G6KD54Y82U112425 ## Mail History Id: 31723553, Consumer Id: 1048220, Address Id: 2774436 => Updated with Vin: 1GYEK63N75R243215 ## Mail History Id: 31723745, Consumer Id: 1044795, Address Id: 12938353 => Updated with Vin: 1G6CD13B4M4329841 ## Total mail_history records updated with vin numbers: 22 out of 29 ============================================================ ====== Tracking Id: 3006 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-16 10:18:33') AND us2_order_type_id = 3 ## Order found: 2816 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2816 AND product_id = 140 ## Job Group Found: '598' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('598') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808007') AND customer_id = 3697 ## Mailing found: '13857' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3007 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-16 10:18:37') AND us2_order_type_id = 3 ## Order found: 2816 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2816 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3008 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-16 10:18:41') AND us2_order_type_id = 3 ## Order found: 2816 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2816 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3697 ## Mailing found: '13897,13898,13899' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724578, Consumer Id: 1041485, Address Id: 5989729 => Updated with Vin: 1G6KD54Y8YU344628 ## Mail History Id: 31724498, Consumer Id: 1042328, Address Id: 14952268 => Updated with Vin: 1G6KE54Y72U113000 ## Mail History Id: 31724528, Consumer Id: 1045095, Address Id: 14953033 => Updated with Vin: 1GKDT13W812138281 ## Mail History Id: 31724626, Consumer Id: 1046382, Address Id: 847784 => Updated with Vin: 1G6DN56S350166211 ## Mail History Id: 31724580, Consumer Id: 1042014, Address Id: 5990899 => Updated with Vin: 1G6KF57982U162966 ## Mail History Id: 31724594, Consumer Id: 1043390, Address Id: 14952513 => Updated with Vin: 1G3NL52T0YC366309 ## Mail History Id: 31724590, Consumer Id: 1051618, Address Id: 14954833 => Updated with Vin: 1G6KD54YX5U196445 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 3009 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-16 10:19:32') AND us2_order_type_id = 3 ## Order found: 2811 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2811 AND product_id = 140 ## Job Group Found: '598' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('598') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808007') AND customer_id = 3768 ## Mailing found: '13858' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3010 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-16 10:20:36') AND us2_order_type_id = 3 ## Order found: 2817 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2817 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3011 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-16 10:20:44') AND us2_order_type_id = 3 ## Order found: 2817 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2817 AND product_id = 2153 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3815 ## Mailing found: '13910' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724622, Consumer Id: 1363877, Address Id: 11360572 => Updated with Vin: 1HGCM66556A054616 ## Mail History Id: 31724620, Consumer Id: 1378221, Address Id: 15671257 => Updated with Vin: 1HGEJ8147XL078093 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 3012 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-16 10:20:55') AND us2_order_type_id = 3 ## Order found: 2817 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2817 AND product_id = 2152 ## Job Group Found: '598' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('598') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808007') AND customer_id = 3815 ## Mailing found: '13860' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725375, Consumer Id: 1368202, Address Id: 8347377 => Updated with Vin: 1HGCG1651YA074360 ## Mail History Id: 31725377, Consumer Id: 1359333, Address Id: 15632070 => Updated with Vin: 1HGCM665X4A000662 ## Mail History Id: 31725379, Consumer Id: 1366401, Address Id: 15639254 => Updated with Vin: 1HGCM56457A219017 ## Mail History Id: 31725381, Consumer Id: 1366793, Address Id: 11305788 => Updated with Vin: 5J6YH28718L002482 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 3013 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-16 10:21:07') AND us2_order_type_id = 3 ## Order found: 2817 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2817 AND product_id = 2147 ## Job Group Found: '593' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('593') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808002') AND customer_id = 3815 ## Mailing found: '13786' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725328, Consumer Id: 1370869, Address Id: 15634227 => Updated with Vin: 2HKRL18531H602092 ## Mail History Id: 31725330, Consumer Id: 1368663, Address Id: 15635383 => Updated with Vin: 1HGCM66553A047886 ## Mail History Id: 31725332, Consumer Id: 1366071, Address Id: 15639056 => Updated with Vin: 5FNRL180X4B102132 ## Mail History Id: 31725336, Consumer Id: 1378715, Address Id: 15671504 => Updated with Vin: 1HGCM56373A074399 ## Mail History Id: 31725338, Consumer Id: 1366858, Address Id: 15639653 => Updated with Vin: 5FNRL38777B050780 ## Mail History Id: 31725340, Consumer Id: 1379644, Address Id: 15672003 => Updated with Vin: JHMAP11441T005661 ## Mail History Id: 31725342, Consumer Id: 1379632, Address Id: 15671997 => Updated with Vin: 5FNRL38707B419463 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 3014 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-16 10:21:19') AND us2_order_type_id = 3 ## Order found: 2817 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2817 AND product_id = 2150 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3815 ## Mailing found: '13828' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723779, Consumer Id: 1373359, Address Id: 15640216 => Updated with Vin: 1HGCM56673A028680 ## Mail History Id: 31723757, Consumer Id: 1367872, Address Id: 15634222 => Updated with Vin: 1HGES26702L018680 ## Mail History Id: 31723759, Consumer Id: 1377038, Address Id: 15670223 => Updated with Vin: 1HGCG1642YA003224 ## Mail History Id: 31723767, Consumer Id: 1363086, Address Id: 15635863 => Updated with Vin: 5FNYF18596B013489 ## Mail History Id: 31723781, Consumer Id: 1363681, Address Id: 15636567 => Updated with Vin: 1HGCM72796A020742 ## Mail History Id: 31723593, Consumer Id: 1365260, Address Id: 8719708 => Updated with Vin: 5FNYF28517B029029 ## Mail History Id: 31723765, Consumer Id: 1378880, Address Id: 15671578 => Updated with Vin: 5FNRL18013B074168 ## Mail History Id: 31723775, Consumer Id: 1366757, Address Id: 15639597 => Updated with Vin: 5FNRL18084B033716 ## Mail History Id: 31723559, Consumer Id: 1367336, Address Id: 15640013 => Updated with Vin: 5FNRL18834B092470 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 3015 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-16 10:29:06') AND us2_order_type_id = 3 ## Order found: 2815 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2815 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3795 ## Mailing found: '13904,13905,13906' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724640, Consumer Id: 1068608, Address Id: 5809928 => Updated with Vin: 1HGCD5638TA123397 ## Mail History Id: 31724670, Consumer Id: 1053864, Address Id: 3050922 => Updated with Vin: 1HGCD5683VA168777 ## Mail History Id: 31724658, Consumer Id: 1052771, Address Id: 2496579 => Updated with Vin: 1HGCM56384A125619 ## Mail History Id: 31724676, Consumer Id: 1052978, Address Id: 4468670 => Updated with Vin: 5FNRL18952B017372 ## Mail History Id: 31724712, Consumer Id: 1061274, Address Id: 3109623 => Updated with Vin: 2HKYF18785H549917 ## Total mail_history records updated with vin numbers: 5 out of 12 ============================================================ ====== Tracking Id: 3016 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-16 10:29:18') AND us2_order_type_id = 3 ## Order found: 2815 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2815 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3795 ## Mailing found: '13904,13905,13906' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724706, Consumer Id: 1068680, Address Id: 3093289 => Updated with Vin: 1J4GZ58S8SC736610 ## Mail History Id: 31724704, Consumer Id: 1052596, Address Id: 3086682 => Updated with Vin: 2HKRL18611H528728 ## Mail History Id: 31724714, Consumer Id: 1052595, Address Id: 12055950 => Updated with Vin: 5FNRL18982B039544 ## Mail History Id: 31724672, Consumer Id: 1056510, Address Id: 3053239 => Updated with Vin: 1HGCM66826A030459 ## Mail History Id: 31724694, Consumer Id: 1060108, Address Id: 4484816 => Updated with Vin: 1HGCP26848A049548 ## Mail History Id: 31724662, Consumer Id: 1068677, Address Id: 14961368 => Updated with Vin: 5J6YH28573L009587 ## Mail History Id: 31724722, Consumer Id: 1068676, Address Id: 14961367 => Updated with Vin: 2HGFA16577H314879 ## Total mail_history records updated with vin numbers: 7 out of 10 ============================================================ ====== Tracking Id: 3017 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-16 10:41:45') AND us2_order_type_id = 3 ## Order found: 2818 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2818 AND product_id = 140 ## Job Group Found: '598' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('598') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808007') AND customer_id = 3808 ## Mailing found: '13859' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3018 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-16 11:11:12') AND us2_order_type_id = 3 ## Order found: 2819 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2819 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3486 ## Mailing found: '13887,13888,13889' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724800, Consumer Id: 463397, Address Id: 4374560 => Updated with Vin: 3GNEC16Z74G105622 ## Mail History Id: 31724892, Consumer Id: 478521, Address Id: 9824207 => Updated with Vin: 1GNEK13Z24R159028 ## Mail History Id: 31724816, Consumer Id: 469220, Address Id: 9822411 => Updated with Vin: 3GNEC12J37G229228 ## Mail History Id: 31724834, Consumer Id: 470363, Address Id: 9575319 => Updated with Vin: 3GNDA23D87S636457 ## Mail History Id: 31724830, Consumer Id: 489459, Address Id: 8148800 => Updated with Vin: JTHBN30FX30117118 ## Mail History Id: 31724754, Consumer Id: 609806, Address Id: 11754647 => Updated with Vin: 1GCHK39R5TE146062 ## Mail History Id: 31724858, Consumer Id: 630685, Address Id: 1226036 => Updated with Vin: 2G1WT58K469212279 ## Mail History Id: 31724890, Consumer Id: 630692, Address Id: 11770914 => Updated with Vin: 1GNEC13Z53J297611 ## Mail History Id: 31724810, Consumer Id: 630691, Address Id: 11770913 => Updated with Vin: 1G2WJ14X9PF254189 ## Mail History Id: 31724786, Consumer Id: 630687, Address Id: 11770910 => Updated with Vin: 2G1WX12K039129689 ## Total mail_history records updated with vin numbers: 10 out of 12 ============================================================ ====== Tracking Id: 3019 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-16 11:11:29') AND us2_order_type_id = 3 ## Order found: 2819 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2819 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3486 ## Mailing found: '13887,13888,13889' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724894, Consumer Id: 476785, Address Id: 8118426 => Updated with Vin: 3GNEC13T33G333535 ## Mail History Id: 31724856, Consumer Id: 489916, Address Id: 7879152 => Updated with Vin: 2G1WP551949124051 ## Mail History Id: 31724728, Consumer Id: 486832, Address Id: 9826126 => Updated with Vin: 1G1AK52FX57622478 ## Mail History Id: 31724768, Consumer Id: 470715, Address Id: 2242627 => Updated with Vin: 3GNFC16078G136915 ## Mail History Id: 31724844, Consumer Id: 489910, Address Id: 9826320 => Updated with Vin: 1G1YY32G3X5105676 ## Mail History Id: 31724838, Consumer Id: 489936, Address Id: 9826331 => Updated with Vin: 2G1WF52E049285527 ## Total mail_history records updated with vin numbers: 6 out of 9 ============================================================ ====== Tracking Id: 3020 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-16 11:12:32') AND us2_order_type_id = 3 ## Order found: 2813 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2813 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3416 ## Mailing found: '13874,13875,13876' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724607, Consumer Id: 692643, Address Id: 11798448 => Updated with Vin: 137ZA8439VE174914 ## Mail History Id: 31724505, Consumer Id: 692881, Address Id: 11798562 => Updated with Vin: 4M2CU57195DJ30138 ## Mail History Id: 31724547, Consumer Id: 692846, Address Id: 3765049 => Updated with Vin: 1G2WJ52K7YF131734 ## Mail History Id: 31724501, Consumer Id: 692895, Address Id: 11798570 => Updated with Vin: 1G6DW677X70193907 ## Mail History Id: 31724489, Consumer Id: 692993, Address Id: 3758315 => Updated with Vin: 4JGAB75EX4A461083 ## Mail History Id: 31724475, Consumer Id: 625752, Address Id: 6870082 => Updated with Vin: 1G6DG577680144745 ## Mail History Id: 31724495, Consumer Id: 691443, Address Id: 10933774 => Updated with Vin: 1G6KD54Y64U153817 ## Mail History Id: 31724461, Consumer Id: 625352, Address Id: 1958738 => Updated with Vin: 1G6KD57YX7U153383 ## Mail History Id: 31724563, Consumer Id: 682225, Address Id: 1970078 => Updated with Vin: 1G6DM57N430153931 ## Mail History Id: 31724497, Consumer Id: 688437, Address Id: 1962938 => Updated with Vin: 1G6KD54Y1XU765797 ## Mail History Id: 31724463, Consumer Id: 685663, Address Id: 1958972 => Updated with Vin: 1G6KD54Y52U236961 ## Mail History Id: 31724503, Consumer Id: 684235, Address Id: 10933871 => Updated with Vin: 1G6KF5491VU261606 ## Mail History Id: 31724557, Consumer Id: 684295, Address Id: 1970032 => Updated with Vin: 1G6KY5495XU937875 ## Mail History Id: 31724525, Consumer Id: 691657, Address Id: 1967443 => Updated with Vin: 1G6KD57Y97U121640 ## Total mail_history records updated with vin numbers: 14 out of 14 ============================================================ ====== Tracking Id: 3021 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-16 11:12:42') AND us2_order_type_id = 3 ## Order found: 2820 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2820 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3022 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-16 11:12:54') AND us2_order_type_id = 3 ## Order found: 2813 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2813 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3416 ## Mailing found: '13874,13875,13876' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724541, Consumer Id: 692937, Address Id: 11798596 => Updated with Vin: 1GKET12S846200357 ## Mail History Id: 31724511, Consumer Id: 693120, Address Id: 11795176 => Updated with Vin: 1GNDT13S032256473 ## Mail History Id: 31724465, Consumer Id: 692268, Address Id: 1959134 => Updated with Vin: 1G6DW677470137882 ## Mail History Id: 31724629, Consumer Id: 693099, Address Id: 11798679 => Updated with Vin: 1G6DM57N030142098 ## Mail History Id: 31724573, Consumer Id: 625896, Address Id: 11766179 => Updated with Vin: 1G6KD54Y05U140403 ## Mail History Id: 31724457, Consumer Id: 683509, Address Id: 1966842 => Updated with Vin: 1G6KD54Y5WU794539 ## Mail History Id: 31724477, Consumer Id: 693109, Address Id: 1960537 => Updated with Vin: 1G6DW677670141187 ## Mail History Id: 31724453, Consumer Id: 681724, Address Id: 1966699 => Updated with Vin: 5GRGN23U23H139223 ## Mail History Id: 31724553, Consumer Id: 685919, Address Id: 11796103 => Updated with Vin: 1G6KY5494XU932960 ## Mail History Id: 31724533, Consumer Id: 686631, Address Id: 11796325 => Updated with Vin: 1GYEK13R5XR411698 ## Total mail_history records updated with vin numbers: 10 out of 10 ============================================================ ====== Tracking Id: 3023 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-16 11:13:00') AND us2_order_type_id = 3 ## Order found: 2820 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2820 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3024 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-16 11:13:04') AND us2_order_type_id = 3 ## Order found: 2820 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2820 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3491 ## Mailing found: '13890,13891,13892' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724845, Consumer Id: 812539, Address Id: 11887271 => Updated with Vin: 1GNFK13037R304460 ## Mail History Id: 31724893, Consumer Id: 838899, Address Id: 11895008 => Updated with Vin: 3GNDA23D56S599074 ## Mail History Id: 31724861, Consumer Id: 813648, Address Id: 11888198 => Updated with Vin: 2GCEK19B961282890 ## Mail History Id: 31724965, Consumer Id: 839089, Address Id: 11895088 => Updated with Vin: 1GCEC14W9TZ169645 ## Mail History Id: 31724897, Consumer Id: 839038, Address Id: 11895062 => Updated with Vin: 2G1WT58K079306256 ## Mail History Id: 31724843, Consumer Id: 839979, Address Id: 1299292 => Updated with Vin: 1G2NF52E94C134976 ## Mail History Id: 31724767, Consumer Id: 1289963, Address Id: 15466686 => Updated with Vin: 1G1AK58F887278161 ## Mail History Id: 31724837, Consumer Id: 839728, Address Id: 11895424 => Updated with Vin: 1GNEK13TX5R209137 ## Mail History Id: 31724875, Consumer Id: 815741, Address Id: 11890458 => Updated with Vin: 1G1JC52F157105812 ## Mail History Id: 31724915, Consumer Id: 837929, Address Id: 11894458 => Updated with Vin: 3GNGC26G64G307168 ## Mail History Id: 31724913, Consumer Id: 813647, Address Id: 11884013 => Updated with Vin: 1GNFC13017R376870 ## Mail History Id: 31724931, Consumer Id: 834554, Address Id: 11892339 => Updated with Vin: 1GCGK29U7YE113372 ## Total mail_history records updated with vin numbers: 12 out of 14 ============================================================ ====== Tracking Id: 3025 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-16 11:13:13') AND us2_order_type_id = 3 ## Order found: 2821 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2821 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3026 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-16 11:13:15') AND us2_order_type_id = 3 ## Order found: 2820 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2820 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3491 ## Mailing found: '13890,13891,13892' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724967, Consumer Id: 810327, Address Id: 11883265 => Updated with Vin: 1G1AK15F967802332 ## Mail History Id: 31724929, Consumer Id: 812827, Address Id: 11887458 => Updated with Vin: 1G1AK15F967802332 ## Mail History Id: 31724967, Consumer Id: 837000, Address Id: 11883265 => Updated with Vin: 1GTHK29U02Z276224 ## Mail History Id: 31724953, Consumer Id: 814149, Address Id: 11883550 => Updated with Vin: 5NPEU46F76H121214 ## Mail History Id: 31724945, Consumer Id: 814474, Address Id: 11889053 => Updated with Vin: 2G1WT58K479139898 ## Mail History Id: 31724935, Consumer Id: 814893, Address Id: 11889583 => Updated with Vin: 1FAFP56U96A207346 ## Mail History Id: 31724955, Consumer Id: 839403, Address Id: 11888872 => Updated with Vin: 1GNDS13S962360550 ## Mail History Id: 31724971, Consumer Id: 815254, Address Id: 11889818 => Updated with Vin: JN1AZ34D74T162174 ## Mail History Id: 31724993, Consumer Id: 815242, Address Id: 11889812 => Updated with Vin: 2FTRX17233CA54860 ## Mail History Id: 31724961, Consumer Id: 839584, Address Id: 11895346 => Updated with Vin: 2CNBJ18C7X6912437 ## Mail History Id: 31724829, Consumer Id: 815178, Address Id: 11889771 => Updated with Vin: 4F2YZ02Z06KM30693 ## Mail History Id: 31724903, Consumer Id: 808448, Address Id: 11851171 => Updated with Vin: 1G2HX52K534152920 ## Mail History Id: 31724863, Consumer Id: 815179, Address Id: 11889772 => Updated with Vin: 1G2HX52K534152920 ## Mail History Id: 31724925, Consumer Id: 839585, Address Id: 11895347 => Updated with Vin: 2G2WP552461149445 ## Mail History Id: 31724963, Consumer Id: 837719, Address Id: 11880132 => Updated with Vin: 1G1YY34U055119289 ## Mail History Id: 31724923, Consumer Id: 809075, Address Id: 11880895 => Updated with Vin: 1GCES14H76B122048 ## Mail History Id: 31724883, Consumer Id: 839599, Address Id: 11875847 => Updated with Vin: 1G1ZU64895F340114 ## Total mail_history records updated with vin numbers: 17 out of 18 ============================================================ ====== Tracking Id: 3027 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-16 11:13:20') AND us2_order_type_id = 3 ## Order found: 2821 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2821 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3525 ## Mailing found: '13894,13895,13896' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724367, Consumer Id: 520762, Address Id: 9849909 => Updated with Vin: KMHDN45D61U184386 ## Mail History Id: 31724349, Consumer Id: 526180, Address Id: 9856166 => Updated with Vin: KMHCG45C54U530655 ## Mail History Id: 31725226, Consumer Id: 521885, Address Id: 9851696 => Updated with Vin: KM8SB12B64U622359 ## Mail History Id: 31724373, Consumer Id: 487394, Address Id: 9851111 => Updated with Vin: 5NMSH13E27H026625 ## Mail History Id: 31724379, Consumer Id: 526368, Address Id: 9856341 => Updated with Vin: KMHHM65DX6U222273 ## Mail History Id: 31724325, Consumer Id: 525829, Address Id: 9855907 => Updated with Vin: KMHHN65FX5U168017 ## Mail History Id: 31725230, Consumer Id: 489348, Address Id: 9853163 => Updated with Vin: 5NPEU46FX7H234690 ## Total mail_history records updated with vin numbers: 7 out of 11 ============================================================ ====== Tracking Id: 3028 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-16 11:13:32') AND us2_order_type_id = 3 ## Order found: 2821 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2821 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3525 ## Mailing found: '13894,13895,13896' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724337, Consumer Id: 521705, Address Id: 9851305 => Updated with Vin: KMHWF35HX4A001029 ## Mail History Id: 31724363, Consumer Id: 523363, Address Id: 9854055 => Updated with Vin: KMHWF35H35A137164 ## Mail History Id: 31724347, Consumer Id: 524754, Address Id: 9855132 => Updated with Vin: 5NPEU46F26H065084 ## Mail History Id: 31724381, Consumer Id: 525760, Address Id: 9855876 => Updated with Vin: 5NPET46C16H170336 ## Mail History Id: 31724375, Consumer Id: 489174, Address Id: 9853038 => Updated with Vin: KM8SC13D44U699342 ## Mail History Id: 31724343, Consumer Id: 522054, Address Id: 2420536 => Updated with Vin: KM8SC13D64U808318 ## Mail History Id: 31724333, Consumer Id: 526213, Address Id: 9856190 => Updated with Vin: 5NPEU46F77H210573 ## Mail History Id: 31724331, Consumer Id: 488808, Address Id: 9852672 => Updated with Vin: 5NPET46C47H282792 ## Mail History Id: 31724359, Consumer Id: 488983, Address Id: 9852798 => Updated with Vin: KMHFC46F48A283105 ## Mail History Id: 31724341, Consumer Id: 489397, Address Id: 9853288 => Updated with Vin: 5NMSH13E28H147897 ## Mail History Id: 31724355, Consumer Id: 524850, Address Id: 9685178 => Updated with Vin: KMHFC46F96A045201 ## Mail History Id: 31724339, Consumer Id: 487562, Address Id: 9851254 => Updated with Vin: KM8JN12D86U374185 ## Total mail_history records updated with vin numbers: 12 out of 17 ============================================================ ====== Tracking Id: 3029 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-16 11:13:44') AND us2_order_type_id = 3 ## Order found: 2821 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2821 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3525 ## Mailing found: '13894,13895,13896' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724393, Consumer Id: 523031, Address Id: 9853797 => Updated with Vin: KM8SC13D94U701053 ## Mail History Id: 31725222, Consumer Id: 527592, Address Id: 9857064 => Updated with Vin: 5NPEU46F86H022711 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 3030 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-16 11:14:32') AND us2_order_type_id = 3 ## Order found: 2822 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2822 AND product_id = 144 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3705 ## Mailing found: '13821' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723866, Consumer Id: 973160, Address Id: 14835490 => Updated with Vin: 1G4HR54KX4U175478 ## Mail History Id: 31723872, Consumer Id: 974905, Address Id: 14843481 => Updated with Vin: 1GKEC13T85R177783 ## Mail History Id: 31723878, Consumer Id: 1170164, Address Id: 14837979 => Updated with Vin: 1G1AK18F487250608 ## Mail History Id: 31723874, Consumer Id: 970295, Address Id: 14841314 => Updated with Vin: 3GNDA23DX7S601404 ## Mail History Id: 31723868, Consumer Id: 970822, Address Id: 14841725 => Updated with Vin: 3GNDA23D66S679144 ## Mail History Id: 31723884, Consumer Id: 1173748, Address Id: 15032885 => Updated with Vin: 3A4FY48B77T543661 ## Mail History Id: 31723870, Consumer Id: 1173757, Address Id: 15032892 => Updated with Vin: 3GCEC13J58G276057 ## Mail History Id: 31723880, Consumer Id: 973211, Address Id: 14836194 => Updated with Vin: 2G2FV22G222115075 ## Mail History Id: 31723882, Consumer Id: 959939, Address Id: 14831141 => Updated with Vin: 3GNFK16Z02G253096 ## Mail History Id: 31723864, Consumer Id: 980163, Address Id: 14846514 => Updated with Vin: 1GNEC13T95R125680 ## Mail History Id: 31723876, Consumer Id: 977099, Address Id: 14831589 => Updated with Vin: 2GCEC13T351216283 ## Mail History Id: 31723862, Consumer Id: 980951, Address Id: 14846862 => Updated with Vin: 1G2WR5218YF115574 ## Total mail_history records updated with vin numbers: 12 out of 19 ============================================================ ====== Tracking Id: 3031 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-16 11:14:44') AND us2_order_type_id = 3 ## Order found: 2822 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2822 AND product_id = 106 ## Job Group Found: '596' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('596') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808005' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808005') AND customer_id = 3705 ## Mailing found: '13844' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725519, Consumer Id: 970877, Address Id: 9962272 => Updated with Vin: 3GNFC16018G162250 ## Mail History Id: 31725520, Consumer Id: 970831, Address Id: 14841733 => Updated with Vin: 1G1YY22G215109431 ## Mail History Id: 31725521, Consumer Id: 970837, Address Id: 14841736 => Updated with Vin: 1GKFC13C88R165433 ## Mail History Id: 31725522, Consumer Id: 970840, Address Id: 14841738 => Updated with Vin: 2GCEK13M681188138 ## Total mail_history records updated with vin numbers: 4 out of 5 ============================================================ ====== Tracking Id: 3032 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-16 11:14:50') AND us2_order_type_id = 3 ## Order found: 2818 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2818 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3808 ## Mailing found: '13907,13908,13909' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724725, Consumer Id: 1286042, Address Id: 15029930 => Updated with Vin: 1GCHK29G63E348854 ## Mail History Id: 31724713, Consumer Id: 1287059, Address Id: 15029294 => Updated with Vin: 1GNDS13S982123401 ## Mail History Id: 31724775, Consumer Id: 1287552, Address Id: 15464681 => Updated with Vin: 1G2NF52F82C145103 ## Mail History Id: 31724769, Consumer Id: 1287437, Address Id: 14813215 => Updated with Vin: 1GNDS13S132414175 ## Mail History Id: 31724655, Consumer Id: 1287429, Address Id: 15464639 => Updated with Vin: 1G1AK15F577370226 ## Mail History Id: 31724857, Consumer Id: 1287473, Address Id: 15464658 => Updated with Vin: 1GNEK13T35R184890 ## Mail History Id: 31724649, Consumer Id: 1287435, Address Id: 15464642 => Updated with Vin: 1GNDS13S682134873 ## Mail History Id: 31724653, Consumer Id: 1287362, Address Id: 15464590 => Updated with Vin: 1GNDT13W4W2288365 ## Mail History Id: 31724805, Consumer Id: 1283847, Address Id: 15462122 => Updated with Vin: 5B4MP67G943381148 ## Mail History Id: 31724795, Consumer Id: 1284288, Address Id: 15462440 => Updated with Vin: 1GTHK29215E259619 ## Mail History Id: 31724751, Consumer Id: 1267944, Address Id: 15453953 => Updated with Vin: 1G1ZS52F74F248760 ## Total mail_history records updated with vin numbers: 11 out of 12 ============================================================ ====== Tracking Id: 3033 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-16 11:15:03') AND us2_order_type_id = 3 ## Order found: 2823 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2823 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3721 ## Mailing found: '13822,13823' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724225, Consumer Id: 1016985, Address Id: 6666480 => Updated with Vin: 1YVHP80C265M52240 ## Mail History Id: 31724175, Consumer Id: 1015962, Address Id: 14932081 => Updated with Vin: 5J6YH28665L021855 ## Mail History Id: 31724215, Consumer Id: 1017354, Address Id: 14933433 => Updated with Vin: JM1BK123771624186 ## Mail History Id: 31724185, Consumer Id: 1008327, Address Id: 14930621 => Updated with Vin: 4F4YR12C4XTM44844 ## Mail History Id: 31724173, Consumer Id: 1010585, Address Id: 6659626 => Updated with Vin: JM3LW28A140516398 ## Mail History Id: 31724163, Consumer Id: 1013045, Address Id: 6659175 => Updated with Vin: JM1FE17N250154123 ## Mail History Id: 31724241, Consumer Id: 1010195, Address Id: 14931860 => Updated with Vin: JM1BK32F181119347 ## Mail History Id: 31724241, Consumer Id: 1010195, Address Id: 14931860 => Updated with Vin: JM1BK32F181119347 ## Mail History Id: 31724177, Consumer Id: 1010196, Address Id: 14931861 => Updated with Vin: JM1BK32F681827724 ## Mail History Id: 31724177, Consumer Id: 1010196, Address Id: 14931861 => Updated with Vin: JM1BK32F681827724 ## Mail History Id: 31724171, Consumer Id: 1013231, Address Id: 6659506 => Updated with Vin: JM1BK12F751320041 ## Mail History Id: 31724243, Consumer Id: 1015464, Address Id: 14932936 => Updated with Vin: JM3ER293270132022 ## Mail History Id: 31724155, Consumer Id: 1016157, Address Id: 6657470 => Updated with Vin: JM1BJ226031170103 ## Total mail_history records updated with vin numbers: 13 out of 16 ============================================================ ====== Tracking Id: 3034 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-16 11:15:11') AND us2_order_type_id = 3 ## Order found: 2818 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2818 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3808 ## Mailing found: '13907,13908,13909' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724703, Consumer Id: 1266333, Address Id: 15437839 => Updated with Vin: 2GCEC19T731412098 ## Mail History Id: 31724771, Consumer Id: 1266165, Address Id: 15437708 => Updated with Vin: 2G1WH52KX39219744 ## Mail History Id: 31724735, Consumer Id: 1266459, Address Id: 15437938 => Updated with Vin: KL1TD56647B066292 ## Mail History Id: 31724645, Consumer Id: 1266460, Address Id: 15437939 => Updated with Vin: 3GNFK16Z24G192109 ## Mail History Id: 31724661, Consumer Id: 1266336, Address Id: 15437841 => Updated with Vin: 2GTEK19T921407194 ## Mail History Id: 31724801, Consumer Id: 1266455, Address Id: 15437934 => Updated with Vin: 2GCEC19T9X1271671 ## Mail History Id: 31724663, Consumer Id: 1266328, Address Id: 15437836 => Updated with Vin: 2G1WX15K429147574 ## Mail History Id: 31724733, Consumer Id: 1266167, Address Id: 11574006 => Updated with Vin: 1GCHK23U54F148008 ## Mail History Id: 31724697, Consumer Id: 1266249, Address Id: 15437770 => Updated with Vin: 2G1WL52M5T9295730 ## Mail History Id: 31724799, Consumer Id: 1266463, Address Id: 15437940 => Updated with Vin: 1GNEC13Z94R267949 ## Mail History Id: 31724685, Consumer Id: 1266251, Address Id: 15437771 => Updated with Vin: 1G3GR62C5V4121587 ## Total mail_history records updated with vin numbers: 11 out of 11 ============================================================ ====== Tracking Id: 3035 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-16 11:15:21') AND us2_order_type_id = 3 ## Order found: 2822 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2822 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3036 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-16 11:15:34') AND us2_order_type_id = 3 ## Order found: 2818 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2818 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3808 ## Mailing found: '13907,13908,13909' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724675, Consumer Id: 1171707, Address Id: 15029854 => Updated with Vin: 1GBKP37N8N3313654 ## Mail History Id: 31724699, Consumer Id: 1171682, Address Id: 12833990 => Updated with Vin: 1G1YY32P6S5103736 ## Mail History Id: 31724773, Consumer Id: 1171606, Address Id: 15029771 => Updated with Vin: 1G1ZT51826F193265 ## Mail History Id: 31724689, Consumer Id: 1171656, Address Id: 15029814 => Updated with Vin: 2GCEC19R4W1178155 ## Mail History Id: 31724745, Consumer Id: 1171658, Address Id: 4512396 => Updated with Vin: 2G2FS22K3W2228939 ## Mail History Id: 31724783, Consumer Id: 1171239, Address Id: 15029448 => Updated with Vin: 1G1YY22G425108749 ## Mail History Id: 31724691, Consumer Id: 1171695, Address Id: 15029846 => Updated with Vin: 1GCCS145818198350 ## Mail History Id: 31724763, Consumer Id: 1171734, Address Id: 15029879 => Updated with Vin: 1GCEC19V76Z231578 ## Mail History Id: 31724639, Consumer Id: 1170714, Address Id: 15028963 => Updated with Vin: 1GCCS148648135231 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 3037 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-16 11:40:58') AND us2_order_type_id = 3 ## Order found: 2824 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2824 AND product_id = 142 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3357 ## Mailing found: '13810' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724248, Consumer Id: 189760, Address Id: 396233 => Updated with Vin: 1FMDU74E24UB92780 ## Mail History Id: 31724200, Consumer Id: 820036, Address Id: 404512 => Updated with Vin: 1FAHP33N38W197932 ## Mail History Id: 31724258, Consumer Id: 1173055, Address Id: 881669 => Updated with Vin: 1FMEU31837UA16935 ## Mail History Id: 31724212, Consumer Id: 1173054, Address Id: 11827457 => Updated with Vin: 1FMEU15H7PLA05232 ## Mail History Id: 31724232, Consumer Id: 1173049, Address Id: 15030833 => Updated with Vin: 1FAFP56UX7A149121 ## Mail History Id: 31724270, Consumer Id: 1173047, Address Id: 254200 => Updated with Vin: 1YVHP84C285M15685 ## Mail History Id: 31724276, Consumer Id: 191867, Address Id: 401454 => Updated with Vin: 1FMZU77EX1UC03375 ## Mail History Id: 31724300, Consumer Id: 188468, Address Id: 399271 => Updated with Vin: 1FAHP60A92Y127799 ## Mail History Id: 31724186, Consumer Id: 190762, Address Id: 401337 => Updated with Vin: 4F2YU09142KM31211 ## Mail History Id: 31724168, Consumer Id: 187415, Address Id: 398349 => Updated with Vin: 1FTPW145X5KC54447 ## Mail History Id: 31724180, Consumer Id: 199209, Address Id: 406763 => Updated with Vin: 5LMFU28R54LJ41950 ## Mail History Id: 31724208, Consumer Id: 1173050, Address Id: 402721 => Updated with Vin: 1FTRX12W44NB86273 ## Mail History Id: 31724146, Consumer Id: 939736, Address Id: 11961408 => Updated with Vin: 1ZVFT80N855129963 ## Mail History Id: 31724292, Consumer Id: 1173041, Address Id: 6904204 => Updated with Vin: 1ZVFT84N955216457 ## Mail History Id: 31724224, Consumer Id: 1173040, Address Id: 15030827 => Updated with Vin: 4M2YU57145DJ19814 ## Mail History Id: 31724240, Consumer Id: 1173044, Address Id: 15030830 => Updated with Vin: 1FDXX46P85EA25966 ## Mail History Id: 31724284, Consumer Id: 199460, Address Id: 398435 => Updated with Vin: 1FTPW14515FA11943 ## Mail History Id: 31724152, Consumer Id: 1173064, Address Id: 15030844 => Updated with Vin: 1FMCU03155KC23034 ## Mail History Id: 31724150, Consumer Id: 155930, Address Id: 397946 => Updated with Vin: 5LMFU285X5LJ17366 ## Mail History Id: 31724254, Consumer Id: 190780, Address Id: 401339 => Updated with Vin: 1FMEU648X6UA42105 ## Mail History Id: 31724188, Consumer Id: 155215, Address Id: 397291 => Updated with Vin: 1ZVFT80N075324426 ## Mail History Id: 31724248, Consumer Id: 154043, Address Id: 396233 => Updated with Vin: 1FMCU59H07KB52653 ## Mail History Id: 31724274, Consumer Id: 154590, Address Id: 396734 => Updated with Vin: 1FMEU63E17UB13734 ## Mail History Id: 31724166, Consumer Id: 1173052, Address Id: 398809 => Updated with Vin: 1FAFP34N77W140282 ## Mail History Id: 31724246, Consumer Id: 191303, Address Id: 400100 => Updated with Vin: 1FMZU73E6YZB28595 ## Mail History Id: 31724260, Consumer Id: 188648, Address Id: 399813 => Updated with Vin: 1FTRW08L82KC02905 ## Mail History Id: 31724176, Consumer Id: 193801, Address Id: 403838 => Updated with Vin: 1YVFP80D035M28546 ## Mail History Id: 31724190, Consumer Id: 191251, Address Id: 401373 => Updated with Vin: 1FTPX12524NB60964 ## Mail History Id: 31724156, Consumer Id: 154973, Address Id: 397068 => Updated with Vin: 1FMCU02Z88KA91351 ## Mail History Id: 31724262, Consumer Id: 1173057, Address Id: 15030838 => Updated with Vin: 1FMEU15H6PLA52607 ## Mail History Id: 31724160, Consumer Id: 1173058, Address Id: 15030839 => Updated with Vin: 1FBJS31L9VHB35323 ## Mail History Id: 31724286, Consumer Id: 1173063, Address Id: 15030843 => Updated with Vin: 3FCMF53G7VJA19124 ## Mail History Id: 31724220, Consumer Id: 1173059, Address Id: 15030840 => Updated with Vin: 1FMYU22X0XUC41522 ## Total mail_history records updated with vin numbers: 33 out of 44 ============================================================ ====== Tracking Id: 3038 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-16 11:41:03') AND us2_order_type_id = 3 ## Order found: 2824 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2824 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3039 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-16 11:41:06') AND us2_order_type_id = 3 ## Order found: 2824 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2824 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3040 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-16 11:41:09') AND us2_order_type_id = 3 ## Order found: 2824 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2824 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3357 ## Mailing found: '13871,13872,13873' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725227, Consumer Id: 155639, Address Id: 397679 => Updated with Vin: 1FTRW08L72KA02873 ## Mail History Id: 31725229, Consumer Id: 155638, Address Id: 395912 => Updated with Vin: JM1BK32G181823895 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 3041 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-16 11:41:10') AND us2_order_type_id = 3 ## Order found: 2823 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2823 AND product_id = 2150 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3721 ## Mailing found: '13822,13823' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724161, Consumer Id: 1017219, Address Id: 14933391 => Updated with Vin: JM1BK323071751261 ## Mail History Id: 31724221, Consumer Id: 1012040, Address Id: 6664159 => Updated with Vin: JM3LW28A430358556 ## Mail History Id: 31724183, Consumer Id: 1007943, Address Id: 6660557 => Updated with Vin: JM1BJ245131124462 ## Mail History Id: 31724189, Consumer Id: 1011229, Address Id: 6661359 => Updated with Vin: JM1BJ225320550614 ## Mail History Id: 31724201, Consumer Id: 1009636, Address Id: 6662827 => Updated with Vin: JM3ER293X70136870 ## Mail History Id: 31724229, Consumer Id: 1007505, Address Id: 6666789 => Updated with Vin: JM3LW28J620308708 ## Mail History Id: 31724237, Consumer Id: 1009802, Address Id: 14931685 => Updated with Vin: JM1BK123271622703 ## Mail History Id: 31724247, Consumer Id: 1017507, Address Id: 14933489 => Updated with Vin: JM1BK343941161908 ## Total mail_history records updated with vin numbers: 8 out of 9 ============================================================ ====== Tracking Id: 3042 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-16 11:41:23') AND us2_order_type_id = 3 ## Order found: 2823 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2823 AND product_id = 2147 ## Job Group Found: '593' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('593') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808002') AND customer_id = 3721 ## Mailing found: '13785' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725269, Consumer Id: 1016168, Address Id: 6658381 => Updated with Vin: JM1CR293860108399 ## Mail History Id: 31725271, Consumer Id: 1010586, Address Id: 6660142 => Updated with Vin: JM3LW28AX40516223 ## Mail History Id: 31725273, Consumer Id: 1010232, Address Id: 14931886 => Updated with Vin: KNDJF724877440660 ## Mail History Id: 31725275, Consumer Id: 1015964, Address Id: 14933082 => Updated with Vin: JM3ER293770121162 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 3043 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-16 12:14:05') AND us2_order_type_id = 3 ## Order found: 2825 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2825 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3044 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-16 12:14:09') AND us2_order_type_id = 3 ## Order found: 2825 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2825 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3045 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-16 12:14:12') AND us2_order_type_id = 3 ## Order found: 2825 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2825 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3427 ## Mailing found: '13878,13879' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724482, Consumer Id: 483803, Address Id: 9838313 => Updated with Vin: 5J6RE48328L011164 ## Mail History Id: 31724472, Consumer Id: 483804, Address Id: 6842971 => Updated with Vin: 1HGCP26838A038833 ## Mail History Id: 31724484, Consumer Id: 483805, Address Id: 9838314 => Updated with Vin: JHLRD28471S016039 ## Mail History Id: 31724476, Consumer Id: 483806, Address Id: 9838315 => Updated with Vin: 1HGFA16538L070698 ## Mail History Id: 31724478, Consumer Id: 483807, Address Id: 9838316 => Updated with Vin: 1HGCP26478A080628 ## Mail History Id: 31724474, Consumer Id: 483809, Address Id: 9838318 => Updated with Vin: 2HGFG12608H534749 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 3046 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-16 12:14:20') AND us2_order_type_id = 3 ## Order found: 2826 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2826 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3471 ## Mailing found: '13816' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724034, Consumer Id: 798190, Address Id: 10217195 => Updated with Vin: 1G6KE57Y62U206781 ## Mail History Id: 31723890, Consumer Id: 799857, Address Id: 7878121 => Updated with Vin: W06VR54R21R028818 ## Mail History Id: 31723992, Consumer Id: 806551, Address Id: 7416861 => Updated with Vin: 1G6DP567950114751 ## Mail History Id: 31724064, Consumer Id: 822976, Address Id: 10220322 => Updated with Vin: 1G6KD54Y12U150224 ## Mail History Id: 31723936, Consumer Id: 823029, Address Id: 11876292 => Updated with Vin: 1GYFK63807R274226 ## Mail History Id: 31723924, Consumer Id: 802171, Address Id: 7415482 => Updated with Vin: 1G6DM577940103576 ## Mail History Id: 31723948, Consumer Id: 823244, Address Id: 7415886 => Updated with Vin: 3GYFK62887G194013 ## Mail History Id: 31724032, Consumer Id: 823469, Address Id: 11878924 => Updated with Vin: 1GNDT13S432399815 ## Mail History Id: 31723902, Consumer Id: 823468, Address Id: 11878923 => Updated with Vin: JTHBD192030064534 ## Mail History Id: 31724096, Consumer Id: 807094, Address Id: 11877046 => Updated with Vin: 1G6DT57V280185125 ## Mail History Id: 31723956, Consumer Id: 797779, Address Id: 11869574 => Updated with Vin: 1G6KF5796YU307396 ## Mail History Id: 31723956, Consumer Id: 797779, Address Id: 11869574 => Updated with Vin: 1G6KF5796YU307396 ## Mail History Id: 31723304, Consumer Id: 937288, Address Id: 11755005 => Updated with Vin: 3GYFK62898G235993 ## Mail History Id: 31723942, Consumer Id: 759643, Address Id: 11850930 => Updated with Vin: 1G6KD57Y27U138117 ## Mail History Id: 31723942, Consumer Id: 759643, Address Id: 11850930 => Updated with Vin: 1G6KD57Y27U138117 ## Total mail_history records updated with vin numbers: 15 out of 20 ============================================================ ====== Tracking Id: 3047 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-16 12:14:31') AND us2_order_type_id = 3 ## Order found: 2826 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2826 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3471 ## Mailing found: '13886' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725035, Consumer Id: 820856, Address Id: 10213893 => Updated with Vin: 1GYEE637660142620 ## Mail History Id: 31725045, Consumer Id: 822604, Address Id: 10216086 => Updated with Vin: 1GYFK66837R317906 ## Mail History Id: 31725039, Consumer Id: 801527, Address Id: 7417025 => Updated with Vin: 1G6KS54Y8YU305849 ## Mail History Id: 31725025, Consumer Id: 807139, Address Id: 7878405 => Updated with Vin: 1G6KF5495XU774781 ## Mail History Id: 31725037, Consumer Id: 806916, Address Id: 7416993 => Updated with Vin: WDBJF70H4XA779911 ## Mail History Id: 31725053, Consumer Id: 820821, Address Id: 11876811 => Updated with Vin: 1G6DW677560145679 ## Mail History Id: 31725049, Consumer Id: 822466, Address Id: 10217552 => Updated with Vin: 1GYEK63N43R298699 ## Mail History Id: 31725031, Consumer Id: 823360, Address Id: 10213504 => Updated with Vin: 1GYEE637070165330 ## Mail History Id: 31725029, Consumer Id: 817574, Address Id: 7415552 => Updated with Vin: 1GYEK63N13R294822 ## Mail History Id: 31725023, Consumer Id: 807018, Address Id: 11876723 => Updated with Vin: 1GYEK63N72R175302 ## Mail History Id: 31725027, Consumer Id: 823380, Address Id: 11878893 => Updated with Vin: 1FTRW08LX2KE19288 ## Mail History Id: 31725041, Consumer Id: 823361, Address Id: 11876394 => Updated with Vin: 1G6KE57Y85U181418 ## Total mail_history records updated with vin numbers: 12 out of 15 ============================================================ ====== Tracking Id: 3048 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-16 12:14:34') AND us2_order_type_id = 3 ## Order found: 2827 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2827 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3451 ## Mailing found: '13814' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724104, Consumer Id: 613578, Address Id: 825137 => Updated with Vin: 1G6KE54YXXU754472 ## Mail History Id: 31724132, Consumer Id: 616566, Address Id: 11758638 => Updated with Vin: 1G6KD54Y4VU240679 ## Mail History Id: 31724134, Consumer Id: 621192, Address Id: 11761863 => Updated with Vin: 1G6KD54Y3VU276072 ## Mail History Id: 31724106, Consumer Id: 940076, Address Id: 826361 => Updated with Vin: 1G6KD54Y15U255513 ## Mail History Id: 31724120, Consumer Id: 613861, Address Id: 11756996 => Updated with Vin: 1G6KD54Y92U257327 ## Mail History Id: 31724128, Consumer Id: 613864, Address Id: 11756841 => Updated with Vin: 1G6CB5181H4229593 ## Mail History Id: 31724126, Consumer Id: 613590, Address Id: 840067 => Updated with Vin: 1G6KE57Y8YU281958 ## Mail History Id: 31724124, Consumer Id: 626465, Address Id: 839332 => Updated with Vin: 1G6KF5497XU730474 ## Mail History Id: 31724112, Consumer Id: 618291, Address Id: 831755 => Updated with Vin: 1G6KS54Y43U236490 ## Mail History Id: 31724100, Consumer Id: 617622, Address Id: 823729 => Updated with Vin: 1G6KD54Y83U285993 ## Mail History Id: 31724130, Consumer Id: 619717, Address Id: 11760831 => Updated with Vin: 1G6ET1295VU610199 ## Mail History Id: 31724110, Consumer Id: 624450, Address Id: 3404170 => Updated with Vin: 1G6KD54YX5U197014 ## Mail History Id: 31724098, Consumer Id: 618904, Address Id: 823502 => Updated with Vin: 1G6DM577440143760 ## Mail History Id: 31724114, Consumer Id: 611534, Address Id: 4550712 => Updated with Vin: 1GYEE63A650211641 ## Mail History Id: 31724118, Consumer Id: 611573, Address Id: 836599 => Updated with Vin: 1GYEC63T63R204947 ## Mail History Id: 31724102, Consumer Id: 940078, Address Id: 824380 => Updated with Vin: 1GYEC63TX5R138633 ## Mail History Id: 31724138, Consumer Id: 619249, Address Id: 11760719 => Updated with Vin: 1G6DC67A350142685 ## Mail History Id: 31724108, Consumer Id: 619348, Address Id: 11760982 => Updated with Vin: 1G6KD54Y5WU800453 ## Mail History Id: 31724136, Consumer Id: 627035, Address Id: 11764656 => Updated with Vin: 1G6KD57Y97U219048 ## Mail History Id: 31724122, Consumer Id: 619483, Address Id: 11761222 => Updated with Vin: 1G6DM577180110477 ## Mail History Id: 31724116, Consumer Id: 939514, Address Id: 1010862 => Updated with Vin: 1G6DM57N230133659 ## Total mail_history records updated with vin numbers: 21 out of 26 ============================================================ ====== Tracking Id: 3049 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-16 14:10:50') AND us2_order_type_id = 3 ## Order found: 2814 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2814 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3418 ## Mailing found: '13812,13813' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723408, Consumer Id: 629816, Address Id: 11770030 => Updated with Vin: 2D4GP44L96R860700 ## Mail History Id: 31723448, Consumer Id: 629803, Address Id: 11770018 => Updated with Vin: 2MEHM75V93X698939 ## Mail History Id: 31723390, Consumer Id: 610681, Address Id: 11755370 => Updated with Vin: 1G6DV57V680158388 ## Mail History Id: 31723262, Consumer Id: 610782, Address Id: 11755457 => Updated with Vin: 1G6DJ577680167203 ## Mail History Id: 31723272, Consumer Id: 629782, Address Id: 11770002 => Updated with Vin: 1G6KD52Y0VU200859 ## Mail History Id: 31723246, Consumer Id: 629604, Address Id: 11770000 => Updated with Vin: 2A4GP54L96R671557 ## Mail History Id: 31723320, Consumer Id: 630529, Address Id: 11770968 => Updated with Vin: 1G6DW677870158086 ## Mail History Id: 31723424, Consumer Id: 629817, Address Id: 11770031 => Updated with Vin: 1G6DP567150119765 ## Mail History Id: 31723310, Consumer Id: 629781, Address Id: 11770001 => Updated with Vin: 1G6DW677270160271 ## Mail History Id: 31723306, Consumer Id: 629791, Address Id: 11770008 => Updated with Vin: 1GCDT136848143588 ## Mail History Id: 31723420, Consumer Id: 629811, Address Id: 11770026 => Updated with Vin: 2A8GM48LX7R202099 ## Mail History Id: 31723406, Consumer Id: 629814, Address Id: 11770028 => Updated with Vin: 1G6DM57TX60121570 ## Mail History Id: 31723374, Consumer Id: 629815, Address Id: 11770029 => Updated with Vin: 1G6KY54931U226182 ## Mail History Id: 31723398, Consumer Id: 629807, Address Id: 11770022 => Updated with Vin: 1GYEK63N16R155455 ## Mail History Id: 31723292, Consumer Id: 629786, Address Id: 11770005 => Updated with Vin: 1G6DM57N930159143 ## Mail History Id: 31723446, Consumer Id: 629806, Address Id: 11770021 => Updated with Vin: 1G6DP577560213485 ## Mail History Id: 31723298, Consumer Id: 629809, Address Id: 11770024 => Updated with Vin: 1G6DW677X60182727 ## Mail History Id: 31723432, Consumer Id: 629792, Address Id: 11770009 => Updated with Vin: 1G6KD57Y46U251324 ## Mail History Id: 31723264, Consumer Id: 629790, Address Id: 11418685 => Updated with Vin: 1G6DP577870103791 ## Mail History Id: 31723354, Consumer Id: 629789, Address Id: 11770007 => Updated with Vin: 1GYFK63897R212663 ## Mail History Id: 31723354, Consumer Id: 629789, Address Id: 11770007 => Updated with Vin: 1GYFK63897R212663 ## Mail History Id: 31723438, Consumer Id: 629783, Address Id: 11770003 => Updated with Vin: 1GYFK66887R298740 ## Mail History Id: 31723440, Consumer Id: 629795, Address Id: 11770012 => Updated with Vin: 1G6KD57Y47U120959 ## Mail History Id: 31723278, Consumer Id: 629804, Address Id: 11770019 => Updated with Vin: 1G6DM577X40141852 ## Mail History Id: 31724143, Consumer Id: 629818, Address Id: 11770032 => Updated with Vin: 1GYFK66857R388735 ## Mail History Id: 31723348, Consumer Id: 629799, Address Id: 11770015 => Updated with Vin: 1GYFK63827R389779 ## Mail History Id: 31723250, Consumer Id: 610764, Address Id: 11755441 => Updated with Vin: 1GYFK63888R168107 ## Mail History Id: 31723234, Consumer Id: 629787, Address Id: 11770006 => Updated with Vin: 1G6KD57Y17U199071 ## Mail History Id: 31723350, Consumer Id: 629788, Address Id: 11755294 => Updated with Vin: 1G6DW67V380106445 ## Mail History Id: 31723428, Consumer Id: 629796, Address Id: 11770013 => Updated with Vin: 1G6KD57Y26U224090 ## Mail History Id: 31723806, Consumer Id: 629797, Address Id: 11770014 => Updated with Vin: 1G6KD57Y26U126063 ## Mail History Id: 31723466, Consumer Id: 629813, Address Id: 6772827 => Updated with Vin: 1G6DM577740101633 ## Mail History Id: 31723450, Consumer Id: 629808, Address Id: 11770023 => Updated with Vin: 1G6CD53B3P4201327 ## Mail History Id: 31723266, Consumer Id: 629794, Address Id: 11770011 => Updated with Vin: 1G6KD54Y7XU784743 ## Mail History Id: 31723396, Consumer Id: 629810, Address Id: 11770025 => Updated with Vin: 1G6KS52Y8VU843143 ## Mail History Id: 31723476, Consumer Id: 629793, Address Id: 11770010 => Updated with Vin: 1G6KS54Y02U160748 ## Mail History Id: 31723276, Consumer Id: 629798, Address Id: 10323803 => Updated with Vin: 1G6DM57T960170713 ## Mail History Id: 31723541, Consumer Id: 610375, Address Id: 11755107 => Updated with Vin: 1GYFK66807R358543 ## Mail History Id: 31723402, Consumer Id: 629805, Address Id: 11770020 => Updated with Vin: 1G6KD54Y02U260598 ## Total mail_history records updated with vin numbers: 39 out of 56 ============================================================ ====== Tracking Id: 3050 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-16 14:11:06') AND us2_order_type_id = 3 ## Order found: 2827 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2827 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3451 ## Mailing found: '13880,13881,13882' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725099, Consumer Id: 612434, Address Id: 11756121 => Updated with Vin: 1GYEK63N62R136037 ## Mail History Id: 31725075, Consumer Id: 613274, Address Id: 11756639 => Updated with Vin: 1G6KE57Y41U197478 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 3051 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-16 14:11:18') AND us2_order_type_id = 3 ## Order found: 2827 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2827 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3451 ## Mailing found: '13880,13881,13882' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725073, Consumer Id: 626143, Address Id: 828376 => Updated with Vin: 1G6DP577860173905 ## Mail History Id: 31725083, Consumer Id: 616332, Address Id: 834045 => Updated with Vin: 1G6KD54Y13U254813 ## Mail History Id: 31725089, Consumer Id: 618401, Address Id: 835253 => Updated with Vin: 1G6KS54YX2U161406 ## Mail History Id: 31725121, Consumer Id: 621623, Address Id: 11762094 => Updated with Vin: 1G6DM57N230138859 ## Mail History Id: 31725111, Consumer Id: 624868, Address Id: 3244014 => Updated with Vin: 1G6KD54Y73U119626 ## Mail History Id: 31725119, Consumer Id: 626366, Address Id: 3405557 => Updated with Vin: 1G6DW677450176632 ## Mail History Id: 31725067, Consumer Id: 619446, Address Id: 11761194 => Updated with Vin: 3N1CB51D96L550544 ## Mail History Id: 31725091, Consumer Id: 628281, Address Id: 11765567 => Updated with Vin: 2GCEC13N761307382 ## Mail History Id: 31725079, Consumer Id: 628289, Address Id: 11765569 => Updated with Vin: 1GNFK13047R256810 ## Mail History Id: 31725077, Consumer Id: 628290, Address Id: 831929 => Updated with Vin: 1GYFK63877R357667 ## Mail History Id: 31725105, Consumer Id: 619457, Address Id: 11761204 => Updated with Vin: 3GYEK62N25G168330 ## Mail History Id: 31725055, Consumer Id: 619463, Address Id: 11761207 => Updated with Vin: 1G6DW677950229146 ## Mail History Id: 31725085, Consumer Id: 619441, Address Id: 11761190 => Updated with Vin: 2B3KA43R77H714030 ## Total mail_history records updated with vin numbers: 13 out of 15 ============================================================ ====== Tracking Id: 3052 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-16 19:11:02') AND us2_order_type_id = 3 ## Order found: 2824 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2824 AND product_id = 55 ## Job Group Found: '594' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('594') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808003') AND customer_id = 3357 ## Mailing found: '13835' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725506, Consumer Id: 2051522, Address Id: 17136840 => Updated with Vin: 1D4HB48N74F222691 ## Mail History Id: 31725508, Consumer Id: 2049095, Address Id: 10553575 => Updated with Vin: 1D7HA18N57S164239 ## Mail History Id: 31725510, Consumer Id: 2047774, Address Id: 17091679 => Updated with Vin: 2FMDK38C28BB40147 ## Mail History Id: 31725512, Consumer Id: 2047773, Address Id: 17091678 => Updated with Vin: 1FMCU49339KA44819 ## Mail History Id: 31725514, Consumer Id: 2047775, Address Id: 17091680 => Updated with Vin: 1FAHP37N49W106890 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 3053 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-16 20:00:43') AND us2_order_type_id = 3 ## Order found: 2812 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2812 AND product_id = 2147 ## Job Group Found: '593' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('593') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808002') AND customer_id = 3846 ## Mailing found: '13787' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725270, Consumer Id: 1184583, Address Id: 15368717 => Updated with Vin: 4S3BK435XW6306761 ## Mail History Id: 31725272, Consumer Id: 1183699, Address Id: 15367843 => Updated with Vin: 4S3BK4352X6301443 ## Mail History Id: 31725274, Consumer Id: 1187141, Address Id: 9730857 => Updated with Vin: JF1GD70644L512452 ## Mail History Id: 31725276, Consumer Id: 1187047, Address Id: 15371397 => Updated with Vin: JF1SG636X6H712183 ## Mail History Id: 31725278, Consumer Id: 1187138, Address Id: 15371450 => Updated with Vin: JF1GG68582H820947 ## Mail History Id: 31725280, Consumer Id: 1186961, Address Id: 15371428 => Updated with Vin: JF1SG656X4H731973 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 3054 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-16 20:00:55') AND us2_order_type_id = 3 ## Order found: 2812 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2812 AND product_id = 2150 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3846 ## Mailing found: '13829,13830' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723481, Consumer Id: 1187089, Address Id: 15371396 => Updated with Vin: 4S4BP86C884301247 ## Mail History Id: 31723297, Consumer Id: 1182247, Address Id: 15369396 => Updated with Vin: 4S4BP61CX77309097 ## Mail History Id: 31723399, Consumer Id: 1182472, Address Id: 15369673 => Updated with Vin: 4S4BP86C674328302 ## Mail History Id: 31723531, Consumer Id: 1187097, Address Id: 15371401 => Updated with Vin: 4S4WX82C864420694 ## Mail History Id: 31723213, Consumer Id: 1184569, Address Id: 1725431 => Updated with Vin: JF1SF63511H703228 ## Mail History Id: 31723437, Consumer Id: 1187103, Address Id: 15371403 => Updated with Vin: 4S4BL86C774200551 ## Total mail_history records updated with vin numbers: 6 out of 7 ============================================================ ====== Tracking Id: 3055 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-16 20:01:07') AND us2_order_type_id = 3 ## Order found: 2812 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2812 AND product_id = 2152 ## Job Group Found: '598' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('598') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808007') AND customer_id = 3846 ## Mailing found: '13861' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3056 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-16 20:10:50') AND us2_order_type_id = 3 ## Order found: 2808 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2808 AND product_id = 2152 ## Job Group Found: '598' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('598') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808007') AND customer_id = 3503 ## Mailing found: '13856' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725387, Consumer Id: 2169379, Address Id: 9738353 => Updated with Vin: 4T1BF22K91U959002 ## Mail History Id: 31725389, Consumer Id: 2179190, Address Id: 9730070 => Updated with Vin: JTEHH20V310087585 ## Total mail_history records updated with vin numbers: 2 out of 5 ============================================================ ====== Tracking Id: 3057 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-16 20:11:02') AND us2_order_type_id = 3 ## Order found: 2808 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2808 AND product_id = 2153 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3503 ## Mailing found: '13893' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724402, Consumer Id: 2168736, Address Id: 4379632 => Updated with Vin: 5TFMT52117X004930 ## Mail History Id: 31724336, Consumer Id: 2168900, Address Id: 9737564 => Updated with Vin: 4T1FA38P38U140196 ## Mail History Id: 31724420, Consumer Id: 2166186, Address Id: 9727689 => Updated with Vin: 4T1BE46K07U603359 ## Mail History Id: 31724440, Consumer Id: 2161597, Address Id: 34979 => Updated with Vin: 4T1BE32K85U430428 ## Mail History Id: 31724422, Consumer Id: 2181731, Address Id: 9728468 => Updated with Vin: JTEHD20V950043513 ## Mail History Id: 31724368, Consumer Id: 2177821, Address Id: 9727184 => Updated with Vin: JTDBR38E742035564 ## Mail History Id: 31724380, Consumer Id: 2166096, Address Id: 461393 => Updated with Vin: 4T1BE46K77U073200 ## Mail History Id: 31724346, Consumer Id: 2182735, Address Id: 9734609 => Updated with Vin: 5TDZA22C44S218887 ## Mail History Id: 31724428, Consumer Id: 2164550, Address Id: 9731019 => Updated with Vin: JTMBD32V665015802 ## Mail History Id: 31724418, Consumer Id: 2178735, Address Id: 9719995 => Updated with Vin: JTEGD21A740081828 ## Mail History Id: 31724426, Consumer Id: 2180751, Address Id: 9734163 => Updated with Vin: 4T1BE32K63U251155 ## Mail History Id: 31724318, Consumer Id: 345149, Address Id: 9736266 => Updated with Vin: 5TDBT44AX6S274144 ## Mail History Id: 31724432, Consumer Id: 2182931, Address Id: 9736437 => Updated with Vin: JTEBU14R158033914 ## Mail History Id: 31724326, Consumer Id: 2163022, Address Id: 9729048 => Updated with Vin: 4T1BE32K73U647465 ## Mail History Id: 31724354, Consumer Id: 2172007, Address Id: 9719727 => Updated with Vin: 4T1BF30K82U537975 ## Mail History Id: 31724456, Consumer Id: 2168918, Address Id: 9737580 => Updated with Vin: 2T1BR32E78C884982 ## Total mail_history records updated with vin numbers: 16 out of 32 ============================================================ ====== Tracking Id: 3058 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-16 20:11:14') AND us2_order_type_id = 3 ## Order found: 2808 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2808 AND product_id = 2150 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3503 ## Mailing found: '13817,13818' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723423, Consumer Id: 2162976, Address Id: 9729010 => Updated with Vin: JTEGD20V850073436 ## Mail History Id: 31723451, Consumer Id: 2165390, Address Id: 9731861 => Updated with Vin: 4T1BE32K96U717262 ## Mail History Id: 31723473, Consumer Id: 2168680, Address Id: 9735987 => Updated with Vin: 4T1BE46K97U059928 ## Total mail_history records updated with vin numbers: 3 out of 5 ============================================================ ====== Tracking Id: 3059 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-17 07:11:25') AND us2_order_type_id = 3 ## Order found: 2875 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2875 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3060 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-17 08:11:26') AND us2_order_type_id = 3 ## Order found: 2848 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2848 AND product_id = 55 ## Job Group Found: '594' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('594') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808003') AND customer_id = 3230 ## Mailing found: '13834' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725501, Consumer Id: 2052406, Address Id: 17138643 => Updated with Vin: 1FMDK02W58GA37573 ## Mail History Id: 31725503, Consumer Id: 2052405, Address Id: 49221 => Updated with Vin: 1FMCU03158KE82790 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 3061 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-17 08:41:21') AND us2_order_type_id = 3 ## Order found: 2848 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2848 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3230 ## Mailing found: '13809' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723336, Consumer Id: 93308, Address Id: 51810 => Updated with Vin: 1FTPX14V08FA07741 ## Mail History Id: 31723694, Consumer Id: 232937, Address Id: 445900 => Updated with Vin: 2FALP74W2PX199117 ## Mail History Id: 31723658, Consumer Id: 64803, Address Id: 48798 => Updated with Vin: 1FTPX14565NB62103 ## Mail History Id: 31723504, Consumer Id: 65936, Address Id: 49449 => Updated with Vin: 1FAFP55UX4G117523 ## Mail History Id: 31723742, Consumer Id: 93325, Address Id: 51819 => Updated with Vin: KM8SC83D31U122385 ## Mail History Id: 31723332, Consumer Id: 939687, Address Id: 11961358 => Updated with Vin: 1FTYR44E72TA71395 ## Mail History Id: 31723330, Consumer Id: 64242, Address Id: 48125 => Updated with Vin: 2FMZA52224BA82829 ## Mail History Id: 31723744, Consumer Id: 939685, Address Id: 11961357 => Updated with Vin: 1FTHX26H1RKB27414 ## Mail History Id: 31723696, Consumer Id: 93538, Address Id: 52036 => Updated with Vin: 1FMCU93128KC17314 ## Mail History Id: 31723606, Consumer Id: 93514, Address Id: 50379 => Updated with Vin: 1FMCU93Z68KC69096 ## Mail History Id: 31723710, Consumer Id: 93327, Address Id: 51821 => Updated with Vin: 1MEFM55S04A610145 ## Mail History Id: 31723698, Consumer Id: 65183, Address Id: 52330 => Updated with Vin: 1FTNW21P84EC44340 ## Mail History Id: 31723682, Consumer Id: 66201, Address Id: 50128 => Updated with Vin: 1FMEU73896UA53474 ## Mail History Id: 31723692, Consumer Id: 939688, Address Id: 53574 => Updated with Vin: 2FTEX18L6VCA34000 ## Mail History Id: 31723572, Consumer Id: 63656, Address Id: 52245 => Updated with Vin: 1FDRE14292HB22768 ## Mail History Id: 31723718, Consumer Id: 66515, Address Id: 49326 => Updated with Vin: 2FMZA5146XBC08052 ## Mail History Id: 31723708, Consumer Id: 92559, Address Id: 50926 => Updated with Vin: 1FMCU04197KA93437 ## Mail History Id: 31723576, Consumer Id: 38298, Address Id: 48850 => Updated with Vin: 1FTPX04545KB99355 ## Mail History Id: 31723654, Consumer Id: 65090, Address Id: 49553 => Updated with Vin: 1FTHX26G6VEB79864 ## Mail History Id: 31723626, Consumer Id: 64711, Address Id: 49649 => Updated with Vin: 1FMYU93Z95KE22796 ## Mail History Id: 31723634, Consumer Id: 940198, Address Id: 50336 => Updated with Vin: 3FAHP07Z88R202394 ## Mail History Id: 31723632, Consumer Id: 63576, Address Id: 47426 => Updated with Vin: 1FMYU02102KB23135 ## Mail History Id: 31723632, Consumer Id: 63643, Address Id: 47426 => Updated with Vin: 1FMZU85P9YZB50319 ## Mail History Id: 31723640, Consumer Id: 91834, Address Id: 50737 => Updated with Vin: 1FTPX14V67FB15621 ## Mail History Id: 31723642, Consumer Id: 67689, Address Id: 53364 => Updated with Vin: 1FDEE14H0RHB13325 ## Mail History Id: 31723664, Consumer Id: 939686, Address Id: 53787 => Updated with Vin: 1FAFP34N77W131663 ## Mail History Id: 31723714, Consumer Id: 92323, Address Id: 50306 => Updated with Vin: 1FTPW14566FA77647 ## Mail History Id: 31723552, Consumer Id: 940197, Address Id: 11961725 => Updated with Vin: 3FAHP07Z58R232761 ## Mail History Id: 31723584, Consumer Id: 940199, Address Id: 50203 => Updated with Vin: 2FMDK38C68BA88456 ## Mail History Id: 31723564, Consumer Id: 939689, Address Id: 50590 => Updated with Vin: 1G4HP52K244115607 ## Mail History Id: 31723542, Consumer Id: 65530, Address Id: 47663 => Updated with Vin: 1FMZU73K73UA27545 ## Mail History Id: 31723716, Consumer Id: 63954, Address Id: 49860 => Updated with Vin: 1FMYU04165KD40075 ## Mail History Id: 31723794, Consumer Id: 1783819, Address Id: 15499644 => Updated with Vin: 1FAHP24187G134176 ## Mail History Id: 31723548, Consumer Id: 92472, Address Id: 50763 => Updated with Vin: 1FTRX14W76NB24995 ## Total mail_history records updated with vin numbers: 34 out of 35 ============================================================ ====== Tracking Id: 3062 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-17 09:14:45') AND us2_order_type_id = 3 ## Order found: 2849 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2849 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3470 ## Mailing found: '13883,13884,13885' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725034, Consumer Id: 575814, Address Id: 7467999 => Updated with Vin: 1J4GK58K83W505145 ## Mail History Id: 31725046, Consumer Id: 573660, Address Id: 4099941 => Updated with Vin: 2C3HC56G6XH533816 ## Mail History Id: 31724946, Consumer Id: 570323, Address Id: 7347598 => Updated with Vin: 1J8HH582X7C608737 ## Mail History Id: 31725172, Consumer Id: 955751, Address Id: 11965447 => Updated with Vin: 1D7HA18227S141975 ## Mail History Id: 31724962, Consumer Id: 561738, Address Id: 2028209 => Updated with Vin: 1D4HD48D65F514321 ## Mail History Id: 31725082, Consumer Id: 562955, Address Id: 10701300 => Updated with Vin: 1D4GP24R55B350575 ## Mail History Id: 31725212, Consumer Id: 576396, Address Id: 10723775 => Updated with Vin: 1B3ES46C31D297009 ## Mail History Id: 31724992, Consumer Id: 564488, Address Id: 10703939 => Updated with Vin: 1J8GS48K65C621392 ## Mail History Id: 31725004, Consumer Id: 566873, Address Id: 10710678 => Updated with Vin: 1J4FA69S46P771571 ## Mail History Id: 31725064, Consumer Id: 581502, Address Id: 4686966 => Updated with Vin: 2C8GM68424R324896 ## Mail History Id: 31725164, Consumer Id: 582129, Address Id: 2064491 => Updated with Vin: 1J4GB59177L102268 ## Mail History Id: 31725160, Consumer Id: 940055, Address Id: 6711995 => Updated with Vin: 1D7HA18D54S601689 ## Mail History Id: 31725204, Consumer Id: 757464, Address Id: 11848827 => Updated with Vin: 2C3KA53G96H138172 ## Mail History Id: 31725020, Consumer Id: 874494, Address Id: 2077802 => Updated with Vin: 1J4GK48K47W705634 ## Mail History Id: 31725108, Consumer Id: 940057, Address Id: 11961591 => Updated with Vin: 3A4FY58B67T619392 ## Mail History Id: 31725194, Consumer Id: 940062, Address Id: 11961595 => Updated with Vin: 2C3KA63H17H840244 ## Mail History Id: 31725100, Consumer Id: 955749, Address Id: 11965445 => Updated with Vin: 1J4GR48K05C659407 ## Mail History Id: 31725076, Consumer Id: 955754, Address Id: 11130937 => Updated with Vin: 2C8GF68454R647060 ## Mail History Id: 31725106, Consumer Id: 955742, Address Id: 8466312 => Updated with Vin: 2A8HR64X98R736352 ## Mail History Id: 31725040, Consumer Id: 955744, Address Id: 11965441 => Updated with Vin: 4T1BE46K97U604316 ## Mail History Id: 31724934, Consumer Id: 956875, Address Id: 7874207 => Updated with Vin: 1J4GA39128L618756 ## Total mail_history records updated with vin numbers: 21 out of 22 ============================================================ ====== Tracking Id: 3063 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-17 09:14:57') AND us2_order_type_id = 3 ## Order found: 2849 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2849 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3470 ## Mailing found: '13883,13884,13885' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725170, Consumer Id: 574828, Address Id: 10721371 => Updated with Vin: 1J4GL48K03W528992 ## Mail History Id: 31725130, Consumer Id: 554733, Address Id: 10689229 => Updated with Vin: 1J4GX48S64C205117 ## Mail History Id: 31725006, Consumer Id: 568124, Address Id: 10713683 => Updated with Vin: 2D4GP44L77R103702 ## Mail History Id: 31725120, Consumer Id: 582921, Address Id: 1548306 => Updated with Vin: 2A4GM68456R822248 ## Mail History Id: 31725144, Consumer Id: 558472, Address Id: 6711280 => Updated with Vin: 1J4FA39S24P752450 ## Mail History Id: 31725088, Consumer Id: 575170, Address Id: 10721480 => Updated with Vin: 2C4GP44R04R623320 ## Mail History Id: 31725192, Consumer Id: 561749, Address Id: 10699540 => Updated with Vin: 1J4GS48K95C574652 ## Mail History Id: 31725000, Consumer Id: 562977, Address Id: 10701306 => Updated with Vin: 1FTYR10UX4PB50325 ## Mail History Id: 31725092, Consumer Id: 565540, Address Id: 3172449 => Updated with Vin: 1J4GL48K94W205719 ## Mail History Id: 31724938, Consumer Id: 570068, Address Id: 10707141 => Updated with Vin: 3C3HY55X26T375516 ## Mail History Id: 31725062, Consumer Id: 567901, Address Id: 10707836 => Updated with Vin: 1J4HS48N86C160732 ## Mail History Id: 31725112, Consumer Id: 571904, Address Id: 10710574 => Updated with Vin: 1D4GP45R86B741747 ## Mail History Id: 31724984, Consumer Id: 567892, Address Id: 2049122 => Updated with Vin: 1D7HE42K36S717957 ## Mail History Id: 31724988, Consumer Id: 569729, Address Id: 10716646 => Updated with Vin: 5NPEU46F16H071118 ## Mail History Id: 31725116, Consumer Id: 570687, Address Id: 7476503 => Updated with Vin: 2B3KA43R37H789923 ## Mail History Id: 31725118, Consumer Id: 556561, Address Id: 10692312 => Updated with Vin: 1B3ES56C04D502859 ## Mail History Id: 31725132, Consumer Id: 571240, Address Id: 5325921 => Updated with Vin: 1B3ES56C04D502859 ## Mail History Id: 31724952, Consumer Id: 582495, Address Id: 2051316 => Updated with Vin: 3B7HC13Z71M537411 ## Mail History Id: 31724990, Consumer Id: 582899, Address Id: 5390803 => Updated with Vin: 1C3AN79N45X056328 ## Mail History Id: 31724958, Consumer Id: 582924, Address Id: 10744602 => Updated with Vin: 1J4GK48K16W194110 ## Mail History Id: 31725032, Consumer Id: 582926, Address Id: 10744604 => Updated with Vin: 1B3ES66SX4D590669 ## Mail History Id: 31725078, Consumer Id: 582928, Address Id: 10744606 => Updated with Vin: 1J4GL58K82W130823 ## Total mail_history records updated with vin numbers: 22 out of 24 ============================================================ ====== Tracking Id: 3064 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-17 09:15:09') AND us2_order_type_id = 3 ## Order found: 2850 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2850 AND product_id = 142 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3065 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-17 09:15:10') AND us2_order_type_id = 3 ## Order found: 2849 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2849 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3066 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-17 09:16:16') AND us2_order_type_id = 3 ## Order found: 2850 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2850 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3768 ## Mailing found: '13901,13902,13903' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724522, Consumer Id: 1108963, Address Id: 2848999 => Updated with Vin: 1GYFK668X7R331849 ## Mail History Id: 31724534, Consumer Id: 1116113, Address Id: 11451730 => Updated with Vin: 1G6KD54Y83U240875 ## Mail History Id: 31724516, Consumer Id: 1109609, Address Id: 14982665 => Updated with Vin: 1G6DM577180122550 ## Mail History Id: 31724504, Consumer Id: 1108511, Address Id: 8191469 => Updated with Vin: 1G6KD54Y0YU269116 ## Mail History Id: 31724546, Consumer Id: 1112498, Address Id: 2853931 => Updated with Vin: 1G6KD54Y45U258566 ## Mail History Id: 31724488, Consumer Id: 1116678, Address Id: 118455 => Updated with Vin: 1G6DP577370163302 ## Mail History Id: 31724568, Consumer Id: 1116634, Address Id: 5988003 => Updated with Vin: 1G6KD54Y32U228079 ## Mail History Id: 31724552, Consumer Id: 1116692, Address Id: 14984189 => Updated with Vin: 1G6KS52Y2RU808197 ## Mail History Id: 31724588, Consumer Id: 1113404, Address Id: 14983275 => Updated with Vin: 1G6KD52B1SU306471 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 3067 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-17 10:11:34') AND us2_order_type_id = 3 ## Order found: 2874 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2874 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3068 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-17 10:14:38') AND us2_order_type_id = 3 ## Order found: 2849 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2849 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3470 ## Mailing found: '13815' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724053, Consumer Id: 574925, Address Id: 10721468 => Updated with Vin: 3C8FY68B12T204886 ## Mail History Id: 31724117, Consumer Id: 1174710, Address Id: 3175905 => Updated with Vin: 3C8FY58BX2T275918 ## Mail History Id: 31723893, Consumer Id: 577696, Address Id: 10728108 => Updated with Vin: 2C4GP54L25R219051 ## Mail History Id: 31723929, Consumer Id: 575192, Address Id: 10678342 => Updated with Vin: 1J4GX48S63C515900 ## Mail History Id: 31723967, Consumer Id: 1174714, Address Id: 10728074 => Updated with Vin: 1B3HB78K18D540877 ## Mail History Id: 31723939, Consumer Id: 574821, Address Id: 10721369 => Updated with Vin: 1C4GP64L6YB628694 ## Mail History Id: 31723927, Consumer Id: 573864, Address Id: 4895270 => Updated with Vin: 3C8FY68B52T284404 ## Mail History Id: 31724041, Consumer Id: 560031, Address Id: 7473171 => Updated with Vin: 1C4GP45R95B118052 ## Mail History Id: 31723909, Consumer Id: 555574, Address Id: 3491358 => Updated with Vin: 1J4GK48K84W103640 ## Mail History Id: 31723945, Consumer Id: 574283, Address Id: 4895994 => Updated with Vin: 2C3HD56F5VH501473 ## Mail History Id: 31723897, Consumer Id: 556373, Address Id: 796768 => Updated with Vin: 1J4GK58K44W202039 ## Mail History Id: 31723913, Consumer Id: 556546, Address Id: 4091506 => Updated with Vin: 1J4GX48S04C271792 ## Mail History Id: 31724125, Consumer Id: 558410, Address Id: 10694169 => Updated with Vin: 1J4GX48S04C277477 ## Mail History Id: 31724047, Consumer Id: 567956, Address Id: 10707120 => Updated with Vin: 1J4GK58K26W140563 ## Mail History Id: 31723989, Consumer Id: 573200, Address Id: 5988180 => Updated with Vin: 1B3HB28B08D571380 ## Mail History Id: 31723959, Consumer Id: 1174719, Address Id: 10721387 => Updated with Vin: 2C3LA43RX7H852491 ## Mail History Id: 31724005, Consumer Id: 564207, Address Id: 1342880 => Updated with Vin: 1J4GX48S04C360682 ## Mail History Id: 31724071, Consumer Id: 564355, Address Id: 4907149 => Updated with Vin: 1D7HA18D15S281952 ## Mail History Id: 31724049, Consumer Id: 575271, Address Id: 1546127 => Updated with Vin: 1B3ES56C85D266530 ## Mail History Id: 31724035, Consumer Id: 565871, Address Id: 10707345 => Updated with Vin: 1J8GS48K96C152865 ## Mail History Id: 31723903, Consumer Id: 1173344, Address Id: 2031463 => Updated with Vin: 1J8GK48K42W244507 ## Mail History Id: 31724129, Consumer Id: 566304, Address Id: 2550283 => Updated with Vin: 1J8GK48K86W159062 ## Mail History Id: 31724079, Consumer Id: 576983, Address Id: 10725740 => Updated with Vin: 2C4GP54L15R383987 ## Mail History Id: 31724007, Consumer Id: 579372, Address Id: 10678776 => Updated with Vin: 1D4GP24R13B341417 ## Mail History Id: 31724039, Consumer Id: 568043, Address Id: 10712136 => Updated with Vin: 1D7HA18226S659020 ## Mail History Id: 31723867, Consumer Id: 568514, Address Id: 2048254 => Updated with Vin: 1J4GL48K55W519868 ## Mail History Id: 31723923, Consumer Id: 569427, Address Id: 7357063 => Updated with Vin: 1D4HD58N76F187833 ## Mail History Id: 31724095, Consumer Id: 569678, Address Id: 10716617 => Updated with Vin: 1D4HD58246F180005 ## Mail History Id: 31723915, Consumer Id: 1170419, Address Id: 7090191 => Updated with Vin: 1C3EL55U41N586216 ## Mail History Id: 31723901, Consumer Id: 570009, Address Id: 3490779 => Updated with Vin: 1J4GA691X7L154339 ## Mail History Id: 31724025, Consumer Id: 580390, Address Id: 10737637 => Updated with Vin: 2A8GM68X97R115521 ## Mail History Id: 31724051, Consumer Id: 580337, Address Id: 10737558 => Updated with Vin: 1B3HB48B27D530033 ## Mail History Id: 31724003, Consumer Id: 570784, Address Id: 10713798 => Updated with Vin: 1C3AN59LX6X062526 ## Mail History Id: 31724029, Consumer Id: 582472, Address Id: 4686988 => Updated with Vin: 2C4GP54L64R564128 ## Mail History Id: 31723863, Consumer Id: 571688, Address Id: 10717919 => Updated with Vin: 2C3KA53G67H900410 ## Mail History Id: 31723861, Consumer Id: 571628, Address Id: 8482208 => Updated with Vin: 1J8HH48P37C691496 ## Mail History Id: 31723981, Consumer Id: 572733, Address Id: 10718172 => Updated with Vin: 1NXBR32E65Z552106 ## Mail History Id: 31724059, Consumer Id: 572439, Address Id: 10718066 => Updated with Vin: 2A4GM48436R911854 ## Mail History Id: 31723997, Consumer Id: 571425, Address Id: 10686419 => Updated with Vin: 2B3KA53H37H654454 ## Mail History Id: 31724127, Consumer Id: 571808, Address Id: 10718918 => Updated with Vin: 1C3EL55R86N136507 ## Mail History Id: 31723941, Consumer Id: 571726, Address Id: 1172843 => Updated with Vin: 3D7MX48A07G781700 ## Mail History Id: 31723937, Consumer Id: 582629, Address Id: 10744324 => Updated with Vin: 1C3LC56K27N514427 ## Mail History Id: 31724027, Consumer Id: 572979, Address Id: 1545623 => Updated with Vin: 2A8GP64LX7R217808 ## Mail History Id: 31723925, Consumer Id: 582834, Address Id: 10744553 => Updated with Vin: 1J4GW58N0YC127071 ## Mail History Id: 31723917, Consumer Id: 573240, Address Id: 10719520 => Updated with Vin: 2C8GP64L05R575261 ## Mail History Id: 31723808, Consumer Id: 583340, Address Id: 10745441 => Updated with Vin: 1J4FA24157L114780 ## Mail History Id: 31724055, Consumer Id: 973837, Address Id: 3170987 => Updated with Vin: 1D7HA18236S633509 ## Mail History Id: 31723919, Consumer Id: 1105235, Address Id: 14980827 => Updated with Vin: 2B3KA43G17H686109 ## Mail History Id: 31724013, Consumer Id: 1174713, Address Id: 15036435 => Updated with Vin: 1J4FA49S9YP773100 ## Mail History Id: 31723979, Consumer Id: 1170422, Address Id: 15026533 => Updated with Vin: 1B3LC56R68N685578 ## Mail History Id: 31724245, Consumer Id: 1170417, Address Id: 10913335 => Updated with Vin: 2C8GP64L95R517973 ## Mail History Id: 31724045, Consumer Id: 1170418, Address Id: 15026531 => Updated with Vin: 3A4FY58B56T212999 ## Mail History Id: 31723951, Consumer Id: 1174716, Address Id: 1543325 => Updated with Vin: 1J4GX48S01C660959 ## Mail History Id: 31723907, Consumer Id: 1174711, Address Id: 15036433 => Updated with Vin: 1D7HA18NX4S599687 ## Mail History Id: 31723859, Consumer Id: 1173536, Address Id: 15032646 => Updated with Vin: 1J8FT57W88D708602 ## Mail History Id: 31723983, Consumer Id: 1173346, Address Id: 4128534 => Updated with Vin: 1C3LC56K48N175316 ## Mail History Id: 31724023, Consumer Id: 1173345, Address Id: 15032640 => Updated with Vin: 2C8GP64L55R177415 ## Mail History Id: 31724153, Consumer Id: 1176827, Address Id: 7737018 => Updated with Vin: 1B3ES56C25D279256 ## Mail History Id: 31724101, Consumer Id: 1181647, Address Id: 15390537 => Updated with Vin: 1J4HR48N15C571707 ## Total mail_history records updated with vin numbers: 59 out of 89 ============================================================ ====== Tracking Id: 3069 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-17 10:14:54') AND us2_order_type_id = 3 ## Order found: 2851 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2851 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3416 ## Mailing found: '13811' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723512, Consumer Id: 1170436, Address Id: 11796064 => Updated with Vin: 1G6KE57Y51U132557 ## Mail History Id: 31723488, Consumer Id: 1173367, Address Id: 15032676 => Updated with Vin: 3G5DA03LX6S594206 ## Mail History Id: 31723500, Consumer Id: 1176845, Address Id: 15038751 => Updated with Vin: 1GYEE63A840191553 ## Mail History Id: 31723478, Consumer Id: 1176118, Address Id: 4778030 => Updated with Vin: 1G6DT57V680215033 ## Mail History Id: 31723530, Consumer Id: 625936, Address Id: 1969836 => Updated with Vin: 1GYDE637040153587 ## Mail History Id: 31723480, Consumer Id: 693214, Address Id: 1962228 => Updated with Vin: 1G6DP577470160067 ## Mail History Id: 31723526, Consumer Id: 682729, Address Id: 11795173 => Updated with Vin: 1G6DW52P1SR705107 ## Mail History Id: 31723486, Consumer Id: 691234, Address Id: 1963385 => Updated with Vin: 3GYFK66N06G200840 ## Mail History Id: 31723534, Consumer Id: 691965, Address Id: 1969959 => Updated with Vin: 1G6KD57Y97U134100 ## Mail History Id: 31723514, Consumer Id: 682271, Address Id: 1969162 => Updated with Vin: 1G6KD54Y63U161446 ## Mail History Id: 31723516, Consumer Id: 628695, Address Id: 11766265 => Updated with Vin: 1G6KD54Y75U162480 ## Mail History Id: 31723496, Consumer Id: 625736, Address Id: 1965646 => Updated with Vin: 1GYEE437X80151232 ## Mail History Id: 31723520, Consumer Id: 692009, Address Id: 6891964 => Updated with Vin: 3GCEC14V96G239575 ## Total mail_history records updated with vin numbers: 13 out of 19 ============================================================ ====== Tracking Id: 3070 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-17 10:15:32') AND us2_order_type_id = 3 ## Order found: 2852 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2852 AND product_id = 2152 ## Job Group Found: '598' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('598') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808007') AND customer_id = 3418 ## Mailing found: '13855' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725401, Consumer Id: 680841, Address Id: 11793292 => Updated with Vin: 1G2ZG58B274190168 ## Mail History Id: 31725403, Consumer Id: 610531, Address Id: 11755244 => Updated with Vin: 2C3KA53G66H125783 ## Mail History Id: 31725405, Consumer Id: 678878, Address Id: 11786763 => Updated with Vin: 1GYFK66807R336106 ## Mail History Id: 31725407, Consumer Id: 670896, Address Id: 11788313 => Updated with Vin: 1G6KD54Y22U267536 ## Mail History Id: 31725409, Consumer Id: 665056, Address Id: 11784184 => Updated with Vin: 1G6KF57922U295187 ## Mail History Id: 31725411, Consumer Id: 672912, Address Id: 10326313 => Updated with Vin: 1G6KF579XYU334505 ## Mail History Id: 31725413, Consumer Id: 674902, Address Id: 11790946 => Updated with Vin: 1G6KD57956U133565 ## Mail History Id: 31725415, Consumer Id: 675180, Address Id: 11791135 => Updated with Vin: 3VWSK69M12M187046 ## Mail History Id: 31725417, Consumer Id: 677918, Address Id: 11791395 => Updated with Vin: 1G6DP577570132228 ## Total mail_history records updated with vin numbers: 9 out of 11 ============================================================ ====== Tracking Id: 3071 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-17 10:15:45') AND us2_order_type_id = 3 ## Order found: 2852 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2852 AND product_id = 2150 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3418 ## Mailing found: '13812,13813' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723322, Consumer Id: 681024, Address Id: 11794587 => Updated with Vin: 1FAFP38Z04W160916 ## Mail History Id: 31723360, Consumer Id: 681020, Address Id: 11755369 => Updated with Vin: 1G1ZT64864F158596 ## Mail History Id: 31723370, Consumer Id: 680991, Address Id: 11794568 => Updated with Vin: 3G5DA03E85S567389 ## Mail History Id: 31723274, Consumer Id: 610212, Address Id: 10323784 => Updated with Vin: 3GYFK628X7G297563 ## Mail History Id: 31723252, Consumer Id: 674739, Address Id: 11790823 => Updated with Vin: 3GYEK62N94G169490 ## Mail History Id: 31723400, Consumer Id: 670712, Address Id: 11788188 => Updated with Vin: 1G6KD54Y62U232305 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 3072 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-17 10:15:56') AND us2_order_type_id = 3 ## Order found: 2852 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2852 AND product_id = 2147 ## Job Group Found: '593' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('593') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808002') AND customer_id = 3418 ## Mailing found: '13783' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3073 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-17 10:17:22') AND us2_order_type_id = 3 ## Order found: 2853 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2853 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3795 ## Mailing found: '13826' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723843, Consumer Id: 1170560, Address Id: 15028836 => Updated with Vin: 19UUA66268A003048 ## Mail History Id: 31723805, Consumer Id: 1158815, Address Id: 7665132 => Updated with Vin: SHSRD78843U151825 ## Mail History Id: 31723587, Consumer Id: 1170562, Address Id: 3555663 => Updated with Vin: 2HGFG12856H557524 ## Mail History Id: 31723819, Consumer Id: 1170563, Address Id: 3011662 => Updated with Vin: JHMCN36425C017347 ## Mail History Id: 31723823, Consumer Id: 1058506, Address Id: 2515601 => Updated with Vin: 1HGCG6654YA151199 ## Mail History Id: 31723841, Consumer Id: 1053851, Address Id: 5357604 => Updated with Vin: JHLRD2841YS006715 ## Mail History Id: 31723825, Consumer Id: 1054465, Address Id: 3045493 => Updated with Vin: 2HKRL18731H558046 ## Mail History Id: 31723857, Consumer Id: 1052365, Address Id: 14955174 => Updated with Vin: 1HGCF86611A113703 ## Mail History Id: 31723849, Consumer Id: 1053470, Address Id: 186287 => Updated with Vin: 5FNYF18554B003782 ## Mail History Id: 31723813, Consumer Id: 1174483, Address Id: 4263833 => Updated with Vin: 1HGCP26828A041528 ## Mail History Id: 31723827, Consumer Id: 1055861, Address Id: 3051703 => Updated with Vin: 1HGCM55465A183207 ## Mail History Id: 31723793, Consumer Id: 1057473, Address Id: 14956675 => Updated with Vin: 1HGFA16556L152557 ## Mail History Id: 31723835, Consumer Id: 1057818, Address Id: 3060702 => Updated with Vin: 5FNRL38747B410894 ## Mail History Id: 31723801, Consumer Id: 1058351, Address Id: 6377241 => Updated with Vin: 5FNYF28657B005194 ## Mail History Id: 31723803, Consumer Id: 1059567, Address Id: 5319417 => Updated with Vin: 2HJYK16557H523120 ## Mail History Id: 31723853, Consumer Id: 1059821, Address Id: 14957321 => Updated with Vin: 5FNRL38727B136949 ## Mail History Id: 31723817, Consumer Id: 1174484, Address Id: 7698690 => Updated with Vin: 1HGCM66583A015837 ## Mail History Id: 31723549, Consumer Id: 1176245, Address Id: 5132632 => Updated with Vin: JF1SG63688H708362 ## Mail History Id: 31723799, Consumer Id: 1177471, Address Id: 15365765 => Updated with Vin: 5FNYF38519B003801 ## Mail History Id: 31723847, Consumer Id: 1174490, Address Id: 15036664 => Updated with Vin: JT3HN86R320386865 ## Mail History Id: 31723797, Consumer Id: 1170561, Address Id: 5809292 => Updated with Vin: 4T1SK12E9RU852088 ## Mail History Id: 31723833, Consumer Id: 1053175, Address Id: 3058251 => Updated with Vin: 1HGEJ8547VL022288 ## Total mail_history records updated with vin numbers: 22 out of 32 ============================================================ ====== Tracking Id: 3074 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3733 AND DATE(cart_created_date) = DATE('2008-09-17 10:17:45') AND us2_order_type_id = 3 ## Order found: 2854 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2854 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3733 ## Mailing found: '13824' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723756, Consumer Id: 1164664, Address Id: 6720727 => Updated with Vin: 1LNHM81W43Y679975 ## Mail History Id: 31723802, Consumer Id: 1169461, Address Id: 15025973 => Updated with Vin: 1FTNX21F03EA48119 ## Mail History Id: 31723786, Consumer Id: 1166900, Address Id: 10039983 => Updated with Vin: 4M2ZU86K75UJ03316 ## Mail History Id: 31723750, Consumer Id: 1164683, Address Id: 6717181 => Updated with Vin: 1MEFM53U7XA600897 ## Mail History Id: 31723774, Consumer Id: 1165100, Address Id: 15023913 => Updated with Vin: 4M2ZU55P0XUJ32137 ## Mail History Id: 31723760, Consumer Id: 1165109, Address Id: 6723018 => Updated with Vin: 1LNHM83W94Y682529 ## Mail History Id: 31723790, Consumer Id: 1165693, Address Id: 6732321 => Updated with Vin: 1MEFM59S2YG624349 ## Mail History Id: 31723768, Consumer Id: 1169330, Address Id: 15025900 => Updated with Vin: 1FMDK02W78GA01562 ## Mail History Id: 31723780, Consumer Id: 1169138, Address Id: 6727644 => Updated with Vin: 1FTHX26HXPKA28300 ## Mail History Id: 31723754, Consumer Id: 1164027, Address Id: 15023221 => Updated with Vin: 2C3HE66GX1H536709 ## Mail History Id: 31723764, Consumer Id: 1165444, Address Id: 6723774 => Updated with Vin: 2FALP74W4TX183883 ## Mail History Id: 31723796, Consumer Id: 1168209, Address Id: 7119542 => Updated with Vin: 4M2CU97157KJ12516 ## Mail History Id: 31723800, Consumer Id: 1165296, Address Id: 6735667 => Updated with Vin: 4M2ZV1110WDJ19183 ## Mail History Id: 31723776, Consumer Id: 1161695, Address Id: 6726268 => Updated with Vin: 3MEHM08Z37R610963 ## Mail History Id: 31723748, Consumer Id: 2112947, Address Id: 7111186 => Updated with Vin: 1J4GR48KX5C652500 ## Mail History Id: 31723798, Consumer Id: 1164413, Address Id: 7119666 => Updated with Vin: 1LNHM86S42Y652330 ## Mail History Id: 31723758, Consumer Id: 1168215, Address Id: 15022485 => Updated with Vin: 2FMDK49C07BB35435 ## Mail History Id: 31723782, Consumer Id: 1287916, Address Id: 15464986 => Updated with Vin: WBANE53566CK78904 ## Total mail_history records updated with vin numbers: 18 out of 28 ============================================================ ====== Tracking Id: 3075 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-17 10:17:49') AND us2_order_type_id = 3 ## Order found: 2855 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2855 AND product_id = 142 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3697 ## Mailing found: '13820' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723609, Consumer Id: 1043951, Address Id: 14952681 => Updated with Vin: 1GYEE637270126447 ## Mail History Id: 31723689, Consumer Id: 1044324, Address Id: 5989745 => Updated with Vin: 1G6DC67A170136225 ## Mail History Id: 31723689, Consumer Id: 1044323, Address Id: 5989745 => Updated with Vin: 1G6DC67A970150244 ## Mail History Id: 31723601, Consumer Id: 1044910, Address Id: 8193072 => Updated with Vin: 1GYFK66887R362100 ## Mail History Id: 31723605, Consumer Id: 1044960, Address Id: 10548447 => Updated with Vin: 1G6DN57U370191600 ## Mail History Id: 31723597, Consumer Id: 1044962, Address Id: 14952988 => Updated with Vin: 3GYFK66N25G215242 ## Mail History Id: 31723583, Consumer Id: 1045656, Address Id: 3239699 => Updated with Vin: 1G6KF57925U106882 ## Mail History Id: 31723671, Consumer Id: 1045298, Address Id: 5986960 => Updated with Vin: 1G6KD57Y66U142055 ## Mail History Id: 31723631, Consumer Id: 1045976, Address Id: 3752189 => Updated with Vin: 1G6KD54Y53U128874 ## Mail History Id: 31723683, Consumer Id: 1046005, Address Id: 9430448 => Updated with Vin: 1G6DV57V780182991 ## Mail History Id: 31723687, Consumer Id: 1052151, Address Id: 14955097 => Updated with Vin: 1GYEE637980105127 ## Mail History Id: 31723741, Consumer Id: 1044963, Address Id: 5994418 => Updated with Vin: 1G6DM57T870161163 ## Mail History Id: 31723693, Consumer Id: 1049476, Address Id: 1079742 => Updated with Vin: 1GYDE637440120382 ## Mail History Id: 31723649, Consumer Id: 1042298, Address Id: 5983563 => Updated with Vin: 1G6KE57Y01U262732 ## Mail History Id: 31723679, Consumer Id: 1044661, Address Id: 5989352 => Updated with Vin: 1G6YV36AX75600210 ## Mail History Id: 31723637, Consumer Id: 1042633, Address Id: 2853823 => Updated with Vin: 1G6KD54Y53U236072 ## Mail History Id: 31723721, Consumer Id: 1045988, Address Id: 14952787 => Updated with Vin: 1G6KD54Y11U266800 ## Mail History Id: 31723691, Consumer Id: 1044794, Address Id: 14952935 => Updated with Vin: 1GYEE637540182085 ## Mail History Id: 31723595, Consumer Id: 1045091, Address Id: 2848823 => Updated with Vin: 3GYFK66NX4G316978 ## Mail History Id: 31723677, Consumer Id: 1046043, Address Id: 5989287 => Updated with Vin: 3GYEK62N74G332945 ## Mail History Id: 31723635, Consumer Id: 1046742, Address Id: 2852405 => Updated with Vin: 1G6KE57Y64U248323 ## Mail History Id: 31723715, Consumer Id: 1046280, Address Id: 8829251 => Updated with Vin: 1GYEK63N25R169461 ## Mail History Id: 31723645, Consumer Id: 1045996, Address Id: 14953105 => Updated with Vin: 1G6KD57Y68U180212 ## Mail History Id: 31723743, Consumer Id: 1047024, Address Id: 12939167 => Updated with Vin: 1G6DM57N930107883 ## Mail History Id: 31723557, Consumer Id: 1046006, Address Id: 2775687 => Updated with Vin: 1G6DW677570183267 ## Mail History Id: 31723651, Consumer Id: 1046676, Address Id: 14953473 => Updated with Vin: 1G3NL12E94C160250 ## Mail History Id: 31723705, Consumer Id: 1051850, Address Id: 14954947 => Updated with Vin: 1G6DM57N730103749 ## Mail History Id: 31723713, Consumer Id: 1043360, Address Id: 5992896 => Updated with Vin: 1G6CD53B2N4296170 ## Mail History Id: 31723733, Consumer Id: 1048053, Address Id: 11956492 => Updated with Vin: 1G6KD54Y02U226502 ## Mail History Id: 31723641, Consumer Id: 1052150, Address Id: 1145990 => Updated with Vin: 1G6KY5493WU907336 ## Mail History Id: 31723739, Consumer Id: 1043266, Address Id: 3597963 => Updated with Vin: 1G4HP54K4Y4102313 ## Mail History Id: 31723711, Consumer Id: 1041750, Address Id: 8828880 => Updated with Vin: 1G6DM57N030144997 ## Mail History Id: 31723629, Consumer Id: 1043025, Address Id: 2851962 => Updated with Vin: 1G6DM577040128429 ## Mail History Id: 31723585, Consumer Id: 1044796, Address Id: 3239713 => Updated with Vin: 1G6KS54Y3YU150059 ## Mail History Id: 31723619, Consumer Id: 1046628, Address Id: 2849613 => Updated with Vin: 1G6KF57971U126197 ## Mail History Id: 31723735, Consumer Id: 1049933, Address Id: 1086647 => Updated with Vin: 1G6EL12Y9XU602486 ## Mail History Id: 31723613, Consumer Id: 1049757, Address Id: 14954280 => Updated with Vin: W06VR52R4VR072456 ## Mail History Id: 31723561, Consumer Id: 1045297, Address Id: 14953096 => Updated with Vin: 1G6DF577480142446 ## Mail History Id: 31723709, Consumer Id: 1051707, Address Id: 14954875 => Updated with Vin: 3GYFK66N94G257521 ## Mail History Id: 31723625, Consumer Id: 1050961, Address Id: 14954013 => Updated with Vin: 1GYEC63T52R104840 ## Mail History Id: 31723663, Consumer Id: 1044140, Address Id: 5986529 => Updated with Vin: 1G3NL52E3XC433887 ## Total mail_history records updated with vin numbers: 41 out of 46 ============================================================ ====== Tracking Id: 3076 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-17 10:17:59') AND us2_order_type_id = 3 ## Order found: 2855 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2855 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3697 ## Mailing found: '13897,13898,13899' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724526, Consumer Id: 1044341, Address Id: 14952792 => Updated with Vin: 1GYEE637X60136657 ## Mail History Id: 31724532, Consumer Id: 1045757, Address Id: 14953224 => Updated with Vin: 1G6KD54Y25U255097 ## Mail History Id: 31724530, Consumer Id: 1047738, Address Id: 14953760 => Updated with Vin: 1GYEK63N36R111957 ## Mail History Id: 31724576, Consumer Id: 1042759, Address Id: 5990433 => Updated with Vin: 1G6KY5492YU157964 ## Mail History Id: 31724612, Consumer Id: 1043435, Address Id: 12937996 => Updated with Vin: 1G6KF57914U213792 ## Mail History Id: 31724548, Consumer Id: 1045682, Address Id: 14953202 => Updated with Vin: 1G6DW677470193711 ## Mail History Id: 31724602, Consumer Id: 1049609, Address Id: 14954246 => Updated with Vin: 1G6KD57Y77U132572 ## Total mail_history records updated with vin numbers: 7 out of 8 ============================================================ ====== Tracking Id: 3077 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-17 10:18:14') AND us2_order_type_id = 3 ## Order found: 2855 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2855 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3697 ## Mailing found: '13897,13898,13899' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724628, Consumer Id: 1049444, Address Id: 14954206 => Updated with Vin: 1G6DM57N730172666 ## Mail History Id: 31724608, Consumer Id: 1045441, Address Id: 14953132 => Updated with Vin: 3GYFK66N24G335637 ## Mail History Id: 31724518, Consumer Id: 1051695, Address Id: 3239763 => Updated with Vin: 1GHDT13SX22206410 ## Mail History Id: 31724598, Consumer Id: 1051689, Address Id: 14954867 => Updated with Vin: WDBTK75G14T032948 ## Mail History Id: 31724574, Consumer Id: 1048066, Address Id: 14953858 => Updated with Vin: 1G6KD52Y9VU222035 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 3078 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-17 10:18:26') AND us2_order_type_id = 3 ## Order found: 2855 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2855 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3697 ## Mailing found: '13897,13898,13899' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724496, Consumer Id: 1045345, Address Id: 14953112 => Updated with Vin: 2HKYF18415H513265 ## Mail History Id: 31724600, Consumer Id: 1047385, Address Id: 14953661 => Updated with Vin: W06VR52R9WR164115 ## Mail History Id: 31724506, Consumer Id: 1049026, Address Id: 9707476 => Updated with Vin: 1GYFK63897R174688 ## Mail History Id: 31724492, Consumer Id: 1048539, Address Id: 2776113 => Updated with Vin: 1G6KF57913U161319 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 3079 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-17 10:18:56') AND us2_order_type_id = 3 ## Order found: 2850 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2850 AND product_id = 140 ## Job Group Found: '598' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('598') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808007') AND customer_id = 3768 ## Mailing found: '13858' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3080 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-17 10:19:58') AND us2_order_type_id = 3 ## Order found: 2856 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2856 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3081 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-17 10:20:04') AND us2_order_type_id = 3 ## Order found: 2856 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2856 AND product_id = 2152 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3082 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-17 10:20:07') AND us2_order_type_id = 3 ## Order found: 2856 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2856 AND product_id = 2150 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3815 ## Mailing found: '13828' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723783, Consumer Id: 1379450, Address Id: 15671893 => Updated with Vin: JHLRD1864XC022489 ## Mail History Id: 31723771, Consumer Id: 1371701, Address Id: 15640226 => Updated with Vin: 1HGES15501L072036 ## Mail History Id: 31723571, Consumer Id: 1371133, Address Id: 15638961 => Updated with Vin: JHMZE1371YT000797 ## Mail History Id: 31723755, Consumer Id: 1362954, Address Id: 15635783 => Updated with Vin: 5FNRL38615B422571 ## Mail History Id: 31723769, Consumer Id: 1364841, Address Id: 15637762 => Updated with Vin: 5FNYF28127B012057 ## Mail History Id: 31723773, Consumer Id: 1363572, Address Id: 15636498 => Updated with Vin: 1HGCM56826A132919 ## Mail History Id: 31723787, Consumer Id: 1365497, Address Id: 15638556 => Updated with Vin: JHLRE48577C061230 ## Mail History Id: 31723547, Consumer Id: 1367337, Address Id: 15640014 => Updated with Vin: 1HGCP36818A024158 ## Mail History Id: 31723777, Consumer Id: 1379448, Address Id: 9051206 => Updated with Vin: JHLRE48557C065261 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 3083 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-17 10:20:19') AND us2_order_type_id = 3 ## Order found: 2856 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2856 AND product_id = 2147 ## Job Group Found: '593' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('593') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808002') AND customer_id = 3815 ## Mailing found: '13786' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3084 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-17 10:20:31') AND us2_order_type_id = 3 ## Order found: 2856 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2856 AND product_id = 2153 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3815 ## Mailing found: '13910' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724618, Consumer Id: 1366549, Address Id: 15634998 => Updated with Vin: 1HGCM56344A091159 ## Mail History Id: 31724500, Consumer Id: 1366416, Address Id: 15639262 => Updated with Vin: 5TEWM72N51Z777162 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 3085 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-17 10:26:20') AND us2_order_type_id = 3 ## Order found: 2853 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2853 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3795 ## Mailing found: '13904,13905,13906' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724700, Consumer Id: 1068592, Address Id: 2519552 => Updated with Vin: 2HKRL18992H510814 ## Mail History Id: 31724688, Consumer Id: 1068594, Address Id: 6871365 => Updated with Vin: 2HGES26733H547331 ## Mail History Id: 31724678, Consumer Id: 1057669, Address Id: 14956737 => Updated with Vin: 5FNYF18416B030147 ## Mail History Id: 31724656, Consumer Id: 1059790, Address Id: 7697368 => Updated with Vin: JHLRD78832C079845 ## Mail History Id: 31724668, Consumer Id: 1059781, Address Id: 3043775 => Updated with Vin: WBAVB33526KS35731 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 3086 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-17 10:26:32') AND us2_order_type_id = 3 ## Order found: 2853 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2853 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3795 ## Mailing found: '13904,13905,13906' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724718, Consumer Id: 1059423, Address Id: 3110329 => Updated with Vin: 5FNRL38217B127034 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 3087 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-17 10:26:44') AND us2_order_type_id = 3 ## Order found: 2853 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2853 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3795 ## Mailing found: '13904,13905,13906' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724684, Consumer Id: 1060364, Address Id: 185151 => Updated with Vin: 2HGFA55507H702383 ## Total mail_history records updated with vin numbers: 1 out of 2 ============================================================ ====== Tracking Id: 3088 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-17 11:11:11') AND us2_order_type_id = 3 ## Order found: 2857 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2857 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3486 ## Mailing found: '13887,13888,13889' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724776, Consumer Id: 485672, Address Id: 1034895 => Updated with Vin: 3GNEK12T84G189731 ## Mail History Id: 31724802, Consumer Id: 475940, Address Id: 1036911 => Updated with Vin: 1GNEC13R0YR109991 ## Mail History Id: 31724878, Consumer Id: 485806, Address Id: 8117480 => Updated with Vin: 1GCFG15W9Y1165172 ## Mail History Id: 31724900, Consumer Id: 476489, Address Id: 9823771 => Updated with Vin: 1GNDS13S422205009 ## Mail History Id: 31724812, Consumer Id: 468935, Address Id: 9822289 => Updated with Vin: 1GNES16S446194086 ## Mail History Id: 31724866, Consumer Id: 470895, Address Id: 2524556 => Updated with Vin: 1GNDS13SX52201504 ## Mail History Id: 31724804, Consumer Id: 631117, Address Id: 1216181 => Updated with Vin: 1GCGG25R9W1019789 ## Mail History Id: 31724896, Consumer Id: 629098, Address Id: 11769664 => Updated with Vin: 1GNFC13067J144070 ## Mail History Id: 31724842, Consumer Id: 629742, Address Id: 8233182 => Updated with Vin: 1G1AK55F267752266 ## Mail History Id: 31724868, Consumer Id: 629744, Address Id: 635066 => Updated with Vin: 3GNDA23D26S596844 ## Mail History Id: 31724824, Consumer Id: 631118, Address Id: 11771184 => Updated with Vin: 1GCHG35R421115463 ## Mail History Id: 31724910, Consumer Id: 910044, Address Id: 11770627 => Updated with Vin: 1GCEC14X98Z178006 ## Total mail_history records updated with vin numbers: 12 out of 18 ============================================================ ====== Tracking Id: 3089 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-17 11:11:24') AND us2_order_type_id = 3 ## Order found: 2857 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2857 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3486 ## Mailing found: '13887,13888,13889' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724876, Consumer Id: 463382, Address Id: 1567883 => Updated with Vin: 1G1JH12F947178550 ## Mail History Id: 31724762, Consumer Id: 464639, Address Id: 6438707 => Updated with Vin: 3GNEC16TXYG194863 ## Mail History Id: 31724794, Consumer Id: 480762, Address Id: 9824690 => Updated with Vin: 2GCEC19T3Y1146537 ## Mail History Id: 31724848, Consumer Id: 490103, Address Id: 1038248 => Updated with Vin: 1GKFK16T51J149659 ## Mail History Id: 31724796, Consumer Id: 485126, Address Id: 9825366 => Updated with Vin: 2G1FP22G112139025 ## Mail History Id: 31724832, Consumer Id: 466693, Address Id: 2005967 => Updated with Vin: 1GNEC13Z64J192643 ## Mail History Id: 31724870, Consumer Id: 481634, Address Id: 4376032 => Updated with Vin: 1GCDC14K6LZ218311 ## Mail History Id: 31724852, Consumer Id: 485533, Address Id: 8233937 => Updated with Vin: 1GCDS148558157226 ## Mail History Id: 31724828, Consumer Id: 470645, Address Id: 941843 => Updated with Vin: 1G1YY26U575104197 ## Mail History Id: 31724808, Consumer Id: 470647, Address Id: 1036995 => Updated with Vin: 3GNEC12J17G286799 ## Mail History Id: 31724770, Consumer Id: 470646, Address Id: 7216817 => Updated with Vin: 2GCEC19T621192953 ## Mail History Id: 31724734, Consumer Id: 470981, Address Id: 9823382 => Updated with Vin: 1GNES13HX62334872 ## Mail History Id: 31724898, Consumer Id: 470960, Address Id: 9823373 => Updated with Vin: 1J8GS48KX7C637453 ## Mail History Id: 31724782, Consumer Id: 490340, Address Id: 9826508 => Updated with Vin: 1GNEC13T81R154727 ## Mail History Id: 31724880, Consumer Id: 471190, Address Id: 2010594 => Updated with Vin: 1GCHK23D16F246763 ## Mail History Id: 31724906, Consumer Id: 463383, Address Id: 9206678 => Updated with Vin: 1GNCS13X34K122035 ## Total mail_history records updated with vin numbers: 16 out of 18 ============================================================ ====== Tracking Id: 3090 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-17 11:11:36') AND us2_order_type_id = 3 ## Order found: 2857 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2857 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3486 ## Mailing found: '13887,13888,13889' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724912, Consumer Id: 468170, Address Id: 9819986 => Updated with Vin: 3GNFC16J97G101008 ## Mail History Id: 31724780, Consumer Id: 485217, Address Id: 630292 => Updated with Vin: 1G1YY22G8Y5113459 ## Mail History Id: 31724884, Consumer Id: 476292, Address Id: 1568622 => Updated with Vin: 2GCEK19T411199112 ## Mail History Id: 31724850, Consumer Id: 476188, Address Id: 2006842 => Updated with Vin: 2G1WW15EX29226664 ## Mail History Id: 31724736, Consumer Id: 478054, Address Id: 1031948 => Updated with Vin: 3GNEC13T93G175198 ## Mail History Id: 31724744, Consumer Id: 468237, Address Id: 1032183 => Updated with Vin: 1GCGG25V061101813 ## Mail History Id: 31724902, Consumer Id: 489922, Address Id: 4661564 => Updated with Vin: 1GNEK13Z34R321118 ## Mail History Id: 31724746, Consumer Id: 486361, Address Id: 821025 => Updated with Vin: 1GMDX03E01D260733 ## Mail History Id: 31724750, Consumer Id: 469753, Address Id: 1032724 => Updated with Vin: 1GCHK23627F522385 ## Mail History Id: 31724882, Consumer Id: 470381, Address Id: 9823054 => Updated with Vin: 1GCGG25V471191601 ## Mail History Id: 31724758, Consumer Id: 470706, Address Id: 9823238 => Updated with Vin: 1GKES16S256103864 ## Mail History Id: 31724774, Consumer Id: 489915, Address Id: 9826321 => Updated with Vin: 1G1ND52J2Y6318992 ## Mail History Id: 31724724, Consumer Id: 470831, Address Id: 9823304 => Updated with Vin: 1FMYU02Z57KA02288 ## Mail History Id: 31724726, Consumer Id: 489948, Address Id: 727085 => Updated with Vin: 1GNEK13Z24J194358 ## Mail History Id: 31724732, Consumer Id: 470845, Address Id: 9823313 => Updated with Vin: 1GKEK63U53J174165 ## Total mail_history records updated with vin numbers: 15 out of 16 ============================================================ ====== Tracking Id: 3091 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-17 11:12:25') AND us2_order_type_id = 3 ## Order found: 2851 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2851 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3416 ## Mailing found: '13874,13875,13876' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724459, Consumer Id: 625236, Address Id: 10934293 => Updated with Vin: 1G6KD54Y44U132769 ## Mail History Id: 31724545, Consumer Id: 625517, Address Id: 1969203 => Updated with Vin: 1G6KD54Y11U280261 ## Mail History Id: 31724539, Consumer Id: 689330, Address Id: 1968927 => Updated with Vin: 3GYFK66N63G317303 ## Mail History Id: 31724467, Consumer Id: 693112, Address Id: 11798684 => Updated with Vin: 2G2WS522651197630 ## Mail History Id: 31724537, Consumer Id: 693143, Address Id: 11798700 => Updated with Vin: 1G6EL12Y5WU610843 ## Mail History Id: 31724529, Consumer Id: 693129, Address Id: 11798694 => Updated with Vin: 1GKET16S946214942 ## Mail History Id: 31724619, Consumer Id: 625906, Address Id: 8921283 => Updated with Vin: 1GKDT13S952204842 ## Mail History Id: 31724523, Consumer Id: 686987, Address Id: 1965945 => Updated with Vin: 1G6KS54Y04U124979 ## Mail History Id: 31724519, Consumer Id: 692493, Address Id: 11798380 => Updated with Vin: 1GYEE637770180701 ## Mail History Id: 31724565, Consumer Id: 625903, Address Id: 1970374 => Updated with Vin: 1G6KD54Y05U201930 ## Mail History Id: 31724471, Consumer Id: 625774, Address Id: 10933351 => Updated with Vin: 1G6KD54YX5U139954 ## Mail History Id: 31724521, Consumer Id: 693130, Address Id: 1965931 => Updated with Vin: 1G6KD57Y76U255416 ## Mail History Id: 31724401, Consumer Id: 625250, Address Id: 11765878 => Updated with Vin: 5GTDN13E278196477 ## Mail History Id: 31724517, Consumer Id: 690258, Address Id: 4775510 => Updated with Vin: 1G6DM57T760108811 ## Mail History Id: 31724555, Consumer Id: 689186, Address Id: 11797136 => Updated with Vin: 5GRGN23U85H123319 ## Mail History Id: 31724561, Consumer Id: 691819, Address Id: 11798117 => Updated with Vin: 1G6DW677060216111 ## Total mail_history records updated with vin numbers: 16 out of 17 ============================================================ ====== Tracking Id: 3092 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-17 11:12:37') AND us2_order_type_id = 3 ## Order found: 2851 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2851 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3416 ## Mailing found: '13874,13875,13876' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724403, Consumer Id: 693011, Address Id: 11798633 => Updated with Vin: 1G6DM577740113474 ## Mail History Id: 31724513, Consumer Id: 693000, Address Id: 6875944 => Updated with Vin: 1G6KD57Y06U123405 ## Mail History Id: 31724485, Consumer Id: 693013, Address Id: 10933604 => Updated with Vin: 1GYFK63827R385506 ## Mail History Id: 31724609, Consumer Id: 692874, Address Id: 11797029 => Updated with Vin: 2GTEK19R7W1557685 ## Mail History Id: 31724527, Consumer Id: 693015, Address Id: 10934400 => Updated with Vin: 1G2HX52K834164561 ## Mail History Id: 31724451, Consumer Id: 689767, Address Id: 1966407 => Updated with Vin: W06VR52R1WR014449 ## Mail History Id: 31724473, Consumer Id: 692485, Address Id: 1960250 => Updated with Vin: 1G6KD54Y84U221695 ## Mail History Id: 31724613, Consumer Id: 688137, Address Id: 11796767 => Updated with Vin: 1G6KD54YXVU264503 ## Mail History Id: 31724469, Consumer Id: 692172, Address Id: 11798244 => Updated with Vin: 5GTDN13E378126230 ## Total mail_history records updated with vin numbers: 9 out of 10 ============================================================ ====== Tracking Id: 3093 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-17 11:12:41') AND us2_order_type_id = 3 ## Order found: 2858 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2858 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3094 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-17 11:12:56') AND us2_order_type_id = 3 ## Order found: 2858 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2858 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3491 ## Mailing found: '13890,13891,13892' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724889, Consumer Id: 809283, Address Id: 11883767 => Updated with Vin: 1D4HR38N03F548935 ## Mail History Id: 31724927, Consumer Id: 810711, Address Id: 11885255 => Updated with Vin: 1GNFC13J67R162790 ## Mail History Id: 31724939, Consumer Id: 837901, Address Id: 11894447 => Updated with Vin: 1GNEK13Z74R198052 ## Mail History Id: 31724947, Consumer Id: 811313, Address Id: 11886672 => Updated with Vin: 2CNDL13F966108689 ## Mail History Id: 31724969, Consumer Id: 811751, Address Id: 11886818 => Updated with Vin: 1G1YY25U375120352 ## Mail History Id: 31724951, Consumer Id: 838522, Address Id: 11894780 => Updated with Vin: 3GNEC13T32G246099 ## Mail History Id: 31724885, Consumer Id: 814039, Address Id: 11888758 => Updated with Vin: 1FTRX12W24NA78279 ## Mail History Id: 31724879, Consumer Id: 814655, Address Id: 11875811 => Updated with Vin: 2FTRX17264CA59701 ## Mail History Id: 31724815, Consumer Id: 814748, Address Id: 11875212 => Updated with Vin: 3GNFK16327G304147 ## Mail History Id: 31724891, Consumer Id: 839588, Address Id: 11895349 => Updated with Vin: 3GNEC16T11G196555 ## Mail History Id: 31724895, Consumer Id: 815188, Address Id: 11889779 => Updated with Vin: 1G3NL52F74C118983 ## Mail History Id: 31724987, Consumer Id: 815193, Address Id: 11889782 => Updated with Vin: 1FTYR10U05PA59629 ## Mail History Id: 31724867, Consumer Id: 815198, Address Id: 11889785 => Updated with Vin: 1D7HA18N05S322547 ## Mail History Id: 31724819, Consumer Id: 815203, Address Id: 11889789 => Updated with Vin: 1C3AN69L64X022561 ## Mail History Id: 31724979, Consumer Id: 815206, Address Id: 11889791 => Updated with Vin: KL1TD56658B065122 ## Mail History Id: 31724917, Consumer Id: 839583, Address Id: 11892637 => Updated with Vin: 1GCEC14W3WZ112846 ## Mail History Id: 31724981, Consumer Id: 839340, Address Id: 11895227 => Updated with Vin: 1GHDT13W0Y2201826 ## Total mail_history records updated with vin numbers: 17 out of 20 ============================================================ ====== Tracking Id: 3095 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-17 11:13:02') AND us2_order_type_id = 3 ## Order found: 2859 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2859 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3096 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-17 11:13:06') AND us2_order_type_id = 3 ## Order found: 2859 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2859 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3097 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-17 11:13:09') AND us2_order_type_id = 3 ## Order found: 2858 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2858 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3491 ## Mailing found: '13890,13891,13892' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724901, Consumer Id: 811721, Address Id: 11886810 => Updated with Vin: 1G1AK15F477175637 ## Mail History Id: 31724881, Consumer Id: 838155, Address Id: 11894590 => Updated with Vin: 2GCEK13T351161336 ## Mail History Id: 31724865, Consumer Id: 814037, Address Id: 11888756 => Updated with Vin: 3GNDA13D77S519575 ## Mail History Id: 31724975, Consumer Id: 815062, Address Id: 11889692 => Updated with Vin: 3GNDA23P68S517012 ## Mail History Id: 31724985, Consumer Id: 815230, Address Id: 11889803 => Updated with Vin: 1N6AD06U76C451448 ## Mail History Id: 31724877, Consumer Id: 839664, Address Id: 11895382 => Updated with Vin: 1G1JF12F137123434 ## Mail History Id: 31724943, Consumer Id: 836758, Address Id: 11880123 => Updated with Vin: 3GNEC12ZX5G122793 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 3098 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-17 11:13:09') AND us2_order_type_id = 3 ## Order found: 2859 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2859 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3525 ## Mailing found: '13894,13895,13896' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724361, Consumer Id: 520626, Address Id: 9849789 => Updated with Vin: KM8SC13E43U554566 ## Mail History Id: 31724329, Consumer Id: 488340, Address Id: 9852171 => Updated with Vin: 5NMSG13D37H069560 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 3099 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-17 11:13:21') AND us2_order_type_id = 3 ## Order found: 2858 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2858 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3491 ## Mailing found: '13890,13891,13892' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724911, Consumer Id: 773223, Address Id: 11851191 => Updated with Vin: 1G1ZG57B78F162233 ## Mail History Id: 31724959, Consumer Id: 773232, Address Id: 11851200 => Updated with Vin: 2D4GP44L35R129422 ## Mail History Id: 31724921, Consumer Id: 773158, Address Id: 11851131 => Updated with Vin: 2G2WS542641365147 ## Mail History Id: 31724853, Consumer Id: 773299, Address Id: 11851261 => Updated with Vin: 1GNES16S036127211 ## Mail History Id: 31724869, Consumer Id: 773229, Address Id: 11851197 => Updated with Vin: 2G2WP582161313262 ## Mail History Id: 31724821, Consumer Id: 773309, Address Id: 11851269 => Updated with Vin: 3GNEC16Z92G355621 ## Mail History Id: 31724809, Consumer Id: 773247, Address Id: 11851214 => Updated with Vin: 2GCFK13Y771677007 ## Mail History Id: 31724957, Consumer Id: 760554, Address Id: 11851077 => Updated with Vin: 1G6KD54Y94U256973 ## Mail History Id: 31724817, Consumer Id: 760565, Address Id: 11851088 => Updated with Vin: 1ZVFT80N065220680 ## Mail History Id: 31724949, Consumer Id: 760556, Address Id: 11851079 => Updated with Vin: 1FMZU73K45ZA07100 ## Mail History Id: 31724905, Consumer Id: 773220, Address Id: 11851188 => Updated with Vin: 1GCEC19Z96E233147 ## Mail History Id: 31724983, Consumer Id: 773293, Address Id: 11851255 => Updated with Vin: 1N4BA41E07C809567 ## Total mail_history records updated with vin numbers: 12 out of 12 ============================================================ ====== Tracking Id: 3100 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-17 11:13:21') AND us2_order_type_id = 3 ## Order found: 2859 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2859 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3525 ## Mailing found: '13894,13895,13896' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724397, Consumer Id: 486915, Address Id: 9850606 => Updated with Vin: KM8SC13DX6U057596 ## Mail History Id: 31724351, Consumer Id: 489032, Address Id: 9852796 => Updated with Vin: KMHFC46F97A204090 ## Mail History Id: 31725216, Consumer Id: 489033, Address Id: 9852834 => Updated with Vin: 5NMSH13E17H088355 ## Mail History Id: 31724395, Consumer Id: 522359, Address Id: 9853226 => Updated with Vin: KMHHM65D74U148646 ## Mail History Id: 31724371, Consumer Id: 488298, Address Id: 9852139 => Updated with Vin: KM8JN12DX6U348980 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 3101 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-17 11:14:11') AND us2_order_type_id = 3 ## Order found: 2860 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2860 AND product_id = 144 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3102 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-17 11:14:23') AND us2_order_type_id = 3 ## Order found: 2860 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2860 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3103 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-17 11:14:27') AND us2_order_type_id = 3 ## Order found: 2861 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2861 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3104 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-17 11:14:35') AND us2_order_type_id = 3 ## Order found: 2860 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2860 AND product_id = 106 ## Job Group Found: '596' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('596') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808005' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808005') AND customer_id = 3705 ## Mailing found: '13844' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725523, Consumer Id: 970829, Address Id: 14841731 => Updated with Vin: 3GCEC13J27G536784 ## Mail History Id: 31725524, Consumer Id: 970834, Address Id: 8095678 => Updated with Vin: 1G2ZH58N174174809 ## Mail History Id: 31725525, Consumer Id: 970843, Address Id: 14841740 => Updated with Vin: 3GNDA13D66S600307 ## Mail History Id: 31725526, Consumer Id: 970847, Address Id: 14841744 => Updated with Vin: 2GCEK19T621229650 ## Mail History Id: 31725527, Consumer Id: 970853, Address Id: 14841748 => Updated with Vin: 1G1AL55F477138656 ## Mail History Id: 31725528, Consumer Id: 970855, Address Id: 14841750 => Updated with Vin: 3GNEC16Z46G107086 ## Mail History Id: 31725529, Consumer Id: 970862, Address Id: 8326088 => Updated with Vin: 3GTEC13J08G106172 ## Mail History Id: 31725530, Consumer Id: 970842, Address Id: 14841739 => Updated with Vin: 1GNDS13S572272127 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 3105 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-17 11:14:35') AND us2_order_type_id = 3 ## Order found: 2861 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2861 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3808 ## Mailing found: '13907,13908,13909' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724665, Consumer Id: 1282065, Address Id: 11566819 => Updated with Vin: 2FMDA53432BB09527 ## Mail History Id: 31724651, Consumer Id: 1286516, Address Id: 15463992 => Updated with Vin: 1FAFP24165G140160 ## Mail History Id: 31724747, Consumer Id: 1287141, Address Id: 15464448 => Updated with Vin: 3GNDA23DX6S610392 ## Mail History Id: 31724755, Consumer Id: 1287090, Address Id: 15464408 => Updated with Vin: 1G1ZT58N07F245411 ## Mail History Id: 31724807, Consumer Id: 1287471, Address Id: 15464657 => Updated with Vin: 2GCEC19V041409885 ## Mail History Id: 31724785, Consumer Id: 1287439, Address Id: 15029255 => Updated with Vin: 1G2NW12T5VC758346 ## Mail History Id: 31724633, Consumer Id: 1287557, Address Id: 15464684 => Updated with Vin: 2G1WH52K159355862 ## Mail History Id: 31724721, Consumer Id: 1281864, Address Id: 15460757 => Updated with Vin: 1G1ZS52F54F230662 ## Mail History Id: 31724749, Consumer Id: 1287324, Address Id: 15464611 => Updated with Vin: 1G1JC124927302018 ## Mail History Id: 31724727, Consumer Id: 1284342, Address Id: 15462481 => Updated with Vin: 1GNDV03E85D151444 ## Total mail_history records updated with vin numbers: 10 out of 11 ============================================================ ====== Tracking Id: 3106 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-17 11:14:47') AND us2_order_type_id = 3 ## Order found: 2862 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2862 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3721 ## Mailing found: '13822,13823' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724219, Consumer Id: 1009243, Address Id: 14930912 => Updated with Vin: JM1NB3533X0123886 ## Mail History Id: 31724211, Consumer Id: 1013726, Address Id: 6663079 => Updated with Vin: 4F2YZ02Z26KM02359 ## Mail History Id: 31724179, Consumer Id: 1007490, Address Id: 6660850 => Updated with Vin: 1YVFP80C635M29997 ## Mail History Id: 31724217, Consumer Id: 1010898, Address Id: 6663972 => Updated with Vin: 1YVFP84C445N61362 ## Mail History Id: 31724165, Consumer Id: 1012887, Address Id: 6659281 => Updated with Vin: JM1FE173540119637 ## Mail History Id: 31724205, Consumer Id: 1014692, Address Id: 3474776 => Updated with Vin: JM1NC25F460111827 ## Mail History Id: 31724203, Consumer Id: 1008509, Address Id: 6662858 => Updated with Vin: 1YVFP80C335M35045 ## Mail History Id: 31724213, Consumer Id: 1007656, Address Id: 6663410 => Updated with Vin: JM1TA221721728469 ## Mail History Id: 31724235, Consumer Id: 1009653, Address Id: 14931546 => Updated with Vin: 4F2CZ06146KM14558 ## Mail History Id: 31724231, Consumer Id: 1009786, Address Id: 14931674 => Updated with Vin: 1YVHP80CX75M28317 ## Mail History Id: 31724233, Consumer Id: 1009843, Address Id: 14931714 => Updated with Vin: JM1BK32F781786732 ## Mail History Id: 31724169, Consumer Id: 1010145, Address Id: 14931822 => Updated with Vin: 4A3AK24F96E017347 ## Mail History Id: 31724207, Consumer Id: 1010212, Address Id: 14931873 => Updated with Vin: JM1BK32F881857775 ## Mail History Id: 31724239, Consumer Id: 1010200, Address Id: 14931865 => Updated with Vin: JM3TB28A580138068 ## Mail History Id: 31724223, Consumer Id: 1010192, Address Id: 14931858 => Updated with Vin: 2CNDL63F156071066 ## Mail History Id: 31724199, Consumer Id: 1015923, Address Id: 6662807 => Updated with Vin: JM1BK343861503111 ## Mail History Id: 31724227, Consumer Id: 1017236, Address Id: 6666740 => Updated with Vin: JM1BJ226820558930 ## Mail History Id: 31724197, Consumer Id: 1010207, Address Id: 6662396 => Updated with Vin: 4F2YZ04145KM01140 ## Total mail_history records updated with vin numbers: 18 out of 23 ============================================================ ====== Tracking Id: 3107 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-17 11:14:51') AND us2_order_type_id = 3 ## Order found: 2860 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2860 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3705 ## Mailing found: '13900' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3108 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-17 11:15:00') AND us2_order_type_id = 3 ## Order found: 2861 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2861 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3808 ## Mailing found: '13907,13908,13909' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724717, Consumer Id: 1171687, Address Id: 15029839 => Updated with Vin: 1GNDV23L55D223629 ## Mail History Id: 31724761, Consumer Id: 1171662, Address Id: 15029818 => Updated with Vin: 1GCGK24K2NE211114 ## Mail History Id: 31724723, Consumer Id: 1171668, Address Id: 15029823 => Updated with Vin: 1GNEC13T61R175673 ## Mail History Id: 31724779, Consumer Id: 1171691, Address Id: 15029842 => Updated with Vin: 2G1WF52E639221491 ## Mail History Id: 31724635, Consumer Id: 1171703, Address Id: 15029852 => Updated with Vin: 2GCEC13Z661286978 ## Mail History Id: 31724757, Consumer Id: 1171700, Address Id: 15029850 => Updated with Vin: 1G1AK52F657506209 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 3109 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-17 11:15:12') AND us2_order_type_id = 3 ## Order found: 2861 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2861 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3808 ## Mailing found: '13907,13908,13909' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724677, Consumer Id: 1266468, Address Id: 15437945 => Updated with Vin: 1GNES13H662293995 ## Mail History Id: 31724679, Consumer Id: 1265876, Address Id: 15437453 => Updated with Vin: 1GNDT13S072192537 ## Mail History Id: 31724737, Consumer Id: 1266467, Address Id: 15437944 => Updated with Vin: 1GCEC14VX4Z229392 ## Mail History Id: 31724753, Consumer Id: 1266501, Address Id: 15437975 => Updated with Vin: 1J4GK48K75W607758 ## Mail History Id: 31724709, Consumer Id: 1266483, Address Id: 15437958 => Updated with Vin: 1FAFP52U4WA150723 ## Mail History Id: 31724743, Consumer Id: 1266150, Address Id: 15437694 => Updated with Vin: 2GCEC19V831157320 ## Mail History Id: 31724683, Consumer Id: 1266465, Address Id: 15437942 => Updated with Vin: 3GNEK12Z85G206534 ## Mail History Id: 31724701, Consumer Id: 1266250, Address Id: 14813134 => Updated with Vin: 1GNDX03EX3D118114 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 3110 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-17 11:41:31') AND us2_order_type_id = 3 ## Order found: 2863 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2863 AND product_id = 142 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3111 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-17 11:41:31') AND us2_order_type_id = 3 ## Order found: 2863 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2863 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3112 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-17 11:41:34') AND us2_order_type_id = 3 ## Order found: 2862 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2862 AND product_id = 2147 ## Job Group Found: '593' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('593') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808002') AND customer_id = 3721 ## Mailing found: '13785' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725284, Consumer Id: 1012730, Address Id: 14932191 => Updated with Vin: 4F2CZ06143KM22669 ## Mail History Id: 31725286, Consumer Id: 1011940, Address Id: 6665799 => Updated with Vin: 1YVHP84D755M19669 ## Mail History Id: 31725288, Consumer Id: 1013609, Address Id: 6662825 => Updated with Vin: JM1BK143141179310 ## Mail History Id: 31725290, Consumer Id: 1009724, Address Id: 12021434 => Updated with Vin: 1YVHP80C275M38694 ## Mail History Id: 31725292, Consumer Id: 1017398, Address Id: 529356 => Updated with Vin: JM3TB28Y970119468 ## Mail History Id: 31725294, Consumer Id: 1017421, Address Id: 6666083 => Updated with Vin: JM1BJ246521551408 ## Mail History Id: 31725296, Consumer Id: 1009873, Address Id: 6662645 => Updated with Vin: 1YVHP81D085M19389 ## Mail History Id: 31725298, Consumer Id: 1010178, Address Id: 14931847 => Updated with Vin: 1HGCM56705A077862 ## Mail History Id: 31725300, Consumer Id: 1008652, Address Id: 14930725 => Updated with Vin: 1YVGF22D0W5688502 ## Mail History Id: 31725302, Consumer Id: 1017581, Address Id: 14933535 => Updated with Vin: JM1BK12F771715730 ## Mail History Id: 31725304, Consumer Id: 1017596, Address Id: 14933545 => Updated with Vin: JM3ER293170117141 ## Mail History Id: 31725306, Consumer Id: 1017595, Address Id: 14933544 => Updated with Vin: 4F4YR16V01TM30443 ## Mail History Id: 31725308, Consumer Id: 1010236, Address Id: 14931889 => Updated with Vin: 2G4WS52J441171086 ## Mail History Id: 31725310, Consumer Id: 1010239, Address Id: 10792094 => Updated with Vin: JM1BK12F671714648 ## Total mail_history records updated with vin numbers: 14 out of 19 ============================================================ ====== Tracking Id: 3113 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-17 11:41:35') AND us2_order_type_id = 3 ## Order found: 2863 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2863 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3357 ## Mailing found: '13871,13872,13873' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725225, Consumer Id: 197203, Address Id: 406964 => Updated with Vin: 2T1CF22P51C425092 ## Mail History Id: 31725177, Consumer Id: 187222, Address Id: 398010 => Updated with Vin: 1FMDU75W94ZB08626 ## Mail History Id: 31725151, Consumer Id: 196432, Address Id: 405733 => Updated with Vin: JM1FE17N740137865 ## Mail History Id: 31725215, Consumer Id: 193706, Address Id: 395202 => Updated with Vin: 1FAFP404X3F392864 ## Mail History Id: 31725153, Consumer Id: 155640, Address Id: 397680 => Updated with Vin: 4F2CZ061X4KM20541 ## Mail History Id: 31725175, Consumer Id: 197956, Address Id: 407343 => Updated with Vin: 1HGEM22504L075995 ## Mail History Id: 31725141, Consumer Id: 198524, Address Id: 407376 => Updated with Vin: JM1FE173050154202 ## Mail History Id: 31725179, Consumer Id: 152462, Address Id: 394789 => Updated with Vin: 1FAFP56U65A303384 ## Mail History Id: 31725171, Consumer Id: 190478, Address Id: 402001 => Updated with Vin: 1FMYU93135KD86825 ## Mail History Id: 31725207, Consumer Id: 197818, Address Id: 407336 => Updated with Vin: 2D4FV47T56H186824 ## Mail History Id: 31725161, Consumer Id: 154128, Address Id: 394741 => Updated with Vin: JM3ER29LX70114514 ## Mail History Id: 31725137, Consumer Id: 198431, Address Id: 407366 => Updated with Vin: 1FTYR44E37PA01649 ## Mail History Id: 31725147, Consumer Id: 155641, Address Id: 397681 => Updated with Vin: 5LMFU28518LJ07202 ## Mail History Id: 31725191, Consumer Id: 198452, Address Id: 407368 => Updated with Vin: 1MEFM6532YK610517 ## Mail History Id: 31725157, Consumer Id: 198069, Address Id: 398329 => Updated with Vin: 3FAFP3136YR180859 ## Total mail_history records updated with vin numbers: 15 out of 17 ============================================================ ====== Tracking Id: 3114 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-17 11:41:50') AND us2_order_type_id = 3 ## Order found: 2863 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2863 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3357 ## Mailing found: '13871,13872,13873' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725199, Consumer Id: 155845, Address Id: 397877 => Updated with Vin: 1G6KY549X2U278586 ## Mail History Id: 31725143, Consumer Id: 155839, Address Id: 397871 => Updated with Vin: 1ZVFT85H055175225 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 3115 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-17 12:13:41') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 3116 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-17 12:13:45') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 3117 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-17 12:13:49') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 3118 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-17 12:13:56') AND us2_order_type_id = 3 ## Order found: 2864 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2864 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3471 ## Mailing found: '13816' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724028, Consumer Id: 760280, Address Id: 10216469 => Updated with Vin: 1G6DM577640184195 ## Mail History Id: 31724044, Consumer Id: 760407, Address Id: 10217366 => Updated with Vin: 1G6KD57Y47U105703 ## Mail History Id: 31724020, Consumer Id: 760241, Address Id: 10216664 => Updated with Vin: 1GYEK63N82R108871 ## Mail History Id: 31723900, Consumer Id: 760262, Address Id: 7878390 => Updated with Vin: 1G6KF52YXSU296375 ## Mail History Id: 31723954, Consumer Id: 760381, Address Id: 7416093 => Updated with Vin: 1GHDX13E51D145730 ## Mail History Id: 31723966, Consumer Id: 760236, Address Id: 7416303 => Updated with Vin: 1GYEK63N44R205276 ## Mail History Id: 31723904, Consumer Id: 760226, Address Id: 7878450 => Updated with Vin: 1G3NF52E64C183323 ## Mail History Id: 31724086, Consumer Id: 760322, Address Id: 11850992 => Updated with Vin: 1G6KS52Y6VU821335 ## Mail History Id: 31723982, Consumer Id: 760244, Address Id: 10214455 => Updated with Vin: 1G3HY53L5N1823555 ## Mail History Id: 31723896, Consumer Id: 760216, Address Id: 10211425 => Updated with Vin: 1G6KY5499WU933200 ## Mail History Id: 31723930, Consumer Id: 760205, Address Id: 7879021 => Updated with Vin: 1G3NL52E41C161325 ## Mail History Id: 31723994, Consumer Id: 760291, Address Id: 10214618 => Updated with Vin: 1G3NL52T1XC356614 ## Mail History Id: 31723962, Consumer Id: 760316, Address Id: 7416252 => Updated with Vin: 1G6KS54Y91U136737 ## Mail History Id: 31724030, Consumer Id: 760371, Address Id: 10216552 => Updated with Vin: 1GYEK63N54R171364 ## Mail History Id: 31723920, Consumer Id: 760266, Address Id: 7878752 => Updated with Vin: 1G3WS52H52F196022 ## Mail History Id: 31724024, Consumer Id: 760214, Address Id: 10216919 => Updated with Vin: 3GYEK62N74G267448 ## Mail History Id: 31723912, Consumer Id: 760273, Address Id: 10212431 => Updated with Vin: 1G6KD52YXTU306118 ## Mail History Id: 31723914, Consumer Id: 760279, Address Id: 7878616 => Updated with Vin: 1G6KF57923U201892 ## Mail History Id: 31723898, Consumer Id: 760219, Address Id: 7878325 => Updated with Vin: 1G6KS54Y94U157110 ## Mail History Id: 31723964, Consumer Id: 760211, Address Id: 7416279 => Updated with Vin: 1GYEK63N22R163588 ## Mail History Id: 31723998, Consumer Id: 760238, Address Id: 10214656 => Updated with Vin: 1G6KD52Y2VU225875 ## Mail History Id: 31723938, Consumer Id: 760377, Address Id: 7415615 => Updated with Vin: 3GYFK66N14G336097 ## Mail History Id: 31723972, Consumer Id: 760379, Address Id: 7416537 => Updated with Vin: 3GYEK62N85G159891 ## Mail History Id: 31724080, Consumer Id: 760235, Address Id: 11850959 => Updated with Vin: 1G6KY54911U125142 ## Mail History Id: 31724042, Consumer Id: 760257, Address Id: 10217339 => Updated with Vin: 1G6DP567X50151856 ## Mail History Id: 31724050, Consumer Id: 760248, Address Id: 10217837 => Updated with Vin: 1GYEK63N05R153016 ## Mail History Id: 31723918, Consumer Id: 760278, Address Id: 11850974 => Updated with Vin: 1GYFK63857R328233 ## Mail History Id: 31724062, Consumer Id: 760325, Address Id: 10219124 => Updated with Vin: 1G6DN57S540190006 ## Mail History Id: 31723990, Consumer Id: 760247, Address Id: 266502 => Updated with Vin: 2G4WB52K121110428 ## Mail History Id: 31724040, Consumer Id: 760265, Address Id: 10217309 => Updated with Vin: 1GYEK63NX4R151501 ## Mail History Id: 31723944, Consumer Id: 760283, Address Id: 10560713 => Updated with Vin: 1GYFK638X7R211392 ## Mail History Id: 31724074, Consumer Id: 760246, Address Id: 11850961 => Updated with Vin: 1GYFK63827R138759 ## Mail History Id: 31723986, Consumer Id: 760264, Address Id: 11850967 => Updated with Vin: 1GYFK638X7R165109 ## Mail History Id: 31723946, Consumer Id: 760299, Address Id: 11850981 => Updated with Vin: 1GYFK66847R185318 ## Mail History Id: 31724046, Consumer Id: 760215, Address Id: 10562678 => Updated with Vin: 1G6KS5155KU807977 ## Mail History Id: 31724014, Consumer Id: 760292, Address Id: 10561810 => Updated with Vin: 3GYFK66N26G199481 ## Mail History Id: 31723926, Consumer Id: 760286, Address Id: 7415484 => Updated with Vin: 1GYDE63A140129701 ## Mail History Id: 31724036, Consumer Id: 760289, Address Id: 11850976 => Updated with Vin: 1GYFK63858R133248 ## Mail History Id: 31724072, Consumer Id: 760272, Address Id: 11850972 => Updated with Vin: 1G6KD57906U118665 ## Mail History Id: 31723892, Consumer Id: 760233, Address Id: 11850958 => Updated with Vin: 1GYEK63N63R230999 ## Mail History Id: 31723968, Consumer Id: 760308, Address Id: 11850984 => Updated with Vin: 1GYEE637280103641 ## Mail History Id: 31724094, Consumer Id: 759646, Address Id: 11850933 => Updated with Vin: 1G6KY54911U194591 ## Mail History Id: 31723888, Consumer Id: 759645, Address Id: 11850932 => Updated with Vin: 1G6DP567350101414 ## Total mail_history records updated with vin numbers: 43 out of 55 ============================================================ ====== Tracking Id: 3119 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-17 12:14:12') AND us2_order_type_id = 3 ## Order found: 2864 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2864 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3471 ## Mailing found: '13886' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725051, Consumer Id: 803045, Address Id: 11872232 => Updated with Vin: 1G6KD54Y8XU745336 ## Mail History Id: 31725043, Consumer Id: 803874, Address Id: 10214928 => Updated with Vin: 1GYEK63N43R237109 ## Mail History Id: 31725033, Consumer Id: 821681, Address Id: 10214216 => Updated with Vin: 1GHDT13W1V2725983 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 3120 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-17 12:14:16') AND us2_order_type_id = 3 ## Order found: 2865 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2865 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3121 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-17 14:11:52') AND us2_order_type_id = 3 ## Order found: 2852 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2852 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3418 ## Mailing found: '13812,13813' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723408, Consumer Id: 629816, Address Id: 11770030 => Updated with Vin: 2D4GP44L96R860700 ## Mail History Id: 31723378, Consumer Id: 630263, Address Id: 11770696 => Updated with Vin: 1G6KE57Y62U248545 ## Mail History Id: 31723452, Consumer Id: 630236, Address Id: 11770676 => Updated with Vin: 1G6DW677570119536 ## Mail History Id: 31723284, Consumer Id: 630238, Address Id: 11770678 => Updated with Vin: 2FMDA58267BA18931 ## Mail History Id: 31723356, Consumer Id: 630252, Address Id: 11770689 => Updated with Vin: 1G6YX36D265601841 ## Mail History Id: 31723460, Consumer Id: 630260, Address Id: 8877029 => Updated with Vin: 1G6KD54Y21U284108 ## Mail History Id: 31723244, Consumer Id: 630254, Address Id: 11770691 => Updated with Vin: 1GYEK63N04R208031 ## Mail History Id: 31723324, Consumer Id: 630255, Address Id: 11770692 => Updated with Vin: 1G6DW677750169982 ## Mail History Id: 31723454, Consumer Id: 630527, Address Id: 11770967 => Updated with Vin: 1G6DF577180190633 ## Mail History Id: 31723392, Consumer Id: 630057, Address Id: 11770674 => Updated with Vin: 1G6DM57T070137956 ## Mail History Id: 31723288, Consumer Id: 630532, Address Id: 11770971 => Updated with Vin: 1GYEE437080132706 ## Mail History Id: 31723256, Consumer Id: 630531, Address Id: 11770970 => Updated with Vin: 1G6DF577680192524 ## Mail History Id: 31723352, Consumer Id: 630264, Address Id: 11770697 => Updated with Vin: 1G6DM577X40118197 ## Mail History Id: 31723242, Consumer Id: 630237, Address Id: 11770677 => Updated with Vin: 1G6DC67A360100387 ## Mail History Id: 31723464, Consumer Id: 630242, Address Id: 11770681 => Updated with Vin: 1G6KF54971U236025 ## Mail History Id: 31723340, Consumer Id: 630250, Address Id: 11770687 => Updated with Vin: 1G6DW677560137890 ## Mail History Id: 31723358, Consumer Id: 630245, Address Id: 11770683 => Updated with Vin: 1G6YX36D365602450 ## Mail History Id: 31723280, Consumer Id: 630261, Address Id: 11770694 => Updated with Vin: 1G6DM56T250237328 ## Mail History Id: 31723364, Consumer Id: 630268, Address Id: 11770700 => Updated with Vin: 1GYFK66817R298045 ## Mail History Id: 31723458, Consumer Id: 630239, Address Id: 11770679 => Updated with Vin: 1G6KF57942U238067 ## Mail History Id: 31723474, Consumer Id: 630266, Address Id: 11770698 => Updated with Vin: 1G6KD57926U108395 ## Mail History Id: 31723382, Consumer Id: 630244, Address Id: 6915295 => Updated with Vin: 1G6DM57N430172981 ## Mail History Id: 31723472, Consumer Id: 630243, Address Id: 11770682 => Updated with Vin: 1G6DM57N130167978 ## Mail History Id: 31723442, Consumer Id: 630256, Address Id: 6771810 => Updated with Vin: 1G6DW677360138696 ## Mail History Id: 31723380, Consumer Id: 630251, Address Id: 11770688 => Updated with Vin: 1GYEE637260210704 ## Mail History Id: 31723414, Consumer Id: 630257, Address Id: 11770693 => Updated with Vin: 1G6KD57997U124305 ## Mail History Id: 31723290, Consumer Id: 630533, Address Id: 10326363 => Updated with Vin: 1G6DG577280190167 ## Mail History Id: 31723270, Consumer Id: 630249, Address Id: 11770686 => Updated with Vin: 1G6KD57YX7U203280 ## Mail History Id: 31723468, Consumer Id: 630258, Address Id: 11372786 => Updated with Vin: 1G6KD57Y27U152180 ## Mail History Id: 31723412, Consumer Id: 630240, Address Id: 11770680 => Updated with Vin: 1G6DP577570180537 ## Mail History Id: 31723388, Consumer Id: 630235, Address Id: 11770675 => Updated with Vin: 1G6DW677970180436 ## Mail History Id: 31723254, Consumer Id: 630259, Address Id: 11418610 => Updated with Vin: 1G6DP577570146615 ## Mail History Id: 31723300, Consumer Id: 630269, Address Id: 8872890 => Updated with Vin: 1G6KD57Y27U131328 ## Mail History Id: 31723376, Consumer Id: 630265, Address Id: 6609080 => Updated with Vin: 1GYFK63867R401836 ## Mail History Id: 31723260, Consumer Id: 630270, Address Id: 11770701 => Updated with Vin: 1G6DW677460133037 ## Mail History Id: 31723436, Consumer Id: 630267, Address Id: 11770699 => Updated with Vin: 1G6KS52Y9RU835980 ## Mail History Id: 31723394, Consumer Id: 610545, Address Id: 11755255 => Updated with Vin: 1GYFK63808R157506 ## Mail History Id: 31723470, Consumer Id: 630262, Address Id: 11770695 => Updated with Vin: 1G6KS52Y4TU835490 ## Mail History Id: 31723302, Consumer Id: 610116, Address Id: 11754876 => Updated with Vin: 1G6DM577580113852 ## Mail History Id: 31723422, Consumer Id: 610096, Address Id: 11754857 => Updated with Vin: 1GYFK668X7R410809 ## Mail History Id: 31723326, Consumer Id: 1782324, Address Id: 16558556 => Updated with Vin: 1G6KD57Y97U186178 ## Total mail_history records updated with vin numbers: 41 out of 61 ============================================================ ====== Tracking Id: 3122 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-17 14:11:53') AND us2_order_type_id = 3 ## Order found: 2865 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2865 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3451 ## Mailing found: '13880,13881,13882' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725101, Consumer Id: 615811, Address Id: 11758185 => Updated with Vin: 1GYEK63N63R140834 ## Mail History Id: 31725063, Consumer Id: 628274, Address Id: 11756531 => Updated with Vin: 1G6KD57Y57U191698 ## Mail History Id: 31725071, Consumer Id: 624565, Address Id: 826997 => Updated with Vin: 1G6KD54Y11U122552 ## Mail History Id: 31725095, Consumer Id: 614341, Address Id: 11757276 => Updated with Vin: 1G6DM57N230136013 ## Mail History Id: 31725117, Consumer Id: 614541, Address Id: 3244820 => Updated with Vin: 1G6KS54Y1YU200750 ## Mail History Id: 31725131, Consumer Id: 622446, Address Id: 11762544 => Updated with Vin: 1G6KE57Y43U276880 ## Mail History Id: 31725127, Consumer Id: 627827, Address Id: 11765251 => Updated with Vin: 1GYFK63887R370685 ## Mail History Id: 31725087, Consumer Id: 628293, Address Id: 11765571 => Updated with Vin: 3GYFK66N64G223116 ## Mail History Id: 31725109, Consumer Id: 616913, Address Id: 3243822 => Updated with Vin: 1G6DM577240127962 ## Mail History Id: 31725107, Consumer Id: 628288, Address Id: 3243685 => Updated with Vin: 1GYFK63807R136914 ## Mail History Id: 31725115, Consumer Id: 628299, Address Id: 11765577 => Updated with Vin: YV4CY592061294569 ## Total mail_history records updated with vin numbers: 11 out of 13 ============================================================ ====== Tracking Id: 3123 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-17 14:12:17') AND us2_order_type_id = 3 ## Order found: 2865 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2865 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3451 ## Mailing found: '13880,13881,13882' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725093, Consumer Id: 619323, Address Id: 7690064 => Updated with Vin: 5GRGN23U33H145354 ## Mail History Id: 31725081, Consumer Id: 615958, Address Id: 833502 => Updated with Vin: 1G6KD54Y8YU218155 ## Mail History Id: 31725061, Consumer Id: 611414, Address Id: 3807614 => Updated with Vin: 1G6DP567X50196652 ## Mail History Id: 31725065, Consumer Id: 619333, Address Id: 11757783 => Updated with Vin: 1FAHP60A13Y112201 ## Mail History Id: 31725097, Consumer Id: 619329, Address Id: 11760969 => Updated with Vin: 1ZVFT80N965239003 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 3124 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-17 14:12:29') AND us2_order_type_id = 3 ## Order found: 2865 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2865 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3451 ## Mailing found: '13880,13881,13882' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3125 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 4038 AND DATE(cart_created_date) = DATE('2008-09-17 15:17:13') AND us2_order_type_id = 3 ## Order found: 2866 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2866 AND product_id = 54 ## Job Group Found: '590' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('590') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'hda091608001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('hda091608001a') AND customer_id = 4038 ## Mailing found: '13747' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 3126 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-17 19:11:26') AND us2_order_type_id = 3 ## Order found: 2863 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2863 AND product_id = 55 ## Job Group Found: '594' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('594') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808003') AND customer_id = 3357 ## Mailing found: '13835' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725509, Consumer Id: 2049094, Address Id: 17093243 => Updated with Vin: 2FTRF07364CA11069 ## Mail History Id: 31725511, Consumer Id: 2049093, Address Id: 17093242 => Updated with Vin: 1FTPX04534KB90452 ## Mail History Id: 31725513, Consumer Id: 2052423, Address Id: 405344 => Updated with Vin: 1FTPW14555KF07089 ## Mail History Id: 31725515, Consumer Id: 2051519, Address Id: 17136838 => Updated with Vin: 2FMDK48C18BA41163 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 3127 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-17 20:00:50') AND us2_order_type_id = 3 ## Order found: 2874 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2874 AND product_id = 2152 ## Job Group Found: '598' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('598') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808007') AND customer_id = 3846 ## Mailing found: '13861' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3128 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-17 20:01:02') AND us2_order_type_id = 3 ## Order found: 2874 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2874 AND product_id = 2147 ## Job Group Found: '593' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('593') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808002') AND customer_id = 3846 ## Mailing found: '13787' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725361, Consumer Id: 1187017, Address Id: 15371312 => Updated with Vin: 4S3BH686717617708 ## Mail History Id: 31725363, Consumer Id: 1184755, Address Id: 62745 => Updated with Vin: 4S3BE686927211908 ## Mail History Id: 31725365, Consumer Id: 1179069, Address Id: 4441562 => Updated with Vin: JF1GH616X8H809523 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 3129 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-17 20:01:14') AND us2_order_type_id = 3 ## Order found: 2874 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2874 AND product_id = 2150 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3846 ## Mailing found: '13829,13830' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723261, Consumer Id: 1180228, Address Id: 15366981 => Updated with Vin: JF1SG63633H730732 ## Mail History Id: 31723253, Consumer Id: 1179546, Address Id: 461116 => Updated with Vin: 4S3BH665216647697 ## Mail History Id: 31723333, Consumer Id: 1182073, Address Id: 15369861 => Updated with Vin: 4S4BP61C787320219 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 3130 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-17 20:11:08') AND us2_order_type_id = 3 ## Order found: 2875 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2875 AND product_id = 2153 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3503 ## Mailing found: '13893' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724448, Consumer Id: 699116, Address Id: 9751993 => Updated with Vin: JTDKB20U683310178 ## Mail History Id: 31724376, Consumer Id: 2161236, Address Id: 9726876 => Updated with Vin: 4T1FA38P95U053866 ## Mail History Id: 31724358, Consumer Id: 2171870, Address Id: 9719588 => Updated with Vin: 4T1BF28B43U301260 ## Mail History Id: 31724370, Consumer Id: 2160206, Address Id: 9725293 => Updated with Vin: 4T1FA38P64U033783 ## Mail History Id: 31724372, Consumer Id: 2158462, Address Id: 9720210 => Updated with Vin: 4T3ZF13C63U519569 ## Mail History Id: 31724386, Consumer Id: 2168917, Address Id: 9737579 => Updated with Vin: 2T1BR32E55C502928 ## Mail History Id: 31724350, Consumer Id: 436804, Address Id: 1731904 => Updated with Vin: JTEBU11F870070728 ## Mail History Id: 31724348, Consumer Id: 2162543, Address Id: 9728687 => Updated with Vin: 5TDBA22C35S050632 ## Mail History Id: 31724342, Consumer Id: 2177666, Address Id: 9727060 => Updated with Vin: JTEHH20V830260438 ## Mail History Id: 31724452, Consumer Id: 2173172, Address Id: 9720903 => Updated with Vin: 4T1BF22K7YU935209 ## Mail History Id: 31724410, Consumer Id: 2158608, Address Id: 9721335 => Updated with Vin: 5TDBT48A93S190225 ## Mail History Id: 31724394, Consumer Id: 384872, Address Id: 4477937 => Updated with Vin: 1NXBR32E26Z695927 ## Mail History Id: 31724414, Consumer Id: 2167762, Address Id: 9735032 => Updated with Vin: 5TBDV581X7S464765 ## Total mail_history records updated with vin numbers: 13 out of 30 ============================================================ ====== Tracking Id: 3131 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-17 20:11:21') AND us2_order_type_id = 3 ## Order found: 2875 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2875 AND product_id = 2147 ## Job Group Found: '593' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('593') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808002') AND customer_id = 3503 ## Mailing found: '13784' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725287, Consumer Id: 2180504, Address Id: 9732645 => Updated with Vin: JTEEP21A440044766 ## Mail History Id: 31725295, Consumer Id: 2172276, Address Id: 9720001 => Updated with Vin: 4TAPM62N4WZ162440 ## Mail History Id: 31725303, Consumer Id: 2181796, Address Id: 9736051 => Updated with Vin: JT3HJ85J2V0168041 ## Mail History Id: 31725305, Consumer Id: 2177236, Address Id: 9725505 => Updated with Vin: JT2AE09V6R0057376 ## Total mail_history records updated with vin numbers: 4 out of 15 ============================================================ ====== Tracking Id: 3132 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-17 20:11:33') AND us2_order_type_id = 3 ## Order found: 2875 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2875 AND product_id = 2150 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3503 ## Mailing found: '13817,13818' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723237, Consumer Id: 2182262, Address Id: 454294 => Updated with Vin: 5TBBT44195S459616 ## Mail History Id: 31723527, Consumer Id: 2176989, Address Id: 9725737 => Updated with Vin: 5TBJN321XYS095259 ## Mail History Id: 31723349, Consumer Id: 2163256, Address Id: 9729630 => Updated with Vin: 4T1BK36B96U078450 ## Mail History Id: 31723487, Consumer Id: 2161727, Address Id: 9727541 => Updated with Vin: JTEHD21A250036592 ## Mail History Id: 31723235, Consumer Id: 2169591, Address Id: 9738496 => Updated with Vin: 4T1BK36B48U285881 ## Mail History Id: 31723247, Consumer Id: 389613, Address Id: 9735823 => Updated with Vin: 4T1BK36B47U244472 ## Mail History Id: 31723493, Consumer Id: 2168771, Address Id: 9736782 => Updated with Vin: 2T1BR32E85C435385 ## Mail History Id: 31723419, Consumer Id: 2161341, Address Id: 9727260 => Updated with Vin: JTEGD20VX50053950 ## Mail History Id: 31723519, Consumer Id: 2184569, Address Id: 9738051 => Updated with Vin: JTEHD21A350036908 ## Total mail_history records updated with vin numbers: 9 out of 17 ============================================================ ====== Tracking Id: 3133 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-17 20:11:45') AND us2_order_type_id = 3 ## Order found: 2875 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2875 AND product_id = 2152 ## Job Group Found: '598' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('598') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808007') AND customer_id = 3503 ## Mailing found: '13856' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725429, Consumer Id: 2176938, Address Id: 9725695 => Updated with Vin: 4T1BF32K52U523089 ## Mail History Id: 31725433, Consumer Id: 2171957, Address Id: 9719675 => Updated with Vin: JTEHH20V410053705 ## Mail History Id: 31725435, Consumer Id: 2180588, Address Id: 9732846 => Updated with Vin: 4T1BF28B83U328106 ## Mail History Id: 31725441, Consumer Id: 2161548, Address Id: 9727411 => Updated with Vin: 5TDBT44A95S238847 ## Mail History Id: 31725443, Consumer Id: 2180306, Address Id: 9733510 => Updated with Vin: 2T1FF28PX3C885761 ## Mail History Id: 31725451, Consumer Id: 2159693, Address Id: 9722179 => Updated with Vin: 2T1BR32E64C302218 ## Mail History Id: 31725453, Consumer Id: 2158767, Address Id: 9721458 => Updated with Vin: JTEGD21A520043270 ## Total mail_history records updated with vin numbers: 7 out of 16 ============================================================ ====== Tracking Id: 3134 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-18 07:11:23') AND us2_order_type_id = 3 ## Order found: 2900 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2900 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3503 ## Mailing found: '13817,13818' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723361, Consumer Id: 2173372, Address Id: 9721092 => Updated with Vin: 4T1BE30K22U041461 ## Mail History Id: 31723499, Consumer Id: 2172258, Address Id: 9719984 => Updated with Vin: 4T1BF28B12U236091 ## Mail History Id: 31723525, Consumer Id: 2161218, Address Id: 9719206 => Updated with Vin: JTEBU14R258034831 ## Mail History Id: 31723407, Consumer Id: 2173204, Address Id: 9720935 => Updated with Vin: JT3HN86R4Y0319054 ## Mail History Id: 31723435, Consumer Id: 2161839, Address Id: 9727894 => Updated with Vin: 4T1BE32K15U570725 ## Mail History Id: 31723441, Consumer Id: 2169503, Address Id: 9738440 => Updated with Vin: JTEBU14R08K001771 ## Mail History Id: 31723299, Consumer Id: 2159960, Address Id: 9725099 => Updated with Vin: JTEEP21A340036870 ## Mail History Id: 31723331, Consumer Id: 2171188, Address Id: 9718948 => Updated with Vin: 4T3ZF13C01U339677 ## Mail History Id: 31723347, Consumer Id: 2158983, Address Id: 9722518 => Updated with Vin: 5TBRN34133S435134 ## Mail History Id: 31723513, Consumer Id: 2176659, Address Id: 9725463 => Updated with Vin: 4T3ZF13C61U334175 ## Mail History Id: 31723495, Consumer Id: 2178271, Address Id: 9728306 => Updated with Vin: 5TEHN72N82Z108231 ## Mail History Id: 31723459, Consumer Id: 2169388, Address Id: 9738360 => Updated with Vin: 2T1BR32EX7C726540 ## Mail History Id: 31723305, Consumer Id: 2164359, Address Id: 9723716 => Updated with Vin: 5TDZA22C64S014706 ## Total mail_history records updated with vin numbers: 13 out of 25 ============================================================ ====== Tracking Id: 3135 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-18 08:11:21') AND us2_order_type_id = 3 ## Order found: 2901 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2901 AND product_id = 55 ## Job Group Found: '594' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('594') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808003') AND customer_id = 3230 ## Mailing found: '13834' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725517, Consumer Id: 2055878, Address Id: 48053 => Updated with Vin: 1FAFP552X3A226709 ## Mail History Id: 31725502, Consumer Id: 2055879, Address Id: 48867 => Updated with Vin: 3B7KF26Z7XM564681 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 3136 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-18 08:41:21') AND us2_order_type_id = 3 ## Order found: 2901 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2901 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3230 ## Mailing found: '13870' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3137 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-18 09:14:18') AND us2_order_type_id = 3 ## Order found: 2911 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2911 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3470 ## Mailing found: '13883,13884,13885' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725202, Consumer Id: 582937, Address Id: 350616 => Updated with Vin: 2B3LA73W96H327957 ## Mail History Id: 31724970, Consumer Id: 578389, Address Id: 10731168 => Updated with Vin: 1J4GK58K63W649213 ## Mail History Id: 31725056, Consumer Id: 556368, Address Id: 10679032 => Updated with Vin: 1J8GX58N04C291183 ## Mail History Id: 31725050, Consumer Id: 557637, Address Id: 5395517 => Updated with Vin: 1J4FA49S7YP750690 ## Mail History Id: 31725152, Consumer Id: 582931, Address Id: 10700964 => Updated with Vin: 1D7HE48N76S542016 ## Mail History Id: 31725080, Consumer Id: 567277, Address Id: 5396955 => Updated with Vin: 1C3AL46X16N239743 ## Mail History Id: 31725122, Consumer Id: 568561, Address Id: 10713833 => Updated with Vin: 2C4GM68494R626946 ## Mail History Id: 31725128, Consumer Id: 569731, Address Id: 10716649 => Updated with Vin: 2D4FV47T87H729004 ## Mail History Id: 31725148, Consumer Id: 580382, Address Id: 10737617 => Updated with Vin: 1D4GP25B35B432810 ## Mail History Id: 31725206, Consumer Id: 581635, Address Id: 10742089 => Updated with Vin: 1J4FA49S76P788515 ## Mail History Id: 31725094, Consumer Id: 582491, Address Id: 1350283 => Updated with Vin: 2C3KA43R66H305566 ## Mail History Id: 31725098, Consumer Id: 582374, Address Id: 2798719 => Updated with Vin: 1D7HE28N45S119476 ## Mail History Id: 31725188, Consumer Id: 582935, Address Id: 10687708 => Updated with Vin: 1D4GP45R57B126090 ## Mail History Id: 31725110, Consumer Id: 572935, Address Id: 10719383 => Updated with Vin: 1C4GP45R05B286601 ## Mail History Id: 31724964, Consumer Id: 572933, Address Id: 10719381 => Updated with Vin: 3A8FY48B68T104533 ## Mail History Id: 31725190, Consumer Id: 572937, Address Id: 10719385 => Updated with Vin: 2A8GM48L57R329293 ## Total mail_history records updated with vin numbers: 16 out of 17 ============================================================ ====== Tracking Id: 3138 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-18 09:14:30') AND us2_order_type_id = 3 ## Order found: 2911 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2911 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3470 ## Mailing found: '13883,13884,13885' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724986, Consumer Id: 567836, Address Id: 7114683 => Updated with Vin: 1J4GS48K16C261709 ## Mail History Id: 31725196, Consumer Id: 554162, Address Id: 10688783 => Updated with Vin: 1D7HL12X73S294635 ## Mail History Id: 31725118, Consumer Id: 570950, Address Id: 10692312 => Updated with Vin: 1B3HB48B37D538092 ## Mail History Id: 31725086, Consumer Id: 583176, Address Id: 1546243 => Updated with Vin: 1D4GP24303B247539 ## Mail History Id: 31725208, Consumer Id: 561145, Address Id: 4105607 => Updated with Vin: 2C4GM68495R662931 ## Mail History Id: 31725146, Consumer Id: 562315, Address Id: 7158539 => Updated with Vin: 2C8GM68435R454512 ## Mail History Id: 31725136, Consumer Id: 563372, Address Id: 10703571 => Updated with Vin: 1J4GK38KX5W683131 ## Mail History Id: 31725138, Consumer Id: 567952, Address Id: 10713620 => Updated with Vin: 1D4GP24R46B689247 ## Mail History Id: 31725176, Consumer Id: 568058, Address Id: 10699436 => Updated with Vin: 2B3KA43G57H615012 ## Mail History Id: 31725140, Consumer Id: 568422, Address Id: 1551689 => Updated with Vin: 1D7HE48N56S664518 ## Mail History Id: 31725018, Consumer Id: 569128, Address Id: 10689512 => Updated with Vin: 3D7ML49C77G725703 ## Mail History Id: 31724976, Consumer Id: 579490, Address Id: 10734964 => Updated with Vin: 1J4GK48K16W124803 ## Mail History Id: 31724980, Consumer Id: 569644, Address Id: 2042525 => Updated with Vin: 1D7HU18P07J549089 ## Mail History Id: 31724974, Consumer Id: 580707, Address Id: 10739922 => Updated with Vin: 1J4GK58K85W633470 ## Mail History Id: 31725182, Consumer Id: 571562, Address Id: 10718855 => Updated with Vin: 2A8GM68X07R129937 ## Mail History Id: 31725068, Consumer Id: 573053, Address Id: 10719438 => Updated with Vin: 1J8FF48W77D372391 ## Mail History Id: 31725022, Consumer Id: 573125, Address Id: 5605061 => Updated with Vin: 1D7HU182X8J129944 ## Mail History Id: 31725066, Consumer Id: 573123, Address Id: 10689096 => Updated with Vin: 1GNFC16098R117945 ## Mail History Id: 31725070, Consumer Id: 583154, Address Id: 5573113 => Updated with Vin: 2B3KA53H47H656035 ## Mail History Id: 31725166, Consumer Id: 583157, Address Id: 8428843 => Updated with Vin: 2C4GP44R25R124424 ## Mail History Id: 31724924, Consumer Id: 583160, Address Id: 2041073 => Updated with Vin: 3C8FY4BB51T531027 ## Mail History Id: 31725210, Consumer Id: 573160, Address Id: 10020320 => Updated with Vin: 3A8FY48B98T124436 ## Mail History Id: 31724982, Consumer Id: 583164, Address Id: 4094644 => Updated with Vin: 1J4GK58K96W286300 ## Total mail_history records updated with vin numbers: 23 out of 28 ============================================================ ====== Tracking Id: 3139 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-18 09:14:43') AND us2_order_type_id = 3 ## Order found: 2911 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2911 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3470 ## Mailing found: '13883,13884,13885' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724928, Consumer Id: 956251, Address Id: 10692295 => Updated with Vin: 1J8GP28K88W240796 ## Mail History Id: 31724942, Consumer Id: 955745, Address Id: 4043785 => Updated with Vin: 1J8GP28K38W240804 ## Total mail_history records updated with vin numbers: 2 out of 3 ============================================================ ====== Tracking Id: 3140 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-18 09:14:48') AND us2_order_type_id = 3 ## Order found: 2912 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2912 AND product_id = 142 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3141 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-18 09:14:55') AND us2_order_type_id = 3 ## Order found: 2912 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2912 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3768 ## Mailing found: '13901,13902,13903' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724634, Consumer Id: 1044637, Address Id: 14952888 => Updated with Vin: 1G6DM577240132580 ## Mail History Id: 31724630, Consumer Id: 1043425, Address Id: 3175268 => Updated with Vin: 1G6DM577840155331 ## Mail History Id: 31724544, Consumer Id: 1111654, Address Id: 2853695 => Updated with Vin: 1FTRF12285NA06035 ## Mail History Id: 31724558, Consumer Id: 1116368, Address Id: 14984054 => Updated with Vin: 2G1WF52E449272831 ## Mail History Id: 31724606, Consumer Id: 1116452, Address Id: 14984089 => Updated with Vin: JNKDA31A64T201296 ## Mail History Id: 31724550, Consumer Id: 1116442, Address Id: 14984083 => Updated with Vin: 1G6DP567250104448 ## Mail History Id: 31724562, Consumer Id: 1110485, Address Id: 8827417 => Updated with Vin: 1G6KD54Y82U206742 ## Mail History Id: 31724592, Consumer Id: 1113582, Address Id: 8828993 => Updated with Vin: 1GNEC16Z22J224853 ## Total mail_history records updated with vin numbers: 8 out of 9 ============================================================ ====== Tracking Id: 3142 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-18 09:15:07') AND us2_order_type_id = 3 ## Order found: 2912 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2912 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3143 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-18 09:15:11') AND us2_order_type_id = 3 ## Order found: 2912 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2912 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3768 ## Mailing found: '13901,13902,13903' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724572, Consumer Id: 1042211, Address Id: 5988031 => Updated with Vin: 1G6KD52BXSU299133 ## Mail History Id: 31724490, Consumer Id: 1049348, Address Id: 2774752 => Updated with Vin: 1G6DM57T960212667 ## Mail History Id: 31724632, Consumer Id: 1116069, Address Id: 4476769 => Updated with Vin: 1G6DM577240150867 ## Mail History Id: 31724564, Consumer Id: 1114293, Address Id: 8827459 => Updated with Vin: 3GYEK63N72G344301 ## Mail History Id: 31724494, Consumer Id: 1047520, Address Id: 14953696 => Updated with Vin: 1G6DP577660106865 ## Mail History Id: 31724468, Consumer Id: 1115535, Address Id: 14983828 => Updated with Vin: 1GYEK63R9YR230652 ## Total mail_history records updated with vin numbers: 6 out of 6 ============================================================ ====== Tracking Id: 3144 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-18 10:11:17') AND us2_order_type_id = 3 ## Order found: 2918 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2918 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3846 ## Mailing found: '13829,13830' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723281, Consumer Id: 1179058, Address Id: 11676681 => Updated with Vin: JF1GH61638G820868 ## Mail History Id: 31723343, Consumer Id: 1179706, Address Id: 9722044 => Updated with Vin: JF1SG65633H757832 ## Mail History Id: 31723221, Consumer Id: 1185070, Address Id: 447017 => Updated with Vin: 4S3BH675846607191 ## Mail History Id: 31723369, Consumer Id: 1179195, Address Id: 15366144 => Updated with Vin: JF1SF6352XH721083 ## Mail History Id: 31723469, Consumer Id: 1186999, Address Id: 15371310 => Updated with Vin: JF1GH61668G808407 ## Mail History Id: 31723255, Consumer Id: 1184138, Address Id: 15368240 => Updated with Vin: JF1GG29633G813640 ## Mail History Id: 31723489, Consumer Id: 1185807, Address Id: 15369918 => Updated with Vin: 4S4BP61C567345648 ## Mail History Id: 31723325, Consumer Id: 1180054, Address Id: 15366813 => Updated with Vin: 4S3BH686X17664375 ## Mail History Id: 31723453, Consumer Id: 1179597, Address Id: 15366441 => Updated with Vin: JF1GG65582H829216 ## Mail History Id: 31723425, Consumer Id: 1179263, Address Id: 15200344 => Updated with Vin: JF1GF4851WG809856 ## Mail History Id: 31723295, Consumer Id: 1186573, Address Id: 15366457 => Updated with Vin: JF1GG61637H817609 ## Mail History Id: 31723273, Consumer Id: 1185856, Address Id: 461034 => Updated with Vin: 4S4BP61C077323252 ## Mail History Id: 31723387, Consumer Id: 1187259, Address Id: 15366762 => Updated with Vin: JF1SG63638H705885 ## Mail History Id: 31723227, Consumer Id: 1184292, Address Id: 15368439 => Updated with Vin: 4S4BP62C957381338 ## Mail History Id: 31723351, Consumer Id: 1179693, Address Id: 9734205 => Updated with Vin: 4S3BH6862Y6672311 ## Mail History Id: 31723461, Consumer Id: 1179362, Address Id: 500064 => Updated with Vin: 4S3BK4350X7310488 ## Mail History Id: 31723379, Consumer Id: 1185006, Address Id: 9746302 => Updated with Vin: 4S4BP67C454358060 ## Mail History Id: 31723497, Consumer Id: 1185124, Address Id: 15369070 => Updated with Vin: 4S4WX83C464422067 ## Mail History Id: 31723397, Consumer Id: 1186246, Address Id: 15370181 => Updated with Vin: JF1SG63677H747457 ## Mail History Id: 31723521, Consumer Id: 1187265, Address Id: 15371490 => Updated with Vin: JF1GG29664G803203 ## Mail History Id: 31723485, Consumer Id: 1185446, Address Id: 9742601 => Updated with Vin: JF1CX8654VH100112 ## Mail History Id: 31723303, Consumer Id: 1186756, Address Id: 15371237 => Updated with Vin: 4S4BP61C187344788 ## Mail History Id: 31723279, Consumer Id: 1186451, Address Id: 15370472 => Updated with Vin: 4S4WX92D284404914 ## Mail History Id: 31723529, Consumer Id: 1182061, Address Id: 15369096 => Updated with Vin: 4S4BT62C567101251 ## Mail History Id: 31723251, Consumer Id: 1186641, Address Id: 9730243 => Updated with Vin: JF1SG65635H711906 ## Mail History Id: 31723371, Consumer Id: 1183869, Address Id: 15368097 => Updated with Vin: 4S4BP62C457354452 ## Mail History Id: 31723433, Consumer Id: 1179733, Address Id: 9741680 => Updated with Vin: 4S3BG6851X7612703 ## Mail History Id: 31723329, Consumer Id: 1180839, Address Id: 15367629 => Updated with Vin: 4S3BH6866Y7610503 ## Mail History Id: 31723309, Consumer Id: 1184520, Address Id: 15368581 => Updated with Vin: JF1GC635XSH518773 ## Total mail_history records updated with vin numbers: 29 out of 31 ============================================================ ====== Tracking Id: 3145 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-18 10:13:41') AND us2_order_type_id = 3 ## Order found: 2911 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2911 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3470 ## Mailing found: '13815' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723869, Consumer Id: 567389, Address Id: 10686373 => Updated with Vin: 19UUA56751A013131 ## Mail History Id: 31724065, Consumer Id: 574947, Address Id: 10721393 => Updated with Vin: 1D7HA18N33S201041 ## Mail History Id: 31724147, Consumer Id: 1173538, Address Id: 6544130 => Updated with Vin: 1J8HH58N16C125646 ## Mail History Id: 31724099, Consumer Id: 567291, Address Id: 10687483 => Updated with Vin: 1D7HA18256S659092 ## Mail History Id: 31723871, Consumer Id: 563486, Address Id: 10692353 => Updated with Vin: 1J4GK48K55W580012 ## Mail History Id: 31724113, Consumer Id: 557738, Address Id: 7739500 => Updated with Vin: 3C3EY55E35T309623 ## Mail History Id: 31724021, Consumer Id: 573066, Address Id: 10695361 => Updated with Vin: 1J8GP58K78W136866 ## Mail History Id: 31724015, Consumer Id: 573989, Address Id: 10720707 => Updated with Vin: 2C8GM68414R637762 ## Mail History Id: 31723885, Consumer Id: 574274, Address Id: 784214 => Updated with Vin: 2C8GM68464R598165 ## Mail History Id: 31723987, Consumer Id: 576483, Address Id: 10723796 => Updated with Vin: 2C4GP44373R209560 ## Mail History Id: 31724133, Consumer Id: 574199, Address Id: 7109516 => Updated with Vin: 2C3HE66G43H512926 ## Mail History Id: 31724121, Consumer Id: 562571, Address Id: 10701039 => Updated with Vin: 2C3JA63H85H660011 ## Mail History Id: 31724103, Consumer Id: 564095, Address Id: 10703808 => Updated with Vin: 2B3KA43G96H174113 ## Mail History Id: 31724069, Consumer Id: 566732, Address Id: 10710590 => Updated with Vin: 1D7HW42N06S589345 ## Mail History Id: 31724109, Consumer Id: 577220, Address Id: 10725830 => Updated with Vin: 1J8HG58206C219400 ## Mail History Id: 31723943, Consumer Id: 567926, Address Id: 9160460 => Updated with Vin: 1C3AL56R66N239745 ## Mail History Id: 31724033, Consumer Id: 567905, Address Id: 7471722 => Updated with Vin: 2C3KA53G66H177995 ## Mail History Id: 31724039, Consumer Id: 568043, Address Id: 10712136 => Updated with Vin: 1D7HA18226S659020 ## Mail History Id: 31724081, Consumer Id: 568525, Address Id: 10712301 => Updated with Vin: 2B3LA73W27H625462 ## Mail History Id: 31723961, Consumer Id: 568154, Address Id: 10713690 => Updated with Vin: 1B3HB48B47D127168 ## Mail History Id: 31723961, Consumer Id: 568154, Address Id: 10713690 => Updated with Vin: 1B3HB48B47D127168 ## Mail History Id: 31724135, Consumer Id: 583381, Address Id: 10713950 => Updated with Vin: 1J4GW58N84C182331 ## Mail History Id: 31724083, Consumer Id: 1175226, Address Id: 2547291 => Updated with Vin: 1J8GP58K68W247344 ## Mail History Id: 31724115, Consumer Id: 569448, Address Id: 4102644 => Updated with Vin: 1D7HA18N03J536134 ## Mail History Id: 31723999, Consumer Id: 569478, Address Id: 2056163 => Updated with Vin: 1J4GS48K15C574385 ## Mail History Id: 31723232, Consumer Id: 582138, Address Id: 10738468 => Updated with Vin: 1C3LN55L57X070131 ## Mail History Id: 31723879, Consumer Id: 570975, Address Id: 2006748 => Updated with Vin: 1B3HB28B37D346983 ## Mail History Id: 31723963, Consumer Id: 571631, Address Id: 10717910 => Updated with Vin: 1J4GK58K15W542864 ## Mail History Id: 31723931, Consumer Id: 581532, Address Id: 10742864 => Updated with Vin: 2D4GP44L26R855337 ## Mail History Id: 31723889, Consumer Id: 571542, Address Id: 10718848 => Updated with Vin: 1J8FT280X7D400998 ## Mail History Id: 31724061, Consumer Id: 582637, Address Id: 10744327 => Updated with Vin: 1D4HD48K96F117475 ## Mail History Id: 31723977, Consumer Id: 571903, Address Id: 10718946 => Updated with Vin: 2A8HR54P78R121633 ## Mail History Id: 31724019, Consumer Id: 583099, Address Id: 10744668 => Updated with Vin: 2B4GP44G61R193056 ## Mail History Id: 31723921, Consumer Id: 1125683, Address Id: 10719367 => Updated with Vin: 3D7KS28A08G166074 ## Mail History Id: 31723905, Consumer Id: 582827, Address Id: 2031492 => Updated with Vin: 1C3LC46R17N534644 ## Mail History Id: 31723933, Consumer Id: 572898, Address Id: 3493630 => Updated with Vin: 1J8GP58K88W160979 ## Mail History Id: 31724145, Consumer Id: 573035, Address Id: 757904 => Updated with Vin: 1C3LC65M28N197422 ## Mail History Id: 31724031, Consumer Id: 583208, Address Id: 10745395 => Updated with Vin: 1J4GK58K84W253012 ## Mail History Id: 31723236, Consumer Id: 1158659, Address Id: 15019924 => Updated with Vin: 3C8FY4BB81T598138 ## Mail History Id: 31723949, Consumer Id: 1173539, Address Id: 1174073 => Updated with Vin: 3A4FY48B76T203442 ## Mail History Id: 31723991, Consumer Id: 1175485, Address Id: 1336348 => Updated with Vin: 1J4GW58S9XC739080 ## Mail History Id: 31723523, Consumer Id: 1175486, Address Id: 15036998 => Updated with Vin: 1J4GL58K62W254833 ## Mail History Id: 31723240, Consumer Id: 1175488, Address Id: 5719086 => Updated with Vin: 2C4GP54L25R342526 ## Mail History Id: 31724067, Consumer Id: 1175489, Address Id: 1349075 => Updated with Vin: 3A4FY48B17T538990 ## Mail History Id: 31723891, Consumer Id: 1175225, Address Id: 8425601 => Updated with Vin: KNADC165836175936 ## Mail History Id: 31723545, Consumer Id: 1175227, Address Id: 15036996 => Updated with Vin: 2B3KA53H58H173994 ## Mail History Id: 31723877, Consumer Id: 1180954, Address Id: 2005254 => Updated with Vin: 2D4FV47T48H130411 ## Mail History Id: 31724091, Consumer Id: 568451, Address Id: 2547550 => Updated with Vin: 1J4GK48K86W159127 ## Total mail_history records updated with vin numbers: 48 out of 79 ============================================================ ====== Tracking Id: 3146 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-18 10:13:53') AND us2_order_type_id = 3 ## Order found: 2919 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2919 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3416 ## Mailing found: '13811' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723492, Consumer Id: 625857, Address Id: 1964407 => Updated with Vin: 1G6KD57YX6U130331 ## Mail History Id: 31723518, Consumer Id: 681400, Address Id: 3765889 => Updated with Vin: 1G6KD54Y73U167952 ## Mail History Id: 31723732, Consumer Id: 937293, Address Id: 11959725 => Updated with Vin: 5GRGN23UX3H114764 ## Mail History Id: 31723510, Consumer Id: 1173575, Address Id: 4785160 => Updated with Vin: 2GCEK13T951140099 ## Mail History Id: 31723532, Consumer Id: 1173578, Address Id: 15032678 => Updated with Vin: 1G8AJ55F26Z101535 ## Mail History Id: 31723482, Consumer Id: 1173576, Address Id: 3760019 => Updated with Vin: 1G6DM57T870185849 ## Mail History Id: 31723536, Consumer Id: 689755, Address Id: 1970016 => Updated with Vin: 1G6DC67A950182138 ## Mail History Id: 31723494, Consumer Id: 690412, Address Id: 11797608 => Updated with Vin: 1G6KD54Y23U134602 ## Mail History Id: 31723508, Consumer Id: 687963, Address Id: 10934722 => Updated with Vin: 1G6KD52Y4TU218326 ## Mail History Id: 31723490, Consumer Id: 627193, Address Id: 1963601 => Updated with Vin: W06VR54R51R042308 ## Mail History Id: 31723484, Consumer Id: 625450, Address Id: 1963106 => Updated with Vin: 5GTDN13E778226220 ## Mail History Id: 31723506, Consumer Id: 1173368, Address Id: 11797447 => Updated with Vin: 1G6DK67V080200164 ## Mail History Id: 31723502, Consumer Id: 687674, Address Id: 11796624 => Updated with Vin: 1G6DP567250111528 ## Mail History Id: 31723528, Consumer Id: 691790, Address Id: 11798105 => Updated with Vin: 5GTDN13E878126000 ## Mail History Id: 31723522, Consumer Id: 683481, Address Id: 11795411 => Updated with Vin: 1G6KE57Y73U261824 ## Total mail_history records updated with vin numbers: 15 out of 19 ============================================================ ====== Tracking Id: 3147 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-18 10:14:31') AND us2_order_type_id = 3 ## Order found: 2920 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2920 AND product_id = 2150 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3418 ## Mailing found: '13812,13813' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723318, Consumer Id: 610513, Address Id: 11755229 => Updated with Vin: 1GYEE637580119672 ## Mail History Id: 31723444, Consumer Id: 681007, Address Id: 11051161 => Updated with Vin: 1G6KD57Y76U126219 ## Mail History Id: 31723362, Consumer Id: 680987, Address Id: 11794565 => Updated with Vin: 2CKDL63F966198565 ## Mail History Id: 31723416, Consumer Id: 680988, Address Id: 11794566 => Updated with Vin: 1GNFK13007J143628 ## Mail History Id: 31723462, Consumer Id: 680979, Address Id: 8877162 => Updated with Vin: 1G6KD54Y43U155645 ## Mail History Id: 31723426, Consumer Id: 610839, Address Id: 11755505 => Updated with Vin: 1FAFP42X74F132267 ## Mail History Id: 31723268, Consumer Id: 664842, Address Id: 11784024 => Updated with Vin: 1G6KD54Y23U241178 ## Mail History Id: 31723312, Consumer Id: 610662, Address Id: 11755357 => Updated with Vin: 1G6DM577140178062 ## Mail History Id: 31723456, Consumer Id: 670473, Address Id: 8876819 => Updated with Vin: 3GYEK62N94G294490 ## Mail History Id: 31723410, Consumer Id: 610791, Address Id: 11755465 => Updated with Vin: 1G6DF577980155418 ## Mail History Id: 31723314, Consumer Id: 672181, Address Id: 11789154 => Updated with Vin: 1G6DP567650182375 ## Mail History Id: 31723366, Consumer Id: 673932, Address Id: 11790285 => Updated with Vin: 1G6DW677350193650 ## Mail History Id: 31723248, Consumer Id: 674513, Address Id: 11790668 => Updated with Vin: 1G6DP577260124571 ## Mail History Id: 31723286, Consumer Id: 677124, Address Id: 10326226 => Updated with Vin: 1G6DM57N330130236 ## Mail History Id: 31723404, Consumer Id: 666798, Address Id: 11785469 => Updated with Vin: 2G1WF52E039297515 ## Mail History Id: 31723296, Consumer Id: 678176, Address Id: 11792872 => Updated with Vin: 1G6KD57Y27U112360 ## Mail History Id: 31723418, Consumer Id: 664139, Address Id: 11783467 => Updated with Vin: 1G6KF579X1U150204 ## Total mail_history records updated with vin numbers: 17 out of 20 ============================================================ ====== Tracking Id: 3148 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-18 10:14:44') AND us2_order_type_id = 3 ## Order found: 2920 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2920 AND product_id = 2153 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3418 ## Mailing found: '13877' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724411, Consumer Id: 672036, Address Id: 6608829 => Updated with Vin: 1G6DC67AX50110476 ## Mail History Id: 31724407, Consumer Id: 669799, Address Id: 11787595 => Updated with Vin: 1GYEE637140183525 ## Mail History Id: 31724431, Consumer Id: 668199, Address Id: 11786482 => Updated with Vin: 1G6KF57922U262559 ## Mail History Id: 31724435, Consumer Id: 672434, Address Id: 11789324 => Updated with Vin: 1G6DP567350193611 ## Mail History Id: 31724443, Consumer Id: 663597, Address Id: 11783055 => Updated with Vin: 1G6KF57992U129118 ## Mail History Id: 31724417, Consumer Id: 675366, Address Id: 11791260 => Updated with Vin: YV1CM59H541081885 ## Mail History Id: 31724425, Consumer Id: 680617, Address Id: 11791848 => Updated with Vin: 2G1WT58K769368607 ## Mail History Id: 31724429, Consumer Id: 680633, Address Id: 11792178 => Updated with Vin: KNDJC733455407663 ## Mail History Id: 31724405, Consumer Id: 669216, Address Id: 6607876 => Updated with Vin: 1G6KD54Y04U212702 ## Mail History Id: 31724531, Consumer Id: 678796, Address Id: 11793229 => Updated with Vin: 2C4GM68405R549479 ## Mail History Id: 31724439, Consumer Id: 679001, Address Id: 11793349 => Updated with Vin: KMHFU45E54A271710 ## Mail History Id: 31724415, Consumer Id: 680383, Address Id: 11794191 => Updated with Vin: 3GYFK62807G205263 ## Mail History Id: 31724433, Consumer Id: 680628, Address Id: 11794349 => Updated with Vin: 1G8ZS57N77F258971 ## Mail History Id: 31724427, Consumer Id: 674765, Address Id: 11785817 => Updated with Vin: 1G6KD57966U114233 ## Mail History Id: 31724421, Consumer Id: 680618, Address Id: 11791257 => Updated with Vin: 5S3ET13S672803923 ## Mail History Id: 31724437, Consumer Id: 680624, Address Id: 11794345 => Updated with Vin: YV1TS91D821273871 ## Mail History Id: 31724409, Consumer Id: 680626, Address Id: 11794347 => Updated with Vin: KNADC163026041273 ## Mail History Id: 31724419, Consumer Id: 680664, Address Id: 11788211 => Updated with Vin: WMWRE33445TD96531 ## Mail History Id: 31724441, Consumer Id: 680668, Address Id: 11794375 => Updated with Vin: 1MEFM55S93G631152 ## Mail History Id: 31724445, Consumer Id: 680616, Address Id: 11794341 => Updated with Vin: 2G4WE567751239999 ## Mail History Id: 31724413, Consumer Id: 680623, Address Id: 11794344 => Updated with Vin: 5GZCZ63445S827031 ## Mail History Id: 31724621, Consumer Id: 610161, Address Id: 11754917 => Updated with Vin: 1ZVFT84N955244405 ## Mail History Id: 31724423, Consumer Id: 680629, Address Id: 11794350 => Updated with Vin: 2G1WF52EX29186520 ## Mail History Id: 31724447, Consumer Id: 679879, Address Id: 11793888 => Updated with Vin: 1G6KD57Y17U226575 ## Total mail_history records updated with vin numbers: 24 out of 24 ============================================================ ====== Tracking Id: 3149 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-18 10:14:57') AND us2_order_type_id = 3 ## Order found: 2920 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2920 AND product_id = 2147 ## Job Group Found: '593' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('593') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808002') AND customer_id = 3418 ## Mailing found: '13783' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725307, Consumer Id: 665948, Address Id: 10326342 => Updated with Vin: 1G6KF57982U262520 ## Mail History Id: 31725309, Consumer Id: 681195, Address Id: 11794689 => Updated with Vin: 1G6DM57T660179627 ## Mail History Id: 31725311, Consumer Id: 681188, Address Id: 11794685 => Updated with Vin: 1G6DP577670148485 ## Mail History Id: 31725313, Consumer Id: 681179, Address Id: 11790027 => Updated with Vin: 1G6DW677060145735 ## Mail History Id: 31725315, Consumer Id: 669764, Address Id: 11787574 => Updated with Vin: 1G6KY549X1U223697 ## Mail History Id: 31725317, Consumer Id: 672392, Address Id: 11789295 => Updated with Vin: 1G6DC67A550192861 ## Mail History Id: 31725319, Consumer Id: 679934, Address Id: 11418088 => Updated with Vin: 1G6KD57Y67U218696 ## Mail History Id: 31725321, Consumer Id: 676737, Address Id: 11418616 => Updated with Vin: 1G6DP577560210828 ## Mail History Id: 31725323, Consumer Id: 677632, Address Id: 6923664 => Updated with Vin: 1G6DW677660201273 ## Mail History Id: 31725325, Consumer Id: 678685, Address Id: 11793163 => Updated with Vin: 1GYEE637560203925 ## Mail History Id: 31725327, Consumer Id: 679483, Address Id: 11793635 => Updated with Vin: 1G6DW677360183993 ## Mail History Id: 31725329, Consumer Id: 677850, Address Id: 11418025 => Updated with Vin: 1G6DM57T970131119 ## Mail History Id: 31725331, Consumer Id: 677899, Address Id: 11792701 => Updated with Vin: 1G6DP577X70132418 ## Mail History Id: 31725333, Consumer Id: 679130, Address Id: 11793422 => Updated with Vin: 1G6DM57T770165155 ## Mail History Id: 31725335, Consumer Id: 674144, Address Id: 11790427 => Updated with Vin: 1G6DP577260119547 ## Mail History Id: 31725337, Consumer Id: 679257, Address Id: 11793501 => Updated with Vin: 1G6DW677670166140 ## Mail History Id: 31725339, Consumer Id: 675502, Address Id: 6772327 => Updated with Vin: 1G6DW677860173654 ## Mail History Id: 31725341, Consumer Id: 678951, Address Id: 11418422 => Updated with Vin: 1G6DP577070158817 ## Mail History Id: 31725343, Consumer Id: 680117, Address Id: 11418261 => Updated with Vin: 1G6KD57Y57U183746 ## Mail History Id: 31725345, Consumer Id: 610752, Address Id: 6914246 => Updated with Vin: 1GYEE53A980131068 ## Mail History Id: 31725347, Consumer Id: 677145, Address Id: 11787197 => Updated with Vin: 1GYEE637560166908 ## Mail History Id: 31725349, Consumer Id: 677405, Address Id: 11792423 => Updated with Vin: 1G6DW677570116247 ## Mail History Id: 31725351, Consumer Id: 671440, Address Id: 11788649 => Updated with Vin: 1GYEK63N75R146970 ## Mail History Id: 31725353, Consumer Id: 610136, Address Id: 11754895 => Updated with Vin: 1G6KD57Y97U199965 ## Mail History Id: 31725355, Consumer Id: 680598, Address Id: 11794331 => Updated with Vin: 1G6DW677770123474 ## Mail History Id: 31725357, Consumer Id: 680748, Address Id: 10326324 => Updated with Vin: 1G6DP577970182078 ## Mail History Id: 31725359, Consumer Id: 666377, Address Id: 11785164 => Updated with Vin: 3HGCG564X2G709065 ## Total mail_history records updated with vin numbers: 27 out of 28 ============================================================ ====== Tracking Id: 3150 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-18 10:15:11') AND us2_order_type_id = 3 ## Order found: 2920 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2920 AND product_id = 2152 ## Job Group Found: '598' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('598') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808007') AND customer_id = 3418 ## Mailing found: '13855' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3151 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-18 10:15:54') AND us2_order_type_id = 3 ## Order found: 2923 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2923 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3152 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3733 AND DATE(cart_created_date) = DATE('2008-09-18 10:16:16') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 3153 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-18 10:16:18') AND us2_order_type_id = 3 ## Order found: 2921 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2921 AND product_id = 142 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3697 ## Mailing found: '13820' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723599, Consumer Id: 1043526, Address Id: 2848947 => Updated with Vin: 1GYEK63N13R201779 ## Mail History Id: 31723723, Consumer Id: 1042686, Address Id: 3596161 => Updated with Vin: 1G6KD54Y22U212312 ## Mail History Id: 31723621, Consumer Id: 1045967, Address Id: 14952112 => Updated with Vin: 1G6KF57993U159477 ## Mail History Id: 31723673, Consumer Id: 1042211, Address Id: 5988031 => Updated with Vin: 1G6KD52BXSU299133 ## Mail History Id: 31723643, Consumer Id: 1043142, Address Id: 5984152 => Updated with Vin: 1G6KF52Y3RU296180 ## Mail History Id: 31723603, Consumer Id: 1048775, Address Id: 2849215 => Updated with Vin: 1GKFK16Z16J115164 ## Mail History Id: 31723581, Consumer Id: 1043024, Address Id: 11451017 => Updated with Vin: 1G6DM577640136860 ## Mail History Id: 31723661, Consumer Id: 1047512, Address Id: 8827072 => Updated with Vin: 1G6DM57N530112739 ## Mail History Id: 31723749, Consumer Id: 1052149, Address Id: 14955096 => Updated with Vin: 1G6DP567850156148 ## Mail History Id: 31723725, Consumer Id: 1052154, Address Id: 14955099 => Updated with Vin: 1G6KY5497WU905105 ## Mail History Id: 31723675, Consumer Id: 1044660, Address Id: 14952895 => Updated with Vin: 1G6DP577X70149297 ## Mail History Id: 31723589, Consumer Id: 1051018, Address Id: 2848633 => Updated with Vin: 3GNEC16ZX3G204627 ## Total mail_history records updated with vin numbers: 12 out of 15 ============================================================ ====== Tracking Id: 3154 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-18 10:16:25') AND us2_order_type_id = 3 ## Order found: 2921 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2921 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3155 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-18 10:16:28') AND us2_order_type_id = 3 ## Order found: 2921 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2921 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3697 ## Mailing found: '13897,13898,13899' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724596, Consumer Id: 1045267, Address Id: 14953087 => Updated with Vin: 3GYFK62867G262891 ## Mail History Id: 31724616, Consumer Id: 1044768, Address Id: 14952926 => Updated with Vin: 1G6KE54Y6WU777309 ## Mail History Id: 31724520, Consumer Id: 1049062, Address Id: 2848765 => Updated with Vin: 1G6KD57Y76U182547 ## Mail History Id: 31724399, Consumer Id: 1051687, Address Id: 14954865 => Updated with Vin: 1GYEE637360131557 ## Mail History Id: 31724566, Consumer Id: 1047628, Address Id: 5987926 => Updated with Vin: 1G6DM577340137979 ## Mail History Id: 31724524, Consumer Id: 1051319, Address Id: 14954688 => Updated with Vin: 1GYEK63NX4R278801 ## Mail History Id: 31724610, Consumer Id: 1051694, Address Id: 14954511 => Updated with Vin: 1GHDT13W0V2720810 ## Total mail_history records updated with vin numbers: 7 out of 7 ============================================================ ====== Tracking Id: 3156 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-18 10:17:03') AND us2_order_type_id = 3 ## Order found: 2912 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2912 AND product_id = 140 ## Job Group Found: '598' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('598') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808007') AND customer_id = 3768 ## Mailing found: '13858' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725406, Consumer Id: 1107187, Address Id: 14982000 => Updated with Vin: 1G6KE57Y03U132677 ## Mail History Id: 31725408, Consumer Id: 1107175, Address Id: 3239472 => Updated with Vin: 1G6KD54Y92U172603 ## Total mail_history records updated with vin numbers: 2 out of 2 ============================================================ ====== Tracking Id: 3157 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-18 10:17:50') AND us2_order_type_id = 3 ## Order found: 2922 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2922 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3158 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-18 10:18:01') AND us2_order_type_id = 3 ## Order found: 2922 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2922 AND product_id = 2147 ## Job Group Found: '593' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('593') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808002') AND customer_id = 3815 ## Mailing found: '13786' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725242, Consumer Id: 1360223, Address Id: 15632752 => Updated with Vin: 1HGCM563X4A024890 ## Mail History Id: 31725244, Consumer Id: 1379624, Address Id: 3451628 => Updated with Vin: 1HGCG564XWA116102 ## Mail History Id: 31725246, Consumer Id: 1358998, Address Id: 15631823 => Updated with Vin: SHSRD78453U105790 ## Mail History Id: 31725248, Consumer Id: 1359583, Address Id: 15632259 => Updated with Vin: 1HGCM66544A016341 ## Mail History Id: 31725250, Consumer Id: 1372536, Address Id: 15669029 => Updated with Vin: 2HNYD18691H521232 ## Mail History Id: 31725252, Consumer Id: 1375992, Address Id: 15670053 => Updated with Vin: JH4KA96583C000374 ## Mail History Id: 31725254, Consumer Id: 1080287, Address Id: 2568766 => Updated with Vin: 4S6DM58W8Y4419927 ## Mail History Id: 31725256, Consumer Id: 1365843, Address Id: 15636593 => Updated with Vin: 5J6YH28533L022059 ## Mail History Id: 31725258, Consumer Id: 1364668, Address Id: 15637646 => Updated with Vin: 1HGFA16587L016215 ## Mail History Id: 31725260, Consumer Id: 1365606, Address Id: 15638619 => Updated with Vin: 1HGCM66827A050065 ## Mail History Id: 31725262, Consumer Id: 1378432, Address Id: 9401903 => Updated with Vin: 5J6YH28387L009439 ## Mail History Id: 31725264, Consumer Id: 1366804, Address Id: 15639624 => Updated with Vin: 5J6YH28675L002621 ## Mail History Id: 31725266, Consumer Id: 1379653, Address Id: 15672010 => Updated with Vin: 1HGCM554X7A007344 ## Mail History Id: 31725256, Consumer Id: 1379660, Address Id: 15636593 => Updated with Vin: 2HJYK16427H543624 ## Mail History Id: 31725268, Consumer Id: 1367459, Address Id: 15640088 => Updated with Vin: 1HGFA16508L053289 ## Total mail_history records updated with vin numbers: 15 out of 15 ============================================================ ====== Tracking Id: 3159 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-18 10:18:13') AND us2_order_type_id = 3 ## Order found: 2922 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2922 AND product_id = 2152 ## Job Group Found: '598' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('598') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808007') AND customer_id = 3815 ## Mailing found: '13860' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725438, Consumer Id: 1370189, Address Id: 15634948 => Updated with Vin: 1HGCG16531A036568 ## Mail History Id: 31725440, Consumer Id: 1360857, Address Id: 15631852 => Updated with Vin: 2HKYF18134H602954 ## Mail History Id: 31725442, Consumer Id: 1359533, Address Id: 15632222 => Updated with Vin: 1HGCM726X3A033924 ## Mail History Id: 31725446, Consumer Id: 1377184, Address Id: 15670699 => Updated with Vin: 2HGFG12886H548462 ## Mail History Id: 31725450, Consumer Id: 1365964, Address Id: 15638838 => Updated with Vin: 5FNYF18537B022836 ## Mail History Id: 31725452, Consumer Id: 1379151, Address Id: 15671767 => Updated with Vin: 1HGFA16526L125400 ## Total mail_history records updated with vin numbers: 6 out of 8 ============================================================ ====== Tracking Id: 3160 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-18 10:18:25') AND us2_order_type_id = 3 ## Order found: 2922 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2922 AND product_id = 2153 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3161 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-18 10:18:29') AND us2_order_type_id = 3 ## Order found: 2922 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2922 AND product_id = 2150 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3815 ## Mailing found: '13828' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723569, Consumer Id: 1359106, Address Id: 15631905 => Updated with Vin: 1HGCG5658XA050045 ## Mail History Id: 31723761, Consumer Id: 1360122, Address Id: 6158749 => Updated with Vin: 5J6YH275X3L046604 ## Mail History Id: 31723567, Consumer Id: 1372715, Address Id: 15669202 => Updated with Vin: 1HGCD5666TA154349 ## Mail History Id: 31723753, Consumer Id: 1379447, Address Id: 15671891 => Updated with Vin: JHLRD77463C011233 ## Total mail_history records updated with vin numbers: 4 out of 4 ============================================================ ====== Tracking Id: 3162 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-18 10:23:18') AND us2_order_type_id = 3 ## Order found: 2923 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2923 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3795 ## Mailing found: '13904,13905,13906' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724674, Consumer Id: 1068689, Address Id: 5905728 => Updated with Vin: 4T1BF28B9YU018926 ## Mail History Id: 31724625, Consumer Id: 1068686, Address Id: 14961373 => Updated with Vin: JHLRD77412C052609 ## Mail History Id: 31724652, Consumer Id: 1054363, Address Id: 6611054 => Updated with Vin: 1HGCG5640XA156416 ## Mail History Id: 31724686, Consumer Id: 1055743, Address Id: 14956180 => Updated with Vin: 1HGEM22985L066868 ## Mail History Id: 31724638, Consumer Id: 1056316, Address Id: 6587032 => Updated with Vin: 5FNRL38286B015023 ## Mail History Id: 31724696, Consumer Id: 1059150, Address Id: 5157638 => Updated with Vin: 1HGCG1652XA027045 ## Mail History Id: 31724624, Consumer Id: 1060117, Address Id: 14957397 => Updated with Vin: 1HGCP36888A027817 ## Mail History Id: 31724660, Consumer Id: 1060072, Address Id: 2506128 => Updated with Vin: 5FNRL38798B026028 ## Mail History Id: 31724708, Consumer Id: 1060119, Address Id: 3095357 => Updated with Vin: WVWPH63B43P270920 ## Total mail_history records updated with vin numbers: 9 out of 11 ============================================================ ====== Tracking Id: 3163 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-18 10:23:31') AND us2_order_type_id = 3 ## Order found: 2923 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2923 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3795 ## Mailing found: '13904,13905,13906' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724680, Consumer Id: 1068798, Address Id: 14961404 => Updated with Vin: 1HGCM56684A063813 ## Mail History Id: 31724720, Consumer Id: 1068799, Address Id: 5554591 => Updated with Vin: 4T1BF12B7TU108586 ## Mail History Id: 31724682, Consumer Id: 1068797, Address Id: 3952227 => Updated with Vin: 1HGEM22993L038302 ## Mail History Id: 31724644, Consumer Id: 1068796, Address Id: 4931046 => Updated with Vin: 2HGEJ1251PH519941 ## Mail History Id: 31724690, Consumer Id: 1068800, Address Id: 6871528 => Updated with Vin: KNALD124345023625 ## Mail History Id: 31724716, Consumer Id: 1055026, Address Id: 14955971 => Updated with Vin: 1HGCD5638RA173581 ## Mail History Id: 31724666, Consumer Id: 1054965, Address Id: 3041153 => Updated with Vin: JHLRD28451S012927 ## Mail History Id: 31724664, Consumer Id: 1061613, Address Id: 14884343 => Updated with Vin: JHLRD18751S001494 ## Mail History Id: 31724710, Consumer Id: 1059231, Address Id: 3101450 => Updated with Vin: JHLRE38357C065737 ## Mail History Id: 31724646, Consumer Id: 1059806, Address Id: 6866883 => Updated with Vin: 5GZCZ53467S800152 ## Mail History Id: 31724698, Consumer Id: 1060369, Address Id: 2517945 => Updated with Vin: 4T1BE32K16U675637 ## Mail History Id: 31724702, Consumer Id: 1060367, Address Id: 4729216 => Updated with Vin: 1HGFA16838L058755 ## Mail History Id: 31724648, Consumer Id: 1060366, Address Id: 6606198 => Updated with Vin: 5J6RE38708L002539 ## Mail History Id: 31724650, Consumer Id: 1067046, Address Id: 7253193 => Updated with Vin: 1HGFA16806L000258 ## Mail History Id: 31724692, Consumer Id: 1068007, Address Id: 14961199 => Updated with Vin: 1HGCM566X3A127803 ## Mail History Id: 31724642, Consumer Id: 1061249, Address Id: 11312577 => Updated with Vin: 5FNRL38475B084754 ## Total mail_history records updated with vin numbers: 16 out of 17 ============================================================ ====== Tracking Id: 3164 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-18 10:40:46') AND us2_order_type_id = 3 ## Order found: 2901 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2901 AND product_id = 140 ## Job Group Found: '598' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('598') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808007') AND customer_id = 3230 ## Mailing found: '13854' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725456, Consumer Id: 101102, Address Id: 48555 => Updated with Vin: 1FTZR15V7YPA97739 ## Mail History Id: 31725458, Consumer Id: 92846, Address Id: 51264 => Updated with Vin: 1FAHP34N17W230830 ## Mail History Id: 31725371, Consumer Id: 67270, Address Id: 50700 => Updated with Vin: 1ZVHT82H865266192 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 3165 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-18 11:11:14') AND us2_order_type_id = 3 ## Order found: 2929 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2929 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3486 ## Mailing found: '13887,13888,13889' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724790, Consumer Id: 630021, Address Id: 1561188 => Updated with Vin: 1GGCS199188701981 ## Mail History Id: 31724826, Consumer Id: 465350, Address Id: 1067073 => Updated with Vin: 1GCCS196248102721 ## Mail History Id: 31724756, Consumer Id: 467199, Address Id: 627617 => Updated with Vin: 1GNEC13ZX6J118595 ## Mail History Id: 31724772, Consumer Id: 479912, Address Id: 9824504 => Updated with Vin: 2G1WT58KX69197738 ## Mail History Id: 31724798, Consumer Id: 468559, Address Id: 9822115 => Updated with Vin: 1GCCS136568332295 ## Mail History Id: 31724914, Consumer Id: 481810, Address Id: 1572774 => Updated with Vin: 3GNDA23P96S614685 ## Mail History Id: 31724740, Consumer Id: 640939, Address Id: 816452 => Updated with Vin: 1GCEC19037Z592330 ## Mail History Id: 31724748, Consumer Id: 485091, Address Id: 5417464 => Updated with Vin: 1G1JF524227274884 ## Mail History Id: 31724886, Consumer Id: 489604, Address Id: 9822874 => Updated with Vin: 2GCEC13ZX71155408 ## Mail History Id: 31724788, Consumer Id: 640940, Address Id: 677332 => Updated with Vin: 1G1JC524227157279 ## Mail History Id: 31724846, Consumer Id: 486312, Address Id: 9825891 => Updated with Vin: 1GNEK13Z33R298227 ## Mail History Id: 31724864, Consumer Id: 489596, Address Id: 679312 => Updated with Vin: 1G1ZW53186F208892 ## Mail History Id: 31724836, Consumer Id: 489997, Address Id: 944483 => Updated with Vin: 1G3NL52T6XC329442 ## Mail History Id: 31724760, Consumer Id: 629096, Address Id: 11769662 => Updated with Vin: 2GCEC19N451307619 ## Mail History Id: 31724766, Consumer Id: 640942, Address Id: 11776645 => Updated with Vin: 1GKEC13Z02J286107 ## Mail History Id: 31724752, Consumer Id: 630490, Address Id: 1032915 => Updated with Vin: 3GNEK12T34G199258 ## Mail History Id: 31724862, Consumer Id: 630496, Address Id: 1038644 => Updated with Vin: 1C3LC46K57N558433 ## Mail History Id: 31724730, Consumer Id: 630989, Address Id: 11771179 => Updated with Vin: 1G1ZU54875F219513 ## Mail History Id: 31724818, Consumer Id: 630986, Address Id: 11771176 => Updated with Vin: 1GNFC130X8J224280 ## Total mail_history records updated with vin numbers: 19 out of 25 ============================================================ ====== Tracking Id: 3166 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-18 11:11:26') AND us2_order_type_id = 3 ## Order found: 2929 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2929 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3486 ## Mailing found: '13887,13888,13889' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724738, Consumer Id: 489923, Address Id: 1031980 => Updated with Vin: 2GCEC13Y471591159 ## Mail History Id: 31724874, Consumer Id: 480198, Address Id: 4376909 => Updated with Vin: 1GCEK19T64Z220263 ## Mail History Id: 31724784, Consumer Id: 477764, Address Id: 4373488 => Updated with Vin: 1G1ZT54845F264606 ## Mail History Id: 31724860, Consumer Id: 468220, Address Id: 9821943 => Updated with Vin: 1G1AK55F467729183 ## Mail History Id: 31724806, Consumer Id: 468733, Address Id: 7539988 => Updated with Vin: 2CNDL13F156003496 ## Mail History Id: 31724822, Consumer Id: 484850, Address Id: 9825278 => Updated with Vin: 2GTEC19K0R1578415 ## Mail History Id: 31724820, Consumer Id: 470526, Address Id: 9823138 => Updated with Vin: 1GNFC13067J345435 ## Mail History Id: 31724888, Consumer Id: 489925, Address Id: 9826325 => Updated with Vin: 3GNEC16Z33G248033 ## Mail History Id: 31724792, Consumer Id: 470833, Address Id: 9823305 => Updated with Vin: KNDJD733135168924 ## Mail History Id: 31724904, Consumer Id: 489949, Address Id: 9826337 => Updated with Vin: 3GNEC16TX1G196408 ## Mail History Id: 31724916, Consumer Id: 489934, Address Id: 9826329 => Updated with Vin: 1GCHK23UX5F868910 ## Mail History Id: 31724872, Consumer Id: 489971, Address Id: 2525163 => Updated with Vin: 1GNDX03E8YD216503 ## Total mail_history records updated with vin numbers: 12 out of 14 ============================================================ ====== Tracking Id: 3167 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-18 11:11:38') AND us2_order_type_id = 3 ## Order found: 2929 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2929 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3486 ## Mailing found: '13887,13888,13889' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724764, Consumer Id: 471172, Address Id: 9823484 => Updated with Vin: 1GNFK16TX4J105714 ## Mail History Id: 31724778, Consumer Id: 471183, Address Id: 9823491 => Updated with Vin: 3GNDA13D88S571346 ## Mail History Id: 31724742, Consumer Id: 471192, Address Id: 9823497 => Updated with Vin: 1G1YY2258T5118099 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 3168 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-18 11:12:39') AND us2_order_type_id = 3 ## Order found: 2919 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2919 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3416 ## Mailing found: '13874,13875,13876' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724499, Consumer Id: 692557, Address Id: 11798405 => Updated with Vin: 3GYFK66N06G224989 ## Mail History Id: 31724515, Consumer Id: 693259, Address Id: 1964747 => Updated with Vin: 1G4HR52K5VH462353 ## Mail History Id: 31724543, Consumer Id: 686326, Address Id: 1969027 => Updated with Vin: 1G6KF5796YU317118 ## Mail History Id: 31724483, Consumer Id: 681921, Address Id: 1961548 => Updated with Vin: 1G6KD54YX1U247291 ## Mail History Id: 31724559, Consumer Id: 681295, Address Id: 1970056 => Updated with Vin: 1G6KD54Y0YU220840 ## Mail History Id: 31724549, Consumer Id: 684826, Address Id: 1969255 => Updated with Vin: 1G6KS54Y84U120811 ## Mail History Id: 31724551, Consumer Id: 691782, Address Id: 1969311 => Updated with Vin: 1GYEE637470126983 ## Mail History Id: 31724507, Consumer Id: 682106, Address Id: 1964222 => Updated with Vin: 1G6KD54Y22U277614 ## Mail History Id: 31724581, Consumer Id: 690435, Address Id: 11797617 => Updated with Vin: 1G6KD54Y75U235248 ## Mail History Id: 31724509, Consumer Id: 691446, Address Id: 1964282 => Updated with Vin: 1G6KF57933U251264 ## Mail History Id: 31724455, Consumer Id: 693263, Address Id: 11797704 => Updated with Vin: 1HGFA16878L003418 ## Mail History Id: 31724617, Consumer Id: 691370, Address Id: 1970348 => Updated with Vin: 1GYEK63N72R276923 ## Total mail_history records updated with vin numbers: 12 out of 14 ============================================================ ====== Tracking Id: 3169 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-18 11:12:52') AND us2_order_type_id = 3 ## Order found: 2919 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2919 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3416 ## Mailing found: '13874,13875,13876' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724535, Consumer Id: 692908, Address Id: 4784441 => Updated with Vin: 1GCEK19047Z639562 ## Mail History Id: 31724449, Consumer Id: 693127, Address Id: 2748557 => Updated with Vin: 3GYFK66N24G219287 ## Mail History Id: 31724487, Consumer Id: 625533, Address Id: 1962232 => Updated with Vin: 1GYFK63837R380993 ## Mail History Id: 31724479, Consumer Id: 681573, Address Id: 11794843 => Updated with Vin: 1G6KY5290VU833973 ## Mail History Id: 31724493, Consumer Id: 690042, Address Id: 11797489 => Updated with Vin: 1GYEK63N66R109166 ## Total mail_history records updated with vin numbers: 5 out of 5 ============================================================ ====== Tracking Id: 3170 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-18 11:12:54') AND us2_order_type_id = 3 ## Order found: 2930 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2930 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3171 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-18 11:13:12') AND us2_order_type_id = 3 ## Order found: 2930 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2930 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3491 ## Mailing found: '13890,13891,13892' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724873, Consumer Id: 773155, Address Id: 11851129 => Updated with Vin: KL1TD56678B117205 ## Mail History Id: 31724849, Consumer Id: 773308, Address Id: 11851268 => Updated with Vin: 1GNEK13T65R223861 ## Mail History Id: 31724827, Consumer Id: 773213, Address Id: 11851182 => Updated with Vin: 2GCEK13M071550107 ## Mail History Id: 31724855, Consumer Id: 773149, Address Id: 11851125 => Updated with Vin: 1G1AL15F577151957 ## Mail History Id: 31724831, Consumer Id: 773137, Address Id: 11851113 => Updated with Vin: 1J4GW48S23C513385 ## Mail History Id: 31724903, Consumer Id: 773201, Address Id: 11851171 => Updated with Vin: 1GCEC19X38Z168516 ## Mail History Id: 31724989, Consumer Id: 773197, Address Id: 11851167 => Updated with Vin: 1FAFP53U36A193027 ## Mail History Id: 31724973, Consumer Id: 773196, Address Id: 11851166 => Updated with Vin: 1G1YY25E865107958 ## Mail History Id: 31724673, Consumer Id: 820148, Address Id: 11909651 => Updated with Vin: 1GCHK23K28F174473 ## Mail History Id: 31724977, Consumer Id: 760577, Address Id: 11851098 => Updated with Vin: 1LNHM81W44Y669271 ## Mail History Id: 31724937, Consumer Id: 773233, Address Id: 11851201 => Updated with Vin: 1G1NE52J816247347 ## Mail History Id: 31724909, Consumer Id: 773248, Address Id: 11851215 => Updated with Vin: 1GNDV23L36D107377 ## Mail History Id: 31724899, Consumer Id: 773297, Address Id: 11851259 => Updated with Vin: 1G1ZT61846F290196 ## Mail History Id: 31724887, Consumer Id: 773200, Address Id: 11851170 => Updated with Vin: 1G1JC1244X7167926 ## Mail History Id: 31724941, Consumer Id: 773184, Address Id: 11851155 => Updated with Vin: 1GNDS13S642438733 ## Mail History Id: 31724933, Consumer Id: 773154, Address Id: 11851128 => Updated with Vin: 1G1ND52J216248559 ## Mail History Id: 31724907, Consumer Id: 773183, Address Id: 11851154 => Updated with Vin: 1G1ND52J516107176 ## Mail History Id: 31724839, Consumer Id: 773204, Address Id: 11851174 => Updated with Vin: 1GCEC14X63Z183057 ## Mail History Id: 31724919, Consumer Id: 773136, Address Id: 11851112 => Updated with Vin: 1GNES16S226107234 ## Mail History Id: 31724859, Consumer Id: 773209, Address Id: 11851179 => Updated with Vin: 1GCEC14027Z569628 ## Total mail_history records updated with vin numbers: 20 out of 24 ============================================================ ====== Tracking Id: 3172 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-18 11:13:24') AND us2_order_type_id = 3 ## Order found: 2930 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2930 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3491 ## Mailing found: '13890,13891,13892' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724833, Consumer Id: 836399, Address Id: 1297679 => Updated with Vin: 3GNFK16Z62G355759 ## Mail History Id: 31724835, Consumer Id: 838224, Address Id: 11876065 => Updated with Vin: 1GCCS148768212241 ## Mail History Id: 31724841, Consumer Id: 830597, Address Id: 11874598 => Updated with Vin: 2GCEC19T331229801 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 3173 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-18 11:13:35') AND us2_order_type_id = 3 ## Order found: 2931 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2931 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3525 ## Mailing found: '13819' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724303, Consumer Id: 524554, Address Id: 9687124 => Updated with Vin: 5NPEU46F56H045427 ## Mail History Id: 31724251, Consumer Id: 524897, Address Id: 9855234 => Updated with Vin: 5NPEU46F86H080690 ## Mail History Id: 31724297, Consumer Id: 520166, Address Id: 9849455 => Updated with Vin: KMHJF35F4YU034461 ## Mail History Id: 31724283, Consumer Id: 520377, Address Id: 2420620 => Updated with Vin: KMHFU45E92A185605 ## Mail History Id: 31724267, Consumer Id: 520381, Address Id: 9849615 => Updated with Vin: KM8SB12B42U216559 ## Mail History Id: 31723212, Consumer Id: 521407, Address Id: 2423770 => Updated with Vin: KM8SC73D24U690593 ## Mail History Id: 31724269, Consumer Id: 522051, Address Id: 9852566 => Updated with Vin: KM8SB12B24U813194 ## Mail History Id: 31724285, Consumer Id: 487337, Address Id: 9851066 => Updated with Vin: 5NMSH13EX7H028798 ## Mail History Id: 31724305, Consumer Id: 520888, Address Id: 9850009 => Updated with Vin: KMHDN45D83U556622 ## Mail History Id: 31724253, Consumer Id: 522632, Address Id: 9853478 => Updated with Vin: KMHDN46D65U985257 ## Mail History Id: 31723218, Consumer Id: 523050, Address Id: 9853809 => Updated with Vin: KMHDN46D95U052680 ## Mail History Id: 31724257, Consumer Id: 525652, Address Id: 9855732 => Updated with Vin: 5NPEU46FX6H141165 ## Mail History Id: 31724249, Consumer Id: 527223, Address Id: 9853330 => Updated with Vin: 1FTPW12536KD90729 ## Mail History Id: 31724291, Consumer Id: 522504, Address Id: 9853384 => Updated with Vin: KMHFU45E34A367691 ## Mail History Id: 31724309, Consumer Id: 522636, Address Id: 9853481 => Updated with Vin: KMHFU45E55A377074 ## Mail History Id: 31724313, Consumer Id: 487725, Address Id: 9851491 => Updated with Vin: 5NMSH13E67H042469 ## Mail History Id: 31724287, Consumer Id: 487750, Address Id: 9851512 => Updated with Vin: 5NMSH13E07H072745 ## Mail History Id: 31724301, Consumer Id: 488157, Address Id: 9851905 => Updated with Vin: 5NMSH13E37H102563 ## Mail History Id: 31724281, Consumer Id: 488638, Address Id: 9852419 => Updated with Vin: 5NMSH13E47H122594 ## Mail History Id: 31724265, Consumer Id: 526965, Address Id: 9856677 => Updated with Vin: 5NPET46C47H201712 ## Mail History Id: 31724299, Consumer Id: 488424, Address Id: 9852247 => Updated with Vin: 5NPET46C77H245669 ## Mail History Id: 31724277, Consumer Id: 488064, Address Id: 9851830 => Updated with Vin: 5NPET46C67H247154 ## Mail History Id: 31723226, Consumer Id: 1173512, Address Id: 15032611 => Updated with Vin: 5NPET46CX7H257654 ## Mail History Id: 31723228, Consumer Id: 488478, Address Id: 9852292 => Updated with Vin: KMHDU46D67U219695 ## Mail History Id: 31723224, Consumer Id: 488252, Address Id: 9852100 => Updated with Vin: KMHHM66D87U259760 ## Mail History Id: 31723216, Consumer Id: 526482, Address Id: 9853361 => Updated with Vin: 5NMSH13E37H038279 ## Mail History Id: 31724255, Consumer Id: 489248, Address Id: 9853091 => Updated with Vin: 5NMSH13E58H159204 ## Mail History Id: 31724271, Consumer Id: 489226, Address Id: 9853074 => Updated with Vin: 5NMSH13EX8H183319 ## Mail History Id: 31723214, Consumer Id: 488879, Address Id: 2423871 => Updated with Vin: 5NPEU46F58H297424 ## Mail History Id: 31724261, Consumer Id: 489150, Address Id: 9853022 => Updated with Vin: 5NPEU46CX8H352102 ## Mail History Id: 31723810, Consumer Id: 488642, Address Id: 5652124 => Updated with Vin: KMHCM36C28U055392 ## Mail History Id: 31724263, Consumer Id: 488821, Address Id: 9852682 => Updated with Vin: KMHCM36C18U055951 ## Mail History Id: 31724273, Consumer Id: 1173319, Address Id: 15032608 => Updated with Vin: KMHCN46C58U236974 ## Mail History Id: 31723222, Consumer Id: 1173318, Address Id: 15032607 => Updated with Vin: KMHDU46D78U495806 ## Mail History Id: 31724295, Consumer Id: 527340, Address Id: 9856926 => Updated with Vin: JA3AN74K4SY002914 ## Mail History Id: 31724311, Consumer Id: 522338, Address Id: 9853209 => Updated with Vin: KMHWF35V01A413199 ## Mail History Id: 31723230, Consumer Id: 525532, Address Id: 9855699 => Updated with Vin: KMHFC46FX6A088915 ## Mail History Id: 31724289, Consumer Id: 487072, Address Id: 9683716 => Updated with Vin: 5NPEU46F26H151284 ## Mail History Id: 31724307, Consumer Id: 488280, Address Id: 9687242 => Updated with Vin: 5NPEU46F17H167221 ## Mail History Id: 31724259, Consumer Id: 488549, Address Id: 9852350 => Updated with Vin: 5NPET46C07H280361 ## Mail History Id: 31724275, Consumer Id: 489155, Address Id: 9853026 => Updated with Vin: 5NMSG13DX7H065425 ## Mail History Id: 31723220, Consumer Id: 488258, Address Id: 9852106 => Updated with Vin: KM8JN12D45U210298 ## Mail History Id: 31724293, Consumer Id: 524345, Address Id: 9685302 => Updated with Vin: 1G1NE5271X6145116 ## Total mail_history records updated with vin numbers: 43 out of 48 ============================================================ ====== Tracking Id: 3174 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-18 11:13:36') AND us2_order_type_id = 3 ## Order found: 2930 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2930 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3491 ## Mailing found: '13890,13891,13892' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3175 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-18 11:13:49') AND us2_order_type_id = 3 ## Order found: 2931 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2931 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3525 ## Mailing found: '13894,13895,13896' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724323, Consumer Id: 521315, Address Id: 9850378 => Updated with Vin: KMHWF25H14A994169 ## Mail History Id: 31724389, Consumer Id: 486926, Address Id: 9850617 => Updated with Vin: 5NPEU46F76H130463 ## Mail History Id: 31725232, Consumer Id: 526916, Address Id: 9856645 => Updated with Vin: KM8SC83D31U101701 ## Mail History Id: 31724327, Consumer Id: 520302, Address Id: 9849552 => Updated with Vin: KMHDN55D22U040776 ## Mail History Id: 31724383, Consumer Id: 630707, Address Id: 11770930 => Updated with Vin: KMHWF35H43A864813 ## Mail History Id: 31724319, Consumer Id: 520662, Address Id: 9849824 => Updated with Vin: KM8SC73E53U548648 ## Mail History Id: 31724387, Consumer Id: 520802, Address Id: 9849942 => Updated with Vin: KM8SC13E83U554764 ## Mail History Id: 31724385, Consumer Id: 487402, Address Id: 9851118 => Updated with Vin: 5NMSH13E17H011694 ## Mail History Id: 31724369, Consumer Id: 523455, Address Id: 9854119 => Updated with Vin: KMHDN46D55U117511 ## Mail History Id: 31724365, Consumer Id: 631013, Address Id: 11771194 => Updated with Vin: 5NPEU46F77H220035 ## Mail History Id: 31725220, Consumer Id: 626514, Address Id: 11763947 => Updated with Vin: 5NPET46C08H343749 ## Mail History Id: 31725218, Consumer Id: 487399, Address Id: 9851115 => Updated with Vin: KMHFC46F76A058805 ## Mail History Id: 31724391, Consumer Id: 486916, Address Id: 9850607 => Updated with Vin: KMHFC46F76A103693 ## Mail History Id: 31725228, Consumer Id: 488694, Address Id: 9852464 => Updated with Vin: 5NMSG73DX7H069610 ## Mail History Id: 31724345, Consumer Id: 489383, Address Id: 9853275 => Updated with Vin: KMHCN46C37U132983 ## Mail History Id: 31724335, Consumer Id: 630507, Address Id: 2701498 => Updated with Vin: 1G2NE52E8XM827295 ## Total mail_history records updated with vin numbers: 16 out of 19 ============================================================ ====== Tracking Id: 3176 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-18 11:14:02') AND us2_order_type_id = 3 ## Order found: 2931 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2931 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3525 ## Mailing found: '13894,13895,13896' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3177 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-18 11:14:38') AND us2_order_type_id = 3 ## Order found: 2932 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2932 AND product_id = 144 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3178 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-18 11:14:45') AND us2_order_type_id = 3 ## Order found: 2932 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2932 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3705 ## Mailing found: '13900' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725017, Consumer Id: 975288, Address Id: 14843734 => Updated with Vin: 1GCEC19X15Z265502 ## Mail History Id: 31725009, Consumer Id: 967682, Address Id: 14839438 => Updated with Vin: 1GTCS13E178100365 ## Mail History Id: 31725013, Consumer Id: 980486, Address Id: 14840138 => Updated with Vin: 3GNEC16T51G189060 ## Mail History Id: 31724995, Consumer Id: 969599, Address Id: 14840828 => Updated with Vin: 1G1YY25W785100740 ## Mail History Id: 31725015, Consumer Id: 970815, Address Id: 8066169 => Updated with Vin: 1G2AL18F887119609 ## Mail History Id: 31725001, Consumer Id: 968937, Address Id: 11386590 => Updated with Vin: 2GCEC19V021279474 ## Mail History Id: 31725019, Consumer Id: 972136, Address Id: 14842645 => Updated with Vin: 1GNFC13018R208759 ## Mail History Id: 31725007, Consumer Id: 972102, Address Id: 14842615 => Updated with Vin: 2GCEC13T451166722 ## Mail History Id: 31724997, Consumer Id: 971964, Address Id: 9976863 => Updated with Vin: 1GNFC160X8R219769 ## Mail History Id: 31725011, Consumer Id: 972112, Address Id: 14842624 => Updated with Vin: 2CNDL23F086052246 ## Total mail_history records updated with vin numbers: 10 out of 12 ============================================================ ====== Tracking Id: 3179 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-18 11:14:57') AND us2_order_type_id = 3 ## Order found: 2932 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2932 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3180 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-18 11:15:36') AND us2_order_type_id = 3 ## Order found: 2933 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2933 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3808 ## Mailing found: '13827' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723812, Consumer Id: 1171403, Address Id: 15029593 => Updated with Vin: 1GNDT13X84K146946 ## Mail History Id: 31723824, Consumer Id: 1176509, Address Id: 11568264 => Updated with Vin: 2GCEK13V261200100 ## Mail History Id: 31723824, Consumer Id: 1176509, Address Id: 11568264 => Updated with Vin: 2GCEK13V261200100 ## Mail History Id: 31723850, Consumer Id: 1176497, Address Id: 15037984 => Updated with Vin: 1GNDT13S472110289 ## Mail History Id: 31723830, Consumer Id: 1176501, Address Id: 15037988 => Updated with Vin: 3GNFK16RXVG169128 ## Mail History Id: 31723834, Consumer Id: 1171686, Address Id: 15029838 => Updated with Vin: 1GTEC19T33Z134341 ## Mail History Id: 31723856, Consumer Id: 1176495, Address Id: 15037982 => Updated with Vin: 3GNEC13T73G185518 ## Mail History Id: 31723854, Consumer Id: 1170849, Address Id: 15029089 => Updated with Vin: 3GNEC12088G115315 ## Mail History Id: 31723852, Consumer Id: 1170785, Address Id: 15029030 => Updated with Vin: 1GNDT13S862235827 ## Mail History Id: 31723814, Consumer Id: 1172352, Address Id: 15030403 => Updated with Vin: 2G1WW12E559356635 ## Mail History Id: 31723832, Consumer Id: 1176499, Address Id: 15037986 => Updated with Vin: 2GCEC19H8N1201359 ## Mail History Id: 31723848, Consumer Id: 1176511, Address Id: 15037996 => Updated with Vin: 1G2NE52E95M117254 ## Mail History Id: 31723822, Consumer Id: 1176498, Address Id: 15037985 => Updated with Vin: 1GTDT136858192873 ## Mail History Id: 31723844, Consumer Id: 1176507, Address Id: 15037993 => Updated with Vin: 1GNDX03E7YD243823 ## Mail History Id: 31723820, Consumer Id: 1176506, Address Id: 15037992 => Updated with Vin: 1GCCS195518153813 ## Mail History Id: 31723816, Consumer Id: 1176502, Address Id: 15036780 => Updated with Vin: 2G4WS52JX51166640 ## Mail History Id: 31723836, Consumer Id: 1176508, Address Id: 15037994 => Updated with Vin: 3GNGC26U41G129665 ## Mail History Id: 31723838, Consumer Id: 1171585, Address Id: 15029752 => Updated with Vin: 3GNEC16RXWG130792 ## Mail History Id: 31723826, Consumer Id: 1176500, Address Id: 15037987 => Updated with Vin: 1G1YY32G1W5112401 ## Mail History Id: 31723842, Consumer Id: 1176496, Address Id: 15037983 => Updated with Vin: 1GKDM19WXXB535150 ## Mail History Id: 31723840, Consumer Id: 1176504, Address Id: 15037990 => Updated with Vin: 2G1WH52K259383699 ## Mail History Id: 31723846, Consumer Id: 1171724, Address Id: 15028984 => Updated with Vin: 1GNEK13RXWR136566 ## Mail History Id: 31723818, Consumer Id: 1176503, Address Id: 15037989 => Updated with Vin: 1G1AK12F657564118 ## Mail History Id: 31723828, Consumer Id: 1176510, Address Id: 15037995 => Updated with Vin: 2G1FP22K6X2140748 ## Mail History Id: 31723834, Consumer Id: 1171697, Address Id: 15029838 => Updated with Vin: 2GCEC13J171534176 ## Total mail_history records updated with vin numbers: 25 out of 31 ============================================================ ====== Tracking Id: 3181 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-18 11:15:40') AND us2_order_type_id = 3 ## Order found: 2933 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2933 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3808 ## Mailing found: '13907,13908,13909' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724695, Consumer Id: 1171669, Address Id: 15029824 => Updated with Vin: 1GCCS146568221521 ## Mail History Id: 31724659, Consumer Id: 1171739, Address Id: 15029883 => Updated with Vin: 3GNDA23D17S532389 ## Mail History Id: 31724705, Consumer Id: 1171685, Address Id: 15029837 => Updated with Vin: 3GNDA23D57S574306 ## Mail History Id: 31724715, Consumer Id: 1171717, Address Id: 15029864 => Updated with Vin: 1GCCS139778226376 ## Mail History Id: 31724641, Consumer Id: 1171667, Address Id: 11564373 => Updated with Vin: 1G2NW12E23C185680 ## Mail History Id: 31724765, Consumer Id: 1170869, Address Id: 15029107 => Updated with Vin: 3GNDA23D17S563741 ## Mail History Id: 31724681, Consumer Id: 1171653, Address Id: 11568364 => Updated with Vin: 2GTEK19T741160275 ## Mail History Id: 31724791, Consumer Id: 1170926, Address Id: 11609469 => Updated with Vin: 1GKDS13S632171654 ## Mail History Id: 31724667, Consumer Id: 1171681, Address Id: 15029836 => Updated with Vin: 2G1WC58R679137289 ## Mail History Id: 31724781, Consumer Id: 1171482, Address Id: 15029665 => Updated with Vin: 1G1AL15F077103329 ## Mail History Id: 31724803, Consumer Id: 1171704, Address Id: 11610266 => Updated with Vin: 5B4MP67G563417582 ## Mail History Id: 31724657, Consumer Id: 1171744, Address Id: 15029888 => Updated with Vin: 2GCEC19T0Y1284343 ## Mail History Id: 31724741, Consumer Id: 1171652, Address Id: 15029811 => Updated with Vin: 1GCEK14W7XE179879 ## Mail History Id: 31724637, Consumer Id: 1171732, Address Id: 15029877 => Updated with Vin: 2G1FP22G422146908 ## Mail History Id: 31724707, Consumer Id: 1171749, Address Id: 15029893 => Updated with Vin: 2CNDL63FX76039414 ## Mail History Id: 31724693, Consumer Id: 1171709, Address Id: 15029856 => Updated with Vin: 1GCJK33D47F156158 ## Mail History Id: 31724643, Consumer Id: 1171694, Address Id: 15029845 => Updated with Vin: 1G1NE52M8X6138230 ## Mail History Id: 31724787, Consumer Id: 1171692, Address Id: 15029843 => Updated with Vin: 2GCEC19T131223849 ## Mail History Id: 31724687, Consumer Id: 1171651, Address Id: 15029810 => Updated with Vin: 2G1WH52K049163072 ## Mail History Id: 31724777, Consumer Id: 1171718, Address Id: 15029865 => Updated with Vin: 1GNDS13S132253133 ## Mail History Id: 31724797, Consumer Id: 1170749, Address Id: 15028996 => Updated with Vin: 1GNEC13T61J107713 ## Mail History Id: 31724711, Consumer Id: 1171740, Address Id: 15029884 => Updated with Vin: 2G1WH52K249337868 ## Total mail_history records updated with vin numbers: 22 out of 23 ============================================================ ====== Tracking Id: 3182 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-18 11:15:53') AND us2_order_type_id = 3 ## Order found: 2933 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2933 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3808 ## Mailing found: '13907,13908,13909' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724811, Consumer Id: 1287558, Address Id: 15464685 => Updated with Vin: 1GCJK33121F191391 ## Mail History Id: 31724731, Consumer Id: 1278341, Address Id: 15458157 => Updated with Vin: 2GCEC19K5R1125343 ## Mail History Id: 31724669, Consumer Id: 1286126, Address Id: 15462515 => Updated with Vin: 3GNFK16T51G104757 ## Total mail_history records updated with vin numbers: 3 out of 4 ============================================================ ====== Tracking Id: 3183 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-18 11:16:06') AND us2_order_type_id = 3 ## Order found: 2933 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2933 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3808 ## Mailing found: '13907,13908,13909' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724719, Consumer Id: 1266461, Address Id: 11573853 => Updated with Vin: 1GCDK14KXLZ148766 ## Mail History Id: 31724729, Consumer Id: 1266464, Address Id: 15437941 => Updated with Vin: 1GNDS13S632398247 ## Mail History Id: 31724671, Consumer Id: 1266471, Address Id: 15437948 => Updated with Vin: 1GCEK19TX1E186248 ## Mail History Id: 31724793, Consumer Id: 1266164, Address Id: 15437707 => Updated with Vin: 2G1WX12K2Y9148655 ## Mail History Id: 31724647, Consumer Id: 1266364, Address Id: 14814642 => Updated with Vin: 1GCCS19Z7S8164641 ## Mail History Id: 31724631, Consumer Id: 1266469, Address Id: 15437946 => Updated with Vin: 2GCEC19V811368594 ## Mail History Id: 31724789, Consumer Id: 1266154, Address Id: 15029273 => Updated with Vin: 1GCCS145728159105 ## Mail History Id: 31724739, Consumer Id: 1266474, Address Id: 15437950 => Updated with Vin: 1GNES16S236238293 ## Mail History Id: 31724759, Consumer Id: 1266247, Address Id: 15437768 => Updated with Vin: 2GCEK19TX41144488 ## Total mail_history records updated with vin numbers: 9 out of 9 ============================================================ ====== Tracking Id: 3184 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-18 11:40:59') AND us2_order_type_id = 3 ## Order found: 2934 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2934 AND product_id = 142 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3357 ## Mailing found: '13810' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724206, Consumer Id: 196309, Address Id: 405348 => Updated with Vin: 1LNHM87A04Y630334 ## Mail History Id: 31724226, Consumer Id: 188494, Address Id: 399790 => Updated with Vin: 1FMZK01195GA50169 ## Mail History Id: 31724302, Consumer Id: 471305, Address Id: 9830113 => Updated with Vin: 1FTRF12248KD52623 ## Mail History Id: 31724298, Consumer Id: 630376, Address Id: 11770796 => Updated with Vin: 1ZVHT82H685102457 ## Mail History Id: 31724170, Consumer Id: 663027, Address Id: 11782723 => Updated with Vin: 1GCEC19C17Z578937 ## Mail History Id: 31724266, Consumer Id: 1175335, Address Id: 15036856 => Updated with Vin: JM1BK32G681151607 ## Mail History Id: 31724280, Consumer Id: 1175346, Address Id: 886226 => Updated with Vin: 2FALP74W1TX202907 ## Mail History Id: 31724288, Consumer Id: 1175345, Address Id: 12678197 => Updated with Vin: 1FMZU67E41UB76765 ## Mail History Id: 31724276, Consumer Id: 191867, Address Id: 401454 => Updated with Vin: 1FMZU77EX1UC03375 ## Mail History Id: 31724192, Consumer Id: 187537, Address Id: 398401 => Updated with Vin: 1FTWW33P54EB10280 ## Mail History Id: 31724264, Consumer Id: 189643, Address Id: 398915 => Updated with Vin: 1FTNW21P24ED19890 ## Mail History Id: 31724196, Consumer Id: 193287, Address Id: 402813 => Updated with Vin: 1YVHP80D845N90922 ## Mail History Id: 31724172, Consumer Id: 188205, Address Id: 393971 => Updated with Vin: 1FAHP56S33A106242 ## Mail History Id: 31724268, Consumer Id: 152452, Address Id: 394779 => Updated with Vin: WVWRH63B13P347364 ## Mail History Id: 31724290, Consumer Id: 198254, Address Id: 406097 => Updated with Vin: 1LNHM82W43Y697326 ## Mail History Id: 31724182, Consumer Id: 189082, Address Id: 398920 => Updated with Vin: JM1FE173040129024 ## Mail History Id: 31724216, Consumer Id: 188960, Address Id: 400777 => Updated with Vin: JM1BK32F041200429 ## Mail History Id: 31724162, Consumer Id: 461871, Address Id: 404263 => Updated with Vin: 1FMFU17LX4LB76011 ## Mail History Id: 31724278, Consumer Id: 194158, Address Id: 398393 => Updated with Vin: 1YVHP80D155M50566 ## Mail History Id: 31724244, Consumer Id: 1175344, Address Id: 15036861 => Updated with Vin: 1FMZU74K65UA72087 ## Mail History Id: 31724236, Consumer Id: 152697, Address Id: 395009 => Updated with Vin: JM1CR29L460119044 ## Mail History Id: 31724282, Consumer Id: 1175336, Address Id: 886249 => Updated with Vin: 1FTYR14U01PA26196 ## Mail History Id: 31724252, Consumer Id: 154267, Address Id: 396437 => Updated with Vin: 1FAFP56U16A158126 ## Mail History Id: 31724272, Consumer Id: 1175338, Address Id: 399049 => Updated with Vin: 3FAHP08106R107723 ## Mail History Id: 31724306, Consumer Id: 151978, Address Id: 394342 => Updated with Vin: 1FAFP34N36W128483 ## Mail History Id: 31724144, Consumer Id: 155453, Address Id: 397504 => Updated with Vin: JM3ER29LX70105506 ## Mail History Id: 31724194, Consumer Id: 153669, Address Id: 395895 => Updated with Vin: 1ZVFT82H275239904 ## Mail History Id: 31724194, Consumer Id: 153669, Address Id: 395895 => Updated with Vin: 1ZVFT82H275239904 ## Mail History Id: 31724222, Consumer Id: 154427, Address Id: 396591 => Updated with Vin: 1FTRF12217NA43222 ## Mail History Id: 31724204, Consumer Id: 167741, Address Id: 434557 => Updated with Vin: 1FMEU73E47UB21882 ## Mail History Id: 31724174, Consumer Id: 155907, Address Id: 397926 => Updated with Vin: JM3TB38V680136578 ## Mail History Id: 31724142, Consumer Id: 1172736, Address Id: 15030770 => Updated with Vin: JM1NC26F880151717 ## Mail History Id: 31724228, Consumer Id: 188995, Address Id: 400288 => Updated with Vin: 1FMCU04171KF62046 ## Mail History Id: 31724214, Consumer Id: 187961, Address Id: 398541 => Updated with Vin: 1FMDU34X1SZB82574 ## Mail History Id: 31724158, Consumer Id: 1125852, Address Id: 403140 => Updated with Vin: 1ZVHT82H885122046 ## Mail History Id: 31724148, Consumer Id: 653277, Address Id: 11782432 => Updated with Vin: 1FTPW14548KC19777 ## Mail History Id: 31724294, Consumer Id: 155707, Address Id: 397744 => Updated with Vin: 3FAHP06Z98R185641 ## Mail History Id: 31724178, Consumer Id: 197953, Address Id: 406292 => Updated with Vin: 1LNLM91V7TY645004 ## Mail History Id: 31724242, Consumer Id: 189997, Address Id: 400397 => Updated with Vin: JM1BJ225830191150 ## Mail History Id: 31724184, Consumer Id: 1175341, Address Id: 15036859 => Updated with Vin: 1FDKE30G6NHA17849 ## Mail History Id: 31724218, Consumer Id: 1175343, Address Id: 402216 => Updated with Vin: 1FDEE14H1NHB04921 ## Mail History Id: 31724202, Consumer Id: 1175339, Address Id: 2358789 => Updated with Vin: 1FTHX25G3PKA05028 ## Mail History Id: 31724296, Consumer Id: 1175337, Address Id: 15036857 => Updated with Vin: 1FMZU32P9WZA68904 ## Mail History Id: 31724154, Consumer Id: 198213, Address Id: 407051 => Updated with Vin: WBADN633XXGM62298 ## Mail History Id: 31724154, Consumer Id: 198213, Address Id: 407051 => Updated with Vin: WBADN633XXGM62298 ## Mail History Id: 31724304, Consumer Id: 194669, Address Id: 403677 => Updated with Vin: 1FTYR14V0XPA90210 ## Mail History Id: 31724234, Consumer Id: 1175334, Address Id: 15036855 => Updated with Vin: 1FAFP33P5YW313253 ## Mail History Id: 31724256, Consumer Id: 1175340, Address Id: 402157 => Updated with Vin: 1LNHM87A7YY776168 ## Mail History Id: 31724230, Consumer Id: 1175342, Address Id: 15036860 => Updated with Vin: 1FMZU63X1YZC03182 ## Total mail_history records updated with vin numbers: 49 out of 61 ============================================================ ====== Tracking Id: 3185 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-18 11:41:07') AND us2_order_type_id = 3 ## Order found: 2934 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2934 AND product_id = 112 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3357 ## Mailing found: '13871,13872,13873' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725185, Consumer Id: 640633, Address Id: 11776485 => Updated with Vin: JM1BJ225620533435 ## Mail History Id: 31725159, Consumer Id: 640639, Address Id: 11776488 => Updated with Vin: 1FMYU02Z36KA51178 ## Mail History Id: 31725197, Consumer Id: 640637, Address Id: 11776487 => Updated with Vin: 1FAHP38Z95W239981 ## Mail History Id: 31725211, Consumer Id: 630908, Address Id: 11771096 => Updated with Vin: 1ZVFT82H075257320 ## Mail History Id: 31725195, Consumer Id: 194272, Address Id: 404318 => Updated with Vin: 1FMZU77E71UC38374 ## Mail History Id: 31725187, Consumer Id: 640625, Address Id: 11776481 => Updated with Vin: 1HGCG22562A005909 ## Mail History Id: 31725173, Consumer Id: 640631, Address Id: 11776484 => Updated with Vin: 1FMYU03194DA19443 ## Mail History Id: 31725223, Consumer Id: 640627, Address Id: 11776482 => Updated with Vin: 3D7MA48634G137827 ## Mail History Id: 31725169, Consumer Id: 640641, Address Id: 901677 => Updated with Vin: 1LNHM82WX6Y642674 ## Mail History Id: 31725149, Consumer Id: 640629, Address Id: 11776483 => Updated with Vin: 1FAFP56U77A176034 ## Mail History Id: 31725155, Consumer Id: 197356, Address Id: 406504 => Updated with Vin: 1LNFM82WXWY716019 ## Mail History Id: 31725189, Consumer Id: 187707, Address Id: 398277 => Updated with Vin: 1LNFM97V0WY675521 ## Total mail_history records updated with vin numbers: 12 out of 14 ============================================================ ====== Tracking Id: 3186 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-18 11:41:15') AND us2_order_type_id = 3 ## Order found: 2935 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2935 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3187 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-18 11:41:19') AND us2_order_type_id = 3 ## Order found: 2935 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2935 AND product_id = 2150 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3721 ## Mailing found: '13822,13823' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31724195, Consumer Id: 1007667, Address Id: 6662030 => Updated with Vin: JM3LW28J320319178 ## Mail History Id: 31724191, Consumer Id: 1010550, Address Id: 6661829 => Updated with Vin: 1YVGF22C625290342 ## Mail History Id: 31724159, Consumer Id: 1013671, Address Id: 6658602 => Updated with Vin: 4F2YZ02Z46KM16019 ## Mail History Id: 31724187, Consumer Id: 1017521, Address Id: 14933500 => Updated with Vin: JM1BK12F371741046 ## Mail History Id: 31724209, Consumer Id: 1017523, Address Id: 14933502 => Updated with Vin: 1YVHP80C565M52412 ## Mail History Id: 31724167, Consumer Id: 1009825, Address Id: 14931700 => Updated with Vin: 1YVFP80D745N83564 ## Mail History Id: 31724193, Consumer Id: 1009799, Address Id: 8136814 => Updated with Vin: 1J4GS48KX5C566513 ## Mail History Id: 31724181, Consumer Id: 1009820, Address Id: 14931697 => Updated with Vin: 5TBRT34162S288909 ## Total mail_history records updated with vin numbers: 8 out of 8 ============================================================ ====== Tracking Id: 3188 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-18 11:41:19') AND us2_order_type_id = 3 ## Order found: 2934 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2934 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3357 ## Mailing found: '13871,13872,13873' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725163, Consumer Id: 191842, Address Id: 401097 => Updated with Vin: 1FAHP55S51G158466 ## Mail History Id: 31725193, Consumer Id: 198521, Address Id: 407375 => Updated with Vin: 4T1BG22K81U807838 ## Mail History Id: 31725201, Consumer Id: 192037, Address Id: 401486 => Updated with Vin: 1FTRX07W52KB17366 ## Mail History Id: 31725205, Consumer Id: 188880, Address Id: 400768 => Updated with Vin: 1FTRW08L02KD77567 ## Mail History Id: 31725219, Consumer Id: 189543, Address Id: 399918 => Updated with Vin: JM1FE173040134658 ## Mail History Id: 31725209, Consumer Id: 198427, Address Id: 407365 => Updated with Vin: 19UUA56763A004960 ## Mail History Id: 31725167, Consumer Id: 198553, Address Id: 407380 => Updated with Vin: 1FAFP404X3F372422 ## Mail History Id: 31725183, Consumer Id: 197138, Address Id: 395872 => Updated with Vin: 1FMCU93113KA92458 ## Mail History Id: 31725165, Consumer Id: 197820, Address Id: 406600 => Updated with Vin: 3FAFP31Z03R186668 ## Mail History Id: 31725217, Consumer Id: 151813, Address Id: 394187 => Updated with Vin: 1FTPW14575KE72782 ## Mail History Id: 31725181, Consumer Id: 188371, Address Id: 398544 => Updated with Vin: 1FMYU03133KD07226 ## Total mail_history records updated with vin numbers: 11 out of 11 ============================================================ ====== Tracking Id: 3189 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-18 11:41:32') AND us2_order_type_id = 3 ## Order found: 2934 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2934 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3357 ## Mailing found: '13871,13872,13873' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725221, Consumer Id: 155894, Address Id: 397917 => Updated with Vin: 1FTPW14508FB21936 ## Mail History Id: 31725213, Consumer Id: 155899, Address Id: 395012 => Updated with Vin: 1FMCU03168KB01920 ## Mail History Id: 31725145, Consumer Id: 155850, Address Id: 397882 => Updated with Vin: 1FMCU02Z48KC82197 ## Total mail_history records updated with vin numbers: 3 out of 3 ============================================================ ====== Tracking Id: 3190 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-18 12:13:09') AND us2_order_type_id = 3 ## Order found: 2937 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2937 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3191 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-18 12:13:13') AND us2_order_type_id = 3 ## Order found: 2937 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2937 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3192 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-18 12:13:16') AND us2_order_type_id = 3 ## Order found: 2937 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2937 AND product_id = 114 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3427 ## Mailing found: '13878,13879' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3193 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-18 12:13:25') AND us2_order_type_id = 3 ## Order found: 2938 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2938 AND product_id = 143 ## Job Group Found: '592' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('592') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808001') AND customer_id = 3471 ## Mailing found: '13816' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31723940, Consumer Id: 760306, Address Id: 11850983 => Updated with Vin: 1G4CU541714279115 ## Mail History Id: 31724088, Consumer Id: 760375, Address Id: 11851012 => Updated with Vin: 1G6DP577X70140938 ## Mail History Id: 31724012, Consumer Id: 760209, Address Id: 11850950 => Updated with Vin: 1G6ET129XTU604332 ## Mail History Id: 31723952, Consumer Id: 760323, Address Id: 7416055 => Updated with Vin: 1GYEK63N32R109331 ## Mail History Id: 31723958, Consumer Id: 760234, Address Id: 10213956 => Updated with Vin: 1G6KS52Y7VU829511 ## Mail History Id: 31724056, Consumer Id: 760207, Address Id: 11850949 => Updated with Vin: 2G1WP551549158455 ## Mail History Id: 31724308, Consumer Id: 760293, Address Id: 11850978 => Updated with Vin: 1G6KY549X1U155806 ## Mail History Id: 31724054, Consumer Id: 760300, Address Id: 4553634 => Updated with Vin: 1GYDE63A540135503 ## Mail History Id: 31724010, Consumer Id: 760255, Address Id: 11850964 => Updated with Vin: 1G6KD57Y17U126895 ## Mail History Id: 31723980, Consumer Id: 760394, Address Id: 7416700 => Updated with Vin: 1G6ET12942B102068 ## Mail History Id: 31723974, Consumer Id: 760301, Address Id: 7416565 => Updated with Vin: 1G6ET1296YU146344 ## Mail History Id: 31724002, Consumer Id: 760372, Address Id: 10215366 => Updated with Vin: 1G6KD54Y61U178034 ## Mail History Id: 31724070, Consumer Id: 760276, Address Id: 11850973 => Updated with Vin: 1G6KS52Y3TU835982 ## Mail History Id: 31723906, Consumer Id: 760317, Address Id: 7878463 => Updated with Vin: 3GYEK63N42G217909 ## Mail History Id: 31723928, Consumer Id: 760298, Address Id: 11850980 => Updated with Vin: 3GYFK628X8G135434 ## Mail History Id: 31723996, Consumer Id: 760390, Address Id: 7416905 => Updated with Vin: 1G4HP52K95U151358 ## Mail History Id: 31723916, Consumer Id: 760386, Address Id: 7878668 => Updated with Vin: 1G6KD54Y22U302429 ## Mail History Id: 31724090, Consumer Id: 760224, Address Id: 11850954 => Updated with Vin: 1G6KD57Y86U113303 ## Mail History Id: 31724060, Consumer Id: 760225, Address Id: 10218794 => Updated with Vin: 1GYEK63N83R303760 ## Mail History Id: 31724000, Consumer Id: 760260, Address Id: 10214913 => Updated with Vin: 1GYEE63AX60187457 ## Mail History Id: 31723984, Consumer Id: 760259, Address Id: 7416746 => Updated with Vin: 3GYFK66N74G187887 ## Mail History Id: 31723998, Consumer Id: 760238, Address Id: 10214656 => Updated with Vin: 1G6KD52Y2VU225875 ## Mail History Id: 31724038, Consumer Id: 760380, Address Id: 10217241 => Updated with Vin: 1GYFK66877R296302 ## Mail History Id: 31724018, Consumer Id: 760251, Address Id: 10216264 => Updated with Vin: 1GYEE637050104024 ## Mail History Id: 31723934, Consumer Id: 760303, Address Id: 7879101 => Updated with Vin: 1G6DC67A350211665 ## Mail History Id: 31724078, Consumer Id: 760287, Address Id: 11850975 => Updated with Vin: 1G6KD57Y87U152801 ## Mail History Id: 31723976, Consumer Id: 760249, Address Id: 7416652 => Updated with Vin: 1G6KF57913U176905 ## Mail History Id: 31723988, Consumer Id: 760220, Address Id: 7416774 => Updated with Vin: 3GYFK66N96G165215 ## Mail History Id: 31723970, Consumer Id: 760245, Address Id: 10214287 => Updated with Vin: 1G6DP577870159990 ## Mail History Id: 31723978, Consumer Id: 760275, Address Id: 10561011 => Updated with Vin: 1GYFK66837R209382 ## Mail History Id: 31724048, Consumer Id: 760304, Address Id: 11850982 => Updated with Vin: 1GYFK66807R199622 ## Mail History Id: 31723908, Consumer Id: 760277, Address Id: 7415456 => Updated with Vin: 1G6KE54Y12U219930 ## Mail History Id: 31724026, Consumer Id: 760389, Address Id: 11851016 => Updated with Vin: 1GYFK63807R386072 ## Mail History Id: 31724052, Consumer Id: 760229, Address Id: 11850955 => Updated with Vin: 1G6KD57YX6U138106 ## Mail History Id: 31723932, Consumer Id: 760320, Address Id: 7879062 => Updated with Vin: W06VR52R8WR241704 ## Mail History Id: 31723922, Consumer Id: 760428, Address Id: 7878763 => Updated with Vin: 1GYFK63887R416449 ## Mail History Id: 31723960, Consumer Id: 760416, Address Id: 7416228 => Updated with Vin: JTHBF30G830096405 ## Mail History Id: 31724016, Consumer Id: 760318, Address Id: 11850991 => Updated with Vin: 1GYEE437580135892 ## Mail History Id: 31723910, Consumer Id: 760243, Address Id: 11850960 => Updated with Vin: 3GYFK66N75G209212 ## Mail History Id: 31724008, Consumer Id: 760314, Address Id: 11850989 => Updated with Vin: 1J4GW58N34C391640 ## Mail History Id: 31724022, Consumer Id: 760373, Address Id: 11851010 => Updated with Vin: 1G6KD57Y87U145265 ## Mail History Id: 31724076, Consumer Id: 760374, Address Id: 11851011 => Updated with Vin: 1G6KD57Y87U131849 ## Mail History Id: 31723950, Consumer Id: 760206, Address Id: 7416043 => Updated with Vin: 1GYFK638X7R211781 ## Mail History Id: 31724058, Consumer Id: 760296, Address Id: 11850979 => Updated with Vin: 1GYEE637660179764 ## Mail History Id: 31723894, Consumer Id: 760270, Address Id: 11850970 => Updated with Vin: 1G6DP567650217156 ## Mail History Id: 31724084, Consumer Id: 760231, Address Id: 11850956 => Updated with Vin: JT3HM84R2Y0038005 ## Mail History Id: 31724006, Consumer Id: 760391, Address Id: 11851017 => Updated with Vin: 1G6DW677X50132232 ## Mail History Id: 31724092, Consumer Id: 760269, Address Id: 11850969 => Updated with Vin: 1GYFK63857R351222 ## Mail History Id: 31724068, Consumer Id: 760271, Address Id: 11850971 => Updated with Vin: 1G4BT52P7RR435223 ## Mail History Id: 31724004, Consumer Id: 760268, Address Id: 11850968 => Updated with Vin: 1G6KD54Y6WU722345 ## Total mail_history records updated with vin numbers: 50 out of 62 ============================================================ ====== Tracking Id: 3194 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-18 14:10:54') AND us2_order_type_id = 3 ## Order found: 2920 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2920 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3195 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-18 14:11:05') AND us2_order_type_id = 3 ## Order found: 2940 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2940 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3196 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-18 14:11:09') AND us2_order_type_id = 3 ## Order found: 2940 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2940 AND product_id = 113 ## Job Group Found: '595' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('595') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm091808004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm091808004') AND customer_id = 3451 ## Mailing found: '13880,13881,13882' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Mail History Id: 31725057, Consumer Id: 621071, Address Id: 3240355 => Updated with Vin: 1G6KF57931U184730 ## Mail History Id: 31725133, Consumer Id: 628268, Address Id: 11765559 => Updated with Vin: 5J6YH28708L003848 ## Mail History Id: 31725113, Consumer Id: 628295, Address Id: 11765573 => Updated with Vin: 1GYFK63807R273108 ## Mail History Id: 31725059, Consumer Id: 628296, Address Id: 11765574 => Updated with Vin: 1HGCM56414A045006 ## Mail History Id: 31725069, Consumer Id: 628280, Address Id: 11765566 => Updated with Vin: 1G6DC67A560166746 ## Total mail_history records updated with vin numbers: 5 out of 7 ============================================================ ====== Tracking Id: 3197 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-18 19:11:13') AND us2_order_type_id = 3 ## Order found: 2934 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2934 AND product_id = 55 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3198 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-18 20:00:44') AND us2_order_type_id = 3 ## Order found: 2918 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2918 AND product_id = 2152 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3199 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-18 20:00:55') AND us2_order_type_id = 3 ## Order found: 2918 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2918 AND product_id = 2150 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3200 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-18 20:11:00') AND us2_order_type_id = 3 ## Order found: 2900 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2900 AND product_id = 2153 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3201 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-18 20:11:12') AND us2_order_type_id = 3 ## Order found: 2900 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2900 AND product_id = 2150 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3202 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-18 20:11:15') AND us2_order_type_id = 3 ## Order found: 2900 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2900 AND product_id = 2152 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3203 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-18 20:11:27') AND us2_order_type_id = 3 ## Order found: 2900 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2900 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3204 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-19 07:11:28') AND us2_order_type_id = 3 ## Order found: 2989 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2989 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3205 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-19 08:11:32') AND us2_order_type_id = 3 ## Order found: 2970 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2970 AND product_id = 55 ## Job Group Found: '602' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('602') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208003') AND customer_id = 3230 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 3 ============================================================ ====== Tracking Id: 3206 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-19 08:41:06') AND us2_order_type_id = 3 ## Order found: 2970 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2970 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3230 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 10 ============================================================ ====== Tracking Id: 3207 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-19 08:41:11') AND us2_order_type_id = 3 ## Order found: 2970 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2970 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3230 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 10 ============================================================ ====== Tracking Id: 3208 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-19 09:14:44') AND us2_order_type_id = 3 ## Order found: 2971 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2971 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3470 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 16 ============================================================ ====== Tracking Id: 3209 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-19 09:14:56') AND us2_order_type_id = 3 ## Order found: 2971 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2971 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3470 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 27 ============================================================ ====== Tracking Id: 3210 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-19 09:15:09') AND us2_order_type_id = 3 ## Order found: 2971 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2971 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3470 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 26 ============================================================ ====== Tracking Id: 3211 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-19 09:15:11') AND us2_order_type_id = 3 ## Order found: 2972 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2972 AND product_id = 142 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3768 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 2 ============================================================ ====== Tracking Id: 3212 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-19 09:15:22') AND us2_order_type_id = 3 ## Order found: 2972 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2972 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3768 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 3213 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-19 09:15:34') AND us2_order_type_id = 3 ## Order found: 2972 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2972 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3768 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 3 ============================================================ ====== Tracking Id: 3214 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-19 10:11:35') AND us2_order_type_id = 3 ## Order found: 2973 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2973 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3846 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 31 ============================================================ ====== Tracking Id: 3215 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-19 10:14:53') AND us2_order_type_id = 3 ## Order found: 2971 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2971 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3470 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 83 ============================================================ ====== Tracking Id: 3216 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-19 10:15:19') AND us2_order_type_id = 3 ## Order found: 2980 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2980 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3217 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-19 10:15:59') AND us2_order_type_id = 3 ## Order found: 2974 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2974 AND product_id = 2150 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3218 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-19 10:16:03') AND us2_order_type_id = 3 ## Order found: 2974 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2974 AND product_id = 2153 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3418 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 10 ============================================================ ====== Tracking Id: 3219 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-19 10:16:14') AND us2_order_type_id = 3 ## Order found: 2974 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2974 AND product_id = 2147 ## Job Group Found: '601' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('601') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208002') AND customer_id = 3418 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3220 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-19 10:16:26') AND us2_order_type_id = 3 ## Order found: 2974 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2974 AND product_id = 2152 ## Job Group Found: '606' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('606') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208007') AND customer_id = 3418 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3221 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-19 10:17:51') AND us2_order_type_id = 3 ## Order found: 2977 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2977 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3222 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3733 AND DATE(cart_created_date) = DATE('2008-09-19 10:18:19') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 3223 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-19 10:18:25') AND us2_order_type_id = 3 ## Order found: 2975 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2975 AND product_id = 142 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3697 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3224 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-19 10:18:36') AND us2_order_type_id = 3 ## Order found: 2975 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2975 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3697 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 8 ============================================================ ====== Tracking Id: 3225 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-19 10:18:47') AND us2_order_type_id = 3 ## Order found: 2975 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2975 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3697 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 6 ============================================================ ====== Tracking Id: 3226 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-19 10:19:30') AND us2_order_type_id = 3 ## Order found: 2972 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2972 AND product_id = 140 ## Job Group Found: '606' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('606') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208007') AND customer_id = 3768 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 2 ============================================================ ====== Tracking Id: 3227 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-19 10:20:42') AND us2_order_type_id = 3 ## Order found: 2976 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2976 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 8 ============================================================ ====== Tracking Id: 3228 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-19 10:20:55') AND us2_order_type_id = 3 ## Order found: 2976 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2976 AND product_id = 2147 ## Job Group Found: '601' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('601') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208002') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3229 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-19 10:21:06') AND us2_order_type_id = 3 ## Order found: 2976 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2976 AND product_id = 2153 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 5 ============================================================ ====== Tracking Id: 3230 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-19 10:21:19') AND us2_order_type_id = 3 ## Order found: 2976 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2976 AND product_id = 2150 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 5 ============================================================ ====== Tracking Id: 3231 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-19 10:21:31') AND us2_order_type_id = 3 ## Order found: 2976 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2976 AND product_id = 2152 ## Job Group Found: '606' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('606') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208007') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3232 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-19 10:27:48') AND us2_order_type_id = 3 ## Order found: 2977 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2977 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3795 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 6 ============================================================ ====== Tracking Id: 3233 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-19 10:28:00') AND us2_order_type_id = 3 ## Order found: 2977 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2977 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3795 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 8 ============================================================ ====== Tracking Id: 3234 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-19 10:28:12') AND us2_order_type_id = 3 ## Order found: 2977 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2977 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3235 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-19 10:40:52') AND us2_order_type_id = 3 ## Order found: 2970 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2970 AND product_id = 140 ## Job Group Found: '606' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('606') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208007') AND customer_id = 3230 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 2 ============================================================ ====== Tracking Id: 3236 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-19 10:41:45') AND us2_order_type_id = 3 ## Order found: 2978 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2978 AND product_id = 140 ## Job Group Found: '606' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('606') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208007') AND customer_id = 3808 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 3237 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-19 11:11:15') AND us2_order_type_id = 3 ## Order found: 2979 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2979 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3486 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 12 ============================================================ ====== Tracking Id: 3238 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-19 11:11:27') AND us2_order_type_id = 3 ## Order found: 2979 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2979 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3239 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-19 11:11:31') AND us2_order_type_id = 3 ## Order found: 2979 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2979 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3486 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 23 ============================================================ ====== Tracking Id: 3240 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-19 11:12:28') AND us2_order_type_id = 3 ## Order found: 2980 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2980 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3416 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 11 ============================================================ ====== Tracking Id: 3241 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-19 11:12:37') AND us2_order_type_id = 3 ## Order found: 2981 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2981 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3242 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-19 11:12:44') AND us2_order_type_id = 3 ## Order found: 2980 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2980 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3416 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 3243 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-19 11:12:54') AND us2_order_type_id = 3 ## Order found: 2981 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2981 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3491 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 12 ============================================================ ====== Tracking Id: 3244 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-19 11:13:03') AND us2_order_type_id = 3 ## Order found: 2982 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2982 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3245 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-19 11:13:06') AND us2_order_type_id = 3 ## Order found: 2981 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2981 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3491 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 16 ============================================================ ====== Tracking Id: 3246 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-19 11:13:07') AND us2_order_type_id = 3 ## Order found: 2982 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2982 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3525 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 3247 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-19 11:13:30') AND us2_order_type_id = 3 ## Order found: 2982 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2982 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3525 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 8 ============================================================ ====== Tracking Id: 3248 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-19 11:13:30') AND us2_order_type_id = 3 ## Order found: 2981 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2981 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3491 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3249 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-19 11:13:44') AND us2_order_type_id = 3 ## Order found: 2982 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2982 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3525 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 3250 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-19 11:14:31') AND us2_order_type_id = 3 ## Order found: 2983 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2983 AND product_id = 144 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3251 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-19 11:14:43') AND us2_order_type_id = 3 ## Order found: 2983 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2983 AND product_id = 106 ## Job Group Found: '604' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('604') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208005' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208005') AND customer_id = 3705 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 3252 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-19 11:14:54') AND us2_order_type_id = 3 ## Order found: 2983 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2983 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3253 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-19 11:15:07') AND us2_order_type_id = 3 ## Order found: 2983 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2983 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3705 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 11 ============================================================ ====== Tracking Id: 3254 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-19 11:15:26') AND us2_order_type_id = 3 ## Order found: 2978 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2978 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3808 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 26 ============================================================ ====== Tracking Id: 3255 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-19 11:15:30') AND us2_order_type_id = 3 ## Order found: 2978 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2978 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3808 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 11 ============================================================ ====== Tracking Id: 3256 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-19 11:15:38') AND us2_order_type_id = 3 ## Order found: 2984 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2984 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3721 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 27 ============================================================ ====== Tracking Id: 3257 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-19 11:15:42') AND us2_order_type_id = 3 ## Order found: 2978 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2978 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3808 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 11 ============================================================ ====== Tracking Id: 3258 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-19 11:40:59') AND us2_order_type_id = 3 ## Order found: 2985 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2985 AND product_id = 142 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3357 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 63 ============================================================ ====== Tracking Id: 3259 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-19 11:41:03') AND us2_order_type_id = 3 ## Order found: 2985 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2985 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3357 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 8 ============================================================ ====== Tracking Id: 3260 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-19 11:41:23') AND us2_order_type_id = 3 ## Order found: 2985 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2985 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3357 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 3261 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-19 11:41:23') AND us2_order_type_id = 3 ## Order found: 2984 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2984 AND product_id = 2150 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3721 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 5 ============================================================ ====== Tracking Id: 3262 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-19 11:41:36') AND us2_order_type_id = 3 ## Order found: 2984 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2984 AND product_id = 2147 ## Job Group Found: '601' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('601') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208002') AND customer_id = 3721 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 8 ============================================================ ====== Tracking Id: 3263 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-19 11:41:40') AND us2_order_type_id = 3 ## Order found: 2985 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2985 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3264 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-19 12:13:54') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 3265 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-19 12:13:57') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 3266 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-19 12:14:01') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 3267 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-19 12:14:08') AND us2_order_type_id = 3 ## Order found: 2986 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2986 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3268 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-19 12:14:19') AND us2_order_type_id = 3 ## Order found: 2986 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2986 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3471 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 3269 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-19 12:14:22') AND us2_order_type_id = 3 ## Order found: 2987 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2987 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3451 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 25 ============================================================ ====== Tracking Id: 3270 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-19 14:10:53') AND us2_order_type_id = 3 ## Order found: 2974 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2974 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3271 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-19 14:11:13') AND us2_order_type_id = 3 ## Order found: 2987 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2987 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3272 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-19 14:12:20') AND us2_order_type_id = 3 ## Order found: 2987 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2987 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3273 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-19 14:13:27') AND us2_order_type_id = 3 ## Order found: 2987 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2987 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3274 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 4073 AND DATE(cart_created_date) = DATE('2008-09-19 18:10:33') AND us2_order_type_id = 3 ## Order found: 2988 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '4' AND store_id = 2 ## Product Id found: 54 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2988 AND product_id = 54 ## Job Group Found: '599' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('599') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'esc091908001a' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('esc091908001a') AND customer_id = 4073 ## Mailing found: '13842' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 0 ============================================================ ====== Tracking Id: 3275 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-19 19:11:05') AND us2_order_type_id = 3 ## Order found: 2985 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2985 AND product_id = 55 ## Job Group Found: '602' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('602') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208003') AND customer_id = 3357 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 3 ============================================================ ====== Tracking Id: 3276 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-19 20:00:44') AND us2_order_type_id = 3 ## Order found: 2973 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2973 AND product_id = 2147 ## Job Group Found: '601' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('601') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208002') AND customer_id = 3846 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 3277 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-19 20:00:56') AND us2_order_type_id = 3 ## Order found: 2973 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2973 AND product_id = 2152 ## Job Group Found: '606' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('606') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208007') AND customer_id = 3846 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 5 ============================================================ ====== Tracking Id: 3278 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-19 20:01:08') AND us2_order_type_id = 3 ## Order found: 2973 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2973 AND product_id = 2150 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3846 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 6 ============================================================ ====== Tracking Id: 3279 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-19 20:10:53') AND us2_order_type_id = 3 ## Order found: 2989 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2989 AND product_id = 2150 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3503 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 12 ============================================================ ====== Tracking Id: 3280 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-19 20:11:05') AND us2_order_type_id = 3 ## Order found: 2989 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2989 AND product_id = 2153 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3281 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-19 20:11:09') AND us2_order_type_id = 3 ## Order found: 2989 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2989 AND product_id = 2147 ## Job Group Found: '601' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('601') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208002') AND customer_id = 3503 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 8 ============================================================ ====== Tracking Id: 3282 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-19 20:11:21') AND us2_order_type_id = 3 ## Order found: 2989 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 2989 AND product_id = 2152 ## Job Group Found: '606' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('606') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208007') AND customer_id = 3503 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 3 ============================================================ ====== Tracking Id: 3283 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-20 07:11:27') AND us2_order_type_id = 3 ## Order found: 3007 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3007 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3503 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 25 ============================================================ ====== Tracking Id: 3284 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-20 08:11:16') AND us2_order_type_id = 3 ## Order found: 3008 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3008 AND product_id = 55 ## Job Group Found: '602' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('602') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208003') AND customer_id = 3230 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 11 ============================================================ ====== Tracking Id: 3285 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-20 08:41:13') AND us2_order_type_id = 3 ## Order found: 3008 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3008 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3230 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 6 ============================================================ ====== Tracking Id: 3286 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-20 08:41:19') AND us2_order_type_id = 3 ## Order found: 3008 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3008 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3230 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3287 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-20 09:15:12') AND us2_order_type_id = 3 ## Order found: 3009 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3009 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3470 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 21 ============================================================ ====== Tracking Id: 3288 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-20 09:15:25') AND us2_order_type_id = 3 ## Order found: 3009 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3009 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3470 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 17 ============================================================ ====== Tracking Id: 3289 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-20 09:15:37') AND us2_order_type_id = 3 ## Order found: 3009 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3009 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3470 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 21 ============================================================ ====== Tracking Id: 3290 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-20 09:15:52') AND us2_order_type_id = 3 ## Order found: 3010 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3010 AND product_id = 142 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3768 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 3291 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-20 09:15:57') AND us2_order_type_id = 3 ## Order found: 3010 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3010 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3768 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 13 ============================================================ ====== Tracking Id: 3292 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-20 09:16:09') AND us2_order_type_id = 3 ## Order found: 3010 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3010 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3768 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3293 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-20 10:11:35') AND us2_order_type_id = 3 ## Order found: 3011 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3011 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3846 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 13 ============================================================ ====== Tracking Id: 3294 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-20 10:14:39') AND us2_order_type_id = 3 ## Order found: 3009 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3009 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3470 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 10 ============================================================ ====== Tracking Id: 3295 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-20 10:14:55') AND us2_order_type_id = 3 ## Order found: 3012 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3012 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3416 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 6 ============================================================ ====== Tracking Id: 3296 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-20 10:15:39') AND us2_order_type_id = 3 ## Order found: 3013 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3013 AND product_id = 2152 ## Job Group Found: '606' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('606') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208007') AND customer_id = 3418 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 12 ============================================================ ====== Tracking Id: 3297 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-20 10:15:51') AND us2_order_type_id = 3 ## Order found: 3013 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3013 AND product_id = 2147 ## Job Group Found: '601' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('601') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208002') AND customer_id = 3418 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 29 ============================================================ ====== Tracking Id: 3298 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-20 10:16:04') AND us2_order_type_id = 3 ## Order found: 3013 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3013 AND product_id = 2153 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3418 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 5 ============================================================ ====== Tracking Id: 3299 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-20 10:17:43') AND us2_order_type_id = 3 ## Order found: 3014 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3014 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3795 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 33 ============================================================ ====== Tracking Id: 3300 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-20 10:18:11') AND us2_order_type_id = 3 ## Order found: 3015 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3015 AND product_id = 142 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3697 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 3301 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-20 10:18:22') AND us2_order_type_id = 3 ## Order found: 3015 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3015 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3697 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 8 ============================================================ ====== Tracking Id: 3302 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-20 10:18:39') AND us2_order_type_id = 3 ## Order found: 3015 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3015 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3697 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 3303 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-20 10:19:22') AND us2_order_type_id = 3 ## Order found: 3010 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3010 AND product_id = 140 ## Job Group Found: '606' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('606') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208007') AND customer_id = 3768 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3304 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-20 10:20:16') AND us2_order_type_id = 3 ## Order found: 3016 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3016 AND product_id = 143 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3305 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-20 10:20:28') AND us2_order_type_id = 3 ## Order found: 3016 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3016 AND product_id = 2147 ## Job Group Found: '601' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('601') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208002') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 12 ============================================================ ====== Tracking Id: 3306 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-20 10:20:39') AND us2_order_type_id = 3 ## Order found: 3016 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3016 AND product_id = 2153 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 3307 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-20 10:20:51') AND us2_order_type_id = 3 ## Order found: 3016 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3016 AND product_id = 2152 ## Job Group Found: '606' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('606') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208007') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 3308 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-20 10:21:04') AND us2_order_type_id = 3 ## Order found: 3016 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3016 AND product_id = 2150 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 6 ============================================================ ====== Tracking Id: 3309 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-20 10:26:39') AND us2_order_type_id = 3 ## Order found: 3014 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3014 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3795 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 3310 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-20 10:26:51') AND us2_order_type_id = 3 ## Order found: 3014 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3014 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3795 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 8 ============================================================ ====== Tracking Id: 3311 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-20 10:40:50') AND us2_order_type_id = 3 ## Order found: 3008 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3008 AND product_id = 140 ## Job Group Found: '606' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('606') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208007') AND customer_id = 3230 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3312 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-20 11:11:17') AND us2_order_type_id = 3 ## Order found: 3017 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3017 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3486 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 16 ============================================================ ====== Tracking Id: 3313 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-20 11:11:29') AND us2_order_type_id = 3 ## Order found: 3017 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3017 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3486 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 3314 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-20 11:11:41') AND us2_order_type_id = 3 ## Order found: 3017 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3017 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3486 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3315 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-20 11:12:24') AND us2_order_type_id = 3 ## Order found: 3012 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3012 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3416 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 24 ============================================================ ====== Tracking Id: 3316 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-20 11:12:31') AND us2_order_type_id = 3 ## Order found: 3018 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3018 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3491 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 25 ============================================================ ====== Tracking Id: 3317 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-20 11:12:36') AND us2_order_type_id = 3 ## Order found: 3012 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3012 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3416 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 8 ============================================================ ====== Tracking Id: 3318 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-20 11:12:46') AND us2_order_type_id = 3 ## Order found: 3018 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3018 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3491 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 16 ============================================================ ====== Tracking Id: 3319 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-20 11:12:54') AND us2_order_type_id = 3 ## Order found: 3019 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3019 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3525 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 3320 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-20 11:12:58') AND us2_order_type_id = 3 ## Order found: 3018 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3018 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3491 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 3321 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-20 11:13:10') AND us2_order_type_id = 3 ## Order found: 3019 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3019 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3525 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 6 ============================================================ ====== Tracking Id: 3322 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-20 11:13:22') AND us2_order_type_id = 3 ## Order found: 3018 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3018 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3491 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 21 ============================================================ ====== Tracking Id: 3323 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-20 11:13:22') AND us2_order_type_id = 3 ## Order found: 3019 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3019 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3525 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 3324 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-20 11:14:15') AND us2_order_type_id = 3 ## Order found: 3020 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3020 AND product_id = 144 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3705 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 14 ============================================================ ====== Tracking Id: 3325 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-20 11:14:28') AND us2_order_type_id = 3 ## Order found: 3020 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3020 AND product_id = 106 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3326 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-20 11:14:32') AND us2_order_type_id = 3 ## Order found: 3020 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3020 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3705 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 8 ============================================================ ====== Tracking Id: 3327 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-20 11:15:21') AND us2_order_type_id = 3 ## Order found: 3021 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3021 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3808 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 3328 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-20 11:15:25') AND us2_order_type_id = 3 ## Order found: 3021 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3021 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3808 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 11 ============================================================ ====== Tracking Id: 3329 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-20 11:15:36') AND us2_order_type_id = 3 ## Order found: 3021 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3021 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3808 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 3330 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-20 11:15:49') AND us2_order_type_id = 3 ## Order found: 3021 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3021 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3808 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 8 ============================================================ ====== Tracking Id: 3331 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-20 11:40:59') AND us2_order_type_id = 3 ## Order found: 3022 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3022 AND product_id = 142 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3332 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-20 11:41:07') AND us2_order_type_id = 3 ## Order found: 3022 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3022 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3357 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 37 ============================================================ ====== Tracking Id: 3333 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-20 11:41:15') AND us2_order_type_id = 3 ## Order found: 3023 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3023 AND product_id = 2150 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3721 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 3334 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-20 11:41:19') AND us2_order_type_id = 3 ## Order found: 3022 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3022 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3357 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 2 ============================================================ ====== Tracking Id: 3335 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-20 11:41:31') AND us2_order_type_id = 3 ## Order found: 3022 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3022 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3357 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 43 ============================================================ ====== Tracking Id: 3336 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-20 12:13:35') AND us2_order_type_id = 3 ## Order found: 3024 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3024 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3337 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-20 12:13:39') AND us2_order_type_id = 3 ## Order found: 3024 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3024 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3338 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-20 12:13:42') AND us2_order_type_id = 3 ## Order found: 3024 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3024 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3427 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 3339 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-20 12:13:58') AND us2_order_type_id = 3 ## Order found: 3025 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3025 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3471 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 3 ============================================================ ====== Tracking Id: 3340 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-20 12:14:10') AND us2_order_type_id = 3 ## Order found: 3025 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3025 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3471 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 11 ============================================================ ====== Tracking Id: 3341 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-20 12:14:13') AND us2_order_type_id = 3 ## Order found: 3026 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3026 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3451 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 2 ============================================================ ====== Tracking Id: 3342 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-20 14:11:14') AND us2_order_type_id = 3 ## Order found: 3026 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3026 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3451 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 3343 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-20 14:11:30') AND us2_order_type_id = 3 ## Order found: 3026 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3026 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3451 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 3344 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-20 19:11:05') AND us2_order_type_id = 3 ## Order found: 3022 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3022 AND product_id = 55 ## Job Group Found: '602' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('602') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208003') AND customer_id = 3357 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 2 ============================================================ ====== Tracking Id: 3345 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-20 20:00:42') AND us2_order_type_id = 3 ## Order found: 3011 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3011 AND product_id = 2147 ## Job Group Found: '601' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('601') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208002') AND customer_id = 3846 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 10 ============================================================ ====== Tracking Id: 3346 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-20 20:00:54') AND us2_order_type_id = 3 ## Order found: 3011 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3011 AND product_id = 2150 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3846 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 6 ============================================================ ====== Tracking Id: 3347 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-20 20:01:07') AND us2_order_type_id = 3 ## Order found: 3011 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3011 AND product_id = 2152 ## Job Group Found: '606' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('606') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208007') AND customer_id = 3846 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 6 ============================================================ ====== Tracking Id: 3348 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-20 20:10:57') AND us2_order_type_id = 3 ## Order found: 3007 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3007 AND product_id = 2153 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3503 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 3349 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-20 20:11:09') AND us2_order_type_id = 3 ## Order found: 3007 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3007 AND product_id = 2150 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3503 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 3350 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-20 20:11:21') AND us2_order_type_id = 3 ## Order found: 3007 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3007 AND product_id = 2147 ## Job Group Found: '601' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('601') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208002') AND customer_id = 3503 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 5 ============================================================ ====== Tracking Id: 3351 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-20 20:11:33') AND us2_order_type_id = 3 ## Order found: 3007 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3007 AND product_id = 2152 ## Job Group Found: '606' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('606') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208007') AND customer_id = 3503 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3352 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-21 07:11:24') AND us2_order_type_id = 3 ## Order found: 3045 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3045 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3503 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 19 ============================================================ ====== Tracking Id: 3353 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-21 08:11:14') AND us2_order_type_id = 3 ## Order found: 3046 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3046 AND product_id = 55 ## Job Group Found: '602' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('602') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208003') AND customer_id = 3230 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 3354 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-21 08:41:08') AND us2_order_type_id = 3 ## Order found: 3046 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3046 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3230 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 3355 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-21 08:41:17') AND us2_order_type_id = 3 ## Order found: 3046 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3046 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3230 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 11 ============================================================ ====== Tracking Id: 3356 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-21 09:14:28') AND us2_order_type_id = 3 ## Order found: 3047 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3047 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3470 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 2 ============================================================ ====== Tracking Id: 3357 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-21 09:14:40') AND us2_order_type_id = 3 ## Order found: 3047 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3047 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3470 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 26 ============================================================ ====== Tracking Id: 3358 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-21 09:14:52') AND us2_order_type_id = 3 ## Order found: 3047 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3047 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3470 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 28 ============================================================ ====== Tracking Id: 3359 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-21 09:15:01') AND us2_order_type_id = 3 ## Order found: 3048 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3048 AND product_id = 142 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3768 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 5 ============================================================ ====== Tracking Id: 3360 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-21 09:15:05') AND us2_order_type_id = 3 ## Order found: 3048 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3048 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3768 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 11 ============================================================ ====== Tracking Id: 3361 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-21 09:15:17') AND us2_order_type_id = 3 ## Order found: 3049 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3049 AND product_id = 140 ## Job Group Found: '606' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('606') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208007') AND customer_id = 3721 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3362 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-21 09:15:28') AND us2_order_type_id = 3 ## Order found: 3048 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3048 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3768 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 19 ============================================================ ====== Tracking Id: 3363 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-21 09:15:41') AND us2_order_type_id = 3 ## Order found: 3048 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3048 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3768 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 2 ============================================================ ====== Tracking Id: 3364 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-21 10:11:28') AND us2_order_type_id = 3 ## Order found: 3050 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3050 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3846 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 11 ============================================================ ====== Tracking Id: 3365 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-21 10:14:36') AND us2_order_type_id = 3 ## Order found: 3047 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3047 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3470 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 23 ============================================================ ====== Tracking Id: 3366 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-21 10:14:49') AND us2_order_type_id = 3 ## Order found: 3051 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3051 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3416 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 3367 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-21 10:15:22') AND us2_order_type_id = 3 ## Order found: 3052 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3052 AND product_id = 2152 ## Job Group Found: '606' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('606') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208007') AND customer_id = 3418 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 3368 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-21 10:15:33') AND us2_order_type_id = 3 ## Order found: 3052 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3052 AND product_id = 2147 ## Job Group Found: '601' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('601') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208002') AND customer_id = 3418 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 21 ============================================================ ====== Tracking Id: 3369 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-21 10:15:45') AND us2_order_type_id = 3 ## Order found: 3052 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3052 AND product_id = 2150 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3418 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 2 ============================================================ ====== Tracking Id: 3370 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-21 10:15:57') AND us2_order_type_id = 3 ## Order found: 3052 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3052 AND product_id = 2153 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3418 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 3371 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-21 10:17:19') AND us2_order_type_id = 3 ## Order found: 3053 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3053 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3795 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 19 ============================================================ ====== Tracking Id: 3372 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-21 10:17:40') AND us2_order_type_id = 3 ## Order found: 3054 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3054 AND product_id = 142 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3697 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 8 ============================================================ ====== Tracking Id: 3373 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-21 10:17:50') AND us2_order_type_id = 3 ## Order found: 3054 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3054 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3697 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3374 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-21 10:18:02') AND us2_order_type_id = 3 ## Order found: 3054 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3054 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3697 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 6 ============================================================ ====== Tracking Id: 3375 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-21 10:18:15') AND us2_order_type_id = 3 ## Order found: 3054 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3054 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3697 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 3376 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-21 10:19:32') AND us2_order_type_id = 3 ## Order found: 3055 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3055 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 13 ============================================================ ====== Tracking Id: 3377 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-21 10:19:40') AND us2_order_type_id = 3 ## Order found: 3055 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3055 AND product_id = 2153 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 14 ============================================================ ====== Tracking Id: 3378 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-21 10:19:52') AND us2_order_type_id = 3 ## Order found: 3055 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3055 AND product_id = 2147 ## Job Group Found: '601' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('601') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208002') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 12 ============================================================ ====== Tracking Id: 3379 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-21 10:20:05') AND us2_order_type_id = 3 ## Order found: 3055 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3055 AND product_id = 2152 ## Job Group Found: '606' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('606') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208007') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 3 ============================================================ ====== Tracking Id: 3380 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-21 10:24:59') AND us2_order_type_id = 3 ## Order found: 3053 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3053 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3795 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 3381 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-21 10:25:11') AND us2_order_type_id = 3 ## Order found: 3053 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3053 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3382 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-21 10:25:14') AND us2_order_type_id = 3 ## Order found: 3053 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3053 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3795 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 8 ============================================================ ====== Tracking Id: 3383 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-21 10:41:26') AND us2_order_type_id = 3 ## Order found: 3056 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3056 AND product_id = 140 ## Job Group Found: '606' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('606') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208007') AND customer_id = 3808 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3384 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-21 11:11:11') AND us2_order_type_id = 3 ## Order found: 3057 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3057 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3486 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 32 ============================================================ ====== Tracking Id: 3385 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-21 11:11:27') AND us2_order_type_id = 3 ## Order found: 3057 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3057 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3486 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3386 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-21 11:11:46') AND us2_order_type_id = 3 ## Order found: 3057 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3057 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3486 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3387 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-21 11:11:54') AND us2_order_type_id = 3 ## Order found: 3051 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3051 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3416 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 16 ============================================================ ====== Tracking Id: 3388 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-21 11:12:02') AND us2_order_type_id = 3 ## Order found: 3058 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3058 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3491 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 22 ============================================================ ====== Tracking Id: 3389 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-21 11:12:07') AND us2_order_type_id = 3 ## Order found: 3051 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3051 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3416 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 3390 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-21 11:12:17') AND us2_order_type_id = 3 ## Order found: 3058 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3058 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3391 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-21 11:12:20') AND us2_order_type_id = 3 ## Order found: 3058 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3058 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3491 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 13 ============================================================ ====== Tracking Id: 3392 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-21 11:12:24') AND us2_order_type_id = 3 ## Order found: 3059 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3059 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3525 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 8 ============================================================ ====== Tracking Id: 3393 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-21 11:12:33') AND us2_order_type_id = 3 ## Order found: 3059 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3059 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3525 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 11 ============================================================ ====== Tracking Id: 3394 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-21 11:12:45') AND us2_order_type_id = 3 ## Order found: 3058 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3058 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3395 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-21 11:12:45') AND us2_order_type_id = 3 ## Order found: 3059 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3059 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3525 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 3396 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-21 11:12:58') AND us2_order_type_id = 3 ## Order found: 3059 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3059 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3525 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 6 ============================================================ ====== Tracking Id: 3397 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-21 11:13:32') AND us2_order_type_id = 3 ## Order found: 3060 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3060 AND product_id = 144 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3705 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 12 ============================================================ ====== Tracking Id: 3398 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-21 11:13:45') AND us2_order_type_id = 3 ## Order found: 3060 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3060 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3705 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 23 ============================================================ ====== Tracking Id: 3399 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-21 11:13:57') AND us2_order_type_id = 3 ## Order found: 3060 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3060 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3400 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-21 11:14:09') AND us2_order_type_id = 3 ## Order found: 3060 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3060 AND product_id = 106 ## Job Group Found: '604' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('604') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208005' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208005') AND customer_id = 3705 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 6 ============================================================ ====== Tracking Id: 3401 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-21 11:14:24') AND us2_order_type_id = 3 ## Order found: 3056 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3056 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3808 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 17 ============================================================ ====== Tracking Id: 3402 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-21 11:14:26') AND us2_order_type_id = 3 ## Order found: 3056 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3056 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3808 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 11 ============================================================ ====== Tracking Id: 3403 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-21 11:14:36') AND us2_order_type_id = 3 ## Order found: 3049 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3049 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3721 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 3 ============================================================ ====== Tracking Id: 3404 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-21 11:41:01') AND us2_order_type_id = 3 ## Order found: 3061 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3061 AND product_id = 142 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3357 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 5 ============================================================ ====== Tracking Id: 3405 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-21 11:41:07') AND us2_order_type_id = 3 ## Order found: 3061 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3061 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3357 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 37 ============================================================ ====== Tracking Id: 3406 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-21 11:41:13') AND us2_order_type_id = 3 ## Order found: 3049 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3049 AND product_id = 2150 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3721 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 3407 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-21 11:41:20') AND us2_order_type_id = 3 ## Order found: 3061 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3061 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3357 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 3408 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-21 11:41:25') AND us2_order_type_id = 3 ## Order found: 3049 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3049 AND product_id = 2147 ## Job Group Found: '601' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('601') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208002') AND customer_id = 3721 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 12 ============================================================ ====== Tracking Id: 3409 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-21 11:41:32') AND us2_order_type_id = 3 ## Order found: 3061 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3061 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3357 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 8 ============================================================ ====== Tracking Id: 3410 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-21 12:13:34') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 3411 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-21 12:13:37') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 3412 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-21 12:13:41') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 3413 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-21 12:13:45') AND us2_order_type_id = 3 ## Order found: 3062 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3062 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3471 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 3414 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-21 12:13:56') AND us2_order_type_id = 3 ## Order found: 3062 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3062 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3471 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 12 ============================================================ ====== Tracking Id: 3415 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-21 12:13:58') AND us2_order_type_id = 3 ## Order found: 3063 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3063 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3451 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 3416 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-21 14:10:53') AND us2_order_type_id = 3 ## Order found: 3052 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3052 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3418 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 3417 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-21 14:11:07') AND us2_order_type_id = 3 ## Order found: 3063 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3063 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3451 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 13 ============================================================ ====== Tracking Id: 3418 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-21 14:11:19') AND us2_order_type_id = 3 ## Order found: 3063 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3063 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3451 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 6 ============================================================ ====== Tracking Id: 3419 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-21 14:11:34') AND us2_order_type_id = 3 ## Order found: 3063 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3063 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3451 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 3420 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-21 19:10:59') AND us2_order_type_id = 3 ## Order found: 3061 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3061 AND product_id = 55 ## Job Group Found: '602' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('602') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208003') AND customer_id = 3357 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3421 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-21 20:00:44') AND us2_order_type_id = 3 ## Order found: 3050 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3050 AND product_id = 2152 ## Job Group Found: '606' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('606') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208007') AND customer_id = 3846 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 3422 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-21 20:00:56') AND us2_order_type_id = 3 ## Order found: 3050 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3050 AND product_id = 2147 ## Job Group Found: '601' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('601') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208002') AND customer_id = 3846 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 3423 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-21 20:01:08') AND us2_order_type_id = 3 ## Order found: 3050 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3050 AND product_id = 2150 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3846 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 3424 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-21 20:10:56') AND us2_order_type_id = 3 ## Order found: 3045 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3045 AND product_id = 2152 ## Job Group Found: '606' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('606') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208007') AND customer_id = 3503 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 3425 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-21 20:11:08') AND us2_order_type_id = 3 ## Order found: 3045 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3045 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3426 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-21 20:11:12') AND us2_order_type_id = 3 ## Order found: 3045 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3045 AND product_id = 2153 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3503 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 3427 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-21 20:11:24') AND us2_order_type_id = 3 ## Order found: 3045 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3045 AND product_id = 2150 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3503 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 13 ============================================================ ====== Tracking Id: 3428 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3733 AND DATE(cart_created_date) = DATE('2008-09-21 20:12:23') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 3429 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-22 07:11:19') AND us2_order_type_id = 3 ## Order found: 3084 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3084 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3503 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 14 ============================================================ ====== Tracking Id: 3430 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-22 08:11:18') AND us2_order_type_id = 3 ## Order found: 3085 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3085 AND product_id = 55 ## Job Group Found: '602' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('602') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208003' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208003') AND customer_id = 3230 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3431 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-22 08:41:20') AND us2_order_type_id = 3 ## Order found: 3085 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3085 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3230 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 6 ============================================================ ====== Tracking Id: 3432 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-22 08:41:27') AND us2_order_type_id = 3 ## Order found: 3085 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3085 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3230 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 11 ============================================================ ====== Tracking Id: 3433 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-22 09:15:21') AND us2_order_type_id = 3 ## Order found: 3086 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3086 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3470 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 42 ============================================================ ====== Tracking Id: 3434 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-22 09:15:34') AND us2_order_type_id = 3 ## Order found: 3086 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3086 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3470 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 25 ============================================================ ====== Tracking Id: 3435 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-22 09:15:47') AND us2_order_type_id = 3 ## Order found: 3086 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3086 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3470 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 17 ============================================================ ====== Tracking Id: 3436 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-22 09:16:00') AND us2_order_type_id = 3 ## Order found: 3087 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3087 AND product_id = 142 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3768 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 3 ============================================================ ====== Tracking Id: 3437 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-22 09:16:05') AND us2_order_type_id = 3 ## Order found: 3087 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3087 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3768 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 6 ============================================================ ====== Tracking Id: 3438 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-22 09:16:17') AND us2_order_type_id = 3 ## Order found: 3087 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3087 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3768 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 6 ============================================================ ====== Tracking Id: 3439 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-22 09:16:29') AND us2_order_type_id = 3 ## Order found: 3087 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3087 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3440 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-22 10:11:38') AND us2_order_type_id = 3 ## Order found: 3088 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3088 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3846 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 3441 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-22 10:14:48') AND us2_order_type_id = 3 ## Order found: 3086 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3086 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3470 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3442 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-22 10:15:52') AND us2_order_type_id = 3 ## Order found: 3089 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3089 AND product_id = 2152 ## Job Group Found: '606' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('606') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208007') AND customer_id = 3418 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 18 ============================================================ ====== Tracking Id: 3443 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-22 10:16:03') AND us2_order_type_id = 3 ## Order found: 3089 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3089 AND product_id = 2150 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3444 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-22 10:16:07') AND us2_order_type_id = 3 ## Order found: 3089 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3089 AND product_id = 2153 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3418 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 3445 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-22 10:16:44') AND us2_order_type_id = 3 ## Order found: 3089 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3089 AND product_id = 2147 ## Job Group Found: '601' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('601') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208002') AND customer_id = 3418 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 23 ============================================================ ====== Tracking Id: 3446 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-22 10:17:53') AND us2_order_type_id = 3 ## Order found: 3090 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3090 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3795 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3447 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-22 10:18:20') AND us2_order_type_id = 3 ## Order found: 3091 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3091 AND product_id = 142 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3697 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 5 ============================================================ ====== Tracking Id: 3448 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-22 10:18:31') AND us2_order_type_id = 3 ## Order found: 3091 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3091 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3697 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 8 ============================================================ ====== Tracking Id: 3449 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-22 10:18:44') AND us2_order_type_id = 3 ## Order found: 3091 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3091 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3697 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 2 ============================================================ ====== Tracking Id: 3450 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-22 10:20:44') AND us2_order_type_id = 3 ## Order found: 3092 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3092 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 26 ============================================================ ====== Tracking Id: 3451 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-22 10:21:02') AND us2_order_type_id = 3 ## Order found: 3092 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3092 AND product_id = 2147 ## Job Group Found: '601' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('601') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208002' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208002') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 22 ============================================================ ====== Tracking Id: 3452 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-22 10:21:15') AND us2_order_type_id = 3 ## Order found: 3092 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3092 AND product_id = 2152 ## Job Group Found: '606' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('606') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208007' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208007') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 8 ============================================================ ====== Tracking Id: 3453 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-22 10:21:27') AND us2_order_type_id = 3 ## Order found: 3092 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3092 AND product_id = 2150 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 3454 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-22 10:21:41') AND us2_order_type_id = 3 ## Order found: 3092 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3092 AND product_id = 2153 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3815 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 5 ============================================================ ====== Tracking Id: 3455 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-22 10:28:02') AND us2_order_type_id = 3 ## Order found: 3090 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3090 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3795 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 3456 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-22 10:28:15') AND us2_order_type_id = 3 ## Order found: 3090 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3090 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3795 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 14 ============================================================ ====== Tracking Id: 3457 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-22 11:11:32') AND us2_order_type_id = 3 ## Order found: 3093 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3093 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3486 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3458 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-22 11:11:44') AND us2_order_type_id = 3 ## Order found: 3093 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3093 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3459 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-22 11:13:01') AND us2_order_type_id = 3 ## Order found: 3094 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3094 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3416 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 13 ============================================================ ====== Tracking Id: 3460 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-22 11:13:13') AND us2_order_type_id = 3 ## Order found: 3094 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3094 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3461 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-22 11:13:16') AND us2_order_type_id = 3 ## Order found: 3094 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3094 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3416 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3462 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-22 11:13:28') AND us2_order_type_id = 3 ## Order found: 3095 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3095 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3463 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-22 11:13:32') AND us2_order_type_id = 3 ## Order found: 3095 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3095 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3491 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 3464 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-22 11:13:38') AND us2_order_type_id = 3 ## Order found: 3096 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3096 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3525 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 15 ============================================================ ====== Tracking Id: 3465 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-22 11:13:44') AND us2_order_type_id = 3 ## Order found: 3095 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3095 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3491 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 19 ============================================================ ====== Tracking Id: 3466 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-22 11:13:56') AND us2_order_type_id = 3 ## Order found: 3096 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3096 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3525 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 13 ============================================================ ====== Tracking Id: 3467 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-22 11:14:08') AND us2_order_type_id = 3 ## Order found: 3096 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3096 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3525 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 6 ============================================================ ====== Tracking Id: 3468 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-22 11:15:13') AND us2_order_type_id = 3 ## Order found: 3097 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3097 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3469 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-22 11:15:26') AND us2_order_type_id = 3 ## Order found: 3097 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3097 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3705 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 3470 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-22 11:16:05') AND us2_order_type_id = 3 ## Order found: 3098 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3098 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3808 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 16 ============================================================ ====== Tracking Id: 3471 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-22 11:16:10') AND us2_order_type_id = 3 ## Order found: 3099 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3099 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3721 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 3 ============================================================ ====== Tracking Id: 3472 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-22 11:16:17') AND us2_order_type_id = 3 ## Order found: 3098 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3098 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3808 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 10 ============================================================ ====== Tracking Id: 3473 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-22 11:16:29') AND us2_order_type_id = 3 ## Order found: 3098 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3098 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3808 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 8 ============================================================ ====== Tracking Id: 3474 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-22 11:41:18') AND us2_order_type_id = 3 ## Order found: 3100 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3100 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3357 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 46 ============================================================ ====== Tracking Id: 3475 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-22 11:41:26') AND us2_order_type_id = 3 ## Order found: 3099 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3099 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3476 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-22 11:41:30') AND us2_order_type_id = 3 ## Order found: 3099 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3099 AND product_id = 2150 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3721 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 4 ============================================================ ====== Tracking Id: 3477 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-22 11:41:31') AND us2_order_type_id = 3 ## Order found: 3100 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3100 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3357 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 14 ============================================================ ====== Tracking Id: 3478 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-22 11:41:44') AND us2_order_type_id = 3 ## Order found: 3100 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3100 AND product_id = 114 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3357 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 3479 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-22 12:14:14') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 3480 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-22 12:14:18') AND us2_order_type_id = 3 ## No Us2_Order Found...Exit. ============================================================ ====== Tracking Id: 3481 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-22 12:14:32') AND us2_order_type_id = 3 ## Order found: 3101 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3101 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3471 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 8 ============================================================ ====== Tracking Id: 3482 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-22 12:14:43') AND us2_order_type_id = 3 ## Order found: 3101 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3101 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3483 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-22 12:14:47') AND us2_order_type_id = 3 ## Order found: 3102 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3102 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3451 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 5 ============================================================ ====== Tracking Id: 3484 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-22 14:10:58') AND us2_order_type_id = 3 ## Order found: 3089 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3089 AND product_id = 143 ## Job Group Found: '600' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('600') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208001' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208001') AND customer_id = 3418 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 9 ============================================================ ====== Tracking Id: 3485 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-22 14:11:07') AND us2_order_type_id = 3 ## Order found: 3102 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3102 AND product_id = 112 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3451 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 11 ============================================================ ====== Tracking Id: 3486 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-22 14:11:20') AND us2_order_type_id = 3 ## Order found: 3102 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3102 AND product_id = 113 ## Job Group Found: '603' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('603') AND wo_number<>'' and wo_number is not null ## Work Orders found: 'trm092208004' ## Get all the mailings: SELECT mailing_id FROM mailing WHERE work_order_number in ('trm092208004') AND customer_id = 3451 ## Mailing found: '' ## @@@@@@@ We have mailings. Proceed to updated Vin numbers to the mail_history table for this mailings for this autoloop order ## Total mail_history records updated with vin numbers: 0 out of 7 ============================================================ ====== Tracking Id: 3487 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-22 19:11:20') AND us2_order_type_id = 3 ## Order found: 3100 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3100 AND product_id = 55 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3488 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-22 20:00:50') AND us2_order_type_id = 3 ## Order found: 3088 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3088 AND product_id = 2150 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3489 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-22 20:01:02') AND us2_order_type_id = 3 ## Order found: 3088 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3088 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3490 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-22 20:01:15') AND us2_order_type_id = 3 ## Order found: 3088 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3088 AND product_id = 2152 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3491 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-22 20:11:04') AND us2_order_type_id = 3 ## Order found: 3084 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3084 AND product_id = 2153 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3492 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-22 20:11:17') AND us2_order_type_id = 3 ## Order found: 3084 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3084 AND product_id = 2147 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3493 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-22 20:11:29') AND us2_order_type_id = 3 ## Order found: 3084 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3084 AND product_id = 2152 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3494 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-22 20:11:33') AND us2_order_type_id = 3 ## Order found: 3084 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3084 AND product_id = 2150 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3495 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3503 AND DATE(cart_created_date) = DATE('2008-09-23 07:13:35') AND us2_order_type_id = 3 ## Order found: 3129 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3129 AND product_id = 143 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3496 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-23 08:13:42') AND us2_order_type_id = 3 ## Order found: 3130 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '5' AND store_id = 2 ## Product Id found: 55 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3130 AND product_id = 55 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3497 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-23 08:43:34') AND us2_order_type_id = 3 ## Order found: 3130 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3130 AND product_id = 113 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3498 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-23 08:43:40') AND us2_order_type_id = 3 ## Order found: 3130 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3130 AND product_id = 143 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3499 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-23 09:17:33') AND us2_order_type_id = 3 ## Order found: 3131 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3131 AND product_id = 112 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3500 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-23 09:17:37') AND us2_order_type_id = 3 ## Order found: 3131 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3131 AND product_id = 114 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3501 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-23 09:17:51') AND us2_order_type_id = 3 ## Order found: 3131 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3131 AND product_id = 113 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3502 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-23 09:18:08') AND us2_order_type_id = 3 ## Order found: 3132 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3132 AND product_id = 142 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3503 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-23 09:18:14') AND us2_order_type_id = 3 ## Order found: 3132 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3132 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3504 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3768 AND DATE(cart_created_date) = DATE('2008-09-23 09:18:17') AND us2_order_type_id = 3 ## Order found: 3132 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3132 AND product_id = 113 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3505 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3846 AND DATE(cart_created_date) = DATE('2008-09-23 10:13:48') AND us2_order_type_id = 3 ## Order found: 3133 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3133 AND product_id = 143 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3506 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3470 AND DATE(cart_created_date) = DATE('2008-09-23 10:17:03') AND us2_order_type_id = 3 ## Order found: 3131 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3131 AND product_id = 143 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3507 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-23 10:17:19') AND us2_order_type_id = 3 ## Order found: 3134 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3134 AND product_id = 143 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3508 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-23 10:18:10') AND us2_order_type_id = 3 ## Order found: 3135 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3135 AND product_id = 2150 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3509 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-23 10:18:23') AND us2_order_type_id = 3 ## Order found: 3135 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3135 AND product_id = 2152 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3510 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-23 10:20:16') AND us2_order_type_id = 3 ## Order found: 3136 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3136 AND product_id = 143 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3511 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3733 AND DATE(cart_created_date) = DATE('2008-09-23 10:21:00') AND us2_order_type_id = 3 ## Order found: 3137 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3137 AND product_id = 143 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3512 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-23 10:21:03') AND us2_order_type_id = 3 ## Order found: 3138 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3138 AND product_id = 142 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3513 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-23 10:21:16') AND us2_order_type_id = 3 ## Order found: 3138 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3138 AND product_id = 113 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3514 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3697 AND DATE(cart_created_date) = DATE('2008-09-23 10:21:28') AND us2_order_type_id = 3 ## Order found: 3138 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3138 AND product_id = 114 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3515 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-23 10:23:42') AND us2_order_type_id = 3 ## Order found: 3139 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3139 AND product_id = 143 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3516 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-23 10:23:51') AND us2_order_type_id = 3 ## Order found: 3139 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3139 AND product_id = 2150 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3517 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-23 10:24:04') AND us2_order_type_id = 3 ## Order found: 3139 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '34' AND store_id = 2 ## Product Id found: 2153 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3139 AND product_id = 2153 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3518 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-23 10:24:17') AND us2_order_type_id = 3 ## Order found: 3139 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3139 AND product_id = 2147 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3519 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3815 AND DATE(cart_created_date) = DATE('2008-09-23 10:24:30') AND us2_order_type_id = 3 ## Order found: 3139 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '33' AND store_id = 2 ## Product Id found: 2152 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3139 AND product_id = 2152 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3520 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-23 10:30:48') AND us2_order_type_id = 3 ## Order found: 3136 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3136 AND product_id = 113 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3521 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-23 10:31:00') AND us2_order_type_id = 3 ## Order found: 3136 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3136 AND product_id = 112 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3522 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3795 AND DATE(cart_created_date) = DATE('2008-09-23 10:31:13') AND us2_order_type_id = 3 ## Order found: 3136 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3136 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3523 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3230 AND DATE(cart_created_date) = DATE('2008-09-23 10:43:07') AND us2_order_type_id = 3 ## Order found: 3130 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '22' AND store_id = 2 ## Product Id found: 140 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3130 AND product_id = 140 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3524 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-23 11:13:42') AND us2_order_type_id = 3 ## Order found: 3140 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3140 AND product_id = 113 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3525 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-23 11:13:54') AND us2_order_type_id = 3 ## Order found: 3140 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3140 AND product_id = 112 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3526 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3486 AND DATE(cart_created_date) = DATE('2008-09-23 11:14:07') AND us2_order_type_id = 3 ## Order found: 3140 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3140 AND product_id = 114 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3527 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-23 11:14:54') AND us2_order_type_id = 3 ## Order found: 3134 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3134 AND product_id = 114 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3528 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-23 11:15:03') AND us2_order_type_id = 3 ## Order found: 3141 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3141 AND product_id = 143 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3529 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3416 AND DATE(cart_created_date) = DATE('2008-09-23 11:15:06') AND us2_order_type_id = 3 ## Order found: 3134 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3134 AND product_id = 113 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3530 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-23 11:15:24') AND us2_order_type_id = 3 ## Order found: 3141 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3141 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3531 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-23 11:15:28') AND us2_order_type_id = 3 ## Order found: 3141 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3141 AND product_id = 114 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3532 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3491 AND DATE(cart_created_date) = DATE('2008-09-23 11:15:40') AND us2_order_type_id = 3 ## Order found: 3141 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3141 AND product_id = 112 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3533 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-23 11:15:41') AND us2_order_type_id = 3 ## Order found: 3142 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3142 AND product_id = 113 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3534 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-23 11:15:53') AND us2_order_type_id = 3 ## Order found: 3142 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3142 AND product_id = 112 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3535 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3525 AND DATE(cart_created_date) = DATE('2008-09-23 11:16:05') AND us2_order_type_id = 3 ## Order found: 3142 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3142 AND product_id = 114 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3536 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-23 11:17:03') AND us2_order_type_id = 3 ## Order found: 3143 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '27' AND store_id = 2 ## Product Id found: 144 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3143 AND product_id = 144 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3537 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-23 11:17:16') AND us2_order_type_id = 3 ## Order found: 3143 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '2' AND store_id = 2 ## Product Id found: 52 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3143 AND product_id = 52 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3538 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3705 AND DATE(cart_created_date) = DATE('2008-09-23 11:17:28') AND us2_order_type_id = 3 ## Order found: 3143 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '12' AND store_id = 2 ## Product Id found: 106 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3143 AND product_id = 106 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3539 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-23 11:18:07') AND us2_order_type_id = 3 ## Order found: 3144 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3144 AND product_id = 143 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3540 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-23 11:18:10') AND us2_order_type_id = 3 ## Order found: 3144 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3144 AND product_id = 113 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3541 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-23 11:18:19') AND us2_order_type_id = 3 ## Order found: 3145 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3145 AND product_id = 143 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3542 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3808 AND DATE(cart_created_date) = DATE('2008-09-23 11:18:21') AND us2_order_type_id = 3 ## Order found: 3144 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3144 AND product_id = 112 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3543 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-23 11:43:12') AND us2_order_type_id = 3 ## Order found: 3147 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3147 AND product_id = 142 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3544 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-23 11:43:19') AND us2_order_type_id = 3 ## Order found: 3147 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3147 AND product_id = 112 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3545 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-23 11:43:28') AND us2_order_type_id = 3 ## Order found: 3145 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '28' AND store_id = 2 ## Product Id found: 2147 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3145 AND product_id = 2147 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3546 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-23 11:43:33') AND us2_order_type_id = 3 ## Order found: 3147 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3147 AND product_id = 114 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3547 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3721 AND DATE(cart_created_date) = DATE('2008-09-23 11:43:40') AND us2_order_type_id = 3 ## Order found: 3145 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '31' AND store_id = 2 ## Product Id found: 2150 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3145 AND product_id = 2150 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3548 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3357 AND DATE(cart_created_date) = DATE('2008-09-23 11:43:45') AND us2_order_type_id = 3 ## Order found: 3147 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3147 AND product_id = 113 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3549 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 4042 AND DATE(cart_created_date) = DATE('2008-09-23 12:13:49') AND us2_order_type_id = 3 ## Order found: 3148 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '26' AND store_id = 2 ## Product Id found: 142 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3148 AND product_id = 142 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3550 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 4042 AND DATE(cart_created_date) = DATE('2008-09-23 12:13:55') AND us2_order_type_id = 3 ## Order found: 3148 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3148 AND product_id = 113 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3551 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 4042 AND DATE(cart_created_date) = DATE('2008-09-23 12:14:07') AND us2_order_type_id = 3 ## Order found: 3148 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3148 AND product_id = 114 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3552 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-23 12:14:46') AND us2_order_type_id = 3 ## Order found: 3149 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3149 AND product_id = 114 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3553 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-23 12:14:50') AND us2_order_type_id = 3 ## Order found: 3149 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3149 AND product_id = 113 ## Job Group Not Found...Exit. ============================================================ ====== Tracking Id: 3554 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3427 AND DATE(cart_created_date) = DATE('2008-09-23 12:14:53') AND us2_order_type_id = 3 ## Order found: 3149 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3149 AND product_id = 112 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3555 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-23 12:15:01') AND us2_order_type_id = 3 ## Order found: 3150 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3150 AND product_id = 143 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3556 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3471 AND DATE(cart_created_date) = DATE('2008-09-23 12:15:08') AND us2_order_type_id = 3 ## Order found: 3150 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3150 AND product_id = 112 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3557 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-23 12:15:21') AND us2_order_type_id = 3 ## Order found: 3151 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3151 AND product_id = 143 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3558 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3418 AND DATE(cart_created_date) = DATE('2008-09-23 14:13:19') AND us2_order_type_id = 3 ## Order found: 3135 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '24' AND store_id = 2 ## Product Id found: 143 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3135 AND product_id = 143 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3559 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-23 14:13:27') AND us2_order_type_id = 3 ## Order found: 3151 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '20' AND store_id = 2 ## Product Id found: 114 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3151 AND product_id = 114 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3560 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-23 14:13:40') AND us2_order_type_id = 3 ## Order found: 3151 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '19' AND store_id = 2 ## Product Id found: 113 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3151 AND product_id = 113 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit. ============================================================ ====== Tracking Id: 3561 =========================== ============================================================ ## Get us2_order for this autoloop order: SELECT order_id FROM us2_order WHERE store_id = 2 AND customer_id = 3451 AND DATE(cart_created_date) = DATE('2008-09-23 14:13:54') AND us2_order_type_id = 3 ## Order found: 3151 ## get us2_product_id based on the external code: SELECT product_id FROM us2_product WHERE external_code = '18' AND store_id = 2 ## Product Id found: 112 ## get us2_order_product for this us2_order: SELECT distinct(job_group_id) as job_group_id FROM us2_order_product WHERE order_id = 3151 AND product_id = 112 ## Job Group Found: '' ## Get all the Work Orders: SELECT distinct(wo_number) as wo_number FROM us2_job_group WHERE us2_job_group_id in ('') AND wo_number<>'' and wo_number is not null ## No Work Orders Found...Exit.